Bug Summary

File:pyext/gammalib/cta_wrap.cpp
Location:line 46545, column 5
Description:Value stored to 'module_head' is never read

Annotated Source Code

1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 2.0.11
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_PYTHON_DIRECTOR_NO_VTABLE
13
14
15#ifdef __cplusplus199711L
16/* SwigValueWrapper is described in swig.swg */
17template<typename T> class SwigValueWrapper {
18 struct SwigMovePointer {
19 T *ptr;
20 SwigMovePointer(T *p) : ptr(p) { }
21 ~SwigMovePointer() { delete ptr; }
22 SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; }
23 } pointer;
24 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
25 SwigValueWrapper(const SwigValueWrapper<T>& rhs);
26public:
27 SwigValueWrapper() : pointer(0) { }
28 SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; }
29 operator T&() const { return *pointer.ptr; }
30 T *operator&() { return pointer.ptr; }
31};
32
33template <typename T> T SwigValueInit() {
34 return T();
35}
36#endif
37
38/* -----------------------------------------------------------------------------
39 * This section contains generic SWIG labels for method/variable
40 * declarations/attributes, and other compiler dependent labels.
41 * ----------------------------------------------------------------------------- */
42
43/* template workaround for compilers that cannot correctly implement the C++ standard */
44#ifndef SWIGTEMPLATEDISAMBIGUATOR
45# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
46# define SWIGTEMPLATEDISAMBIGUATOR template
47# elif defined(__HP_aCC)
48/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
49/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
50# define SWIGTEMPLATEDISAMBIGUATOR template
51# else
52# define SWIGTEMPLATEDISAMBIGUATOR
53# endif
54#endif
55
56/* inline attribute */
57#ifndef SWIGINLINEinline
58# if defined(__cplusplus199711L) || (defined(__GNUC__4) && !defined(__STRICT_ANSI__))
59# define SWIGINLINEinline inline
60# else
61# define SWIGINLINEinline
62# endif
63#endif
64
65/* attribute recognised by some compilers to avoid 'unused' warnings */
66#ifndef SWIGUNUSED__attribute__ ((__unused__))
67# if defined(__GNUC__4)
68# if !(defined(__cplusplus199711L)) || (__GNUC__4 > 3 || (__GNUC__4 == 3 && __GNUC_MINOR__2 >= 4))
69# define SWIGUNUSED__attribute__ ((__unused__)) __attribute__ ((__unused__))
70# else
71# define SWIGUNUSED__attribute__ ((__unused__))
72# endif
73# elif defined(__ICC)
74# define SWIGUNUSED__attribute__ ((__unused__)) __attribute__ ((__unused__))
75# else
76# define SWIGUNUSED__attribute__ ((__unused__))
77# endif
78#endif
79
80#ifndef SWIG_MSC_UNSUPPRESS_4505
81# if defined(_MSC_VER)
82# pragma warning(disable : 4505) /* unreferenced local function has been removed */
83# endif
84#endif
85
86#ifndef SWIGUNUSEDPARM
87# ifdef __cplusplus199711L
88# define SWIGUNUSEDPARM(p)
89# else
90# define SWIGUNUSEDPARM(p) p SWIGUNUSED__attribute__ ((__unused__))
91# endif
92#endif
93
94/* internal SWIG method */
95#ifndef SWIGINTERNstatic __attribute__ ((__unused__))
96# define SWIGINTERNstatic __attribute__ ((__unused__)) static SWIGUNUSED__attribute__ ((__unused__))
97#endif
98
99/* internal inline SWIG method */
100#ifndef SWIGINTERNINLINEstatic __attribute__ ((__unused__)) inline
101# define SWIGINTERNINLINEstatic __attribute__ ((__unused__)) inline SWIGINTERNstatic __attribute__ ((__unused__)) SWIGINLINEinline
102#endif
103
104/* exporting methods */
105#if (__GNUC__4 >= 4) || (__GNUC__4 == 3 && __GNUC_MINOR__2 >= 4)
106# ifndef GCC_HASCLASSVISIBILITY
107# define GCC_HASCLASSVISIBILITY
108# endif
109#endif
110
111#ifndef SWIGEXPORT__attribute__ ((visibility("default")))
112# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
113# if defined(STATIC_LINKED)
114# define SWIGEXPORT__attribute__ ((visibility("default")))
115# else
116# define SWIGEXPORT__attribute__ ((visibility("default"))) __declspec(dllexport)
117# endif
118# else
119# if defined(__GNUC__4) && defined(GCC_HASCLASSVISIBILITY)
120# define SWIGEXPORT__attribute__ ((visibility("default"))) __attribute__ ((visibility("default")))
121# else
122# define SWIGEXPORT__attribute__ ((visibility("default")))
123# endif
124# endif
125#endif
126
127/* calling conventions for Windows */
128#ifndef SWIGSTDCALL
129# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
130# define SWIGSTDCALL __stdcall
131# else
132# define SWIGSTDCALL
133# endif
134#endif
135
136/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
137#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
138# define _CRT_SECURE_NO_DEPRECATE
139#endif
140
141/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
142#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
143# define _SCL_SECURE_NO_DEPRECATE
144#endif
145
146
147
148#if defined(_DEBUG) && defined(SWIG_PYTHON_INTERPRETER_NO_DEBUG)
149/* Use debug wrappers with the Python release dll */
150# undef _DEBUG
151# include <Python.h>
152# define _DEBUG
153#else
154# include <Python.h>
155#endif
156
157/* -----------------------------------------------------------------------------
158 * swigrun.swg
159 *
160 * This file contains generic C API SWIG runtime support for pointer
161 * type checking.
162 * ----------------------------------------------------------------------------- */
163
164/* This should only be incremented when either the layout of swig_type_info changes,
165 or for whatever reason, the runtime changes incompatibly */
166#define SWIG_RUNTIME_VERSION"4" "4"
167
168/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
169#ifdef SWIG_TYPE_TABLE
170# define SWIG_QUOTE_STRING(x) #x
171# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
172# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
173#else
174# define SWIG_TYPE_TABLE_NAME
175#endif
176
177/*
178 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
179 creating a static or dynamic library from the SWIG runtime code.
180 In 99.9% of the cases, SWIG just needs to declare them as 'static'.
181
182 But only do this if strictly necessary, ie, if you have problems
183 with your compiler or suchlike.
184*/
185
186#ifndef SWIGRUNTIMEstatic __attribute__ ((__unused__))
187# define SWIGRUNTIMEstatic __attribute__ ((__unused__)) SWIGINTERNstatic __attribute__ ((__unused__))
188#endif
189
190#ifndef SWIGRUNTIMEINLINEstatic __attribute__ ((__unused__)) inline
191# define SWIGRUNTIMEINLINEstatic __attribute__ ((__unused__)) inline SWIGRUNTIMEstatic __attribute__ ((__unused__)) SWIGINLINEinline
192#endif
193
194/* Generic buffer size */
195#ifndef SWIG_BUFFER_SIZE1024
196# define SWIG_BUFFER_SIZE1024 1024
197#endif
198
199/* Flags for pointer conversions */
200#define SWIG_POINTER_DISOWN0x1 0x1
201#define SWIG_CAST_NEW_MEMORY0x2 0x2
202
203/* Flags for new pointer objects */
204#define SWIG_POINTER_OWN0x1 0x1
205
206
207/*
208 Flags/methods for returning states.
209
210 The SWIG conversion methods, as ConvertPtr, return an integer
211 that tells if the conversion was successful or not. And if not,
212 an error code can be returned (see swigerrors.swg for the codes).
213
214 Use the following macros/flags to set or process the returning
215 states.
216
217 In old versions of SWIG, code such as the following was usually written:
218
219 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
220 // success code
221 } else {
222 //fail code
223 }
224
225 Now you can be more explicit:
226
227 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
228 if (SWIG_IsOK(res)) {
229 // success code
230 } else {
231 // fail code
232 }
233
234 which is the same really, but now you can also do
235
236 Type *ptr;
237 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
238 if (SWIG_IsOK(res)) {
239 // success code
240 if (SWIG_IsNewObj(res) {
241 ...
242 delete *ptr;
243 } else {
244 ...
245 }
246 } else {
247 // fail code
248 }
249
250 I.e., now SWIG_ConvertPtr can return new objects and you can
251 identify the case and take care of the deallocation. Of course that
252 also requires SWIG_ConvertPtr to return new result values, such as
253
254 int SWIG_ConvertPtr(obj, ptr,...) {
255 if (<obj is ok>) {
256 if (<need new object>) {
257 *ptr = <ptr to new allocated object>;
258 return SWIG_NEWOBJ;
259 } else {
260 *ptr = <ptr to old object>;
261 return SWIG_OLDOBJ;
262 }
263 } else {
264 return SWIG_BADOBJ;
265 }
266 }
267
268 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
269 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
270 SWIG errors code.
271
272 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
273 allows to return the 'cast rank', for example, if you have this
274
275 int food(double)
276 int fooi(int);
277
278 and you call
279
280 food(1) // cast rank '1' (1 -> 1.0)
281 fooi(1) // cast rank '0'
282
283 just use the SWIG_AddCast()/SWIG_CheckState()
284*/
285
286#define SWIG_OK(0) (0)
287#define SWIG_ERROR(-1) (-1)
288#define SWIG_IsOK(r)(r >= 0) (r >= 0)
289#define SWIG_ArgError(r)((r != (-1)) ? r : -5) ((r != SWIG_ERROR(-1)) ? r : SWIG_TypeError-5)
290
291/* The CastRankLimit says how many bits are used for the cast rank */
292#define SWIG_CASTRANKLIMIT(1 << 8) (1 << 8)
293/* The NewMask denotes the object was created (using new/malloc) */
294#define SWIG_NEWOBJMASK((1 << 8) << 1) (SWIG_CASTRANKLIMIT(1 << 8) << 1)
295/* The TmpMask is for in/out typemaps that use temporal objects */
296#define SWIG_TMPOBJMASK(((1 << 8) << 1) << 1) (SWIG_NEWOBJMASK((1 << 8) << 1) << 1)
297/* Simple returning values */
298#define SWIG_BADOBJ((-1)) (SWIG_ERROR(-1))
299#define SWIG_OLDOBJ((0)) (SWIG_OK(0))
300#define SWIG_NEWOBJ((0) | ((1 << 8) << 1)) (SWIG_OK(0) | SWIG_NEWOBJMASK((1 << 8) << 1))
301#define SWIG_TMPOBJ((0) | (((1 << 8) << 1) << 1)) (SWIG_OK(0) | SWIG_TMPOBJMASK(((1 << 8) << 1) << 1))
302/* Check, add and del mask methods */
303#define SWIG_AddNewMask(r)((r >= 0) ? (r | ((1 << 8) << 1)) : r) (SWIG_IsOK(r)(r >= 0) ? (r | SWIG_NEWOBJMASK((1 << 8) << 1)) : r)
304#define SWIG_DelNewMask(r)((r >= 0) ? (r & ~((1 << 8) << 1)) : r) (SWIG_IsOK(r)(r >= 0) ? (r & ~SWIG_NEWOBJMASK((1 << 8) << 1)) : r)
305#define SWIG_IsNewObj(r)((r >= 0) && (r & ((1 << 8) << 1))
)
(SWIG_IsOK(r)(r >= 0) && (r & SWIG_NEWOBJMASK((1 << 8) << 1)))
306#define SWIG_AddTmpMask(r)((r >= 0) ? (r | (((1 << 8) << 1) << 1))
: r)
(SWIG_IsOK(r)(r >= 0) ? (r | SWIG_TMPOBJMASK(((1 << 8) << 1) << 1)) : r)
307#define SWIG_DelTmpMask(r)((r >= 0) ? (r & ~(((1 << 8) << 1) <<
1)) : r)
(SWIG_IsOK(r)(r >= 0) ? (r & ~SWIG_TMPOBJMASK(((1 << 8) << 1) << 1)) : r)
308#define SWIG_IsTmpObj(r)((r >= 0) && (r & (((1 << 8) << 1)
<< 1)))
(SWIG_IsOK(r)(r >= 0) && (r & SWIG_TMPOBJMASK(((1 << 8) << 1) << 1)))
309
310/* Cast-Rank Mode */
311#if defined(SWIG_CASTRANK_MODE)
312# ifndef SWIG_TypeRank
313# define SWIG_TypeRank unsigned long
314# endif
315# ifndef SWIG_MAXCASTRANK /* Default cast allowed */
316# define SWIG_MAXCASTRANK (2)
317# endif
318# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT(1 << 8)) -1)
319# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
320SWIGINTERNINLINEstatic __attribute__ ((__unused__)) inline int SWIG_AddCast(int r)(int r) {
321 return SWIG_IsOK(r)(r >= 0) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR(-1)) : r;
322}
323SWIGINTERNINLINEstatic __attribute__ ((__unused__)) inline int SWIG_CheckState(int r)((int r >= 0) ? 1 : 0) {
324 return SWIG_IsOK(r)(r >= 0) ? SWIG_CastRank(r) + 1 : 0;
325}
326#else /* no cast-rank mode */
327# define SWIG_AddCast(r)(r) (r)
328# define SWIG_CheckState(r)((r >= 0) ? 1 : 0) (SWIG_IsOK(r)(r >= 0) ? 1 : 0)
329#endif
330
331
332#include <string.h>
333
334#ifdef __cplusplus199711L
335extern "C" {
336#endif
337
338typedef void *(*swig_converter_func)(void *, int *);
339typedef struct swig_type_info *(*swig_dycast_func)(void **);
340
341/* Structure to store information on one type */
342typedef struct swig_type_info {
343 const char *name; /* mangled name of this type */
344 const char *str; /* human readable name of this type */
345 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
346 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
347 void *clientdata; /* language specific type data */
348 int owndata; /* flag if the structure owns the clientdata */
349} swig_type_info;
350
351/* Structure to store a type and conversion function used for casting */
352typedef struct swig_cast_info {
353 swig_type_info *type; /* pointer to type that is equivalent to this type */
354 swig_converter_func converter; /* function to cast the void pointers */
355 struct swig_cast_info *next; /* pointer to next cast in linked list */
356 struct swig_cast_info *prev; /* pointer to the previous cast */
357} swig_cast_info;
358
359/* Structure used to store module information
360 * Each module generates one structure like this, and the runtime collects
361 * all of these structures and stores them in a circularly linked list.*/
362typedef struct swig_module_info {
363 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
364 size_t size; /* Number of types in this module */
365 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
366 swig_type_info **type_initial; /* Array of initially generated type structures */
367 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
368 void *clientdata; /* Language specific module data */
369} swig_module_info;
370
371/*
372 Compare two type names skipping the space characters, therefore
373 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
374
375 Return 0 when the two name types are equivalent, as in
376 strncmp, but skipping ' '.
377*/
378SWIGRUNTIMEstatic __attribute__ ((__unused__)) int
379SWIG_TypeNameComp(const char *f1, const char *l1,
380 const char *f2, const char *l2) {
381 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
382 while ((*f1 == ' ') && (f1 != l1)) ++f1;
383 while ((*f2 == ' ') && (f2 != l2)) ++f2;
384 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
385 }
386 return (int)((l1 - f1) - (l2 - f2));
387}
388
389/*
390 Check type equivalence in a name list like <name1>|<name2>|...
391 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
392*/
393SWIGRUNTIMEstatic __attribute__ ((__unused__)) int
394SWIG_TypeCmp(const char *nb, const char *tb) {
395 int equiv = 1;
396 const char* te = tb + strlen(tb);
397 const char* ne = nb;
398 while (equiv != 0 && *ne) {
399 for (nb = ne; *ne; ++ne) {
400 if (*ne == '|') break;
401 }
402 equiv = SWIG_TypeNameComp(nb, ne, tb, te);
403 if (*ne) ++ne;
404 }
405 return equiv;
406}
407
408/*
409 Check type equivalence in a name list like <name1>|<name2>|...
410 Return 0 if not equal, 1 if equal
411*/
412SWIGRUNTIMEstatic __attribute__ ((__unused__)) int
413SWIG_TypeEquiv(const char *nb, const char *tb) {
414 return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0;
415}
416
417/*
418 Check the typename
419*/
420SWIGRUNTIMEstatic __attribute__ ((__unused__)) swig_cast_info *
421SWIG_TypeCheck(const char *c, swig_type_info *ty) {
422 if (ty) {
423 swig_cast_info *iter = ty->cast;
424 while (iter) {
425 if (strcmp(iter->type->name, c) == 0) {
426 if (iter == ty->cast)
427 return iter;
428 /* Move iter to the top of the linked list */
429 iter->prev->next = iter->next;
430 if (iter->next)
431 iter->next->prev = iter->prev;
432 iter->next = ty->cast;
433 iter->prev = 0;
434 if (ty->cast) ty->cast->prev = iter;
435 ty->cast = iter;
436 return iter;
437 }
438 iter = iter->next;
439 }
440 }
441 return 0;
442}
443
444/*
445 Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
446*/
447SWIGRUNTIMEstatic __attribute__ ((__unused__)) swig_cast_info *
448SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *ty) {
449 if (ty) {
450 swig_cast_info *iter = ty->cast;
451 while (iter) {
452 if (iter->type == from) {
453 if (iter == ty->cast)
454 return iter;
455 /* Move iter to the top of the linked list */
456 iter->prev->next = iter->next;
457 if (iter->next)
458 iter->next->prev = iter->prev;
459 iter->next = ty->cast;
460 iter->prev = 0;
461 if (ty->cast) ty->cast->prev = iter;
462 ty->cast = iter;
463 return iter;
464 }
465 iter = iter->next;
466 }
467 }
468 return 0;
469}
470
471/*
472 Cast a pointer up an inheritance hierarchy
473*/
474SWIGRUNTIMEINLINEstatic __attribute__ ((__unused__)) inline void *
475SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
476 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
477}
478
479/*
480 Dynamic pointer casting. Down an inheritance hierarchy
481*/
482SWIGRUNTIMEstatic __attribute__ ((__unused__)) swig_type_info *
483SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
484 swig_type_info *lastty = ty;
485 if (!ty || !ty->dcast) return ty;
486 while (ty && (ty->dcast)) {
487 ty = (*ty->dcast)(ptr);
488 if (ty) lastty = ty;
489 }
490 return lastty;
491}
492
493/*
494 Return the name associated with this type
495*/
496SWIGRUNTIMEINLINEstatic __attribute__ ((__unused__)) inline const char *
497SWIG_TypeName(const swig_type_info *ty) {
498 return ty->name;
499}
500
501/*
502 Return the pretty name associated with this type,
503 that is an unmangled type name in a form presentable to the user.
504*/
505SWIGRUNTIMEstatic __attribute__ ((__unused__)) const char *
506SWIG_TypePrettyName(const swig_type_info *type) {
507 /* The "str" field contains the equivalent pretty names of the
508 type, separated by vertical-bar characters. We choose
509 to print the last name, as it is often (?) the most
510 specific. */
511 if (!type) return NULL__null;
512 if (type->str != NULL__null) {
513 const char *last_name = type->str;
514 const char *s;
515 for (s = type->str; *s; s++)
516 if (*s == '|') last_name = s+1;
517 return last_name;
518 }
519 else
520 return type->name;
521}
522
523/*
524 Set the clientdata field for a type
525*/
526SWIGRUNTIMEstatic __attribute__ ((__unused__)) void
527SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
528 swig_cast_info *cast = ti->cast;
529 /* if (ti->clientdata == clientdata) return; */
530 ti->clientdata = clientdata;
531
532 while (cast) {
533 if (!cast->converter) {
534 swig_type_info *tc = cast->type;
535 if (!tc->clientdata) {
536 SWIG_TypeClientData(tc, clientdata);
537 }
538 }
539 cast = cast->next;
540 }
541}
542SWIGRUNTIMEstatic __attribute__ ((__unused__)) void
543SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
544 SWIG_TypeClientData(ti, clientdata);
545 ti->owndata = 1;
546}
547
548/*
549 Search for a swig_type_info structure only by mangled name
550 Search is a O(log #types)
551
552 We start searching at module start, and finish searching when start == end.
553 Note: if start == end at the beginning of the function, we go all the way around
554 the circular list.
555*/
556SWIGRUNTIMEstatic __attribute__ ((__unused__)) swig_type_info *
557SWIG_MangledTypeQueryModule(swig_module_info *start,
558 swig_module_info *end,
559 const char *name) {
560 swig_module_info *iter = start;
561 do {
562 if (iter->size) {
563 register size_t l = 0;
564 register size_t r = iter->size - 1;
565 do {
566 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
567 register size_t i = (l + r) >> 1;
568 const char *iname = iter->types[i]->name;
569 if (iname) {
570 register int compare = strcmp(name, iname);
571 if (compare == 0) {
572 return iter->types[i];
573 } else if (compare < 0) {
574 if (i) {
575 r = i - 1;
576 } else {
577 break;
578 }
579 } else if (compare > 0) {
580 l = i + 1;
581 }
582 } else {
583 break; /* should never happen */
584 }
585 } while (l <= r);
586 }
587 iter = iter->next;
588 } while (iter != end);
589 return 0;
590}
591
592/*
593 Search for a swig_type_info structure for either a mangled name or a human readable name.
594 It first searches the mangled names of the types, which is a O(log #types)
595 If a type is not found it then searches the human readable names, which is O(#types).
596
597 We start searching at module start, and finish searching when start == end.
598 Note: if start == end at the beginning of the function, we go all the way around
599 the circular list.
600*/
601SWIGRUNTIMEstatic __attribute__ ((__unused__)) swig_type_info *
602SWIG_TypeQueryModule(swig_module_info *start,
603 swig_module_info *end,
604 const char *name) {
605 /* STEP 1: Search the name field using binary search */
606 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
607 if (ret) {
608 return ret;
609 } else {
610 /* STEP 2: If the type hasn't been found, do a complete search
611 of the str field (the human readable name) */
612 swig_module_info *iter = start;
613 do {
614 register size_t i = 0;
615 for (; i < iter->size; ++i) {
616 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
617 return iter->types[i];
618 }
619 iter = iter->next;
620 } while (iter != end);
621 }
622
623 /* neither found a match */
624 return 0;
625}
626
627/*
628 Pack binary data into a string
629*/
630SWIGRUNTIMEstatic __attribute__ ((__unused__)) char *
631SWIG_PackData(char *c, void *ptr, size_t sz) {
632 static const char hex[17] = "0123456789abcdef";
633 register const unsigned char *u = (unsigned char *) ptr;
634 register const unsigned char *eu = u + sz;
635 for (; u != eu; ++u) {
636 register unsigned char uu = *u;
637 *(c++) = hex[(uu & 0xf0) >> 4];
638 *(c++) = hex[uu & 0xf];
639 }
640 return c;
641}
642
643/*
644 Unpack binary data from a string
645*/
646SWIGRUNTIMEstatic __attribute__ ((__unused__)) const char *
647SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
648 register unsigned char *u = (unsigned char *) ptr;
649 register const unsigned char *eu = u + sz;
650 for (; u != eu; ++u) {
651 register char d = *(c++);
652 register unsigned char uu;
653 if ((d >= '0') && (d <= '9'))
654 uu = ((d - '0') << 4);
655 else if ((d >= 'a') && (d <= 'f'))
656 uu = ((d - ('a'-10)) << 4);
657 else
658 return (char *) 0;
659 d = *(c++);
660 if ((d >= '0') && (d <= '9'))
661 uu |= (d - '0');
662 else if ((d >= 'a') && (d <= 'f'))
663 uu |= (d - ('a'-10));
664 else
665 return (char *) 0;
666 *u = uu;
667 }
668 return c;
669}
670
671/*
672 Pack 'void *' into a string buffer.
673*/
674SWIGRUNTIMEstatic __attribute__ ((__unused__)) char *
675SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
676 char *r = buff;
677 if ((2*sizeof(void *) + 2) > bsz) return 0;
678 *(r++) = '_';
679 r = SWIG_PackData(r,&ptr,sizeof(void *));
680 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
681 strcpy(r,name);
682 return buff;
683}
684
685SWIGRUNTIMEstatic __attribute__ ((__unused__)) const char *
686SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
687 if (*c != '_') {
688 if (strcmp(c,"NULL") == 0) {
689 *ptr = (void *) 0;
690 return name;
691 } else {
692 return 0;
693 }
694 }
695 return SWIG_UnpackData(++c,ptr,sizeof(void *));
696}
697
698SWIGRUNTIMEstatic __attribute__ ((__unused__)) char *
699SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
700 char *r = buff;
701 size_t lname = (name ? strlen(name) : 0);
702 if ((2*sz + 2 + lname) > bsz) return 0;
703 *(r++) = '_';
704 r = SWIG_PackData(r,ptr,sz);
705 if (lname) {
706 strncpy(r,name,lname+1);
707 } else {
708 *r = 0;
709 }
710 return buff;
711}
712
713SWIGRUNTIMEstatic __attribute__ ((__unused__)) const char *
714SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
715 if (*c != '_') {
716 if (strcmp(c,"NULL") == 0) {
717 memset(ptr,0,sz);
718 return name;
719 } else {
720 return 0;
721 }
722 }
723 return SWIG_UnpackData(++c,ptr,sz);
724}
725
726#ifdef __cplusplus199711L
727}
728#endif
729
730/* Errors in SWIG */
731#define SWIG_UnknownError-1 -1
732#define SWIG_IOError-2 -2
733#define SWIG_RuntimeError-3 -3
734#define SWIG_IndexError-4 -4
735#define SWIG_TypeError-5 -5
736#define SWIG_DivisionByZero-6 -6
737#define SWIG_OverflowError-7 -7
738#define SWIG_SyntaxError-8 -8
739#define SWIG_ValueError-9 -9
740#define SWIG_SystemError-10 -10
741#define SWIG_AttributeError-11 -11
742#define SWIG_MemoryError-12 -12
743#define SWIG_NullReferenceError-13 -13
744
745
746
747/* Compatibility macros for Python 3 */
748#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x03000000
749
750#define PyClass_Check(obj)((obj)->ob_type == &PyClass_Type) PyObject_IsInstance(obj, (PyObject *)&PyType_Type)
751#define PyInt_Check(x)((((x)->ob_type)->tp_flags & ((1L<<23))) != 0
)
PyLong_Check(x)((((((PyObject*)(x))->ob_type))->tp_flags & ((1L<<
24))) != 0)
752#define PyInt_AsLong(x) PyLong_AsLong(x)
753#define PyInt_FromLong(x) PyLong_FromLong(x)
754#define PyInt_FromSize_t(x) PyLong_FromSize_t(x)
755#define PyString_Check(name)((((((PyObject*)(name))->ob_type))->tp_flags & ((1L
<<27))) != 0)
PyBytes_Check(name)((((((PyObject*)(name))->ob_type))->tp_flags & ((1L
<<27))) != 0)
756#define PyString_FromString(x) PyUnicode_FromStringPyUnicodeUCS2_FromString(x)
757#define PyString_Format(fmt, args) PyUnicode_FormatPyUnicodeUCS2_Format(fmt, args)
758#define PyString_AsString(str) PyBytes_AsStringPyString_AsString(str)
759#define PyString_Size(str) PyBytes_SizePyString_Size(str)
760#define PyString_InternFromString(key) PyUnicode_InternFromString(key)
761#define Py_TPFLAGS_HAVE_CLASS(1L<<8) Py_TPFLAGS_BASETYPE(1L<<10)
762#define PyString_AS_STRING(x)(((PyStringObject *)(x))->ob_sval) PyUnicode_AS_STRING(x)
763#define _PyLong_FromSsize_tPyLong_FromSsize_t(x) PyLong_FromSsize_t(x)
764
765#endif
766
767#ifndef Py_TYPE
768# define Py_TYPE(op)(((PyObject*)(op))->ob_type) ((op)->ob_type)
769#endif
770
771/* SWIG APIs for compatibility of both Python 2 & 3 */
772
773#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x03000000
774# define SWIG_Python_str_FromFormatPyString_FromFormat PyUnicode_FromFormatPyUnicodeUCS2_FromFormat
775#else
776# define SWIG_Python_str_FromFormatPyString_FromFormat PyString_FromFormat
777#endif
778
779
780/* Warning: This function will allocate a new string in Python 3,
781 * so please call SWIG_Python_str_DelForPy3(x) to free the space.
782 */
783SWIGINTERNstatic __attribute__ ((__unused__)) char*
784SWIG_Python_str_AsChar(PyObject *str)
785{
786#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x03000000
787 char *cstr;
788 char *newstr;
789 Py_ssize_t len;
790 str = PyUnicode_AsUTF8StringPyUnicodeUCS2_AsUTF8String(str);
791 PyBytes_AsStringAndSizePyString_AsStringAndSize(str, &cstr, &len);
792 newstr = (char *) malloc(len+1);
793 memcpy(newstr, cstr, len+1);
794 Py_XDECREF(str)do { if ((str) == __null) ; else do { if ( --((PyObject*)(str
))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(
str)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *)
(str)))); } while (0); } while (0)
;
795 return newstr;
796#else
797 return PyString_AsString(str);
798#endif
799}
800
801#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x03000000
802# define SWIG_Python_str_DelForPy3(x) free( (void*) (x) )
803#else
804# define SWIG_Python_str_DelForPy3(x)
805#endif
806
807
808SWIGINTERNstatic __attribute__ ((__unused__)) PyObject*
809SWIG_Python_str_FromChar(const char *c)
810{
811#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x03000000
812 return PyUnicode_FromStringPyUnicodeUCS2_FromString(c);
813#else
814 return PyString_FromString(c);
815#endif
816}
817
818/* Add PyOS_snprintf for old Pythons */
819#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
< 0x02020000
820# if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
821# define PyOS_snprintf _snprintf
822# else
823# define PyOS_snprintf snprintf
824# endif
825#endif
826
827/* A crude PyString_FromFormat implementation for old Pythons */
828#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
< 0x02020000
829
830#ifndef SWIG_PYBUFFER_SIZE
831# define SWIG_PYBUFFER_SIZE 1024
832#endif
833
834static PyObject *
835PyString_FromFormat(const char *fmt, ...) {
836 va_list ap;
837 char buf[SWIG_PYBUFFER_SIZE * 2];
838 int res;
839 va_start(ap, fmt)__builtin_va_start(ap, fmt);
840 res = vsnprintf(buf, sizeof(buf), fmt, ap);
841 va_end(ap)__builtin_va_end(ap);
842 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
843}
844#endif
845
846/* Add PyObject_Del for old Pythons */
847#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
< 0x01060000
848# define PyObject_DelPyObject_Free(op) PyMem_DELfree((op))
849#endif
850#ifndef PyObject_DELPyObject_Free
851# define PyObject_DELPyObject_Free PyObject_DelPyObject_Free
852#endif
853
854/* A crude PyExc_StopIteration exception for old Pythons */
855#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
< 0x02020000
856# ifndef PyExc_StopIteration
857# define PyExc_StopIteration PyExc_RuntimeError
858# endif
859# ifndef PyObject_GenericGetAttr
860# define PyObject_GenericGetAttr 0
861# endif
862#endif
863
864/* Py_NotImplemented is defined in 2.1 and up. */
865#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
< 0x02010000
866# ifndef Py_NotImplemented(&_Py_NotImplementedStruct)
867# define Py_NotImplemented(&_Py_NotImplementedStruct) PyExc_RuntimeError
868# endif
869#endif
870
871/* A crude PyString_AsStringAndSize implementation for old Pythons */
872#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
< 0x02010000
873# ifndef PyString_AsStringAndSize
874# define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
875# endif
876#endif
877
878/* PySequence_Size for old Pythons */
879#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
< 0x02000000
880# ifndef PySequence_Size
881# define PySequence_Size PySequence_LengthPySequence_Size
882# endif
883#endif
884
885/* PyBool_FromLong for old Pythons */
886#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
< 0x02030000
887static
888PyObject *PyBool_FromLong(long ok)
889{
890 PyObject *result = ok ? Py_True((PyObject *) &_Py_TrueStruct) : Py_False((PyObject *) &_Py_ZeroStruct);
891 Py_INCREF(result)( ((PyObject*)(result))->ob_refcnt++);
892 return result;
893}
894#endif
895
896/* Py_ssize_t for old Pythons */
897/* This code is as recommended by: */
898/* http://www.python.org/dev/peps/pep-0353/#conversion-guidelines */
899#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
< 0x02050000 && !defined(PY_SSIZE_T_MIN(-((Py_ssize_t)(((size_t)-1)>>1))-1))
900typedef int Py_ssize_t;
901# define PY_SSIZE_T_MAX((Py_ssize_t)(((size_t)-1)>>1)) INT_MAX2147483647
902# define PY_SSIZE_T_MIN(-((Py_ssize_t)(((size_t)-1)>>1))-1) INT_MIN(-2147483647 -1)
903typedef inquiry lenfunc;
904typedef intargfunc ssizeargfunc;
905typedef intintargfunc ssizessizeargfunc;
906typedef intobjargproc ssizeobjargproc;
907typedef intintobjargproc ssizessizeobjargproc;
908typedef getreadbufferproc readbufferproc;
909typedef getwritebufferproc writebufferproc;
910typedef getsegcountproc segcountproc;
911typedef getcharbufferproc charbufferproc;
912static long PyNumber_AsSsize_t (PyObject *x, void *SWIGUNUSEDPARM(exc))
913{
914 long result = 0;
915 PyObject *i = PyNumber_Int(x);
916 if (i) {
917 result = PyInt_AsLong(i);
918 Py_DECREF(i)do { if ( --((PyObject*)(i))->ob_refcnt != 0) ; else ( (*(
((PyObject*)((PyObject *)(i)))->ob_type)->tp_dealloc)((
PyObject *)((PyObject *)(i)))); } while (0)
;
919 }
920 return result;
921}
922#endif
923
924#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
< 0x02050000
925#define PyInt_FromSize_t(x) PyInt_FromLong((long)x)
926#endif
927
928#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
< 0x02040000
929#define Py_VISIT(op)do { if (op) { int vret = visit((PyObject *)(op), arg); if (vret
) return vret; } } while (0)
\
930 do { \
931 if (op) { \
932 int vret = visit((op), arg); \
933 if (vret) \
934 return vret; \
935 } \
936 } while (0)
937#endif
938
939#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
< 0x02030000
940typedef struct {
941 PyTypeObject type;
942 PyNumberMethods as_number;
943 PyMappingMethods as_mapping;
944 PySequenceMethods as_sequence;
945 PyBufferProcs as_buffer;
946 PyObject *name, *slots;
947} PyHeapTypeObject;
948#endif
949
950#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
< 0x02030000
951typedef destructor freefunc;
952#endif
953
954#if ((PY_MAJOR_VERSION2 == 2 && PY_MINOR_VERSION7 > 6) || \
955 (PY_MAJOR_VERSION2 == 3 && PY_MINOR_VERSION7 > 0) || \
956 (PY_MAJOR_VERSION2 > 3))
957# define SWIGPY_USE_CAPSULE
958# define SWIGPY_CAPSULE_NAME((char*)"swig_runtime_data" "4" ".type_pointer_capsule" ) ((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION"4" ".type_pointer_capsule" SWIG_TYPE_TABLE_NAME)
959#endif
960
961#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
< 0x03020000
962#define PyDescr_TYPE(x)(((PyDescrObject *)(x))->d_type) (((PyDescrObject *)(x))->d_type)
963#define PyDescr_NAME(x)(((PyDescrObject *)(x))->d_name) (((PyDescrObject *)(x))->d_name)
964#endif
965
966/* -----------------------------------------------------------------------------
967 * error manipulation
968 * ----------------------------------------------------------------------------- */
969
970SWIGRUNTIMEstatic __attribute__ ((__unused__)) PyObject*
971SWIG_Python_ErrorType(int code) {
972 PyObject* type = 0;
973 switch(code) {
974 case SWIG_MemoryError-12:
975 type = PyExc_MemoryError;
976 break;
977 case SWIG_IOError-2:
978 type = PyExc_IOError;
979 break;
980 case SWIG_RuntimeError-3:
981 type = PyExc_RuntimeError;
982 break;
983 case SWIG_IndexError-4:
984 type = PyExc_IndexError;
985 break;
986 case SWIG_TypeError-5:
987 type = PyExc_TypeError;
988 break;
989 case SWIG_DivisionByZero-6:
990 type = PyExc_ZeroDivisionError;
991 break;
992 case SWIG_OverflowError-7:
993 type = PyExc_OverflowError;
994 break;
995 case SWIG_SyntaxError-8:
996 type = PyExc_SyntaxError;
997 break;
998 case SWIG_ValueError-9:
999 type = PyExc_ValueError;
1000 break;
1001 case SWIG_SystemError-10:
1002 type = PyExc_SystemError;
1003 break;
1004 case SWIG_AttributeError-11:
1005 type = PyExc_AttributeError;
1006 break;
1007 default:
1008 type = PyExc_RuntimeError;
1009 }
1010 return type;
1011}
1012
1013
1014SWIGRUNTIMEstatic __attribute__ ((__unused__)) void
1015SWIG_Python_AddErrorMsg(const char* mesg)
1016{
1017 PyObject *type = 0;
1018 PyObject *value = 0;
1019 PyObject *traceback = 0;
1020
1021 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
1022 if (value) {
1023 char *tmp;
1024 PyObject *old_str = PyObject_Str(value);
1025 PyErr_Clear();
1026 Py_XINCREF(type)do { if ((type) == __null) ; else ( ((PyObject*)(type))->ob_refcnt
++); } while (0)
;
1027
1028 PyErr_Format(type, "%s %s", tmp = SWIG_Python_str_AsChar(old_str), mesg);
1029 SWIG_Python_str_DelForPy3(tmp);
1030 Py_DECREF(old_str)do { if ( --((PyObject*)(old_str))->ob_refcnt != 0) ; else
( (*(((PyObject*)((PyObject *)(old_str)))->ob_type)->tp_dealloc
)((PyObject *)((PyObject *)(old_str)))); } while (0)
;
1031 Py_DECREF(value)do { if ( --((PyObject*)(value))->ob_refcnt != 0) ; else (
(*(((PyObject*)((PyObject *)(value)))->ob_type)->tp_dealloc
)((PyObject *)((PyObject *)(value)))); } while (0)
;
1032 } else {
1033 PyErr_SetString(PyExc_RuntimeError, mesg);
1034 }
1035}
1036
1037#if defined(SWIG_PYTHON_NO_THREADS)
1038# if defined(SWIG_PYTHON_THREADS)
1039# undef SWIG_PYTHON_THREADS
1040# endif
1041#endif
1042#if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
1043# if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
1044# if (PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
1045# define SWIG_PYTHON_USE_GIL
1046# endif
1047# endif
1048# if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
1049# ifndef SWIG_PYTHON_INITIALIZE_THREADS
1050# define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
1051# endif
1052# ifdef __cplusplus199711L /* C++ code */
1053 class SWIG_Python_Thread_Block {
1054 bool status;
1055 PyGILState_STATE state;
1056 public:
1057 void end() { if (status) { PyGILState_Release(state); status = false;} }
1058 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
1059 ~SWIG_Python_Thread_Block() { end(); }
1060 };
1061 class SWIG_Python_Thread_Allow {
1062 bool status;
1063 PyThreadState *save;
1064 public:
1065 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
1066 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
1067 ~SWIG_Python_Thread_Allow() { end(); }
1068 };
1069# define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
1070# define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
1071# define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
1072# define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
1073# else /* C code */
1074# define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
1075# define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
1076# define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
1077# define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
1078# endif
1079# else /* Old thread way, not implemented, user must provide it */
1080# if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
1081# define SWIG_PYTHON_INITIALIZE_THREADS
1082# endif
1083# if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
1084# define SWIG_PYTHON_THREAD_BEGIN_BLOCK
1085# endif
1086# if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
1087# define SWIG_PYTHON_THREAD_END_BLOCK
1088# endif
1089# if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
1090# define SWIG_PYTHON_THREAD_BEGIN_ALLOW
1091# endif
1092# if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
1093# define SWIG_PYTHON_THREAD_END_ALLOW
1094# endif
1095# endif
1096#else /* No thread support */
1097# define SWIG_PYTHON_INITIALIZE_THREADS
1098# define SWIG_PYTHON_THREAD_BEGIN_BLOCK
1099# define SWIG_PYTHON_THREAD_END_BLOCK
1100# define SWIG_PYTHON_THREAD_BEGIN_ALLOW
1101# define SWIG_PYTHON_THREAD_END_ALLOW
1102#endif
1103
1104/* -----------------------------------------------------------------------------
1105 * Python API portion that goes into the runtime
1106 * ----------------------------------------------------------------------------- */
1107
1108#ifdef __cplusplus199711L
1109extern "C" {
1110#endif
1111
1112/* -----------------------------------------------------------------------------
1113 * Constant declarations
1114 * ----------------------------------------------------------------------------- */
1115
1116/* Constant Types */
1117#define SWIG_PY_POINTER4 4
1118#define SWIG_PY_BINARY5 5
1119
1120/* Constant information structure */
1121typedef struct swig_const_info {
1122 int type;
1123 char *name;
1124 long lvalue;
1125 double dvalue;
1126 void *pvalue;
1127 swig_type_info **ptype;
1128} swig_const_info;
1129
1130
1131/* -----------------------------------------------------------------------------
1132 * Wrapper of PyInstanceMethod_New() used in Python 3
1133 * It is exported to the generated module, used for -fastproxy
1134 * ----------------------------------------------------------------------------- */
1135#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x03000000
1136SWIGRUNTIMEstatic __attribute__ ((__unused__)) PyObject* SWIG_PyInstanceMethod_New(PyObject *SWIGUNUSEDPARM(self), PyObject *func)
1137{
1138 return PyInstanceMethod_New(func);
1139}
1140#else
1141SWIGRUNTIMEstatic __attribute__ ((__unused__)) PyObject* SWIG_PyInstanceMethod_New(PyObject *SWIGUNUSEDPARM(self), PyObject *SWIGUNUSEDPARM(func))
1142{
1143 return NULL__null;
1144}
1145#endif
1146
1147#ifdef __cplusplus199711L
1148}
1149#endif
1150
1151
1152/* -----------------------------------------------------------------------------
1153 * pyrun.swg
1154 *
1155 * This file contains the runtime support for Python modules
1156 * and includes code for managing global variables and pointer
1157 * type checking.
1158 *
1159 * ----------------------------------------------------------------------------- */
1160
1161/* Common SWIG API */
1162
1163/* for raw pointers */
1164#define SWIG_Python_ConvertPtr(obj, pptr, type, flags)SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
1165#define SWIG_ConvertPtr(obj, pptr, type, flags)SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0) SWIG_Python_ConvertPtr(obj, pptr, type, flags)SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
1166#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own)SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
1167
1168#ifdef SWIGPYTHON_BUILTIN
1169#define SWIG_NewPointerObj(ptr, type, flags)SWIG_Python_NewPointerObj(__null, ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
1170#else
1171#define SWIG_NewPointerObj(ptr, type, flags)SWIG_Python_NewPointerObj(__null, ptr, type, flags) SWIG_Python_NewPointerObj(NULL__null, ptr, type, flags)
1172#endif
1173
1174#define SWIG_InternalNewPointerObj(ptr, type, flags)SWIG_Python_NewPointerObj(__null, ptr, type, flags) SWIG_Python_NewPointerObj(NULL__null, ptr, type, flags)
1175
1176#define SWIG_CheckImplicit(ty)SWIG_Python_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
1177#define SWIG_AcquirePtr(ptr, src)SWIG_Python_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
1178#define swig_owntypeint int
1179
1180/* for raw packed data */
1181#define SWIG_ConvertPacked(obj, ptr, sz, ty)SWIG_Python_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1182#define SWIG_NewPackedObj(ptr, sz, type)SWIG_Python_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1183
1184/* for class or struct pointers */
1185#define SWIG_ConvertInstance(obj, pptr, type, flags)SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0) SWIG_ConvertPtr(obj, pptr, type, flags)SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
1186#define SWIG_NewInstanceObj(ptr, type, flags)SWIG_Python_NewPointerObj(__null, ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)SWIG_Python_NewPointerObj(__null, ptr, type, flags)
1187
1188/* for C or C++ function pointers */
1189#define SWIG_ConvertFunctionPtr(obj, pptr, type)SWIG_Python_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1190#define SWIG_NewFunctionPtrObj(ptr, type)SWIG_Python_NewPointerObj(__null, ptr, type, 0) SWIG_Python_NewPointerObj(NULL__null, ptr, type, 0)
1191
1192/* for C++ member pointers, ie, member methods */
1193#define SWIG_ConvertMember(obj, ptr, sz, ty)SWIG_Python_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1194#define SWIG_NewMemberObj(ptr, sz, type)SWIG_Python_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1195
1196
1197/* Runtime API */
1198
1199#define SWIG_GetModule(clientdata)SWIG_Python_GetModule(clientdata) SWIG_Python_GetModule(clientdata)
1200#define SWIG_SetModule(clientdata, pointer)SWIG_Python_SetModule(pointer) SWIG_Python_SetModule(pointer)
1201#define SWIG_NewClientData(obj)SwigPyClientData_New(obj) SwigPyClientData_New(obj)
1202
1203#define SWIG_SetErrorObjSWIG_Python_SetErrorObj SWIG_Python_SetErrorObj
1204#define SWIG_SetErrorMsgSWIG_Python_SetErrorMsg SWIG_Python_SetErrorMsg
1205#define SWIG_ErrorType(code)SWIG_Python_ErrorType(code) SWIG_Python_ErrorType(code)
1206#define SWIG_Error(code, msg)SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(code), msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code)SWIG_Python_ErrorType(code), msg)
1207#define SWIG_failgoto fail goto fail
1208
1209
1210/* Runtime API implementation */
1211
1212/* Error manipulation */
1213
1214SWIGINTERNstatic __attribute__ ((__unused__)) void
1215SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1216 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1217 PyErr_SetObject(errtype, obj);
1218 Py_DECREF(obj)do { if ( --((PyObject*)(obj))->ob_refcnt != 0) ; else ( (
*(((PyObject*)((PyObject *)(obj)))->ob_type)->tp_dealloc
)((PyObject *)((PyObject *)(obj)))); } while (0)
;
1219 SWIG_PYTHON_THREAD_END_BLOCK;
1220}
1221
1222SWIGINTERNstatic __attribute__ ((__unused__)) void
1223SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1224 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1225 PyErr_SetString(errtype, msg);
1226 SWIG_PYTHON_THREAD_END_BLOCK;
1227}
1228
1229#define SWIG_Python_Raise(obj, type, desc)SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1230
1231/* Set a constant value */
1232
1233#if defined(SWIGPYTHON_BUILTIN)
1234
1235SWIGINTERNstatic __attribute__ ((__unused__)) void
1236SwigPyBuiltin_AddPublicSymbol(PyObject *seq, const char *key) {
1237 PyObject *s = PyString_InternFromString(key);
1238 PyList_Append(seq, s);
1239 Py_DECREF(s)do { if ( --((PyObject*)(s))->ob_refcnt != 0) ; else ( (*(
((PyObject*)((PyObject *)(s)))->ob_type)->tp_dealloc)((
PyObject *)((PyObject *)(s)))); } while (0)
;
1240}
1241
1242SWIGINTERNstatic __attribute__ ((__unused__)) void
1243SWIG_Python_SetConstant(PyObject *d, PyObject *public_interface, const char *name, PyObject *obj) {
1244#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
< 0x02030000
1245 PyDict_SetItemString(d, (char *)name, obj);
1246#else
1247 PyDict_SetItemString(d, name, obj);
1248#endif
1249 Py_DECREF(obj)do { if ( --((PyObject*)(obj))->ob_refcnt != 0) ; else ( (
*(((PyObject*)((PyObject *)(obj)))->ob_type)->tp_dealloc
)((PyObject *)((PyObject *)(obj)))); } while (0)
;
1250 if (public_interface)
1251 SwigPyBuiltin_AddPublicSymbol(public_interface, name);
1252}
1253
1254#else
1255
1256SWIGINTERNstatic __attribute__ ((__unused__)) void
1257SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1258#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
< 0x02030000
1259 PyDict_SetItemString(d, (char *)name, obj);
1260#else
1261 PyDict_SetItemString(d, name, obj);
1262#endif
1263 Py_DECREF(obj)do { if ( --((PyObject*)(obj))->ob_refcnt != 0) ; else ( (
*(((PyObject*)((PyObject *)(obj)))->ob_type)->tp_dealloc
)((PyObject *)((PyObject *)(obj)))); } while (0)
;
1264}
1265
1266#endif
1267
1268/* Append a value to the result obj */
1269
1270SWIGINTERNstatic __attribute__ ((__unused__)) PyObject*
1271SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1272#if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1273 if (!result) {
1274 result = obj;
1275 } else if (result == Py_None(&_Py_NoneStruct)) {
1276 Py_DECREF(result)do { if ( --((PyObject*)(result))->ob_refcnt != 0) ; else (
(*(((PyObject*)((PyObject *)(result)))->ob_type)->tp_dealloc
)((PyObject *)((PyObject *)(result)))); } while (0)
;
1277 result = obj;
1278 } else {
1279 if (!PyList_Check(result)((((((PyObject*)(result))->ob_type))->tp_flags & ((
1L<<25))) != 0)
) {
1280 PyObject *o2 = result;
1281 result = PyList_New(1);
1282 PyList_SetItem(result, 0, o2);
1283 }
1284 PyList_Append(result,obj);
1285 Py_DECREF(obj)do { if ( --((PyObject*)(obj))->ob_refcnt != 0) ; else ( (
*(((PyObject*)((PyObject *)(obj)))->ob_type)->tp_dealloc
)((PyObject *)((PyObject *)(obj)))); } while (0)
;
1286 }
1287 return result;
1288#else
1289 PyObject* o2;
1290 PyObject* o3;
1291 if (!result) {
1292 result = obj;
1293 } else if (result == Py_None(&_Py_NoneStruct)) {
1294 Py_DECREF(result)do { if ( --((PyObject*)(result))->ob_refcnt != 0) ; else (
(*(((PyObject*)((PyObject *)(result)))->ob_type)->tp_dealloc
)((PyObject *)((PyObject *)(result)))); } while (0)
;
1295 result = obj;
1296 } else {
1297 if (!PyTuple_Check(result)((((((PyObject*)(result))->ob_type))->tp_flags & ((
1L<<26))) != 0)
) {
1298 o2 = result;
1299 result = PyTuple_New(1);
1300 PyTuple_SET_ITEM(result, 0, o2)(((PyTupleObject *)(result))->ob_item[0] = o2);
1301 }
1302 o3 = PyTuple_New(1);
1303 PyTuple_SET_ITEM(o3, 0, obj)(((PyTupleObject *)(o3))->ob_item[0] = obj);
1304 o2 = result;
1305 result = PySequence_Concat(o2, o3);
1306 Py_DECREF(o2)do { if ( --((PyObject*)(o2))->ob_refcnt != 0) ; else ( (*
(((PyObject*)((PyObject *)(o2)))->ob_type)->tp_dealloc)
((PyObject *)((PyObject *)(o2)))); } while (0)
;
1307 Py_DECREF(o3)do { if ( --((PyObject*)(o3))->ob_refcnt != 0) ; else ( (*
(((PyObject*)((PyObject *)(o3)))->ob_type)->tp_dealloc)
((PyObject *)((PyObject *)(o3)))); } while (0)
;
1308 }
1309 return result;
1310#endif
1311}
1312
1313/* Unpack the argument tuple */
1314
1315SWIGINTERNstatic __attribute__ ((__unused__)) int
1316SWIG_Python_UnpackTuple(PyObject *args, const char *name, Py_ssize_t min, Py_ssize_t max, PyObject **objs)
1317{
1318 if (!args) {
1319 if (!min && !max) {
1320 return 1;
1321 } else {
1322 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1323 name, (min == max ? "" : "at least "), (int)min);
1324 return 0;
1325 }
1326 }
1327 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) {
1328 if (min <= 1 && max >= 1) {
1329 register int i;
1330 objs[0] = args;
1331 for (i = 1; i < max; ++i) {
1332 objs[i] = 0;
1333 }
1334 return 2;
1335 }
1336 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1337 return 0;
1338 } else {
1339 register Py_ssize_t l = PyTuple_GET_SIZE(args)(((PyVarObject*)(args))->ob_size);
1340 if (l < min) {
1341 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1342 name, (min == max ? "" : "at least "), (int)min, (int)l);
1343 return 0;
1344 } else if (l > max) {
1345 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1346 name, (min == max ? "" : "at most "), (int)max, (int)l);
1347 return 0;
1348 } else {
1349 register int i;
1350 for (i = 0; i < l; ++i) {
1351 objs[i] = PyTuple_GET_ITEM(args, i)(((PyTupleObject *)(args))->ob_item[i]);
1352 }
1353 for (; l < max; ++l) {
1354 objs[l] = 0;
1355 }
1356 return i + 1;
1357 }
1358 }
1359}
1360
1361/* A functor is a function object with one single object argument */
1362#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x02020000
1363#define SWIG_Python_CallFunctor(functor, obj)PyObject_CallFunctionObjArgs(functor, obj, __null); PyObject_CallFunctionObjArgs(functor, obj, NULL__null);
1364#else
1365#define SWIG_Python_CallFunctor(functor, obj)PyObject_CallFunctionObjArgs(functor, obj, __null); PyObject_CallFunction(functor, "O", obj);
1366#endif
1367
1368/*
1369 Helper for static pointer initialization for both C and C++ code, for example
1370 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1371*/
1372#ifdef __cplusplus199711L
1373#define SWIG_STATIC_POINTER(var)var var
1374#else
1375#define SWIG_STATIC_POINTER(var)var var = 0; if (!var) var
1376#endif
1377
1378/* -----------------------------------------------------------------------------
1379 * Pointer declarations
1380 * ----------------------------------------------------------------------------- */
1381
1382/* Flags for new pointer objects */
1383#define SWIG_POINTER_NOSHADOW(0x1 << 1) (SWIG_POINTER_OWN0x1 << 1)
1384#define SWIG_POINTER_NEW((0x1 << 1) | 0x1) (SWIG_POINTER_NOSHADOW(0x1 << 1) | SWIG_POINTER_OWN0x1)
1385
1386#define SWIG_POINTER_IMPLICIT_CONV(0x1 << 1) (SWIG_POINTER_DISOWN0x1 << 1)
1387
1388#define SWIG_BUILTIN_TP_INIT(0x1 << 2) (SWIG_POINTER_OWN0x1 << 2)
1389#define SWIG_BUILTIN_INIT((0x1 << 2) | 0x1) (SWIG_BUILTIN_TP_INIT(0x1 << 2) | SWIG_POINTER_OWN0x1)
1390
1391#ifdef __cplusplus199711L
1392extern "C" {
1393#endif
1394
1395/* How to access Py_None */
1396#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1397# ifndef SWIG_PYTHON_NO_BUILD_NONE
1398# ifndef SWIG_PYTHON_BUILD_NONE
1399# define SWIG_PYTHON_BUILD_NONE
1400# endif
1401# endif
1402#endif
1403
1404#ifdef SWIG_PYTHON_BUILD_NONE
1405# ifdef Py_None(&_Py_NoneStruct)
1406# undef Py_None(&_Py_NoneStruct)
1407# define Py_None(&_Py_NoneStruct) SWIG_Py_None()
1408# endif
1409SWIGRUNTIMEINLINEstatic __attribute__ ((__unused__)) inline PyObject *
1410_SWIG_Py_None(void)
1411{
1412 PyObject *none = Py_BuildValue((char*)"");
1413 Py_DECREF(none)do { if ( --((PyObject*)(none))->ob_refcnt != 0) ; else ( (
*(((PyObject*)((PyObject *)(none)))->ob_type)->tp_dealloc
)((PyObject *)((PyObject *)(none)))); } while (0)
;
1414 return none;
1415}
1416SWIGRUNTIMEstatic __attribute__ ((__unused__)) PyObject *
1417SWIG_Py_None(void)
1418{
1419 static PyObject *SWIG_STATIC_POINTER(none)none = _SWIG_Py_None();
1420 return none;
1421}
1422#endif
1423
1424/* The python void return value */
1425
1426SWIGRUNTIMEINLINEstatic __attribute__ ((__unused__)) inline PyObject *
1427SWIG_Py_Void(void)
1428{
1429 PyObject *none = Py_None(&_Py_NoneStruct);
1430 Py_INCREF(none)( ((PyObject*)(none))->ob_refcnt++);
1431 return none;
1432}
1433
1434/* SwigPyClientData */
1435
1436typedef struct {
1437 PyObject *klass;
1438 PyObject *newraw;
1439 PyObject *newargs;
1440 PyObject *destroy;
1441 int delargs;
1442 int implicitconv;
1443 PyTypeObject *pytype;
1444} SwigPyClientData;
1445
1446SWIGRUNTIMEINLINEstatic __attribute__ ((__unused__)) inline int
1447SWIG_Python_CheckImplicit(swig_type_info *ty)
1448{
1449 SwigPyClientData *data = (SwigPyClientData *)ty->clientdata;
1450 return data ? data->implicitconv : 0;
1451}
1452
1453SWIGRUNTIMEINLINEstatic __attribute__ ((__unused__)) inline PyObject *
1454SWIG_Python_ExceptionType(swig_type_info *desc) {
1455 SwigPyClientData *data = desc ? (SwigPyClientData *) desc->clientdata : 0;
1456 PyObject *klass = data ? data->klass : 0;
1457 return (klass ? klass : PyExc_RuntimeError);
1458}
1459
1460
1461SWIGRUNTIMEstatic __attribute__ ((__unused__)) SwigPyClientData *
1462SwigPyClientData_New(PyObject* obj)
1463{
1464 if (!obj) {
1465 return 0;
1466 } else {
1467 SwigPyClientData *data = (SwigPyClientData *)malloc(sizeof(SwigPyClientData));
1468 /* the klass element */
1469 data->klass = obj;
1470 Py_INCREF(data->klass)( ((PyObject*)(data->klass))->ob_refcnt++);
1471 /* the newraw method and newargs arguments used to create a new raw instance */
1472 if (PyClass_Check(obj)((obj)->ob_type == &PyClass_Type)) {
1473 data->newraw = 0;
1474 data->newargs = obj;
1475 Py_INCREF(obj)( ((PyObject*)(obj))->ob_refcnt++);
1476 } else {
1477#if (PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
< 0x02020000)
1478 data->newraw = 0;
1479#else
1480 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1481#endif
1482 if (data->newraw) {
1483 Py_INCREF(data->newraw)( ((PyObject*)(data->newraw))->ob_refcnt++);
1484 data->newargs = PyTuple_New(1);
1485 PyTuple_SetItem(data->newargs, 0, obj);
1486 } else {
1487 data->newargs = obj;
1488 }
1489 Py_INCREF(data->newargs)( ((PyObject*)(data->newargs))->ob_refcnt++);
1490 }
1491 /* the destroy method, aka as the C++ delete method */
1492 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1493 if (PyErr_Occurred()) {
1494 PyErr_Clear();
1495 data->destroy = 0;
1496 }
1497 if (data->destroy) {
1498 int flags;
1499 Py_INCREF(data->destroy)( ((PyObject*)(data->destroy))->ob_refcnt++);
1500 flags = PyCFunction_GET_FLAGS(data->destroy)(((PyCFunctionObject *)data->destroy) -> m_ml -> ml_flags
)
;
1501#ifdef METH_O0x0008
1502 data->delargs = !(flags & (METH_O0x0008));
1503#else
1504 data->delargs = 0;
1505#endif
1506 } else {
1507 data->delargs = 0;
1508 }
1509 data->implicitconv = 0;
1510 data->pytype = 0;
1511 return data;
1512 }
1513}
1514
1515SWIGRUNTIMEstatic __attribute__ ((__unused__)) void
1516SwigPyClientData_Del(SwigPyClientData *data) {
1517 Py_XDECREF(data->newraw)do { if ((data->newraw) == __null) ; else do { if ( --((PyObject
*)(data->newraw))->ob_refcnt != 0) ; else ( (*(((PyObject
*)((PyObject *)(data->newraw)))->ob_type)->tp_dealloc
)((PyObject *)((PyObject *)(data->newraw)))); } while (0);
} while (0)
;
1518 Py_XDECREF(data->newargs)do { if ((data->newargs) == __null) ; else do { if ( --((PyObject
*)(data->newargs))->ob_refcnt != 0) ; else ( (*(((PyObject
*)((PyObject *)(data->newargs)))->ob_type)->tp_dealloc
)((PyObject *)((PyObject *)(data->newargs)))); } while (0)
; } while (0)
;
1519 Py_XDECREF(data->destroy)do { if ((data->destroy) == __null) ; else do { if ( --((PyObject
*)(data->destroy))->ob_refcnt != 0) ; else ( (*(((PyObject
*)((PyObject *)(data->destroy)))->ob_type)->tp_dealloc
)((PyObject *)((PyObject *)(data->destroy)))); } while (0)
; } while (0)
;
1520}
1521
1522/* =============== SwigPyObject =====================*/
1523
1524typedef struct {
1525 PyObject_HEADPy_ssize_t ob_refcnt; struct _typeobject *ob_type;
1526 void *ptr;
1527 swig_type_info *ty;
1528 int own;
1529 PyObject *next;
1530#ifdef SWIGPYTHON_BUILTIN
1531 PyObject *dict;
1532#endif
1533} SwigPyObject;
1534
1535SWIGRUNTIMEstatic __attribute__ ((__unused__)) PyObject *
1536SwigPyObject_long(SwigPyObject *v)
1537{
1538 return PyLong_FromVoidPtr(v->ptr);
1539}
1540
1541SWIGRUNTIMEstatic __attribute__ ((__unused__)) PyObject *
1542SwigPyObject_format(const char* fmt, SwigPyObject *v)
1543{
1544 PyObject *res = NULL__null;
1545 PyObject *args = PyTuple_New(1);
1546 if (args) {
1547 if (PyTuple_SetItem(args, 0, SwigPyObject_long(v)) == 0) {
1548 PyObject *ofmt = SWIG_Python_str_FromChar(fmt);
1549 if (ofmt) {
1550#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x03000000
1551 res = PyUnicode_FormatPyUnicodeUCS2_Format(ofmt,args);
1552#else
1553 res = PyString_Format(ofmt,args);
1554#endif
1555 Py_DECREF(ofmt)do { if ( --((PyObject*)(ofmt))->ob_refcnt != 0) ; else ( (
*(((PyObject*)((PyObject *)(ofmt)))->ob_type)->tp_dealloc
)((PyObject *)((PyObject *)(ofmt)))); } while (0)
;
1556 }
1557 Py_DECREF(args)do { if ( --((PyObject*)(args))->ob_refcnt != 0) ; else ( (
*(((PyObject*)((PyObject *)(args)))->ob_type)->tp_dealloc
)((PyObject *)((PyObject *)(args)))); } while (0)
;
1558 }
1559 }
1560 return res;
1561}
1562
1563SWIGRUNTIMEstatic __attribute__ ((__unused__)) PyObject *
1564SwigPyObject_oct(SwigPyObject *v)
1565{
1566 return SwigPyObject_format("%o",v);
1567}
1568
1569SWIGRUNTIMEstatic __attribute__ ((__unused__)) PyObject *
1570SwigPyObject_hex(SwigPyObject *v)
1571{
1572 return SwigPyObject_format("%x",v);
1573}
1574
1575SWIGRUNTIMEstatic __attribute__ ((__unused__)) PyObject *
1576#ifdef METH_NOARGS0x0004
1577SwigPyObject_repr(SwigPyObject *v)
1578#else
1579SwigPyObject_repr(SwigPyObject *v, PyObject *args)
1580#endif
1581{
1582 const char *name = SWIG_TypePrettyName(v->ty);
1583 PyObject *repr = SWIG_Python_str_FromFormatPyString_FromFormat("<Swig Object of type '%s' at %p>", (name ? name : "unknown"), (void *)v);
1584 if (v->next) {
1585# ifdef METH_NOARGS0x0004
1586 PyObject *nrep = SwigPyObject_repr((SwigPyObject *)v->next);
1587# else
1588 PyObject *nrep = SwigPyObject_repr((SwigPyObject *)v->next, args);
1589# endif
1590# if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x03000000
1591 PyObject *joined = PyUnicode_ConcatPyUnicodeUCS2_Concat(repr, nrep);
1592 Py_DecRef(repr);
1593 Py_DecRef(nrep);
1594 repr = joined;
1595# else
1596 PyString_ConcatAndDel(&repr,nrep);
1597# endif
1598 }
1599 return repr;
1600}
1601
1602SWIGRUNTIMEstatic __attribute__ ((__unused__)) int
1603SwigPyObject_compare(SwigPyObject *v, SwigPyObject *w)
1604{
1605 void *i = v->ptr;
1606 void *j = w->ptr;
1607 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1608}
1609
1610/* Added for Python 3.x, would it also be useful for Python 2.x? */
1611SWIGRUNTIMEstatic __attribute__ ((__unused__)) PyObject*
1612SwigPyObject_richcompare(SwigPyObject *v, SwigPyObject *w, int op)
1613{
1614 PyObject* res;
1615 if( op != Py_EQ2 && op != Py_NE3 ) {
1616 Py_INCREF(Py_NotImplemented)( ((PyObject*)((&_Py_NotImplementedStruct)))->ob_refcnt
++)
;
1617 return Py_NotImplemented(&_Py_NotImplementedStruct);
1618 }
1619 res = PyBool_FromLong( (SwigPyObject_compare(v, w)==0) == (op == Py_EQ2) ? 1 : 0);
1620 return res;
1621}
1622
1623
1624SWIGRUNTIMEstatic __attribute__ ((__unused__)) PyTypeObject* SwigPyObject_TypeOnce(void);
1625
1626#ifdef SWIGPYTHON_BUILTIN
1627static swig_type_info *SwigPyObject_stype = 0;
1628SWIGRUNTIMEstatic __attribute__ ((__unused__)) PyTypeObject*
1629SwigPyObject_type(void) {
1630 SwigPyClientData *cd;
1631 assert(SwigPyObject_stype)((void)0);
1632 cd = (SwigPyClientData*) SwigPyObject_stype->clientdata;
1633 assert(cd)((void)0);
1634 assert(cd->pytype)((void)0);
1635 return cd->pytype;
1636}
1637#else
1638SWIGRUNTIMEstatic __attribute__ ((__unused__)) PyTypeObject*
1639SwigPyObject_type(void) {
1640 static PyTypeObject *SWIG_STATIC_POINTER(type)type = SwigPyObject_TypeOnce();
1641 return type;
1642}
1643#endif
1644
1645SWIGRUNTIMEINLINEstatic __attribute__ ((__unused__)) inline int
1646SwigPyObject_Check(PyObject *op) {
1647#ifdef SWIGPYTHON_BUILTIN
1648 PyTypeObject *target_tp = SwigPyObject_type();
1649 if (PyType_IsSubtype(op->ob_type, target_tp))
1650 return 1;
1651 return (strcmp(op->ob_type->tp_name, "SwigPyObject") == 0);
1652#else
1653 return (Py_TYPE(op)(((PyObject*)(op))->ob_type) == SwigPyObject_type())
1654 || (strcmp(Py_TYPE(op)(((PyObject*)(op))->ob_type)->tp_name,"SwigPyObject") == 0);
1655#endif
1656}
1657
1658SWIGRUNTIMEstatic __attribute__ ((__unused__)) PyObject *
1659SwigPyObject_New(void *ptr, swig_type_info *ty, int own);
1660
1661SWIGRUNTIMEstatic __attribute__ ((__unused__)) void
1662SwigPyObject_dealloc(PyObject *v)
1663{
1664 SwigPyObject *sobj = (SwigPyObject *) v;
1665 PyObject *next = sobj->next;
1666 if (sobj->own == SWIG_POINTER_OWN0x1) {
1667 swig_type_info *ty = sobj->ty;
1668 SwigPyClientData *data = ty ? (SwigPyClientData *) ty->clientdata : 0;
1669 PyObject *destroy = data ? data->destroy : 0;
1670 if (destroy) {
1671 /* destroy is always a VARARGS method */
1672 PyObject *res;
1673 if (data->delargs) {
1674 /* we need to create a temporary object to carry the destroy operation */
1675 PyObject *tmp = SwigPyObject_New(sobj->ptr, ty, 0);
1676 res = SWIG_Python_CallFunctor(destroy, tmp)PyObject_CallFunctionObjArgs(destroy, tmp, __null);;
1677 Py_DECREF(tmp)do { if ( --((PyObject*)(tmp))->ob_refcnt != 0) ; else ( (
*(((PyObject*)((PyObject *)(tmp)))->ob_type)->tp_dealloc
)((PyObject *)((PyObject *)(tmp)))); } while (0)
;
1678 } else {
1679 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy)(((PyCFunctionObject *)destroy) -> m_ml -> ml_meth);
1680 PyObject *mself = PyCFunction_GET_SELF(destroy)(((PyCFunctionObject *)destroy) -> m_self);
1681 res = ((*meth)(mself, v));
1682 }
1683 Py_XDECREF(res)do { if ((res) == __null) ; else do { if ( --((PyObject*)(res
))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(
res)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *)
(res)))); } while (0); } while (0)
;
1684 }
1685#if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1686 else {
1687 const char *name = SWIG_TypePrettyName(ty);
1688 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", (name ? name : "unknown"));
1689 }
1690#endif
1691 }
1692 Py_XDECREF(next)do { if ((next) == __null) ; else do { if ( --((PyObject*)(next
))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(
next)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *
)(next)))); } while (0); } while (0)
;
1693 PyObject_DELPyObject_Free(v);
1694}
1695
1696SWIGRUNTIMEstatic __attribute__ ((__unused__)) PyObject*
1697SwigPyObject_append(PyObject* v, PyObject* next)
1698{
1699 SwigPyObject *sobj = (SwigPyObject *) v;
1700#ifndef METH_O0x0008
1701 PyObject *tmp = 0;
1702 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL__null;
1703 next = tmp;
1704#endif
1705 if (!SwigPyObject_Check(next)) {
1706 return NULL__null;
1707 }
1708 sobj->next = next;
1709 Py_INCREF(next)( ((PyObject*)(next))->ob_refcnt++);
1710 return SWIG_Py_Void();
1711}
1712
1713SWIGRUNTIMEstatic __attribute__ ((__unused__)) PyObject*
1714#ifdef METH_NOARGS0x0004
1715SwigPyObject_next(PyObject* v)
1716#else
1717SwigPyObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1718#endif
1719{
1720 SwigPyObject *sobj = (SwigPyObject *) v;
1721 if (sobj->next) {
1722 Py_INCREF(sobj->next)( ((PyObject*)(sobj->next))->ob_refcnt++);
1723 return sobj->next;
1724 } else {
1725 return SWIG_Py_Void();
1726 }
1727}
1728
1729SWIGINTERNstatic __attribute__ ((__unused__)) PyObject*
1730#ifdef METH_NOARGS0x0004
1731SwigPyObject_disown(PyObject *v)
1732#else
1733SwigPyObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1734#endif
1735{
1736 SwigPyObject *sobj = (SwigPyObject *)v;
1737 sobj->own = 0;
1738 return SWIG_Py_Void();
1739}
1740
1741SWIGINTERNstatic __attribute__ ((__unused__)) PyObject*
1742#ifdef METH_NOARGS0x0004
1743SwigPyObject_acquire(PyObject *v)
1744#else
1745SwigPyObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1746#endif
1747{
1748 SwigPyObject *sobj = (SwigPyObject *)v;
1749 sobj->own = SWIG_POINTER_OWN0x1;
1750 return SWIG_Py_Void();
1751}
1752
1753SWIGINTERNstatic __attribute__ ((__unused__)) PyObject*
1754SwigPyObject_own(PyObject *v, PyObject *args)
1755{
1756 PyObject *val = 0;
1757#if (PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
< 0x02020000)
1758 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1759#elif (PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
< 0x02050000)
1760 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1761#else
1762 if (!PyArg_UnpackTuple(args, "own", 0, 1, &val))
1763#endif
1764 {
1765 return NULL__null;
1766 }
1767 else
1768 {
1769 SwigPyObject *sobj = (SwigPyObject *)v;
1770 PyObject *obj = PyBool_FromLong(sobj->own);
1771 if (val) {
1772#ifdef METH_NOARGS0x0004
1773 if (PyObject_IsTrue(val)) {
1774 SwigPyObject_acquire(v);
1775 } else {
1776 SwigPyObject_disown(v);
1777 }
1778#else
1779 if (PyObject_IsTrue(val)) {
1780 SwigPyObject_acquire(v,args);
1781 } else {
1782 SwigPyObject_disown(v,args);
1783 }
1784#endif
1785 }
1786 return obj;
1787 }
1788}
1789
1790#ifdef METH_O0x0008
1791static PyMethodDef
1792swigobject_methods[] = {
1793 {(char *)"disown", (PyCFunction)SwigPyObject_disown, METH_NOARGS0x0004, (char *)"releases ownership of the pointer"},
1794 {(char *)"acquire", (PyCFunction)SwigPyObject_acquire, METH_NOARGS0x0004, (char *)"acquires ownership of the pointer"},
1795 {(char *)"own", (PyCFunction)SwigPyObject_own, METH_VARARGS0x0001, (char *)"returns/sets ownership of the pointer"},
1796 {(char *)"append", (PyCFunction)SwigPyObject_append, METH_O0x0008, (char *)"appends another 'this' object"},
1797 {(char *)"next", (PyCFunction)SwigPyObject_next, METH_NOARGS0x0004, (char *)"returns the next 'this' object"},
1798 {(char *)"__repr__",(PyCFunction)SwigPyObject_repr, METH_NOARGS0x0004, (char *)"returns object representation"},
1799 {0, 0, 0, 0}
1800};
1801#else
1802static PyMethodDef
1803swigobject_methods[] = {
1804 {(char *)"disown", (PyCFunction)SwigPyObject_disown, METH_VARARGS0x0001, (char *)"releases ownership of the pointer"},
1805 {(char *)"acquire", (PyCFunction)SwigPyObject_acquire, METH_VARARGS0x0001, (char *)"aquires ownership of the pointer"},
1806 {(char *)"own", (PyCFunction)SwigPyObject_own, METH_VARARGS0x0001, (char *)"returns/sets ownership of the pointer"},
1807 {(char *)"append", (PyCFunction)SwigPyObject_append, METH_VARARGS0x0001, (char *)"appends another 'this' object"},
1808 {(char *)"next", (PyCFunction)SwigPyObject_next, METH_VARARGS0x0001, (char *)"returns the next 'this' object"},
1809 {(char *)"__repr__",(PyCFunction)SwigPyObject_repr, METH_VARARGS0x0001, (char *)"returns object representation"},
1810 {0, 0, 0, 0}
1811};
1812#endif
1813
1814#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
< 0x02020000
1815SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *
1816SwigPyObject_getattr(SwigPyObject *sobj,char *name)
1817{
1818 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1819}
1820#endif
1821
1822SWIGRUNTIMEstatic __attribute__ ((__unused__)) PyTypeObject*
1823SwigPyObject_TypeOnce(void) {
1824 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1825
1826 static PyNumberMethods SwigPyObject_as_number = {
1827 (binaryfunc)0, /*nb_add*/
1828 (binaryfunc)0, /*nb_subtract*/
1829 (binaryfunc)0, /*nb_multiply*/
1830 /* nb_divide removed in Python 3 */
1831#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
< 0x03000000
1832 (binaryfunc)0, /*nb_divide*/
1833#endif
1834 (binaryfunc)0, /*nb_remainder*/
1835 (binaryfunc)0, /*nb_divmod*/
1836 (ternaryfunc)0,/*nb_power*/
1837 (unaryfunc)0, /*nb_negative*/
1838 (unaryfunc)0, /*nb_positive*/
1839 (unaryfunc)0, /*nb_absolute*/
1840 (inquiry)0, /*nb_nonzero*/
1841 0, /*nb_invert*/
1842 0, /*nb_lshift*/
1843 0, /*nb_rshift*/
1844 0, /*nb_and*/
1845 0, /*nb_xor*/
1846 0, /*nb_or*/
1847#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
< 0x03000000
1848 0, /*nb_coerce*/
1849#endif
1850 (unaryfunc)SwigPyObject_long, /*nb_int*/
1851#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
< 0x03000000
1852 (unaryfunc)SwigPyObject_long, /*nb_long*/
1853#else
1854 0, /*nb_reserved*/
1855#endif
1856 (unaryfunc)0, /*nb_float*/
1857#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
< 0x03000000
1858 (unaryfunc)SwigPyObject_oct, /*nb_oct*/
1859 (unaryfunc)SwigPyObject_hex, /*nb_hex*/
1860#endif
1861#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x03000000 /* 3.0 */
1862 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_index, nb_inplace_divide removed */
1863#elif PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x02050000 /* 2.5.0 */
1864 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_index */
1865#elif PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x02020000 /* 2.2.0 */
1866 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1867#elif PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x02000000 /* 2.0.0 */
1868 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1869#endif
1870 };
1871
1872 static PyTypeObject swigpyobject_type;
1873 static int type_init = 0;
1874 if (!type_init) {
1875 const PyTypeObject tmp = {
1876 /* PyObject header changed in Python 3 */
1877#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x03000000
1878 PyVarObject_HEAD_INIT(NULL, 0)1, __null, 0,
1879#else
1880 PyObject_HEAD_INIT(NULL)1, __null,
1881 0, /* ob_size */
1882#endif
1883 (char *)"SwigPyObject", /* tp_name */
1884 sizeof(SwigPyObject), /* tp_basicsize */
1885 0, /* tp_itemsize */
1886 (destructor)SwigPyObject_dealloc, /* tp_dealloc */
1887 0, /* tp_print */
1888#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
< 0x02020000
1889 (getattrfunc)SwigPyObject_getattr, /* tp_getattr */
1890#else
1891 (getattrfunc)0, /* tp_getattr */
1892#endif
1893 (setattrfunc)0, /* tp_setattr */
1894#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x03000000
1895 0, /* tp_reserved in 3.0.1, tp_compare in 3.0.0 but not used */
1896#else
1897 (cmpfunc)SwigPyObject_compare, /* tp_compare */
1898#endif
1899 (reprfunc)SwigPyObject_repr, /* tp_repr */
1900 &SwigPyObject_as_number, /* tp_as_number */
1901 0, /* tp_as_sequence */
1902 0, /* tp_as_mapping */
1903 (hashfunc)0, /* tp_hash */
1904 (ternaryfunc)0, /* tp_call */
1905 0, /* tp_str */
1906 PyObject_GenericGetAttr, /* tp_getattro */
1907 0, /* tp_setattro */
1908 0, /* tp_as_buffer */
1909 Py_TPFLAGS_DEFAULT( (1L<<0) | (1L<<1) | (1L<<3) | (1L<<
5) | (1L<<6) | (1L<<7) | (1L<<8) | 0 | (1L<<
17) | 0)
, /* tp_flags */
1910 swigobject_doc, /* tp_doc */
1911 0, /* tp_traverse */
1912 0, /* tp_clear */
1913 (richcmpfunc)SwigPyObject_richcompare,/* tp_richcompare */
1914 0, /* tp_weaklistoffset */
1915#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x02020000
1916 0, /* tp_iter */
1917 0, /* tp_iternext */
1918 swigobject_methods, /* tp_methods */
1919 0, /* tp_members */
1920 0, /* tp_getset */
1921 0, /* tp_base */
1922 0, /* tp_dict */
1923 0, /* tp_descr_get */
1924 0, /* tp_descr_set */
1925 0, /* tp_dictoffset */
1926 0, /* tp_init */
1927 0, /* tp_alloc */
1928 0, /* tp_new */
1929 0, /* tp_free */
1930 0, /* tp_is_gc */
1931 0, /* tp_bases */
1932 0, /* tp_mro */
1933 0, /* tp_cache */
1934 0, /* tp_subclasses */
1935 0, /* tp_weaklist */
1936#endif
1937#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x02030000
1938 0, /* tp_del */
1939#endif
1940#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x02060000
1941 0, /* tp_version */
1942#endif
1943#ifdef COUNT_ALLOCS
1944 0,0,0,0 /* tp_alloc -> tp_next */
1945#endif
1946 };
1947 swigpyobject_type = tmp;
1948 type_init = 1;
1949#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
< 0x02020000
1950 swigpyobject_type.ob_type = &PyType_Type;
1951#else
1952 if (PyType_Ready(&swigpyobject_type) < 0)
1953 return NULL__null;
1954#endif
1955 }
1956 return &swigpyobject_type;
1957}
1958
1959SWIGRUNTIMEstatic __attribute__ ((__unused__)) PyObject *
1960SwigPyObject_New(void *ptr, swig_type_info *ty, int own)
1961{
1962 SwigPyObject *sobj = PyObject_NEW(SwigPyObject, SwigPyObject_type())( (SwigPyObject *) PyObject_Init( (PyObject *) PyObject_Malloc
( ( (SwigPyObject_type())->tp_basicsize ) ), (SwigPyObject_type
())) )
;
1963 if (sobj) {
1964 sobj->ptr = ptr;
1965 sobj->ty = ty;
1966 sobj->own = own;
1967 sobj->next = 0;
1968 }
1969 return (PyObject *)sobj;
1970}
1971
1972/* -----------------------------------------------------------------------------
1973 * Implements a simple Swig Packed type, and use it instead of string
1974 * ----------------------------------------------------------------------------- */
1975
1976typedef struct {
1977 PyObject_HEADPy_ssize_t ob_refcnt; struct _typeobject *ob_type;
1978 void *pack;
1979 swig_type_info *ty;
1980 size_t size;
1981} SwigPyPacked;
1982
1983SWIGRUNTIMEstatic __attribute__ ((__unused__)) int
1984SwigPyPacked_print(SwigPyPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1985{
1986 char result[SWIG_BUFFER_SIZE1024];
1987 fputs("<Swig Packed ", fp);
1988 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1989 fputs("at ", fp);
1990 fputs(result, fp);
1991 }
1992 fputs(v->ty->name,fp);
1993 fputs(">", fp);
1994 return 0;
1995}
1996
1997SWIGRUNTIMEstatic __attribute__ ((__unused__)) PyObject *
1998SwigPyPacked_repr(SwigPyPacked *v)
1999{
2000 char result[SWIG_BUFFER_SIZE1024];
2001 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
2002 return SWIG_Python_str_FromFormatPyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
2003 } else {
2004 return SWIG_Python_str_FromFormatPyString_FromFormat("<Swig Packed %s>", v->ty->name);
2005 }
2006}
2007
2008SWIGRUNTIMEstatic __attribute__ ((__unused__)) PyObject *
2009SwigPyPacked_str(SwigPyPacked *v)
2010{
2011 char result[SWIG_BUFFER_SIZE1024];
2012 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
2013 return SWIG_Python_str_FromFormatPyString_FromFormat("%s%s", result, v->ty->name);
2014 } else {
2015 return SWIG_Python_str_FromChar(v->ty->name);
2016 }
2017}
2018
2019SWIGRUNTIMEstatic __attribute__ ((__unused__)) int
2020SwigPyPacked_compare(SwigPyPacked *v, SwigPyPacked *w)
2021{
2022 size_t i = v->size;
2023 size_t j = w->size;
2024 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
2025 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
2026}
2027
2028SWIGRUNTIMEstatic __attribute__ ((__unused__)) PyTypeObject* SwigPyPacked_TypeOnce(void);
2029
2030SWIGRUNTIMEstatic __attribute__ ((__unused__)) PyTypeObject*
2031SwigPyPacked_type(void) {
2032 static PyTypeObject *SWIG_STATIC_POINTER(type)type = SwigPyPacked_TypeOnce();
2033 return type;
2034}
2035
2036SWIGRUNTIMEINLINEstatic __attribute__ ((__unused__)) inline int
2037SwigPyPacked_Check(PyObject *op) {
2038 return ((op)->ob_type == SwigPyPacked_TypeOnce())
2039 || (strcmp((op)->ob_type->tp_name,"SwigPyPacked") == 0);
2040}
2041
2042SWIGRUNTIMEstatic __attribute__ ((__unused__)) void
2043SwigPyPacked_dealloc(PyObject *v)
2044{
2045 if (SwigPyPacked_Check(v)) {
2046 SwigPyPacked *sobj = (SwigPyPacked *) v;
2047 free(sobj->pack);
2048 }
2049 PyObject_DELPyObject_Free(v);
2050}
2051
2052SWIGRUNTIMEstatic __attribute__ ((__unused__)) PyTypeObject*
2053SwigPyPacked_TypeOnce(void) {
2054 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
2055 static PyTypeObject swigpypacked_type;
2056 static int type_init = 0;
2057 if (!type_init) {
2058 const PyTypeObject tmp = {
2059 /* PyObject header changed in Python 3 */
2060#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>=0x03000000
2061 PyVarObject_HEAD_INIT(NULL, 0)1, __null, 0,
2062#else
2063 PyObject_HEAD_INIT(NULL)1, __null,
2064 0, /* ob_size */
2065#endif
2066 (char *)"SwigPyPacked", /* tp_name */
2067 sizeof(SwigPyPacked), /* tp_basicsize */
2068 0, /* tp_itemsize */
2069 (destructor)SwigPyPacked_dealloc, /* tp_dealloc */
2070 (printfunc)SwigPyPacked_print, /* tp_print */
2071 (getattrfunc)0, /* tp_getattr */
2072 (setattrfunc)0, /* tp_setattr */
2073#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>=0x03000000
2074 0, /* tp_reserved in 3.0.1 */
2075#else
2076 (cmpfunc)SwigPyPacked_compare, /* tp_compare */
2077#endif
2078 (reprfunc)SwigPyPacked_repr, /* tp_repr */
2079 0, /* tp_as_number */
2080 0, /* tp_as_sequence */
2081 0, /* tp_as_mapping */
2082 (hashfunc)0, /* tp_hash */
2083 (ternaryfunc)0, /* tp_call */
2084 (reprfunc)SwigPyPacked_str, /* tp_str */
2085 PyObject_GenericGetAttr, /* tp_getattro */
2086 0, /* tp_setattro */
2087 0, /* tp_as_buffer */
2088 Py_TPFLAGS_DEFAULT( (1L<<0) | (1L<<1) | (1L<<3) | (1L<<
5) | (1L<<6) | (1L<<7) | (1L<<8) | 0 | (1L<<
17) | 0)
, /* tp_flags */
2089 swigpacked_doc, /* tp_doc */
2090 0, /* tp_traverse */
2091 0, /* tp_clear */
2092 0, /* tp_richcompare */
2093 0, /* tp_weaklistoffset */
2094#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x02020000
2095 0, /* tp_iter */
2096 0, /* tp_iternext */
2097 0, /* tp_methods */
2098 0, /* tp_members */
2099 0, /* tp_getset */
2100 0, /* tp_base */
2101 0, /* tp_dict */
2102 0, /* tp_descr_get */
2103 0, /* tp_descr_set */
2104 0, /* tp_dictoffset */
2105 0, /* tp_init */
2106 0, /* tp_alloc */
2107 0, /* tp_new */
2108 0, /* tp_free */
2109 0, /* tp_is_gc */
2110 0, /* tp_bases */
2111 0, /* tp_mro */
2112 0, /* tp_cache */
2113 0, /* tp_subclasses */
2114 0, /* tp_weaklist */
2115#endif
2116#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x02030000
2117 0, /* tp_del */
2118#endif
2119#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x02060000
2120 0, /* tp_version */
2121#endif
2122#ifdef COUNT_ALLOCS
2123 0,0,0,0 /* tp_alloc -> tp_next */
2124#endif
2125 };
2126 swigpypacked_type = tmp;
2127 type_init = 1;
2128#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
< 0x02020000
2129 swigpypacked_type.ob_type = &PyType_Type;
2130#else
2131 if (PyType_Ready(&swigpypacked_type) < 0)
2132 return NULL__null;
2133#endif
2134 }
2135 return &swigpypacked_type;
2136}
2137
2138SWIGRUNTIMEstatic __attribute__ ((__unused__)) PyObject *
2139SwigPyPacked_New(void *ptr, size_t size, swig_type_info *ty)
2140{
2141 SwigPyPacked *sobj = PyObject_NEW(SwigPyPacked, SwigPyPacked_type())( (SwigPyPacked *) PyObject_Init( (PyObject *) PyObject_Malloc
( ( (SwigPyPacked_type())->tp_basicsize ) ), (SwigPyPacked_type
())) )
;
2142 if (sobj) {
2143 void *pack = malloc(size);
2144 if (pack) {
2145 memcpy(pack, ptr, size);
2146 sobj->pack = pack;
2147 sobj->ty = ty;
2148 sobj->size = size;
2149 } else {
2150 PyObject_DELPyObject_Free((PyObject *) sobj);
2151 sobj = 0;
2152 }
2153 }
2154 return (PyObject *) sobj;
2155}
2156
2157SWIGRUNTIMEstatic __attribute__ ((__unused__)) swig_type_info *
2158SwigPyPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
2159{
2160 if (SwigPyPacked_Check(obj)) {
2161 SwigPyPacked *sobj = (SwigPyPacked *)obj;
2162 if (sobj->size != size) return 0;
2163 memcpy(ptr, sobj->pack, size);
2164 return sobj->ty;
2165 } else {
2166 return 0;
2167 }
2168}
2169
2170/* -----------------------------------------------------------------------------
2171 * pointers/data manipulation
2172 * ----------------------------------------------------------------------------- */
2173
2174SWIGRUNTIMEINLINEstatic __attribute__ ((__unused__)) inline PyObject *
2175_SWIG_This(void)
2176{
2177 return SWIG_Python_str_FromChar("this");
2178}
2179
2180static PyObject *swig_this = NULL__null;
2181
2182SWIGRUNTIMEstatic __attribute__ ((__unused__)) PyObject *
2183SWIG_This(void)
2184{
2185 if (swig_this == NULL__null)
2186 swig_this = _SWIG_This();
2187 return swig_this;
2188}
2189
2190/* #define SWIG_PYTHON_SLOW_GETSET_THIS */
2191
2192/* TODO: I don't know how to implement the fast getset in Python 3 right now */
2193#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>=0x03000000
2194#define SWIG_PYTHON_SLOW_GETSET_THIS
2195#endif
2196
2197SWIGRUNTIMEstatic __attribute__ ((__unused__)) SwigPyObject *
2198SWIG_Python_GetSwigThis(PyObject *pyobj)
2199{
2200 PyObject *obj;
2201
2202 if (SwigPyObject_Check(pyobj))
2203 return (SwigPyObject *) pyobj;
2204
2205#ifdef SWIGPYTHON_BUILTIN
2206 (void)obj;
2207# ifdef PyWeakref_CheckProxy
2208 if (PyWeakref_CheckProxy(pyobj)(((((PyObject*)(pyobj))->ob_type) == &_PyWeakref_ProxyType
) || ((((PyObject*)(pyobj))->ob_type) == &_PyWeakref_CallableProxyType
))
) {
2209 pyobj = PyWeakref_GET_OBJECT(pyobj)((((PyObject*)(((PyWeakReference *)(pyobj))->wr_object))->
ob_refcnt) > 0 ? ((PyWeakReference *)(pyobj))->wr_object
: (&_Py_NoneStruct))
;
2210 if (pyobj && SwigPyObject_Check(pyobj))
2211 return (SwigPyObject*) pyobj;
2212 }
2213# endif
2214 return NULL__null;
2215#else
2216
2217 obj = 0;
2218
2219#if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x02030000))
2220 if (PyInstance_Check(pyobj)((pyobj)->ob_type == &PyInstance_Type)) {
2221 obj = _PyInstance_Lookup(pyobj, SWIG_This());
2222 } else {
2223 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
2224 if (dictptr != NULL__null) {
2225 PyObject *dict = *dictptr;
2226 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
2227 } else {
2228#ifdef PyWeakref_CheckProxy
2229 if (PyWeakref_CheckProxy(pyobj)(((((PyObject*)(pyobj))->ob_type) == &_PyWeakref_ProxyType
) || ((((PyObject*)(pyobj))->ob_type) == &_PyWeakref_CallableProxyType
))
) {
2230 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj)((((PyObject*)(((PyWeakReference *)(pyobj))->wr_object))->
ob_refcnt) > 0 ? ((PyWeakReference *)(pyobj))->wr_object
: (&_Py_NoneStruct))
;
2231 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
2232 }
2233#endif
2234 obj = PyObject_GetAttr(pyobj,SWIG_This());
2235 if (obj) {
2236 Py_DECREF(obj)do { if ( --((PyObject*)(obj))->ob_refcnt != 0) ; else ( (
*(((PyObject*)((PyObject *)(obj)))->ob_type)->tp_dealloc
)((PyObject *)((PyObject *)(obj)))); } while (0)
;
2237 } else {
2238 if (PyErr_Occurred()) PyErr_Clear();
2239 return 0;
2240 }
2241 }
2242 }
2243#else
2244 obj = PyObject_GetAttr(pyobj,SWIG_This());
2245 if (obj) {
2246 Py_DECREF(obj)do { if ( --((PyObject*)(obj))->ob_refcnt != 0) ; else ( (
*(((PyObject*)((PyObject *)(obj)))->ob_type)->tp_dealloc
)((PyObject *)((PyObject *)(obj)))); } while (0)
;
2247 } else {
2248 if (PyErr_Occurred()) PyErr_Clear();
2249 return 0;
2250 }
2251#endif
2252 if (obj && !SwigPyObject_Check(obj)) {
2253 /* a PyObject is called 'this', try to get the 'real this'
2254 SwigPyObject from it */
2255 return SWIG_Python_GetSwigThis(obj);
2256 }
2257 return (SwigPyObject *)obj;
2258#endif
2259}
2260
2261/* Acquire a pointer value */
2262
2263SWIGRUNTIMEstatic __attribute__ ((__unused__)) int
2264SWIG_Python_AcquirePtr(PyObject *obj, int own) {
2265 if (own == SWIG_POINTER_OWN0x1) {
2266 SwigPyObject *sobj = SWIG_Python_GetSwigThis(obj);
2267 if (sobj) {
2268 int oldown = sobj->own;
2269 sobj->own = own;
2270 return oldown;
2271 }
2272 }
2273 return 0;
2274}
2275
2276/* Convert a pointer value */
2277
2278SWIGRUNTIMEstatic __attribute__ ((__unused__)) int
2279SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
2280 int res;
2281 SwigPyObject *sobj;
2282 int implicit_conv = (flags & SWIG_POINTER_IMPLICIT_CONV(0x1 << 1)) != 0;
2283
2284 if (!obj)
2285 return SWIG_ERROR(-1);
2286 if (obj == Py_None(&_Py_NoneStruct) && !implicit_conv) {
2287 if (ptr)
2288 *ptr = 0;
2289 return SWIG_OK(0);
2290 }
2291
2292 res = SWIG_ERROR(-1);
2293
2294 sobj = SWIG_Python_GetSwigThis(obj);
2295 if (own)
2296 *own = 0;
2297 while (sobj) {
2298 void *vptr = sobj->ptr;
2299 if (ty) {
2300 swig_type_info *to = sobj->ty;
2301 if (to == ty) {
2302 /* no type cast needed */
2303 if (ptr) *ptr = vptr;
2304 break;
2305 } else {
2306 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2307 if (!tc) {
2308 sobj = (SwigPyObject *)sobj->next;
2309 } else {
2310 if (ptr) {
2311 int newmemory = 0;
2312 *ptr = SWIG_TypeCast(tc,vptr,&newmemory);
2313 if (newmemory == SWIG_CAST_NEW_MEMORY0x2) {
2314 assert(own)((void)0); /* badly formed typemap which will lead to a memory leak - it must set and use own to delete *ptr */
2315 if (own)
2316 *own = *own | SWIG_CAST_NEW_MEMORY0x2;
2317 }
2318 }
2319 break;
2320 }
2321 }
2322 } else {
2323 if (ptr) *ptr = vptr;
2324 break;
2325 }
2326 }
2327 if (sobj) {
2328 if (own)
2329 *own = *own | sobj->own;
2330 if (flags & SWIG_POINTER_DISOWN0x1) {
2331 sobj->own = 0;
2332 }
2333 res = SWIG_OK(0);
2334 } else {
2335 if (implicit_conv) {
2336 SwigPyClientData *data = ty ? (SwigPyClientData *) ty->clientdata : 0;
2337 if (data && !data->implicitconv) {
2338 PyObject *klass = data->klass;
2339 if (klass) {
2340 PyObject *impconv;
2341 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2342 impconv = SWIG_Python_CallFunctor(klass, obj)PyObject_CallFunctionObjArgs(klass, obj, __null);;
2343 data->implicitconv = 0;
2344 if (PyErr_Occurred()) {
2345 PyErr_Clear();
2346 impconv = 0;
2347 }
2348 if (impconv) {
2349 SwigPyObject *iobj = SWIG_Python_GetSwigThis(impconv);
2350 if (iobj) {
2351 void *vptr;
2352 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2353 if (SWIG_IsOK(res)(res >= 0)) {
2354 if (ptr) {
2355 *ptr = vptr;
2356 /* transfer the ownership to 'ptr' */
2357 iobj->own = 0;
2358 res = SWIG_AddCast(res)(res);
2359 res = SWIG_AddNewMask(res)((res >= 0) ? (res | ((1 << 8) << 1)) : res);
2360 } else {
2361 res = SWIG_AddCast(res)(res);
2362 }
2363 }
2364 }
2365 Py_DECREF(impconv)do { if ( --((PyObject*)(impconv))->ob_refcnt != 0) ; else
( (*(((PyObject*)((PyObject *)(impconv)))->ob_type)->tp_dealloc
)((PyObject *)((PyObject *)(impconv)))); } while (0)
;
2366 }
2367 }
2368 }
2369 }
2370 if (!SWIG_IsOK(res)(res >= 0) && obj == Py_None(&_Py_NoneStruct)) {
2371 if (ptr)
2372 *ptr = 0;
2373 if (PyErr_Occurred())
2374 PyErr_Clear();
2375 res = SWIG_OK(0);
2376 }
2377 }
2378 return res;
2379}
2380
2381/* Convert a function ptr value */
2382
2383SWIGRUNTIMEstatic __attribute__ ((__unused__)) int
2384SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2385 if (!PyCFunction_Check(obj)((((PyObject*)(obj))->ob_type) == &PyCFunction_Type)) {
2386 return SWIG_ConvertPtr(obj, ptr, ty, 0)SWIG_Python_ConvertPtrAndOwn(obj, ptr, ty, 0, 0);
2387 } else {
2388 void *vptr = 0;
2389
2390 /* here we get the method pointer for callbacks */
2391 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2392 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2393 if (desc)
2394 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2395 if (!desc)
2396 return SWIG_ERROR(-1);
2397 if (ty) {
2398 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2399 if (tc) {
2400 int newmemory = 0;
2401 *ptr = SWIG_TypeCast(tc,vptr,&newmemory);
2402 assert(!newmemory)((void)0); /* newmemory handling not yet implemented */
2403 } else {
2404 return SWIG_ERROR(-1);
2405 }
2406 } else {
2407 *ptr = vptr;
2408 }
2409 return SWIG_OK(0);
2410 }
2411}
2412
2413/* Convert a packed value value */
2414
2415SWIGRUNTIMEstatic __attribute__ ((__unused__)) int
2416SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2417 swig_type_info *to = SwigPyPacked_UnpackData(obj, ptr, sz);
2418 if (!to) return SWIG_ERROR(-1);
2419 if (ty) {
2420 if (to != ty) {
2421 /* check type cast? */
2422 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2423 if (!tc) return SWIG_ERROR(-1);
2424 }
2425 }
2426 return SWIG_OK(0);
2427}
2428
2429/* -----------------------------------------------------------------------------
2430 * Create a new pointer object
2431 * ----------------------------------------------------------------------------- */
2432
2433/*
2434 Create a new instance object, without calling __init__, and set the
2435 'this' attribute.
2436*/
2437
2438SWIGRUNTIMEstatic __attribute__ ((__unused__)) PyObject*
2439SWIG_Python_NewShadowInstance(SwigPyClientData *data, PyObject *swig_this)
2440{
2441#if (PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x02020000)
2442 PyObject *inst = 0;
2443 PyObject *newraw = data->newraw;
2444 if (newraw) {
2445 inst = PyObject_Call(newraw, data->newargs, NULL__null);
2446 if (inst) {
2447#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2448 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2449 if (dictptr != NULL__null) {
2450 PyObject *dict = *dictptr;
2451 if (dict == NULL__null) {
2452 dict = PyDict_New();
2453 *dictptr = dict;
2454 PyDict_SetItem(dict, SWIG_This(), swig_this);
2455 }
2456 }
2457#else
2458 PyObject *key = SWIG_This();
2459 PyObject_SetAttr(inst, key, swig_this);
2460#endif
2461 }
2462 } else {
2463#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x03000000
2464 inst = PyBaseObject_Type.tp_new((PyTypeObject*) data->newargs, Py_None(&_Py_NoneStruct), Py_None(&_Py_NoneStruct));
2465 if (inst) {
2466 PyObject_SetAttr(inst, SWIG_This(), swig_this);
2467 Py_TYPE(inst)(((PyObject*)(inst))->ob_type)->tp_flags &= ~Py_TPFLAGS_VALID_VERSION_TAG(1L<<19);
2468 }
2469#else
2470 PyObject *dict = PyDict_New();
2471 if (dict) {
2472 PyDict_SetItem(dict, SWIG_This(), swig_this);
2473 inst = PyInstance_NewRaw(data->newargs, dict);
2474 Py_DECREF(dict)do { if ( --((PyObject*)(dict))->ob_refcnt != 0) ; else ( (
*(((PyObject*)((PyObject *)(dict)))->ob_type)->tp_dealloc
)((PyObject *)((PyObject *)(dict)))); } while (0)
;
2475 }
2476#endif
2477 }
2478 return inst;
2479#else
2480#if (PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x02010000)
2481 PyObject *inst = 0;
2482 PyObject *dict = PyDict_New();
2483 if (dict) {
2484 PyDict_SetItem(dict, SWIG_This(), swig_this);
2485 inst = PyInstance_NewRaw(data->newargs, dict);
2486 Py_DECREF(dict)do { if ( --((PyObject*)(dict))->ob_refcnt != 0) ; else ( (
*(((PyObject*)((PyObject *)(dict)))->ob_type)->tp_dealloc
)((PyObject *)((PyObject *)(dict)))); } while (0)
;
2487 }
2488 return (PyObject *) inst;
2489#else
2490 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type)( (PyInstanceObject *) PyObject_Init( (PyObject *) PyObject_Malloc
( ( (&PyInstance_Type)->tp_basicsize ) ), (&PyInstance_Type
)) )
;
2491 if (inst == NULL__null) {
2492 return NULL__null;
2493 }
2494 inst->in_class = (PyClassObject *)data->newargs;
2495 Py_INCREF(inst->in_class)( ((PyObject*)(inst->in_class))->ob_refcnt++);
2496 inst->in_dict = PyDict_New();
2497 if (inst->in_dict == NULL__null) {
2498 Py_DECREF(inst)do { if ( --((PyObject*)(inst))->ob_refcnt != 0) ; else ( (
*(((PyObject*)((PyObject *)(inst)))->ob_type)->tp_dealloc
)((PyObject *)((PyObject *)(inst)))); } while (0)
;
2499 return NULL__null;
2500 }
2501#ifdef Py_TPFLAGS_HAVE_WEAKREFS(1L<<6)
2502 inst->in_weakreflist = NULL__null;
2503#endif
2504#ifdef Py_TPFLAGS_GC0
2505 PyObject_GC_Init(inst);
2506#endif
2507 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2508 return (PyObject *) inst;
2509#endif
2510#endif
2511}
2512
2513SWIGRUNTIMEstatic __attribute__ ((__unused__)) void
2514SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2515{
2516 PyObject *dict;
2517#if (PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2518 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2519 if (dictptr != NULL__null) {
2520 dict = *dictptr;
2521 if (dict == NULL__null) {
2522 dict = PyDict_New();
2523 *dictptr = dict;
2524 }
2525 PyDict_SetItem(dict, SWIG_This(), swig_this);
2526 return;
2527 }
2528#endif
2529 dict = PyObject_GetAttrString(inst, (char*)"__dict__");
2530 PyDict_SetItem(dict, SWIG_This(), swig_this);
2531 Py_DECREF(dict)do { if ( --((PyObject*)(dict))->ob_refcnt != 0) ; else ( (
*(((PyObject*)((PyObject *)(dict)))->ob_type)->tp_dealloc
)((PyObject *)((PyObject *)(dict)))); } while (0)
;
2532}
2533
2534
2535SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *
2536SWIG_Python_InitShadowInstance(PyObject *args) {
2537 PyObject *obj[2];
2538 if (!SWIG_Python_UnpackTuple(args, "swiginit", 2, 2, obj)) {
2539 return NULL__null;
2540 } else {
2541 SwigPyObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2542 if (sthis) {
2543 SwigPyObject_append((PyObject*) sthis, obj[1]);
2544 } else {
2545 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2546 }
2547 return SWIG_Py_Void();
2548 }
2549}
2550
2551/* Create a new pointer object */
2552
2553SWIGRUNTIMEstatic __attribute__ ((__unused__)) PyObject *
2554SWIG_Python_NewPointerObj(PyObject *self, void *ptr, swig_type_info *type, int flags) {
2555 SwigPyClientData *clientdata;
2556 PyObject * robj;
2557 int own;
2558
2559 if (!ptr)
2560 return SWIG_Py_Void();
2561
2562 clientdata = type ? (SwigPyClientData *)(type->clientdata) : 0;
2563 own = (flags & SWIG_POINTER_OWN0x1) ? SWIG_POINTER_OWN0x1 : 0;
2564 if (clientdata && clientdata->pytype) {
2565 SwigPyObject *newobj;
2566 if (flags & SWIG_BUILTIN_TP_INIT(0x1 << 2)) {
2567 newobj = (SwigPyObject*) self;
2568 if (newobj->ptr) {
2569 PyObject *next_self = clientdata->pytype->tp_alloc(clientdata->pytype, 0);
2570 while (newobj->next)
2571 newobj = (SwigPyObject *) newobj->next;
2572 newobj->next = next_self;
2573 newobj = (SwigPyObject *)next_self;
2574 }
2575 } else {
2576 newobj = PyObject_New(SwigPyObject, clientdata->pytype)( (SwigPyObject *) _PyObject_New(clientdata->pytype) );
2577 }
2578 if (newobj) {
2579 newobj->ptr = ptr;
2580 newobj->ty = type;
2581 newobj->own = own;
2582 newobj->next = 0;
2583#ifdef SWIGPYTHON_BUILTIN
2584 newobj->dict = 0;
2585#endif
2586 return (PyObject*) newobj;
2587 }
2588 return SWIG_Py_Void();
2589 }
2590
2591 assert(!(flags & SWIG_BUILTIN_TP_INIT))((void)0);
2592
2593 robj = SwigPyObject_New(ptr, type, own);
2594 if (robj && clientdata && !(flags & SWIG_POINTER_NOSHADOW(0x1 << 1))) {
2595 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2596 Py_DECREF(robj)do { if ( --((PyObject*)(robj))->ob_refcnt != 0) ; else ( (
*(((PyObject*)((PyObject *)(robj)))->ob_type)->tp_dealloc
)((PyObject *)((PyObject *)(robj)))); } while (0)
;
2597 robj = inst;
2598 }
2599 return robj;
2600}
2601
2602/* Create a new packed object */
2603
2604SWIGRUNTIMEINLINEstatic __attribute__ ((__unused__)) inline PyObject *
2605SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2606 return ptr ? SwigPyPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2607}
2608
2609/* -----------------------------------------------------------------------------*
2610 * Get type list
2611 * -----------------------------------------------------------------------------*/
2612
2613#ifdef SWIG_LINK_RUNTIME
2614void *SWIG_ReturnGlobalTypeList(void *);
2615#endif
2616
2617SWIGRUNTIMEstatic __attribute__ ((__unused__)) swig_module_info *
2618SWIG_Python_GetModule(void *SWIGUNUSEDPARM(clientdata)) {
2619 static void *type_pointer = (void *)0;
2620 /* first check if module already created */
2621 if (!type_pointer) {
2622#ifdef SWIG_LINK_RUNTIME
2623 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2624#else
2625# ifdef SWIGPY_USE_CAPSULE
2626 type_pointer = PyCapsule_Import(SWIGPY_CAPSULE_NAME((char*)"swig_runtime_data" "4" ".type_pointer_capsule" ), 0);
2627# else
2628 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION"4",
2629 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2630# endif
2631 if (PyErr_Occurred()) {
2632 PyErr_Clear();
2633 type_pointer = (void *)0;
2634 }
2635#endif
2636 }
2637 return (swig_module_info *) type_pointer;
2638}
2639
2640#if PY_MAJOR_VERSION2 < 2
2641/* PyModule_AddObject function was introduced in Python 2.0. The following function
2642 is copied out of Python/modsupport.c in python version 2.3.4 */
2643SWIGINTERNstatic __attribute__ ((__unused__)) int
2644PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2645{
2646 PyObject *dict;
2647 if (!PyModule_Check(m)((((PyObject*)(m))->ob_type) == (&PyModule_Type) || PyType_IsSubtype
((((PyObject*)(m))->ob_type), (&PyModule_Type)))
) {
2648 PyErr_SetString(PyExc_TypeError,
2649 "PyModule_AddObject() needs module as first arg");
2650 return SWIG_ERROR(-1);
2651 }
2652 if (!o) {
2653 PyErr_SetString(PyExc_TypeError,
2654 "PyModule_AddObject() needs non-NULL value");
2655 return SWIG_ERROR(-1);
2656 }
2657
2658 dict = PyModule_GetDict(m);
2659 if (dict == NULL__null) {
2660 /* Internal error -- modules must have a dict! */
2661 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2662 PyModule_GetName(m));
2663 return SWIG_ERROR(-1);
2664 }
2665 if (PyDict_SetItemString(dict, name, o))
2666 return SWIG_ERROR(-1);
2667 Py_DECREF(o)do { if ( --((PyObject*)(o))->ob_refcnt != 0) ; else ( (*(
((PyObject*)((PyObject *)(o)))->ob_type)->tp_dealloc)((
PyObject *)((PyObject *)(o)))); } while (0)
;
2668 return SWIG_OK(0);
2669}
2670#endif
2671
2672SWIGRUNTIMEstatic __attribute__ ((__unused__)) void
2673#ifdef SWIGPY_USE_CAPSULE
2674SWIG_Python_DestroyModule(PyObject *obj)
2675#else
2676SWIG_Python_DestroyModule(void *vptr)
2677#endif
2678{
2679#ifdef SWIGPY_USE_CAPSULE
2680 swig_module_info *swig_module = (swig_module_info *) PyCapsule_GetPointer(obj, SWIGPY_CAPSULE_NAME((char*)"swig_runtime_data" "4" ".type_pointer_capsule" ));
2681#else
2682 swig_module_info *swig_module = (swig_module_info *) vptr;
2683#endif
2684 swig_type_info **types = swig_module->types;
2685 size_t i;
2686 for (i =0; i < swig_module->size; ++i) {
2687 swig_type_info *ty = types[i];
2688 if (ty->owndata) {
2689 SwigPyClientData *data = (SwigPyClientData *) ty->clientdata;
2690 if (data) SwigPyClientData_Del(data);
2691 }
2692 }
2693 Py_DECREF(SWIG_This())do { if ( --((PyObject*)(SWIG_This()))->ob_refcnt != 0) ; else
( (*(((PyObject*)((PyObject *)(SWIG_This())))->ob_type)->
tp_dealloc)((PyObject *)((PyObject *)(SWIG_This())))); } while
(0)
;
2694 swig_this = NULL__null;
2695}
2696
2697SWIGRUNTIMEstatic __attribute__ ((__unused__)) void
2698SWIG_Python_SetModule(swig_module_info *swig_module) {
2699#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x03000000
2700 /* Add a dummy module object into sys.modules */
2701 PyObject *module = PyImport_AddModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION"4");
2702#else
2703 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL__null, NULL__null, 0, NULL__null} }; /* Sentinel */
2704 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, swig_empty_runtime_method_table)Py_InitModule4_64((char*)"swig_runtime_data" "4", swig_empty_runtime_method_table
, (char *)__null, (PyObject *)__null, 1013)
;
2705#endif
2706#ifdef SWIGPY_USE_CAPSULE
2707 PyObject *pointer = PyCapsule_New((void *) swig_module, SWIGPY_CAPSULE_NAME((char*)"swig_runtime_data" "4" ".type_pointer_capsule" ), SWIG_Python_DestroyModule);
2708 if (pointer && module) {
2709 PyModule_AddObject(module, (char*)"type_pointer_capsule" SWIG_TYPE_TABLE_NAME, pointer);
2710 } else {
2711 Py_XDECREF(pointer)do { if ((pointer) == __null) ; else do { if ( --((PyObject*)
(pointer))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject
*)(pointer)))->ob_type)->tp_dealloc)((PyObject *)((PyObject
*)(pointer)))); } while (0); } while (0)
;
2712 }
2713#else
2714 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2715 if (pointer && module) {
2716 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2717 } else {
2718 Py_XDECREF(pointer)do { if ((pointer) == __null) ; else do { if ( --((PyObject*)
(pointer))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject
*)(pointer)))->ob_type)->tp_dealloc)((PyObject *)((PyObject
*)(pointer)))); } while (0); } while (0)
;
2719 }
2720#endif
2721}
2722
2723/* The python cached type query */
2724SWIGRUNTIMEstatic __attribute__ ((__unused__)) PyObject *
2725SWIG_Python_TypeCache(void) {
2726 static PyObject *SWIG_STATIC_POINTER(cache)cache = PyDict_New();
2727 return cache;
2728}
2729
2730SWIGRUNTIMEstatic __attribute__ ((__unused__)) swig_type_info *
2731SWIG_Python_TypeQuery(const char *type)
2732{
2733 PyObject *cache = SWIG_Python_TypeCache();
2734 PyObject *key = SWIG_Python_str_FromChar(type);
2735 PyObject *obj = PyDict_GetItem(cache, key);
2736 swig_type_info *descriptor;
2737 if (obj) {
2738#ifdef SWIGPY_USE_CAPSULE
2739 descriptor = (swig_type_info *) PyCapsule_GetPointer(obj, NULL__null);
2740#else
2741 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2742#endif
2743 } else {
2744 swig_module_info *swig_module = SWIG_GetModule(0)SWIG_Python_GetModule(0);
2745 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2746 if (descriptor) {
2747#ifdef SWIGPY_USE_CAPSULE
2748 obj = PyCapsule_New((void*) descriptor, NULL__null, NULL__null);
2749#else
2750 obj = PyCObject_FromVoidPtr(descriptor, NULL__null);
2751#endif
2752 PyDict_SetItem(cache, key, obj);
2753 Py_DECREF(obj)do { if ( --((PyObject*)(obj))->ob_refcnt != 0) ; else ( (
*(((PyObject*)((PyObject *)(obj)))->ob_type)->tp_dealloc
)((PyObject *)((PyObject *)(obj)))); } while (0)
;
2754 }
2755 }
2756 Py_DECREF(key)do { if ( --((PyObject*)(key))->ob_refcnt != 0) ; else ( (
*(((PyObject*)((PyObject *)(key)))->ob_type)->tp_dealloc
)((PyObject *)((PyObject *)(key)))); } while (0)
;
2757 return descriptor;
2758}
2759
2760/*
2761 For backward compatibility only
2762*/
2763#define SWIG_POINTER_EXCEPTION0 0
2764#define SWIG_arg_fail(arg)SWIG_Python_ArgFail(arg) SWIG_Python_ArgFail(arg)
2765#define SWIG_MustGetPtr(p, type, argnum, flags)SWIG_Python_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2766
2767SWIGRUNTIMEstatic __attribute__ ((__unused__)) int
2768SWIG_Python_AddErrMesg(const char* mesg, int infront)
2769{
2770 if (PyErr_Occurred()) {
2771 PyObject *type = 0;
2772 PyObject *value = 0;
2773 PyObject *traceback = 0;
2774 PyErr_Fetch(&type, &value, &traceback);
2775 if (value) {
2776 char *tmp;
2777 PyObject *old_str = PyObject_Str(value);
2778 Py_XINCREF(type)do { if ((type) == __null) ; else ( ((PyObject*)(type))->ob_refcnt
++); } while (0)
;
2779 PyErr_Clear();
2780 if (infront) {
2781 PyErr_Format(type, "%s %s", mesg, tmp = SWIG_Python_str_AsChar(old_str));
2782 } else {
2783 PyErr_Format(type, "%s %s", tmp = SWIG_Python_str_AsChar(old_str), mesg);
2784 }
2785 SWIG_Python_str_DelForPy3(tmp);
2786 Py_DECREF(old_str)do { if ( --((PyObject*)(old_str))->ob_refcnt != 0) ; else
( (*(((PyObject*)((PyObject *)(old_str)))->ob_type)->tp_dealloc
)((PyObject *)((PyObject *)(old_str)))); } while (0)
;
2787 }
2788 return 1;
2789 } else {
2790 return 0;
2791 }
2792}
2793
2794SWIGRUNTIMEstatic __attribute__ ((__unused__)) int
2795SWIG_Python_ArgFail(int argnum)
2796{
2797 if (PyErr_Occurred()) {
2798 /* add information about failing argument */
2799 char mesg[256];
2800 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2801 return SWIG_Python_AddErrMesg(mesg, 1);
2802 } else {
2803 return 0;
2804 }
2805}
2806
2807SWIGRUNTIMEINLINEstatic __attribute__ ((__unused__)) inline const char *
2808SwigPyObject_GetDesc(PyObject *self)
2809{
2810 SwigPyObject *v = (SwigPyObject *)self;
2811 swig_type_info *ty = v ? v->ty : 0;
2812 return ty ? ty->str : "";
2813}
2814
2815SWIGRUNTIMEstatic __attribute__ ((__unused__)) void
2816SWIG_Python_TypeError(const char *type, PyObject *obj)
2817{
2818 if (type) {
2819#if defined(SWIG_COBJECT_TYPES)
2820 if (obj && SwigPyObject_Check(obj)) {
2821 const char *otype = (const char *) SwigPyObject_GetDesc(obj);
2822 if (otype) {
2823 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'SwigPyObject(%s)' is received",
2824 type, otype);
2825 return;
2826 }
2827 } else
2828#endif
2829 {
2830 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2831 if (otype) {
2832 PyObject *str = PyObject_Str(obj);
2833 const char *cstr = str ? SWIG_Python_str_AsChar(str) : 0;
2834 if (cstr) {
2835 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2836 type, otype, cstr);
2837 SWIG_Python_str_DelForPy3(cstr);
2838 } else {
2839 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2840 type, otype);
2841 }
2842 Py_XDECREF(str)do { if ((str) == __null) ; else do { if ( --((PyObject*)(str
))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(
str)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *)
(str)))); } while (0); } while (0)
;
2843 return;
2844 }
2845 }
2846 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2847 } else {
2848 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2849 }
2850}
2851
2852
2853/* Convert a pointer value, signal an exception on a type mismatch */
2854SWIGRUNTIMEstatic __attribute__ ((__unused__)) void *
2855SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int SWIGUNUSEDPARM(argnum), int flags) {
2856 void *result;
2857 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags)SWIG_Python_ConvertPtrAndOwn(obj, &result, ty, flags, 0) == -1) {
2858 PyErr_Clear();
2859#if SWIG_POINTER_EXCEPTION0
2860 if (flags) {
2861 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2862 SWIG_Python_ArgFail(argnum);
2863 }
2864#endif
2865 }
2866 return result;
2867}
2868
2869#ifdef SWIGPYTHON_BUILTIN
2870SWIGRUNTIMEstatic __attribute__ ((__unused__)) int
2871SWIG_Python_NonDynamicSetAttr(PyObject *obj, PyObject *name, PyObject *value) {
2872 PyTypeObject *tp = obj->ob_type;
2873 PyObject *descr;
2874 PyObject *encoded_name;
2875 descrsetfunc f;
2876 int res = -1;
2877
2878# ifdef Py_USING_UNICODE1
2879 if (PyString_Check(name)((((((PyObject*)(name))->ob_type))->tp_flags & ((1L
<<27))) != 0)
) {
2880 name = PyUnicode_DecodePyUnicodeUCS2_Decode(PyString_AsString(name), PyString_Size(name), NULL__null, NULL__null);
2881 if (!name)
2882 return -1;
2883 } else if (!PyUnicode_Check(name)((((((PyObject*)(name))->ob_type))->tp_flags & ((1L
<<28))) != 0)
)
2884# else
2885 if (!PyString_Check(name)((((((PyObject*)(name))->ob_type))->tp_flags & ((1L
<<27))) != 0)
)
2886# endif
2887 {
2888 PyErr_Format(PyExc_TypeError, "attribute name must be string, not '%.200s'", name->ob_type->tp_name);
2889 return -1;
2890 } else {
2891 Py_INCREF(name)( ((PyObject*)(name))->ob_refcnt++);
2892 }
2893
2894 if (!tp->tp_dict) {
2895 if (PyType_Ready(tp) < 0)
2896 goto done;
2897 }
2898
2899 descr = _PyType_Lookup(tp, name);
2900 f = NULL__null;
2901 if (descr != NULL__null)
2902 f = descr->ob_type->tp_descr_set;
2903 if (!f) {
2904 if (PyString_Check(name)((((((PyObject*)(name))->ob_type))->tp_flags & ((1L
<<27))) != 0)
) {
2905 encoded_name = name;
2906 Py_INCREF(name)( ((PyObject*)(name))->ob_refcnt++);
2907 } else {
2908 encoded_name = PyUnicode_AsUTF8StringPyUnicodeUCS2_AsUTF8String(name);
2909 }
2910 PyErr_Format(PyExc_AttributeError, "'%.100s' object has no attribute '%.200s'", tp->tp_name, PyString_AsString(encoded_name));
2911 Py_DECREF(encoded_name)do { if ( --((PyObject*)(encoded_name))->ob_refcnt != 0) ;
else ( (*(((PyObject*)((PyObject *)(encoded_name)))->ob_type
)->tp_dealloc)((PyObject *)((PyObject *)(encoded_name))));
} while (0)
;
2912 } else {
2913 res = f(descr, obj, value);
2914 }
2915
2916 done:
2917 Py_DECREF(name)do { if ( --((PyObject*)(name))->ob_refcnt != 0) ; else ( (
*(((PyObject*)((PyObject *)(name)))->ob_type)->tp_dealloc
)((PyObject *)((PyObject *)(name)))); } while (0)
;
2918 return res;
2919}
2920#endif
2921
2922
2923#ifdef __cplusplus199711L
2924}
2925#endif
2926
2927
2928
2929#define SWIG_exception_fail(code, msg)do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(code), msg
); goto fail; } while(0)
do { SWIG_Error(code, msg)SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(code), msg); SWIG_failgoto fail; } while(0)
2930
2931#define SWIG_contract_assert(expr, msg)if (!(expr)) { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(
-3), msg); goto fail; } else
if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg)SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), msg); SWIG_failgoto fail; } else
2932
2933
2934
2935 #define SWIG_exception(code, msg)do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(code), msg
); goto fail;; } while(0)
do { SWIG_Error(code, msg)SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(code), msg); SWIG_failgoto fail;; } while(0)
2936
2937
2938/* -------- TYPES TABLE (BEGIN) -------- */
2939
2940#define SWIGTYPE_p_GArfswig_types[0] swig_types[0]
2941#define SWIGTYPE_p_GBaseswig_types[1] swig_types[1]
2942#define SWIGTYPE_p_GCTAAeffswig_types[2] swig_types[2]
2943#define SWIGTYPE_p_GCTAAeff2Dswig_types[3] swig_types[3]
2944#define SWIGTYPE_p_GCTAAeffArfswig_types[4] swig_types[4]
2945#define SWIGTYPE_p_GCTAAeffPerfTableswig_types[5] swig_types[5]
2946#define SWIGTYPE_p_GCTAEdispswig_types[6] swig_types[6]
2947#define SWIGTYPE_p_GCTAEventAtomswig_types[7] swig_types[7]
2948#define SWIGTYPE_p_GCTAEventBinswig_types[8] swig_types[8]
2949#define SWIGTYPE_p_GCTAEventCubeswig_types[9] swig_types[9]
2950#define SWIGTYPE_p_GCTAEventListswig_types[10] swig_types[10]
2951#define SWIGTYPE_p_GCTAInstDirswig_types[11] swig_types[11]
2952#define SWIGTYPE_p_GCTAModelBackgroundswig_types[12] swig_types[12]
2953#define SWIGTYPE_p_GCTAModelRadialswig_types[13] swig_types[13]
2954#define SWIGTYPE_p_GCTAModelRadialAcceptanceswig_types[14] swig_types[14]
2955#define SWIGTYPE_p_GCTAModelRadialGaussswig_types[15] swig_types[15]
2956#define SWIGTYPE_p_GCTAModelRadialPolynomswig_types[16] swig_types[16]
2957#define SWIGTYPE_p_GCTAModelRadialProfileswig_types[17] swig_types[17]
2958#define SWIGTYPE_p_GCTAModelRadialRegistryswig_types[18] swig_types[18]
2959#define SWIGTYPE_p_GCTAObservationswig_types[19] swig_types[19]
2960#define SWIGTYPE_p_GCTAOnOffObservationswig_types[20] swig_types[20]
2961#define SWIGTYPE_p_GCTAOnOffObservationsswig_types[21] swig_types[21]
2962#define SWIGTYPE_p_GCTAPointingswig_types[22] swig_types[22]
2963#define SWIGTYPE_p_GCTAPsfswig_types[23] swig_types[23]
2964#define SWIGTYPE_p_GCTAPsf2Dswig_types[24] swig_types[24]
2965#define SWIGTYPE_p_GCTAPsfKingswig_types[25] swig_types[25]
2966#define SWIGTYPE_p_GCTAPsfPerfTableswig_types[26] swig_types[26]
2967#define SWIGTYPE_p_GCTAPsfVectorswig_types[27] swig_types[27]
2968#define SWIGTYPE_p_GCTAResponseswig_types[28] swig_types[28]
2969#define SWIGTYPE_p_GCTAResponseTableswig_types[29] swig_types[29]
2970#define SWIGTYPE_p_GCTARoiswig_types[30] swig_types[30]
2971#define SWIGTYPE_p_GContainerswig_types[31] swig_types[31]
2972#define SWIGTYPE_p_GEboundsswig_types[32] swig_types[32]
2973#define SWIGTYPE_p_GEnergyswig_types[33] swig_types[33]
2974#define SWIGTYPE_p_GEventswig_types[34] swig_types[34]
2975#define SWIGTYPE_p_GEventAtomswig_types[35] swig_types[35]
2976#define SWIGTYPE_p_GEventBinswig_types[36] swig_types[36]
2977#define SWIGTYPE_p_GEventCubeswig_types[37] swig_types[37]
2978#define SWIGTYPE_p_GEventListswig_types[38] swig_types[38]
2979#define SWIGTYPE_p_GEventsswig_types[39] swig_types[39]
2980#define SWIGTYPE_p_GFitsswig_types[40] swig_types[40]
2981#define SWIGTYPE_p_GFitsTableswig_types[41] swig_types[41]
2982#define SWIGTYPE_p_GGtiswig_types[42] swig_types[42]
2983#define SWIGTYPE_p_GInstDirswig_types[43] swig_types[43]
2984#define SWIGTYPE_p_GMatrixswig_types[44] swig_types[44]
2985#define SWIGTYPE_p_GModelswig_types[45] swig_types[45]
2986#define SWIGTYPE_p_GModelDataswig_types[46] swig_types[46]
2987#define SWIGTYPE_p_GModelParswig_types[47] swig_types[47]
2988#define SWIGTYPE_p_GModelSpatialswig_types[48] swig_types[48]
2989#define SWIGTYPE_p_GModelSpectralswig_types[49] swig_types[49]
2990#define SWIGTYPE_p_GModelTemporalswig_types[50] swig_types[50]
2991#define SWIGTYPE_p_GModelsswig_types[51] swig_types[51]
2992#define SWIGTYPE_p_GObservationswig_types[52] swig_types[52]
2993#define SWIGTYPE_p_GPhaswig_types[53] swig_types[53]
2994#define SWIGTYPE_p_GPhotonswig_types[54] swig_types[54]
2995#define SWIGTYPE_p_GRanswig_types[55] swig_types[55]
2996#define SWIGTYPE_p_GRegistryswig_types[56] swig_types[56]
2997#define SWIGTYPE_p_GResponseswig_types[57] swig_types[57]
2998#define SWIGTYPE_p_GRmfswig_types[58] swig_types[58]
2999#define SWIGTYPE_p_GRoiswig_types[59] swig_types[59]
3000#define SWIGTYPE_p_GSkyDirswig_types[60] swig_types[60]
3001#define SWIGTYPE_p_GSkyRegionsswig_types[61] swig_types[61]
3002#define SWIGTYPE_p_GSkymapswig_types[62] swig_types[62]
3003#define SWIGTYPE_p_GSourceswig_types[63] swig_types[63]
3004#define SWIGTYPE_p_GTimeswig_types[64] swig_types[64]
3005#define SWIGTYPE_p_GXmlswig_types[65] swig_types[65]
3006#define SWIGTYPE_p_GXmlElementswig_types[66] swig_types[66]
3007#define SWIGTYPE_p_allocator_typeswig_types[67] swig_types[67]
3008#define SWIGTYPE_p_charswig_types[68] swig_types[68]
3009#define SWIGTYPE_p_difference_typeswig_types[69] swig_types[69]
3010#define SWIGTYPE_p_p_PyObjectswig_types[70] swig_types[70]
3011#define SWIGTYPE_p_size_typeswig_types[71] swig_types[71]
3012#define SWIGTYPE_p_std__allocatorT_double_tswig_types[72] swig_types[72]
3013#define SWIGTYPE_p_std__invalid_argumentswig_types[73] swig_types[73]
3014#define SWIGTYPE_p_std__vectorT__Tp__Alloc_tswig_types[74] swig_types[74]
3015#define SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_tswig_types[75] swig_types[75]
3016#define SWIGTYPE_p_swig__SwigPyIteratorswig_types[76] swig_types[76]
3017#define SWIGTYPE_p_value_typeswig_types[77] swig_types[77]
3018static swig_type_info *swig_types[79];
3019static swig_module_info swig_module = {swig_types, 78, 0, 0, 0, 0};
3020#define SWIG_TypeQuery(name)SWIG_TypeQueryModule(&swig_module, &swig_module, name
)
SWIG_TypeQueryModule(&swig_module, &swig_module, name)
3021#define SWIG_MangledTypeQuery(name)SWIG_MangledTypeQueryModule(&swig_module, &swig_module
, name)
SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
3022
3023/* -------- TYPES TABLE (END) -------- */
3024
3025#if (PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
<= 0x02000000)
3026# if !defined(SWIG_PYTHON_CLASSIC)
3027# error "This python version requires swig to be run with the '-classic' option"
3028# endif
3029#endif
3030
3031/*-----------------------------------------------
3032 @(target):= _cta.so
3033 ------------------------------------------------*/
3034#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x03000000
3035# define SWIG_initinit_cta PyInit__cta
3036
3037#else
3038# define SWIG_initinit_cta init_cta
3039
3040#endif
3041#define SWIG_name"_cta" "_cta"
3042
3043#define SWIGVERSION0x020011 0x020011
3044#define SWIG_VERSION0x020011 SWIGVERSION0x020011
3045
3046
3047#define SWIG_as_voidptr(a)const_cast< void * >(static_cast< const void * >(
a))
const_cast< void * >(static_cast< const void * >(a))
3048#define SWIG_as_voidptrptr(a)((void)const_cast< void * >(static_cast< const void *
>(*a)),reinterpret_cast< void** >(a))
((void)SWIG_as_voidptr(*a)const_cast< void * >(static_cast< const void * >(
*a))
,reinterpret_cast< void** >(a))
3049
3050
3051#include <stdexcept>
3052
3053
3054namespace swig {
3055 class SwigPtr_PyObject {
3056 protected:
3057 PyObject *_obj;
3058
3059 public:
3060 SwigPtr_PyObject() :_obj(0)
3061 {
3062 }
3063
3064 SwigPtr_PyObject(const SwigPtr_PyObject& item) : _obj(item._obj)
3065 {
3066 Py_XINCREF(_obj)do { if ((_obj) == __null) ; else ( ((PyObject*)(_obj))->ob_refcnt
++); } while (0)
;
3067 }
3068
3069 SwigPtr_PyObject(PyObject *obj, bool initial_ref = true) :_obj(obj)
3070 {
3071 if (initial_ref) {
3072 Py_XINCREF(_obj)do { if ((_obj) == __null) ; else ( ((PyObject*)(_obj))->ob_refcnt
++); } while (0)
;
3073 }
3074 }
3075
3076 SwigPtr_PyObject & operator=(const SwigPtr_PyObject& item)
3077 {
3078 Py_XINCREF(item._obj)do { if ((item._obj) == __null) ; else ( ((PyObject*)(item._obj
))->ob_refcnt++); } while (0)
;
3079 Py_XDECREF(_obj)do { if ((_obj) == __null) ; else do { if ( --((PyObject*)(_obj
))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(
_obj)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *
)(_obj)))); } while (0); } while (0)
;
3080 _obj = item._obj;
3081 return *this;
3082 }
3083
3084 ~SwigPtr_PyObject()
3085 {
3086 Py_XDECREF(_obj)do { if ((_obj) == __null) ; else do { if ( --((PyObject*)(_obj
))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(
_obj)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *
)(_obj)))); } while (0); } while (0)
;
3087 }
3088
3089 operator PyObject *() const
3090 {
3091 return _obj;
3092 }
3093
3094 PyObject *operator->() const
3095 {
3096 return _obj;
3097 }
3098 };
3099}
3100
3101
3102namespace swig {
3103 struct SwigVar_PyObject : SwigPtr_PyObject {
3104 SwigVar_PyObject(PyObject* obj = 0) : SwigPtr_PyObject(obj, false) { }
3105
3106 SwigVar_PyObject & operator = (PyObject* obj)
3107 {
3108 Py_XDECREF(_obj)do { if ((_obj) == __null) ; else do { if ( --((PyObject*)(_obj
))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(
_obj)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *
)(_obj)))); } while (0); } while (0)
;
3109 _obj = obj;
3110 return *this;
3111 }
3112 };
3113}
3114
3115
3116#include <stddef.h>
3117#include "GException.hpp"
3118#include "GTools.hpp"
3119
3120
3121#include <stdexcept>
3122
3123
3124#if defined(__GNUC__4)
3125# if __GNUC__4 == 2 && __GNUC_MINOR <= 96
3126# define SWIG_STD_NOMODERN_STL
3127# endif
3128#endif
3129
3130
3131#include <string>
3132#include <stdexcept>
3133#include <stddef.h>
3134
3135
3136#include <string>
3137
3138
3139#include <iostream>
3140
3141#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x03020000
3142# define SWIGPY_SLICE_ARG(obj)((PySliceObject*) (obj)) ((PyObject*) (obj))
3143#else
3144# define SWIGPY_SLICE_ARG(obj)((PySliceObject*) (obj)) ((PySliceObject*) (obj))
3145#endif
3146
3147
3148 #include <stddef.h>
3149
3150
3151namespace swig {
3152 struct stop_iteration {
3153 };
3154
3155 struct SwigPyIterator {
3156 private:
3157 SwigPtr_PyObject _seq;
3158
3159 protected:
3160 SwigPyIterator(PyObject *seq) : _seq(seq)
3161 {
3162 }
3163
3164 public:
3165 virtual ~SwigPyIterator() {}
3166
3167 // Access iterator method, required by Python
3168 virtual PyObject *value() const = 0;
3169
3170 // Forward iterator method, required by Python
3171 virtual SwigPyIterator *incr(size_t n = 1) = 0;
3172
3173 // Backward iterator method, very common in C++, but not required in Python
3174 virtual SwigPyIterator *decr(size_t /*n*/ = 1)
3175 {
3176 throw stop_iteration();
3177 }
3178
3179 // Random access iterator methods, but not required in Python
3180 virtual ptrdiff_t distance(const SwigPyIterator &/*x*/) const
3181 {
3182 throw std::invalid_argument("operation not supported");
3183 }
3184
3185 virtual bool equal (const SwigPyIterator &/*x*/) const
3186 {
3187 throw std::invalid_argument("operation not supported");
3188 }
3189
3190 // C++ common/needed methods
3191 virtual SwigPyIterator *copy() const = 0;
3192
3193 PyObject *next()
3194 {
3195 SWIG_PYTHON_THREAD_BEGIN_BLOCK; // disable threads
3196 PyObject *obj = value();
3197 incr();
3198 SWIG_PYTHON_THREAD_END_BLOCK; // re-enable threads
3199 return obj;
3200 }
3201
3202 /* Make an alias for Python 3.x */
3203 PyObject *__next__()
3204 {
3205 return next();
3206 }
3207
3208 PyObject *previous()
3209 {
3210 SWIG_PYTHON_THREAD_BEGIN_BLOCK; // disable threads
3211 decr();
3212 PyObject *obj = value();
3213 SWIG_PYTHON_THREAD_END_BLOCK; // re-enable threads
3214 return obj;
3215 }
3216
3217 SwigPyIterator *advance(ptrdiff_t n)
3218 {
3219 return (n > 0) ? incr(n) : decr(-n);
3220 }
3221
3222 bool operator == (const SwigPyIterator& x) const
3223 {
3224 return equal(x);
3225 }
3226
3227 bool operator != (const SwigPyIterator& x) const
3228 {
3229 return ! operator==(x);
3230 }
3231
3232 SwigPyIterator& operator += (ptrdiff_t n)
3233 {
3234 return *advance(n);
3235 }
3236
3237 SwigPyIterator& operator -= (ptrdiff_t n)
3238 {
3239 return *advance(-n);
3240 }
3241
3242 SwigPyIterator* operator + (ptrdiff_t n) const
3243 {
3244 return copy()->advance(n);
3245 }
3246
3247 SwigPyIterator* operator - (ptrdiff_t n) const
3248 {
3249 return copy()->advance(-n);
3250 }
3251
3252 ptrdiff_t operator - (const SwigPyIterator& x) const
3253 {
3254 return x.distance(*this);
3255 }
3256
3257 static swig_type_info* descriptor() {
3258 static int init = 0;
3259 static swig_type_info* desc = 0;
3260 if (!init) {
3261 desc = SWIG_TypeQuery("swig::SwigPyIterator *")SWIG_TypeQueryModule(&swig_module, &swig_module, "swig::SwigPyIterator *"
)
;
3262 init = 1;
3263 }
3264 return desc;
3265 }
3266 };
3267
3268#if defined(SWIGPYTHON_BUILTIN)
3269 inline PyObject* make_output_iterator_builtin (PyObject *pyself)
3270 {
3271 Py_INCREF(pyself)( ((PyObject*)(pyself))->ob_refcnt++);
3272 return pyself;
3273 }
3274#endif
3275}
3276
3277
3278SWIGINTERNstatic __attribute__ ((__unused__)) int
3279SWIG_AsVal_double (PyObject *obj, double *val)
3280{
3281 int res = SWIG_TypeError-5;
3282 if (PyFloat_Check(obj)((((PyObject*)(obj))->ob_type) == (&PyFloat_Type) || PyType_IsSubtype
((((PyObject*)(obj))->ob_type), (&PyFloat_Type)))
) {
3283 if (val) *val = PyFloat_AsDouble(obj);
3284 return SWIG_OK(0);
3285 } else if (PyInt_Check(obj)((((obj)->ob_type)->tp_flags & ((1L<<23))) !=
0)
) {
3286 if (val) *val = PyInt_AsLong(obj);
3287 return SWIG_OK(0);
3288 } else if (PyLong_Check(obj)((((((PyObject*)(obj))->ob_type))->tp_flags & ((1L<<
24))) != 0)
) {
3289 double v = PyLong_AsDouble(obj);
3290 if (!PyErr_Occurred()) {
3291 if (val) *val = v;
3292 return SWIG_OK(0);
3293 } else {
3294 PyErr_Clear();
3295 }
3296 }
3297#ifdef SWIG_PYTHON_CAST_MODE
3298 {
3299 int dispatch = 0;
3300 double d = PyFloat_AsDouble(obj);
3301 if (!PyErr_Occurred()) {
3302 if (val) *val = d;
3303 return SWIG_AddCast(SWIG_OK)((0));
3304 } else {
3305 PyErr_Clear();
3306 }
3307 if (!dispatch) {
3308 long v = PyLong_AsLong(obj);
3309 if (!PyErr_Occurred()) {
3310 if (val) *val = v;
3311 return SWIG_AddCast(SWIG_AddCast(SWIG_OK))(((0)));
3312 } else {
3313 PyErr_Clear();
3314 }
3315 }
3316 }
3317#endif
3318 return res;
3319}
3320
3321
3322#include <float.h>
3323
3324
3325#include <math.h>
3326
3327
3328SWIGINTERNINLINEstatic __attribute__ ((__unused__)) inline int
3329SWIG_CanCastAsInteger(double *d, double min, double max) {
3330 double x = *d;
3331 if ((min <= x && x <= max)) {
3332 double fx = floor(x);
3333 double cx = ceil(x);
3334 double rd = ((x - fx) < 0.5) ? fx : cx; /* simple rint */
3335 if ((errno(*__error()) == EDOM33) || (errno(*__error()) == ERANGE34)) {
3336 errno(*__error()) = 0;
3337 } else {
3338 double summ, reps, diff;
3339 if (rd < x) {
3340 diff = x - rd;
3341 } else if (rd > x) {
3342 diff = rd - x;
3343 } else {
3344 return 1;
3345 }
3346 summ = rd + x;
3347 reps = diff/summ;
3348 if (reps < 8*DBL_EPSILON2.2204460492503131e-16) {
3349 *d = rd;
3350 return 1;
3351 }
3352 }
3353 }
3354 return 0;
3355}
3356
3357
3358SWIGINTERNstatic __attribute__ ((__unused__)) int
3359SWIG_AsVal_unsigned_SS_long (PyObject *obj, unsigned long *val)
3360{
3361#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
< 0x03000000
3362 if (PyInt_Check(obj)((((obj)->ob_type)->tp_flags & ((1L<<23))) !=
0)
) {
3363 long v = PyInt_AsLong(obj);
3364 if (v >= 0) {
3365 if (val) *val = v;
3366 return SWIG_OK(0);
3367 } else {
3368 return SWIG_OverflowError-7;
3369 }
3370 } else
3371#endif
3372 if (PyLong_Check(obj)((((((PyObject*)(obj))->ob_type))->tp_flags & ((1L<<
24))) != 0)
) {
3373 unsigned long v = PyLong_AsUnsignedLong(obj);
3374 if (!PyErr_Occurred()) {
3375 if (val) *val = v;
3376 return SWIG_OK(0);
3377 } else {
3378 PyErr_Clear();
3379#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x03000000
3380 {
3381 long v = PyLong_AsLong(obj);
3382 if (!PyErr_Occurred()) {
3383 if (v < 0) {
3384 return SWIG_OverflowError-7;
3385 }
3386 } else {
3387 PyErr_Clear();
3388 }
3389 }
3390#endif
3391 }
3392 }
3393#ifdef SWIG_PYTHON_CAST_MODE
3394 {
3395 int dispatch = 0;
3396 unsigned long v = PyLong_AsUnsignedLong(obj);
3397 if (!PyErr_Occurred()) {
3398 if (val) *val = v;
3399 return SWIG_AddCast(SWIG_OK)((0));
3400 } else {
3401 PyErr_Clear();
3402 }
3403 if (!dispatch) {
3404 double d;
3405 int res = SWIG_AddCast(SWIG_AsVal_double (obj,&d))(SWIG_AsVal_double (obj,&d));
3406 if (SWIG_IsOK(res)(res >= 0) && SWIG_CanCastAsInteger(&d, 0, ULONG_MAX(9223372036854775807L *2UL+1UL))) {
3407 if (val) *val = (unsigned long)(d);
3408 return res;
3409 }
3410 }
3411 }
3412#endif
3413 return SWIG_TypeError-5;
3414}
3415
3416
3417SWIGINTERNINLINEstatic __attribute__ ((__unused__)) inline int
3418SWIG_AsVal_size_t (PyObject * obj, size_t *val)
3419{
3420 unsigned long v;
3421 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
3422 if (SWIG_IsOK(res)(res >= 0) && val) *val = static_cast< size_t >(v);
3423 return res;
3424}
3425
3426
3427 #define SWIG_From_longPyLong_FromLong PyLong_FromLong
3428
3429
3430SWIGINTERNINLINEstatic __attribute__ ((__unused__)) inline PyObject *
3431SWIG_From_ptrdiff_t (ptrdiff_t value)
3432{
3433 return SWIG_From_longPyLong_FromLong (static_cast< long >(value));
3434}
3435
3436
3437SWIGINTERNINLINEstatic __attribute__ ((__unused__)) inline PyObject*
3438 SWIG_From_bool (bool value)
3439{
3440 return PyBool_FromLong(value ? 1 : 0);
3441}
3442
3443
3444SWIGINTERNstatic __attribute__ ((__unused__)) int
3445SWIG_AsVal_long (PyObject *obj, long* val)
3446{
3447 if (PyInt_Check(obj)((((obj)->ob_type)->tp_flags & ((1L<<23))) !=
0)
) {
3448 if (val) *val = PyInt_AsLong(obj);
3449 return SWIG_OK(0);
3450 } else if (PyLong_Check(obj)((((((PyObject*)(obj))->ob_type))->tp_flags & ((1L<<
24))) != 0)
) {
3451 long v = PyLong_AsLong(obj);
3452 if (!PyErr_Occurred()) {
3453 if (val) *val = v;
3454 return SWIG_OK(0);
3455 } else {
3456 PyErr_Clear();
3457 }
3458 }
3459#ifdef SWIG_PYTHON_CAST_MODE
3460 {
3461 int dispatch = 0;
3462 long v = PyInt_AsLong(obj);
3463 if (!PyErr_Occurred()) {
3464 if (val) *val = v;
3465 return SWIG_AddCast(SWIG_OK)((0));
3466 } else {
3467 PyErr_Clear();
3468 }
3469 if (!dispatch) {
3470 double d;
3471 int res = SWIG_AddCast(SWIG_AsVal_double (obj,&d))(SWIG_AsVal_double (obj,&d));
3472 if (SWIG_IsOK(res)(res >= 0) && SWIG_CanCastAsInteger(&d, LONG_MIN(-9223372036854775807L -1L), LONG_MAX9223372036854775807L)) {
3473 if (val) *val = (long)(d);
3474 return res;
3475 }
3476 }
3477 }
3478#endif
3479 return SWIG_TypeError-5;
3480}
3481
3482
3483SWIGINTERNINLINEstatic __attribute__ ((__unused__)) inline int
3484SWIG_AsVal_ptrdiff_t (PyObject * obj, ptrdiff_t *val)
3485{
3486 long v;
3487 int res = SWIG_AsVal_long (obj, val ? &v : 0);
3488 if (SWIG_IsOK(res)(res >= 0) && val) *val = static_cast< ptrdiff_t >(v);
3489 return res;
3490}
3491
3492
3493#include <stdexcept>
3494
3495
3496#include <algorithm>
3497
3498
3499#include <vector>
3500
3501
3502#include <utility>
3503
3504
3505#include <map>
3506#include <algorithm>
3507#include <stdexcept>
3508
3509
3510/* Put headers and other declarations here that are needed for compilation */
3511#include "GCTAObservation.hpp"
3512
3513
3514SWIGINTERNstatic __attribute__ ((__unused__)) swig_type_info*
3515SWIG_pchar_descriptor(void)
3516{
3517 static int init = 0;
3518 static swig_type_info* info = 0;
3519 if (!init) {
3520 info = SWIG_TypeQuery("_p_char")SWIG_TypeQueryModule(&swig_module, &swig_module, "_p_char"
)
;
3521 init = 1;
3522 }
3523 return info;
3524}
3525
3526
3527SWIGINTERNstatic __attribute__ ((__unused__)) int
3528SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize, int *alloc)
3529{
3530#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>=0x03000000
3531 if (PyUnicode_Check(obj)((((((PyObject*)(obj))->ob_type))->tp_flags & ((1L<<
28))) != 0)
)
3532#else
3533 if (PyString_Check(obj)((((((PyObject*)(obj))->ob_type))->tp_flags & ((1L<<
27))) != 0)
)
3534#endif
3535 {
3536 char *cstr; Py_ssize_t len;
3537#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>=0x03000000
3538 if (!alloc && cptr) {
3539 /* We can't allow converting without allocation, since the internal
3540 representation of string in Python 3 is UCS-2/UCS-4 but we require
3541 a UTF-8 representation.
3542 TODO(bhy) More detailed explanation */
3543 return SWIG_RuntimeError-3;
3544 }
3545 obj = PyUnicode_AsUTF8StringPyUnicodeUCS2_AsUTF8String(obj);
3546 PyBytes_AsStringAndSizePyString_AsStringAndSize(obj, &cstr, &len);
3547 if(alloc) *alloc = SWIG_NEWOBJ((0) | ((1 << 8) << 1));
3548#else
3549 PyString_AsStringAndSize(obj, &cstr, &len);
3550#endif
3551 if (cptr) {
3552 if (alloc) {
3553 /*
3554 In python the user should not be able to modify the inner
3555 string representation. To warranty that, if you define
3556 SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string
3557 buffer is always returned.
3558
3559 The default behavior is just to return the pointer value,
3560 so, be careful.
3561 */
3562#if defined(SWIG_PYTHON_SAFE_CSTRINGS)
3563 if (*alloc != SWIG_OLDOBJ((0)))
3564#else
3565 if (*alloc == SWIG_NEWOBJ((0) | ((1 << 8) << 1)))
3566#endif
3567 {
3568 *cptr = reinterpret_cast< char* >(memcpy((new char[len + 1]), cstr, sizeof(char)*(len + 1)));
3569 *alloc = SWIG_NEWOBJ((0) | ((1 << 8) << 1));
3570 }
3571 else {
3572 *cptr = cstr;
3573 *alloc = SWIG_OLDOBJ((0));
3574 }
3575 } else {
3576 #if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>=0x03000000
3577 assert(0)((void)0); /* Should never reach here in Python 3 */
3578 #endif
3579 *cptr = SWIG_Python_str_AsChar(obj);
3580 }
3581 }
3582 if (psize) *psize = len + 1;
3583#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>=0x03000000
3584 Py_XDECREF(obj)do { if ((obj) == __null) ; else do { if ( --((PyObject*)(obj
))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(
obj)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *)
(obj)))); } while (0); } while (0)
;
3585#endif
3586 return SWIG_OK(0);
3587 } else {
3588 swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
3589 if (pchar_descriptor) {
3590 void* vptr = 0;
3591 if (SWIG_ConvertPtr(obj, &vptr, pchar_descriptor, 0)SWIG_Python_ConvertPtrAndOwn(obj, &vptr, pchar_descriptor
, 0, 0)
== SWIG_OK(0)) {
3592 if (cptr) *cptr = (char *) vptr;
3593 if (psize) *psize = vptr ? (strlen((char *)vptr) + 1) : 0;
3594 if (alloc) *alloc = SWIG_OLDOBJ((0));
3595 return SWIG_OK(0);
3596 }
3597 }
3598 }
3599 return SWIG_TypeError-5;
3600}
3601
3602
3603SWIGINTERNstatic __attribute__ ((__unused__)) int
3604SWIG_AsPtr_std_string (PyObject * obj, std::string **val)
3605{
3606 char* buf = 0 ; size_t size = 0; int alloc = SWIG_OLDOBJ((0));
3607 if (SWIG_IsOK((SWIG_AsCharPtrAndSize(obj, &buf, &size, &alloc)))((SWIG_AsCharPtrAndSize(obj, &buf, &size, &alloc)
) >= 0)
) {
3608 if (buf) {
3609 if (val) *val = new std::string(buf, size - 1);
3610 if (alloc == SWIG_NEWOBJ((0) | ((1 << 8) << 1))) delete[] buf;
3611 return SWIG_NEWOBJ((0) | ((1 << 8) << 1));
3612 } else {
3613 if (val) *val = 0;
3614 return SWIG_OLDOBJ((0));
3615 }
3616 } else {
3617 static int init = 0;
3618 static swig_type_info* descriptor = 0;
3619 if (!init) {
3620 descriptor = SWIG_TypeQuery("std::string" " *")SWIG_TypeQueryModule(&swig_module, &swig_module, "std::string"
" *")
;
3621 init = 1;
3622 }
3623 if (descriptor) {
3624 std::string *vptr;
3625 int res = SWIG_ConvertPtr(obj, (void**)&vptr, descriptor, 0)SWIG_Python_ConvertPtrAndOwn(obj, (void**)&vptr, descriptor
, 0, 0)
;
3626 if (SWIG_IsOK(res)(res >= 0) && val) *val = vptr;
3627 return res;
3628 }
3629 }
3630 return SWIG_ERROR(-1);
3631}
3632
3633
3634SWIGINTERNINLINEstatic __attribute__ ((__unused__)) inline PyObject *
3635SWIG_FromCharPtrAndSize(const char* carray, size_t size)
3636{
3637 if (carray) {
3638 if (size > INT_MAX2147483647) {
3639 swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
3640 return pchar_descriptor ?
3641 SWIG_InternalNewPointerObj(const_cast< char * >(carray), pchar_descriptor, 0)SWIG_Python_NewPointerObj(__null, const_cast< char * >(
carray), pchar_descriptor, 0)
: SWIG_Py_Void();
3642 } else {
3643#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x03000000
3644 return PyUnicode_FromStringAndSizePyUnicodeUCS2_FromStringAndSize(carray, static_cast< int >(size));
3645#else
3646 return PyString_FromStringAndSize(carray, static_cast< int >(size));
3647#endif
3648 }
3649 } else {
3650 return SWIG_Py_Void();
3651 }
3652}
3653
3654
3655SWIGINTERNINLINEstatic __attribute__ ((__unused__)) inline PyObject *
3656SWIG_From_std_string (const std::string& s)
3657{
3658 return SWIG_FromCharPtrAndSize(s.data(), s.size());
3659}
3660
3661
3662 #define SWIG_From_doublePyFloat_FromDouble PyFloat_FromDouble
3663
3664
3665SWIGINTERNstatic __attribute__ ((__unused__)) int
3666SWIG_AsVal_bool (PyObject *obj, bool *val)
3667{
3668 int r = PyObject_IsTrue(obj);
3669 if (r == -1)
3670 return SWIG_ERROR(-1);
3671 if (val) *val = r ? true : false;
3672 return SWIG_OK(0);
3673}
3674
3675
3676#include <limits.h>
3677#if !defined(SWIG_NO_LLONG_MAX)
3678# if !defined(LLONG_MAX0x7fffffffffffffffLL) && defined(__GNUC__4) && defined (__LONG_LONG_MAX__9223372036854775807LL)
3679# define LLONG_MAX0x7fffffffffffffffLL __LONG_LONG_MAX__9223372036854775807LL
3680# define LLONG_MIN(-0x7fffffffffffffffLL-1) (-LLONG_MAX0x7fffffffffffffffLL - 1LL)
3681# define ULLONG_MAX0xffffffffffffffffULL (LLONG_MAX0x7fffffffffffffffLL * 2ULL + 1ULL)
3682# endif
3683#endif
3684
3685
3686SWIGINTERNstatic __attribute__ ((__unused__)) int
3687SWIG_AsVal_int (PyObject * obj, int *val)
3688{
3689 long v;
3690 int res = SWIG_AsVal_long (obj, &v);
3691 if (SWIG_IsOK(res)(res >= 0)) {
3692 if ((v < INT_MIN(-2147483647 -1) || v > INT_MAX2147483647)) {
3693 return SWIG_OverflowError-7;
3694 } else {
3695 if (val) *val = static_cast< int >(v);
3696 }
3697 }
3698 return res;
3699}
3700
3701
3702SWIGINTERNINLINEstatic __attribute__ ((__unused__)) inline PyObject*
3703 SWIG_From_int (int value)
3704{
3705 return PyInt_FromLong((long) value);
3706}
3707
3708SWIGINTERNstatic __attribute__ ((__unused__)) GCTAObservation GCTAObservation_copy(GCTAObservation *self){
3709 return (*self);
3710 }
3711
3712/* Put headers and other declarations here that are needed for compilation */
3713#include "GCTAOnOffObservation.hpp"
3714
3715SWIGINTERNstatic __attribute__ ((__unused__)) GCTAOnOffObservation GCTAOnOffObservation_copy(GCTAOnOffObservation *self){
3716 return (*self);
3717 }
3718
3719/* Put headers and other declarations here that are needed for compilation */
3720#include "GCTAOnOffObservations.hpp"
3721
3722SWIGINTERNstatic __attribute__ ((__unused__)) GCTAOnOffObservation *GCTAOnOffObservations___getitem__(GCTAOnOffObservations *self,int const &index){
3723 if (index >= 0 && index < self->size()) {
3724 return (*self)[index];
3725 }
3726 else {
3727 throw GException::out_of_range("__getitem__(int)", index, self->size());
3728 }
3729 }
3730SWIGINTERNstatic __attribute__ ((__unused__)) void GCTAOnOffObservations___setitem__(GCTAOnOffObservations *self,int const &index,GCTAOnOffObservation const &val){
3731 if (index>=0 && index < self->size()) {
3732 self->set(index, val);
3733 return;
3734 }
3735 else {
3736 throw GException::out_of_range("__setitem__(int)", index, self->size());
3737 }
3738 }
3739SWIGINTERNstatic __attribute__ ((__unused__)) int GCTAOnOffObservations___len__(GCTAOnOffObservations *self){
3740 return (self->size());
3741 }
3742SWIGINTERNstatic __attribute__ ((__unused__)) GCTAOnOffObservations GCTAOnOffObservations_copy(GCTAOnOffObservations *self){
3743 return (*self);
3744 }
3745
3746/* Put headers and other declarations here that are needed for compilation */
3747#include "GCTAEventCube.hpp"
3748
3749SWIGINTERNstatic __attribute__ ((__unused__)) GCTAEventCube GCTAEventCube_copy(GCTAEventCube *self){
3750 return (*self);
3751 }
3752SWIGINTERNstatic __attribute__ ((__unused__)) GCTAEventBin *GCTAEventCube___getitem__(GCTAEventCube *self,int index){
3753 if (index >= 0 && index < self->size())
3754 return (*self)[index];
3755 else
3756 throw GException::out_of_range("__getitem__(int)", index, self->size());
3757 }
3758SWIGINTERNstatic __attribute__ ((__unused__)) void GCTAEventCube___setitem__(GCTAEventCube *self,int index,GCTAEventBin const &val){
3759 if (index>=0 && index < self->size())
3760 *((*self)[index]) = val;
3761 else
3762 throw GException::out_of_range("__setitem__(int)", index, self->size());
3763 }
3764
3765/* Put headers and other declarations here that are needed for compilation */
3766#include "GCTAEventList.hpp"
3767
3768SWIGINTERNstatic __attribute__ ((__unused__)) GCTAEventList GCTAEventList_copy(GCTAEventList *self){
3769 return (*self);
3770 }
3771SWIGINTERNstatic __attribute__ ((__unused__)) GCTAEventAtom *GCTAEventList___getitem__(GCTAEventList *self,int index){
3772 if (index >= 0 && index < self->size())
3773 return (*self)[index];
3774 else
3775 throw GException::out_of_range("__getitem__(int)", index, self->size());
3776 }
3777SWIGINTERNstatic __attribute__ ((__unused__)) void GCTAEventList___setitem__(GCTAEventList *self,int index,GCTAEventAtom const &val){
3778 if (index>=0 && index < self->size())
3779 *((*self)[index]) = val;
3780 else
3781 throw GException::out_of_range("__setitem__(int)", index, self->size());
3782 }
3783
3784/* Put headers and other declarations here that are needed for compilation */
3785#include "GCTAEventBin.hpp"
3786
3787SWIGINTERNstatic __attribute__ ((__unused__)) GCTAEventBin GCTAEventBin_copy(GCTAEventBin *self){
3788 return (*self);
3789 }
3790
3791/* Put headers and other declarations here that are needed for compilation */
3792#include "GCTAEventAtom.hpp"
3793
3794
3795SWIGINTERNINLINEstatic __attribute__ ((__unused__)) inline PyObject*
3796SWIG_From_unsigned_SS_long (unsigned long value)
3797{
3798 return (value > LONG_MAX9223372036854775807L) ?
3799 PyLong_FromUnsignedLong(value) : PyLong_FromLong(static_cast< long >(value));
3800}
3801
3802SWIGINTERNstatic __attribute__ ((__unused__)) GCTAEventAtom GCTAEventAtom_copy(GCTAEventAtom *self){
3803 return (*self);
3804 }
3805
3806/* Put headers and other declarations here that are needed for compilation */
3807#include "GCTAPointing.hpp"
3808
3809SWIGINTERNstatic __attribute__ ((__unused__)) GCTAPointing GCTAPointing_copy(GCTAPointing *self){
3810 return (*self);
3811 }
3812
3813/* Put headers and other declarations here that are needed for compilation */
3814#include "GCTAResponse.hpp"
3815
3816SWIGINTERNstatic __attribute__ ((__unused__)) GCTAResponse GCTAResponse_copy(GCTAResponse *self){
3817 return (*self);
3818 }
3819
3820/* Put headers and other declarations here that are needed for compilation */
3821#include "GTools.hpp"
3822#include "GCTAResponseTable.hpp"
3823
3824
3825namespace swig {
3826 template <class Type>
3827 struct noconst_traits {
3828 typedef Type noconst_type;
3829 };
3830
3831 template <class Type>
3832 struct noconst_traits<const Type> {
3833 typedef Type noconst_type;
3834 };
3835
3836 /*
3837 type categories
3838 */
3839 struct pointer_category { };
3840 struct value_category { };
3841
3842 /*
3843 General traits that provides type_name and type_info
3844 */
3845 template <class Type> struct traits { };
3846
3847 template <class Type>
3848 inline const char* type_name() {
3849 return traits<typename noconst_traits<Type >::noconst_type >::type_name();
3850 }
3851
3852 template <class Type>
3853 struct traits_info {
3854 static swig_type_info *type_query(std::string name) {
3855 name += " *";
3856 return SWIG_TypeQuery(name.c_str())SWIG_TypeQueryModule(&swig_module, &swig_module, name
.c_str())
;
3857 }
3858 static swig_type_info *type_info() {
3859 static swig_type_info *info = type_query(type_name<Type>());
3860 return info;
3861 }
3862 };
3863
3864 template <class Type>
3865 inline swig_type_info *type_info() {
3866 return traits_info<Type>::type_info();
3867 }
3868
3869 /*
3870 Partial specialization for pointers
3871 */
3872 template <class Type> struct traits <Type *> {
3873 typedef pointer_category category;
3874 static std::string make_ptr_name(const char* name) {
3875 std::string ptrname = name;
3876 ptrname += " *";
3877 return ptrname;
3878 }
3879 static const char* type_name() {
3880 static std::string name = make_ptr_name(swig::type_name<Type>());
3881 return name.c_str();
3882 }
3883 };
3884
3885 template <class Type, class Category>
3886 struct traits_as { };
3887
3888 template <class Type, class Category>
3889 struct traits_check { };
3890
3891}
3892
3893
3894namespace swig {
3895 /*
3896 Traits that provides the from method
3897 */
3898 template <class Type> struct traits_from_ptr {
3899 static PyObject *from(Type *val, int owner = 0) {
3900 return SWIG_InternalNewPointerObj(val, type_info<Type>(), owner)SWIG_Python_NewPointerObj(__null, val, type_info<Type>(
), owner)
;
3901 }
3902 };
3903
3904 template <class Type> struct traits_from {
3905 static PyObject *from(const Type& val) {
3906 return traits_from_ptr<Type>::from(new Type(val), 1);
3907 }
3908 };
3909
3910 template <class Type> struct traits_from<Type *> {
3911 static PyObject *from(Type* val) {
3912 return traits_from_ptr<Type>::from(val, 0);
3913 }
3914 };
3915
3916 template <class Type> struct traits_from<const Type *> {
3917 static PyObject *from(const Type* val) {
3918 return traits_from_ptr<Type>::from(const_cast<Type*>(val), 0);
3919 }
3920 };
3921
3922
3923 template <class Type>
3924 inline PyObject *from(const Type& val) {
3925 return traits_from<Type>::from(val);
3926 }
3927
3928 template <class Type>
3929 inline PyObject *from_ptr(Type* val, int owner) {
3930 return traits_from_ptr<Type>::from(val, owner);
3931 }
3932
3933 /*
3934 Traits that provides the asval/as/check method
3935 */
3936 template <class Type>
3937 struct traits_asptr {
3938 static int asptr(PyObject *obj, Type **val) {
3939 Type *p;
3940 int res = SWIG_ConvertPtr(obj, (void**)&p, type_info<Type>(), 0)SWIG_Python_ConvertPtrAndOwn(obj, (void**)&p, type_info<
Type>(), 0, 0)
;
3941 if (SWIG_IsOK(res)(res >= 0)) {
3942 if (val) *val = p;
3943 }
3944 return res;
3945 }
3946 };
3947
3948 template <class Type>
3949 inline int asptr(PyObject *obj, Type **vptr) {
3950 return traits_asptr<Type>::asptr(obj, vptr);
3951 }
3952
3953 template <class Type>
3954 struct traits_asval {
3955 static int asval(PyObject *obj, Type *val) {
3956 if (val) {
3957 Type *p = 0;
3958 int res = traits_asptr<Type>::asptr(obj, &p);
3959 if (!SWIG_IsOK(res)(res >= 0)) return res;
3960 if (p) {
3961 typedef typename noconst_traits<Type>::noconst_type noconst_type;
3962 *(const_cast<noconst_type*>(val)) = *p;
3963 if (SWIG_IsNewObj(res)((res >= 0) && (res & ((1 << 8) <<
1)))
){
3964 delete p;
3965 res = SWIG_DelNewMask(res)((res >= 0) ? (res & ~((1 << 8) << 1)) : res
)
;
3966 }
3967 return res;
3968 } else {
3969 return SWIG_ERROR(-1);
3970 }
3971 } else {
3972 return traits_asptr<Type>::asptr(obj, (Type **)(0));
3973 }
3974 }
3975 };
3976
3977 template <class Type> struct traits_asval<Type*> {
3978 static int asval(PyObject *obj, Type **val) {
3979 if (val) {
3980 typedef typename noconst_traits<Type>::noconst_type noconst_type;
3981 noconst_type *p = 0;
3982 int res = traits_asptr<noconst_type>::asptr(obj, &p);
3983 if (SWIG_IsOK(res)(res >= 0)) {
3984 *(const_cast<noconst_type**>(val)) = p;
3985 }
3986 return res;
3987 } else {
3988 return traits_asptr<Type>::asptr(obj, (Type **)(0));
3989 }
3990 }
3991 };
3992
3993 template <class Type>
3994 inline int asval(PyObject *obj, Type *val) {
3995 return traits_asval<Type>::asval(obj, val);
3996 }
3997
3998 template <class Type>
3999 struct traits_as<Type, value_category> {
4000 static Type as(PyObject *obj, bool throw_error) {
4001 Type v;
4002 int res = asval(obj, &v);
4003 if (!obj || !SWIG_IsOK(res)(res >= 0)) {
4004 if (!PyErr_Occurred()) {
4005 ::SWIG_Error(SWIG_TypeError, swig::type_name<Type>())SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-5), swig::type_name
<Type>())
;
4006 }
4007 if (throw_error) throw std::invalid_argument("bad type");
4008 }
4009 return v;
4010 }
4011 };
4012
4013 template <class Type>
4014 struct traits_as<Type, pointer_category> {
4015 static Type as(PyObject *obj, bool throw_error) {
4016 Type *v = 0;
4017 int res = (obj ? traits_asptr<Type>::asptr(obj, &v) : SWIG_ERROR(-1));
4018 if (SWIG_IsOK(res)(res >= 0) && v) {
4019 if (SWIG_IsNewObj(res)((res >= 0) && (res & ((1 << 8) <<
1)))
) {
4020 Type r(*v);
4021 delete v;
4022 return r;
4023 } else {
4024 return *v;
4025 }
4026 } else {
4027 // Uninitialized return value, no Type() constructor required.
4028 static Type *v_def = (Type*) malloc(sizeof(Type));
4029 if (!PyErr_Occurred()) {
4030 SWIG_Error(SWIG_TypeError, swig::type_name<Type>())SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-5), swig::type_name
<Type>())
;
4031 }
4032 if (throw_error) throw std::invalid_argument("bad type");
4033 memset(v_def,0,sizeof(Type));
4034 return *v_def;
4035 }
4036 }
4037 };
4038
4039 template <class Type>
4040 struct traits_as<Type*, pointer_category> {
4041 static Type* as(PyObject *obj, bool throw_error) {
4042 Type *v = 0;
4043 int res = (obj ? traits_asptr<Type>::asptr(obj, &v) : SWIG_ERROR(-1));
4044 if (SWIG_IsOK(res)(res >= 0)) {
4045 return v;
4046 } else {
4047 if (!PyErr_Occurred()) {
4048 SWIG_Error(SWIG_TypeError, swig::type_name<Type>())SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-5), swig::type_name
<Type>())
;
4049 }
4050 if (throw_error) throw std::invalid_argument("bad type");
4051 return 0;
4052 }
4053 }
4054 };
4055
4056 template <class Type>
4057 inline Type as(PyObject *obj, bool te = false) {
4058 return traits_as<Type, typename traits<Type>::category>::as(obj, te);
4059 }
4060
4061 template <class Type>
4062 struct traits_check<Type, value_category> {
4063 static bool check(PyObject *obj) {
4064 int res = obj ? asval(obj, (Type *)(0)) : SWIG_ERROR(-1);
4065 return SWIG_IsOK(res)(res >= 0) ? true : false;
4066 }
4067 };
4068
4069 template <class Type>
4070 struct traits_check<Type, pointer_category> {
4071 static bool check(PyObject *obj) {
4072 int res = obj ? asptr(obj, (Type **)(0)) : SWIG_ERROR(-1);
4073 return SWIG_IsOK(res)(res >= 0) ? true : false;
4074 }
4075 };
4076
4077 template <class Type>
4078 inline bool check(PyObject *obj) {
4079 return traits_check<Type, typename traits<Type>::category>::check(obj);
4080 }
4081}
4082
4083
4084#include <functional>
4085
4086namespace std {
4087 template <>
4088 struct less <PyObject *>: public binary_function<PyObject *, PyObject *, bool>
4089 {
4090 bool
4091 operator()(PyObject * v, PyObject *w) const
4092 {
4093 bool res;
4094 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
4095 res = PyObject_RichCompareBool(v, w, Py_LT0) ? true : false;
4096 /* This may fall into a case of inconsistent
4097 eg. ObjA > ObjX > ObjB
4098 but ObjA < ObjB
4099 */
4100 if( PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_TypeError) )
4101 {
4102 /* Objects can't be compared, this mostly occurred in Python 3.0 */
4103 /* Compare their ptr directly for a workaround */
4104 res = (v < w);
4105 PyErr_Clear();
4106 }
4107 SWIG_PYTHON_THREAD_END_BLOCK;
4108 return res;
4109 }
4110 };
4111
4112 template <>
4113 struct less <swig::SwigPtr_PyObject>: public binary_function<swig::SwigPtr_PyObject, swig::SwigPtr_PyObject, bool>
4114 {
4115 bool
4116 operator()(const swig::SwigPtr_PyObject& v, const swig::SwigPtr_PyObject& w) const
4117 {
4118 return std::less<PyObject *>()(v, w);
4119 }
4120 };
4121
4122 template <>
4123 struct less <swig::SwigVar_PyObject>: public binary_function<swig::SwigVar_PyObject, swig::SwigVar_PyObject, bool>
4124 {
4125 bool
4126 operator()(const swig::SwigVar_PyObject& v, const swig::SwigVar_PyObject& w) const
4127 {
4128 return std::less<PyObject *>()(v, w);
4129 }
4130 };
4131
4132}
4133
4134namespace swig {
4135 template <> struct traits<PyObject *> {
4136 typedef value_category category;
4137 static const char* type_name() { return "PyObject *"; }
4138 };
4139
4140 template <> struct traits_asval<PyObject * > {
4141 typedef PyObject * value_type;
4142 static int asval(PyObject *obj, value_type *val) {
4143 if (val) *val = obj;
4144 return SWIG_OK(0);
4145 }
4146 };
4147
4148 template <>
4149 struct traits_check<PyObject *, value_category> {
4150 static bool check(PyObject *) {
4151 return true;
4152 }
4153 };
4154
4155 template <> struct traits_from<PyObject *> {
4156 typedef PyObject * value_type;
4157 static PyObject *from(const value_type& val) {
4158 Py_XINCREF(val)do { if ((val) == __null) ; else ( ((PyObject*)(val))->ob_refcnt
++); } while (0)
;
4159 return val;
4160 }
4161 };
4162
4163}
4164
4165namespace swig {
4166 template <class Difference>
4167 inline size_t
4168 check_index(Difference i, size_t size, bool insert = false) {
4169 if ( i < 0 ) {
4170 if ((size_t) (-i) <= size)
4171 return (size_t) (i + size);
4172 } else if ( (size_t) i < size ) {
4173 return (size_t) i;
4174 } else if (insert && ((size_t) i == size)) {
4175 return size;
4176 }
4177 throw std::out_of_range("index out of range");
4178 }
4179
4180 template <class Difference>
4181 void
4182 slice_adjust(Difference i, Difference j, Py_ssize_t step, size_t size, Difference &ii, Difference &jj, bool insert = false) {
4183 if (step == 0) {
4184 throw std::invalid_argument("slice step cannot be zero");
4185 } else if (step > 0) {
4186 // Required range: 0 <= i < size, 0 <= j < size
4187 if (i < 0) {
4188 ii = 0;
4189 } else if (i < (Difference)size) {
4190 ii = i;
4191 } else if (insert && (i >= (Difference)size)) {
4192 ii = (Difference)size;
4193 }
4194 if ( j < 0 ) {
4195 jj = 0;
4196 } else {
4197 jj = (j < (Difference)size) ? j : (Difference)size;
4198 }
4199 } else {
4200 // Required range: -1 <= i < size-1, -1 <= j < size-1
4201 if (i < -1) {
4202 ii = -1;
4203 } else if (i < (Difference) size) {
4204 ii = i;
4205 } else if (i >= (Difference)(size-1)) {
4206 ii = (Difference)(size-1);
4207 }
4208 if (j < -1) {
4209 jj = -1;
4210 } else {
4211 jj = (j < (Difference)size ) ? j : (Difference)(size-1);
4212 }
4213 }
4214 }
4215
4216 template <class Sequence, class Difference>
4217 inline typename Sequence::iterator
4218 getpos(Sequence* self, Difference i) {
4219 typename Sequence::iterator pos = self->begin();
4220 std::advance(pos, check_index(i,self->size()));
4221 return pos;
4222 }
4223
4224 template <class Sequence, class Difference>
4225 inline typename Sequence::const_iterator
4226 cgetpos(const Sequence* self, Difference i) {
4227 typename Sequence::const_iterator pos = self->begin();
4228 std::advance(pos, check_index(i,self->size()));
4229 return pos;
4230 }
4231
4232 template <class Sequence, class Difference>
4233 inline Sequence*
4234 getslice(const Sequence* self, Difference i, Difference j, Py_ssize_t step) {
4235 typename Sequence::size_type size = self->size();
4236 Difference ii = 0;
4237 Difference jj = 0;
4238 swig::slice_adjust(i, j, step, size, ii, jj);
4239
4240 if (step > 0) {
4241 typename Sequence::const_iterator sb = self->begin();
4242 typename Sequence::const_iterator se = self->begin();
4243 std::advance(sb,ii);
4244 std::advance(se,jj);
4245 if (step == 1) {
4246 return new Sequence(sb, se);
4247 } else {
4248 Sequence *sequence = new Sequence();
4249 typename Sequence::const_iterator it = sb;
4250 while (it!=se) {
4251 sequence->push_back(*it);
4252 for (Py_ssize_t c=0; c<step && it!=se; ++c)
4253 it++;
4254 }
4255 return sequence;
4256 }
4257 } else {
4258 Sequence *sequence = new Sequence();
4259 if (ii > jj) {
4260 typename Sequence::const_reverse_iterator sb = self->rbegin();
4261 typename Sequence::const_reverse_iterator se = self->rbegin();
4262 std::advance(sb,size-ii-1);
4263 std::advance(se,size-jj-1);
4264 typename Sequence::const_reverse_iterator it = sb;
4265 while (it!=se) {
4266 sequence->push_back(*it);
4267 for (Py_ssize_t c=0; c<-step && it!=se; ++c)
4268 it++;
4269 }
4270 }
4271 return sequence;
4272 }
4273 }
4274
4275 template <class Sequence, class Difference, class InputSeq>
4276 inline void
4277 setslice(Sequence* self, Difference i, Difference j, Py_ssize_t step, const InputSeq& is = InputSeq()) {
4278 typename Sequence::size_type size = self->size();
4279 Difference ii = 0;
4280 Difference jj = 0;
4281 swig::slice_adjust(i, j, step, size, ii, jj, true);
4282 if (step > 0) {
4283 if (jj < ii)
4284 jj = ii;
4285 if (step == 1) {
4286 size_t ssize = jj - ii;
4287 if (ssize <= is.size()) {
4288 // expanding/staying the same size
4289 typename Sequence::iterator sb = self->begin();
4290 typename InputSeq::const_iterator isit = is.begin();
4291 std::advance(sb,ii);
4292 std::advance(isit, jj - ii);
4293 self->insert(std::copy(is.begin(), isit, sb), isit, is.end());
4294 } else {
4295 // shrinking
4296 typename Sequence::iterator sb = self->begin();
4297 typename Sequence::iterator se = self->begin();
4298 std::advance(sb,ii);
4299 std::advance(se,jj);
4300 self->erase(sb,se);
4301 sb = self->begin();
4302 std::advance(sb,ii);
4303 self->insert(sb, is.begin(), is.end());
4304 }
4305 } else {
4306 size_t replacecount = (jj - ii + step - 1) / step;
4307 if (is.size() != replacecount) {
4308 char msg[1024];
4309 sprintf(msg, "attempt to assign sequence of size %lu to extended slice of size %lu", (unsigned long)is.size(), (unsigned long)replacecount);
4310 throw std::invalid_argument(msg);
4311 }
4312 typename Sequence::const_iterator isit = is.begin();
4313 typename Sequence::iterator it = self->begin();
4314 std::advance(it,ii);
4315 for (size_t rc=0; rc<replacecount; ++rc) {
4316 *it++ = *isit++;
4317 for (Py_ssize_t c=0; c<(step-1) && it != self->end(); ++c)
4318 it++;
4319 }
4320 }
4321 } else {
4322 if (jj > ii)
4323 jj = ii;
4324 size_t replacecount = (ii - jj - step - 1) / -step;
4325 if (is.size() != replacecount) {
4326 char msg[1024];
4327 sprintf(msg, "attempt to assign sequence of size %lu to extended slice of size %lu", (unsigned long)is.size(), (unsigned long)replacecount);
4328 throw std::invalid_argument(msg);
4329 }
4330 typename Sequence::const_iterator isit = is.begin();
4331 typename Sequence::reverse_iterator it = self->rbegin();
4332 std::advance(it,size-ii-1);
4333 for (size_t rc=0; rc<replacecount; ++rc) {
4334 *it++ = *isit++;
4335 for (Py_ssize_t c=0; c<(-step-1) && it != self->rend(); ++c)
4336 it++;
4337 }
4338 }
4339 }
4340
4341 template <class Sequence, class Difference>
4342 inline void
4343 delslice(Sequence* self, Difference i, Difference j, Py_ssize_t step) {
4344 typename Sequence::size_type size = self->size();
4345 Difference ii = 0;
4346 Difference jj = 0;
4347 swig::slice_adjust(i, j, step, size, ii, jj, true);
4348 if (step > 0) {
4349 if (jj > ii) {
4350 typename Sequence::iterator sb = self->begin();
4351 std::advance(sb,ii);
4352 if (step == 1) {
4353 typename Sequence::iterator se = self->begin();
4354 std::advance(se,jj);
4355 self->erase(sb,se);
4356 } else {
4357 typename Sequence::iterator it = sb;
4358 size_t delcount = (jj - ii + step - 1) / step;
4359 while (delcount) {
4360 it = self->erase(it);
4361 for (Py_ssize_t c=0; c<(step-1) && it != self->end(); ++c)
4362 it++;
4363 delcount--;
4364 }
4365 }
4366 }
4367 } else {
4368 if (ii > jj) {
4369 typename Sequence::reverse_iterator sb = self->rbegin();
4370 std::advance(sb,size-ii-1);
4371 typename Sequence::reverse_iterator it = sb;
4372 size_t delcount = (ii - jj - step - 1) / -step;
4373 while (delcount) {
4374 it = typename Sequence::reverse_iterator(self->erase((++it).base()));
4375 for (Py_ssize_t c=0; c<(-step-1) && it != self->rend(); ++c)
4376 it++;
4377 delcount--;
4378 }
4379 }
4380 }
4381 }
4382}
4383
4384
4385#if defined(__SUNPRO_CC) && defined(_RWSTD_VER)
4386# if !defined(SWIG_NO_STD_NOITERATOR_TRAITS_STL)
4387# define SWIG_STD_NOITERATOR_TRAITS_STL
4388# endif
4389#endif
4390
4391#if !defined(SWIG_STD_NOITERATOR_TRAITS_STL)
4392#include <iterator>
4393#else
4394namespace std {
4395 template <class Iterator>
4396 struct iterator_traits {
4397 typedef ptrdiff_t difference_type;
4398 typedef typename Iterator::value_type value_type;
4399 };
4400
4401 template <class Iterator, class Category,class T, class Reference, class Pointer, class Distance>
4402 struct iterator_traits<__reverse_bi_iterator<Iterator,Category,T,Reference,Pointer,Distance> > {
4403 typedef Distance difference_type;
4404 typedef T value_type;
4405 };
4406
4407 template <class T>
4408 struct iterator_traits<T*> {
4409 typedef T value_type;
4410 typedef ptrdiff_t difference_type;
4411 };
4412
4413 template<typename _InputIterator>
4414 inline typename iterator_traits<_InputIterator>::difference_type
4415 distance(_InputIterator __first, _InputIterator __last)
4416 {
4417 typename iterator_traits<_InputIterator>::difference_type __n = 0;
4418 while (__first != __last) {
4419 ++__first; ++__n;
4420 }
4421 return __n;
4422 }
4423}
4424#endif
4425
4426
4427namespace swig {
4428 template<typename OutIterator>
4429 class SwigPyIterator_T : public SwigPyIterator
4430 {
4431 public:
4432 typedef OutIterator out_iterator;
4433 typedef typename std::iterator_traits<out_iterator>::value_type value_type;
4434 typedef SwigPyIterator_T<out_iterator> self_type;
4435
4436 SwigPyIterator_T(out_iterator curr, PyObject *seq)
4437 : SwigPyIterator(seq), current(curr)
4438 {
4439 }
4440
4441 const out_iterator& get_current() const
4442 {
4443 return current;
4444 }
4445
4446
4447 bool equal (const SwigPyIterator &iter) const
4448 {
4449 const self_type *iters = dynamic_cast<const self_type *>(&iter);
4450 if (iters) {
4451 return (current == iters->get_current());
4452 } else {
4453 throw std::invalid_argument("bad iterator type");
4454 }
4455 }
4456
4457 ptrdiff_t distance(const SwigPyIterator &iter) const
4458 {
4459 const self_type *iters = dynamic_cast<const self_type *>(&iter);
4460 if (iters) {
4461 return std::distance(current, iters->get_current());
4462 } else {
4463 throw std::invalid_argument("bad iterator type");
4464 }
4465 }
4466
4467 protected:
4468 out_iterator current;
4469 };
4470
4471 template <class ValueType>
4472 struct from_oper
4473 {
4474 typedef const ValueType& argument_type;
4475 typedef PyObject *result_type;
4476 result_type operator()(argument_type v) const
4477 {
4478 return swig::from(v);
4479 }
4480 };
4481
4482 template<typename OutIterator,
4483 typename ValueType = typename std::iterator_traits<OutIterator>::value_type,
4484 typename FromOper = from_oper<ValueType> >
4485 class SwigPyIteratorOpen_T : public SwigPyIterator_T<OutIterator>
4486 {
4487 public:
4488 FromOper from;
4489 typedef OutIterator out_iterator;
4490 typedef ValueType value_type;
4491 typedef SwigPyIterator_T<out_iterator> base;
4492 typedef SwigPyIteratorOpen_T<OutIterator, ValueType, FromOper> self_type;
4493
4494 SwigPyIteratorOpen_T(out_iterator curr, PyObject *seq)
4495 : SwigPyIterator_T<OutIterator>(curr, seq)
4496 {
4497 }
4498
4499 PyObject *value() const {
4500 return from(static_cast<const value_type&>(*(base::current)));
4501 }
4502
4503 SwigPyIterator *copy() const
4504 {
4505 return new self_type(*this);
4506 }
4507
4508 SwigPyIterator *incr(size_t n = 1)
4509 {
4510 while (n--) {
4511 ++base::current;
4512 }
4513 return this;
4514 }
4515
4516 SwigPyIterator *decr(size_t n = 1)
4517 {
4518 while (n--) {
4519 --base::current;
4520 }
4521 return this;
4522 }
4523 };
4524
4525 template<typename OutIterator,
4526 typename ValueType = typename std::iterator_traits<OutIterator>::value_type,
4527 typename FromOper = from_oper<ValueType> >
4528 class SwigPyIteratorClosed_T : public SwigPyIterator_T<OutIterator>
4529 {
4530 public:
4531 FromOper from;
4532 typedef OutIterator out_iterator;
4533 typedef ValueType value_type;
4534 typedef SwigPyIterator_T<out_iterator> base;
4535 typedef SwigPyIteratorClosed_T<OutIterator, ValueType, FromOper> self_type;
4536
4537 SwigPyIteratorClosed_T(out_iterator curr, out_iterator first, out_iterator last, PyObject *seq)
4538 : SwigPyIterator_T<OutIterator>(curr, seq), begin(first), end(last)
4539 {
4540 }
4541
4542 PyObject *value() const {
4543 if (base::current == end) {
4544 throw stop_iteration();
4545 } else {
4546 return from(static_cast<const value_type&>(*(base::current)));
4547 }
4548 }
4549
4550 SwigPyIterator *copy() const
4551 {
4552 return new self_type(*this);
4553 }
4554
4555 SwigPyIterator *incr(size_t n = 1)
4556 {
4557 while (n--) {
4558 if (base::current == end) {
4559 throw stop_iteration();
4560 } else {
4561 ++base::current;
4562 }
4563 }
4564 return this;
4565 }
4566
4567 SwigPyIterator *decr(size_t n = 1)
4568 {
4569 while (n--) {
4570 if (base::current == begin) {
4571 throw stop_iteration();
4572 } else {
4573 --base::current;
4574 }
4575 }
4576 return this;
4577 }
4578
4579 private:
4580 out_iterator begin;
4581 out_iterator end;
4582 };
4583
4584 template<typename OutIter>
4585 inline SwigPyIterator*
4586 make_output_iterator(const OutIter& current, const OutIter& begin,const OutIter& end, PyObject *seq = 0)
4587 {
4588 return new SwigPyIteratorClosed_T<OutIter>(current, begin, end, seq);
4589 }
4590
4591 template<typename OutIter>
4592 inline SwigPyIterator*
4593 make_output_iterator(const OutIter& current, PyObject *seq = 0)
4594 {
4595 return new SwigPyIteratorOpen_T<OutIter>(current, seq);
4596 }
4597
4598}
4599
4600
4601namespace swig
4602{
4603 template <class T>
4604 struct SwigPySequence_Ref
4605 {
4606 SwigPySequence_Ref(PyObject* seq, int index)
4607 : _seq(seq), _index(index)
4608 {
4609 }
4610
4611 operator T () const
4612 {
4613 swig::SwigVar_PyObject item = PySequence_GetItem(_seq, _index);
4614 try {
4615 return swig::as<T>(item, true);
4616 } catch (std::exception& e) {
4617 char msg[1024];
4618 sprintf(msg, "in sequence element %d ", _index);
4619 if (!PyErr_Occurred()) {
4620 ::SWIG_Error(SWIG_TypeError, swig::type_name<T>())SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-5), swig::type_name
<T>())
;
4621 }
4622 SWIG_Python_AddErrorMsg(msg);
4623 SWIG_Python_AddErrorMsg(e.what());
4624 throw;
4625 }
4626 }
4627
4628 SwigPySequence_Ref& operator=(const T& v)
4629 {
4630 PySequence_SetItem(_seq, _index, swig::from<T>(v));
4631 return *this;
4632 }
4633
4634 private:
4635 PyObject* _seq;
4636 int _index;
4637 };
4638
4639 template <class T>
4640 struct SwigPySequence_ArrowProxy
4641 {
4642 SwigPySequence_ArrowProxy(const T& x): m_value(x) {}
4643 const T* operator->() const { return &m_value; }
4644 operator const T*() const { return &m_value; }
4645 T m_value;
4646 };
4647
4648 template <class T, class Reference >
4649 struct SwigPySequence_InputIterator
4650 {
4651 typedef SwigPySequence_InputIterator<T, Reference > self;
4652
4653 typedef std::random_access_iterator_tag iterator_category;
4654 typedef Reference reference;
4655 typedef T value_type;
4656 typedef T* pointer;
4657 typedef int difference_type;
4658
4659 SwigPySequence_InputIterator()
4660 {
4661 }
4662
4663 SwigPySequence_InputIterator(PyObject* seq, int index)
4664 : _seq(seq), _index(index)
4665 {
4666 }
4667
4668 reference operator*() const
4669 {
4670 return reference(_seq, _index);
4671 }
4672
4673 SwigPySequence_ArrowProxy<T>
4674 operator->() const {
4675 return SwigPySequence_ArrowProxy<T>(operator*());
4676 }
4677
4678 bool operator==(const self& ri) const
4679 {
4680 return (_index == ri._index) && (_seq == ri._seq);
4681 }
4682
4683 bool operator!=(const self& ri) const
4684 {
4685 return !(operator==(ri));
4686 }
4687
4688 self& operator ++ ()
4689 {
4690 ++_index;
4691 return *this;
4692 }
4693
4694 self& operator -- ()
4695 {
4696 --_index;
4697 return *this;
4698 }
4699
4700 self& operator += (difference_type n)
4701 {
4702 _index += n;
4703 return *this;
4704 }
4705
4706 self operator +(difference_type n) const
4707 {
4708 return self(_seq, _index + n);
4709 }
4710
4711 self& operator -= (difference_type n)
4712 {
4713 _index -= n;
4714 return *this;
4715 }
4716
4717 self operator -(difference_type n) const
4718 {
4719 return self(_seq, _index - n);
4720 }
4721
4722 difference_type operator - (const self& ri) const
4723 {
4724 return _index - ri._index;
4725 }
4726
4727 bool operator < (const self& ri) const
4728 {
4729 return _index < ri._index;
4730 }
4731
4732 reference
4733 operator[](difference_type n) const
4734 {
4735 return reference(_seq, _index + n);
4736 }
4737
4738 private:
4739 PyObject* _seq;
4740 difference_type _index;
4741 };
4742
4743 template <class T>
4744 struct SwigPySequence_Cont
4745 {
4746 typedef SwigPySequence_Ref<T> reference;
4747 typedef const SwigPySequence_Ref<T> const_reference;
4748 typedef T value_type;
4749 typedef T* pointer;
4750 typedef int difference_type;
4751 typedef int size_type;
4752 typedef const pointer const_pointer;
4753 typedef SwigPySequence_InputIterator<T, reference> iterator;
4754 typedef SwigPySequence_InputIterator<T, const_reference> const_iterator;
4755
4756 SwigPySequence_Cont(PyObject* seq) : _seq(0)
4757 {
4758 if (!PySequence_Check(seq)) {
4759 throw std::invalid_argument("a sequence is expected");
4760 }
4761 _seq = seq;
4762 Py_INCREF(_seq)( ((PyObject*)(_seq))->ob_refcnt++);
4763 }
4764
4765 ~SwigPySequence_Cont()
4766 {
4767 Py_XDECREF(_seq)do { if ((_seq) == __null) ; else do { if ( --((PyObject*)(_seq
))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(
_seq)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *
)(_seq)))); } while (0); } while (0)
;
4768 }
4769
4770 size_type size() const
4771 {
4772 return static_cast<size_type>(PySequence_Size(_seq));
4773 }
4774
4775 bool empty() const
4776 {
4777 return size() == 0;
4778 }
4779
4780 iterator begin()
4781 {
4782 return iterator(_seq, 0);
4783 }
4784
4785 const_iterator begin() const
4786 {
4787 return const_iterator(_seq, 0);
4788 }
4789
4790 iterator end()
4791 {
4792 return iterator(_seq, size());
4793 }
4794
4795 const_iterator end() const
4796 {
4797 return const_iterator(_seq, size());
4798 }
4799
4800 reference operator[](difference_type n)
4801 {
4802 return reference(_seq, n);
4803 }
4804
4805 const_reference operator[](difference_type n) const
4806 {
4807 return const_reference(_seq, n);
4808 }
4809
4810 bool check(bool set_err = true) const
4811 {
4812 int s = size();
4813 for (int i = 0; i < s; ++i) {
4814 swig::SwigVar_PyObject item = PySequence_GetItem(_seq, i);
4815 if (!swig::check<value_type>(item)) {
4816 if (set_err) {
4817 char msg[1024];
4818 sprintf(msg, "in sequence element %d", i);
4819 SWIG_Error(SWIG_RuntimeError, msg)SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), msg);
4820 }
4821 return false;
4822 }
4823 }
4824 return true;
4825 }
4826
4827 private:
4828 PyObject* _seq;
4829 };
4830
4831}
4832
4833
4834namespace swig {
4835 template <> struct traits<double > {
4836 typedef value_category category;
4837 static const char* type_name() { return"double"; }
4838 };
4839 template <> struct traits_asval<double > {
4840 typedef double value_type;
4841 static int asval(PyObject *obj, value_type *val) {
4842 return SWIG_AsVal_double (obj, val);
4843 }
4844 };
4845 template <> struct traits_from<double > {
4846 typedef double value_type;
4847 static PyObject *from(const value_type& val) {
4848 return SWIG_From_doublePyFloat_FromDouble (val);
4849 }
4850 };
4851}
4852
4853
4854namespace swig {
4855 template <class SwigPySeq, class Seq>
4856 inline void
4857 assign(const SwigPySeq& swigpyseq, Seq* seq) {
4858 // seq->assign(swigpyseq.begin(), swigpyseq.end()); // not used as not always implemented
4859 typedef typename SwigPySeq::value_type value_type;
4860 typename SwigPySeq::const_iterator it = swigpyseq.begin();
4861 for (;it != swigpyseq.end(); ++it) {
4862 seq->insert(seq->end(),(value_type)(*it));
4863 }
4864 }
4865
4866 template <class Seq, class T = typename Seq::value_type >
4867 struct traits_asptr_stdseq {
4868 typedef Seq sequence;
4869 typedef T value_type;
4870
4871 static int asptr(PyObject *obj, sequence **seq) {
4872 if (obj == Py_None(&_Py_NoneStruct) || SWIG_Python_GetSwigThis(obj)) {
4873 sequence *p;
4874 if (::SWIG_ConvertPtr(obj,(void**)&p,SWIG_Python_ConvertPtrAndOwn(obj, (void**)&p, swig::type_info
<sequence>(), 0, 0)
4875 swig::type_info<sequence>(),0)SWIG_Python_ConvertPtrAndOwn(obj, (void**)&p, swig::type_info
<sequence>(), 0, 0)
== SWIG_OK(0)) {
4876 if (seq) *seq = p;
4877 return SWIG_OLDOBJ((0));
4878 }
4879 } else if (PySequence_Check(obj)) {
4880 try {
4881 SwigPySequence_Cont<value_type> swigpyseq(obj);
4882 if (seq) {
4883 sequence *pseq = new sequence();
4884 assign(swigpyseq, pseq);
4885 *seq = pseq;
4886 return SWIG_NEWOBJ((0) | ((1 << 8) << 1));
4887 } else {
4888 return swigpyseq.check() ? SWIG_OK(0) : SWIG_ERROR(-1);
4889 }
4890 } catch (std::exception& e) {
4891 if (seq) {
4892 if (!PyErr_Occurred()) {
4893 PyErr_SetString(PyExc_TypeError, e.what());
4894 }
4895 }
4896 return SWIG_ERROR(-1);
4897 }
4898 }
4899 return SWIG_ERROR(-1);
4900 }
4901 };
4902
4903 template <class Seq, class T = typename Seq::value_type >
4904 struct traits_from_stdseq {
4905 typedef Seq sequence;
4906 typedef T value_type;
4907 typedef typename Seq::size_type size_type;
4908 typedef typename sequence::const_iterator const_iterator;
4909
4910 static PyObject *from(const sequence& seq) {
4911#ifdef SWIG_PYTHON_EXTRA_NATIVE_CONTAINERS
4912 swig_type_info *desc = swig::type_info<sequence>();
4913 if (desc && desc->clientdata) {
4914 return SWIG_NewPointerObj(new sequence(seq), desc, SWIG_POINTER_OWN)SWIG_Python_NewPointerObj(__null, new sequence(seq), desc, 0x1
)
;
4915 }
4916#endif
4917 size_type size = seq.size();
4918 if (size <= (size_type)INT_MAX2147483647) {
4919 PyObject *obj = PyTuple_New((int)size);
4920 int i = 0;
4921 for (const_iterator it = seq.begin();
4922 it != seq.end(); ++it, ++i) {
4923 PyTuple_SetItem(obj,i,swig::from<value_type>(*it));
4924 }
4925 return obj;
4926 } else {
4927 PyErr_SetString(PyExc_OverflowError,"sequence size not valid in python");
4928 return NULL__null;
4929 }
4930 }
4931 };
4932}
4933
4934
4935 namespace swig {
4936 template <class T>
4937 struct traits_asptr<std::vector<T> > {
4938 static int asptr(PyObject *obj, std::vector<T> **vec) {
4939 return traits_asptr_stdseq<std::vector<T> >::asptr(obj, vec);
4940 }
4941 };
4942
4943 template <class T>
4944 struct traits_from<std::vector<T> > {
4945 static PyObject *from(const std::vector<T>& vec) {
4946 return traits_from_stdseq<std::vector<T> >::from(vec);
4947 }
4948 };
4949 }
4950
4951
4952 namespace swig {
4953 template <> struct traits<std::vector<double, std::allocator< double > > > {
4954 typedef pointer_category category;
4955 static const char* type_name() {
4956 return "std::vector<" "double" "," "std::allocator< double >" " >";
4957 }
4958 };
4959 }
4960
4961SWIGINTERNstatic __attribute__ ((__unused__)) swig::SwigPyIterator *std_vector_Sl_double_Sg__iterator(std::vector< double > *self,PyObject **PYTHON_SELF){
4962 return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
4963 }
4964SWIGINTERNstatic __attribute__ ((__unused__)) bool std_vector_Sl_double_Sg____nonzero__(std::vector< double > const *self){
4965 return !(self->empty());
4966 }
4967SWIGINTERNstatic __attribute__ ((__unused__)) bool std_vector_Sl_double_Sg____bool__(std::vector< double > const *self){
4968 return !(self->empty());
4969 }
4970SWIGINTERNstatic __attribute__ ((__unused__)) std::vector< double >::size_type std_vector_Sl_double_Sg____len__(std::vector< double > const *self){
4971 return self->size();
4972 }
4973
4974SWIGINTERNINLINEstatic __attribute__ ((__unused__)) inline PyObject *
4975SWIG_From_size_t (size_t value)
4976{
4977 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
4978}
4979
4980SWIGINTERNstatic __attribute__ ((__unused__)) std::vector< double >::value_type std_vector_Sl_double_Sg__pop(std::vector< double > *self){
4981 if (self->size() == 0)
4982 throw std::out_of_range("pop from empty container");
4983 std::vector<double,std::allocator< double > >::value_type x = self->back();
4984 self->pop_back();
4985 return x;
4986 }
4987SWIGINTERNstatic __attribute__ ((__unused__)) 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){
4988 return swig::getslice(self, i, j, 1);
4989 }
4990SWIGINTERNstatic __attribute__ ((__unused__)) 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 > >()){
4991 swig::setslice(self, i, j, 1, v);
4992 }
4993SWIGINTERNstatic __attribute__ ((__unused__)) void std_vector_Sl_double_Sg____delslice__(std::vector< double > *self,std::vector< double >::difference_type i,std::vector< double >::difference_type j){
4994 swig::delslice(self, i, j, 1);
4995 }
4996SWIGINTERNstatic __attribute__ ((__unused__)) void std_vector_Sl_double_Sg____delitem____SWIG_0(std::vector< double > *self,std::vector< double >::difference_type i){
4997 self->erase(swig::getpos(self,i));
4998 }
4999SWIGINTERNstatic __attribute__ ((__unused__)) std::vector< double,std::allocator< double > > *std_vector_Sl_double_Sg____getitem____SWIG_0(std::vector< double > *self,PySliceObject *slice){
5000 Py_ssize_t i, j, step;
5001 if( !PySlice_Check(slice)((((PyObject*)(slice))->ob_type) == &PySlice_Type) ) {
5002 SWIG_Error(SWIG_TypeError, "Slice object expected.")SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-5), "Slice object expected."
)
;
5003 return NULL__null;
5004 }
5005 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice)((PySliceObject*) (slice)), (Py_ssize_t)self->size(), &i, &j, &step);
5006 std::vector<double,std::allocator< double > >::difference_type id = i;
5007 std::vector<double,std::allocator< double > >::difference_type jd = j;
5008 return swig::getslice(self, id, jd, step);
5009 }
5010SWIGINTERNstatic __attribute__ ((__unused__)) void std_vector_Sl_double_Sg____setitem____SWIG_0(std::vector< double > *self,PySliceObject *slice,std::vector< double,std::allocator< double > > const &v){
5011 Py_ssize_t i, j, step;
5012 if( !PySlice_Check(slice)((((PyObject*)(slice))->ob_type) == &PySlice_Type) ) {
5013 SWIG_Error(SWIG_TypeError, "Slice object expected.")SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-5), "Slice object expected."
)
;
5014 return;
5015 }
5016 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice)((PySliceObject*) (slice)), (Py_ssize_t)self->size(), &i, &j, &step);
5017 std::vector<double,std::allocator< double > >::difference_type id = i;
5018 std::vector<double,std::allocator< double > >::difference_type jd = j;
5019 swig::setslice(self, id, jd, step, v);
5020 }
5021SWIGINTERNstatic __attribute__ ((__unused__)) void std_vector_Sl_double_Sg____setitem____SWIG_1(std::vector< double > *self,PySliceObject *slice){
5022 Py_ssize_t i, j, step;
5023 if( !PySlice_Check(slice)((((PyObject*)(slice))->ob_type) == &PySlice_Type) ) {
5024 SWIG_Error(SWIG_TypeError, "Slice object expected.")SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-5), "Slice object expected."
)
;
5025 return;
5026 }
5027 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice)((PySliceObject*) (slice)), (Py_ssize_t)self->size(), &i, &j, &step);
5028 std::vector<double,std::allocator< double > >::difference_type id = i;
5029 std::vector<double,std::allocator< double > >::difference_type jd = j;
5030 swig::delslice(self, id, jd, step);
5031 }
5032SWIGINTERNstatic __attribute__ ((__unused__)) void std_vector_Sl_double_Sg____delitem____SWIG_1(std::vector< double > *self,PySliceObject *slice){
5033 Py_ssize_t i, j, step;
5034 if( !PySlice_Check(slice)((((PyObject*)(slice))->ob_type) == &PySlice_Type) ) {
5035 SWIG_Error(SWIG_TypeError, "Slice object expected.")SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-5), "Slice object expected."
)
;
5036 return;
5037 }
5038 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice)((PySliceObject*) (slice)), (Py_ssize_t)self->size(), &i, &j, &step);
5039 std::vector<double,std::allocator< double > >::difference_type id = i;
5040 std::vector<double,std::allocator< double > >::difference_type jd = j;
5041 swig::delslice(self, id, jd, step);
5042 }
5043SWIGINTERNstatic __attribute__ ((__unused__)) 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){
5044 return *(swig::cgetpos(self, i));
5045 }
5046SWIGINTERNstatic __attribute__ ((__unused__)) 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){
5047 *(swig::getpos(self,i)) = x;
5048 }
5049SWIGINTERNstatic __attribute__ ((__unused__)) void std_vector_Sl_double_Sg__append(std::vector< double > *self,std::vector< double >::value_type const &x){
5050 self->push_back(x);
5051 }
5052SWIGINTERNstatic __attribute__ ((__unused__)) GCTAResponseTable GCTAResponseTable_copy(GCTAResponseTable *self){
5053 return (*self);
5054 }
5055
5056/* Put headers and other declarations here that are needed for compilation */
5057#include "GCTAAeff.hpp"
5058#include "GTools.hpp"
5059
5060
5061/* Put headers and other declarations here that are needed for compilation */
5062#include "GCTAAeffPerfTable.hpp"
5063#include "GTools.hpp"
5064
5065SWIGINTERNstatic __attribute__ ((__unused__)) GCTAAeffPerfTable GCTAAeffPerfTable_copy(GCTAAeffPerfTable *self){
5066 return (*self);
5067 }
5068
5069/* Put headers and other declarations here that are needed for compilation */
5070#include "GCTAAeffArf.hpp"
5071#include "GTools.hpp"
5072
5073SWIGINTERNstatic __attribute__ ((__unused__)) GCTAAeffArf GCTAAeffArf_copy(GCTAAeffArf *self){
5074 return (*self);
5075 }
5076
5077/* Put headers and other declarations here that are needed for compilation */
5078#include "GCTAAeff2D.hpp"
5079#include "GTools.hpp"
5080
5081SWIGINTERNstatic __attribute__ ((__unused__)) GCTAAeff2D GCTAAeff2D_copy(GCTAAeff2D *self){
5082 return (*self);
5083 }
5084
5085/* Put headers and other declarations here that are needed for compilation */
5086#include "GCTAPsf.hpp"
5087#include "GTools.hpp"
5088
5089
5090/* Put headers and other declarations here that are needed for compilation */
5091#include "GCTAPsfPerfTable.hpp"
5092#include "GTools.hpp"
5093
5094SWIGINTERNstatic __attribute__ ((__unused__)) GCTAPsfPerfTable GCTAPsfPerfTable_copy(GCTAPsfPerfTable *self){
5095 return (*self);
5096 }
5097
5098/* Put headers and other declarations here that are needed for compilation */
5099#include "GCTAPsfVector.hpp"
5100#include "GTools.hpp"
5101
5102SWIGINTERNstatic __attribute__ ((__unused__)) GCTAPsfVector GCTAPsfVector_copy(GCTAPsfVector *self){
5103 return (*self);
5104 }
5105
5106/* Put headers and other declarations here that are needed for compilation */
5107#include "GCTAPsf2D.hpp"
5108#include "GTools.hpp"
5109
5110SWIGINTERNstatic __attribute__ ((__unused__)) GCTAPsf2D GCTAPsf2D_copy(GCTAPsf2D *self){
5111 return (*self);
5112 }
5113
5114/* Put headers and other declarations here that are needed for compilation */
5115#include "GCTAPsfKing.hpp"
5116#include "GTools.hpp"
5117
5118SWIGINTERNstatic __attribute__ ((__unused__)) GCTAPsfKing GCTAPsfKing_copy(GCTAPsfKing *self){
5119 return (*self);
5120 }
5121
5122/* Put headers and other declarations here that are needed for compilation */
5123#include "GCTAEdisp.hpp"
5124
5125
5126/* Put headers and other declarations here that are needed for compilation */
5127#include "GCTAInstDir.hpp"
5128
5129SWIGINTERNstatic __attribute__ ((__unused__)) GCTAInstDir GCTAInstDir_copy(GCTAInstDir *self){
5130 return (*self);
5131 }
5132SWIGINTERNstatic __attribute__ ((__unused__)) GCTAInstDir *new_GCTAInstDir__SWIG_3(GInstDir *dir){
5133 GCTAInstDir* ptr = dynamic_cast<GCTAInstDir*>(dir);
5134 if (ptr != NULL__null) {
5135 return (ptr->clone());
5136 }
5137 else {
5138 throw GException::bad_type("GCTAInstDir(GInstDir*)",
5139 "GInstDir not of type GCTAInstDir");
5140 }
5141 }
5142
5143/* Put headers and other declarations here that are needed for compilation */
5144#include "GCTARoi.hpp"
5145
5146SWIGINTERNstatic __attribute__ ((__unused__)) GCTARoi GCTARoi_copy(GCTARoi *self){
5147 return (*self);
5148 }
5149
5150/* Put headers and other declarations here that are needed for compilation */
5151#include "GCTAModelBackground.hpp"
5152#include "GTools.hpp"
5153
5154
5155/* Put headers and other declarations here that are needed for compilation */
5156#include "GCTAModelRadial.hpp"
5157#include "GTools.hpp"
5158
5159SWIGINTERNstatic __attribute__ ((__unused__)) GModelPar &GCTAModelRadial___getitem____SWIG_0(GCTAModelRadial *self,int const &index){
5160 if (index >= 0 && index < self->size())
5161 return (*self)[index];
5162 else
5163 throw GException::out_of_range("__getitem__(int)", index, self->size());
5164 }
5165SWIGINTERNstatic __attribute__ ((__unused__)) GModelPar &GCTAModelRadial___getitem____SWIG_1(GCTAModelRadial *self,std::string const &name){
5166 return (*self)[name];
5167 }
5168SWIGINTERNstatic __attribute__ ((__unused__)) void GCTAModelRadial___setitem____SWIG_0(GCTAModelRadial *self,int const &index,GModelPar const &val){
5169 if (index>=0 && index < self->size()) {
5170 (*self)[index] = val;
5171 return;
5172 }
5173 else
5174 throw GException::out_of_range("__setitem__(int)", index, self->size());
5175 }
5176SWIGINTERNstatic __attribute__ ((__unused__)) void GCTAModelRadial___setitem____SWIG_1(GCTAModelRadial *self,std::string const &name,GModelPar const &val){
5177 (*self)[name] = val;
5178 return;
5179 }
5180
5181/* Put headers and other declarations here that are needed for compilation */
5182#include "GCTAModelRadialRegistry.hpp"
5183#include "GTools.hpp"
5184
5185
5186/* Put headers and other declarations here that are needed for compilation */
5187#include "GCTAModelRadialGauss.hpp"
5188#include "GTools.hpp"
5189
5190
5191/* Put headers and other declarations here that are needed for compilation */
5192#include "GCTAModelRadialPolynom.hpp"
5193#include "GTools.hpp"
5194
5195
5196/* Put headers and other declarations here that are needed for compilation */
5197#include "GCTAModelRadialProfile.hpp"
5198#include "GTools.hpp"
5199
5200
5201/* Put headers and other declarations here that are needed for compilation */
5202#include "GCTAModelRadialAcceptance.hpp"
5203#include "GTools.hpp"
5204
5205#ifdef __cplusplus199711L
5206extern "C" {
5207#endif
5208SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_SwigPyIterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5209 PyObject *resultobj = 0;
5210 swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
5211 void *argp1 = 0 ;
5212 int res1 = 0 ;
5213 PyObject * obj0 = 0 ;
5214
5215 if (!PyArg_ParseTuple(args,(char *)"O:delete_SwigPyIterator",&obj0)) SWIG_failgoto fail;
5216 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[76]
, 0x1 | 0, 0)
;
5217 if (!SWIG_IsOK(res1)(res1 >= 0)) {
5218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SwigPyIterator" "', argument " "1"" of type '" "swig::SwigPyIterator *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_SwigPyIterator" "', argument "
"1"" of type '" "swig::SwigPyIterator *""'"); goto fail; } while
(0)
;
5219 }
5220 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
5221 delete arg1;
5222 resultobj = SWIG_Py_Void();
5223 return resultobj;
5224fail:
5225 return NULL__null;
5226}
5227
5228
5229SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5230 PyObject *resultobj = 0;
5231 swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
5232 void *argp1 = 0 ;
5233 int res1 = 0 ;
5234 PyObject * obj0 = 0 ;
5235 PyObject *result = 0 ;
5236
5237 if (!PyArg_ParseTuple(args,(char *)"O:SwigPyIterator_value",&obj0)) SWIG_failgoto fail;
5238 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[76]
, 0 | 0, 0)
;
5239 if (!SWIG_IsOK(res1)(res1 >= 0)) {
5240 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator_value" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "SwigPyIterator_value" "', argument "
"1"" of type '" "swig::SwigPyIterator const *""'"); goto fail
; } while(0)
;
5241 }
5242 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
5243 try {
5244 result = (PyObject *)((swig::SwigPyIterator const *)arg1)->value();
5245 }
5246 catch(swig::stop_iteration &_e) {
5247 {
5248 (void)_e;
5249 SWIG_SetErrorObjSWIG_Python_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
5250 SWIG_failgoto fail;
5251 }
5252 }
5253
5254 resultobj = result;
5255 return resultobj;
5256fail:
5257 return NULL__null;
5258}
5259
5260
5261SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator_incr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5262 PyObject *resultobj = 0;
5263 swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
5264 size_t arg2 ;
5265 void *argp1 = 0 ;
5266 int res1 = 0 ;
5267 size_t val2 ;
5268 int ecode2 = 0 ;
5269 PyObject * obj0 = 0 ;
5270 PyObject * obj1 = 0 ;
5271 swig::SwigPyIterator *result = 0 ;
5272
5273 if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator_incr",&obj0,&obj1)) SWIG_failgoto fail;
5274 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[76]
, 0 | 0, 0)
;
5275 if (!SWIG_IsOK(res1)(res1 >= 0)) {
5276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator_incr" "', argument " "1"" of type '" "swig::SwigPyIterator *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "SwigPyIterator_incr" "', argument "
"1"" of type '" "swig::SwigPyIterator *""'"); goto fail; } while
(0)
;
5277 }
5278 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
5279 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
5280 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
5281 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SwigPyIterator_incr" "', argument " "2"" of type '" "size_t""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "SwigPyIterator_incr" "', argument "
"2"" of type '" "size_t""'"); goto fail; } while(0)
;
5282 }
5283 arg2 = static_cast< size_t >(val2);
5284 try {
5285 result = (swig::SwigPyIterator *)(arg1)->incr(arg2);
5286 }
5287 catch(swig::stop_iteration &_e) {
5288 {
5289 (void)_e;
5290 SWIG_SetErrorObjSWIG_Python_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
5291 SWIG_failgoto fail;
5292 }
5293 }
5294
5295 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[76], 0
| 0)
;
5296 return resultobj;
5297fail:
5298 return NULL__null;
5299}
5300
5301
5302SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator_incr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5303 PyObject *resultobj = 0;
5304 swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
5305 void *argp1 = 0 ;
5306 int res1 = 0 ;
5307 PyObject * obj0 = 0 ;
5308 swig::SwigPyIterator *result = 0 ;
5309
5310 if (!PyArg_ParseTuple(args,(char *)"O:SwigPyIterator_incr",&obj0)) SWIG_failgoto fail;
5311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[76]
, 0 | 0, 0)
;
5312 if (!SWIG_IsOK(res1)(res1 >= 0)) {
5313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator_incr" "', argument " "1"" of type '" "swig::SwigPyIterator *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "SwigPyIterator_incr" "', argument "
"1"" of type '" "swig::SwigPyIterator *""'"); goto fail; } while
(0)
;
5314 }
5315 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
5316 try {
5317 result = (swig::SwigPyIterator *)(arg1)->incr();
5318 }
5319 catch(swig::stop_iteration &_e) {
5320 {
5321 (void)_e;
5322 SWIG_SetErrorObjSWIG_Python_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
5323 SWIG_failgoto fail;
5324 }
5325 }
5326
5327 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[76], 0
| 0)
;
5328 return resultobj;
5329fail:
5330 return NULL__null;
5331}
5332
5333
5334SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator_incr(PyObject *self, PyObject *args) {
5335 int argc;
5336 PyObject *argv[3];
5337 int ii;
5338
5339 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
5340 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
5341 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
5342 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
5343 }
5344 if (argc == 1) {
5345 int _v;
5346 void *vptr = 0;
5347 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_swig__SwigPyIterator, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[76
], 0, 0)
;
5348 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
5349 if (_v) {
5350 return _wrap_SwigPyIterator_incr__SWIG_1(self, args);
5351 }
5352 }
5353 if (argc == 2) {
5354 int _v;
5355 void *vptr = 0;
5356 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_swig__SwigPyIterator, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[76
], 0, 0)
;
5357 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
5358 if (_v) {
5359 {
5360 int res = SWIG_AsVal_size_t(argv[1], NULL__null);
5361 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
5362 }
5363 if (_v) {
5364 return _wrap_SwigPyIterator_incr__SWIG_0(self, args);
5365 }
5366 }
5367 }
5368
5369fail:
5370 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'SwigPyIterator_incr'.\n"
5371 " Possible C/C++ prototypes are:\n"
5372 " swig::SwigPyIterator::incr(size_t)\n"
5373 " swig::SwigPyIterator::incr()\n");
5374 return 0;
5375}
5376
5377
5378SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator_decr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5379 PyObject *resultobj = 0;
5380 swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
5381 size_t arg2 ;
5382 void *argp1 = 0 ;
5383 int res1 = 0 ;
5384 size_t val2 ;
5385 int ecode2 = 0 ;
5386 PyObject * obj0 = 0 ;
5387 PyObject * obj1 = 0 ;
5388 swig::SwigPyIterator *result = 0 ;
5389
5390 if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator_decr",&obj0,&obj1)) SWIG_failgoto fail;
5391 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[76]
, 0 | 0, 0)
;
5392 if (!SWIG_IsOK(res1)(res1 >= 0)) {
5393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator_decr" "', argument " "1"" of type '" "swig::SwigPyIterator *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "SwigPyIterator_decr" "', argument "
"1"" of type '" "swig::SwigPyIterator *""'"); goto fail; } while
(0)
;
5394 }
5395 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
5396 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
5397 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
5398 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SwigPyIterator_decr" "', argument " "2"" of type '" "size_t""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "SwigPyIterator_decr" "', argument "
"2"" of type '" "size_t""'"); goto fail; } while(0)
;
5399 }
5400 arg2 = static_cast< size_t >(val2);
5401 try {
5402 result = (swig::SwigPyIterator *)(arg1)->decr(arg2);
5403 }
5404 catch(swig::stop_iteration &_e) {
5405 {
5406 (void)_e;
5407 SWIG_SetErrorObjSWIG_Python_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
5408 SWIG_failgoto fail;
5409 }
5410 }
5411
5412 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[76], 0
| 0)
;
5413 return resultobj;
5414fail:
5415 return NULL__null;
5416}
5417
5418
5419SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator_decr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5420 PyObject *resultobj = 0;
5421 swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
5422 void *argp1 = 0 ;
5423 int res1 = 0 ;
5424 PyObject * obj0 = 0 ;
5425 swig::SwigPyIterator *result = 0 ;
5426
5427 if (!PyArg_ParseTuple(args,(char *)"O:SwigPyIterator_decr",&obj0)) SWIG_failgoto fail;
5428 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[76]
, 0 | 0, 0)
;
5429 if (!SWIG_IsOK(res1)(res1 >= 0)) {
5430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator_decr" "', argument " "1"" of type '" "swig::SwigPyIterator *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "SwigPyIterator_decr" "', argument "
"1"" of type '" "swig::SwigPyIterator *""'"); goto fail; } while
(0)
;
5431 }
5432 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
5433 try {
5434 result = (swig::SwigPyIterator *)(arg1)->decr();
5435 }
5436 catch(swig::stop_iteration &_e) {
5437 {
5438 (void)_e;
5439 SWIG_SetErrorObjSWIG_Python_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
5440 SWIG_failgoto fail;
5441 }
5442 }
5443
5444 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[76], 0
| 0)
;
5445 return resultobj;
5446fail:
5447 return NULL__null;
5448}
5449
5450
5451SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator_decr(PyObject *self, PyObject *args) {
5452 int argc;
5453 PyObject *argv[3];
5454 int ii;
5455
5456 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
5457 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
5458 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
5459 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
5460 }
5461 if (argc == 1) {
5462 int _v;
5463 void *vptr = 0;
5464 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_swig__SwigPyIterator, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[76
], 0, 0)
;
5465 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
5466 if (_v) {
5467 return _wrap_SwigPyIterator_decr__SWIG_1(self, args);
5468 }
5469 }
5470 if (argc == 2) {
5471 int _v;
5472 void *vptr = 0;
5473 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_swig__SwigPyIterator, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[76
], 0, 0)
;
5474 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
5475 if (_v) {
5476 {
5477 int res = SWIG_AsVal_size_t(argv[1], NULL__null);
5478 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
5479 }
5480 if (_v) {
5481 return _wrap_SwigPyIterator_decr__SWIG_0(self, args);
5482 }
5483 }
5484 }
5485
5486fail:
5487 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'SwigPyIterator_decr'.\n"
5488 " Possible C/C++ prototypes are:\n"
5489 " swig::SwigPyIterator::decr(size_t)\n"
5490 " swig::SwigPyIterator::decr()\n");
5491 return 0;
5492}
5493
5494
5495SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator_distance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5496 PyObject *resultobj = 0;
5497 swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
5498 swig::SwigPyIterator *arg2 = 0 ;
5499 void *argp1 = 0 ;
5500 int res1 = 0 ;
5501 void *argp2 = 0 ;
5502 int res2 = 0 ;
5503 PyObject * obj0 = 0 ;
5504 PyObject * obj1 = 0 ;
5505 ptrdiff_t result;
5506
5507 if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator_distance",&obj0,&obj1)) SWIG_failgoto fail;
5508 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[76]
, 0 | 0, 0)
;
5509 if (!SWIG_IsOK(res1)(res1 >= 0)) {
5510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator_distance" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "SwigPyIterator_distance" "', argument "
"1"" of type '" "swig::SwigPyIterator const *""'"); goto fail
; } while(0)
;
5511 }
5512 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
5513 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_swig__SwigPyIterator, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[76]
, 0 | 0, 0)
;
5514 if (!SWIG_IsOK(res2)(res2 >= 0)) {
5515 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SwigPyIterator_distance" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "SwigPyIterator_distance" "', argument "
"2"" of type '" "swig::SwigPyIterator const &""'"); goto
fail; } while(0)
;
5516 }
5517 if (!argp2) {
5518 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SwigPyIterator_distance" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "SwigPyIterator_distance" "', argument " "2"" of type '"
"swig::SwigPyIterator const &""'"); goto fail; } while(0
)
;
5519 }
5520 arg2 = reinterpret_cast< swig::SwigPyIterator * >(argp2);
5521 try {
5522 result = ((swig::SwigPyIterator const *)arg1)->distance((swig::SwigPyIterator const &)*arg2);
5523 }
5524 catch(std::invalid_argument &_e) {
5525 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_Python_SetErrorObj(SWIG_Python_ExceptionType(swig_types[
73]), SWIG_Python_NewPointerObj(__null, (new std::invalid_argument
(static_cast< const std::invalid_argument& >(_e))),
swig_types[73], 0x1))
; SWIG_failgoto fail;
5526 }
5527
5528 resultobj = SWIG_From_ptrdiff_t(static_cast< ptrdiff_t >(result));
5529 return resultobj;
5530fail:
5531 return NULL__null;
5532}
5533
5534
5535SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator_equal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5536 PyObject *resultobj = 0;
5537 swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
5538 swig::SwigPyIterator *arg2 = 0 ;
5539 void *argp1 = 0 ;
5540 int res1 = 0 ;
5541 void *argp2 = 0 ;
5542 int res2 = 0 ;
5543 PyObject * obj0 = 0 ;
5544 PyObject * obj1 = 0 ;
5545 bool result;
5546
5547 if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator_equal",&obj0,&obj1)) SWIG_failgoto fail;
5548 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[76]
, 0 | 0, 0)
;
5549 if (!SWIG_IsOK(res1)(res1 >= 0)) {
5550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator_equal" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "SwigPyIterator_equal" "', argument "
"1"" of type '" "swig::SwigPyIterator const *""'"); goto fail
; } while(0)
;
5551 }
5552 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
5553 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_swig__SwigPyIterator, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[76]
, 0 | 0, 0)
;
5554 if (!SWIG_IsOK(res2)(res2 >= 0)) {
5555 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SwigPyIterator_equal" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "SwigPyIterator_equal" "', argument "
"2"" of type '" "swig::SwigPyIterator const &""'"); goto
fail; } while(0)
;
5556 }
5557 if (!argp2) {
5558 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SwigPyIterator_equal" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "SwigPyIterator_equal" "', argument " "2"" of type '"
"swig::SwigPyIterator const &""'"); goto fail; } while(0
)
;
5559 }
5560 arg2 = reinterpret_cast< swig::SwigPyIterator * >(argp2);
5561 try {
5562 result = (bool)((swig::SwigPyIterator const *)arg1)->equal((swig::SwigPyIterator const &)*arg2);
5563 }
5564 catch(std::invalid_argument &_e) {
5565 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_Python_SetErrorObj(SWIG_Python_ExceptionType(swig_types[
73]), SWIG_Python_NewPointerObj(__null, (new std::invalid_argument
(static_cast< const std::invalid_argument& >(_e))),
swig_types[73], 0x1))
; SWIG_failgoto fail;
5566 }
5567
5568 resultobj = SWIG_From_bool(static_cast< bool >(result));
5569 return resultobj;
5570fail:
5571 return NULL__null;
5572}
5573
5574
5575SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5576 PyObject *resultobj = 0;
5577 swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
5578 void *argp1 = 0 ;
5579 int res1 = 0 ;
5580 PyObject * obj0 = 0 ;
5581 swig::SwigPyIterator *result = 0 ;
5582
5583 if (!PyArg_ParseTuple(args,(char *)"O:SwigPyIterator_copy",&obj0)) SWIG_failgoto fail;
5584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[76]
, 0 | 0, 0)
;
5585 if (!SWIG_IsOK(res1)(res1 >= 0)) {
5586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator_copy" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "SwigPyIterator_copy" "', argument "
"1"" of type '" "swig::SwigPyIterator const *""'"); goto fail
; } while(0)
;
5587 }
5588 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
5589 result = (swig::SwigPyIterator *)((swig::SwigPyIterator const *)arg1)->copy();
5590 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[76], 0x1
| 0)
;
5591 return resultobj;
5592fail:
5593 return NULL__null;
5594}
5595
5596
5597SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator_next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5598 PyObject *resultobj = 0;
5599 swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
5600 void *argp1 = 0 ;
5601 int res1 = 0 ;
5602 PyObject * obj0 = 0 ;
5603 PyObject *result = 0 ;
5604
5605 if (!PyArg_ParseTuple(args,(char *)"O:SwigPyIterator_next",&obj0)) SWIG_failgoto fail;
5606 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[76]
, 0 | 0, 0)
;
5607 if (!SWIG_IsOK(res1)(res1 >= 0)) {
5608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator_next" "', argument " "1"" of type '" "swig::SwigPyIterator *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "SwigPyIterator_next" "', argument "
"1"" of type '" "swig::SwigPyIterator *""'"); goto fail; } while
(0)
;
5609 }
5610 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
5611 try {
5612 result = (PyObject *)(arg1)->next();
5613 }
5614 catch(swig::stop_iteration &_e) {
5615 {
5616 (void)_e;
5617 SWIG_SetErrorObjSWIG_Python_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
5618 SWIG_failgoto fail;
5619 }
5620 }
5621
5622 resultobj = result;
5623 return resultobj;
5624fail:
5625 return NULL__null;
5626}
5627
5628
5629SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator___next__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5630 PyObject *resultobj = 0;
5631 swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
5632 void *argp1 = 0 ;
5633 int res1 = 0 ;
5634 PyObject * obj0 = 0 ;
5635 PyObject *result = 0 ;
5636
5637 if (!PyArg_ParseTuple(args,(char *)"O:SwigPyIterator___next__",&obj0)) SWIG_failgoto fail;
5638 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[76]
, 0 | 0, 0)
;
5639 if (!SWIG_IsOK(res1)(res1 >= 0)) {
5640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator___next__" "', argument " "1"" of type '" "swig::SwigPyIterator *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "SwigPyIterator___next__" "', argument "
"1"" of type '" "swig::SwigPyIterator *""'"); goto fail; } while
(0)
;
5641 }
5642 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
5643 try {
5644 result = (PyObject *)(arg1)->__next__();
5645 }
5646 catch(swig::stop_iteration &_e) {
5647 {
5648 (void)_e;
5649 SWIG_SetErrorObjSWIG_Python_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
5650 SWIG_failgoto fail;
5651 }
5652 }
5653
5654 resultobj = result;
5655 return resultobj;
5656fail:
5657 return NULL__null;
5658}
5659
5660
5661SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator_previous(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5662 PyObject *resultobj = 0;
5663 swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
5664 void *argp1 = 0 ;
5665 int res1 = 0 ;
5666 PyObject * obj0 = 0 ;
5667 PyObject *result = 0 ;
5668
5669 if (!PyArg_ParseTuple(args,(char *)"O:SwigPyIterator_previous",&obj0)) SWIG_failgoto fail;
5670 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[76]
, 0 | 0, 0)
;
5671 if (!SWIG_IsOK(res1)(res1 >= 0)) {
5672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator_previous" "', argument " "1"" of type '" "swig::SwigPyIterator *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "SwigPyIterator_previous" "', argument "
"1"" of type '" "swig::SwigPyIterator *""'"); goto fail; } while
(0)
;
5673 }
5674 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
5675 try {
5676 result = (PyObject *)(arg1)->previous();
5677 }
5678 catch(swig::stop_iteration &_e) {
5679 {
5680 (void)_e;
5681 SWIG_SetErrorObjSWIG_Python_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
5682 SWIG_failgoto fail;
5683 }
5684 }
5685
5686 resultobj = result;
5687 return resultobj;
5688fail:
5689 return NULL__null;
5690}
5691
5692
5693SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator_advance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5694 PyObject *resultobj = 0;
5695 swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
5696 ptrdiff_t arg2 ;
5697 void *argp1 = 0 ;
5698 int res1 = 0 ;
5699 ptrdiff_t val2 ;
5700 int ecode2 = 0 ;
5701 PyObject * obj0 = 0 ;
5702 PyObject * obj1 = 0 ;
5703 swig::SwigPyIterator *result = 0 ;
5704
5705 if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator_advance",&obj0,&obj1)) SWIG_failgoto fail;
5706 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[76]
, 0 | 0, 0)
;
5707 if (!SWIG_IsOK(res1)(res1 >= 0)) {
5708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator_advance" "', argument " "1"" of type '" "swig::SwigPyIterator *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "SwigPyIterator_advance" "', argument "
"1"" of type '" "swig::SwigPyIterator *""'"); goto fail; } while
(0)
;
5709 }
5710 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
5711 ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
5712 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
5713 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SwigPyIterator_advance" "', argument " "2"" of type '" "ptrdiff_t""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "SwigPyIterator_advance"
"', argument " "2"" of type '" "ptrdiff_t""'"); goto fail; }
while(0)
;
5714 }
5715 arg2 = static_cast< ptrdiff_t >(val2);
5716 try {
5717 result = (swig::SwigPyIterator *)(arg1)->advance(arg2);
5718 }
5719 catch(swig::stop_iteration &_e) {
5720 {
5721 (void)_e;
5722 SWIG_SetErrorObjSWIG_Python_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
5723 SWIG_failgoto fail;
5724 }
5725 }
5726
5727 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[76], 0
| 0)
;
5728 return resultobj;
5729fail:
5730 return NULL__null;
5731}
5732
5733
5734SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5735 PyObject *resultobj = 0;
5736 swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
5737 swig::SwigPyIterator *arg2 = 0 ;
5738 void *argp1 = 0 ;
5739 int res1 = 0 ;
5740 void *argp2 = 0 ;
5741 int res2 = 0 ;
5742 PyObject * obj0 = 0 ;
5743 PyObject * obj1 = 0 ;
5744 bool result;
5745
5746 if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator___eq__",&obj0,&obj1)) SWIG_failgoto fail;
5747 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[76]
, 0 | 0, 0)
;
5748 if (!SWIG_IsOK(res1)(res1 >= 0)) {
5749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator___eq__" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "SwigPyIterator___eq__" "', argument "
"1"" of type '" "swig::SwigPyIterator const *""'"); goto fail
; } while(0)
;
5750 }
5751 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
5752 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_swig__SwigPyIterator, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[76]
, 0 | 0, 0)
;
5753 if (!SWIG_IsOK(res2)(res2 >= 0)) {
5754 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SwigPyIterator___eq__" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "SwigPyIterator___eq__" "', argument "
"2"" of type '" "swig::SwigPyIterator const &""'"); goto
fail; } while(0)
;
5755 }
5756 if (!argp2) {
5757 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SwigPyIterator___eq__" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "SwigPyIterator___eq__" "', argument " "2"" of type '"
"swig::SwigPyIterator const &""'"); goto fail; } while(0
)
;
5758 }
5759 arg2 = reinterpret_cast< swig::SwigPyIterator * >(argp2);
5760 result = (bool)((swig::SwigPyIterator const *)arg1)->operator ==((swig::SwigPyIterator const &)*arg2);
5761 resultobj = SWIG_From_bool(static_cast< bool >(result));
5762 return resultobj;
5763fail:
5764 return NULL__null;
5765}
5766
5767
5768SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5769 PyObject *resultobj = 0;
5770 swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
5771 swig::SwigPyIterator *arg2 = 0 ;
5772 void *argp1 = 0 ;
5773 int res1 = 0 ;
5774 void *argp2 = 0 ;
5775 int res2 = 0 ;
5776 PyObject * obj0 = 0 ;
5777 PyObject * obj1 = 0 ;
5778 bool result;
5779
5780 if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator___ne__",&obj0,&obj1)) SWIG_failgoto fail;
5781 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[76]
, 0 | 0, 0)
;
5782 if (!SWIG_IsOK(res1)(res1 >= 0)) {
5783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator___ne__" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "SwigPyIterator___ne__" "', argument "
"1"" of type '" "swig::SwigPyIterator const *""'"); goto fail
; } while(0)
;
5784 }
5785 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
5786 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_swig__SwigPyIterator, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[76]
, 0 | 0, 0)
;
5787 if (!SWIG_IsOK(res2)(res2 >= 0)) {
5788 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SwigPyIterator___ne__" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "SwigPyIterator___ne__" "', argument "
"2"" of type '" "swig::SwigPyIterator const &""'"); goto
fail; } while(0)
;
5789 }
5790 if (!argp2) {
5791 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SwigPyIterator___ne__" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "SwigPyIterator___ne__" "', argument " "2"" of type '"
"swig::SwigPyIterator const &""'"); goto fail; } while(0
)
;
5792 }
5793 arg2 = reinterpret_cast< swig::SwigPyIterator * >(argp2);
5794 result = (bool)((swig::SwigPyIterator const *)arg1)->operator !=((swig::SwigPyIterator const &)*arg2);
5795 resultobj = SWIG_From_bool(static_cast< bool >(result));
5796 return resultobj;
5797fail:
5798 return NULL__null;
5799}
5800
5801
5802SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5803 PyObject *resultobj = 0;
5804 swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
5805 ptrdiff_t arg2 ;
5806 void *argp1 = 0 ;
5807 int res1 = 0 ;
5808 ptrdiff_t val2 ;
5809 int ecode2 = 0 ;
5810 PyObject * obj0 = 0 ;
5811 PyObject * obj1 = 0 ;
5812 swig::SwigPyIterator *result = 0 ;
5813
5814 if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator___iadd__",&obj0,&obj1)) SWIG_failgoto fail;
5815 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[76]
, 0x1 | 0, 0)
;
5816 if (!SWIG_IsOK(res1)(res1 >= 0)) {
5817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator___iadd__" "', argument " "1"" of type '" "swig::SwigPyIterator *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "SwigPyIterator___iadd__" "', argument "
"1"" of type '" "swig::SwigPyIterator *""'"); goto fail; } while
(0)
;
5818 }
5819 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
5820 ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
5821 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
5822 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SwigPyIterator___iadd__" "', argument " "2"" of type '" "ptrdiff_t""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "SwigPyIterator___iadd__"
"', argument " "2"" of type '" "ptrdiff_t""'"); goto fail; }
while(0)
;
5823 }
5824 arg2 = static_cast< ptrdiff_t >(val2);
5825 try {
5826 result = (swig::SwigPyIterator *) &(arg1)->operator +=(arg2);
5827 }
5828 catch(swig::stop_iteration &_e) {
5829 {
5830 (void)_e;
5831 SWIG_SetErrorObjSWIG_Python_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
5832 SWIG_failgoto fail;
5833 }
5834 }
5835
5836 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[76], 0x1
| 0)
;
5837 return resultobj;
5838fail:
5839 return NULL__null;
5840}
5841
5842
5843SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5844 PyObject *resultobj = 0;
5845 swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
5846 ptrdiff_t arg2 ;
5847 void *argp1 = 0 ;
5848 int res1 = 0 ;
5849 ptrdiff_t val2 ;
5850 int ecode2 = 0 ;
5851 PyObject * obj0 = 0 ;
5852 PyObject * obj1 = 0 ;
5853 swig::SwigPyIterator *result = 0 ;
5854
5855 if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator___isub__",&obj0,&obj1)) SWIG_failgoto fail;
5856 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[76]
, 0x1 | 0, 0)
;
5857 if (!SWIG_IsOK(res1)(res1 >= 0)) {
5858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator___isub__" "', argument " "1"" of type '" "swig::SwigPyIterator *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "SwigPyIterator___isub__" "', argument "
"1"" of type '" "swig::SwigPyIterator *""'"); goto fail; } while
(0)
;
5859 }
5860 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
5861 ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
5862 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
5863 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SwigPyIterator___isub__" "', argument " "2"" of type '" "ptrdiff_t""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "SwigPyIterator___isub__"
"', argument " "2"" of type '" "ptrdiff_t""'"); goto fail; }
while(0)
;
5864 }
5865 arg2 = static_cast< ptrdiff_t >(val2);
5866 try {
5867 result = (swig::SwigPyIterator *) &(arg1)->operator -=(arg2);
5868 }
5869 catch(swig::stop_iteration &_e) {
5870 {
5871 (void)_e;
5872 SWIG_SetErrorObjSWIG_Python_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
5873 SWIG_failgoto fail;
5874 }
5875 }
5876
5877 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[76], 0x1
| 0)
;
5878 return resultobj;
5879fail:
5880 return NULL__null;
5881}
5882
5883
5884SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5885 PyObject *resultobj = 0;
5886 swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
5887 ptrdiff_t arg2 ;
5888 void *argp1 = 0 ;
5889 int res1 = 0 ;
5890 ptrdiff_t val2 ;
5891 int ecode2 = 0 ;
5892 PyObject * obj0 = 0 ;
5893 PyObject * obj1 = 0 ;
5894 swig::SwigPyIterator *result = 0 ;
5895
5896 if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator___add__",&obj0,&obj1)) SWIG_failgoto fail;
5897 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[76]
, 0 | 0, 0)
;
5898 if (!SWIG_IsOK(res1)(res1 >= 0)) {
5899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator___add__" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "SwigPyIterator___add__" "', argument "
"1"" of type '" "swig::SwigPyIterator const *""'"); goto fail
; } while(0)
;
5900 }
5901 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
5902 ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
5903 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
5904 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SwigPyIterator___add__" "', argument " "2"" of type '" "ptrdiff_t""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "SwigPyIterator___add__"
"', argument " "2"" of type '" "ptrdiff_t""'"); goto fail; }
while(0)
;
5905 }
5906 arg2 = static_cast< ptrdiff_t >(val2);
5907 try {
5908 result = (swig::SwigPyIterator *)((swig::SwigPyIterator const *)arg1)->operator +(arg2);
5909 }
5910 catch(swig::stop_iteration &_e) {
5911 {
5912 (void)_e;
5913 SWIG_SetErrorObjSWIG_Python_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
5914 SWIG_failgoto fail;
5915 }
5916 }
5917
5918 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[76], 0x1
| 0)
;
5919 return resultobj;
5920fail:
5921 return NULL__null;
5922}
5923
5924
5925SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator___sub____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5926 PyObject *resultobj = 0;
5927 swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
5928 ptrdiff_t arg2 ;
5929 void *argp1 = 0 ;
5930 int res1 = 0 ;
5931 ptrdiff_t val2 ;
5932 int ecode2 = 0 ;
5933 PyObject * obj0 = 0 ;
5934 PyObject * obj1 = 0 ;
5935 swig::SwigPyIterator *result = 0 ;
5936
5937 if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator___sub__",&obj0,&obj1)) SWIG_failgoto fail;
5938 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[76]
, 0 | 0, 0)
;
5939 if (!SWIG_IsOK(res1)(res1 >= 0)) {
5940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator___sub__" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "SwigPyIterator___sub__" "', argument "
"1"" of type '" "swig::SwigPyIterator const *""'"); goto fail
; } while(0)
;
5941 }
5942 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
5943 ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
5944 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
5945 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SwigPyIterator___sub__" "', argument " "2"" of type '" "ptrdiff_t""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "SwigPyIterator___sub__"
"', argument " "2"" of type '" "ptrdiff_t""'"); goto fail; }
while(0)
;
5946 }
5947 arg2 = static_cast< ptrdiff_t >(val2);
5948 try {
5949 result = (swig::SwigPyIterator *)((swig::SwigPyIterator const *)arg1)->operator -(arg2);
5950 }
5951 catch(swig::stop_iteration &_e) {
5952 {
5953 (void)_e;
5954 SWIG_SetErrorObjSWIG_Python_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
5955 SWIG_failgoto fail;
5956 }
5957 }
5958
5959 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[76], 0x1
| 0)
;
5960 return resultobj;
5961fail:
5962 return NULL__null;
5963}
5964
5965
5966SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator___sub____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5967 PyObject *resultobj = 0;
5968 swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
5969 swig::SwigPyIterator *arg2 = 0 ;
5970 void *argp1 = 0 ;
5971 int res1 = 0 ;
5972 void *argp2 = 0 ;
5973 int res2 = 0 ;
5974 PyObject * obj0 = 0 ;
5975 PyObject * obj1 = 0 ;
5976 ptrdiff_t result;
5977
5978 if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator___sub__",&obj0,&obj1)) SWIG_failgoto fail;
5979 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[76]
, 0 | 0, 0)
;
5980 if (!SWIG_IsOK(res1)(res1 >= 0)) {
5981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator___sub__" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "SwigPyIterator___sub__" "', argument "
"1"" of type '" "swig::SwigPyIterator const *""'"); goto fail
; } while(0)
;
5982 }
5983 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
5984 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_swig__SwigPyIterator, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[76]
, 0 | 0, 0)
;
5985 if (!SWIG_IsOK(res2)(res2 >= 0)) {
5986 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SwigPyIterator___sub__" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "SwigPyIterator___sub__" "', argument "
"2"" of type '" "swig::SwigPyIterator const &""'"); goto
fail; } while(0)
;
5987 }
5988 if (!argp2) {
5989 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SwigPyIterator___sub__" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "SwigPyIterator___sub__" "', argument " "2"" of type '"
"swig::SwigPyIterator const &""'"); goto fail; } while(0
)
;
5990 }
5991 arg2 = reinterpret_cast< swig::SwigPyIterator * >(argp2);
5992 result = ((swig::SwigPyIterator const *)arg1)->operator -((swig::SwigPyIterator const &)*arg2);
5993 resultobj = SWIG_From_ptrdiff_t(static_cast< ptrdiff_t >(result));
5994 return resultobj;
5995fail:
5996 return NULL__null;
5997}
5998
5999
6000SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator___sub__(PyObject *self, PyObject *args) {
6001 int argc;
6002 PyObject *argv[3];
6003 int ii;
6004
6005 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
6006 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
6007 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
6008 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
6009 }
6010 if (argc == 2) {
6011 int _v;
6012 void *vptr = 0;
6013 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_swig__SwigPyIterator, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[76
], 0, 0)
;
6014 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
6015 if (_v) {
6016 int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_swig__SwigPyIterator, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], 0, swig_types[76], 0, 0
)
;
6017 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
6018 if (_v) {
6019 return _wrap_SwigPyIterator___sub____SWIG_1(self, args);
6020 }
6021 }
6022 }
6023 if (argc == 2) {
6024 int _v;
6025 void *vptr = 0;
6026 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_swig__SwigPyIterator, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[76
], 0, 0)
;
6027 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
6028 if (_v) {
6029 {
6030 int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL__null);
6031 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
6032 }
6033 if (_v) {
6034 return _wrap_SwigPyIterator___sub____SWIG_0(self, args);
6035 }
6036 }
6037 }
6038
6039fail:
6040 Py_INCREF(Py_NotImplemented)( ((PyObject*)((&_Py_NotImplementedStruct)))->ob_refcnt
++)
;
6041 return Py_NotImplemented(&_Py_NotImplementedStruct);
6042}
6043
6044
6045SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *SwigPyIterator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6046 PyObject *obj;
6047 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
6048 SWIG_TypeNewClientData(SWIGTYPE_p_swig__SwigPyIteratorswig_types[76], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
6049 return SWIG_Py_Void();
6050}
6051
6052SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAObservation__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6053 PyObject *resultobj = 0;
6054 GCTAObservation *result = 0 ;
6055
6056 if (!PyArg_ParseTuple(args,(char *)":new_GCTAObservation")) SWIG_failgoto fail;
6057 {
6058 try {
6059 result = (GCTAObservation *)new GCTAObservation();
6060 }
6061 catch (const GException::out_of_range& e) {
6062 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
6063 }
6064 catch (const GExceptionHandler& e) {
6065 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6066 }
6067 catch (const std::exception& e) {
6068 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6069 }
6070 }
6071 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAObservation, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[19], (
(0x1 << 1) | 0x1) | 0)
;
6072 return resultobj;
6073fail:
6074 return NULL__null;
6075}
6076
6077
6078SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAObservation__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6079 PyObject *resultobj = 0;
6080 std::string *arg1 = 0 ;
6081 int res1 = SWIG_OLDOBJ((0)) ;
6082 PyObject * obj0 = 0 ;
6083 GCTAObservation *result = 0 ;
6084
6085 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAObservation",&obj0)) SWIG_failgoto fail;
6086 {
6087 std::string *ptr = (std::string *)0;
6088 res1 = SWIG_AsPtr_std_string(obj0, &ptr);
6089 if (!SWIG_IsOK(res1)(res1 >= 0)) {
6090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAObservation" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAObservation" "', argument "
"1"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
6091 }
6092 if (!ptr) {
6093 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAObservation" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAObservation" "', argument " "1"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
6094 }
6095 arg1 = ptr;
6096 }
6097 {
6098 try {
6099 result = (GCTAObservation *)new GCTAObservation((std::string const &)*arg1);
6100 }
6101 catch (const GException::out_of_range& e) {
6102 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
6103 }
6104 catch (const GExceptionHandler& e) {
6105 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6106 }
6107 catch (const std::exception& e) {
6108 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6109 }
6110 }
6111 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAObservation, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[19], (
(0x1 << 1) | 0x1) | 0)
;
6112 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
6113 return resultobj;
6114fail:
6115 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
6116 return NULL__null;
6117}
6118
6119
6120SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAObservation__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6121 PyObject *resultobj = 0;
6122 GCTAObservation *arg1 = 0 ;
6123 void *argp1 = 0 ;
6124 int res1 = 0 ;
6125 PyObject * obj0 = 0 ;
6126 GCTAObservation *result = 0 ;
6127
6128 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAObservation",&obj0)) SWIG_failgoto fail;
6129 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GCTAObservation, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
6130 if (!SWIG_IsOK(res1)(res1 >= 0)) {
6131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAObservation" "', argument " "1"" of type '" "GCTAObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAObservation" "', argument "
"1"" of type '" "GCTAObservation const &""'"); goto fail
; } while(0)
;
6132 }
6133 if (!argp1) {
6134 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAObservation" "', argument " "1"" of type '" "GCTAObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAObservation" "', argument " "1"" of type '"
"GCTAObservation const &""'"); goto fail; } while(0)
;
6135 }
6136 arg1 = reinterpret_cast< GCTAObservation * >(argp1);
6137 {
6138 try {
6139 result = (GCTAObservation *)new GCTAObservation((GCTAObservation const &)*arg1);
6140 }
6141 catch (const GException::out_of_range& e) {
6142 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
6143 }
6144 catch (const GExceptionHandler& e) {
6145 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6146 }
6147 catch (const std::exception& e) {
6148 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6149 }
6150 }
6151 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAObservation, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[19], (
(0x1 << 1) | 0x1) | 0)
;
6152 return resultobj;
6153fail:
6154 return NULL__null;
6155}
6156
6157
6158SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAObservation(PyObject *self, PyObject *args) {
6159 int argc;
6160 PyObject *argv[2];
6161 int ii;
6162
6163 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
6164 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
6165 for (ii = 0; (ii < 1) && (ii < argc); ii++) {
6166 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
6167 }
6168 if (argc == 0) {
6169 return _wrap_new_GCTAObservation__SWIG_0(self, args);
6170 }
6171 if (argc == 1) {
6172 int _v;
6173 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GCTAObservation, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[19], 0, 0
)
;
6174 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
6175 if (_v) {
6176 return _wrap_new_GCTAObservation__SWIG_2(self, args);
6177 }
6178 }
6179 if (argc == 1) {
6180 int _v;
6181 int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
6182 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
6183 if (_v) {
6184 return _wrap_new_GCTAObservation__SWIG_1(self, args);
6185 }
6186 }
6187
6188fail:
6189 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GCTAObservation'.\n"
6190 " Possible C/C++ prototypes are:\n"
6191 " GCTAObservation::GCTAObservation()\n"
6192 " GCTAObservation::GCTAObservation(std::string const &)\n"
6193 " GCTAObservation::GCTAObservation(GCTAObservation const &)\n");
6194 return 0;
6195}
6196
6197
6198SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GCTAObservation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6199 PyObject *resultobj = 0;
6200 GCTAObservation *arg1 = (GCTAObservation *) 0 ;
6201 void *argp1 = 0 ;
6202 int res1 = 0 ;
6203 PyObject * obj0 = 0 ;
6204
6205 if (!PyArg_ParseTuple(args,(char *)"O:delete_GCTAObservation",&obj0)) SWIG_failgoto fail;
6206 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAObservation, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0x1 | 0, 0)
;
6207 if (!SWIG_IsOK(res1)(res1 >= 0)) {
6208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GCTAObservation" "', argument " "1"" of type '" "GCTAObservation *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GCTAObservation" "', argument "
"1"" of type '" "GCTAObservation *""'"); goto fail; } while(
0)
;
6209 }
6210 arg1 = reinterpret_cast< GCTAObservation * >(argp1);
6211 {
6212 try {
6213 delete arg1;
6214 }
6215 catch (const GException::out_of_range& e) {
6216 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
6217 }
6218 catch (const GExceptionHandler& e) {
6219 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6220 }
6221 catch (const std::exception& e) {
6222 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6223 }
6224 }
6225 resultobj = SWIG_Py_Void();
6226 return resultobj;
6227fail:
6228 return NULL__null;
6229}
6230
6231
6232SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAObservation_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6233 PyObject *resultobj = 0;
6234 GCTAObservation *arg1 = (GCTAObservation *) 0 ;
6235 void *argp1 = 0 ;
6236 int res1 = 0 ;
6237 PyObject * obj0 = 0 ;
6238
6239 if (!PyArg_ParseTuple(args,(char *)"O:GCTAObservation_clear",&obj0)) SWIG_failgoto fail;
6240 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
6241 if (!SWIG_IsOK(res1)(res1 >= 0)) {
6242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAObservation_clear" "', argument " "1"" of type '" "GCTAObservation *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAObservation_clear" "', argument "
"1"" of type '" "GCTAObservation *""'"); goto fail; } while(
0)
;
6243 }
6244 arg1 = reinterpret_cast< GCTAObservation * >(argp1);
6245 {
6246 try {
6247 (arg1)->clear();
6248 }
6249 catch (const GException::out_of_range& e) {
6250 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
6251 }
6252 catch (const GExceptionHandler& e) {
6253 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6254 }
6255 catch (const std::exception& e) {
6256 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6257 }
6258 }
6259 resultobj = SWIG_Py_Void();
6260 return resultobj;
6261fail:
6262 return NULL__null;
6263}
6264
6265
6266SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAObservation_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6267 PyObject *resultobj = 0;
6268 GCTAObservation *arg1 = (GCTAObservation *) 0 ;
6269 void *argp1 = 0 ;
6270 int res1 = 0 ;
6271 PyObject * obj0 = 0 ;
6272 GCTAObservation *result = 0 ;
6273
6274 if (!PyArg_ParseTuple(args,(char *)"O:GCTAObservation_clone",&obj0)) SWIG_failgoto fail;
6275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
6276 if (!SWIG_IsOK(res1)(res1 >= 0)) {
6277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAObservation_clone" "', argument " "1"" of type '" "GCTAObservation const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAObservation_clone" "', argument "
"1"" of type '" "GCTAObservation const *""'"); goto fail; } while
(0)
;
6278 }
6279 arg1 = reinterpret_cast< GCTAObservation * >(argp1);
6280 {
6281 try {
6282 result = (GCTAObservation *)((GCTAObservation const *)arg1)->clone();
6283 }
6284 catch (const GException::out_of_range& e) {
6285 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
6286 }
6287 catch (const GExceptionHandler& e) {
6288 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6289 }
6290 catch (const std::exception& e) {
6291 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6292 }
6293 }
6294 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAObservation, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[19], 0
| 0)
;
6295 return resultobj;
6296fail:
6297 return NULL__null;
6298}
6299
6300
6301SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAObservation_response__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6302 PyObject *resultobj = 0;
6303 GCTAObservation *arg1 = (GCTAObservation *) 0 ;
6304 GResponse *arg2 = 0 ;
6305 void *argp1 = 0 ;
6306 int res1 = 0 ;
6307 void *argp2 = 0 ;
6308 int res2 = 0 ;
6309 PyObject * obj0 = 0 ;
6310 PyObject * obj1 = 0 ;
6311
6312 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAObservation_response",&obj0,&obj1)) SWIG_failgoto fail;
6313 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
6314 if (!SWIG_IsOK(res1)(res1 >= 0)) {
6315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAObservation_response" "', argument " "1"" of type '" "GCTAObservation *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAObservation_response" "', argument "
"1"" of type '" "GCTAObservation *""'"); goto fail; } while(
0)
;
6316 }
6317 arg1 = reinterpret_cast< GCTAObservation * >(argp1);
6318 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GResponse, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[57]
, 0 | 0, 0)
;
6319 if (!SWIG_IsOK(res2)(res2 >= 0)) {
6320 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAObservation_response" "', argument " "2"" of type '" "GResponse const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAObservation_response" "', argument "
"2"" of type '" "GResponse const &""'"); goto fail; } while
(0)
;
6321 }
6322 if (!argp2) {
6323 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAObservation_response" "', argument " "2"" of type '" "GResponse const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAObservation_response" "', argument " "2"" of type '"
"GResponse const &""'"); goto fail; } while(0)
;
6324 }
6325 arg2 = reinterpret_cast< GResponse * >(argp2);
6326 {
6327 try {
6328 (arg1)->response((GResponse const &)*arg2);
6329 }
6330 catch (const GException::out_of_range& e) {
6331 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
6332 }
6333 catch (const GExceptionHandler& e) {
6334 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6335 }
6336 catch (const std::exception& e) {
6337 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6338 }
6339 }
6340 resultobj = SWIG_Py_Void();
6341 return resultobj;
6342fail:
6343 return NULL__null;
6344}
6345
6346
6347SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAObservation_response__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6348 PyObject *resultobj = 0;
6349 GCTAObservation *arg1 = (GCTAObservation *) 0 ;
6350 void *argp1 = 0 ;
6351 int res1 = 0 ;
6352 PyObject * obj0 = 0 ;
6353 GCTAResponse *result = 0 ;
6354
6355 if (!PyArg_ParseTuple(args,(char *)"O:GCTAObservation_response",&obj0)) SWIG_failgoto fail;
6356 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
6357 if (!SWIG_IsOK(res1)(res1 >= 0)) {
6358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAObservation_response" "', argument " "1"" of type '" "GCTAObservation const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAObservation_response" "', argument "
"1"" of type '" "GCTAObservation const *""'"); goto fail; } while
(0)
;
6359 }
6360 arg1 = reinterpret_cast< GCTAObservation * >(argp1);
6361 {
6362 try {
6363 result = (GCTAResponse *) &((GCTAObservation const *)arg1)->response();
6364 }
6365 catch (const GException::out_of_range& e) {
6366 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
6367 }
6368 catch (const GExceptionHandler& e) {
6369 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6370 }
6371 catch (const std::exception& e) {
6372 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6373 }
6374 }
6375 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAResponse, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[28], 0
| 0)
;
6376 return resultobj;
6377fail:
6378 return NULL__null;
6379}
6380
6381
6382SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAObservation_instrument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6383 PyObject *resultobj = 0;
6384 GCTAObservation *arg1 = (GCTAObservation *) 0 ;
6385 void *argp1 = 0 ;
6386 int res1 = 0 ;
6387 PyObject * obj0 = 0 ;
6388 std::string result;
6389
6390 if (!PyArg_ParseTuple(args,(char *)"O:GCTAObservation_instrument",&obj0)) SWIG_failgoto fail;
6391 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
6392 if (!SWIG_IsOK(res1)(res1 >= 0)) {
6393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAObservation_instrument" "', argument " "1"" of type '" "GCTAObservation const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAObservation_instrument"
"', argument " "1"" of type '" "GCTAObservation const *""'")
; goto fail; } while(0)
;
6394 }
6395 arg1 = reinterpret_cast< GCTAObservation * >(argp1);
6396 {
6397 try {
6398 result = ((GCTAObservation const *)arg1)->instrument();
6399 }
6400 catch (const GException::out_of_range& e) {
6401 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
6402 }
6403 catch (const GExceptionHandler& e) {
6404 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6405 }
6406 catch (const std::exception& e) {
6407 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6408 }
6409 }
6410 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
6411 return resultobj;
6412fail:
6413 return NULL__null;
6414}
6415
6416
6417SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAObservation_ontime__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6418 PyObject *resultobj = 0;
6419 GCTAObservation *arg1 = (GCTAObservation *) 0 ;
6420 void *argp1 = 0 ;
6421 int res1 = 0 ;
6422 PyObject * obj0 = 0 ;
6423 double result;
6424
6425 if (!PyArg_ParseTuple(args,(char *)"O:GCTAObservation_ontime",&obj0)) SWIG_failgoto fail;
6426 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
6427 if (!SWIG_IsOK(res1)(res1 >= 0)) {
6428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAObservation_ontime" "', argument " "1"" of type '" "GCTAObservation const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAObservation_ontime" "', argument "
"1"" of type '" "GCTAObservation const *""'"); goto fail; } while
(0)
;
6429 }
6430 arg1 = reinterpret_cast< GCTAObservation * >(argp1);
6431 {
6432 try {
6433 result = (double)((GCTAObservation const *)arg1)->ontime();
6434 }
6435 catch (const GException::out_of_range& e) {
6436 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
6437 }
6438 catch (const GExceptionHandler& e) {
6439 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6440 }
6441 catch (const std::exception& e) {
6442 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6443 }
6444 }
6445 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
6446 return resultobj;
6447fail:
6448 return NULL__null;
6449}
6450
6451
6452SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAObservation_livetime__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6453 PyObject *resultobj = 0;
6454 GCTAObservation *arg1 = (GCTAObservation *) 0 ;
6455 void *argp1 = 0 ;
6456 int res1 = 0 ;
6457 PyObject * obj0 = 0 ;
6458 double result;
6459
6460 if (!PyArg_ParseTuple(args,(char *)"O:GCTAObservation_livetime",&obj0)) SWIG_failgoto fail;
6461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
6462 if (!SWIG_IsOK(res1)(res1 >= 0)) {
6463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAObservation_livetime" "', argument " "1"" of type '" "GCTAObservation const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAObservation_livetime" "', argument "
"1"" of type '" "GCTAObservation const *""'"); goto fail; } while
(0)
;
6464 }
6465 arg1 = reinterpret_cast< GCTAObservation * >(argp1);
6466 {
6467 try {
6468 result = (double)((GCTAObservation const *)arg1)->livetime();
6469 }
6470 catch (const GException::out_of_range& e) {
6471 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
6472 }
6473 catch (const GExceptionHandler& e) {
6474 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6475 }
6476 catch (const std::exception& e) {
6477 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6478 }
6479 }
6480 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
6481 return resultobj;
6482fail:
6483 return NULL__null;
6484}
6485
6486
6487SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAObservation_deadc__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6488 PyObject *resultobj = 0;
6489 GCTAObservation *arg1 = (GCTAObservation *) 0 ;
6490 GTime *arg2 = 0 ;
6491 void *argp1 = 0 ;
6492 int res1 = 0 ;
6493 void *argp2 = 0 ;
6494 int res2 = 0 ;
6495 PyObject * obj0 = 0 ;
6496 PyObject * obj1 = 0 ;
6497 double result;
6498
6499 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAObservation_deadc",&obj0,&obj1)) SWIG_failgoto fail;
6500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
6501 if (!SWIG_IsOK(res1)(res1 >= 0)) {
6502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAObservation_deadc" "', argument " "1"" of type '" "GCTAObservation const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAObservation_deadc" "', argument "
"1"" of type '" "GCTAObservation const *""'"); goto fail; } while
(0)
;
6503 }
6504 arg1 = reinterpret_cast< GCTAObservation * >(argp1);
6505 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GTime, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[64]
, 0 | 0, 0)
;
6506 if (!SWIG_IsOK(res2)(res2 >= 0)) {
6507 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAObservation_deadc" "', argument " "2"" of type '" "GTime const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAObservation_deadc" "', argument "
"2"" of type '" "GTime const &""'"); goto fail; } while(
0)
;
6508 }
6509 if (!argp2) {
6510 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAObservation_deadc" "', argument " "2"" of type '" "GTime const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAObservation_deadc" "', argument " "2"" of type '"
"GTime const &""'"); goto fail; } while(0)
;
6511 }
6512 arg2 = reinterpret_cast< GTime * >(argp2);
6513 {
6514 try {
6515 result = (double)((GCTAObservation const *)arg1)->deadc((GTime const &)*arg2);
6516 }
6517 catch (const GException::out_of_range& e) {
6518 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
6519 }
6520 catch (const GExceptionHandler& e) {
6521 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6522 }
6523 catch (const std::exception& e) {
6524 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6525 }
6526 }
6527 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
6528 return resultobj;
6529fail:
6530 return NULL__null;
6531}
6532
6533
6534SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAObservation_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6535 PyObject *resultobj = 0;
6536 GCTAObservation *arg1 = (GCTAObservation *) 0 ;
6537 GXmlElement *arg2 = 0 ;
6538 void *argp1 = 0 ;
6539 int res1 = 0 ;
6540 void *argp2 = 0 ;
6541 int res2 = 0 ;
6542 PyObject * obj0 = 0 ;
6543 PyObject * obj1 = 0 ;
6544
6545 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAObservation_read",&obj0,&obj1)) SWIG_failgoto fail;
6546 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
6547 if (!SWIG_IsOK(res1)(res1 >= 0)) {
6548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAObservation_read" "', argument " "1"" of type '" "GCTAObservation *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAObservation_read" "', argument "
"1"" of type '" "GCTAObservation *""'"); goto fail; } while(
0)
;
6549 }
6550 arg1 = reinterpret_cast< GCTAObservation * >(argp1);
6551 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GXmlElement, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[66]
, 0 | 0, 0)
;
6552 if (!SWIG_IsOK(res2)(res2 >= 0)) {
6553 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAObservation_read" "', argument " "2"" of type '" "GXmlElement const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAObservation_read" "', argument "
"2"" of type '" "GXmlElement const &""'"); goto fail; } while
(0)
;
6554 }
6555 if (!argp2) {
6556 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAObservation_read" "', argument " "2"" of type '" "GXmlElement const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAObservation_read" "', argument " "2"" of type '"
"GXmlElement const &""'"); goto fail; } while(0)
;
6557 }
6558 arg2 = reinterpret_cast< GXmlElement * >(argp2);
6559 {
6560 try {
6561 (arg1)->read((GXmlElement const &)*arg2);
6562 }
6563 catch (const GException::out_of_range& e) {
6564 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
6565 }
6566 catch (const GExceptionHandler& e) {
6567 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6568 }
6569 catch (const std::exception& e) {
6570 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6571 }
6572 }
6573 resultobj = SWIG_Py_Void();
6574 return resultobj;
6575fail:
6576 return NULL__null;
6577}
6578
6579
6580SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAObservation_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6581 PyObject *resultobj = 0;
6582 GCTAObservation *arg1 = (GCTAObservation *) 0 ;
6583 GXmlElement *arg2 = 0 ;
6584 void *argp1 = 0 ;
6585 int res1 = 0 ;
6586 void *argp2 = 0 ;
6587 int res2 = 0 ;
6588 PyObject * obj0 = 0 ;
6589 PyObject * obj1 = 0 ;
6590
6591 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAObservation_write",&obj0,&obj1)) SWIG_failgoto fail;
6592 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
6593 if (!SWIG_IsOK(res1)(res1 >= 0)) {
6594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAObservation_write" "', argument " "1"" of type '" "GCTAObservation const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAObservation_write" "', argument "
"1"" of type '" "GCTAObservation const *""'"); goto fail; } while
(0)
;
6595 }
6596 arg1 = reinterpret_cast< GCTAObservation * >(argp1);
6597 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GXmlElement, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[66]
, 0, 0)
;
6598 if (!SWIG_IsOK(res2)(res2 >= 0)) {
6599 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAObservation_write" "', argument " "2"" of type '" "GXmlElement &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAObservation_write" "', argument "
"2"" of type '" "GXmlElement &""'"); goto fail; } while(
0)
;
6600 }
6601 if (!argp2) {
6602 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAObservation_write" "', argument " "2"" of type '" "GXmlElement &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAObservation_write" "', argument " "2"" of type '"
"GXmlElement &""'"); goto fail; } while(0)
;
6603 }
6604 arg2 = reinterpret_cast< GXmlElement * >(argp2);
6605 {
6606 try {
6607 ((GCTAObservation const *)arg1)->write(*arg2);
6608 }
6609 catch (const GException::out_of_range& e) {
6610 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
6611 }
6612 catch (const GExceptionHandler& e) {
6613 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6614 }
6615 catch (const std::exception& e) {
6616 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6617 }
6618 }
6619 resultobj = SWIG_Py_Void();
6620 return resultobj;
6621fail:
6622 return NULL__null;
6623}
6624
6625
6626SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAObservation_load_unbinned(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6627 PyObject *resultobj = 0;
6628 GCTAObservation *arg1 = (GCTAObservation *) 0 ;
6629 std::string *arg2 = 0 ;
6630 void *argp1 = 0 ;
6631 int res1 = 0 ;
6632 int res2 = SWIG_OLDOBJ((0)) ;
6633 PyObject * obj0 = 0 ;
6634 PyObject * obj1 = 0 ;
6635
6636 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAObservation_load_unbinned",&obj0,&obj1)) SWIG_failgoto fail;
6637 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
6638 if (!SWIG_IsOK(res1)(res1 >= 0)) {
6639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAObservation_load_unbinned" "', argument " "1"" of type '" "GCTAObservation *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAObservation_load_unbinned"
"', argument " "1"" of type '" "GCTAObservation *""'"); goto
fail; } while(0)
;
6640 }
6641 arg1 = reinterpret_cast< GCTAObservation * >(argp1);
6642 {
6643 std::string *ptr = (std::string *)0;
6644 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
6645 if (!SWIG_IsOK(res2)(res2 >= 0)) {
6646 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAObservation_load_unbinned" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAObservation_load_unbinned"
"', argument " "2"" of type '" "std::string const &""'")
; goto fail; } while(0)
;
6647 }
6648 if (!ptr) {
6649 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAObservation_load_unbinned" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAObservation_load_unbinned" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
6650 }
6651 arg2 = ptr;
6652 }
6653 {
6654 try {
6655 (arg1)->load_unbinned((std::string const &)*arg2);
6656 }
6657 catch (const GException::out_of_range& e) {
6658 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
6659 }
6660 catch (const GExceptionHandler& e) {
6661 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6662 }
6663 catch (const std::exception& e) {
6664 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6665 }
6666 }
6667 resultobj = SWIG_Py_Void();
6668 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
6669 return resultobj;
6670fail:
6671 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
6672 return NULL__null;
6673}
6674
6675
6676SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAObservation_load_binned(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6677 PyObject *resultobj = 0;
6678 GCTAObservation *arg1 = (GCTAObservation *) 0 ;
6679 std::string *arg2 = 0 ;
6680 void *argp1 = 0 ;
6681 int res1 = 0 ;
6682 int res2 = SWIG_OLDOBJ((0)) ;
6683 PyObject * obj0 = 0 ;
6684 PyObject * obj1 = 0 ;
6685
6686 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAObservation_load_binned",&obj0,&obj1)) SWIG_failgoto fail;
6687 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
6688 if (!SWIG_IsOK(res1)(res1 >= 0)) {
6689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAObservation_load_binned" "', argument " "1"" of type '" "GCTAObservation *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAObservation_load_binned"
"', argument " "1"" of type '" "GCTAObservation *""'"); goto
fail; } while(0)
;
6690 }
6691 arg1 = reinterpret_cast< GCTAObservation * >(argp1);
6692 {
6693 std::string *ptr = (std::string *)0;
6694 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
6695 if (!SWIG_IsOK(res2)(res2 >= 0)) {
6696 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAObservation_load_binned" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAObservation_load_binned"
"', argument " "2"" of type '" "std::string const &""'")
; goto fail; } while(0)
;
6697 }
6698 if (!ptr) {
6699 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAObservation_load_binned" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAObservation_load_binned" "', argument " "2"
" of type '" "std::string const &""'"); goto fail; } while
(0)
;
6700 }
6701 arg2 = ptr;
6702 }
6703 {
6704 try {
6705 (arg1)->load_binned((std::string const &)*arg2);
6706 }
6707 catch (const GException::out_of_range& e) {
6708 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
6709 }
6710 catch (const GExceptionHandler& e) {
6711 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6712 }
6713 catch (const std::exception& e) {
6714 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6715 }
6716 }
6717 resultobj = SWIG_Py_Void();
6718 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
6719 return resultobj;
6720fail:
6721 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
6722 return NULL__null;
6723}
6724
6725
6726SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAObservation_save__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6727 PyObject *resultobj = 0;
6728 GCTAObservation *arg1 = (GCTAObservation *) 0 ;
6729 std::string *arg2 = 0 ;
6730 bool *arg3 = 0 ;
6731 void *argp1 = 0 ;
6732 int res1 = 0 ;
6733 int res2 = SWIG_OLDOBJ((0)) ;
6734 bool temp3 ;
6735 bool val3 ;
6736 int ecode3 = 0 ;
6737 PyObject * obj0 = 0 ;
6738 PyObject * obj1 = 0 ;
6739 PyObject * obj2 = 0 ;
6740
6741 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAObservation_save",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
6742 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
6743 if (!SWIG_IsOK(res1)(res1 >= 0)) {
6744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAObservation_save" "', argument " "1"" of type '" "GCTAObservation const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAObservation_save" "', argument "
"1"" of type '" "GCTAObservation const *""'"); goto fail; } while
(0)
;
6745 }
6746 arg1 = reinterpret_cast< GCTAObservation * >(argp1);
6747 {
6748 std::string *ptr = (std::string *)0;
6749 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
6750 if (!SWIG_IsOK(res2)(res2 >= 0)) {
6751 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAObservation_save" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAObservation_save" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
6752 }
6753 if (!ptr) {
6754 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAObservation_save" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAObservation_save" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
6755 }
6756 arg2 = ptr;
6757 }
6758 ecode3 = SWIG_AsVal_bool(obj2, &val3);
6759 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
6760 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAObservation_save" "', argument " "3"" of type '" "bool""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAObservation_save" "', argument "
"3"" of type '" "bool""'"); goto fail; } while(0)
;
6761 }
6762 temp3 = static_cast< bool >(val3);
6763 arg3 = &temp3;
6764 {
6765 try {
6766 ((GCTAObservation const *)arg1)->save((std::string const &)*arg2,(bool const &)*arg3);
6767 }
6768 catch (const GException::out_of_range& e) {
6769 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
6770 }
6771 catch (const GExceptionHandler& e) {
6772 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6773 }
6774 catch (const std::exception& e) {
6775 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6776 }
6777 }
6778 resultobj = SWIG_Py_Void();
6779 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
6780 return resultobj;
6781fail:
6782 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
6783 return NULL__null;
6784}
6785
6786
6787SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAObservation_save__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6788 PyObject *resultobj = 0;
6789 GCTAObservation *arg1 = (GCTAObservation *) 0 ;
6790 std::string *arg2 = 0 ;
6791 void *argp1 = 0 ;
6792 int res1 = 0 ;
6793 int res2 = SWIG_OLDOBJ((0)) ;
6794 PyObject * obj0 = 0 ;
6795 PyObject * obj1 = 0 ;
6796
6797 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAObservation_save",&obj0,&obj1)) SWIG_failgoto fail;
6798 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
6799 if (!SWIG_IsOK(res1)(res1 >= 0)) {
6800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAObservation_save" "', argument " "1"" of type '" "GCTAObservation const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAObservation_save" "', argument "
"1"" of type '" "GCTAObservation const *""'"); goto fail; } while
(0)
;
6801 }
6802 arg1 = reinterpret_cast< GCTAObservation * >(argp1);
6803 {
6804 std::string *ptr = (std::string *)0;
6805 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
6806 if (!SWIG_IsOK(res2)(res2 >= 0)) {
6807 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAObservation_save" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAObservation_save" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
6808 }
6809 if (!ptr) {
6810 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAObservation_save" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAObservation_save" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
6811 }
6812 arg2 = ptr;
6813 }
6814 {
6815 try {
6816 ((GCTAObservation const *)arg1)->save((std::string const &)*arg2);
6817 }
6818 catch (const GException::out_of_range& e) {
6819 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
6820 }
6821 catch (const GExceptionHandler& e) {
6822 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6823 }
6824 catch (const std::exception& e) {
6825 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6826 }
6827 }
6828 resultobj = SWIG_Py_Void();
6829 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
6830 return resultobj;
6831fail:
6832 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
6833 return NULL__null;
6834}
6835
6836
6837SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAObservation_save(PyObject *self, PyObject *args) {
6838 int argc;
6839 PyObject *argv[4];
6840 int ii;
6841
6842 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
6843 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
6844 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
6845 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
6846 }
6847 if (argc == 2) {
6848 int _v;
6849 void *vptr = 0;
6850 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAObservation, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[19
], 0, 0)
;
6851 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
6852 if (_v) {
6853 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
6854 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
6855 if (_v) {
6856 return _wrap_GCTAObservation_save__SWIG_1(self, args);
6857 }
6858 }
6859 }
6860 if (argc == 3) {
6861 int _v;
6862 void *vptr = 0;
6863 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAObservation, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[19
], 0, 0)
;
6864 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
6865 if (_v) {
6866 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
6867 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
6868 if (_v) {
6869 {
6870 int res = SWIG_AsVal_bool(argv[2], NULL__null);
6871 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
6872 }
6873 if (_v) {
6874 return _wrap_GCTAObservation_save__SWIG_0(self, args);
6875 }
6876 }
6877 }
6878 }
6879
6880fail:
6881 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAObservation_save'.\n"
6882 " Possible C/C++ prototypes are:\n"
6883 " GCTAObservation::save(std::string const &,bool const &) const\n"
6884 " GCTAObservation::save(std::string const &) const\n");
6885 return 0;
6886}
6887
6888
6889SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAObservation_response__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6890 PyObject *resultobj = 0;
6891 GCTAObservation *arg1 = (GCTAObservation *) 0 ;
6892 std::string *arg2 = 0 ;
6893 std::string *arg3 = 0 ;
6894 void *argp1 = 0 ;
6895 int res1 = 0 ;
6896 int res2 = SWIG_OLDOBJ((0)) ;
6897 int res3 = SWIG_OLDOBJ((0)) ;
6898 PyObject * obj0 = 0 ;
6899 PyObject * obj1 = 0 ;
6900 PyObject * obj2 = 0 ;
6901
6902 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAObservation_response",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
6903 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
6904 if (!SWIG_IsOK(res1)(res1 >= 0)) {
6905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAObservation_response" "', argument " "1"" of type '" "GCTAObservation *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAObservation_response" "', argument "
"1"" of type '" "GCTAObservation *""'"); goto fail; } while(
0)
;
6906 }
6907 arg1 = reinterpret_cast< GCTAObservation * >(argp1);
6908 {
6909 std::string *ptr = (std::string *)0;
6910 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
6911 if (!SWIG_IsOK(res2)(res2 >= 0)) {
6912 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAObservation_response" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAObservation_response" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
6913 }
6914 if (!ptr) {
6915 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAObservation_response" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAObservation_response" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
6916 }
6917 arg2 = ptr;
6918 }
6919 {
6920 std::string *ptr = (std::string *)0;
6921 res3 = SWIG_AsPtr_std_string(obj2, &ptr);
6922 if (!SWIG_IsOK(res3)(res3 >= 0)) {
6923 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GCTAObservation_response" "', argument " "3"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GCTAObservation_response" "', argument "
"3"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
6924 }
6925 if (!ptr) {
6926 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAObservation_response" "', argument " "3"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAObservation_response" "', argument " "3"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
6927 }
6928 arg3 = ptr;
6929 }
6930 {
6931 try {
6932 (arg1)->response((std::string const &)*arg2,(std::string const &)*arg3);
6933 }
6934 catch (const GException::out_of_range& e) {
6935 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
6936 }
6937 catch (const GExceptionHandler& e) {
6938 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6939 }
6940 catch (const std::exception& e) {
6941 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6942 }
6943 }
6944 resultobj = SWIG_Py_Void();
6945 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
6946 if (SWIG_IsNewObj(res3)((res3 >= 0) && (res3 & ((1 << 8) <<
1)))
) delete arg3;
6947 return resultobj;
6948fail:
6949 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
6950 if (SWIG_IsNewObj(res3)((res3 >= 0) && (res3 & ((1 << 8) <<
1)))
) delete arg3;
6951 return NULL__null;
6952}
6953
6954
6955SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAObservation_response__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6956 PyObject *resultobj = 0;
6957 GCTAObservation *arg1 = (GCTAObservation *) 0 ;
6958 std::string *arg2 = 0 ;
6959 void *argp1 = 0 ;
6960 int res1 = 0 ;
6961 int res2 = SWIG_OLDOBJ((0)) ;
6962 PyObject * obj0 = 0 ;
6963 PyObject * obj1 = 0 ;
6964
6965 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAObservation_response",&obj0,&obj1)) SWIG_failgoto fail;
6966 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
6967 if (!SWIG_IsOK(res1)(res1 >= 0)) {
6968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAObservation_response" "', argument " "1"" of type '" "GCTAObservation *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAObservation_response" "', argument "
"1"" of type '" "GCTAObservation *""'"); goto fail; } while(
0)
;
6969 }
6970 arg1 = reinterpret_cast< GCTAObservation * >(argp1);
6971 {
6972 std::string *ptr = (std::string *)0;
6973 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
6974 if (!SWIG_IsOK(res2)(res2 >= 0)) {
6975 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAObservation_response" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAObservation_response" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
6976 }
6977 if (!ptr) {
6978 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAObservation_response" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAObservation_response" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
6979 }
6980 arg2 = ptr;
6981 }
6982 {
6983 try {
6984 (arg1)->response((std::string const &)*arg2);
6985 }
6986 catch (const GException::out_of_range& e) {
6987 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
6988 }
6989 catch (const GExceptionHandler& e) {
6990 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6991 }
6992 catch (const std::exception& e) {
6993 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6994 }
6995 }
6996 resultobj = SWIG_Py_Void();
6997 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
6998 return resultobj;
6999fail:
7000 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
7001 return NULL__null;
7002}
7003
7004
7005SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAObservation_response(PyObject *self, PyObject *args) {
7006 int argc;
7007 PyObject *argv[4];
7008 int ii;
7009
7010 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
7011 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
7012 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
7013 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
7014 }
7015 if (argc == 1) {
7016 int _v;
7017 void *vptr = 0;
7018 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAObservation, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[19
], 0, 0)
;
7019 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7020 if (_v) {
7021 return _wrap_GCTAObservation_response__SWIG_1(self, args);
7022 }
7023 }
7024 if (argc == 2) {
7025 int _v;
7026 void *vptr = 0;
7027 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAObservation, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[19
], 0, 0)
;
7028 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7029 if (_v) {
7030 int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_GResponse, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], 0, swig_types[57], 0, 0
)
;
7031 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7032 if (_v) {
7033 return _wrap_GCTAObservation_response__SWIG_0(self, args);
7034 }
7035 }
7036 }
7037 if (argc == 2) {
7038 int _v;
7039 void *vptr = 0;
7040 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAObservation, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[19
], 0, 0)
;
7041 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7042 if (_v) {
7043 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
7044 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7045 if (_v) {
7046 return _wrap_GCTAObservation_response__SWIG_3(self, args);
7047 }
7048 }
7049 }
7050 if (argc == 3) {
7051 int _v;
7052 void *vptr = 0;
7053 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAObservation, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[19
], 0, 0)
;
7054 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7055 if (_v) {
7056 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
7057 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7058 if (_v) {
7059 int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
7060 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7061 if (_v) {
7062 return _wrap_GCTAObservation_response__SWIG_2(self, args);
7063 }
7064 }
7065 }
7066 }
7067
7068fail:
7069 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAObservation_response'.\n"
7070 " Possible C/C++ prototypes are:\n"
7071 " GCTAObservation::response(GResponse const &)\n"
7072 " GCTAObservation::response() const\n"
7073 " GCTAObservation::response(std::string const &,std::string const &)\n"
7074 " GCTAObservation::response(std::string const &)\n");
7075 return 0;
7076}
7077
7078
7079SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAObservation_pointing__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7080 PyObject *resultobj = 0;
7081 GCTAObservation *arg1 = (GCTAObservation *) 0 ;
7082 GCTAPointing *arg2 = 0 ;
7083 void *argp1 = 0 ;
7084 int res1 = 0 ;
7085 void *argp2 = 0 ;
7086 int res2 = 0 ;
7087 PyObject * obj0 = 0 ;
7088 PyObject * obj1 = 0 ;
7089
7090 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAObservation_pointing",&obj0,&obj1)) SWIG_failgoto fail;
7091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
7092 if (!SWIG_IsOK(res1)(res1 >= 0)) {
7093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAObservation_pointing" "', argument " "1"" of type '" "GCTAObservation *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAObservation_pointing" "', argument "
"1"" of type '" "GCTAObservation *""'"); goto fail; } while(
0)
;
7094 }
7095 arg1 = reinterpret_cast< GCTAObservation * >(argp1);
7096 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GCTAPointing, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[22]
, 0 | 0, 0)
;
7097 if (!SWIG_IsOK(res2)(res2 >= 0)) {
7098 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAObservation_pointing" "', argument " "2"" of type '" "GCTAPointing const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAObservation_pointing" "', argument "
"2"" of type '" "GCTAPointing const &""'"); goto fail; }
while(0)
;
7099 }
7100 if (!argp2) {
7101 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAObservation_pointing" "', argument " "2"" of type '" "GCTAPointing const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAObservation_pointing" "', argument " "2"" of type '"
"GCTAPointing const &""'"); goto fail; } while(0)
;
7102 }
7103 arg2 = reinterpret_cast< GCTAPointing * >(argp2);
7104 {
7105 try {
7106 (arg1)->pointing((GCTAPointing const &)*arg2);
7107 }
7108 catch (const GException::out_of_range& e) {
7109 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
7110 }
7111 catch (const GExceptionHandler& e) {
7112 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7113 }
7114 catch (const std::exception& e) {
7115 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7116 }
7117 }
7118 resultobj = SWIG_Py_Void();
7119 return resultobj;
7120fail:
7121 return NULL__null;
7122}
7123
7124
7125SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAObservation_pointing__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7126 PyObject *resultobj = 0;
7127 GCTAObservation *arg1 = (GCTAObservation *) 0 ;
7128 void *argp1 = 0 ;
7129 int res1 = 0 ;
7130 PyObject * obj0 = 0 ;
7131 GCTAPointing *result = 0 ;
7132
7133 if (!PyArg_ParseTuple(args,(char *)"O:GCTAObservation_pointing",&obj0)) SWIG_failgoto fail;
7134 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
7135 if (!SWIG_IsOK(res1)(res1 >= 0)) {
7136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAObservation_pointing" "', argument " "1"" of type '" "GCTAObservation const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAObservation_pointing" "', argument "
"1"" of type '" "GCTAObservation const *""'"); goto fail; } while
(0)
;
7137 }
7138 arg1 = reinterpret_cast< GCTAObservation * >(argp1);
7139 {
7140 try {
7141 result = (GCTAPointing *) &((GCTAObservation const *)arg1)->pointing();
7142 }
7143 catch (const GException::out_of_range& e) {
7144 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
7145 }
7146 catch (const GExceptionHandler& e) {
7147 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7148 }
7149 catch (const std::exception& e) {
7150 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7151 }
7152 }
7153 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAPointing, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[22], 0
| 0)
;
7154 return resultobj;
7155fail:
7156 return NULL__null;
7157}
7158
7159
7160SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAObservation_pointing(PyObject *self, PyObject *args) {
7161 int argc;
7162 PyObject *argv[3];
7163 int ii;
7164
7165 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
7166 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
7167 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
7168 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
7169 }
7170 if (argc == 1) {
7171 int _v;
7172 void *vptr = 0;
7173 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAObservation, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[19
], 0, 0)
;
7174 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7175 if (_v) {
7176 return _wrap_GCTAObservation_pointing__SWIG_1(self, args);
7177 }
7178 }
7179 if (argc == 2) {
7180 int _v;
7181 void *vptr = 0;
7182 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAObservation, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[19
], 0, 0)
;
7183 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7184 if (_v) {
7185 int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_GCTAPointing, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], 0, swig_types[22], 0, 0
)
;
7186 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7187 if (_v) {
7188 return _wrap_GCTAObservation_pointing__SWIG_0(self, args);
7189 }
7190 }
7191 }
7192
7193fail:
7194 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAObservation_pointing'.\n"
7195 " Possible C/C++ prototypes are:\n"
7196 " GCTAObservation::pointing(GCTAPointing const &)\n"
7197 " GCTAObservation::pointing() const\n");
7198 return 0;
7199}
7200
7201
7202SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAObservation_obs_id__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7203 PyObject *resultobj = 0;
7204 GCTAObservation *arg1 = (GCTAObservation *) 0 ;
7205 int *arg2 = 0 ;
7206 void *argp1 = 0 ;
7207 int res1 = 0 ;
7208 int temp2 ;
7209 int val2 ;
7210 int ecode2 = 0 ;
7211 PyObject * obj0 = 0 ;
7212 PyObject * obj1 = 0 ;
7213
7214 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAObservation_obs_id",&obj0,&obj1)) SWIG_failgoto fail;
7215 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
7216 if (!SWIG_IsOK(res1)(res1 >= 0)) {
7217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAObservation_obs_id" "', argument " "1"" of type '" "GCTAObservation *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAObservation_obs_id" "', argument "
"1"" of type '" "GCTAObservation *""'"); goto fail; } while(
0)
;
7218 }
7219 arg1 = reinterpret_cast< GCTAObservation * >(argp1);
7220 ecode2 = SWIG_AsVal_int(obj1, &val2);
7221 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
7222 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAObservation_obs_id" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAObservation_obs_id"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
7223 }
7224 temp2 = static_cast< int >(val2);
7225 arg2 = &temp2;
7226 {
7227 try {
7228 (arg1)->obs_id((int const &)*arg2);
7229 }
7230 catch (const GException::out_of_range& e) {
7231 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
7232 }
7233 catch (const GExceptionHandler& e) {
7234 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7235 }
7236 catch (const std::exception& e) {
7237 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7238 }
7239 }
7240 resultobj = SWIG_Py_Void();
7241 return resultobj;
7242fail:
7243 return NULL__null;
7244}
7245
7246
7247SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAObservation_obs_id__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7248 PyObject *resultobj = 0;
7249 GCTAObservation *arg1 = (GCTAObservation *) 0 ;
7250 void *argp1 = 0 ;
7251 int res1 = 0 ;
7252 PyObject * obj0 = 0 ;
7253 int *result = 0 ;
7254
7255 if (!PyArg_ParseTuple(args,(char *)"O:GCTAObservation_obs_id",&obj0)) SWIG_failgoto fail;
7256 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
7257 if (!SWIG_IsOK(res1)(res1 >= 0)) {
7258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAObservation_obs_id" "', argument " "1"" of type '" "GCTAObservation const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAObservation_obs_id" "', argument "
"1"" of type '" "GCTAObservation const *""'"); goto fail; } while
(0)
;
7259 }
7260 arg1 = reinterpret_cast< GCTAObservation * >(argp1);
7261 {
7262 try {
7263 result = (int *) &((GCTAObservation const *)arg1)->obs_id();
7264 }
7265 catch (const GException::out_of_range& e) {
7266 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
7267 }
7268 catch (const GExceptionHandler& e) {
7269 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7270 }
7271 catch (const std::exception& e) {
7272 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7273 }
7274 }
7275 resultobj = SWIG_From_int(static_cast< int >(*result));
7276 return resultobj;
7277fail:
7278 return NULL__null;
7279}
7280
7281
7282SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAObservation_obs_id(PyObject *self, PyObject *args) {
7283 int argc;
7284 PyObject *argv[3];
7285 int ii;
7286
7287 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
7288 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
7289 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
7290 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
7291 }
7292 if (argc == 1) {
7293 int _v;
7294 void *vptr = 0;
7295 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAObservation, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[19
], 0, 0)
;
7296 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7297 if (_v) {
7298 return _wrap_GCTAObservation_obs_id__SWIG_1(self, args);
7299 }
7300 }
7301 if (argc == 2) {
7302 int _v;
7303 void *vptr = 0;
7304 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAObservation, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[19
], 0, 0)
;
7305 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7306 if (_v) {
7307 {
7308 int res = SWIG_AsVal_int(argv[1], NULL__null);
7309 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7310 }
7311 if (_v) {
7312 return _wrap_GCTAObservation_obs_id__SWIG_0(self, args);
7313 }
7314 }
7315 }
7316
7317fail:
7318 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAObservation_obs_id'.\n"
7319 " Possible C/C++ prototypes are:\n"
7320 " GCTAObservation::obs_id(int const &)\n"
7321 " GCTAObservation::obs_id() const\n");
7322 return 0;
7323}
7324
7325
7326SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAObservation_ra_obj__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7327 PyObject *resultobj = 0;
7328 GCTAObservation *arg1 = (GCTAObservation *) 0 ;
7329 double *arg2 = 0 ;
7330 void *argp1 = 0 ;
7331 int res1 = 0 ;
7332 double temp2 ;
7333 double val2 ;
7334 int ecode2 = 0 ;
7335 PyObject * obj0 = 0 ;
7336 PyObject * obj1 = 0 ;
7337
7338 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAObservation_ra_obj",&obj0,&obj1)) SWIG_failgoto fail;
7339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
7340 if (!SWIG_IsOK(res1)(res1 >= 0)) {
7341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAObservation_ra_obj" "', argument " "1"" of type '" "GCTAObservation *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAObservation_ra_obj" "', argument "
"1"" of type '" "GCTAObservation *""'"); goto fail; } while(
0)
;
7342 }
7343 arg1 = reinterpret_cast< GCTAObservation * >(argp1);
7344 ecode2 = SWIG_AsVal_double(obj1, &val2);
7345 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
7346 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAObservation_ra_obj" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAObservation_ra_obj"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
7347 }
7348 temp2 = static_cast< double >(val2);
7349 arg2 = &temp2;
7350 {
7351 try {
7352 (arg1)->ra_obj((double const &)*arg2);
7353 }
7354 catch (const GException::out_of_range& e) {
7355 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
7356 }
7357 catch (const GExceptionHandler& e) {
7358 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7359 }
7360 catch (const std::exception& e) {
7361 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7362 }
7363 }
7364 resultobj = SWIG_Py_Void();
7365 return resultobj;
7366fail:
7367 return NULL__null;
7368}
7369
7370
7371SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAObservation_ra_obj__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7372 PyObject *resultobj = 0;
7373 GCTAObservation *arg1 = (GCTAObservation *) 0 ;
7374 void *argp1 = 0 ;
7375 int res1 = 0 ;
7376 PyObject * obj0 = 0 ;
7377 double *result = 0 ;
7378
7379 if (!PyArg_ParseTuple(args,(char *)"O:GCTAObservation_ra_obj",&obj0)) SWIG_failgoto fail;
7380 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
7381 if (!SWIG_IsOK(res1)(res1 >= 0)) {
7382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAObservation_ra_obj" "', argument " "1"" of type '" "GCTAObservation const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAObservation_ra_obj" "', argument "
"1"" of type '" "GCTAObservation const *""'"); goto fail; } while
(0)
;
7383 }
7384 arg1 = reinterpret_cast< GCTAObservation * >(argp1);
7385 {
7386 try {
7387 result = (double *) &((GCTAObservation const *)arg1)->ra_obj();
7388 }
7389 catch (const GException::out_of_range& e) {
7390 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
7391 }
7392 catch (const GExceptionHandler& e) {
7393 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7394 }
7395 catch (const std::exception& e) {
7396 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7397 }
7398 }
7399 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(*result));
7400 return resultobj;
7401fail:
7402 return NULL__null;
7403}
7404
7405
7406SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAObservation_ra_obj(PyObject *self, PyObject *args) {
7407 int argc;
7408 PyObject *argv[3];
7409 int ii;
7410
7411 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
7412 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
7413 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
7414 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
7415 }
7416 if (argc == 1) {
7417 int _v;
7418 void *vptr = 0;
7419 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAObservation, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[19
], 0, 0)
;
7420 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7421 if (_v) {
7422 return _wrap_GCTAObservation_ra_obj__SWIG_1(self, args);
7423 }
7424 }
7425 if (argc == 2) {
7426 int _v;
7427 void *vptr = 0;
7428 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAObservation, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[19
], 0, 0)
;
7429 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7430 if (_v) {
7431 {
7432 int res = SWIG_AsVal_double(argv[1], NULL__null);
7433 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7434 }
7435 if (_v) {
7436 return _wrap_GCTAObservation_ra_obj__SWIG_0(self, args);
7437 }
7438 }
7439 }
7440
7441fail:
7442 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAObservation_ra_obj'.\n"
7443 " Possible C/C++ prototypes are:\n"
7444 " GCTAObservation::ra_obj(double const &)\n"
7445 " GCTAObservation::ra_obj() const\n");
7446 return 0;
7447}
7448
7449
7450SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAObservation_dec_obj__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7451 PyObject *resultobj = 0;
7452 GCTAObservation *arg1 = (GCTAObservation *) 0 ;
7453 double *arg2 = 0 ;
7454 void *argp1 = 0 ;
7455 int res1 = 0 ;
7456 double temp2 ;
7457 double val2 ;
7458 int ecode2 = 0 ;
7459 PyObject * obj0 = 0 ;
7460 PyObject * obj1 = 0 ;
7461
7462 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAObservation_dec_obj",&obj0,&obj1)) SWIG_failgoto fail;
7463 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
7464 if (!SWIG_IsOK(res1)(res1 >= 0)) {
7465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAObservation_dec_obj" "', argument " "1"" of type '" "GCTAObservation *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAObservation_dec_obj" "', argument "
"1"" of type '" "GCTAObservation *""'"); goto fail; } while(
0)
;
7466 }
7467 arg1 = reinterpret_cast< GCTAObservation * >(argp1);
7468 ecode2 = SWIG_AsVal_double(obj1, &val2);
7469 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
7470 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAObservation_dec_obj" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAObservation_dec_obj"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
7471 }
7472 temp2 = static_cast< double >(val2);
7473 arg2 = &temp2;
7474 {
7475 try {
7476 (arg1)->dec_obj((double const &)*arg2);
7477 }
7478 catch (const GException::out_of_range& e) {
7479 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
7480 }
7481 catch (const GExceptionHandler& e) {
7482 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7483 }
7484 catch (const std::exception& e) {
7485 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7486 }
7487 }
7488 resultobj = SWIG_Py_Void();
7489 return resultobj;
7490fail:
7491 return NULL__null;
7492}
7493
7494
7495SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAObservation_dec_obj__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7496 PyObject *resultobj = 0;
7497 GCTAObservation *arg1 = (GCTAObservation *) 0 ;
7498 void *argp1 = 0 ;
7499 int res1 = 0 ;
7500 PyObject * obj0 = 0 ;
7501 double *result = 0 ;
7502
7503 if (!PyArg_ParseTuple(args,(char *)"O:GCTAObservation_dec_obj",&obj0)) SWIG_failgoto fail;
7504 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
7505 if (!SWIG_IsOK(res1)(res1 >= 0)) {
7506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAObservation_dec_obj" "', argument " "1"" of type '" "GCTAObservation const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAObservation_dec_obj" "', argument "
"1"" of type '" "GCTAObservation const *""'"); goto fail; } while
(0)
;
7507 }
7508 arg1 = reinterpret_cast< GCTAObservation * >(argp1);
7509 {
7510 try {
7511 result = (double *) &((GCTAObservation const *)arg1)->dec_obj();
7512 }
7513 catch (const GException::out_of_range& e) {
7514 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
7515 }
7516 catch (const GExceptionHandler& e) {
7517 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7518 }
7519 catch (const std::exception& e) {
7520 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7521 }
7522 }
7523 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(*result));
7524 return resultobj;
7525fail:
7526 return NULL__null;
7527}
7528
7529
7530SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAObservation_dec_obj(PyObject *self, PyObject *args) {
7531 int argc;
7532 PyObject *argv[3];
7533 int ii;
7534
7535 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
7536 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
7537 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
7538 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
7539 }
7540 if (argc == 1) {
7541 int _v;
7542 void *vptr = 0;
7543 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAObservation, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[19
], 0, 0)
;
7544 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7545 if (_v) {
7546 return _wrap_GCTAObservation_dec_obj__SWIG_1(self, args);
7547 }
7548 }
7549 if (argc == 2) {
7550 int _v;
7551 void *vptr = 0;
7552 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAObservation, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[19
], 0, 0)
;
7553 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7554 if (_v) {
7555 {
7556 int res = SWIG_AsVal_double(argv[1], NULL__null);
7557 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7558 }
7559 if (_v) {
7560 return _wrap_GCTAObservation_dec_obj__SWIG_0(self, args);
7561 }
7562 }
7563 }
7564
7565fail:
7566 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAObservation_dec_obj'.\n"
7567 " Possible C/C++ prototypes are:\n"
7568 " GCTAObservation::dec_obj(double const &)\n"
7569 " GCTAObservation::dec_obj() const\n");
7570 return 0;
7571}
7572
7573
7574SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAObservation_ontime__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7575 PyObject *resultobj = 0;
7576 GCTAObservation *arg1 = (GCTAObservation *) 0 ;
7577 double *arg2 = 0 ;
7578 void *argp1 = 0 ;
7579 int res1 = 0 ;
7580 double temp2 ;
7581 double val2 ;
7582 int ecode2 = 0 ;
7583 PyObject * obj0 = 0 ;
7584 PyObject * obj1 = 0 ;
7585
7586 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAObservation_ontime",&obj0,&obj1)) SWIG_failgoto fail;
7587 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
7588 if (!SWIG_IsOK(res1)(res1 >= 0)) {
7589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAObservation_ontime" "', argument " "1"" of type '" "GCTAObservation *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAObservation_ontime" "', argument "
"1"" of type '" "GCTAObservation *""'"); goto fail; } while(
0)
;
7590 }
7591 arg1 = reinterpret_cast< GCTAObservation * >(argp1);
7592 ecode2 = SWIG_AsVal_double(obj1, &val2);
7593 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
7594 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAObservation_ontime" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAObservation_ontime"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
7595 }
7596 temp2 = static_cast< double >(val2);
7597 arg2 = &temp2;
7598 {
7599 try {
7600 (arg1)->ontime((double const &)*arg2);
7601 }
7602 catch (const GException::out_of_range& e) {
7603 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
7604 }
7605 catch (const GExceptionHandler& e) {
7606 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7607 }
7608 catch (const std::exception& e) {
7609 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7610 }
7611 }
7612 resultobj = SWIG_Py_Void();
7613 return resultobj;
7614fail:
7615 return NULL__null;
7616}
7617
7618
7619SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAObservation_ontime(PyObject *self, PyObject *args) {
7620 int argc;
7621 PyObject *argv[3];
7622 int ii;
7623
7624 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
7625 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
7626 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
7627 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
7628 }
7629 if (argc == 1) {
7630 int _v;
7631 void *vptr = 0;
7632 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAObservation, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[19
], 0, 0)
;
7633 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7634 if (_v) {
7635 return _wrap_GCTAObservation_ontime__SWIG_0(self, args);
7636 }
7637 }
7638 if (argc == 2) {
7639 int _v;
7640 void *vptr = 0;
7641 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAObservation, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[19
], 0, 0)
;
7642 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7643 if (_v) {
7644 {
7645 int res = SWIG_AsVal_double(argv[1], NULL__null);
7646 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7647 }
7648 if (_v) {
7649 return _wrap_GCTAObservation_ontime__SWIG_1(self, args);
7650 }
7651 }
7652 }
7653
7654fail:
7655 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAObservation_ontime'.\n"
7656 " Possible C/C++ prototypes are:\n"
7657 " GCTAObservation::ontime() const\n"
7658 " GCTAObservation::ontime(double const &)\n");
7659 return 0;
7660}
7661
7662
7663SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAObservation_livetime__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7664 PyObject *resultobj = 0;
7665 GCTAObservation *arg1 = (GCTAObservation *) 0 ;
7666 double *arg2 = 0 ;
7667 void *argp1 = 0 ;
7668 int res1 = 0 ;
7669 double temp2 ;
7670 double val2 ;
7671 int ecode2 = 0 ;
7672 PyObject * obj0 = 0 ;
7673 PyObject * obj1 = 0 ;
7674
7675 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAObservation_livetime",&obj0,&obj1)) SWIG_failgoto fail;
7676 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
7677 if (!SWIG_IsOK(res1)(res1 >= 0)) {
7678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAObservation_livetime" "', argument " "1"" of type '" "GCTAObservation *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAObservation_livetime" "', argument "
"1"" of type '" "GCTAObservation *""'"); goto fail; } while(
0)
;
7679 }
7680 arg1 = reinterpret_cast< GCTAObservation * >(argp1);
7681 ecode2 = SWIG_AsVal_double(obj1, &val2);
7682 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
7683 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAObservation_livetime" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAObservation_livetime"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
7684 }
7685 temp2 = static_cast< double >(val2);
7686 arg2 = &temp2;
7687 {
7688 try {
7689 (arg1)->livetime((double const &)*arg2);
7690 }
7691 catch (const GException::out_of_range& e) {
7692 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
7693 }
7694 catch (const GExceptionHandler& e) {
7695 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7696 }
7697 catch (const std::exception& e) {
7698 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7699 }
7700 }
7701 resultobj = SWIG_Py_Void();
7702 return resultobj;
7703fail:
7704 return NULL__null;
7705}
7706
7707
7708SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAObservation_livetime(PyObject *self, PyObject *args) {
7709 int argc;
7710 PyObject *argv[3];
7711 int ii;
7712
7713 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
7714 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
7715 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
7716 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
7717 }
7718 if (argc == 1) {
7719 int _v;
7720 void *vptr = 0;
7721 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAObservation, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[19
], 0, 0)
;
7722 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7723 if (_v) {
7724 return _wrap_GCTAObservation_livetime__SWIG_0(self, args);
7725 }
7726 }
7727 if (argc == 2) {
7728 int _v;
7729 void *vptr = 0;
7730 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAObservation, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[19
], 0, 0)
;
7731 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7732 if (_v) {
7733 {
7734 int res = SWIG_AsVal_double(argv[1], NULL__null);
7735 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7736 }
7737 if (_v) {
7738 return _wrap_GCTAObservation_livetime__SWIG_1(self, args);
7739 }
7740 }
7741 }
7742
7743fail:
7744 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAObservation_livetime'.\n"
7745 " Possible C/C++ prototypes are:\n"
7746 " GCTAObservation::livetime() const\n"
7747 " GCTAObservation::livetime(double const &)\n");
7748 return 0;
7749}
7750
7751
7752SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAObservation_deadc__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7753 PyObject *resultobj = 0;
7754 GCTAObservation *arg1 = (GCTAObservation *) 0 ;
7755 double *arg2 = 0 ;
7756 void *argp1 = 0 ;
7757 int res1 = 0 ;
7758 double temp2 ;
7759 double val2 ;
7760 int ecode2 = 0 ;
7761 PyObject * obj0 = 0 ;
7762 PyObject * obj1 = 0 ;
7763
7764 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAObservation_deadc",&obj0,&obj1)) SWIG_failgoto fail;
7765 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
7766 if (!SWIG_IsOK(res1)(res1 >= 0)) {
7767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAObservation_deadc" "', argument " "1"" of type '" "GCTAObservation *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAObservation_deadc" "', argument "
"1"" of type '" "GCTAObservation *""'"); goto fail; } while(
0)
;
7768 }
7769 arg1 = reinterpret_cast< GCTAObservation * >(argp1);
7770 ecode2 = SWIG_AsVal_double(obj1, &val2);
7771 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
7772 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAObservation_deadc" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAObservation_deadc"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
7773 }
7774 temp2 = static_cast< double >(val2);
7775 arg2 = &temp2;
7776 {
7777 try {
7778 (arg1)->deadc((double const &)*arg2);
7779 }
7780 catch (const GException::out_of_range& e) {
7781 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
7782 }
7783 catch (const GExceptionHandler& e) {
7784 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7785 }
7786 catch (const std::exception& e) {
7787 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7788 }
7789 }
7790 resultobj = SWIG_Py_Void();
7791 return resultobj;
7792fail:
7793 return NULL__null;
7794}
7795
7796
7797SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAObservation_deadc(PyObject *self, PyObject *args) {
7798 int argc;
7799 PyObject *argv[3];
7800 int ii;
7801
7802 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
7803 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
7804 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
7805 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
7806 }
7807 if (argc == 2) {
7808 int _v;
7809 void *vptr = 0;
7810 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAObservation, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[19
], 0, 0)
;
7811 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7812 if (_v) {
7813 int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_GTime, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], 0, swig_types[64], 0, 0
)
;
7814 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7815 if (_v) {
7816 return _wrap_GCTAObservation_deadc__SWIG_0(self, args);
7817 }
7818 }
7819 }
7820 if (argc == 2) {
7821 int _v;
7822 void *vptr = 0;
7823 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAObservation, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[19
], 0, 0)
;
7824 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7825 if (_v) {
7826 {
7827 int res = SWIG_AsVal_double(argv[1], NULL__null);
7828 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7829 }
7830 if (_v) {
7831 return _wrap_GCTAObservation_deadc__SWIG_1(self, args);
7832 }
7833 }
7834 }
7835
7836fail:
7837 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAObservation_deadc'.\n"
7838 " Possible C/C++ prototypes are:\n"
7839 " GCTAObservation::deadc(GTime const &) const\n"
7840 " GCTAObservation::deadc(double const &)\n");
7841 return 0;
7842}
7843
7844
7845SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAObservation_eventfile__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7846 PyObject *resultobj = 0;
7847 GCTAObservation *arg1 = (GCTAObservation *) 0 ;
7848 std::string *arg2 = 0 ;
7849 void *argp1 = 0 ;
7850 int res1 = 0 ;
7851 int res2 = SWIG_OLDOBJ((0)) ;
7852 PyObject * obj0 = 0 ;
7853 PyObject * obj1 = 0 ;
7854
7855 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAObservation_eventfile",&obj0,&obj1)) SWIG_failgoto fail;
7856 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
7857 if (!SWIG_IsOK(res1)(res1 >= 0)) {
7858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAObservation_eventfile" "', argument " "1"" of type '" "GCTAObservation *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAObservation_eventfile"
"', argument " "1"" of type '" "GCTAObservation *""'"); goto
fail; } while(0)
;
7859 }
7860 arg1 = reinterpret_cast< GCTAObservation * >(argp1);
7861 {
7862 std::string *ptr = (std::string *)0;
7863 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
7864 if (!SWIG_IsOK(res2)(res2 >= 0)) {
7865 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAObservation_eventfile" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAObservation_eventfile"
"', argument " "2"" of type '" "std::string const &""'")
; goto fail; } while(0)
;
7866 }
7867 if (!ptr) {
7868 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAObservation_eventfile" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAObservation_eventfile" "', argument " "2"
" of type '" "std::string const &""'"); goto fail; } while
(0)
;
7869 }
7870 arg2 = ptr;
7871 }
7872 {
7873 try {
7874 (arg1)->eventfile((std::string const &)*arg2);
7875 }
7876 catch (const GException::out_of_range& e) {
7877 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
7878 }
7879 catch (const GExceptionHandler& e) {
7880 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7881 }
7882 catch (const std::exception& e) {
7883 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7884 }
7885 }
7886 resultobj = SWIG_Py_Void();
7887 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
7888 return resultobj;
7889fail:
7890 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
7891 return NULL__null;
7892}
7893
7894
7895SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAObservation_eventfile__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7896 PyObject *resultobj = 0;
7897 GCTAObservation *arg1 = (GCTAObservation *) 0 ;
7898 void *argp1 = 0 ;
7899 int res1 = 0 ;
7900 PyObject * obj0 = 0 ;
7901 std::string *result = 0 ;
7902
7903 if (!PyArg_ParseTuple(args,(char *)"O:GCTAObservation_eventfile",&obj0)) SWIG_failgoto fail;
7904 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
7905 if (!SWIG_IsOK(res1)(res1 >= 0)) {
7906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAObservation_eventfile" "', argument " "1"" of type '" "GCTAObservation const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAObservation_eventfile"
"', argument " "1"" of type '" "GCTAObservation const *""'")
; goto fail; } while(0)
;
7907 }
7908 arg1 = reinterpret_cast< GCTAObservation * >(argp1);
7909 {
7910 try {
7911 result = (std::string *) &((GCTAObservation const *)arg1)->eventfile();
7912 }
7913 catch (const GException::out_of_range& e) {
7914 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
7915 }
7916 catch (const GExceptionHandler& e) {
7917 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7918 }
7919 catch (const std::exception& e) {
7920 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7921 }
7922 }
7923 resultobj = SWIG_From_std_string(static_cast< std::string >(*result));
7924 return resultobj;
7925fail:
7926 return NULL__null;
7927}
7928
7929
7930SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAObservation_eventfile(PyObject *self, PyObject *args) {
7931 int argc;
7932 PyObject *argv[3];
7933 int ii;
7934
7935 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
7936 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
7937 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
7938 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
7939 }
7940 if (argc == 1) {
7941 int _v;
7942 void *vptr = 0;
7943 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAObservation, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[19
], 0, 0)
;
7944 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7945 if (_v) {
7946 return _wrap_GCTAObservation_eventfile__SWIG_1(self, args);
7947 }
7948 }
7949 if (argc == 2) {
7950 int _v;
7951 void *vptr = 0;
7952 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAObservation, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[19
], 0, 0)
;
7953 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7954 if (_v) {
7955 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
7956 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7957 if (_v) {
7958 return _wrap_GCTAObservation_eventfile__SWIG_0(self, args);
7959 }
7960 }
7961 }
7962
7963fail:
7964 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAObservation_eventfile'.\n"
7965 " Possible C/C++ prototypes are:\n"
7966 " GCTAObservation::eventfile(std::string const &)\n"
7967 " GCTAObservation::eventfile() const\n");
7968 return 0;
7969}
7970
7971
7972SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAObservation_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7973 PyObject *resultobj = 0;
7974 GCTAObservation *arg1 = (GCTAObservation *) 0 ;
7975 void *argp1 = 0 ;
7976 int res1 = 0 ;
7977 PyObject * obj0 = 0 ;
7978 GCTAObservation result;
7979
7980 if (!PyArg_ParseTuple(args,(char *)"O:GCTAObservation_copy",&obj0)) SWIG_failgoto fail;
7981 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
7982 if (!SWIG_IsOK(res1)(res1 >= 0)) {
7983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAObservation_copy" "', argument " "1"" of type '" "GCTAObservation *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAObservation_copy" "', argument "
"1"" of type '" "GCTAObservation *""'"); goto fail; } while(
0)
;
7984 }
7985 arg1 = reinterpret_cast< GCTAObservation * >(argp1);
7986 {
7987 try {
7988 result = GCTAObservation_copy(arg1);
7989 }
7990 catch (const GException::out_of_range& e) {
7991 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
7992 }
7993 catch (const GExceptionHandler& e) {
7994 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7995 }
7996 catch (const std::exception& e) {
7997 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7998 }
7999 }
8000 resultobj = SWIG_NewPointerObj((new GCTAObservation(static_cast< const GCTAObservation& >(result))), SWIGTYPE_p_GCTAObservation, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GCTAObservation(static_cast
< const GCTAObservation& >(result))), swig_types[19
], 0x1 | 0)
;
8001 return resultobj;
8002fail:
8003 return NULL__null;
8004}
8005
8006
8007SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GCTAObservation_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8008 PyObject *obj;
8009 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
8010 SWIG_TypeNewClientData(SWIGTYPE_p_GCTAObservationswig_types[19], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
8011 return SWIG_Py_Void();
8012}
8013
8014SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAOnOffObservation__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8015 PyObject *resultobj = 0;
8016 GCTAOnOffObservation *result = 0 ;
8017
8018 if (!PyArg_ParseTuple(args,(char *)":new_GCTAOnOffObservation")) SWIG_failgoto fail;
8019 {
8020 try {
8021 result = (GCTAOnOffObservation *)new GCTAOnOffObservation();
8022 }
8023 catch (const GException::out_of_range& e) {
8024 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
8025 }
8026 catch (const GExceptionHandler& e) {
8027 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8028 }
8029 catch (const std::exception& e) {
8030 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8031 }
8032 }
8033 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAOnOffObservation, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[20], (
(0x1 << 1) | 0x1) | 0)
;
8034 return resultobj;
8035fail:
8036 return NULL__null;
8037}
8038
8039
8040SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAOnOffObservation__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8041 PyObject *resultobj = 0;
8042 GEbounds *arg1 = 0 ;
8043 GSkyRegions *arg2 = 0 ;
8044 GSkyRegions *arg3 = 0 ;
8045 void *argp1 = 0 ;
8046 int res1 = 0 ;
8047 void *argp2 = 0 ;
8048 int res2 = 0 ;
8049 void *argp3 = 0 ;
8050 int res3 = 0 ;
8051 PyObject * obj0 = 0 ;
8052 PyObject * obj1 = 0 ;
8053 PyObject * obj2 = 0 ;
8054 GCTAOnOffObservation *result = 0 ;
8055
8056 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GCTAOnOffObservation",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
8057 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GEbounds, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[32]
, 0 | 0, 0)
;
8058 if (!SWIG_IsOK(res1)(res1 >= 0)) {
8059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAOnOffObservation" "', argument " "1"" of type '" "GEbounds const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAOnOffObservation" "', argument "
"1"" of type '" "GEbounds const &""'"); goto fail; } while
(0)
;
8060 }
8061 if (!argp1) {
8062 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAOnOffObservation" "', argument " "1"" of type '" "GEbounds const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAOnOffObservation" "', argument " "1"" of type '"
"GEbounds const &""'"); goto fail; } while(0)
;
8063 }
8064 arg1 = reinterpret_cast< GEbounds * >(argp1);
8065 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GSkyRegions, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[61]
, 0 | 0, 0)
;
8066 if (!SWIG_IsOK(res2)(res2 >= 0)) {
8067 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_GCTAOnOffObservation" "', argument " "2"" of type '" "GSkyRegions const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "new_GCTAOnOffObservation" "', argument "
"2"" of type '" "GSkyRegions const &""'"); goto fail; } while
(0)
;
8068 }
8069 if (!argp2) {
8070 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAOnOffObservation" "', argument " "2"" of type '" "GSkyRegions const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAOnOffObservation" "', argument " "2"" of type '"
"GSkyRegions const &""'"); goto fail; } while(0)
;
8071 }
8072 arg2 = reinterpret_cast< GSkyRegions * >(argp2);
8073 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GSkyRegions, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[61]
, 0 | 0, 0)
;
8074 if (!SWIG_IsOK(res3)(res3 >= 0)) {
8075 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_GCTAOnOffObservation" "', argument " "3"" of type '" "GSkyRegions const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "new_GCTAOnOffObservation" "', argument "
"3"" of type '" "GSkyRegions const &""'"); goto fail; } while
(0)
;
8076 }
8077 if (!argp3) {
8078 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAOnOffObservation" "', argument " "3"" of type '" "GSkyRegions const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAOnOffObservation" "', argument " "3"" of type '"
"GSkyRegions const &""'"); goto fail; } while(0)
;
8079 }
8080 arg3 = reinterpret_cast< GSkyRegions * >(argp3);
8081 {
8082 try {
8083 result = (GCTAOnOffObservation *)new GCTAOnOffObservation((GEbounds const &)*arg1,(GSkyRegions const &)*arg2,(GSkyRegions const &)*arg3);
8084 }
8085 catch (const GException::out_of_range& e) {
8086 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
8087 }
8088 catch (const GExceptionHandler& e) {
8089 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8090 }
8091 catch (const std::exception& e) {
8092 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8093 }
8094 }
8095 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAOnOffObservation, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[20], (
(0x1 << 1) | 0x1) | 0)
;
8096 return resultobj;
8097fail:
8098 return NULL__null;
8099}
8100
8101
8102SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAOnOffObservation__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8103 PyObject *resultobj = 0;
8104 GCTAOnOffObservation *arg1 = 0 ;
8105 void *argp1 = 0 ;
8106 int res1 = 0 ;
8107 PyObject * obj0 = 0 ;
8108 GCTAOnOffObservation *result = 0 ;
8109
8110 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAOnOffObservation",&obj0)) SWIG_failgoto fail;
8111 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GCTAOnOffObservation, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[20]
, 0 | 0, 0)
;
8112 if (!SWIG_IsOK(res1)(res1 >= 0)) {
8113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAOnOffObservation" "', argument " "1"" of type '" "GCTAOnOffObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAOnOffObservation" "', argument "
"1"" of type '" "GCTAOnOffObservation const &""'"); goto
fail; } while(0)
;
8114 }
8115 if (!argp1) {
8116 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAOnOffObservation" "', argument " "1"" of type '" "GCTAOnOffObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAOnOffObservation" "', argument " "1"" of type '"
"GCTAOnOffObservation const &""'"); goto fail; } while(0
)
;
8117 }
8118 arg1 = reinterpret_cast< GCTAOnOffObservation * >(argp1);
8119 {
8120 try {
8121 result = (GCTAOnOffObservation *)new GCTAOnOffObservation((GCTAOnOffObservation const &)*arg1);
8122 }
8123 catch (const GException::out_of_range& e) {
8124 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
8125 }
8126 catch (const GExceptionHandler& e) {
8127 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8128 }
8129 catch (const std::exception& e) {
8130 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8131 }
8132 }
8133 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAOnOffObservation, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[20], (
(0x1 << 1) | 0x1) | 0)
;
8134 return resultobj;
8135fail:
8136 return NULL__null;
8137}
8138
8139
8140SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAOnOffObservation(PyObject *self, PyObject *args) {
8141 int argc;
8142 PyObject *argv[4];
8143 int ii;
8144
8145 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
8146 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
8147 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
8148 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
8149 }
8150 if (argc == 0) {
8151 return _wrap_new_GCTAOnOffObservation__SWIG_0(self, args);
8152 }
8153 if (argc == 1) {
8154 int _v;
8155 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GCTAOnOffObservation, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[20], 0, 0
)
;
8156 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
8157 if (_v) {
8158 return _wrap_new_GCTAOnOffObservation__SWIG_2(self, args);
8159 }
8160 }
8161 if (argc == 3) {
8162 int _v;
8163 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GEbounds, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[32], 0, 0
)
;
8164 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
8165 if (_v) {
8166 int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_GSkyRegions, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], 0, swig_types[61], 0, 0
)
;
8167 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
8168 if (_v) {
8169 int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_GSkyRegions, 0)SWIG_Python_ConvertPtrAndOwn(argv[2], 0, swig_types[61], 0, 0
)
;
8170 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
8171 if (_v) {
8172 return _wrap_new_GCTAOnOffObservation__SWIG_1(self, args);
8173 }
8174 }
8175 }
8176 }
8177
8178fail:
8179 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GCTAOnOffObservation'.\n"
8180 " Possible C/C++ prototypes are:\n"
8181 " GCTAOnOffObservation::GCTAOnOffObservation()\n"
8182 " GCTAOnOffObservation::GCTAOnOffObservation(GEbounds const &,GSkyRegions const &,GSkyRegions const &)\n"
8183 " GCTAOnOffObservation::GCTAOnOffObservation(GCTAOnOffObservation const &)\n");
8184 return 0;
8185}
8186
8187
8188SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GCTAOnOffObservation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8189 PyObject *resultobj = 0;
8190 GCTAOnOffObservation *arg1 = (GCTAOnOffObservation *) 0 ;
8191 void *argp1 = 0 ;
8192 int res1 = 0 ;
8193 PyObject * obj0 = 0 ;
8194
8195 if (!PyArg_ParseTuple(args,(char *)"O:delete_GCTAOnOffObservation",&obj0)) SWIG_failgoto fail;
8196 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservation, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[20]
, 0x1 | 0, 0)
;
8197 if (!SWIG_IsOK(res1)(res1 >= 0)) {
8198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GCTAOnOffObservation" "', argument " "1"" of type '" "GCTAOnOffObservation *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GCTAOnOffObservation"
"', argument " "1"" of type '" "GCTAOnOffObservation *""'");
goto fail; } while(0)
;
8199 }
8200 arg1 = reinterpret_cast< GCTAOnOffObservation * >(argp1);
8201 {
8202 try {
8203 delete arg1;
8204 }
8205 catch (const GException::out_of_range& e) {
8206 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
8207 }
8208 catch (const GExceptionHandler& e) {
8209 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8210 }
8211 catch (const std::exception& e) {
8212 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8213 }
8214 }
8215 resultobj = SWIG_Py_Void();
8216 return resultobj;
8217fail:
8218 return NULL__null;
8219}
8220
8221
8222SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservation_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8223 PyObject *resultobj = 0;
8224 GCTAOnOffObservation *arg1 = (GCTAOnOffObservation *) 0 ;
8225 void *argp1 = 0 ;
8226 int res1 = 0 ;
8227 PyObject * obj0 = 0 ;
8228
8229 if (!PyArg_ParseTuple(args,(char *)"O:GCTAOnOffObservation_clear",&obj0)) SWIG_failgoto fail;
8230 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[20]
, 0 | 0, 0)
;
8231 if (!SWIG_IsOK(res1)(res1 >= 0)) {
8232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAOnOffObservation_clear" "', argument " "1"" of type '" "GCTAOnOffObservation *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAOnOffObservation_clear"
"', argument " "1"" of type '" "GCTAOnOffObservation *""'");
goto fail; } while(0)
;
8233 }
8234 arg1 = reinterpret_cast< GCTAOnOffObservation * >(argp1);
8235 {
8236 try {
8237 (arg1)->clear();
8238 }
8239 catch (const GException::out_of_range& e) {
8240 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
8241 }
8242 catch (const GExceptionHandler& e) {
8243 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8244 }
8245 catch (const std::exception& e) {
8246 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8247 }
8248 }
8249 resultobj = SWIG_Py_Void();
8250 return resultobj;
8251fail:
8252 return NULL__null;
8253}
8254
8255
8256SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservation_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8257 PyObject *resultobj = 0;
8258 GCTAOnOffObservation *arg1 = (GCTAOnOffObservation *) 0 ;
8259 void *argp1 = 0 ;
8260 int res1 = 0 ;
8261 PyObject * obj0 = 0 ;
8262 GCTAOnOffObservation *result = 0 ;
8263
8264 if (!PyArg_ParseTuple(args,(char *)"O:GCTAOnOffObservation_clone",&obj0)) SWIG_failgoto fail;
8265 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[20]
, 0 | 0, 0)
;
8266 if (!SWIG_IsOK(res1)(res1 >= 0)) {
8267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAOnOffObservation_clone" "', argument " "1"" of type '" "GCTAOnOffObservation const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAOnOffObservation_clone"
"', argument " "1"" of type '" "GCTAOnOffObservation const *"
"'"); goto fail; } while(0)
;
8268 }
8269 arg1 = reinterpret_cast< GCTAOnOffObservation * >(argp1);
8270 {
8271 try {
8272 result = (GCTAOnOffObservation *)((GCTAOnOffObservation const *)arg1)->clone();
8273 }
8274 catch (const GException::out_of_range& e) {
8275 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
8276 }
8277 catch (const GExceptionHandler& e) {
8278 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8279 }
8280 catch (const std::exception& e) {
8281 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8282 }
8283 }
8284 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAOnOffObservation, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[20], 0
| 0)
;
8285 return resultobj;
8286fail:
8287 return NULL__null;
8288}
8289
8290
8291SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservation_name__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8292 PyObject *resultobj = 0;
8293 GCTAOnOffObservation *arg1 = (GCTAOnOffObservation *) 0 ;
8294 std::string *arg2 = 0 ;
8295 void *argp1 = 0 ;
8296 int res1 = 0 ;
8297 int res2 = SWIG_OLDOBJ((0)) ;
8298 PyObject * obj0 = 0 ;
8299 PyObject * obj1 = 0 ;
8300
8301 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAOnOffObservation_name",&obj0,&obj1)) SWIG_failgoto fail;
8302 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[20]
, 0 | 0, 0)
;
8303 if (!SWIG_IsOK(res1)(res1 >= 0)) {
8304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAOnOffObservation_name" "', argument " "1"" of type '" "GCTAOnOffObservation *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAOnOffObservation_name"
"', argument " "1"" of type '" "GCTAOnOffObservation *""'");
goto fail; } while(0)
;
8305 }
8306 arg1 = reinterpret_cast< GCTAOnOffObservation * >(argp1);
8307 {
8308 std::string *ptr = (std::string *)0;
8309 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
8310 if (!SWIG_IsOK(res2)(res2 >= 0)) {
8311 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAOnOffObservation_name" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAOnOffObservation_name"
"', argument " "2"" of type '" "std::string const &""'")
; goto fail; } while(0)
;
8312 }
8313 if (!ptr) {
8314 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAOnOffObservation_name" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAOnOffObservation_name" "', argument " "2"
" of type '" "std::string const &""'"); goto fail; } while
(0)
;
8315 }
8316 arg2 = ptr;
8317 }
8318 {
8319 try {
8320 (arg1)->name((std::string const &)*arg2);
8321 }
8322 catch (const GException::out_of_range& e) {
8323 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
8324 }
8325 catch (const GExceptionHandler& e) {
8326 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8327 }
8328 catch (const std::exception& e) {
8329 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8330 }
8331 }
8332 resultobj = SWIG_Py_Void();
8333 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
8334 return resultobj;
8335fail:
8336 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
8337 return NULL__null;
8338}
8339
8340
8341SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservation_instrument__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8342 PyObject *resultobj = 0;
8343 GCTAOnOffObservation *arg1 = (GCTAOnOffObservation *) 0 ;
8344 std::string *arg2 = 0 ;
8345 void *argp1 = 0 ;
8346 int res1 = 0 ;
8347 int res2 = SWIG_OLDOBJ((0)) ;
8348 PyObject * obj0 = 0 ;
8349 PyObject * obj1 = 0 ;
8350
8351 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAOnOffObservation_instrument",&obj0,&obj1)) SWIG_failgoto fail;
8352 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[20]
, 0 | 0, 0)
;
8353 if (!SWIG_IsOK(res1)(res1 >= 0)) {
8354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAOnOffObservation_instrument" "', argument " "1"" of type '" "GCTAOnOffObservation *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAOnOffObservation_instrument"
"', argument " "1"" of type '" "GCTAOnOffObservation *""'");
goto fail; } while(0)
;
8355 }
8356 arg1 = reinterpret_cast< GCTAOnOffObservation * >(argp1);
8357 {
8358 std::string *ptr = (std::string *)0;
8359 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
8360 if (!SWIG_IsOK(res2)(res2 >= 0)) {
8361 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAOnOffObservation_instrument" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAOnOffObservation_instrument"
"', argument " "2"" of type '" "std::string const &""'")
; goto fail; } while(0)
;
8362 }
8363 if (!ptr) {
8364 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAOnOffObservation_instrument" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAOnOffObservation_instrument" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
8365 }
8366 arg2 = ptr;
8367 }
8368 {
8369 try {
8370 (arg1)->instrument((std::string const &)*arg2);
8371 }
8372 catch (const GException::out_of_range& e) {
8373 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
8374 }
8375 catch (const GExceptionHandler& e) {
8376 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8377 }
8378 catch (const std::exception& e) {
8379 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8380 }
8381 }
8382 resultobj = SWIG_Py_Void();
8383 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
8384 return resultobj;
8385fail:
8386 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
8387 return NULL__null;
8388}
8389
8390
8391SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservation_id__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8392 PyObject *resultobj = 0;
8393 GCTAOnOffObservation *arg1 = (GCTAOnOffObservation *) 0 ;
8394 std::string *arg2 = 0 ;
8395 void *argp1 = 0 ;
8396 int res1 = 0 ;
8397 int res2 = SWIG_OLDOBJ((0)) ;
8398 PyObject * obj0 = 0 ;
8399 PyObject * obj1 = 0 ;
8400
8401 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAOnOffObservation_id",&obj0,&obj1)) SWIG_failgoto fail;
8402 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[20]
, 0 | 0, 0)
;
8403 if (!SWIG_IsOK(res1)(res1 >= 0)) {
8404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAOnOffObservation_id" "', argument " "1"" of type '" "GCTAOnOffObservation *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAOnOffObservation_id" "', argument "
"1"" of type '" "GCTAOnOffObservation *""'"); goto fail; } while
(0)
;
8405 }
8406 arg1 = reinterpret_cast< GCTAOnOffObservation * >(argp1);
8407 {
8408 std::string *ptr = (std::string *)0;
8409 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
8410 if (!SWIG_IsOK(res2)(res2 >= 0)) {
8411 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAOnOffObservation_id" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAOnOffObservation_id" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
8412 }
8413 if (!ptr) {
8414 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAOnOffObservation_id" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAOnOffObservation_id" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
8415 }
8416 arg2 = ptr;
8417 }
8418 {
8419 try {
8420 (arg1)->id((std::string const &)*arg2);
8421 }
8422 catch (const GException::out_of_range& e) {
8423 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
8424 }
8425 catch (const GExceptionHandler& e) {
8426 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8427 }
8428 catch (const std::exception& e) {
8429 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8430 }
8431 }
8432 resultobj = SWIG_Py_Void();
8433 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
8434 return resultobj;
8435fail:
8436 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
8437 return NULL__null;
8438}
8439
8440
8441SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservation_on_regions(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8442 PyObject *resultobj = 0;
8443 GCTAOnOffObservation *arg1 = (GCTAOnOffObservation *) 0 ;
8444 GSkyRegions *arg2 = 0 ;
8445 void *argp1 = 0 ;
8446 int res1 = 0 ;
8447 void *argp2 = 0 ;
8448 int res2 = 0 ;
8449 PyObject * obj0 = 0 ;
8450 PyObject * obj1 = 0 ;
8451
8452 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAOnOffObservation_on_regions",&obj0,&obj1)) SWIG_failgoto fail;
8453 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[20]
, 0 | 0, 0)
;
8454 if (!SWIG_IsOK(res1)(res1 >= 0)) {
8455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAOnOffObservation_on_regions" "', argument " "1"" of type '" "GCTAOnOffObservation *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAOnOffObservation_on_regions"
"', argument " "1"" of type '" "GCTAOnOffObservation *""'");
goto fail; } while(0)
;
8456 }
8457 arg1 = reinterpret_cast< GCTAOnOffObservation * >(argp1);
8458 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GSkyRegions, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[61]
, 0 | 0, 0)
;
8459 if (!SWIG_IsOK(res2)(res2 >= 0)) {
8460 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAOnOffObservation_on_regions" "', argument " "2"" of type '" "GSkyRegions const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAOnOffObservation_on_regions"
"', argument " "2"" of type '" "GSkyRegions const &""'")
; goto fail; } while(0)
;
8461 }
8462 if (!argp2) {
8463 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAOnOffObservation_on_regions" "', argument " "2"" of type '" "GSkyRegions const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAOnOffObservation_on_regions" "', argument "
"2"" of type '" "GSkyRegions const &""'"); goto fail; } while
(0)
;
8464 }
8465 arg2 = reinterpret_cast< GSkyRegions * >(argp2);
8466 {
8467 try {
8468 (arg1)->on_regions((GSkyRegions const &)*arg2);
8469 }
8470 catch (const GException::out_of_range& e) {
8471 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
8472 }
8473 catch (const GExceptionHandler& e) {
8474 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8475 }
8476 catch (const std::exception& e) {
8477 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8478 }
8479 }
8480 resultobj = SWIG_Py_Void();
8481 return resultobj;
8482fail:
8483 return NULL__null;
8484}
8485
8486
8487SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservation_off_regions(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8488 PyObject *resultobj = 0;
8489 GCTAOnOffObservation *arg1 = (GCTAOnOffObservation *) 0 ;
8490 GSkyRegions *arg2 = 0 ;
8491 void *argp1 = 0 ;
8492 int res1 = 0 ;
8493 void *argp2 = 0 ;
8494 int res2 = 0 ;
8495 PyObject * obj0 = 0 ;
8496 PyObject * obj1 = 0 ;
8497
8498 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAOnOffObservation_off_regions",&obj0,&obj1)) SWIG_failgoto fail;
8499 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[20]
, 0 | 0, 0)
;
8500 if (!SWIG_IsOK(res1)(res1 >= 0)) {
8501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAOnOffObservation_off_regions" "', argument " "1"" of type '" "GCTAOnOffObservation *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAOnOffObservation_off_regions"
"', argument " "1"" of type '" "GCTAOnOffObservation *""'");
goto fail; } while(0)
;
8502 }
8503 arg1 = reinterpret_cast< GCTAOnOffObservation * >(argp1);
8504 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GSkyRegions, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[61]
, 0 | 0, 0)
;
8505 if (!SWIG_IsOK(res2)(res2 >= 0)) {
8506 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAOnOffObservation_off_regions" "', argument " "2"" of type '" "GSkyRegions const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAOnOffObservation_off_regions"
"', argument " "2"" of type '" "GSkyRegions const &""'")
; goto fail; } while(0)
;
8507 }
8508 if (!argp2) {
8509 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAOnOffObservation_off_regions" "', argument " "2"" of type '" "GSkyRegions const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAOnOffObservation_off_regions" "', argument "
"2"" of type '" "GSkyRegions const &""'"); goto fail; } while
(0)
;
8510 }
8511 arg2 = reinterpret_cast< GSkyRegions * >(argp2);
8512 {
8513 try {
8514 (arg1)->off_regions((GSkyRegions const &)*arg2);
8515 }
8516 catch (const GException::out_of_range& e) {
8517 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
8518 }
8519 catch (const GExceptionHandler& e) {
8520 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8521 }
8522 catch (const std::exception& e) {
8523 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8524 }
8525 }
8526 resultobj = SWIG_Py_Void();
8527 return resultobj;
8528fail:
8529 return NULL__null;
8530}
8531
8532
8533SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservation_name__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8534 PyObject *resultobj = 0;
8535 GCTAOnOffObservation *arg1 = (GCTAOnOffObservation *) 0 ;
8536 void *argp1 = 0 ;
8537 int res1 = 0 ;
8538 PyObject * obj0 = 0 ;
8539 std::string *result = 0 ;
8540
8541 if (!PyArg_ParseTuple(args,(char *)"O:GCTAOnOffObservation_name",&obj0)) SWIG_failgoto fail;
8542 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[20]
, 0 | 0, 0)
;
8543 if (!SWIG_IsOK(res1)(res1 >= 0)) {
8544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAOnOffObservation_name" "', argument " "1"" of type '" "GCTAOnOffObservation const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAOnOffObservation_name"
"', argument " "1"" of type '" "GCTAOnOffObservation const *"
"'"); goto fail; } while(0)
;
8545 }
8546 arg1 = reinterpret_cast< GCTAOnOffObservation * >(argp1);
8547 {
8548 try {
8549 result = (std::string *) &((GCTAOnOffObservation const *)arg1)->name();
8550 }
8551 catch (const GException::out_of_range& e) {
8552 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
8553 }
8554 catch (const GExceptionHandler& e) {
8555 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8556 }
8557 catch (const std::exception& e) {
8558 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8559 }
8560 }
8561 resultobj = SWIG_From_std_string(static_cast< std::string >(*result));
8562 return resultobj;
8563fail:
8564 return NULL__null;
8565}
8566
8567
8568SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservation_name(PyObject *self, PyObject *args) {
8569 int argc;
8570 PyObject *argv[3];
8571 int ii;
8572
8573 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
8574 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
8575 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
8576 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
8577 }
8578 if (argc == 1) {
8579 int _v;
8580 void *vptr = 0;
8581 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAOnOffObservation, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[20
], 0, 0)
;
8582 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
8583 if (_v) {
8584 return _wrap_GCTAOnOffObservation_name__SWIG_1(self, args);
8585 }
8586 }
8587 if (argc == 2) {
8588 int _v;
8589 void *vptr = 0;
8590 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAOnOffObservation, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[20
], 0, 0)
;
8591 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
8592 if (_v) {
8593 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
8594 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
8595 if (_v) {
8596 return _wrap_GCTAOnOffObservation_name__SWIG_0(self, args);
8597 }
8598 }
8599 }
8600
8601fail:
8602 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAOnOffObservation_name'.\n"
8603 " Possible C/C++ prototypes are:\n"
8604 " GCTAOnOffObservation::name(std::string const &)\n"
8605 " GCTAOnOffObservation::name() const\n");
8606 return 0;
8607}
8608
8609
8610SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservation_instrument__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8611 PyObject *resultobj = 0;
8612 GCTAOnOffObservation *arg1 = (GCTAOnOffObservation *) 0 ;
8613 void *argp1 = 0 ;
8614 int res1 = 0 ;
8615 PyObject * obj0 = 0 ;
8616 std::string *result = 0 ;
8617
8618 if (!PyArg_ParseTuple(args,(char *)"O:GCTAOnOffObservation_instrument",&obj0)) SWIG_failgoto fail;
8619 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[20]
, 0 | 0, 0)
;
8620 if (!SWIG_IsOK(res1)(res1 >= 0)) {
8621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAOnOffObservation_instrument" "', argument " "1"" of type '" "GCTAOnOffObservation const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAOnOffObservation_instrument"
"', argument " "1"" of type '" "GCTAOnOffObservation const *"
"'"); goto fail; } while(0)
;
8622 }
8623 arg1 = reinterpret_cast< GCTAOnOffObservation * >(argp1);
8624 {
8625 try {
8626 result = (std::string *) &((GCTAOnOffObservation const *)arg1)->instrument();
8627 }
8628 catch (const GException::out_of_range& e) {
8629 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
8630 }
8631 catch (const GExceptionHandler& e) {
8632 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8633 }
8634 catch (const std::exception& e) {
8635 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8636 }
8637 }
8638 resultobj = SWIG_From_std_string(static_cast< std::string >(*result));
8639 return resultobj;
8640fail:
8641 return NULL__null;
8642}
8643
8644
8645SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservation_instrument(PyObject *self, PyObject *args) {
8646 int argc;
8647 PyObject *argv[3];
8648 int ii;
8649
8650 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
8651 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
8652 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
8653 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
8654 }
8655 if (argc == 1) {
8656 int _v;
8657 void *vptr = 0;
8658 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAOnOffObservation, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[20
], 0, 0)
;
8659 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
8660 if (_v) {
8661 return _wrap_GCTAOnOffObservation_instrument__SWIG_1(self, args);
8662 }
8663 }
8664 if (argc == 2) {
8665 int _v;
8666 void *vptr = 0;
8667 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAOnOffObservation, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[20
], 0, 0)
;
8668 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
8669 if (_v) {
8670 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
8671 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
8672 if (_v) {
8673 return _wrap_GCTAOnOffObservation_instrument__SWIG_0(self, args);
8674 }
8675 }
8676 }
8677
8678fail:
8679 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAOnOffObservation_instrument'.\n"
8680 " Possible C/C++ prototypes are:\n"
8681 " GCTAOnOffObservation::instrument(std::string const &)\n"
8682 " GCTAOnOffObservation::instrument() const\n");
8683 return 0;
8684}
8685
8686
8687SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservation_id__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8688 PyObject *resultobj = 0;
8689 GCTAOnOffObservation *arg1 = (GCTAOnOffObservation *) 0 ;
8690 void *argp1 = 0 ;
8691 int res1 = 0 ;
8692 PyObject * obj0 = 0 ;
8693 std::string *result = 0 ;
8694
8695 if (!PyArg_ParseTuple(args,(char *)"O:GCTAOnOffObservation_id",&obj0)) SWIG_failgoto fail;
8696 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[20]
, 0 | 0, 0)
;
8697 if (!SWIG_IsOK(res1)(res1 >= 0)) {
8698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAOnOffObservation_id" "', argument " "1"" of type '" "GCTAOnOffObservation const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAOnOffObservation_id" "', argument "
"1"" of type '" "GCTAOnOffObservation const *""'"); goto fail
; } while(0)
;
8699 }
8700 arg1 = reinterpret_cast< GCTAOnOffObservation * >(argp1);
8701 {
8702 try {
8703 result = (std::string *) &((GCTAOnOffObservation const *)arg1)->id();
8704 }
8705 catch (const GException::out_of_range& e) {
8706 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
8707 }
8708 catch (const GExceptionHandler& e) {
8709 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8710 }
8711 catch (const std::exception& e) {
8712 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8713 }
8714 }
8715 resultobj = SWIG_From_std_string(static_cast< std::string >(*result));
8716 return resultobj;
8717fail:
8718 return NULL__null;
8719}
8720
8721
8722SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservation_id(PyObject *self, PyObject *args) {
8723 int argc;
8724 PyObject *argv[3];
8725 int ii;
8726
8727 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
8728 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
8729 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
8730 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
8731 }
8732 if (argc == 1) {
8733 int _v;
8734 void *vptr = 0;
8735 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAOnOffObservation, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[20
], 0, 0)
;
8736 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
8737 if (_v) {
8738 return _wrap_GCTAOnOffObservation_id__SWIG_1(self, args);
8739 }
8740 }
8741 if (argc == 2) {
8742 int _v;
8743 void *vptr = 0;
8744 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAOnOffObservation, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[20
], 0, 0)
;
8745 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
8746 if (_v) {
8747 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
8748 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
8749 if (_v) {
8750 return _wrap_GCTAOnOffObservation_id__SWIG_0(self, args);
8751 }
8752 }
8753 }
8754
8755fail:
8756 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAOnOffObservation_id'.\n"
8757 " Possible C/C++ prototypes are:\n"
8758 " GCTAOnOffObservation::id(std::string const &)\n"
8759 " GCTAOnOffObservation::id() const\n");
8760 return 0;
8761}
8762
8763
8764SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservation_on_spec(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8765 PyObject *resultobj = 0;
8766 GCTAOnOffObservation *arg1 = (GCTAOnOffObservation *) 0 ;
8767 void *argp1 = 0 ;
8768 int res1 = 0 ;
8769 PyObject * obj0 = 0 ;
8770 GPha *result = 0 ;
8771
8772 if (!PyArg_ParseTuple(args,(char *)"O:GCTAOnOffObservation_on_spec",&obj0)) SWIG_failgoto fail;
8773 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[20]
, 0 | 0, 0)
;
8774 if (!SWIG_IsOK(res1)(res1 >= 0)) {
8775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAOnOffObservation_on_spec" "', argument " "1"" of type '" "GCTAOnOffObservation const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAOnOffObservation_on_spec"
"', argument " "1"" of type '" "GCTAOnOffObservation const *"
"'"); goto fail; } while(0)
;
8776 }
8777 arg1 = reinterpret_cast< GCTAOnOffObservation * >(argp1);
8778 {
8779 try {
8780 result = (GPha *) &((GCTAOnOffObservation const *)arg1)->on_spec();
8781 }
8782 catch (const GException::out_of_range& e) {
8783 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
8784 }
8785 catch (const GExceptionHandler& e) {
8786 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8787 }
8788 catch (const std::exception& e) {
8789 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8790 }
8791 }
8792 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GPha, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[53], 0
| 0)
;
8793 return resultobj;
8794fail:
8795 return NULL__null;
8796}
8797
8798
8799SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservation_off_spec(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8800 PyObject *resultobj = 0;
8801 GCTAOnOffObservation *arg1 = (GCTAOnOffObservation *) 0 ;
8802 void *argp1 = 0 ;
8803 int res1 = 0 ;
8804 PyObject * obj0 = 0 ;
8805 GPha *result = 0 ;
8806
8807 if (!PyArg_ParseTuple(args,(char *)"O:GCTAOnOffObservation_off_spec",&obj0)) SWIG_failgoto fail;
8808 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[20]
, 0 | 0, 0)
;
8809 if (!SWIG_IsOK(res1)(res1 >= 0)) {
8810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAOnOffObservation_off_spec" "', argument " "1"" of type '" "GCTAOnOffObservation const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAOnOffObservation_off_spec"
"', argument " "1"" of type '" "GCTAOnOffObservation const *"
"'"); goto fail; } while(0)
;
8811 }
8812 arg1 = reinterpret_cast< GCTAOnOffObservation * >(argp1);
8813 {
8814 try {
8815 result = (GPha *) &((GCTAOnOffObservation const *)arg1)->off_spec();
8816 }
8817 catch (const GException::out_of_range& e) {
8818 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
8819 }
8820 catch (const GExceptionHandler& e) {
8821 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8822 }
8823 catch (const std::exception& e) {
8824 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8825 }
8826 }
8827 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GPha, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[53], 0
| 0)
;
8828 return resultobj;
8829fail:
8830 return NULL__null;
8831}
8832
8833
8834SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservation_arf(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8835 PyObject *resultobj = 0;
8836 GCTAOnOffObservation *arg1 = (GCTAOnOffObservation *) 0 ;
8837 void *argp1 = 0 ;
8838 int res1 = 0 ;
8839 PyObject * obj0 = 0 ;
8840 GArf *result = 0 ;
8841
8842 if (!PyArg_ParseTuple(args,(char *)"O:GCTAOnOffObservation_arf",&obj0)) SWIG_failgoto fail;
8843 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[20]
, 0 | 0, 0)
;
8844 if (!SWIG_IsOK(res1)(res1 >= 0)) {
8845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAOnOffObservation_arf" "', argument " "1"" of type '" "GCTAOnOffObservation const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAOnOffObservation_arf" "', argument "
"1"" of type '" "GCTAOnOffObservation const *""'"); goto fail
; } while(0)
;
8846 }
8847 arg1 = reinterpret_cast< GCTAOnOffObservation * >(argp1);
8848 {
8849 try {
8850 result = (GArf *) &((GCTAOnOffObservation const *)arg1)->arf();
8851 }
8852 catch (const GException::out_of_range& e) {
8853 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
8854 }
8855 catch (const GExceptionHandler& e) {
8856 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8857 }
8858 catch (const std::exception& e) {
8859 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8860 }
8861 }
8862 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GArf, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[0], 0 |
0)
;
8863 return resultobj;
8864fail:
8865 return NULL__null;
8866}
8867
8868
8869SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservation_rmf(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8870 PyObject *resultobj = 0;
8871 GCTAOnOffObservation *arg1 = (GCTAOnOffObservation *) 0 ;
8872 void *argp1 = 0 ;
8873 int res1 = 0 ;
8874 PyObject * obj0 = 0 ;
8875 GRmf *result = 0 ;
8876
8877 if (!PyArg_ParseTuple(args,(char *)"O:GCTAOnOffObservation_rmf",&obj0)) SWIG_failgoto fail;
8878 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[20]
, 0 | 0, 0)
;
8879 if (!SWIG_IsOK(res1)(res1 >= 0)) {
8880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAOnOffObservation_rmf" "', argument " "1"" of type '" "GCTAOnOffObservation const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAOnOffObservation_rmf" "', argument "
"1"" of type '" "GCTAOnOffObservation const *""'"); goto fail
; } while(0)
;
8881 }
8882 arg1 = reinterpret_cast< GCTAOnOffObservation * >(argp1);
8883 {
8884 try {
8885 result = (GRmf *) &((GCTAOnOffObservation const *)arg1)->rmf();
8886 }
8887 catch (const GException::out_of_range& e) {
8888 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
8889 }
8890 catch (const GExceptionHandler& e) {
8891 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8892 }
8893 catch (const std::exception& e) {
8894 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8895 }
8896 }
8897 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GRmf, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[58], 0
| 0)
;
8898 return resultobj;
8899fail:
8900 return NULL__null;
8901}
8902
8903
8904SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservation_fill(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8905 PyObject *resultobj = 0;
8906 GCTAOnOffObservation *arg1 = (GCTAOnOffObservation *) 0 ;
8907 GCTAObservation *arg2 = 0 ;
8908 void *argp1 = 0 ;
8909 int res1 = 0 ;
8910 GObservation *argp2 = NULL__null ;
8911 int res2 = 0 ;
8912 PyObject * obj0 = 0 ;
8913 PyObject * obj1 = 0 ;
8914
8915 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAOnOffObservation_fill",&obj0,&obj1)) SWIG_failgoto fail;
8916 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[20]
, 0 | 0, 0)
;
8917 if (!SWIG_IsOK(res1)(res1 >= 0)) {
8918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAOnOffObservation_fill" "', argument " "1"" of type '" "GCTAOnOffObservation *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAOnOffObservation_fill"
"', argument " "1"" of type '" "GCTAOnOffObservation *""'");
goto fail; } while(0)
;
8919 }
8920 arg1 = reinterpret_cast< GCTAOnOffObservation * >(argp1);
8921 {
8922 res2 = SWIG_ConvertPtr(obj1, (void**)&argp2, SWIGTYPE_p_GCTAObservation, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, (void**)&argp2, swig_types
[19], 0 | 0, 0)
;
8923 if (!SWIG_IsOK(res2)(res2 >= 0)) {
8924 res2 = SWIG_ConvertPtr(obj1, (void**)&argp2, SWIGTYPE_p_GObservation, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, (void**)&argp2, swig_types
[52], 0 | 0, 0)
;
8925 if (!SWIG_IsOK(res2)(res2 >= 0)) {
8926 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAOnOffObservation_fill" "', argument "do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAOnOffObservation_fill"
"', argument " "2"" of type '" "GCTAObservation const &"
"'"); goto fail; } while(0)
8927 "2"" of type '" "GCTAObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAOnOffObservation_fill"
"', argument " "2"" of type '" "GCTAObservation const &"
"'"); goto fail; } while(0)
;
8928 }
8929 }
8930 arg2 = dynamic_cast<GCTAObservation *>(argp2);
8931 if (arg2 == NULL__null) {
8932 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAOnOffObservation_fill" "', argument "do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAOnOffObservation_fill"
"', argument " "2"" not of type '" "GCTAObservation const &"
"'"); goto fail; } while(0)
8933 "2"" not of type '" "GCTAObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAOnOffObservation_fill"
"', argument " "2"" not of type '" "GCTAObservation const &"
"'"); goto fail; } while(0)
;
8934 }
8935 }
8936 {
8937 try {
8938 (arg1)->fill((GCTAObservation const &)*arg2);
8939 }
8940 catch (const GException::out_of_range& e) {
8941 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
8942 }
8943 catch (const GExceptionHandler& e) {
8944 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8945 }
8946 catch (const std::exception& e) {
8947 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8948 }
8949 }
8950 resultobj = SWIG_Py_Void();
8951 return resultobj;
8952fail:
8953 return NULL__null;
8954}
8955
8956
8957SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservation_compute_response(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8958 PyObject *resultobj = 0;
8959 GCTAOnOffObservation *arg1 = (GCTAOnOffObservation *) 0 ;
8960 GCTAObservation *arg2 = 0 ;
8961 GEbounds *arg3 = 0 ;
8962 void *argp1 = 0 ;
8963 int res1 = 0 ;
8964 GObservation *argp2 = NULL__null ;
8965 int res2 = 0 ;
8966 void *argp3 = 0 ;
8967 int res3 = 0 ;
8968 PyObject * obj0 = 0 ;
8969 PyObject * obj1 = 0 ;
8970 PyObject * obj2 = 0 ;
8971
8972 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAOnOffObservation_compute_response",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
8973 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[20]
, 0 | 0, 0)
;
8974 if (!SWIG_IsOK(res1)(res1 >= 0)) {
8975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAOnOffObservation_compute_response" "', argument " "1"" of type '" "GCTAOnOffObservation *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAOnOffObservation_compute_response"
"', argument " "1"" of type '" "GCTAOnOffObservation *""'");
goto fail; } while(0)
;
8976 }
8977 arg1 = reinterpret_cast< GCTAOnOffObservation * >(argp1);
8978 {
8979 res2 = SWIG_ConvertPtr(obj1, (void**)&argp2, SWIGTYPE_p_GCTAObservation, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, (void**)&argp2, swig_types
[19], 0 | 0, 0)
;
8980 if (!SWIG_IsOK(res2)(res2 >= 0)) {
8981 res2 = SWIG_ConvertPtr(obj1, (void**)&argp2, SWIGTYPE_p_GObservation, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, (void**)&argp2, swig_types
[52], 0 | 0, 0)
;
8982 if (!SWIG_IsOK(res2)(res2 >= 0)) {
8983 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAOnOffObservation_compute_response" "', argument "do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAOnOffObservation_compute_response"
"', argument " "2"" of type '" "GCTAObservation const &"
"'"); goto fail; } while(0)
8984 "2"" of type '" "GCTAObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAOnOffObservation_compute_response"
"', argument " "2"" of type '" "GCTAObservation const &"
"'"); goto fail; } while(0)
;
8985 }
8986 }
8987 arg2 = dynamic_cast<GCTAObservation *>(argp2);
8988 if (arg2 == NULL__null) {
8989 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAOnOffObservation_compute_response" "', argument "do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAOnOffObservation_compute_response"
"', argument " "2"" not of type '" "GCTAObservation const &"
"'"); goto fail; } while(0)
8990 "2"" not of type '" "GCTAObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAOnOffObservation_compute_response"
"', argument " "2"" not of type '" "GCTAObservation const &"
"'"); goto fail; } while(0)
;
8991 }
8992 }
8993 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GEbounds, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[32]
, 0 | 0, 0)
;
8994 if (!SWIG_IsOK(res3)(res3 >= 0)) {
8995 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GCTAOnOffObservation_compute_response" "', argument " "3"" of type '" "GEbounds const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GCTAOnOffObservation_compute_response"
"', argument " "3"" of type '" "GEbounds const &""'"); goto
fail; } while(0)
;
8996 }
8997 if (!argp3) {
8998 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAOnOffObservation_compute_response" "', argument " "3"" of type '" "GEbounds const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAOnOffObservation_compute_response" "', argument "
"3"" of type '" "GEbounds const &""'"); goto fail; } while
(0)
;
8999 }
9000 arg3 = reinterpret_cast< GEbounds * >(argp3);
9001 {
9002 try {
9003 (arg1)->compute_response((GCTAObservation const &)*arg2,(GEbounds const &)*arg3);
9004 }
9005 catch (const GException::out_of_range& e) {
9006 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
9007 }
9008 catch (const GExceptionHandler& e) {
9009 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9010 }
9011 catch (const std::exception& e) {
9012 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9013 }
9014 }
9015 resultobj = SWIG_Py_Void();
9016 return resultobj;
9017fail:
9018 return NULL__null;
9019}
9020
9021
9022SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservation_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9023 PyObject *resultobj = 0;
9024 GCTAOnOffObservation *arg1 = (GCTAOnOffObservation *) 0 ;
9025 GXmlElement *arg2 = 0 ;
9026 void *argp1 = 0 ;
9027 int res1 = 0 ;
9028 void *argp2 = 0 ;
9029 int res2 = 0 ;
9030 PyObject * obj0 = 0 ;
9031 PyObject * obj1 = 0 ;
9032
9033 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAOnOffObservation_read",&obj0,&obj1)) SWIG_failgoto fail;
9034 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[20]
, 0 | 0, 0)
;
9035 if (!SWIG_IsOK(res1)(res1 >= 0)) {
9036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAOnOffObservation_read" "', argument " "1"" of type '" "GCTAOnOffObservation *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAOnOffObservation_read"
"', argument " "1"" of type '" "GCTAOnOffObservation *""'");
goto fail; } while(0)
;
9037 }
9038 arg1 = reinterpret_cast< GCTAOnOffObservation * >(argp1);
9039 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GXmlElement, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[66]
, 0 | 0, 0)
;
9040 if (!SWIG_IsOK(res2)(res2 >= 0)) {
9041 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAOnOffObservation_read" "', argument " "2"" of type '" "GXmlElement const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAOnOffObservation_read"
"', argument " "2"" of type '" "GXmlElement const &""'")
; goto fail; } while(0)
;
9042 }
9043 if (!argp2) {
9044 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAOnOffObservation_read" "', argument " "2"" of type '" "GXmlElement const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAOnOffObservation_read" "', argument " "2"
" of type '" "GXmlElement const &""'"); goto fail; } while
(0)
;
9045 }
9046 arg2 = reinterpret_cast< GXmlElement * >(argp2);
9047 {
9048 try {
9049 (arg1)->read((GXmlElement const &)*arg2);
9050 }
9051 catch (const GException::out_of_range& e) {
9052 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
9053 }
9054 catch (const GExceptionHandler& e) {
9055 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9056 }
9057 catch (const std::exception& e) {
9058 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9059 }
9060 }
9061 resultobj = SWIG_Py_Void();
9062 return resultobj;
9063fail:
9064 return NULL__null;
9065}
9066
9067
9068SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservation_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9069 PyObject *resultobj = 0;
9070 GCTAOnOffObservation *arg1 = (GCTAOnOffObservation *) 0 ;
9071 GXmlElement *arg2 = 0 ;
9072 void *argp1 = 0 ;
9073 int res1 = 0 ;
9074 void *argp2 = 0 ;
9075 int res2 = 0 ;
9076 PyObject * obj0 = 0 ;
9077 PyObject * obj1 = 0 ;
9078
9079 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAOnOffObservation_write",&obj0,&obj1)) SWIG_failgoto fail;
9080 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[20]
, 0 | 0, 0)
;
9081 if (!SWIG_IsOK(res1)(res1 >= 0)) {
9082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAOnOffObservation_write" "', argument " "1"" of type '" "GCTAOnOffObservation const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAOnOffObservation_write"
"', argument " "1"" of type '" "GCTAOnOffObservation const *"
"'"); goto fail; } while(0)
;
9083 }
9084 arg1 = reinterpret_cast< GCTAOnOffObservation * >(argp1);
9085 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GXmlElement, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[66]
, 0, 0)
;
9086 if (!SWIG_IsOK(res2)(res2 >= 0)) {
9087 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAOnOffObservation_write" "', argument " "2"" of type '" "GXmlElement &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAOnOffObservation_write"
"', argument " "2"" of type '" "GXmlElement &""'"); goto
fail; } while(0)
;
9088 }
9089 if (!argp2) {
9090 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAOnOffObservation_write" "', argument " "2"" of type '" "GXmlElement &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAOnOffObservation_write" "', argument " "2"
" of type '" "GXmlElement &""'"); goto fail; } while(0)
;
9091 }
9092 arg2 = reinterpret_cast< GXmlElement * >(argp2);
9093 {
9094 try {
9095 ((GCTAOnOffObservation const *)arg1)->write(*arg2);
9096 }
9097 catch (const GException::out_of_range& e) {
9098 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
9099 }
9100 catch (const GExceptionHandler& e) {
9101 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9102 }
9103 catch (const std::exception& e) {
9104 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9105 }
9106 }
9107 resultobj = SWIG_Py_Void();
9108 return resultobj;
9109fail:
9110 return NULL__null;
9111}
9112
9113
9114SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservation_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9115 PyObject *resultobj = 0;
9116 GCTAOnOffObservation *arg1 = (GCTAOnOffObservation *) 0 ;
9117 void *argp1 = 0 ;
9118 int res1 = 0 ;
9119 PyObject * obj0 = 0 ;
9120 GCTAOnOffObservation result;
9121
9122 if (!PyArg_ParseTuple(args,(char *)"O:GCTAOnOffObservation_copy",&obj0)) SWIG_failgoto fail;
9123 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservation, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[20]
, 0 | 0, 0)
;
9124 if (!SWIG_IsOK(res1)(res1 >= 0)) {
9125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAOnOffObservation_copy" "', argument " "1"" of type '" "GCTAOnOffObservation *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAOnOffObservation_copy"
"', argument " "1"" of type '" "GCTAOnOffObservation *""'");
goto fail; } while(0)
;
9126 }
9127 arg1 = reinterpret_cast< GCTAOnOffObservation * >(argp1);
9128 {
9129 try {
9130 result = GCTAOnOffObservation_copy(arg1);
9131 }
9132 catch (const GException::out_of_range& e) {
9133 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
9134 }
9135 catch (const GExceptionHandler& e) {
9136 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9137 }
9138 catch (const std::exception& e) {
9139 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9140 }
9141 }
9142 resultobj = SWIG_NewPointerObj((new GCTAOnOffObservation(static_cast< const GCTAOnOffObservation& >(result))), SWIGTYPE_p_GCTAOnOffObservation, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GCTAOnOffObservation(static_cast
< const GCTAOnOffObservation& >(result))), swig_types
[20], 0x1 | 0)
;
9143 return resultobj;
9144fail:
9145 return NULL__null;
9146}
9147
9148
9149SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GCTAOnOffObservation_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9150 PyObject *obj;
9151 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
9152 SWIG_TypeNewClientData(SWIGTYPE_p_GCTAOnOffObservationswig_types[20], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
9153 return SWIG_Py_Void();
9154}
9155
9156SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAOnOffObservations__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9157 PyObject *resultobj = 0;
9158 GCTAOnOffObservations *result = 0 ;
9159
9160 if (!PyArg_ParseTuple(args,(char *)":new_GCTAOnOffObservations")) SWIG_failgoto fail;
9161 {
9162 try {
9163 result = (GCTAOnOffObservations *)new GCTAOnOffObservations();
9164 }
9165 catch (const GException::out_of_range& e) {
9166 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
9167 }
9168 catch (const GExceptionHandler& e) {
9169 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9170 }
9171 catch (const std::exception& e) {
9172 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9173 }
9174 }
9175 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAOnOffObservations, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[21], (
(0x1 << 1) | 0x1) | 0)
;
9176 return resultobj;
9177fail:
9178 return NULL__null;
9179}
9180
9181
9182SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAOnOffObservations__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9183 PyObject *resultobj = 0;
9184 GCTAOnOffObservations *arg1 = 0 ;
9185 void *argp1 = 0 ;
9186 int res1 = 0 ;
9187 PyObject * obj0 = 0 ;
9188 GCTAOnOffObservations *result = 0 ;
9189
9190 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAOnOffObservations",&obj0)) SWIG_failgoto fail;
9191 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GCTAOnOffObservations, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0 | 0, 0)
;
9192 if (!SWIG_IsOK(res1)(res1 >= 0)) {
9193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAOnOffObservations" "', argument " "1"" of type '" "GCTAOnOffObservations const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAOnOffObservations"
"', argument " "1"" of type '" "GCTAOnOffObservations const &"
"'"); goto fail; } while(0)
;
9194 }
9195 if (!argp1) {
9196 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAOnOffObservations" "', argument " "1"" of type '" "GCTAOnOffObservations const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAOnOffObservations" "', argument " "1"
" of type '" "GCTAOnOffObservations const &""'"); goto fail
; } while(0)
;
9197 }
9198 arg1 = reinterpret_cast< GCTAOnOffObservations * >(argp1);
9199 {
9200 try {
9201 result = (GCTAOnOffObservations *)new GCTAOnOffObservations((GCTAOnOffObservations const &)*arg1);
9202 }
9203 catch (const GException::out_of_range& e) {
9204 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
9205 }
9206 catch (const GExceptionHandler& e) {
9207 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9208 }
9209 catch (const std::exception& e) {
9210 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9211 }
9212 }
9213 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAOnOffObservations, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[21], (
(0x1 << 1) | 0x1) | 0)
;
9214 return resultobj;
9215fail:
9216 return NULL__null;
9217}
9218
9219
9220SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAOnOffObservations__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9221 PyObject *resultobj = 0;
9222 std::string *arg1 = 0 ;
9223 int res1 = SWIG_OLDOBJ((0)) ;
9224 PyObject * obj0 = 0 ;
9225 GCTAOnOffObservations *result = 0 ;
9226
9227 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAOnOffObservations",&obj0)) SWIG_failgoto fail;
9228 {
9229 std::string *ptr = (std::string *)0;
9230 res1 = SWIG_AsPtr_std_string(obj0, &ptr);
9231 if (!SWIG_IsOK(res1)(res1 >= 0)) {
9232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAOnOffObservations" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAOnOffObservations"
"', argument " "1"" of type '" "std::string const &""'")
; goto fail; } while(0)
;
9233 }
9234 if (!ptr) {
9235 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAOnOffObservations" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAOnOffObservations" "', argument " "1"
" of type '" "std::string const &""'"); goto fail; } while
(0)
;
9236 }
9237 arg1 = ptr;
9238 }
9239 {
9240 try {
9241 result = (GCTAOnOffObservations *)new GCTAOnOffObservations((std::string const &)*arg1);
9242 }
9243 catch (const GException::out_of_range& e) {
9244 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
9245 }
9246 catch (const GExceptionHandler& e) {
9247 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9248 }
9249 catch (const std::exception& e) {
9250 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9251 }
9252 }
9253 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAOnOffObservations, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[21], (
(0x1 << 1) | 0x1) | 0)
;
9254 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
9255 return resultobj;
9256fail:
9257 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
9258 return NULL__null;
9259}
9260
9261
9262SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAOnOffObservations(PyObject *self, PyObject *args) {
9263 int argc;
9264 PyObject *argv[2];
9265 int ii;
9266
9267 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
9268 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
9269 for (ii = 0; (ii < 1) && (ii < argc); ii++) {
9270 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
9271 }
9272 if (argc == 0) {
9273 return _wrap_new_GCTAOnOffObservations__SWIG_0(self, args);
9274 }
9275 if (argc == 1) {
9276 int _v;
9277 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GCTAOnOffObservations, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[21], 0, 0
)
;
9278 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
9279 if (_v) {
9280 return _wrap_new_GCTAOnOffObservations__SWIG_1(self, args);
9281 }
9282 }
9283 if (argc == 1) {
9284 int _v;
9285 int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
9286 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
9287 if (_v) {
9288 return _wrap_new_GCTAOnOffObservations__SWIG_2(self, args);
9289 }
9290 }
9291
9292fail:
9293 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GCTAOnOffObservations'.\n"
9294 " Possible C/C++ prototypes are:\n"
9295 " GCTAOnOffObservations::GCTAOnOffObservations()\n"
9296 " GCTAOnOffObservations::GCTAOnOffObservations(GCTAOnOffObservations const &)\n"
9297 " GCTAOnOffObservations::GCTAOnOffObservations(std::string const &)\n");
9298 return 0;
9299}
9300
9301
9302SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GCTAOnOffObservations(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9303 PyObject *resultobj = 0;
9304 GCTAOnOffObservations *arg1 = (GCTAOnOffObservations *) 0 ;
9305 void *argp1 = 0 ;
9306 int res1 = 0 ;
9307 PyObject * obj0 = 0 ;
9308
9309 if (!PyArg_ParseTuple(args,(char *)"O:delete_GCTAOnOffObservations",&obj0)) SWIG_failgoto fail;
9310 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservations, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0x1 | 0, 0)
;
9311 if (!SWIG_IsOK(res1)(res1 >= 0)) {
9312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GCTAOnOffObservations" "', argument " "1"" of type '" "GCTAOnOffObservations *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GCTAOnOffObservations"
"', argument " "1"" of type '" "GCTAOnOffObservations *""'")
; goto fail; } while(0)
;
9313 }
9314 arg1 = reinterpret_cast< GCTAOnOffObservations * >(argp1);
9315 {
9316 try {
9317 delete arg1;
9318 }
9319 catch (const GException::out_of_range& e) {
9320 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
9321 }
9322 catch (const GExceptionHandler& e) {
9323 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9324 }
9325 catch (const std::exception& e) {
9326 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9327 }
9328 }
9329 resultobj = SWIG_Py_Void();
9330 return resultobj;
9331fail:
9332 return NULL__null;
9333}
9334
9335
9336SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservations_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9337 PyObject *resultobj = 0;
9338 GCTAOnOffObservations *arg1 = (GCTAOnOffObservations *) 0 ;
9339 void *argp1 = 0 ;
9340 int res1 = 0 ;
9341 PyObject * obj0 = 0 ;
9342
9343 if (!PyArg_ParseTuple(args,(char *)"O:GCTAOnOffObservations_clear",&obj0)) SWIG_failgoto fail;
9344 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservations, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0 | 0, 0)
;
9345 if (!SWIG_IsOK(res1)(res1 >= 0)) {
9346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAOnOffObservations_clear" "', argument " "1"" of type '" "GCTAOnOffObservations *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAOnOffObservations_clear"
"', argument " "1"" of type '" "GCTAOnOffObservations *""'")
; goto fail; } while(0)
;
9347 }
9348 arg1 = reinterpret_cast< GCTAOnOffObservations * >(argp1);
9349 {
9350 try {
9351 (arg1)->clear();
9352 }
9353 catch (const GException::out_of_range& e) {
9354 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
9355 }
9356 catch (const GExceptionHandler& e) {
9357 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9358 }
9359 catch (const std::exception& e) {
9360 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9361 }
9362 }
9363 resultobj = SWIG_Py_Void();
9364 return resultobj;
9365fail:
9366 return NULL__null;
9367}
9368
9369
9370SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservations_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9371 PyObject *resultobj = 0;
9372 GCTAOnOffObservations *arg1 = (GCTAOnOffObservations *) 0 ;
9373 void *argp1 = 0 ;
9374 int res1 = 0 ;
9375 PyObject * obj0 = 0 ;
9376 GCTAOnOffObservations *result = 0 ;
9377
9378 if (!PyArg_ParseTuple(args,(char *)"O:GCTAOnOffObservations_clone",&obj0)) SWIG_failgoto fail;
9379 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservations, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0 | 0, 0)
;
9380 if (!SWIG_IsOK(res1)(res1 >= 0)) {
9381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAOnOffObservations_clone" "', argument " "1"" of type '" "GCTAOnOffObservations const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAOnOffObservations_clone"
"', argument " "1"" of type '" "GCTAOnOffObservations const *"
"'"); goto fail; } while(0)
;
9382 }
9383 arg1 = reinterpret_cast< GCTAOnOffObservations * >(argp1);
9384 {
9385 try {
9386 result = (GCTAOnOffObservations *)((GCTAOnOffObservations const *)arg1)->clone();
9387 }
9388 catch (const GException::out_of_range& e) {
9389 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
9390 }
9391 catch (const GExceptionHandler& e) {
9392 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9393 }
9394 catch (const std::exception& e) {
9395 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9396 }
9397 }
9398 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAOnOffObservations, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[21], 0
| 0)
;
9399 return resultobj;
9400fail:
9401 return NULL__null;
9402}
9403
9404
9405SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservations_at(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9406 PyObject *resultobj = 0;
9407 GCTAOnOffObservations *arg1 = (GCTAOnOffObservations *) 0 ;
9408 int *arg2 = 0 ;
9409 void *argp1 = 0 ;
9410 int res1 = 0 ;
9411 int temp2 ;
9412 int val2 ;
9413 int ecode2 = 0 ;
9414 PyObject * obj0 = 0 ;
9415 PyObject * obj1 = 0 ;
9416 GCTAOnOffObservation *result = 0 ;
9417
9418 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAOnOffObservations_at",&obj0,&obj1)) SWIG_failgoto fail;
9419 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservations, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0 | 0, 0)
;
9420 if (!SWIG_IsOK(res1)(res1 >= 0)) {
9421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAOnOffObservations_at" "', argument " "1"" of type '" "GCTAOnOffObservations *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAOnOffObservations_at" "', argument "
"1"" of type '" "GCTAOnOffObservations *""'"); goto fail; } while
(0)
;
9422 }
9423 arg1 = reinterpret_cast< GCTAOnOffObservations * >(argp1);
9424 ecode2 = SWIG_AsVal_int(obj1, &val2);
9425 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
9426 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAOnOffObservations_at" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAOnOffObservations_at"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
9427 }
9428 temp2 = static_cast< int >(val2);
9429 arg2 = &temp2;
9430 {
9431 try {
9432 result = (GCTAOnOffObservation *)(arg1)->at((int const &)*arg2);
9433 }
9434 catch (const GException::out_of_range& e) {
9435 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
9436 }
9437 catch (const GExceptionHandler& e) {
9438 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9439 }
9440 catch (const std::exception& e) {
9441 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9442 }
9443 }
9444 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAOnOffObservation, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[20], 0
| 0)
;
9445 return resultobj;
9446fail:
9447 return NULL__null;
9448}
9449
9450
9451SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservations_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9452 PyObject *resultobj = 0;
9453 GCTAOnOffObservations *arg1 = (GCTAOnOffObservations *) 0 ;
9454 void *argp1 = 0 ;
9455 int res1 = 0 ;
9456 PyObject * obj0 = 0 ;
9457 int result;
9458
9459 if (!PyArg_ParseTuple(args,(char *)"O:GCTAOnOffObservations_size",&obj0)) SWIG_failgoto fail;
9460 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservations, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0 | 0, 0)
;
9461 if (!SWIG_IsOK(res1)(res1 >= 0)) {
9462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAOnOffObservations_size" "', argument " "1"" of type '" "GCTAOnOffObservations const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAOnOffObservations_size"
"', argument " "1"" of type '" "GCTAOnOffObservations const *"
"'"); goto fail; } while(0)
;
9463 }
9464 arg1 = reinterpret_cast< GCTAOnOffObservations * >(argp1);
9465 {
9466 try {
9467 result = (int)((GCTAOnOffObservations const *)arg1)->size();
9468 }
9469 catch (const GException::out_of_range& e) {
9470 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
9471 }
9472 catch (const GExceptionHandler& e) {
9473 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9474 }
9475 catch (const std::exception& e) {
9476 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9477 }
9478 }
9479 resultobj = SWIG_From_int(static_cast< int >(result));
9480 return resultobj;
9481fail:
9482 return NULL__null;
9483}
9484
9485
9486SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservations_isempty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9487 PyObject *resultobj = 0;
9488 GCTAOnOffObservations *arg1 = (GCTAOnOffObservations *) 0 ;
9489 void *argp1 = 0 ;
9490 int res1 = 0 ;
9491 PyObject * obj0 = 0 ;
9492 bool result;
9493
9494 if (!PyArg_ParseTuple(args,(char *)"O:GCTAOnOffObservations_isempty",&obj0)) SWIG_failgoto fail;
9495 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservations, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0 | 0, 0)
;
9496 if (!SWIG_IsOK(res1)(res1 >= 0)) {
9497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAOnOffObservations_isempty" "', argument " "1"" of type '" "GCTAOnOffObservations const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAOnOffObservations_isempty"
"', argument " "1"" of type '" "GCTAOnOffObservations const *"
"'"); goto fail; } while(0)
;
9498 }
9499 arg1 = reinterpret_cast< GCTAOnOffObservations * >(argp1);
9500 {
9501 try {
9502 result = (bool)((GCTAOnOffObservations const *)arg1)->isempty();
9503 }
9504 catch (const GException::out_of_range& e) {
9505 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
9506 }
9507 catch (const GExceptionHandler& e) {
9508 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9509 }
9510 catch (const std::exception& e) {
9511 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9512 }
9513 }
9514 resultobj = SWIG_From_bool(static_cast< bool >(result));
9515 return resultobj;
9516fail:
9517 return NULL__null;
9518}
9519
9520
9521SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservations_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9522 PyObject *resultobj = 0;
9523 GCTAOnOffObservations *arg1 = (GCTAOnOffObservations *) 0 ;
9524 int *arg2 = 0 ;
9525 GCTAOnOffObservation *arg3 = 0 ;
9526 void *argp1 = 0 ;
9527 int res1 = 0 ;
9528 int temp2 ;
9529 int val2 ;
9530 int ecode2 = 0 ;
9531 void *argp3 = 0 ;
9532 int res3 = 0 ;
9533 PyObject * obj0 = 0 ;
9534 PyObject * obj1 = 0 ;
9535 PyObject * obj2 = 0 ;
9536 GCTAOnOffObservation *result = 0 ;
9537
9538 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAOnOffObservations_set",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
9539 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservations, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0 | 0, 0)
;
9540 if (!SWIG_IsOK(res1)(res1 >= 0)) {
9541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAOnOffObservations_set" "', argument " "1"" of type '" "GCTAOnOffObservations *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAOnOffObservations_set"
"', argument " "1"" of type '" "GCTAOnOffObservations *""'")
; goto fail; } while(0)
;
9542 }
9543 arg1 = reinterpret_cast< GCTAOnOffObservations * >(argp1);
9544 ecode2 = SWIG_AsVal_int(obj1, &val2);
9545 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
9546 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAOnOffObservations_set" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAOnOffObservations_set"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
9547 }
9548 temp2 = static_cast< int >(val2);
9549 arg2 = &temp2;
9550 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GCTAOnOffObservation, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[20]
, 0 | 0, 0)
;
9551 if (!SWIG_IsOK(res3)(res3 >= 0)) {
9552 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GCTAOnOffObservations_set" "', argument " "3"" of type '" "GCTAOnOffObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GCTAOnOffObservations_set"
"', argument " "3"" of type '" "GCTAOnOffObservation const &"
"'"); goto fail; } while(0)
;
9553 }
9554 if (!argp3) {
9555 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAOnOffObservations_set" "', argument " "3"" of type '" "GCTAOnOffObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAOnOffObservations_set" "', argument " "3"
" of type '" "GCTAOnOffObservation const &""'"); goto fail
; } while(0)
;
9556 }
9557 arg3 = reinterpret_cast< GCTAOnOffObservation * >(argp3);
9558 {
9559 try {
9560 result = (GCTAOnOffObservation *)(arg1)->set((int const &)*arg2,(GCTAOnOffObservation const &)*arg3);
9561 }
9562 catch (const GException::out_of_range& e) {
9563 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
9564 }
9565 catch (const GExceptionHandler& e) {
9566 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9567 }
9568 catch (const std::exception& e) {
9569 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9570 }
9571 }
9572 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAOnOffObservation, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[20], 0
| 0)
;
9573 return resultobj;
9574fail:
9575 return NULL__null;
9576}
9577
9578
9579SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservations_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9580 PyObject *resultobj = 0;
9581 GCTAOnOffObservations *arg1 = (GCTAOnOffObservations *) 0 ;
9582 GCTAOnOffObservation *arg2 = 0 ;
9583 void *argp1 = 0 ;
9584 int res1 = 0 ;
9585 void *argp2 = 0 ;
9586 int res2 = 0 ;
9587 PyObject * obj0 = 0 ;
9588 PyObject * obj1 = 0 ;
9589 GCTAOnOffObservation *result = 0 ;
9590
9591 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAOnOffObservations_append",&obj0,&obj1)) SWIG_failgoto fail;
9592 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservations, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0 | 0, 0)
;
9593 if (!SWIG_IsOK(res1)(res1 >= 0)) {
9594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAOnOffObservations_append" "', argument " "1"" of type '" "GCTAOnOffObservations *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAOnOffObservations_append"
"', argument " "1"" of type '" "GCTAOnOffObservations *""'")
; goto fail; } while(0)
;
9595 }
9596 arg1 = reinterpret_cast< GCTAOnOffObservations * >(argp1);
9597 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GCTAOnOffObservation, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[20]
, 0 | 0, 0)
;
9598 if (!SWIG_IsOK(res2)(res2 >= 0)) {
9599 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAOnOffObservations_append" "', argument " "2"" of type '" "GCTAOnOffObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAOnOffObservations_append"
"', argument " "2"" of type '" "GCTAOnOffObservation const &"
"'"); goto fail; } while(0)
;
9600 }
9601 if (!argp2) {
9602 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAOnOffObservations_append" "', argument " "2"" of type '" "GCTAOnOffObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAOnOffObservations_append" "', argument " "2"
" of type '" "GCTAOnOffObservation const &""'"); goto fail
; } while(0)
;
9603 }
9604 arg2 = reinterpret_cast< GCTAOnOffObservation * >(argp2);
9605 {
9606 try {
9607 result = (GCTAOnOffObservation *)(arg1)->append((GCTAOnOffObservation const &)*arg2);
9608 }
9609 catch (const GException::out_of_range& e) {
9610 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
9611 }
9612 catch (const GExceptionHandler& e) {
9613 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9614 }
9615 catch (const std::exception& e) {
9616 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9617 }
9618 }
9619 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAOnOffObservation, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[20], 0
| 0)
;
9620 return resultobj;
9621fail:
9622 return NULL__null;
9623}
9624
9625
9626SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservations_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9627 PyObject *resultobj = 0;
9628 GCTAOnOffObservations *arg1 = (GCTAOnOffObservations *) 0 ;
9629 int *arg2 = 0 ;
9630 GCTAOnOffObservation *arg3 = 0 ;
9631 void *argp1 = 0 ;
9632 int res1 = 0 ;
9633 int temp2 ;
9634 int val2 ;
9635 int ecode2 = 0 ;
9636 void *argp3 = 0 ;
9637 int res3 = 0 ;
9638 PyObject * obj0 = 0 ;
9639 PyObject * obj1 = 0 ;
9640 PyObject * obj2 = 0 ;
9641 GCTAOnOffObservation *result = 0 ;
9642
9643 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAOnOffObservations_insert",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
9644 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservations, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0 | 0, 0)
;
9645 if (!SWIG_IsOK(res1)(res1 >= 0)) {
9646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAOnOffObservations_insert" "', argument " "1"" of type '" "GCTAOnOffObservations *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAOnOffObservations_insert"
"', argument " "1"" of type '" "GCTAOnOffObservations *""'")
; goto fail; } while(0)
;
9647 }
9648 arg1 = reinterpret_cast< GCTAOnOffObservations * >(argp1);
9649 ecode2 = SWIG_AsVal_int(obj1, &val2);
9650 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
9651 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAOnOffObservations_insert" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAOnOffObservations_insert"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
9652 }
9653 temp2 = static_cast< int >(val2);
9654 arg2 = &temp2;
9655 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GCTAOnOffObservation, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[20]
, 0 | 0, 0)
;
9656 if (!SWIG_IsOK(res3)(res3 >= 0)) {
9657 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GCTAOnOffObservations_insert" "', argument " "3"" of type '" "GCTAOnOffObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GCTAOnOffObservations_insert"
"', argument " "3"" of type '" "GCTAOnOffObservation const &"
"'"); goto fail; } while(0)
;
9658 }
9659 if (!argp3) {
9660 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAOnOffObservations_insert" "', argument " "3"" of type '" "GCTAOnOffObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAOnOffObservations_insert" "', argument " "3"
" of type '" "GCTAOnOffObservation const &""'"); goto fail
; } while(0)
;
9661 }
9662 arg3 = reinterpret_cast< GCTAOnOffObservation * >(argp3);
9663 {
9664 try {
9665 result = (GCTAOnOffObservation *)(arg1)->insert((int const &)*arg2,(GCTAOnOffObservation const &)*arg3);
9666 }
9667 catch (const GException::out_of_range& e) {
9668 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
9669 }
9670 catch (const GExceptionHandler& e) {
9671 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9672 }
9673 catch (const std::exception& e) {
9674 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9675 }
9676 }
9677 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAOnOffObservation, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[20], 0
| 0)
;
9678 return resultobj;
9679fail:
9680 return NULL__null;
9681}
9682
9683
9684SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservations_remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9685 PyObject *resultobj = 0;
9686 GCTAOnOffObservations *arg1 = (GCTAOnOffObservations *) 0 ;
9687 int *arg2 = 0 ;
9688 void *argp1 = 0 ;
9689 int res1 = 0 ;
9690 int temp2 ;
9691 int val2 ;
9692 int ecode2 = 0 ;
9693 PyObject * obj0 = 0 ;
9694 PyObject * obj1 = 0 ;
9695
9696 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAOnOffObservations_remove",&obj0,&obj1)) SWIG_failgoto fail;
9697 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservations, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0 | 0, 0)
;
9698 if (!SWIG_IsOK(res1)(res1 >= 0)) {
9699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAOnOffObservations_remove" "', argument " "1"" of type '" "GCTAOnOffObservations *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAOnOffObservations_remove"
"', argument " "1"" of type '" "GCTAOnOffObservations *""'")
; goto fail; } while(0)
;
9700 }
9701 arg1 = reinterpret_cast< GCTAOnOffObservations * >(argp1);
9702 ecode2 = SWIG_AsVal_int(obj1, &val2);
9703 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
9704 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAOnOffObservations_remove" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAOnOffObservations_remove"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
9705 }
9706 temp2 = static_cast< int >(val2);
9707 arg2 = &temp2;
9708 {
9709 try {
9710 (arg1)->remove((int const &)*arg2);
9711 }
9712 catch (const GException::out_of_range& e) {
9713 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
9714 }
9715 catch (const GExceptionHandler& e) {
9716 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9717 }
9718 catch (const std::exception& e) {
9719 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9720 }
9721 }
9722 resultobj = SWIG_Py_Void();
9723 return resultobj;
9724fail:
9725 return NULL__null;
9726}
9727
9728
9729SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservations_reserve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9730 PyObject *resultobj = 0;
9731 GCTAOnOffObservations *arg1 = (GCTAOnOffObservations *) 0 ;
9732 int *arg2 = 0 ;
9733 void *argp1 = 0 ;
9734 int res1 = 0 ;
9735 int temp2 ;
9736 int val2 ;
9737 int ecode2 = 0 ;
9738 PyObject * obj0 = 0 ;
9739 PyObject * obj1 = 0 ;
9740
9741 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAOnOffObservations_reserve",&obj0,&obj1)) SWIG_failgoto fail;
9742 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservations, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0 | 0, 0)
;
9743 if (!SWIG_IsOK(res1)(res1 >= 0)) {
9744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAOnOffObservations_reserve" "', argument " "1"" of type '" "GCTAOnOffObservations *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAOnOffObservations_reserve"
"', argument " "1"" of type '" "GCTAOnOffObservations *""'")
; goto fail; } while(0)
;
9745 }
9746 arg1 = reinterpret_cast< GCTAOnOffObservations * >(argp1);
9747 ecode2 = SWIG_AsVal_int(obj1, &val2);
9748 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
9749 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAOnOffObservations_reserve" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAOnOffObservations_reserve"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
9750 }
9751 temp2 = static_cast< int >(val2);
9752 arg2 = &temp2;
9753 {
9754 try {
9755 (arg1)->reserve((int const &)*arg2);
9756 }
9757 catch (const GException::out_of_range& e) {
9758 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
9759 }
9760 catch (const GExceptionHandler& e) {
9761 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9762 }
9763 catch (const std::exception& e) {
9764 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9765 }
9766 }
9767 resultobj = SWIG_Py_Void();
9768 return resultobj;
9769fail:
9770 return NULL__null;
9771}
9772
9773
9774SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservations_extend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9775 PyObject *resultobj = 0;
9776 GCTAOnOffObservations *arg1 = (GCTAOnOffObservations *) 0 ;
9777 GCTAOnOffObservations *arg2 = 0 ;
9778 void *argp1 = 0 ;
9779 int res1 = 0 ;
9780 void *argp2 = 0 ;
9781 int res2 = 0 ;
9782 PyObject * obj0 = 0 ;
9783 PyObject * obj1 = 0 ;
9784
9785 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAOnOffObservations_extend",&obj0,&obj1)) SWIG_failgoto fail;
9786 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservations, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0 | 0, 0)
;
9787 if (!SWIG_IsOK(res1)(res1 >= 0)) {
9788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAOnOffObservations_extend" "', argument " "1"" of type '" "GCTAOnOffObservations *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAOnOffObservations_extend"
"', argument " "1"" of type '" "GCTAOnOffObservations *""'")
; goto fail; } while(0)
;
9789 }
9790 arg1 = reinterpret_cast< GCTAOnOffObservations * >(argp1);
9791 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GCTAOnOffObservations, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[21]
, 0 | 0, 0)
;
9792 if (!SWIG_IsOK(res2)(res2 >= 0)) {
9793 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAOnOffObservations_extend" "', argument " "2"" of type '" "GCTAOnOffObservations const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAOnOffObservations_extend"
"', argument " "2"" of type '" "GCTAOnOffObservations const &"
"'"); goto fail; } while(0)
;
9794 }
9795 if (!argp2) {
9796 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAOnOffObservations_extend" "', argument " "2"" of type '" "GCTAOnOffObservations const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAOnOffObservations_extend" "', argument " "2"
" of type '" "GCTAOnOffObservations const &""'"); goto fail
; } while(0)
;
9797 }
9798 arg2 = reinterpret_cast< GCTAOnOffObservations * >(argp2);
9799 {
9800 try {
9801 (arg1)->extend((GCTAOnOffObservations const &)*arg2);
9802 }
9803 catch (const GException::out_of_range& e) {
9804 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
9805 }
9806 catch (const GExceptionHandler& e) {
9807 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9808 }
9809 catch (const std::exception& e) {
9810 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9811 }
9812 }
9813 resultobj = SWIG_Py_Void();
9814 return resultobj;
9815fail:
9816 return NULL__null;
9817}
9818
9819
9820SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservations_contains(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9821 PyObject *resultobj = 0;
9822 GCTAOnOffObservations *arg1 = (GCTAOnOffObservations *) 0 ;
9823 std::string *arg2 = 0 ;
9824 std::string *arg3 = 0 ;
9825 void *argp1 = 0 ;
9826 int res1 = 0 ;
9827 int res2 = SWIG_OLDOBJ((0)) ;
9828 int res3 = SWIG_OLDOBJ((0)) ;
9829 PyObject * obj0 = 0 ;
9830 PyObject * obj1 = 0 ;
9831 PyObject * obj2 = 0 ;
9832 bool result;
9833
9834 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAOnOffObservations_contains",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
9835 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservations, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0 | 0, 0)
;
9836 if (!SWIG_IsOK(res1)(res1 >= 0)) {
9837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAOnOffObservations_contains" "', argument " "1"" of type '" "GCTAOnOffObservations const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAOnOffObservations_contains"
"', argument " "1"" of type '" "GCTAOnOffObservations const *"
"'"); goto fail; } while(0)
;
9838 }
9839 arg1 = reinterpret_cast< GCTAOnOffObservations * >(argp1);
9840 {
9841 std::string *ptr = (std::string *)0;
9842 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
9843 if (!SWIG_IsOK(res2)(res2 >= 0)) {
9844 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAOnOffObservations_contains" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAOnOffObservations_contains"
"', argument " "2"" of type '" "std::string const &""'")
; goto fail; } while(0)
;
9845 }
9846 if (!ptr) {
9847 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAOnOffObservations_contains" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAOnOffObservations_contains" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
9848 }
9849 arg2 = ptr;
9850 }
9851 {
9852 std::string *ptr = (std::string *)0;
9853 res3 = SWIG_AsPtr_std_string(obj2, &ptr);
9854 if (!SWIG_IsOK(res3)(res3 >= 0)) {
9855 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GCTAOnOffObservations_contains" "', argument " "3"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GCTAOnOffObservations_contains"
"', argument " "3"" of type '" "std::string const &""'")
; goto fail; } while(0)
;
9856 }
9857 if (!ptr) {
9858 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAOnOffObservations_contains" "', argument " "3"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAOnOffObservations_contains" "', argument "
"3"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
9859 }
9860 arg3 = ptr;
9861 }
9862 {
9863 try {
9864 result = (bool)((GCTAOnOffObservations const *)arg1)->contains((std::string const &)*arg2,(std::string const &)*arg3);
9865 }
9866 catch (const GException::out_of_range& e) {
9867 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
9868 }
9869 catch (const GExceptionHandler& e) {
9870 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9871 }
9872 catch (const std::exception& e) {
9873 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9874 }
9875 }
9876 resultobj = SWIG_From_bool(static_cast< bool >(result));
9877 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
9878 if (SWIG_IsNewObj(res3)((res3 >= 0) && (res3 & ((1 << 8) <<
1)))
) delete arg3;
9879 return resultobj;
9880fail:
9881 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
9882 if (SWIG_IsNewObj(res3)((res3 >= 0) && (res3 & ((1 << 8) <<
1)))
) delete arg3;
9883 return NULL__null;
9884}
9885
9886
9887SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservations_load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9888 PyObject *resultobj = 0;
9889 GCTAOnOffObservations *arg1 = (GCTAOnOffObservations *) 0 ;
9890 std::string *arg2 = 0 ;
9891 void *argp1 = 0 ;
9892 int res1 = 0 ;
9893 int res2 = SWIG_OLDOBJ((0)) ;
9894 PyObject * obj0 = 0 ;
9895 PyObject * obj1 = 0 ;
9896
9897 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAOnOffObservations_load",&obj0,&obj1)) SWIG_failgoto fail;
9898 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservations, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0 | 0, 0)
;
9899 if (!SWIG_IsOK(res1)(res1 >= 0)) {
9900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAOnOffObservations_load" "', argument " "1"" of type '" "GCTAOnOffObservations *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAOnOffObservations_load"
"', argument " "1"" of type '" "GCTAOnOffObservations *""'")
; goto fail; } while(0)
;
9901 }
9902 arg1 = reinterpret_cast< GCTAOnOffObservations * >(argp1);
9903 {
9904 std::string *ptr = (std::string *)0;
9905 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
9906 if (!SWIG_IsOK(res2)(res2 >= 0)) {
9907 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAOnOffObservations_load" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAOnOffObservations_load"
"', argument " "2"" of type '" "std::string const &""'")
; goto fail; } while(0)
;
9908 }
9909 if (!ptr) {
9910 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAOnOffObservations_load" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAOnOffObservations_load" "', argument " "2"
" of type '" "std::string const &""'"); goto fail; } while
(0)
;
9911 }
9912 arg2 = ptr;
9913 }
9914 {
9915 try {
9916 (arg1)->load((std::string const &)*arg2);
9917 }
9918 catch (const GException::out_of_range& e) {
9919 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
9920 }
9921 catch (const GExceptionHandler& e) {
9922 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9923 }
9924 catch (const std::exception& e) {
9925 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9926 }
9927 }
9928 resultobj = SWIG_Py_Void();
9929 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
9930 return resultobj;
9931fail:
9932 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
9933 return NULL__null;
9934}
9935
9936
9937SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservations_save(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9938 PyObject *resultobj = 0;
9939 GCTAOnOffObservations *arg1 = (GCTAOnOffObservations *) 0 ;
9940 std::string *arg2 = 0 ;
9941 void *argp1 = 0 ;
9942 int res1 = 0 ;
9943 int res2 = SWIG_OLDOBJ((0)) ;
9944 PyObject * obj0 = 0 ;
9945 PyObject * obj1 = 0 ;
9946
9947 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAOnOffObservations_save",&obj0,&obj1)) SWIG_failgoto fail;
9948 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservations, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0 | 0, 0)
;
9949 if (!SWIG_IsOK(res1)(res1 >= 0)) {
9950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAOnOffObservations_save" "', argument " "1"" of type '" "GCTAOnOffObservations const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAOnOffObservations_save"
"', argument " "1"" of type '" "GCTAOnOffObservations const *"
"'"); goto fail; } while(0)
;
9951 }
9952 arg1 = reinterpret_cast< GCTAOnOffObservations * >(argp1);
9953 {
9954 std::string *ptr = (std::string *)0;
9955 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
9956 if (!SWIG_IsOK(res2)(res2 >= 0)) {
9957 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAOnOffObservations_save" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAOnOffObservations_save"
"', argument " "2"" of type '" "std::string const &""'")
; goto fail; } while(0)
;
9958 }
9959 if (!ptr) {
9960 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAOnOffObservations_save" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAOnOffObservations_save" "', argument " "2"
" of type '" "std::string const &""'"); goto fail; } while
(0)
;
9961 }
9962 arg2 = ptr;
9963 }
9964 {
9965 try {
9966 ((GCTAOnOffObservations const *)arg1)->save((std::string const &)*arg2);
9967 }
9968 catch (const GException::out_of_range& e) {
9969 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
9970 }
9971 catch (const GExceptionHandler& e) {
9972 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9973 }
9974 catch (const std::exception& e) {
9975 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9976 }
9977 }
9978 resultobj = SWIG_Py_Void();
9979 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
9980 return resultobj;
9981fail:
9982 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
9983 return NULL__null;
9984}
9985
9986
9987SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservations_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9988 PyObject *resultobj = 0;
9989 GCTAOnOffObservations *arg1 = (GCTAOnOffObservations *) 0 ;
9990 GXml *arg2 = 0 ;
9991 void *argp1 = 0 ;
9992 int res1 = 0 ;
9993 void *argp2 = 0 ;
9994 int res2 = 0 ;
9995 PyObject * obj0 = 0 ;
9996 PyObject * obj1 = 0 ;
9997
9998 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAOnOffObservations_read",&obj0,&obj1)) SWIG_failgoto fail;
9999 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservations, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0 | 0, 0)
;
10000 if (!SWIG_IsOK(res1)(res1 >= 0)) {
10001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAOnOffObservations_read" "', argument " "1"" of type '" "GCTAOnOffObservations *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAOnOffObservations_read"
"', argument " "1"" of type '" "GCTAOnOffObservations *""'")
; goto fail; } while(0)
;
10002 }
10003 arg1 = reinterpret_cast< GCTAOnOffObservations * >(argp1);
10004 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GXml, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[65]
, 0 | 0, 0)
;
10005 if (!SWIG_IsOK(res2)(res2 >= 0)) {
10006 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAOnOffObservations_read" "', argument " "2"" of type '" "GXml const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAOnOffObservations_read"
"', argument " "2"" of type '" "GXml const &""'"); goto fail
; } while(0)
;
10007 }
10008 if (!argp2) {
10009 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAOnOffObservations_read" "', argument " "2"" of type '" "GXml const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAOnOffObservations_read" "', argument " "2"
" of type '" "GXml const &""'"); goto fail; } while(0)
;
10010 }
10011 arg2 = reinterpret_cast< GXml * >(argp2);
10012 {
10013 try {
10014 (arg1)->read((GXml const &)*arg2);
10015 }
10016 catch (const GException::out_of_range& e) {
10017 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
10018 }
10019 catch (const GExceptionHandler& e) {
10020 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10021 }
10022 catch (const std::exception& e) {
10023 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10024 }
10025 }
10026 resultobj = SWIG_Py_Void();
10027 return resultobj;
10028fail:
10029 return NULL__null;
10030}
10031
10032
10033SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservations_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10034 PyObject *resultobj = 0;
10035 GCTAOnOffObservations *arg1 = (GCTAOnOffObservations *) 0 ;
10036 GXml *arg2 = 0 ;
10037 void *argp1 = 0 ;
10038 int res1 = 0 ;
10039 void *argp2 = 0 ;
10040 int res2 = 0 ;
10041 PyObject * obj0 = 0 ;
10042 PyObject * obj1 = 0 ;
10043
10044 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAOnOffObservations_write",&obj0,&obj1)) SWIG_failgoto fail;
10045 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservations, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0 | 0, 0)
;
10046 if (!SWIG_IsOK(res1)(res1 >= 0)) {
10047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAOnOffObservations_write" "', argument " "1"" of type '" "GCTAOnOffObservations const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAOnOffObservations_write"
"', argument " "1"" of type '" "GCTAOnOffObservations const *"
"'"); goto fail; } while(0)
;
10048 }
10049 arg1 = reinterpret_cast< GCTAOnOffObservations * >(argp1);
10050 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GXml, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[65]
, 0, 0)
;
10051 if (!SWIG_IsOK(res2)(res2 >= 0)) {
10052 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAOnOffObservations_write" "', argument " "2"" of type '" "GXml &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAOnOffObservations_write"
"', argument " "2"" of type '" "GXml &""'"); goto fail; }
while(0)
;
10053 }
10054 if (!argp2) {
10055 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAOnOffObservations_write" "', argument " "2"" of type '" "GXml &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAOnOffObservations_write" "', argument " "2"
" of type '" "GXml &""'"); goto fail; } while(0)
;
10056 }
10057 arg2 = reinterpret_cast< GXml * >(argp2);
10058 {
10059 try {
10060 ((GCTAOnOffObservations const *)arg1)->write(*arg2);
10061 }
10062 catch (const GException::out_of_range& e) {
10063 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
10064 }
10065 catch (const GExceptionHandler& e) {
10066 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10067 }
10068 catch (const std::exception& e) {
10069 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10070 }
10071 }
10072 resultobj = SWIG_Py_Void();
10073 return resultobj;
10074fail:
10075 return NULL__null;
10076}
10077
10078
10079SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservations_models__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10080 PyObject *resultobj = 0;
10081 GCTAOnOffObservations *arg1 = (GCTAOnOffObservations *) 0 ;
10082 GModels *arg2 = 0 ;
10083 void *argp1 = 0 ;
10084 int res1 = 0 ;
10085 void *argp2 = 0 ;
10086 int res2 = 0 ;
10087 PyObject * obj0 = 0 ;
10088 PyObject * obj1 = 0 ;
10089
10090 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAOnOffObservations_models",&obj0,&obj1)) SWIG_failgoto fail;
10091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservations, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0 | 0, 0)
;
10092 if (!SWIG_IsOK(res1)(res1 >= 0)) {
10093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAOnOffObservations_models" "', argument " "1"" of type '" "GCTAOnOffObservations *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAOnOffObservations_models"
"', argument " "1"" of type '" "GCTAOnOffObservations *""'")
; goto fail; } while(0)
;
10094 }
10095 arg1 = reinterpret_cast< GCTAOnOffObservations * >(argp1);
10096 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GModels, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[51]
, 0 | 0, 0)
;
10097 if (!SWIG_IsOK(res2)(res2 >= 0)) {
10098 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAOnOffObservations_models" "', argument " "2"" of type '" "GModels const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAOnOffObservations_models"
"', argument " "2"" of type '" "GModels const &""'"); goto
fail; } while(0)
;
10099 }
10100 if (!argp2) {
10101 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAOnOffObservations_models" "', argument " "2"" of type '" "GModels const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAOnOffObservations_models" "', argument " "2"
" of type '" "GModels const &""'"); goto fail; } while(0)
;
10102 }
10103 arg2 = reinterpret_cast< GModels * >(argp2);
10104 {
10105 try {
10106 (arg1)->models((GModels const &)*arg2);
10107 }
10108 catch (const GException::out_of_range& e) {
10109 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
10110 }
10111 catch (const GExceptionHandler& e) {
10112 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10113 }
10114 catch (const std::exception& e) {
10115 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10116 }
10117 }
10118 resultobj = SWIG_Py_Void();
10119 return resultobj;
10120fail:
10121 return NULL__null;
10122}
10123
10124
10125SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservations_models__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10126 PyObject *resultobj = 0;
10127 GCTAOnOffObservations *arg1 = (GCTAOnOffObservations *) 0 ;
10128 std::string *arg2 = 0 ;
10129 void *argp1 = 0 ;
10130 int res1 = 0 ;
10131 int res2 = SWIG_OLDOBJ((0)) ;
10132 PyObject * obj0 = 0 ;
10133 PyObject * obj1 = 0 ;
10134
10135 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAOnOffObservations_models",&obj0,&obj1)) SWIG_failgoto fail;
10136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservations, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0 | 0, 0)
;
10137 if (!SWIG_IsOK(res1)(res1 >= 0)) {
10138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAOnOffObservations_models" "', argument " "1"" of type '" "GCTAOnOffObservations *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAOnOffObservations_models"
"', argument " "1"" of type '" "GCTAOnOffObservations *""'")
; goto fail; } while(0)
;
10139 }
10140 arg1 = reinterpret_cast< GCTAOnOffObservations * >(argp1);
10141 {
10142 std::string *ptr = (std::string *)0;
10143 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
10144 if (!SWIG_IsOK(res2)(res2 >= 0)) {
10145 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAOnOffObservations_models" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAOnOffObservations_models"
"', argument " "2"" of type '" "std::string const &""'")
; goto fail; } while(0)
;
10146 }
10147 if (!ptr) {
10148 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAOnOffObservations_models" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAOnOffObservations_models" "', argument " "2"
" of type '" "std::string const &""'"); goto fail; } while
(0)
;
10149 }
10150 arg2 = ptr;
10151 }
10152 {
10153 try {
10154 (arg1)->models((std::string const &)*arg2);
10155 }
10156 catch (const GException::out_of_range& e) {
10157 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
10158 }
10159 catch (const GExceptionHandler& e) {
10160 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10161 }
10162 catch (const std::exception& e) {
10163 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10164 }
10165 }
10166 resultobj = SWIG_Py_Void();
10167 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
10168 return resultobj;
10169fail:
10170 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
10171 return NULL__null;
10172}
10173
10174
10175SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservations_models__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10176 PyObject *resultobj = 0;
10177 GCTAOnOffObservations *arg1 = (GCTAOnOffObservations *) 0 ;
10178 void *argp1 = 0 ;
10179 int res1 = 0 ;
10180 PyObject * obj0 = 0 ;
10181 GModels *result = 0 ;
10182
10183 if (!PyArg_ParseTuple(args,(char *)"O:GCTAOnOffObservations_models",&obj0)) SWIG_failgoto fail;
10184 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservations, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0 | 0, 0)
;
10185 if (!SWIG_IsOK(res1)(res1 >= 0)) {
10186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAOnOffObservations_models" "', argument " "1"" of type '" "GCTAOnOffObservations const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAOnOffObservations_models"
"', argument " "1"" of type '" "GCTAOnOffObservations const *"
"'"); goto fail; } while(0)
;
10187 }
10188 arg1 = reinterpret_cast< GCTAOnOffObservations * >(argp1);
10189 {
10190 try {
10191 result = (GModels *) &((GCTAOnOffObservations const *)arg1)->models();
10192 }
10193 catch (const GException::out_of_range& e) {
10194 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
10195 }
10196 catch (const GExceptionHandler& e) {
10197 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10198 }
10199 catch (const std::exception& e) {
10200 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10201 }
10202 }
10203 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GModels, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[51], 0
| 0)
;
10204 return resultobj;
10205fail:
10206 return NULL__null;
10207}
10208
10209
10210SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservations_models(PyObject *self, PyObject *args) {
10211 int argc;
10212 PyObject *argv[3];
10213 int ii;
10214
10215 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
10216 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
10217 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
10218 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
10219 }
10220 if (argc == 1) {
10221 int _v;
10222 void *vptr = 0;
10223 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAOnOffObservations, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[21
], 0, 0)
;
10224 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
10225 if (_v) {
10226 return _wrap_GCTAOnOffObservations_models__SWIG_2(self, args);
10227 }
10228 }
10229 if (argc == 2) {
10230 int _v;
10231 void *vptr = 0;
10232 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAOnOffObservations, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[21
], 0, 0)
;
10233 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
10234 if (_v) {
10235 int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_GModels, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], 0, swig_types[51], 0, 0
)
;
10236 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
10237 if (_v) {
10238 return _wrap_GCTAOnOffObservations_models__SWIG_0(self, args);
10239 }
10240 }
10241 }
10242 if (argc == 2) {
10243 int _v;
10244 void *vptr = 0;
10245 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAOnOffObservations, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[21
], 0, 0)
;
10246 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
10247 if (_v) {
10248 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
10249 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
10250 if (_v) {
10251 return _wrap_GCTAOnOffObservations_models__SWIG_1(self, args);
10252 }
10253 }
10254 }
10255
10256fail:
10257 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAOnOffObservations_models'.\n"
10258 " Possible C/C++ prototypes are:\n"
10259 " GCTAOnOffObservations::models(GModels const &)\n"
10260 " GCTAOnOffObservations::models(std::string const &)\n"
10261 " GCTAOnOffObservations::models() const\n");
10262 return 0;
10263}
10264
10265
10266SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservations___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10267 PyObject *resultobj = 0;
10268 GCTAOnOffObservations *arg1 = (GCTAOnOffObservations *) 0 ;
10269 int *arg2 = 0 ;
10270 void *argp1 = 0 ;
10271 int res1 = 0 ;
10272 int temp2 ;
10273 int val2 ;
10274 int ecode2 = 0 ;
10275 PyObject * obj0 = 0 ;
10276 PyObject * obj1 = 0 ;
10277 GCTAOnOffObservation *result = 0 ;
10278
10279 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAOnOffObservations___getitem__",&obj0,&obj1)) SWIG_failgoto fail;
10280 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservations, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0 | 0, 0)
;
10281 if (!SWIG_IsOK(res1)(res1 >= 0)) {
10282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAOnOffObservations___getitem__" "', argument " "1"" of type '" "GCTAOnOffObservations *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAOnOffObservations___getitem__"
"', argument " "1"" of type '" "GCTAOnOffObservations *""'")
; goto fail; } while(0)
;
10283 }
10284 arg1 = reinterpret_cast< GCTAOnOffObservations * >(argp1);
10285 ecode2 = SWIG_AsVal_int(obj1, &val2);
10286 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
10287 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAOnOffObservations___getitem__" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAOnOffObservations___getitem__"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
10288 }
10289 temp2 = static_cast< int >(val2);
10290 arg2 = &temp2;
10291 {
10292 try {
10293 result = (GCTAOnOffObservation *)GCTAOnOffObservations___getitem__(arg1,(int const &)*arg2);
10294 }
10295 catch (const GException::out_of_range& e) {
10296 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
10297 }
10298 catch (const GExceptionHandler& e) {
10299 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10300 }
10301 catch (const std::exception& e) {
10302 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10303 }
10304 }
10305 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAOnOffObservation, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[20], 0
| 0)
;
10306 return resultobj;
10307fail:
10308 return NULL__null;
10309}
10310
10311
10312SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservations___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10313 PyObject *resultobj = 0;
10314 GCTAOnOffObservations *arg1 = (GCTAOnOffObservations *) 0 ;
10315 int *arg2 = 0 ;
10316 GCTAOnOffObservation *arg3 = 0 ;
10317 void *argp1 = 0 ;
10318 int res1 = 0 ;
10319 int temp2 ;
10320 int val2 ;
10321 int ecode2 = 0 ;
10322 void *argp3 = 0 ;
10323 int res3 = 0 ;
10324 PyObject * obj0 = 0 ;
10325 PyObject * obj1 = 0 ;
10326 PyObject * obj2 = 0 ;
10327
10328 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAOnOffObservations___setitem__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
10329 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservations, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0 | 0, 0)
;
10330 if (!SWIG_IsOK(res1)(res1 >= 0)) {
10331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAOnOffObservations___setitem__" "', argument " "1"" of type '" "GCTAOnOffObservations *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAOnOffObservations___setitem__"
"', argument " "1"" of type '" "GCTAOnOffObservations *""'")
; goto fail; } while(0)
;
10332 }
10333 arg1 = reinterpret_cast< GCTAOnOffObservations * >(argp1);
10334 ecode2 = SWIG_AsVal_int(obj1, &val2);
10335 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
10336 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAOnOffObservations___setitem__" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAOnOffObservations___setitem__"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
10337 }
10338 temp2 = static_cast< int >(val2);
10339 arg2 = &temp2;
10340 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GCTAOnOffObservation, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[20]
, 0 | 0, 0)
;
10341 if (!SWIG_IsOK(res3)(res3 >= 0)) {
10342 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GCTAOnOffObservations___setitem__" "', argument " "3"" of type '" "GCTAOnOffObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GCTAOnOffObservations___setitem__"
"', argument " "3"" of type '" "GCTAOnOffObservation const &"
"'"); goto fail; } while(0)
;
10343 }
10344 if (!argp3) {
10345 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAOnOffObservations___setitem__" "', argument " "3"" of type '" "GCTAOnOffObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAOnOffObservations___setitem__" "', argument "
"3"" of type '" "GCTAOnOffObservation const &""'"); goto
fail; } while(0)
;
10346 }
10347 arg3 = reinterpret_cast< GCTAOnOffObservation * >(argp3);
10348 {
10349 try {
10350 GCTAOnOffObservations___setitem__(arg1,(int const &)*arg2,(GCTAOnOffObservation const &)*arg3);
10351 }
10352 catch (const GException::out_of_range& e) {
10353 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
10354 }
10355 catch (const GExceptionHandler& e) {
10356 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10357 }
10358 catch (const std::exception& e) {
10359 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10360 }
10361 }
10362 resultobj = SWIG_Py_Void();
10363 return resultobj;
10364fail:
10365 return NULL__null;
10366}
10367
10368
10369SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservations___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10370 PyObject *resultobj = 0;
10371 GCTAOnOffObservations *arg1 = (GCTAOnOffObservations *) 0 ;
10372 void *argp1 = 0 ;
10373 int res1 = 0 ;
10374 PyObject * obj0 = 0 ;
10375 int result;
10376
10377 if (!PyArg_ParseTuple(args,(char *)"O:GCTAOnOffObservations___len__",&obj0)) SWIG_failgoto fail;
10378 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservations, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0 | 0, 0)
;
10379 if (!SWIG_IsOK(res1)(res1 >= 0)) {
10380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAOnOffObservations___len__" "', argument " "1"" of type '" "GCTAOnOffObservations *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAOnOffObservations___len__"
"', argument " "1"" of type '" "GCTAOnOffObservations *""'")
; goto fail; } while(0)
;
10381 }
10382 arg1 = reinterpret_cast< GCTAOnOffObservations * >(argp1);
10383 {
10384 try {
10385 result = (int)GCTAOnOffObservations___len__(arg1);
10386 }
10387 catch (const GException::out_of_range& e) {
10388 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
10389 }
10390 catch (const GExceptionHandler& e) {
10391 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10392 }
10393 catch (const std::exception& e) {
10394 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10395 }
10396 }
10397 resultobj = SWIG_From_int(static_cast< int >(result));
10398 return resultobj;
10399fail:
10400 return NULL__null;
10401}
10402
10403
10404SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAOnOffObservations_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10405 PyObject *resultobj = 0;
10406 GCTAOnOffObservations *arg1 = (GCTAOnOffObservations *) 0 ;
10407 void *argp1 = 0 ;
10408 int res1 = 0 ;
10409 PyObject * obj0 = 0 ;
10410 GCTAOnOffObservations result;
10411
10412 if (!PyArg_ParseTuple(args,(char *)"O:GCTAOnOffObservations_copy",&obj0)) SWIG_failgoto fail;
10413 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAOnOffObservations, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0 | 0, 0)
;
10414 if (!SWIG_IsOK(res1)(res1 >= 0)) {
10415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAOnOffObservations_copy" "', argument " "1"" of type '" "GCTAOnOffObservations *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAOnOffObservations_copy"
"', argument " "1"" of type '" "GCTAOnOffObservations *""'")
; goto fail; } while(0)
;
10416 }
10417 arg1 = reinterpret_cast< GCTAOnOffObservations * >(argp1);
10418 {
10419 try {
10420 result = GCTAOnOffObservations_copy(arg1);
10421 }
10422 catch (const GException::out_of_range& e) {
10423 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
10424 }
10425 catch (const GExceptionHandler& e) {
10426 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10427 }
10428 catch (const std::exception& e) {
10429 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10430 }
10431 }
10432 resultobj = SWIG_NewPointerObj((new GCTAOnOffObservations(static_cast< const GCTAOnOffObservations& >(result))), SWIGTYPE_p_GCTAOnOffObservations, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GCTAOnOffObservations(
static_cast< const GCTAOnOffObservations& >(result)
)), swig_types[21], 0x1 | 0)
;
10433 return resultobj;
10434fail:
10435 return NULL__null;
10436}
10437
10438
10439SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GCTAOnOffObservations_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10440 PyObject *obj;
10441 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
10442 SWIG_TypeNewClientData(SWIGTYPE_p_GCTAOnOffObservationsswig_types[21], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
10443 return SWIG_Py_Void();
10444}
10445
10446SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAEventCube__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10447 PyObject *resultobj = 0;
10448 GCTAEventCube *result = 0 ;
10449
10450 if (!PyArg_ParseTuple(args,(char *)":new_GCTAEventCube")) SWIG_failgoto fail;
10451 {
10452 try {
10453 result = (GCTAEventCube *)new GCTAEventCube();
10454 }
10455 catch (const GException::out_of_range& e) {
10456 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
10457 }
10458 catch (const GExceptionHandler& e) {
10459 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10460 }
10461 catch (const std::exception& e) {
10462 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10463 }
10464 }
10465 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAEventCube, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[9], ((
0x1 << 1) | 0x1) | 0)
;
10466 return resultobj;
10467fail:
10468 return NULL__null;
10469}
10470
10471
10472SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAEventCube__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10473 PyObject *resultobj = 0;
10474 GSkymap *arg1 = 0 ;
10475 GEbounds *arg2 = 0 ;
10476 GGti *arg3 = 0 ;
10477 void *argp1 = 0 ;
10478 int res1 = 0 ;
10479 void *argp2 = 0 ;
10480 int res2 = 0 ;
10481 void *argp3 = 0 ;
10482 int res3 = 0 ;
10483 PyObject * obj0 = 0 ;
10484 PyObject * obj1 = 0 ;
10485 PyObject * obj2 = 0 ;
10486 GCTAEventCube *result = 0 ;
10487
10488 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GCTAEventCube",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
10489 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GSkymap, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[62]
, 0 | 0, 0)
;
10490 if (!SWIG_IsOK(res1)(res1 >= 0)) {
10491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAEventCube" "', argument " "1"" of type '" "GSkymap const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAEventCube" "', argument "
"1"" of type '" "GSkymap const &""'"); goto fail; } while
(0)
;
10492 }
10493 if (!argp1) {
10494 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAEventCube" "', argument " "1"" of type '" "GSkymap const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAEventCube" "', argument " "1"" of type '"
"GSkymap const &""'"); goto fail; } while(0)
;
10495 }
10496 arg1 = reinterpret_cast< GSkymap * >(argp1);
10497 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GEbounds, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[32]
, 0 | 0, 0)
;
10498 if (!SWIG_IsOK(res2)(res2 >= 0)) {
10499 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_GCTAEventCube" "', argument " "2"" of type '" "GEbounds const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "new_GCTAEventCube" "', argument "
"2"" of type '" "GEbounds const &""'"); goto fail; } while
(0)
;
10500 }
10501 if (!argp2) {
10502 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAEventCube" "', argument " "2"" of type '" "GEbounds const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAEventCube" "', argument " "2"" of type '"
"GEbounds const &""'"); goto fail; } while(0)
;
10503 }
10504 arg2 = reinterpret_cast< GEbounds * >(argp2);
10505 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GGti, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[42]
, 0 | 0, 0)
;
10506 if (!SWIG_IsOK(res3)(res3 >= 0)) {
10507 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_GCTAEventCube" "', argument " "3"" of type '" "GGti const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "new_GCTAEventCube" "', argument "
"3"" of type '" "GGti const &""'"); goto fail; } while(0
)
;
10508 }
10509 if (!argp3) {
10510 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAEventCube" "', argument " "3"" of type '" "GGti const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAEventCube" "', argument " "3"" of type '"
"GGti const &""'"); goto fail; } while(0)
;
10511 }
10512 arg3 = reinterpret_cast< GGti * >(argp3);
10513 {
10514 try {
10515 result = (GCTAEventCube *)new GCTAEventCube((GSkymap const &)*arg1,(GEbounds const &)*arg2,(GGti const &)*arg3);
10516 }
10517 catch (const GException::out_of_range& e) {
10518 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
10519 }
10520 catch (const GExceptionHandler& e) {
10521 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10522 }
10523 catch (const std::exception& e) {
10524 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10525 }
10526 }
10527 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAEventCube, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[9], ((
0x1 << 1) | 0x1) | 0)
;
10528 return resultobj;
10529fail:
10530 return NULL__null;
10531}
10532
10533
10534SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAEventCube__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10535 PyObject *resultobj = 0;
10536 GCTAEventCube *arg1 = 0 ;
10537 void *argp1 = 0 ;
10538 int res1 = 0 ;
10539 PyObject * obj0 = 0 ;
10540 GCTAEventCube *result = 0 ;
10541
10542 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAEventCube",&obj0)) SWIG_failgoto fail;
10543 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GCTAEventCube, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[9],
0 | 0, 0)
;
10544 if (!SWIG_IsOK(res1)(res1 >= 0)) {
10545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAEventCube" "', argument " "1"" of type '" "GCTAEventCube const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAEventCube" "', argument "
"1"" of type '" "GCTAEventCube const &""'"); goto fail; }
while(0)
;
10546 }
10547 if (!argp1) {
10548 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAEventCube" "', argument " "1"" of type '" "GCTAEventCube const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAEventCube" "', argument " "1"" of type '"
"GCTAEventCube const &""'"); goto fail; } while(0)
;
10549 }
10550 arg1 = reinterpret_cast< GCTAEventCube * >(argp1);
10551 {
10552 try {
10553 result = (GCTAEventCube *)new GCTAEventCube((GCTAEventCube const &)*arg1);
10554 }
10555 catch (const GException::out_of_range& e) {
10556 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
10557 }
10558 catch (const GExceptionHandler& e) {
10559 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10560 }
10561 catch (const std::exception& e) {
10562 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10563 }
10564 }
10565 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAEventCube, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[9], ((
0x1 << 1) | 0x1) | 0)
;
10566 return resultobj;
10567fail:
10568 return NULL__null;
10569}
10570
10571
10572SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAEventCube(PyObject *self, PyObject *args) {
10573 int argc;
10574 PyObject *argv[4];
10575 int ii;
10576
10577 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
10578 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
10579 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
10580 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
10581 }
10582 if (argc == 0) {
10583 return _wrap_new_GCTAEventCube__SWIG_0(self, args);
10584 }
10585 if (argc == 1) {
10586 int _v;
10587 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GCTAEventCube, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[9], 0, 0);
10588 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
10589 if (_v) {
10590 return _wrap_new_GCTAEventCube__SWIG_2(self, args);
10591 }
10592 }
10593 if (argc == 3) {
10594 int _v;
10595 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GSkymap, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[62], 0, 0
)
;
10596 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
10597 if (_v) {
10598 int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_GEbounds, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], 0, swig_types[32], 0, 0
)
;
10599 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
10600 if (_v) {
10601 int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_GGti, 0)SWIG_Python_ConvertPtrAndOwn(argv[2], 0, swig_types[42], 0, 0
)
;
10602 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
10603 if (_v) {
10604 return _wrap_new_GCTAEventCube__SWIG_1(self, args);
10605 }
10606 }
10607 }
10608 }
10609
10610fail:
10611 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GCTAEventCube'.\n"
10612 " Possible C/C++ prototypes are:\n"
10613 " GCTAEventCube::GCTAEventCube()\n"
10614 " GCTAEventCube::GCTAEventCube(GSkymap const &,GEbounds const &,GGti const &)\n"
10615 " GCTAEventCube::GCTAEventCube(GCTAEventCube const &)\n");
10616 return 0;
10617}
10618
10619
10620SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GCTAEventCube(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10621 PyObject *resultobj = 0;
10622 GCTAEventCube *arg1 = (GCTAEventCube *) 0 ;
10623 void *argp1 = 0 ;
10624 int res1 = 0 ;
10625 PyObject * obj0 = 0 ;
10626
10627 if (!PyArg_ParseTuple(args,(char *)"O:delete_GCTAEventCube",&obj0)) SWIG_failgoto fail;
10628 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventCube, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[9],
0x1 | 0, 0)
;
10629 if (!SWIG_IsOK(res1)(res1 >= 0)) {
10630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GCTAEventCube" "', argument " "1"" of type '" "GCTAEventCube *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GCTAEventCube" "', argument "
"1"" of type '" "GCTAEventCube *""'"); goto fail; } while(0)
;
10631 }
10632 arg1 = reinterpret_cast< GCTAEventCube * >(argp1);
10633 {
10634 try {
10635 delete arg1;
10636 }
10637 catch (const GException::out_of_range& e) {
10638 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
10639 }
10640 catch (const GExceptionHandler& e) {
10641 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10642 }
10643 catch (const std::exception& e) {
10644 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10645 }
10646 }
10647 resultobj = SWIG_Py_Void();
10648 return resultobj;
10649fail:
10650 return NULL__null;
10651}
10652
10653
10654SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventCube_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10655 PyObject *resultobj = 0;
10656 GCTAEventCube *arg1 = (GCTAEventCube *) 0 ;
10657 void *argp1 = 0 ;
10658 int res1 = 0 ;
10659 PyObject * obj0 = 0 ;
10660
10661 if (!PyArg_ParseTuple(args,(char *)"O:GCTAEventCube_clear",&obj0)) SWIG_failgoto fail;
10662 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventCube, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[9],
0 | 0, 0)
;
10663 if (!SWIG_IsOK(res1)(res1 >= 0)) {
10664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventCube_clear" "', argument " "1"" of type '" "GCTAEventCube *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventCube_clear" "', argument "
"1"" of type '" "GCTAEventCube *""'"); goto fail; } while(0)
;
10665 }
10666 arg1 = reinterpret_cast< GCTAEventCube * >(argp1);
10667 {
10668 try {
10669 (arg1)->clear();
10670 }
10671 catch (const GException::out_of_range& e) {
10672 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
10673 }
10674 catch (const GExceptionHandler& e) {
10675 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10676 }
10677 catch (const std::exception& e) {
10678 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10679 }
10680 }
10681 resultobj = SWIG_Py_Void();
10682 return resultobj;
10683fail:
10684 return NULL__null;
10685}
10686
10687
10688SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventCube_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10689 PyObject *resultobj = 0;
10690 GCTAEventCube *arg1 = (GCTAEventCube *) 0 ;
10691 void *argp1 = 0 ;
10692 int res1 = 0 ;
10693 PyObject * obj0 = 0 ;
10694 GCTAEventCube *result = 0 ;
10695
10696 if (!PyArg_ParseTuple(args,(char *)"O:GCTAEventCube_clone",&obj0)) SWIG_failgoto fail;
10697 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventCube, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[9],
0 | 0, 0)
;
10698 if (!SWIG_IsOK(res1)(res1 >= 0)) {
10699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventCube_clone" "', argument " "1"" of type '" "GCTAEventCube const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventCube_clone" "', argument "
"1"" of type '" "GCTAEventCube const *""'"); goto fail; } while
(0)
;
10700 }
10701 arg1 = reinterpret_cast< GCTAEventCube * >(argp1);
10702 {
10703 try {
10704 result = (GCTAEventCube *)((GCTAEventCube const *)arg1)->clone();
10705 }
10706 catch (const GException::out_of_range& e) {
10707 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
10708 }
10709 catch (const GExceptionHandler& e) {
10710 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10711 }
10712 catch (const std::exception& e) {
10713 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10714 }
10715 }
10716 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAEventCube, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[9], 0 |
0)
;
10717 return resultobj;
10718fail:
10719 return NULL__null;
10720}
10721
10722
10723SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventCube_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10724 PyObject *resultobj = 0;
10725 GCTAEventCube *arg1 = (GCTAEventCube *) 0 ;
10726 void *argp1 = 0 ;
10727 int res1 = 0 ;
10728 PyObject * obj0 = 0 ;
10729 int result;
10730
10731 if (!PyArg_ParseTuple(args,(char *)"O:GCTAEventCube_size",&obj0)) SWIG_failgoto fail;
10732 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventCube, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[9],
0 | 0, 0)
;
10733 if (!SWIG_IsOK(res1)(res1 >= 0)) {
10734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventCube_size" "', argument " "1"" of type '" "GCTAEventCube const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventCube_size" "', argument "
"1"" of type '" "GCTAEventCube const *""'"); goto fail; } while
(0)
;
10735 }
10736 arg1 = reinterpret_cast< GCTAEventCube * >(argp1);
10737 {
10738 try {
10739 result = (int)((GCTAEventCube const *)arg1)->size();
10740 }
10741 catch (const GException::out_of_range& e) {
10742 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
10743 }
10744 catch (const GExceptionHandler& e) {
10745 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10746 }
10747 catch (const std::exception& e) {
10748 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10749 }
10750 }
10751 resultobj = SWIG_From_int(static_cast< int >(result));
10752 return resultobj;
10753fail:
10754 return NULL__null;
10755}
10756
10757
10758SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventCube_dim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10759 PyObject *resultobj = 0;
10760 GCTAEventCube *arg1 = (GCTAEventCube *) 0 ;
10761 void *argp1 = 0 ;
10762 int res1 = 0 ;
10763 PyObject * obj0 = 0 ;
10764 int result;
10765
10766 if (!PyArg_ParseTuple(args,(char *)"O:GCTAEventCube_dim",&obj0)) SWIG_failgoto fail;
10767 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventCube, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[9],
0 | 0, 0)
;
10768 if (!SWIG_IsOK(res1)(res1 >= 0)) {
10769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventCube_dim" "', argument " "1"" of type '" "GCTAEventCube const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventCube_dim" "', argument "
"1"" of type '" "GCTAEventCube const *""'"); goto fail; } while
(0)
;
10770 }
10771 arg1 = reinterpret_cast< GCTAEventCube * >(argp1);
10772 {
10773 try {
10774 result = (int)((GCTAEventCube const *)arg1)->dim();
10775 }
10776 catch (const GException::out_of_range& e) {
10777 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
10778 }
10779 catch (const GExceptionHandler& e) {
10780 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10781 }
10782 catch (const std::exception& e) {
10783 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10784 }
10785 }
10786 resultobj = SWIG_From_int(static_cast< int >(result));
10787 return resultobj;
10788fail:
10789 return NULL__null;
10790}
10791
10792
10793SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventCube_naxis(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10794 PyObject *resultobj = 0;
10795 GCTAEventCube *arg1 = (GCTAEventCube *) 0 ;
10796 int *arg2 = 0 ;
10797 void *argp1 = 0 ;
10798 int res1 = 0 ;
10799 int temp2 ;
10800 int val2 ;
10801 int ecode2 = 0 ;
10802 PyObject * obj0 = 0 ;
10803 PyObject * obj1 = 0 ;
10804 int result;
10805
10806 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAEventCube_naxis",&obj0,&obj1)) SWIG_failgoto fail;
10807 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventCube, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[9],
0 | 0, 0)
;
10808 if (!SWIG_IsOK(res1)(res1 >= 0)) {
10809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventCube_naxis" "', argument " "1"" of type '" "GCTAEventCube const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventCube_naxis" "', argument "
"1"" of type '" "GCTAEventCube const *""'"); goto fail; } while
(0)
;
10810 }
10811 arg1 = reinterpret_cast< GCTAEventCube * >(argp1);
10812 ecode2 = SWIG_AsVal_int(obj1, &val2);
10813 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
10814 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAEventCube_naxis" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAEventCube_naxis" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
10815 }
10816 temp2 = static_cast< int >(val2);
10817 arg2 = &temp2;
10818 {
10819 try {
10820 result = (int)((GCTAEventCube const *)arg1)->naxis((int const &)*arg2);
10821 }
10822 catch (const GException::out_of_range& e) {
10823 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
10824 }
10825 catch (const GExceptionHandler& e) {
10826 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10827 }
10828 catch (const std::exception& e) {
10829 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10830 }
10831 }
10832 resultobj = SWIG_From_int(static_cast< int >(result));
10833 return resultobj;
10834fail:
10835 return NULL__null;
10836}
10837
10838
10839SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventCube_load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10840 PyObject *resultobj = 0;
10841 GCTAEventCube *arg1 = (GCTAEventCube *) 0 ;
10842 std::string *arg2 = 0 ;
10843 void *argp1 = 0 ;
10844 int res1 = 0 ;
10845 int res2 = SWIG_OLDOBJ((0)) ;
10846 PyObject * obj0 = 0 ;
10847 PyObject * obj1 = 0 ;
10848
10849 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAEventCube_load",&obj0,&obj1)) SWIG_failgoto fail;
10850 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventCube, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[9],
0 | 0, 0)
;
10851 if (!SWIG_IsOK(res1)(res1 >= 0)) {
10852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventCube_load" "', argument " "1"" of type '" "GCTAEventCube *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventCube_load" "', argument "
"1"" of type '" "GCTAEventCube *""'"); goto fail; } while(0)
;
10853 }
10854 arg1 = reinterpret_cast< GCTAEventCube * >(argp1);
10855 {
10856 std::string *ptr = (std::string *)0;
10857 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
10858 if (!SWIG_IsOK(res2)(res2 >= 0)) {
10859 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAEventCube_load" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAEventCube_load" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
10860 }
10861 if (!ptr) {
10862 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAEventCube_load" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAEventCube_load" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
10863 }
10864 arg2 = ptr;
10865 }
10866 {
10867 try {
10868 (arg1)->load((std::string const &)*arg2);
10869 }
10870 catch (const GException::out_of_range& e) {
10871 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
10872 }
10873 catch (const GExceptionHandler& e) {
10874 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10875 }
10876 catch (const std::exception& e) {
10877 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10878 }
10879 }
10880 resultobj = SWIG_Py_Void();
10881 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
10882 return resultobj;
10883fail:
10884 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
10885 return NULL__null;
10886}
10887
10888
10889SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventCube_save__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10890 PyObject *resultobj = 0;
10891 GCTAEventCube *arg1 = (GCTAEventCube *) 0 ;
10892 std::string *arg2 = 0 ;
10893 bool *arg3 = 0 ;
10894 void *argp1 = 0 ;
10895 int res1 = 0 ;
10896 int res2 = SWIG_OLDOBJ((0)) ;
10897 bool temp3 ;
10898 bool val3 ;
10899 int ecode3 = 0 ;
10900 PyObject * obj0 = 0 ;
10901 PyObject * obj1 = 0 ;
10902 PyObject * obj2 = 0 ;
10903
10904 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAEventCube_save",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
10905 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventCube, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[9],
0 | 0, 0)
;
10906 if (!SWIG_IsOK(res1)(res1 >= 0)) {
10907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventCube_save" "', argument " "1"" of type '" "GCTAEventCube const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventCube_save" "', argument "
"1"" of type '" "GCTAEventCube const *""'"); goto fail; } while
(0)
;
10908 }
10909 arg1 = reinterpret_cast< GCTAEventCube * >(argp1);
10910 {
10911 std::string *ptr = (std::string *)0;
10912 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
10913 if (!SWIG_IsOK(res2)(res2 >= 0)) {
10914 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAEventCube_save" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAEventCube_save" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
10915 }
10916 if (!ptr) {
10917 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAEventCube_save" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAEventCube_save" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
10918 }
10919 arg2 = ptr;
10920 }
10921 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10922 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
10923 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAEventCube_save" "', argument " "3"" of type '" "bool""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAEventCube_save" "', argument "
"3"" of type '" "bool""'"); goto fail; } while(0)
;
10924 }
10925 temp3 = static_cast< bool >(val3);
10926 arg3 = &temp3;
10927 {
10928 try {
10929 ((GCTAEventCube const *)arg1)->save((std::string const &)*arg2,(bool const &)*arg3);
10930 }
10931 catch (const GException::out_of_range& e) {
10932 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
10933 }
10934 catch (const GExceptionHandler& e) {
10935 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10936 }
10937 catch (const std::exception& e) {
10938 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10939 }
10940 }
10941 resultobj = SWIG_Py_Void();
10942 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
10943 return resultobj;
10944fail:
10945 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
10946 return NULL__null;
10947}
10948
10949
10950SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventCube_save__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10951 PyObject *resultobj = 0;
10952 GCTAEventCube *arg1 = (GCTAEventCube *) 0 ;
10953 std::string *arg2 = 0 ;
10954 void *argp1 = 0 ;
10955 int res1 = 0 ;
10956 int res2 = SWIG_OLDOBJ((0)) ;
10957 PyObject * obj0 = 0 ;
10958 PyObject * obj1 = 0 ;
10959
10960 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAEventCube_save",&obj0,&obj1)) SWIG_failgoto fail;
10961 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventCube, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[9],
0 | 0, 0)
;
10962 if (!SWIG_IsOK(res1)(res1 >= 0)) {
10963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventCube_save" "', argument " "1"" of type '" "GCTAEventCube const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventCube_save" "', argument "
"1"" of type '" "GCTAEventCube const *""'"); goto fail; } while
(0)
;
10964 }
10965 arg1 = reinterpret_cast< GCTAEventCube * >(argp1);
10966 {
10967 std::string *ptr = (std::string *)0;
10968 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
10969 if (!SWIG_IsOK(res2)(res2 >= 0)) {
10970 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAEventCube_save" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAEventCube_save" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
10971 }
10972 if (!ptr) {
10973 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAEventCube_save" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAEventCube_save" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
10974 }
10975 arg2 = ptr;
10976 }
10977 {
10978 try {
10979 ((GCTAEventCube const *)arg1)->save((std::string const &)*arg2);
10980 }
10981 catch (const GException::out_of_range& e) {
10982 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
10983 }
10984 catch (const GExceptionHandler& e) {
10985 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10986 }
10987 catch (const std::exception& e) {
10988 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10989 }
10990 }
10991 resultobj = SWIG_Py_Void();
10992 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
10993 return resultobj;
10994fail:
10995 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
10996 return NULL__null;
10997}
10998
10999
11000SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventCube_save(PyObject *self, PyObject *args) {
11001 int argc;
11002 PyObject *argv[4];
11003 int ii;
11004
11005 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
11006 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
11007 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
11008 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
11009 }
11010 if (argc == 2) {
11011 int _v;
11012 void *vptr = 0;
11013 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAEventCube, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[9
], 0, 0)
;
11014 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
11015 if (_v) {
11016 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
11017 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
11018 if (_v) {
11019 return _wrap_GCTAEventCube_save__SWIG_1(self, args);
11020 }
11021 }
11022 }
11023 if (argc == 3) {
11024 int _v;
11025 void *vptr = 0;
11026 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAEventCube, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[9
], 0, 0)
;
11027 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
11028 if (_v) {
11029 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
11030 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
11031 if (_v) {
11032 {
11033 int res = SWIG_AsVal_bool(argv[2], NULL__null);
11034 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
11035 }
11036 if (_v) {
11037 return _wrap_GCTAEventCube_save__SWIG_0(self, args);
11038 }
11039 }
11040 }
11041 }
11042
11043fail:
11044 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAEventCube_save'.\n"
11045 " Possible C/C++ prototypes are:\n"
11046 " GCTAEventCube::save(std::string const &,bool const &) const\n"
11047 " GCTAEventCube::save(std::string const &) const\n");
11048 return 0;
11049}
11050
11051
11052SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventCube_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11053 PyObject *resultobj = 0;
11054 GCTAEventCube *arg1 = (GCTAEventCube *) 0 ;
11055 GFits *arg2 = 0 ;
11056 void *argp1 = 0 ;
11057 int res1 = 0 ;
11058 void *argp2 = 0 ;
11059 int res2 = 0 ;
11060 PyObject * obj0 = 0 ;
11061 PyObject * obj1 = 0 ;
11062
11063 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAEventCube_read",&obj0,&obj1)) SWIG_failgoto fail;
11064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventCube, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[9],
0 | 0, 0)
;
11065 if (!SWIG_IsOK(res1)(res1 >= 0)) {
11066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventCube_read" "', argument " "1"" of type '" "GCTAEventCube *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventCube_read" "', argument "
"1"" of type '" "GCTAEventCube *""'"); goto fail; } while(0)
;
11067 }
11068 arg1 = reinterpret_cast< GCTAEventCube * >(argp1);
11069 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GFits, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[40]
, 0 | 0, 0)
;
11070 if (!SWIG_IsOK(res2)(res2 >= 0)) {
11071 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAEventCube_read" "', argument " "2"" of type '" "GFits const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAEventCube_read" "', argument "
"2"" of type '" "GFits const &""'"); goto fail; } while(
0)
;
11072 }
11073 if (!argp2) {
11074 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAEventCube_read" "', argument " "2"" of type '" "GFits const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAEventCube_read" "', argument " "2"" of type '"
"GFits const &""'"); goto fail; } while(0)
;
11075 }
11076 arg2 = reinterpret_cast< GFits * >(argp2);
11077 {
11078 try {
11079 (arg1)->read((GFits const &)*arg2);
11080 }
11081 catch (const GException::out_of_range& e) {
11082 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
11083 }
11084 catch (const GExceptionHandler& e) {
11085 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11086 }
11087 catch (const std::exception& e) {
11088 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11089 }
11090 }
11091 resultobj = SWIG_Py_Void();
11092 return resultobj;
11093fail:
11094 return NULL__null;
11095}
11096
11097
11098SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventCube_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11099 PyObject *resultobj = 0;
11100 GCTAEventCube *arg1 = (GCTAEventCube *) 0 ;
11101 GFits *arg2 = 0 ;
11102 void *argp1 = 0 ;
11103 int res1 = 0 ;
11104 void *argp2 = 0 ;
11105 int res2 = 0 ;
11106 PyObject * obj0 = 0 ;
11107 PyObject * obj1 = 0 ;
11108
11109 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAEventCube_write",&obj0,&obj1)) SWIG_failgoto fail;
11110 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventCube, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[9],
0 | 0, 0)
;
11111 if (!SWIG_IsOK(res1)(res1 >= 0)) {
11112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventCube_write" "', argument " "1"" of type '" "GCTAEventCube const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventCube_write" "', argument "
"1"" of type '" "GCTAEventCube const *""'"); goto fail; } while
(0)
;
11113 }
11114 arg1 = reinterpret_cast< GCTAEventCube * >(argp1);
11115 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GFits, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[40]
, 0, 0)
;
11116 if (!SWIG_IsOK(res2)(res2 >= 0)) {
11117 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAEventCube_write" "', argument " "2"" of type '" "GFits &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAEventCube_write" "', argument "
"2"" of type '" "GFits &""'"); goto fail; } while(0)
;
11118 }
11119 if (!argp2) {
11120 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAEventCube_write" "', argument " "2"" of type '" "GFits &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAEventCube_write" "', argument " "2"" of type '"
"GFits &""'"); goto fail; } while(0)
;
11121 }
11122 arg2 = reinterpret_cast< GFits * >(argp2);
11123 {
11124 try {
11125 ((GCTAEventCube const *)arg1)->write(*arg2);
11126 }
11127 catch (const GException::out_of_range& e) {
11128 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
11129 }
11130 catch (const GExceptionHandler& e) {
11131 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11132 }
11133 catch (const std::exception& e) {
11134 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11135 }
11136 }
11137 resultobj = SWIG_Py_Void();
11138 return resultobj;
11139fail:
11140 return NULL__null;
11141}
11142
11143
11144SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventCube_number(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11145 PyObject *resultobj = 0;
11146 GCTAEventCube *arg1 = (GCTAEventCube *) 0 ;
11147 void *argp1 = 0 ;
11148 int res1 = 0 ;
11149 PyObject * obj0 = 0 ;
11150 int result;
11151
11152 if (!PyArg_ParseTuple(args,(char *)"O:GCTAEventCube_number",&obj0)) SWIG_failgoto fail;
11153 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventCube, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[9],
0 | 0, 0)
;
11154 if (!SWIG_IsOK(res1)(res1 >= 0)) {
11155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventCube_number" "', argument " "1"" of type '" "GCTAEventCube const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventCube_number" "', argument "
"1"" of type '" "GCTAEventCube const *""'"); goto fail; } while
(0)
;
11156 }
11157 arg1 = reinterpret_cast< GCTAEventCube * >(argp1);
11158 {
11159 try {
11160 result = (int)((GCTAEventCube const *)arg1)->number();
11161 }
11162 catch (const GException::out_of_range& e) {
11163 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
11164 }
11165 catch (const GExceptionHandler& e) {
11166 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11167 }
11168 catch (const std::exception& e) {
11169 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11170 }
11171 }
11172 resultobj = SWIG_From_int(static_cast< int >(result));
11173 return resultobj;
11174fail:
11175 return NULL__null;
11176}
11177
11178
11179SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventCube_map__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11180 PyObject *resultobj = 0;
11181 GCTAEventCube *arg1 = (GCTAEventCube *) 0 ;
11182 GSkymap *arg2 = 0 ;
11183 void *argp1 = 0 ;
11184 int res1 = 0 ;
11185 void *argp2 = 0 ;
11186 int res2 = 0 ;
11187 PyObject * obj0 = 0 ;
11188 PyObject * obj1 = 0 ;
11189
11190 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAEventCube_map",&obj0,&obj1)) SWIG_failgoto fail;
11191 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventCube, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[9],
0 | 0, 0)
;
11192 if (!SWIG_IsOK(res1)(res1 >= 0)) {
11193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventCube_map" "', argument " "1"" of type '" "GCTAEventCube *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventCube_map" "', argument "
"1"" of type '" "GCTAEventCube *""'"); goto fail; } while(0)
;
11194 }
11195 arg1 = reinterpret_cast< GCTAEventCube * >(argp1);
11196 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GSkymap, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[62]
, 0 | 0, 0)
;
11197 if (!SWIG_IsOK(res2)(res2 >= 0)) {
11198 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAEventCube_map" "', argument " "2"" of type '" "GSkymap const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAEventCube_map" "', argument "
"2"" of type '" "GSkymap const &""'"); goto fail; } while
(0)
;
11199 }
11200 if (!argp2) {
11201 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAEventCube_map" "', argument " "2"" of type '" "GSkymap const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAEventCube_map" "', argument " "2"" of type '"
"GSkymap const &""'"); goto fail; } while(0)
;
11202 }
11203 arg2 = reinterpret_cast< GSkymap * >(argp2);
11204 {
11205 try {
11206 (arg1)->map((GSkymap const &)*arg2);
11207 }
11208 catch (const GException::out_of_range& e) {
11209 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
11210 }
11211 catch (const GExceptionHandler& e) {
11212 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11213 }
11214 catch (const std::exception& e) {
11215 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11216 }
11217 }
11218 resultobj = SWIG_Py_Void();
11219 return resultobj;
11220fail:
11221 return NULL__null;
11222}
11223
11224
11225SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventCube_map__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11226 PyObject *resultobj = 0;
11227 GCTAEventCube *arg1 = (GCTAEventCube *) 0 ;
11228 void *argp1 = 0 ;
11229 int res1 = 0 ;
11230 PyObject * obj0 = 0 ;
11231 GSkymap *result = 0 ;
11232
11233 if (!PyArg_ParseTuple(args,(char *)"O:GCTAEventCube_map",&obj0)) SWIG_failgoto fail;
11234 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventCube, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[9],
0 | 0, 0)
;
11235 if (!SWIG_IsOK(res1)(res1 >= 0)) {
11236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventCube_map" "', argument " "1"" of type '" "GCTAEventCube const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventCube_map" "', argument "
"1"" of type '" "GCTAEventCube const *""'"); goto fail; } while
(0)
;
11237 }
11238 arg1 = reinterpret_cast< GCTAEventCube * >(argp1);
11239 {
11240 try {
11241 result = (GSkymap *) &((GCTAEventCube const *)arg1)->map();
11242 }
11243 catch (const GException::out_of_range& e) {
11244 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
11245 }
11246 catch (const GExceptionHandler& e) {
11247 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11248 }
11249 catch (const std::exception& e) {
11250 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11251 }
11252 }
11253 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GSkymap, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[62], 0
| 0)
;
11254 return resultobj;
11255fail:
11256 return NULL__null;
11257}
11258
11259
11260SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventCube_map(PyObject *self, PyObject *args) {
11261 int argc;
11262 PyObject *argv[3];
11263 int ii;
11264
11265 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
11266 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
11267 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
11268 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
11269 }
11270 if (argc == 1) {
11271 int _v;
11272 void *vptr = 0;
11273 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAEventCube, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[9
], 0, 0)
;
11274 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
11275 if (_v) {
11276 return _wrap_GCTAEventCube_map__SWIG_1(self, args);
11277 }
11278 }
11279 if (argc == 2) {
11280 int _v;
11281 void *vptr = 0;
11282 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAEventCube, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[9
], 0, 0)
;
11283 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
11284 if (_v) {
11285 int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_GSkymap, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], 0, swig_types[62], 0, 0
)
;
11286 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
11287 if (_v) {
11288 return _wrap_GCTAEventCube_map__SWIG_0(self, args);
11289 }
11290 }
11291 }
11292
11293fail:
11294 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAEventCube_map'.\n"
11295 " Possible C/C++ prototypes are:\n"
11296 " GCTAEventCube::map(GSkymap const &)\n"
11297 " GCTAEventCube::map() const\n");
11298 return 0;
11299}
11300
11301
11302SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventCube_nx(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11303 PyObject *resultobj = 0;
11304 GCTAEventCube *arg1 = (GCTAEventCube *) 0 ;
11305 void *argp1 = 0 ;
11306 int res1 = 0 ;
11307 PyObject * obj0 = 0 ;
11308 int result;
11309
11310 if (!PyArg_ParseTuple(args,(char *)"O:GCTAEventCube_nx",&obj0)) SWIG_failgoto fail;
11311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventCube, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[9],
0 | 0, 0)
;
11312 if (!SWIG_IsOK(res1)(res1 >= 0)) {
11313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventCube_nx" "', argument " "1"" of type '" "GCTAEventCube const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventCube_nx" "', argument "
"1"" of type '" "GCTAEventCube const *""'"); goto fail; } while
(0)
;
11314 }
11315 arg1 = reinterpret_cast< GCTAEventCube * >(argp1);
11316 {
11317 try {
11318 result = (int)((GCTAEventCube const *)arg1)->nx();
11319 }
11320 catch (const GException::out_of_range& e) {
11321 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
11322 }
11323 catch (const GExceptionHandler& e) {
11324 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11325 }
11326 catch (const std::exception& e) {
11327 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11328 }
11329 }
11330 resultobj = SWIG_From_int(static_cast< int >(result));
11331 return resultobj;
11332fail:
11333 return NULL__null;
11334}
11335
11336
11337SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventCube_ny(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11338 PyObject *resultobj = 0;
11339 GCTAEventCube *arg1 = (GCTAEventCube *) 0 ;
11340 void *argp1 = 0 ;
11341 int res1 = 0 ;
11342 PyObject * obj0 = 0 ;
11343 int result;
11344
11345 if (!PyArg_ParseTuple(args,(char *)"O:GCTAEventCube_ny",&obj0)) SWIG_failgoto fail;
11346 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventCube, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[9],
0 | 0, 0)
;
11347 if (!SWIG_IsOK(res1)(res1 >= 0)) {
11348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventCube_ny" "', argument " "1"" of type '" "GCTAEventCube const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventCube_ny" "', argument "
"1"" of type '" "GCTAEventCube const *""'"); goto fail; } while
(0)
;
11349 }
11350 arg1 = reinterpret_cast< GCTAEventCube * >(argp1);
11351 {
11352 try {
11353 result = (int)((GCTAEventCube const *)arg1)->ny();
11354 }
11355 catch (const GException::out_of_range& e) {
11356 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
11357 }
11358 catch (const GExceptionHandler& e) {
11359 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11360 }
11361 catch (const std::exception& e) {
11362 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11363 }
11364 }
11365 resultobj = SWIG_From_int(static_cast< int >(result));
11366 return resultobj;
11367fail:
11368 return NULL__null;
11369}
11370
11371
11372SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventCube_npix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11373 PyObject *resultobj = 0;
11374 GCTAEventCube *arg1 = (GCTAEventCube *) 0 ;
11375 void *argp1 = 0 ;
11376 int res1 = 0 ;
11377 PyObject * obj0 = 0 ;
11378 int result;
11379
11380 if (!PyArg_ParseTuple(args,(char *)"O:GCTAEventCube_npix",&obj0)) SWIG_failgoto fail;
11381 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventCube, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[9],
0 | 0, 0)
;
11382 if (!SWIG_IsOK(res1)(res1 >= 0)) {
11383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventCube_npix" "', argument " "1"" of type '" "GCTAEventCube const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventCube_npix" "', argument "
"1"" of type '" "GCTAEventCube const *""'"); goto fail; } while
(0)
;
11384 }
11385 arg1 = reinterpret_cast< GCTAEventCube * >(argp1);
11386 {
11387 try {
11388 result = (int)((GCTAEventCube const *)arg1)->npix();
11389 }
11390 catch (const GException::out_of_range& e) {
11391 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
11392 }
11393 catch (const GExceptionHandler& e) {
11394 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11395 }
11396 catch (const std::exception& e) {
11397 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11398 }
11399 }
11400 resultobj = SWIG_From_int(static_cast< int >(result));
11401 return resultobj;
11402fail:
11403 return NULL__null;
11404}
11405
11406
11407SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventCube_ebins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11408 PyObject *resultobj = 0;
11409 GCTAEventCube *arg1 = (GCTAEventCube *) 0 ;
11410 void *argp1 = 0 ;
11411 int res1 = 0 ;
11412 PyObject * obj0 = 0 ;
11413 int result;
11414
11415 if (!PyArg_ParseTuple(args,(char *)"O:GCTAEventCube_ebins",&obj0)) SWIG_failgoto fail;
11416 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventCube, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[9],
0 | 0, 0)
;
11417 if (!SWIG_IsOK(res1)(res1 >= 0)) {
11418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventCube_ebins" "', argument " "1"" of type '" "GCTAEventCube const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventCube_ebins" "', argument "
"1"" of type '" "GCTAEventCube const *""'"); goto fail; } while
(0)
;
11419 }
11420 arg1 = reinterpret_cast< GCTAEventCube * >(argp1);
11421 {
11422 try {
11423 result = (int)((GCTAEventCube const *)arg1)->ebins();
11424 }
11425 catch (const GException::out_of_range& e) {
11426 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
11427 }
11428 catch (const GExceptionHandler& e) {
11429 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11430 }
11431 catch (const std::exception& e) {
11432 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11433 }
11434 }
11435 resultobj = SWIG_From_int(static_cast< int >(result));
11436 return resultobj;
11437fail:
11438 return NULL__null;
11439}
11440
11441
11442SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventCube_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11443 PyObject *resultobj = 0;
11444 GCTAEventCube *arg1 = (GCTAEventCube *) 0 ;
11445 void *argp1 = 0 ;
11446 int res1 = 0 ;
11447 PyObject * obj0 = 0 ;
11448 GCTAEventCube result;
11449
11450 if (!PyArg_ParseTuple(args,(char *)"O:GCTAEventCube_copy",&obj0)) SWIG_failgoto fail;
11451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventCube, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[9],
0 | 0, 0)
;
11452 if (!SWIG_IsOK(res1)(res1 >= 0)) {
11453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventCube_copy" "', argument " "1"" of type '" "GCTAEventCube *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventCube_copy" "', argument "
"1"" of type '" "GCTAEventCube *""'"); goto fail; } while(0)
;
11454 }
11455 arg1 = reinterpret_cast< GCTAEventCube * >(argp1);
11456 {
11457 try {
11458 result = GCTAEventCube_copy(arg1);
11459 }
11460 catch (const GException::out_of_range& e) {
11461 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
11462 }
11463 catch (const GExceptionHandler& e) {
11464 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11465 }
11466 catch (const std::exception& e) {
11467 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11468 }
11469 }
11470 resultobj = SWIG_NewPointerObj((new GCTAEventCube(static_cast< const GCTAEventCube& >(result))), SWIGTYPE_p_GCTAEventCube, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GCTAEventCube(static_cast
< const GCTAEventCube& >(result))), swig_types[9], 0x1
| 0)
;
11471 return resultobj;
11472fail:
11473 return NULL__null;
11474}
11475
11476
11477SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventCube___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11478 PyObject *resultobj = 0;
11479 GCTAEventCube *arg1 = (GCTAEventCube *) 0 ;
11480 int arg2 ;
11481 void *argp1 = 0 ;
11482 int res1 = 0 ;
11483 int val2 ;
11484 int ecode2 = 0 ;
11485 PyObject * obj0 = 0 ;
11486 PyObject * obj1 = 0 ;
11487 GCTAEventBin *result = 0 ;
11488
11489 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAEventCube___getitem__",&obj0,&obj1)) SWIG_failgoto fail;
11490 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventCube, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[9],
0 | 0, 0)
;
11491 if (!SWIG_IsOK(res1)(res1 >= 0)) {
11492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventCube___getitem__" "', argument " "1"" of type '" "GCTAEventCube *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventCube___getitem__"
"', argument " "1"" of type '" "GCTAEventCube *""'"); goto fail
; } while(0)
;
11493 }
11494 arg1 = reinterpret_cast< GCTAEventCube * >(argp1);
11495 ecode2 = SWIG_AsVal_int(obj1, &val2);
11496 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
11497 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAEventCube___getitem__" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAEventCube___getitem__"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
11498 }
11499 arg2 = static_cast< int >(val2);
11500 {
11501 try {
11502 result = (GCTAEventBin *)GCTAEventCube___getitem__(arg1,arg2);
11503 }
11504 catch (const GException::out_of_range& e) {
11505 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
11506 }
11507 catch (const GExceptionHandler& e) {
11508 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11509 }
11510 catch (const std::exception& e) {
11511 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11512 }
11513 }
11514 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAEventBin, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[8], 0 |
0)
;
11515 return resultobj;
11516fail:
11517 return NULL__null;
11518}
11519
11520
11521SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventCube___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11522 PyObject *resultobj = 0;
11523 GCTAEventCube *arg1 = (GCTAEventCube *) 0 ;
11524 int arg2 ;
11525 GCTAEventBin *arg3 = 0 ;
11526 void *argp1 = 0 ;
11527 int res1 = 0 ;
11528 int val2 ;
11529 int ecode2 = 0 ;
11530 void *argp3 = 0 ;
11531 int res3 = 0 ;
11532 PyObject * obj0 = 0 ;
11533 PyObject * obj1 = 0 ;
11534 PyObject * obj2 = 0 ;
11535
11536 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAEventCube___setitem__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
11537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventCube, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[9],
0 | 0, 0)
;
11538 if (!SWIG_IsOK(res1)(res1 >= 0)) {
11539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventCube___setitem__" "', argument " "1"" of type '" "GCTAEventCube *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventCube___setitem__"
"', argument " "1"" of type '" "GCTAEventCube *""'"); goto fail
; } while(0)
;
11540 }
11541 arg1 = reinterpret_cast< GCTAEventCube * >(argp1);
11542 ecode2 = SWIG_AsVal_int(obj1, &val2);
11543 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
11544 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAEventCube___setitem__" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAEventCube___setitem__"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
11545 }
11546 arg2 = static_cast< int >(val2);
11547 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GCTAEventBin, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[8],
0 | 0, 0)
;
11548 if (!SWIG_IsOK(res3)(res3 >= 0)) {
11549 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GCTAEventCube___setitem__" "', argument " "3"" of type '" "GCTAEventBin const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GCTAEventCube___setitem__"
"', argument " "3"" of type '" "GCTAEventBin const &""'"
); goto fail; } while(0)
;
11550 }
11551 if (!argp3) {
11552 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAEventCube___setitem__" "', argument " "3"" of type '" "GCTAEventBin const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAEventCube___setitem__" "', argument " "3"
" of type '" "GCTAEventBin const &""'"); goto fail; } while
(0)
;
11553 }
11554 arg3 = reinterpret_cast< GCTAEventBin * >(argp3);
11555 {
11556 try {
11557 GCTAEventCube___setitem__(arg1,arg2,(GCTAEventBin const &)*arg3);
11558 }
11559 catch (const GException::out_of_range& e) {
11560 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
11561 }
11562 catch (const GExceptionHandler& e) {
11563 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11564 }
11565 catch (const std::exception& e) {
11566 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11567 }
11568 }
11569 resultobj = SWIG_Py_Void();
11570 return resultobj;
11571fail:
11572 return NULL__null;
11573}
11574
11575
11576SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GCTAEventCube_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11577 PyObject *obj;
11578 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
11579 SWIG_TypeNewClientData(SWIGTYPE_p_GCTAEventCubeswig_types[9], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
11580 return SWIG_Py_Void();
11581}
11582
11583SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAEventList__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11584 PyObject *resultobj = 0;
11585 GCTAEventList *result = 0 ;
11586
11587 if (!PyArg_ParseTuple(args,(char *)":new_GCTAEventList")) SWIG_failgoto fail;
11588 {
11589 try {
11590 result = (GCTAEventList *)new GCTAEventList();
11591 }
11592 catch (const GException::out_of_range& e) {
11593 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
11594 }
11595 catch (const GExceptionHandler& e) {
11596 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11597 }
11598 catch (const std::exception& e) {
11599 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11600 }
11601 }
11602 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAEventList, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[10], (
(0x1 << 1) | 0x1) | 0)
;
11603 return resultobj;
11604fail:
11605 return NULL__null;
11606}
11607
11608
11609SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAEventList__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11610 PyObject *resultobj = 0;
11611 GCTAEventList *arg1 = 0 ;
11612 void *argp1 = 0 ;
11613 int res1 = 0 ;
11614 PyObject * obj0 = 0 ;
11615 GCTAEventList *result = 0 ;
11616
11617 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAEventList",&obj0)) SWIG_failgoto fail;
11618 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GCTAEventList, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[10]
, 0 | 0, 0)
;
11619 if (!SWIG_IsOK(res1)(res1 >= 0)) {
11620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAEventList" "', argument " "1"" of type '" "GCTAEventList const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAEventList" "', argument "
"1"" of type '" "GCTAEventList const &""'"); goto fail; }
while(0)
;
11621 }
11622 if (!argp1) {
11623 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAEventList" "', argument " "1"" of type '" "GCTAEventList const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAEventList" "', argument " "1"" of type '"
"GCTAEventList const &""'"); goto fail; } while(0)
;
11624 }
11625 arg1 = reinterpret_cast< GCTAEventList * >(argp1);
11626 {
11627 try {
11628 result = (GCTAEventList *)new GCTAEventList((GCTAEventList const &)*arg1);
11629 }
11630 catch (const GException::out_of_range& e) {
11631 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
11632 }
11633 catch (const GExceptionHandler& e) {
11634 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11635 }
11636 catch (const std::exception& e) {
11637 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11638 }
11639 }
11640 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAEventList, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[10], (
(0x1 << 1) | 0x1) | 0)
;
11641 return resultobj;
11642fail:
11643 return NULL__null;
11644}
11645
11646
11647SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAEventList(PyObject *self, PyObject *args) {
11648 int argc;
11649 PyObject *argv[2];
11650 int ii;
11651
11652 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
11653 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
11654 for (ii = 0; (ii < 1) && (ii < argc); ii++) {
11655 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
11656 }
11657 if (argc == 0) {
11658 return _wrap_new_GCTAEventList__SWIG_0(self, args);
11659 }
11660 if (argc == 1) {
11661 int _v;
11662 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GCTAEventList, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[10], 0, 0
)
;
11663 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
11664 if (_v) {
11665 return _wrap_new_GCTAEventList__SWIG_1(self, args);
11666 }
11667 }
11668
11669fail:
11670 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GCTAEventList'.\n"
11671 " Possible C/C++ prototypes are:\n"
11672 " GCTAEventList::GCTAEventList()\n"
11673 " GCTAEventList::GCTAEventList(GCTAEventList const &)\n");
11674 return 0;
11675}
11676
11677
11678SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GCTAEventList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11679 PyObject *resultobj = 0;
11680 GCTAEventList *arg1 = (GCTAEventList *) 0 ;
11681 void *argp1 = 0 ;
11682 int res1 = 0 ;
11683 PyObject * obj0 = 0 ;
11684
11685 if (!PyArg_ParseTuple(args,(char *)"O:delete_GCTAEventList",&obj0)) SWIG_failgoto fail;
11686 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventList, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[10]
, 0x1 | 0, 0)
;
11687 if (!SWIG_IsOK(res1)(res1 >= 0)) {
11688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GCTAEventList" "', argument " "1"" of type '" "GCTAEventList *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GCTAEventList" "', argument "
"1"" of type '" "GCTAEventList *""'"); goto fail; } while(0)
;
11689 }
11690 arg1 = reinterpret_cast< GCTAEventList * >(argp1);
11691 {
11692 try {
11693 delete arg1;
11694 }
11695 catch (const GException::out_of_range& e) {
11696 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
11697 }
11698 catch (const GExceptionHandler& e) {
11699 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11700 }
11701 catch (const std::exception& e) {
11702 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11703 }
11704 }
11705 resultobj = SWIG_Py_Void();
11706 return resultobj;
11707fail:
11708 return NULL__null;
11709}
11710
11711
11712SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventList_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11713 PyObject *resultobj = 0;
11714 GCTAEventList *arg1 = (GCTAEventList *) 0 ;
11715 void *argp1 = 0 ;
11716 int res1 = 0 ;
11717 PyObject * obj0 = 0 ;
11718
11719 if (!PyArg_ParseTuple(args,(char *)"O:GCTAEventList_clear",&obj0)) SWIG_failgoto fail;
11720 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventList, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[10]
, 0 | 0, 0)
;
11721 if (!SWIG_IsOK(res1)(res1 >= 0)) {
11722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventList_clear" "', argument " "1"" of type '" "GCTAEventList *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventList_clear" "', argument "
"1"" of type '" "GCTAEventList *""'"); goto fail; } while(0)
;
11723 }
11724 arg1 = reinterpret_cast< GCTAEventList * >(argp1);
11725 {
11726 try {
11727 (arg1)->clear();
11728 }
11729 catch (const GException::out_of_range& e) {
11730 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
11731 }
11732 catch (const GExceptionHandler& e) {
11733 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11734 }
11735 catch (const std::exception& e) {
11736 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11737 }
11738 }
11739 resultobj = SWIG_Py_Void();
11740 return resultobj;
11741fail:
11742 return NULL__null;
11743}
11744
11745
11746SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventList_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11747 PyObject *resultobj = 0;
11748 GCTAEventList *arg1 = (GCTAEventList *) 0 ;
11749 void *argp1 = 0 ;
11750 int res1 = 0 ;
11751 PyObject * obj0 = 0 ;
11752 GCTAEventList *result = 0 ;
11753
11754 if (!PyArg_ParseTuple(args,(char *)"O:GCTAEventList_clone",&obj0)) SWIG_failgoto fail;
11755 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventList, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[10]
, 0 | 0, 0)
;
11756 if (!SWIG_IsOK(res1)(res1 >= 0)) {
11757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventList_clone" "', argument " "1"" of type '" "GCTAEventList const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventList_clone" "', argument "
"1"" of type '" "GCTAEventList const *""'"); goto fail; } while
(0)
;
11758 }
11759 arg1 = reinterpret_cast< GCTAEventList * >(argp1);
11760 {
11761 try {
11762 result = (GCTAEventList *)((GCTAEventList const *)arg1)->clone();
11763 }
11764 catch (const GException::out_of_range& e) {
11765 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
11766 }
11767 catch (const GExceptionHandler& e) {
11768 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11769 }
11770 catch (const std::exception& e) {
11771 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11772 }
11773 }
11774 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAEventList, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[10], 0
| 0)
;
11775 return resultobj;
11776fail:
11777 return NULL__null;
11778}
11779
11780
11781SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventList_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11782 PyObject *resultobj = 0;
11783 GCTAEventList *arg1 = (GCTAEventList *) 0 ;
11784 void *argp1 = 0 ;
11785 int res1 = 0 ;
11786 PyObject * obj0 = 0 ;
11787 int result;
11788
11789 if (!PyArg_ParseTuple(args,(char *)"O:GCTAEventList_size",&obj0)) SWIG_failgoto fail;
11790 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventList, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[10]
, 0 | 0, 0)
;
11791 if (!SWIG_IsOK(res1)(res1 >= 0)) {
11792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventList_size" "', argument " "1"" of type '" "GCTAEventList const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventList_size" "', argument "
"1"" of type '" "GCTAEventList const *""'"); goto fail; } while
(0)
;
11793 }
11794 arg1 = reinterpret_cast< GCTAEventList * >(argp1);
11795 {
11796 try {
11797 result = (int)((GCTAEventList const *)arg1)->size();
11798 }
11799 catch (const GException::out_of_range& e) {
11800 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
11801 }
11802 catch (const GExceptionHandler& e) {
11803 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11804 }
11805 catch (const std::exception& e) {
11806 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11807 }
11808 }
11809 resultobj = SWIG_From_int(static_cast< int >(result));
11810 return resultobj;
11811fail:
11812 return NULL__null;
11813}
11814
11815
11816SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventList_load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11817 PyObject *resultobj = 0;
11818 GCTAEventList *arg1 = (GCTAEventList *) 0 ;
11819 std::string *arg2 = 0 ;
11820 void *argp1 = 0 ;
11821 int res1 = 0 ;
11822 int res2 = SWIG_OLDOBJ((0)) ;
11823 PyObject * obj0 = 0 ;
11824 PyObject * obj1 = 0 ;
11825
11826 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAEventList_load",&obj0,&obj1)) SWIG_failgoto fail;
11827 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventList, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[10]
, 0 | 0, 0)
;
11828 if (!SWIG_IsOK(res1)(res1 >= 0)) {
11829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventList_load" "', argument " "1"" of type '" "GCTAEventList *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventList_load" "', argument "
"1"" of type '" "GCTAEventList *""'"); goto fail; } while(0)
;
11830 }
11831 arg1 = reinterpret_cast< GCTAEventList * >(argp1);
11832 {
11833 std::string *ptr = (std::string *)0;
11834 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
11835 if (!SWIG_IsOK(res2)(res2 >= 0)) {
11836 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAEventList_load" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAEventList_load" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
11837 }
11838 if (!ptr) {
11839 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAEventList_load" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAEventList_load" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
11840 }
11841 arg2 = ptr;
11842 }
11843 {
11844 try {
11845 (arg1)->load((std::string const &)*arg2);
11846 }
11847 catch (const GException::out_of_range& e) {
11848 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
11849 }
11850 catch (const GExceptionHandler& e) {
11851 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11852 }
11853 catch (const std::exception& e) {
11854 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11855 }
11856 }
11857 resultobj = SWIG_Py_Void();
11858 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
11859 return resultobj;
11860fail:
11861 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
11862 return NULL__null;
11863}
11864
11865
11866SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventList_save__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11867 PyObject *resultobj = 0;
11868 GCTAEventList *arg1 = (GCTAEventList *) 0 ;
11869 std::string *arg2 = 0 ;
11870 bool *arg3 = 0 ;
11871 void *argp1 = 0 ;
11872 int res1 = 0 ;
11873 int res2 = SWIG_OLDOBJ((0)) ;
11874 bool temp3 ;
11875 bool val3 ;
11876 int ecode3 = 0 ;
11877 PyObject * obj0 = 0 ;
11878 PyObject * obj1 = 0 ;
11879 PyObject * obj2 = 0 ;
11880
11881 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAEventList_save",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
11882 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventList, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[10]
, 0 | 0, 0)
;
11883 if (!SWIG_IsOK(res1)(res1 >= 0)) {
11884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventList_save" "', argument " "1"" of type '" "GCTAEventList const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventList_save" "', argument "
"1"" of type '" "GCTAEventList const *""'"); goto fail; } while
(0)
;
11885 }
11886 arg1 = reinterpret_cast< GCTAEventList * >(argp1);
11887 {
11888 std::string *ptr = (std::string *)0;
11889 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
11890 if (!SWIG_IsOK(res2)(res2 >= 0)) {
11891 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAEventList_save" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAEventList_save" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
11892 }
11893 if (!ptr) {
11894 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAEventList_save" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAEventList_save" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
11895 }
11896 arg2 = ptr;
11897 }
11898 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11899 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
11900 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAEventList_save" "', argument " "3"" of type '" "bool""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAEventList_save" "', argument "
"3"" of type '" "bool""'"); goto fail; } while(0)
;
11901 }
11902 temp3 = static_cast< bool >(val3);
11903 arg3 = &temp3;
11904 {
11905 try {
11906 ((GCTAEventList const *)arg1)->save((std::string const &)*arg2,(bool const &)*arg3);
11907 }
11908 catch (const GException::out_of_range& e) {
11909 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
11910 }
11911 catch (const GExceptionHandler& e) {
11912 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11913 }
11914 catch (const std::exception& e) {
11915 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11916 }
11917 }
11918 resultobj = SWIG_Py_Void();
11919 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
11920 return resultobj;
11921fail:
11922 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
11923 return NULL__null;
11924}
11925
11926
11927SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventList_save__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11928 PyObject *resultobj = 0;
11929 GCTAEventList *arg1 = (GCTAEventList *) 0 ;
11930 std::string *arg2 = 0 ;
11931 void *argp1 = 0 ;
11932 int res1 = 0 ;
11933 int res2 = SWIG_OLDOBJ((0)) ;
11934 PyObject * obj0 = 0 ;
11935 PyObject * obj1 = 0 ;
11936
11937 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAEventList_save",&obj0,&obj1)) SWIG_failgoto fail;
11938 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventList, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[10]
, 0 | 0, 0)
;
11939 if (!SWIG_IsOK(res1)(res1 >= 0)) {
11940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventList_save" "', argument " "1"" of type '" "GCTAEventList const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventList_save" "', argument "
"1"" of type '" "GCTAEventList const *""'"); goto fail; } while
(0)
;
11941 }
11942 arg1 = reinterpret_cast< GCTAEventList * >(argp1);
11943 {
11944 std::string *ptr = (std::string *)0;
11945 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
11946 if (!SWIG_IsOK(res2)(res2 >= 0)) {
11947 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAEventList_save" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAEventList_save" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
11948 }
11949 if (!ptr) {
11950 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAEventList_save" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAEventList_save" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
11951 }
11952 arg2 = ptr;
11953 }
11954 {
11955 try {
11956 ((GCTAEventList const *)arg1)->save((std::string const &)*arg2);
11957 }
11958 catch (const GException::out_of_range& e) {
11959 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
11960 }
11961 catch (const GExceptionHandler& e) {
11962 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11963 }
11964 catch (const std::exception& e) {
11965 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11966 }
11967 }
11968 resultobj = SWIG_Py_Void();
11969 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
11970 return resultobj;
11971fail:
11972 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
11973 return NULL__null;
11974}
11975
11976
11977SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventList_save(PyObject *self, PyObject *args) {
11978 int argc;
11979 PyObject *argv[4];
11980 int ii;
11981
11982 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
11983 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
11984 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
11985 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
11986 }
11987 if (argc == 2) {
11988 int _v;
11989 void *vptr = 0;
11990 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAEventList, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[10
], 0, 0)
;
11991 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
11992 if (_v) {
11993 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
11994 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
11995 if (_v) {
11996 return _wrap_GCTAEventList_save__SWIG_1(self, args);
11997 }
11998 }
11999 }
12000 if (argc == 3) {
12001 int _v;
12002 void *vptr = 0;
12003 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAEventList, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[10
], 0, 0)
;
12004 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
12005 if (_v) {
12006 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
12007 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
12008 if (_v) {
12009 {
12010 int res = SWIG_AsVal_bool(argv[2], NULL__null);
12011 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
12012 }
12013 if (_v) {
12014 return _wrap_GCTAEventList_save__SWIG_0(self, args);
12015 }
12016 }
12017 }
12018 }
12019
12020fail:
12021 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAEventList_save'.\n"
12022 " Possible C/C++ prototypes are:\n"
12023 " GCTAEventList::save(std::string const &,bool const &) const\n"
12024 " GCTAEventList::save(std::string const &) const\n");
12025 return 0;
12026}
12027
12028
12029SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventList_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12030 PyObject *resultobj = 0;
12031 GCTAEventList *arg1 = (GCTAEventList *) 0 ;
12032 GFits *arg2 = 0 ;
12033 void *argp1 = 0 ;
12034 int res1 = 0 ;
12035 void *argp2 = 0 ;
12036 int res2 = 0 ;
12037 PyObject * obj0 = 0 ;
12038 PyObject * obj1 = 0 ;
12039
12040 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAEventList_read",&obj0,&obj1)) SWIG_failgoto fail;
12041 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventList, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[10]
, 0 | 0, 0)
;
12042 if (!SWIG_IsOK(res1)(res1 >= 0)) {
12043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventList_read" "', argument " "1"" of type '" "GCTAEventList *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventList_read" "', argument "
"1"" of type '" "GCTAEventList *""'"); goto fail; } while(0)
;
12044 }
12045 arg1 = reinterpret_cast< GCTAEventList * >(argp1);
12046 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GFits, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[40]
, 0 | 0, 0)
;
12047 if (!SWIG_IsOK(res2)(res2 >= 0)) {
12048 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAEventList_read" "', argument " "2"" of type '" "GFits const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAEventList_read" "', argument "
"2"" of type '" "GFits const &""'"); goto fail; } while(
0)
;
12049 }
12050 if (!argp2) {
12051 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAEventList_read" "', argument " "2"" of type '" "GFits const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAEventList_read" "', argument " "2"" of type '"
"GFits const &""'"); goto fail; } while(0)
;
12052 }
12053 arg2 = reinterpret_cast< GFits * >(argp2);
12054 {
12055 try {
12056 (arg1)->read((GFits const &)*arg2);
12057 }
12058 catch (const GException::out_of_range& e) {
12059 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
12060 }
12061 catch (const GExceptionHandler& e) {
12062 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12063 }
12064 catch (const std::exception& e) {
12065 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12066 }
12067 }
12068 resultobj = SWIG_Py_Void();
12069 return resultobj;
12070fail:
12071 return NULL__null;
12072}
12073
12074
12075SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventList_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12076 PyObject *resultobj = 0;
12077 GCTAEventList *arg1 = (GCTAEventList *) 0 ;
12078 GFits *arg2 = 0 ;
12079 void *argp1 = 0 ;
12080 int res1 = 0 ;
12081 void *argp2 = 0 ;
12082 int res2 = 0 ;
12083 PyObject * obj0 = 0 ;
12084 PyObject * obj1 = 0 ;
12085
12086 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAEventList_write",&obj0,&obj1)) SWIG_failgoto fail;
12087 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventList, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[10]
, 0 | 0, 0)
;
12088 if (!SWIG_IsOK(res1)(res1 >= 0)) {
12089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventList_write" "', argument " "1"" of type '" "GCTAEventList const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventList_write" "', argument "
"1"" of type '" "GCTAEventList const *""'"); goto fail; } while
(0)
;
12090 }
12091 arg1 = reinterpret_cast< GCTAEventList * >(argp1);
12092 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GFits, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[40]
, 0, 0)
;
12093 if (!SWIG_IsOK(res2)(res2 >= 0)) {
12094 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAEventList_write" "', argument " "2"" of type '" "GFits &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAEventList_write" "', argument "
"2"" of type '" "GFits &""'"); goto fail; } while(0)
;
12095 }
12096 if (!argp2) {
12097 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAEventList_write" "', argument " "2"" of type '" "GFits &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAEventList_write" "', argument " "2"" of type '"
"GFits &""'"); goto fail; } while(0)
;
12098 }
12099 arg2 = reinterpret_cast< GFits * >(argp2);
12100 {
12101 try {
12102 ((GCTAEventList const *)arg1)->write(*arg2);
12103 }
12104 catch (const GException::out_of_range& e) {
12105 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
12106 }
12107 catch (const GExceptionHandler& e) {
12108 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12109 }
12110 catch (const std::exception& e) {
12111 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12112 }
12113 }
12114 resultobj = SWIG_Py_Void();
12115 return resultobj;
12116fail:
12117 return NULL__null;
12118}
12119
12120
12121SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventList_number(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12122 PyObject *resultobj = 0;
12123 GCTAEventList *arg1 = (GCTAEventList *) 0 ;
12124 void *argp1 = 0 ;
12125 int res1 = 0 ;
12126 PyObject * obj0 = 0 ;
12127 int result;
12128
12129 if (!PyArg_ParseTuple(args,(char *)"O:GCTAEventList_number",&obj0)) SWIG_failgoto fail;
12130 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventList, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[10]
, 0 | 0, 0)
;
12131 if (!SWIG_IsOK(res1)(res1 >= 0)) {
12132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventList_number" "', argument " "1"" of type '" "GCTAEventList const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventList_number" "', argument "
"1"" of type '" "GCTAEventList const *""'"); goto fail; } while
(0)
;
12133 }
12134 arg1 = reinterpret_cast< GCTAEventList * >(argp1);
12135 {
12136 try {
12137 result = (int)((GCTAEventList const *)arg1)->number();
12138 }
12139 catch (const GException::out_of_range& e) {
12140 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
12141 }
12142 catch (const GExceptionHandler& e) {
12143 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12144 }
12145 catch (const std::exception& e) {
12146 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12147 }
12148 }
12149 resultobj = SWIG_From_int(static_cast< int >(result));
12150 return resultobj;
12151fail:
12152 return NULL__null;
12153}
12154
12155
12156SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventList_roi__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12157 PyObject *resultobj = 0;
12158 GCTAEventList *arg1 = (GCTAEventList *) 0 ;
12159 GRoi *arg2 = 0 ;
12160 void *argp1 = 0 ;
12161 int res1 = 0 ;
12162 void *argp2 = 0 ;
12163 int res2 = 0 ;
12164 PyObject * obj0 = 0 ;
12165 PyObject * obj1 = 0 ;
12166
12167 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAEventList_roi",&obj0,&obj1)) SWIG_failgoto fail;
12168 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventList, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[10]
, 0 | 0, 0)
;
12169 if (!SWIG_IsOK(res1)(res1 >= 0)) {
12170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventList_roi" "', argument " "1"" of type '" "GCTAEventList *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventList_roi" "', argument "
"1"" of type '" "GCTAEventList *""'"); goto fail; } while(0)
;
12171 }
12172 arg1 = reinterpret_cast< GCTAEventList * >(argp1);
12173 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GRoi, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[59]
, 0 | 0, 0)
;
12174 if (!SWIG_IsOK(res2)(res2 >= 0)) {
12175 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAEventList_roi" "', argument " "2"" of type '" "GRoi const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAEventList_roi" "', argument "
"2"" of type '" "GRoi const &""'"); goto fail; } while(0
)
;
12176 }
12177 if (!argp2) {
12178 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAEventList_roi" "', argument " "2"" of type '" "GRoi const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAEventList_roi" "', argument " "2"" of type '"
"GRoi const &""'"); goto fail; } while(0)
;
12179 }
12180 arg2 = reinterpret_cast< GRoi * >(argp2);
12181 {
12182 try {
12183 (arg1)->roi((GRoi const &)*arg2);
12184 }
12185 catch (const GException::out_of_range& e) {
12186 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
12187 }
12188 catch (const GExceptionHandler& e) {
12189 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12190 }
12191 catch (const std::exception& e) {
12192 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12193 }
12194 }
12195 resultobj = SWIG_Py_Void();
12196 return resultobj;
12197fail:
12198 return NULL__null;
12199}
12200
12201
12202SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventList_roi__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12203 PyObject *resultobj = 0;
12204 GCTAEventList *arg1 = (GCTAEventList *) 0 ;
12205 void *argp1 = 0 ;
12206 int res1 = 0 ;
12207 PyObject * obj0 = 0 ;
12208 GCTARoi *result = 0 ;
12209
12210 if (!PyArg_ParseTuple(args,(char *)"O:GCTAEventList_roi",&obj0)) SWIG_failgoto fail;
12211 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventList, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[10]
, 0 | 0, 0)
;
12212 if (!SWIG_IsOK(res1)(res1 >= 0)) {
12213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventList_roi" "', argument " "1"" of type '" "GCTAEventList const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventList_roi" "', argument "
"1"" of type '" "GCTAEventList const *""'"); goto fail; } while
(0)
;
12214 }
12215 arg1 = reinterpret_cast< GCTAEventList * >(argp1);
12216 {
12217 try {
12218 result = (GCTARoi *) &((GCTAEventList const *)arg1)->roi();
12219 }
12220 catch (const GException::out_of_range& e) {
12221 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
12222 }
12223 catch (const GExceptionHandler& e) {
12224 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12225 }
12226 catch (const std::exception& e) {
12227 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12228 }
12229 }
12230 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTARoi, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[30], 0
| 0)
;
12231 return resultobj;
12232fail:
12233 return NULL__null;
12234}
12235
12236
12237SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventList_roi(PyObject *self, PyObject *args) {
12238 int argc;
12239 PyObject *argv[3];
12240 int ii;
12241
12242 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
12243 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
12244 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
12245 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
12246 }
12247 if (argc == 1) {
12248 int _v;
12249 void *vptr = 0;
12250 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAEventList, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[10
], 0, 0)
;
12251 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
12252 if (_v) {
12253 return _wrap_GCTAEventList_roi__SWIG_1(self, args);
12254 }
12255 }
12256 if (argc == 2) {
12257 int _v;
12258 void *vptr = 0;
12259 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAEventList, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[10
], 0, 0)
;
12260 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
12261 if (_v) {
12262 int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_GRoi, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], 0, swig_types[59], 0, 0
)
;
12263 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
12264 if (_v) {
12265 return _wrap_GCTAEventList_roi__SWIG_0(self, args);
12266 }
12267 }
12268 }
12269
12270fail:
12271 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAEventList_roi'.\n"
12272 " Possible C/C++ prototypes are:\n"
12273 " GCTAEventList::roi(GRoi const &)\n"
12274 " GCTAEventList::roi() const\n");
12275 return 0;
12276}
12277
12278
12279SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventList_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12280 PyObject *resultobj = 0;
12281 GCTAEventList *arg1 = (GCTAEventList *) 0 ;
12282 GCTAEventAtom *arg2 = 0 ;
12283 void *argp1 = 0 ;
12284 int res1 = 0 ;
12285 void *argp2 = 0 ;
12286 int res2 = 0 ;
12287 PyObject * obj0 = 0 ;
12288 PyObject * obj1 = 0 ;
12289
12290 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAEventList_append",&obj0,&obj1)) SWIG_failgoto fail;
12291 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventList, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[10]
, 0 | 0, 0)
;
12292 if (!SWIG_IsOK(res1)(res1 >= 0)) {
12293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventList_append" "', argument " "1"" of type '" "GCTAEventList *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventList_append" "', argument "
"1"" of type '" "GCTAEventList *""'"); goto fail; } while(0)
;
12294 }
12295 arg1 = reinterpret_cast< GCTAEventList * >(argp1);
12296 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GCTAEventAtom, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[7],
0 | 0, 0)
;
12297 if (!SWIG_IsOK(res2)(res2 >= 0)) {
12298 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAEventList_append" "', argument " "2"" of type '" "GCTAEventAtom const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAEventList_append" "', argument "
"2"" of type '" "GCTAEventAtom const &""'"); goto fail; }
while(0)
;
12299 }
12300 if (!argp2) {
12301 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAEventList_append" "', argument " "2"" of type '" "GCTAEventAtom const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAEventList_append" "', argument " "2"" of type '"
"GCTAEventAtom const &""'"); goto fail; } while(0)
;
12302 }
12303 arg2 = reinterpret_cast< GCTAEventAtom * >(argp2);
12304 {
12305 try {
12306 (arg1)->append((GCTAEventAtom const &)*arg2);
12307 }
12308 catch (const GException::out_of_range& e) {
12309 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
12310 }
12311 catch (const GExceptionHandler& e) {
12312 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12313 }
12314 catch (const std::exception& e) {
12315 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12316 }
12317 }
12318 resultobj = SWIG_Py_Void();
12319 return resultobj;
12320fail:
12321 return NULL__null;
12322}
12323
12324
12325SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventList_reserve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12326 PyObject *resultobj = 0;
12327 GCTAEventList *arg1 = (GCTAEventList *) 0 ;
12328 int *arg2 = 0 ;
12329 void *argp1 = 0 ;
12330 int res1 = 0 ;
12331 int temp2 ;
12332 int val2 ;
12333 int ecode2 = 0 ;
12334 PyObject * obj0 = 0 ;
12335 PyObject * obj1 = 0 ;
12336
12337 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAEventList_reserve",&obj0,&obj1)) SWIG_failgoto fail;
12338 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventList, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[10]
, 0 | 0, 0)
;
12339 if (!SWIG_IsOK(res1)(res1 >= 0)) {
12340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventList_reserve" "', argument " "1"" of type '" "GCTAEventList *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventList_reserve" "', argument "
"1"" of type '" "GCTAEventList *""'"); goto fail; } while(0)
;
12341 }
12342 arg1 = reinterpret_cast< GCTAEventList * >(argp1);
12343 ecode2 = SWIG_AsVal_int(obj1, &val2);
12344 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
12345 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAEventList_reserve" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAEventList_reserve"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
12346 }
12347 temp2 = static_cast< int >(val2);
12348 arg2 = &temp2;
12349 {
12350 try {
12351 (arg1)->reserve((int const &)*arg2);
12352 }
12353 catch (const GException::out_of_range& e) {
12354 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
12355 }
12356 catch (const GExceptionHandler& e) {
12357 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12358 }
12359 catch (const std::exception& e) {
12360 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12361 }
12362 }
12363 resultobj = SWIG_Py_Void();
12364 return resultobj;
12365fail:
12366 return NULL__null;
12367}
12368
12369
12370SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventList_irf_cache__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12371 PyObject *resultobj = 0;
12372 GCTAEventList *arg1 = (GCTAEventList *) 0 ;
12373 std::string *arg2 = 0 ;
12374 int *arg3 = 0 ;
12375 void *argp1 = 0 ;
12376 int res1 = 0 ;
12377 int res2 = SWIG_OLDOBJ((0)) ;
12378 int temp3 ;
12379 int val3 ;
12380 int ecode3 = 0 ;
12381 PyObject * obj0 = 0 ;
12382 PyObject * obj1 = 0 ;
12383 PyObject * obj2 = 0 ;
12384 double result;
12385
12386 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAEventList_irf_cache",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
12387 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventList, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[10]
, 0 | 0, 0)
;
12388 if (!SWIG_IsOK(res1)(res1 >= 0)) {
12389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventList_irf_cache" "', argument " "1"" of type '" "GCTAEventList const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventList_irf_cache" "', argument "
"1"" of type '" "GCTAEventList const *""'"); goto fail; } while
(0)
;
12390 }
12391 arg1 = reinterpret_cast< GCTAEventList * >(argp1);
12392 {
12393 std::string *ptr = (std::string *)0;
12394 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
12395 if (!SWIG_IsOK(res2)(res2 >= 0)) {
12396 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAEventList_irf_cache" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAEventList_irf_cache" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
12397 }
12398 if (!ptr) {
12399 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAEventList_irf_cache" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAEventList_irf_cache" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
12400 }
12401 arg2 = ptr;
12402 }
12403 ecode3 = SWIG_AsVal_int(obj2, &val3);
12404 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
12405 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAEventList_irf_cache" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAEventList_irf_cache"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
12406 }
12407 temp3 = static_cast< int >(val3);
12408 arg3 = &temp3;
12409 {
12410 try {
12411 result = (double)((GCTAEventList const *)arg1)->irf_cache((std::string const &)*arg2,(int const &)*arg3);
12412 }
12413 catch (const GException::out_of_range& e) {
12414 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
12415 }
12416 catch (const GExceptionHandler& e) {
12417 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12418 }
12419 catch (const std::exception& e) {
12420 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12421 }
12422 }
12423 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
12424 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
12425 return resultobj;
12426fail:
12427 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
12428 return NULL__null;
12429}
12430
12431
12432SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventList_irf_cache__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12433 PyObject *resultobj = 0;
12434 GCTAEventList *arg1 = (GCTAEventList *) 0 ;
12435 std::string *arg2 = 0 ;
12436 int *arg3 = 0 ;
12437 double *arg4 = 0 ;
12438 void *argp1 = 0 ;
12439 int res1 = 0 ;
12440 int res2 = SWIG_OLDOBJ((0)) ;
12441 int temp3 ;
12442 int val3 ;
12443 int ecode3 = 0 ;
12444 double temp4 ;
12445 double val4 ;
12446 int ecode4 = 0 ;
12447 PyObject * obj0 = 0 ;
12448 PyObject * obj1 = 0 ;
12449 PyObject * obj2 = 0 ;
12450 PyObject * obj3 = 0 ;
12451
12452 if (!PyArg_ParseTuple(args,(char *)"OOOO:GCTAEventList_irf_cache",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
12453 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventList, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[10]
, 0 | 0, 0)
;
12454 if (!SWIG_IsOK(res1)(res1 >= 0)) {
12455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventList_irf_cache" "', argument " "1"" of type '" "GCTAEventList const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventList_irf_cache" "', argument "
"1"" of type '" "GCTAEventList const *""'"); goto fail; } while
(0)
;
12456 }
12457 arg1 = reinterpret_cast< GCTAEventList * >(argp1);
12458 {
12459 std::string *ptr = (std::string *)0;
12460 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
12461 if (!SWIG_IsOK(res2)(res2 >= 0)) {
12462 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAEventList_irf_cache" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAEventList_irf_cache" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
12463 }
12464 if (!ptr) {
12465 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAEventList_irf_cache" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAEventList_irf_cache" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
12466 }
12467 arg2 = ptr;
12468 }
12469 ecode3 = SWIG_AsVal_int(obj2, &val3);
12470 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
12471 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAEventList_irf_cache" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAEventList_irf_cache"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
12472 }
12473 temp3 = static_cast< int >(val3);
12474 arg3 = &temp3;
12475 ecode4 = SWIG_AsVal_double(obj3, &val4);
12476 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
12477 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAEventList_irf_cache" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAEventList_irf_cache"
"', argument " "4"" of type '" "double""'"); goto fail; } while
(0)
;
12478 }
12479 temp4 = static_cast< double >(val4);
12480 arg4 = &temp4;
12481 {
12482 try {
12483 ((GCTAEventList const *)arg1)->irf_cache((std::string const &)*arg2,(int const &)*arg3,(double const &)*arg4);
12484 }
12485 catch (const GException::out_of_range& e) {
12486 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
12487 }
12488 catch (const GExceptionHandler& e) {
12489 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12490 }
12491 catch (const std::exception& e) {
12492 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12493 }
12494 }
12495 resultobj = SWIG_Py_Void();
12496 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
12497 return resultobj;
12498fail:
12499 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
12500 return NULL__null;
12501}
12502
12503
12504SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventList_irf_cache(PyObject *self, PyObject *args) {
12505 int argc;
12506 PyObject *argv[5];
12507 int ii;
12508
12509 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
12510 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
12511 for (ii = 0; (ii < 4) && (ii < argc); ii++) {
12512 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
12513 }
12514 if (argc == 3) {
12515 int _v;
12516 void *vptr = 0;
12517 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAEventList, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[10
], 0, 0)
;
12518 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
12519 if (_v) {
12520 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
12521 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
12522 if (_v) {
12523 {
12524 int res = SWIG_AsVal_int(argv[2], NULL__null);
12525 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
12526 }
12527 if (_v) {
12528 return _wrap_GCTAEventList_irf_cache__SWIG_0(self, args);
12529 }
12530 }
12531 }
12532 }
12533 if (argc == 4) {
12534 int _v;
12535 void *vptr = 0;
12536 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAEventList, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[10
], 0, 0)
;
12537 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
12538 if (_v) {
12539 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
12540 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
12541 if (_v) {
12542 {
12543 int res = SWIG_AsVal_int(argv[2], NULL__null);
12544 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
12545 }
12546 if (_v) {
12547 {
12548 int res = SWIG_AsVal_double(argv[3], NULL__null);
12549 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
12550 }
12551 if (_v) {
12552 return _wrap_GCTAEventList_irf_cache__SWIG_1(self, args);
12553 }
12554 }
12555 }
12556 }
12557 }
12558
12559fail:
12560 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAEventList_irf_cache'.\n"
12561 " Possible C/C++ prototypes are:\n"
12562 " GCTAEventList::irf_cache(std::string const &,int const &) const\n"
12563 " GCTAEventList::irf_cache(std::string const &,int const &,double const &) const\n");
12564 return 0;
12565}
12566
12567
12568SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventList_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12569 PyObject *resultobj = 0;
12570 GCTAEventList *arg1 = (GCTAEventList *) 0 ;
12571 void *argp1 = 0 ;
12572 int res1 = 0 ;
12573 PyObject * obj0 = 0 ;
12574 GCTAEventList result;
12575
12576 if (!PyArg_ParseTuple(args,(char *)"O:GCTAEventList_copy",&obj0)) SWIG_failgoto fail;
12577 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventList, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[10]
, 0 | 0, 0)
;
12578 if (!SWIG_IsOK(res1)(res1 >= 0)) {
12579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventList_copy" "', argument " "1"" of type '" "GCTAEventList *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventList_copy" "', argument "
"1"" of type '" "GCTAEventList *""'"); goto fail; } while(0)
;
12580 }
12581 arg1 = reinterpret_cast< GCTAEventList * >(argp1);
12582 {
12583 try {
12584 result = GCTAEventList_copy(arg1);
12585 }
12586 catch (const GException::out_of_range& e) {
12587 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
12588 }
12589 catch (const GExceptionHandler& e) {
12590 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12591 }
12592 catch (const std::exception& e) {
12593 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12594 }
12595 }
12596 resultobj = SWIG_NewPointerObj((new GCTAEventList(static_cast< const GCTAEventList& >(result))), SWIGTYPE_p_GCTAEventList, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GCTAEventList(static_cast
< const GCTAEventList& >(result))), swig_types[10],
0x1 | 0)
;
12597 return resultobj;
12598fail:
12599 return NULL__null;
12600}
12601
12602
12603SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventList___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12604 PyObject *resultobj = 0;
12605 GCTAEventList *arg1 = (GCTAEventList *) 0 ;
12606 int arg2 ;
12607 void *argp1 = 0 ;
12608 int res1 = 0 ;
12609 int val2 ;
12610 int ecode2 = 0 ;
12611 PyObject * obj0 = 0 ;
12612 PyObject * obj1 = 0 ;
12613 GCTAEventAtom *result = 0 ;
12614
12615 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAEventList___getitem__",&obj0,&obj1)) SWIG_failgoto fail;
12616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventList, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[10]
, 0 | 0, 0)
;
12617 if (!SWIG_IsOK(res1)(res1 >= 0)) {
12618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventList___getitem__" "', argument " "1"" of type '" "GCTAEventList *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventList___getitem__"
"', argument " "1"" of type '" "GCTAEventList *""'"); goto fail
; } while(0)
;
12619 }
12620 arg1 = reinterpret_cast< GCTAEventList * >(argp1);
12621 ecode2 = SWIG_AsVal_int(obj1, &val2);
12622 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
12623 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAEventList___getitem__" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAEventList___getitem__"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
12624 }
12625 arg2 = static_cast< int >(val2);
12626 {
12627 try {
12628 result = (GCTAEventAtom *)GCTAEventList___getitem__(arg1,arg2);
12629 }
12630 catch (const GException::out_of_range& e) {
12631 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
12632 }
12633 catch (const GExceptionHandler& e) {
12634 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12635 }
12636 catch (const std::exception& e) {
12637 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12638 }
12639 }
12640 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAEventAtom, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[7], 0 |
0)
;
12641 return resultobj;
12642fail:
12643 return NULL__null;
12644}
12645
12646
12647SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventList___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12648 PyObject *resultobj = 0;
12649 GCTAEventList *arg1 = (GCTAEventList *) 0 ;
12650 int arg2 ;
12651 GCTAEventAtom *arg3 = 0 ;
12652 void *argp1 = 0 ;
12653 int res1 = 0 ;
12654 int val2 ;
12655 int ecode2 = 0 ;
12656 void *argp3 = 0 ;
12657 int res3 = 0 ;
12658 PyObject * obj0 = 0 ;
12659 PyObject * obj1 = 0 ;
12660 PyObject * obj2 = 0 ;
12661
12662 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAEventList___setitem__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
12663 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventList, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[10]
, 0 | 0, 0)
;
12664 if (!SWIG_IsOK(res1)(res1 >= 0)) {
12665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventList___setitem__" "', argument " "1"" of type '" "GCTAEventList *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventList___setitem__"
"', argument " "1"" of type '" "GCTAEventList *""'"); goto fail
; } while(0)
;
12666 }
12667 arg1 = reinterpret_cast< GCTAEventList * >(argp1);
12668 ecode2 = SWIG_AsVal_int(obj1, &val2);
12669 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
12670 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAEventList___setitem__" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAEventList___setitem__"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
12671 }
12672 arg2 = static_cast< int >(val2);
12673 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GCTAEventAtom, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[7],
0 | 0, 0)
;
12674 if (!SWIG_IsOK(res3)(res3 >= 0)) {
12675 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GCTAEventList___setitem__" "', argument " "3"" of type '" "GCTAEventAtom const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GCTAEventList___setitem__"
"', argument " "3"" of type '" "GCTAEventAtom const &""'"
); goto fail; } while(0)
;
12676 }
12677 if (!argp3) {
12678 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAEventList___setitem__" "', argument " "3"" of type '" "GCTAEventAtom const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAEventList___setitem__" "', argument " "3"
" of type '" "GCTAEventAtom const &""'"); goto fail; } while
(0)
;
12679 }
12680 arg3 = reinterpret_cast< GCTAEventAtom * >(argp3);
12681 {
12682 try {
12683 GCTAEventList___setitem__(arg1,arg2,(GCTAEventAtom const &)*arg3);
12684 }
12685 catch (const GException::out_of_range& e) {
12686 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
12687 }
12688 catch (const GExceptionHandler& e) {
12689 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12690 }
12691 catch (const std::exception& e) {
12692 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12693 }
12694 }
12695 resultobj = SWIG_Py_Void();
12696 return resultobj;
12697fail:
12698 return NULL__null;
12699}
12700
12701
12702SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GCTAEventList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12703 PyObject *obj;
12704 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
12705 SWIG_TypeNewClientData(SWIGTYPE_p_GCTAEventListswig_types[10], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
12706 return SWIG_Py_Void();
12707}
12708
12709SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAEventBin__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12710 PyObject *resultobj = 0;
12711 GCTAEventBin *result = 0 ;
12712
12713 if (!PyArg_ParseTuple(args,(char *)":new_GCTAEventBin")) SWIG_failgoto fail;
12714 {
12715 try {
12716 result = (GCTAEventBin *)new GCTAEventBin();
12717 }
12718 catch (const GException::out_of_range& e) {
12719 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
12720 }
12721 catch (const GExceptionHandler& e) {
12722 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12723 }
12724 catch (const std::exception& e) {
12725 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12726 }
12727 }
12728 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAEventBin, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[8], ((
0x1 << 1) | 0x1) | 0)
;
12729 return resultobj;
12730fail:
12731 return NULL__null;
12732}
12733
12734
12735SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAEventBin__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12736 PyObject *resultobj = 0;
12737 GCTAEventBin *arg1 = 0 ;
12738 void *argp1 = 0 ;
12739 int res1 = 0 ;
12740 PyObject * obj0 = 0 ;
12741 GCTAEventBin *result = 0 ;
12742
12743 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAEventBin",&obj0)) SWIG_failgoto fail;
12744 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GCTAEventBin, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[8],
0 | 0, 0)
;
12745 if (!SWIG_IsOK(res1)(res1 >= 0)) {
12746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAEventBin" "', argument " "1"" of type '" "GCTAEventBin const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAEventBin" "', argument "
"1"" of type '" "GCTAEventBin const &""'"); goto fail; }
while(0)
;
12747 }
12748 if (!argp1) {
12749 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAEventBin" "', argument " "1"" of type '" "GCTAEventBin const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAEventBin" "', argument " "1"" of type '"
"GCTAEventBin const &""'"); goto fail; } while(0)
;
12750 }
12751 arg1 = reinterpret_cast< GCTAEventBin * >(argp1);
12752 {
12753 try {
12754 result = (GCTAEventBin *)new GCTAEventBin((GCTAEventBin const &)*arg1);
12755 }
12756 catch (const GException::out_of_range& e) {
12757 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
12758 }
12759 catch (const GExceptionHandler& e) {
12760 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12761 }
12762 catch (const std::exception& e) {
12763 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12764 }
12765 }
12766 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAEventBin, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[8], ((
0x1 << 1) | 0x1) | 0)
;
12767 return resultobj;
12768fail:
12769 return NULL__null;
12770}
12771
12772
12773SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAEventBin(PyObject *self, PyObject *args) {
12774 int argc;
12775 PyObject *argv[2];
12776 int ii;
12777
12778 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
12779 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
12780 for (ii = 0; (ii < 1) && (ii < argc); ii++) {
12781 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
12782 }
12783 if (argc == 0) {
12784 return _wrap_new_GCTAEventBin__SWIG_0(self, args);
12785 }
12786 if (argc == 1) {
12787 int _v;
12788 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GCTAEventBin, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[8], 0, 0);
12789 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
12790 if (_v) {
12791 return _wrap_new_GCTAEventBin__SWIG_1(self, args);
12792 }
12793 }
12794
12795fail:
12796 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GCTAEventBin'.\n"
12797 " Possible C/C++ prototypes are:\n"
12798 " GCTAEventBin::GCTAEventBin()\n"
12799 " GCTAEventBin::GCTAEventBin(GCTAEventBin const &)\n");
12800 return 0;
12801}
12802
12803
12804SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GCTAEventBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12805 PyObject *resultobj = 0;
12806 GCTAEventBin *arg1 = (GCTAEventBin *) 0 ;
12807 void *argp1 = 0 ;
12808 int res1 = 0 ;
12809 PyObject * obj0 = 0 ;
12810
12811 if (!PyArg_ParseTuple(args,(char *)"O:delete_GCTAEventBin",&obj0)) SWIG_failgoto fail;
12812 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventBin, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[8],
0x1 | 0, 0)
;
12813 if (!SWIG_IsOK(res1)(res1 >= 0)) {
12814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GCTAEventBin" "', argument " "1"" of type '" "GCTAEventBin *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GCTAEventBin" "', argument "
"1"" of type '" "GCTAEventBin *""'"); goto fail; } while(0)
;
12815 }
12816 arg1 = reinterpret_cast< GCTAEventBin * >(argp1);
12817 {
12818 try {
12819 delete arg1;
12820 }
12821 catch (const GException::out_of_range& e) {
12822 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
12823 }
12824 catch (const GExceptionHandler& e) {
12825 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12826 }
12827 catch (const std::exception& e) {
12828 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12829 }
12830 }
12831 resultobj = SWIG_Py_Void();
12832 return resultobj;
12833fail:
12834 return NULL__null;
12835}
12836
12837
12838SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventBin_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12839 PyObject *resultobj = 0;
12840 GCTAEventBin *arg1 = (GCTAEventBin *) 0 ;
12841 void *argp1 = 0 ;
12842 int res1 = 0 ;
12843 PyObject * obj0 = 0 ;
12844
12845 if (!PyArg_ParseTuple(args,(char *)"O:GCTAEventBin_clear",&obj0)) SWIG_failgoto fail;
12846 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventBin, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[8],
0 | 0, 0)
;
12847 if (!SWIG_IsOK(res1)(res1 >= 0)) {
12848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventBin_clear" "', argument " "1"" of type '" "GCTAEventBin *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventBin_clear" "', argument "
"1"" of type '" "GCTAEventBin *""'"); goto fail; } while(0)
;
12849 }
12850 arg1 = reinterpret_cast< GCTAEventBin * >(argp1);
12851 {
12852 try {
12853 (arg1)->clear();
12854 }
12855 catch (const GException::out_of_range& e) {
12856 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
12857 }
12858 catch (const GExceptionHandler& e) {
12859 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12860 }
12861 catch (const std::exception& e) {
12862 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12863 }
12864 }
12865 resultobj = SWIG_Py_Void();
12866 return resultobj;
12867fail:
12868 return NULL__null;
12869}
12870
12871
12872SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventBin_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12873 PyObject *resultobj = 0;
12874 GCTAEventBin *arg1 = (GCTAEventBin *) 0 ;
12875 void *argp1 = 0 ;
12876 int res1 = 0 ;
12877 PyObject * obj0 = 0 ;
12878 GCTAEventBin *result = 0 ;
12879
12880 if (!PyArg_ParseTuple(args,(char *)"O:GCTAEventBin_clone",&obj0)) SWIG_failgoto fail;
12881 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventBin, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[8],
0 | 0, 0)
;
12882 if (!SWIG_IsOK(res1)(res1 >= 0)) {
12883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventBin_clone" "', argument " "1"" of type '" "GCTAEventBin const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventBin_clone" "', argument "
"1"" of type '" "GCTAEventBin const *""'"); goto fail; } while
(0)
;
12884 }
12885 arg1 = reinterpret_cast< GCTAEventBin * >(argp1);
12886 {
12887 try {
12888 result = (GCTAEventBin *)((GCTAEventBin const *)arg1)->clone();
12889 }
12890 catch (const GException::out_of_range& e) {
12891 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
12892 }
12893 catch (const GExceptionHandler& e) {
12894 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12895 }
12896 catch (const std::exception& e) {
12897 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12898 }
12899 }
12900 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAEventBin, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[8], 0 |
0)
;
12901 return resultobj;
12902fail:
12903 return NULL__null;
12904}
12905
12906
12907SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventBin_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12908 PyObject *resultobj = 0;
12909 GCTAEventBin *arg1 = (GCTAEventBin *) 0 ;
12910 void *argp1 = 0 ;
12911 int res1 = 0 ;
12912 PyObject * obj0 = 0 ;
12913 double result;
12914
12915 if (!PyArg_ParseTuple(args,(char *)"O:GCTAEventBin_size",&obj0)) SWIG_failgoto fail;
12916 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventBin, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[8],
0 | 0, 0)
;
12917 if (!SWIG_IsOK(res1)(res1 >= 0)) {
12918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventBin_size" "', argument " "1"" of type '" "GCTAEventBin const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventBin_size" "', argument "
"1"" of type '" "GCTAEventBin const *""'"); goto fail; } while
(0)
;
12919 }
12920 arg1 = reinterpret_cast< GCTAEventBin * >(argp1);
12921 {
12922 try {
12923 result = (double)((GCTAEventBin const *)arg1)->size();
12924 }
12925 catch (const GException::out_of_range& e) {
12926 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
12927 }
12928 catch (const GExceptionHandler& e) {
12929 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12930 }
12931 catch (const std::exception& e) {
12932 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12933 }
12934 }
12935 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
12936 return resultobj;
12937fail:
12938 return NULL__null;
12939}
12940
12941
12942SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventBin_dir(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12943 PyObject *resultobj = 0;
12944 GCTAEventBin *arg1 = (GCTAEventBin *) 0 ;
12945 void *argp1 = 0 ;
12946 int res1 = 0 ;
12947 PyObject * obj0 = 0 ;
12948 GCTAInstDir *result = 0 ;
12949
12950 if (!PyArg_ParseTuple(args,(char *)"O:GCTAEventBin_dir",&obj0)) SWIG_failgoto fail;
12951 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventBin, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[8],
0 | 0, 0)
;
12952 if (!SWIG_IsOK(res1)(res1 >= 0)) {
12953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventBin_dir" "', argument " "1"" of type '" "GCTAEventBin const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventBin_dir" "', argument "
"1"" of type '" "GCTAEventBin const *""'"); goto fail; } while
(0)
;
12954 }
12955 arg1 = reinterpret_cast< GCTAEventBin * >(argp1);
12956 {
12957 try {
12958 result = (GCTAInstDir *) &((GCTAEventBin const *)arg1)->dir();
12959 }
12960 catch (const GException::out_of_range& e) {
12961 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
12962 }
12963 catch (const GExceptionHandler& e) {
12964 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12965 }
12966 catch (const std::exception& e) {
12967 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12968 }
12969 }
12970 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAInstDir, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], 0
| 0)
;
12971 return resultobj;
12972fail:
12973 return NULL__null;
12974}
12975
12976
12977SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventBin_energy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12978 PyObject *resultobj = 0;
12979 GCTAEventBin *arg1 = (GCTAEventBin *) 0 ;
12980 void *argp1 = 0 ;
12981 int res1 = 0 ;
12982 PyObject * obj0 = 0 ;
12983 GEnergy *result = 0 ;
12984
12985 if (!PyArg_ParseTuple(args,(char *)"O:GCTAEventBin_energy",&obj0)) SWIG_failgoto fail;
12986 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventBin, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[8],
0 | 0, 0)
;
12987 if (!SWIG_IsOK(res1)(res1 >= 0)) {
12988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventBin_energy" "', argument " "1"" of type '" "GCTAEventBin const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventBin_energy" "', argument "
"1"" of type '" "GCTAEventBin const *""'"); goto fail; } while
(0)
;
12989 }
12990 arg1 = reinterpret_cast< GCTAEventBin * >(argp1);
12991 {
12992 try {
12993 result = (GEnergy *) &((GCTAEventBin const *)arg1)->energy();
12994 }
12995 catch (const GException::out_of_range& e) {
12996 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
12997 }
12998 catch (const GExceptionHandler& e) {
12999 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13000 }
13001 catch (const std::exception& e) {
13002 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13003 }
13004 }
13005 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GEnergy, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[33], 0
| 0)
;
13006 return resultobj;
13007fail:
13008 return NULL__null;
13009}
13010
13011
13012SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventBin_time(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13013 PyObject *resultobj = 0;
13014 GCTAEventBin *arg1 = (GCTAEventBin *) 0 ;
13015 void *argp1 = 0 ;
13016 int res1 = 0 ;
13017 PyObject * obj0 = 0 ;
13018 GTime *result = 0 ;
13019
13020 if (!PyArg_ParseTuple(args,(char *)"O:GCTAEventBin_time",&obj0)) SWIG_failgoto fail;
13021 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventBin, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[8],
0 | 0, 0)
;
13022 if (!SWIG_IsOK(res1)(res1 >= 0)) {
13023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventBin_time" "', argument " "1"" of type '" "GCTAEventBin const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventBin_time" "', argument "
"1"" of type '" "GCTAEventBin const *""'"); goto fail; } while
(0)
;
13024 }
13025 arg1 = reinterpret_cast< GCTAEventBin * >(argp1);
13026 {
13027 try {
13028 result = (GTime *) &((GCTAEventBin const *)arg1)->time();
13029 }
13030 catch (const GException::out_of_range& e) {
13031 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
13032 }
13033 catch (const GExceptionHandler& e) {
13034 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13035 }
13036 catch (const std::exception& e) {
13037 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13038 }
13039 }
13040 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GTime, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[64], 0
| 0)
;
13041 return resultobj;
13042fail:
13043 return NULL__null;
13044}
13045
13046
13047SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventBin_counts__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13048 PyObject *resultobj = 0;
13049 GCTAEventBin *arg1 = (GCTAEventBin *) 0 ;
13050 void *argp1 = 0 ;
13051 int res1 = 0 ;
13052 PyObject * obj0 = 0 ;
13053 double result;
13054
13055 if (!PyArg_ParseTuple(args,(char *)"O:GCTAEventBin_counts",&obj0)) SWIG_failgoto fail;
13056 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventBin, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[8],
0 | 0, 0)
;
13057 if (!SWIG_IsOK(res1)(res1 >= 0)) {
13058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventBin_counts" "', argument " "1"" of type '" "GCTAEventBin const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventBin_counts" "', argument "
"1"" of type '" "GCTAEventBin const *""'"); goto fail; } while
(0)
;
13059 }
13060 arg1 = reinterpret_cast< GCTAEventBin * >(argp1);
13061 {
13062 try {
13063 result = (double)((GCTAEventBin const *)arg1)->counts();
13064 }
13065 catch (const GException::out_of_range& e) {
13066 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
13067 }
13068 catch (const GExceptionHandler& e) {
13069 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13070 }
13071 catch (const std::exception& e) {
13072 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13073 }
13074 }
13075 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
13076 return resultobj;
13077fail:
13078 return NULL__null;
13079}
13080
13081
13082SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventBin_error(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13083 PyObject *resultobj = 0;
13084 GCTAEventBin *arg1 = (GCTAEventBin *) 0 ;
13085 void *argp1 = 0 ;
13086 int res1 = 0 ;
13087 PyObject * obj0 = 0 ;
13088 double result;
13089
13090 if (!PyArg_ParseTuple(args,(char *)"O:GCTAEventBin_error",&obj0)) SWIG_failgoto fail;
13091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventBin, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[8],
0 | 0, 0)
;
13092 if (!SWIG_IsOK(res1)(res1 >= 0)) {
13093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventBin_error" "', argument " "1"" of type '" "GCTAEventBin const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventBin_error" "', argument "
"1"" of type '" "GCTAEventBin const *""'"); goto fail; } while
(0)
;
13094 }
13095 arg1 = reinterpret_cast< GCTAEventBin * >(argp1);
13096 {
13097 try {
13098 result = (double)((GCTAEventBin const *)arg1)->error();
13099 }
13100 catch (const GException::out_of_range& e) {
13101 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
13102 }
13103 catch (const GExceptionHandler& e) {
13104 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13105 }
13106 catch (const std::exception& e) {
13107 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13108 }
13109 }
13110 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
13111 return resultobj;
13112fail:
13113 return NULL__null;
13114}
13115
13116
13117SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventBin_counts__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13118 PyObject *resultobj = 0;
13119 GCTAEventBin *arg1 = (GCTAEventBin *) 0 ;
13120 double *arg2 = 0 ;
13121 void *argp1 = 0 ;
13122 int res1 = 0 ;
13123 double temp2 ;
13124 double val2 ;
13125 int ecode2 = 0 ;
13126 PyObject * obj0 = 0 ;
13127 PyObject * obj1 = 0 ;
13128
13129 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAEventBin_counts",&obj0,&obj1)) SWIG_failgoto fail;
13130 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventBin, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[8],
0 | 0, 0)
;
13131 if (!SWIG_IsOK(res1)(res1 >= 0)) {
13132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventBin_counts" "', argument " "1"" of type '" "GCTAEventBin *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventBin_counts" "', argument "
"1"" of type '" "GCTAEventBin *""'"); goto fail; } while(0)
;
13133 }
13134 arg1 = reinterpret_cast< GCTAEventBin * >(argp1);
13135 ecode2 = SWIG_AsVal_double(obj1, &val2);
13136 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
13137 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAEventBin_counts" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAEventBin_counts" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
13138 }
13139 temp2 = static_cast< double >(val2);
13140 arg2 = &temp2;
13141 {
13142 try {
13143 (arg1)->counts((double const &)*arg2);
13144 }
13145 catch (const GException::out_of_range& e) {
13146 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
13147 }
13148 catch (const GExceptionHandler& e) {
13149 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13150 }
13151 catch (const std::exception& e) {
13152 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13153 }
13154 }
13155 resultobj = SWIG_Py_Void();
13156 return resultobj;
13157fail:
13158 return NULL__null;
13159}
13160
13161
13162SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventBin_counts(PyObject *self, PyObject *args) {
13163 int argc;
13164 PyObject *argv[3];
13165 int ii;
13166
13167 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
13168 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
13169 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
13170 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
13171 }
13172 if (argc == 1) {
13173 int _v;
13174 void *vptr = 0;
13175 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAEventBin, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[8
], 0, 0)
;
13176 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
13177 if (_v) {
13178 return _wrap_GCTAEventBin_counts__SWIG_0(self, args);
13179 }
13180 }
13181 if (argc == 2) {
13182 int _v;
13183 void *vptr = 0;
13184 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAEventBin, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[8
], 0, 0)
;
13185 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
13186 if (_v) {
13187 {
13188 int res = SWIG_AsVal_double(argv[1], NULL__null);
13189 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
13190 }
13191 if (_v) {
13192 return _wrap_GCTAEventBin_counts__SWIG_1(self, args);
13193 }
13194 }
13195 }
13196
13197fail:
13198 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAEventBin_counts'.\n"
13199 " Possible C/C++ prototypes are:\n"
13200 " GCTAEventBin::counts() const\n"
13201 " GCTAEventBin::counts(double const &)\n");
13202 return 0;
13203}
13204
13205
13206SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventBin_solidangle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13207 PyObject *resultobj = 0;
13208 GCTAEventBin *arg1 = (GCTAEventBin *) 0 ;
13209 void *argp1 = 0 ;
13210 int res1 = 0 ;
13211 PyObject * obj0 = 0 ;
13212 double *result = 0 ;
13213
13214 if (!PyArg_ParseTuple(args,(char *)"O:GCTAEventBin_solidangle",&obj0)) SWIG_failgoto fail;
13215 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventBin, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[8],
0 | 0, 0)
;
13216 if (!SWIG_IsOK(res1)(res1 >= 0)) {
13217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventBin_solidangle" "', argument " "1"" of type '" "GCTAEventBin const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventBin_solidangle" "', argument "
"1"" of type '" "GCTAEventBin const *""'"); goto fail; } while
(0)
;
13218 }
13219 arg1 = reinterpret_cast< GCTAEventBin * >(argp1);
13220 {
13221 try {
13222 result = (double *) &((GCTAEventBin const *)arg1)->solidangle();
13223 }
13224 catch (const GException::out_of_range& e) {
13225 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
13226 }
13227 catch (const GExceptionHandler& e) {
13228 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13229 }
13230 catch (const std::exception& e) {
13231 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13232 }
13233 }
13234 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(*result));
13235 return resultobj;
13236fail:
13237 return NULL__null;
13238}
13239
13240
13241SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventBin_ewidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13242 PyObject *resultobj = 0;
13243 GCTAEventBin *arg1 = (GCTAEventBin *) 0 ;
13244 void *argp1 = 0 ;
13245 int res1 = 0 ;
13246 PyObject * obj0 = 0 ;
13247 GEnergy *result = 0 ;
13248
13249 if (!PyArg_ParseTuple(args,(char *)"O:GCTAEventBin_ewidth",&obj0)) SWIG_failgoto fail;
13250 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventBin, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[8],
0 | 0, 0)
;
13251 if (!SWIG_IsOK(res1)(res1 >= 0)) {
13252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventBin_ewidth" "', argument " "1"" of type '" "GCTAEventBin const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventBin_ewidth" "', argument "
"1"" of type '" "GCTAEventBin const *""'"); goto fail; } while
(0)
;
13253 }
13254 arg1 = reinterpret_cast< GCTAEventBin * >(argp1);
13255 {
13256 try {
13257 result = (GEnergy *) &((GCTAEventBin const *)arg1)->ewidth();
13258 }
13259 catch (const GException::out_of_range& e) {
13260 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
13261 }
13262 catch (const GExceptionHandler& e) {
13263 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13264 }
13265 catch (const std::exception& e) {
13266 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13267 }
13268 }
13269 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GEnergy, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[33], 0
| 0)
;
13270 return resultobj;
13271fail:
13272 return NULL__null;
13273}
13274
13275
13276SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventBin_ontime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13277 PyObject *resultobj = 0;
13278 GCTAEventBin *arg1 = (GCTAEventBin *) 0 ;
13279 void *argp1 = 0 ;
13280 int res1 = 0 ;
13281 PyObject * obj0 = 0 ;
13282 double *result = 0 ;
13283
13284 if (!PyArg_ParseTuple(args,(char *)"O:GCTAEventBin_ontime",&obj0)) SWIG_failgoto fail;
13285 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventBin, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[8],
0 | 0, 0)
;
13286 if (!SWIG_IsOK(res1)(res1 >= 0)) {
13287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventBin_ontime" "', argument " "1"" of type '" "GCTAEventBin const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventBin_ontime" "', argument "
"1"" of type '" "GCTAEventBin const *""'"); goto fail; } while
(0)
;
13288 }
13289 arg1 = reinterpret_cast< GCTAEventBin * >(argp1);
13290 {
13291 try {
13292 result = (double *) &((GCTAEventBin const *)arg1)->ontime();
13293 }
13294 catch (const GException::out_of_range& e) {
13295 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
13296 }
13297 catch (const GExceptionHandler& e) {
13298 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13299 }
13300 catch (const std::exception& e) {
13301 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13302 }
13303 }
13304 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(*result));
13305 return resultobj;
13306fail:
13307 return NULL__null;
13308}
13309
13310
13311SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventBin_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13312 PyObject *resultobj = 0;
13313 GCTAEventBin *arg1 = (GCTAEventBin *) 0 ;
13314 void *argp1 = 0 ;
13315 int res1 = 0 ;
13316 PyObject * obj0 = 0 ;
13317 GCTAEventBin result;
13318
13319 if (!PyArg_ParseTuple(args,(char *)"O:GCTAEventBin_copy",&obj0)) SWIG_failgoto fail;
13320 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventBin, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[8],
0 | 0, 0)
;
13321 if (!SWIG_IsOK(res1)(res1 >= 0)) {
13322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventBin_copy" "', argument " "1"" of type '" "GCTAEventBin *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventBin_copy" "', argument "
"1"" of type '" "GCTAEventBin *""'"); goto fail; } while(0)
;
13323 }
13324 arg1 = reinterpret_cast< GCTAEventBin * >(argp1);
13325 {
13326 try {
13327 result = GCTAEventBin_copy(arg1);
13328 }
13329 catch (const GException::out_of_range& e) {
13330 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
13331 }
13332 catch (const GExceptionHandler& e) {
13333 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13334 }
13335 catch (const std::exception& e) {
13336 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13337 }
13338 }
13339 resultobj = SWIG_NewPointerObj((new GCTAEventBin(static_cast< const GCTAEventBin& >(result))), SWIGTYPE_p_GCTAEventBin, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GCTAEventBin(static_cast
< const GCTAEventBin& >(result))), swig_types[8], 0x1
| 0)
;
13340 return resultobj;
13341fail:
13342 return NULL__null;
13343}
13344
13345
13346SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GCTAEventBin_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13347 PyObject *obj;
13348 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
13349 SWIG_TypeNewClientData(SWIGTYPE_p_GCTAEventBinswig_types[8], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
13350 return SWIG_Py_Void();
13351}
13352
13353SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAEventAtom__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13354 PyObject *resultobj = 0;
13355 GCTAEventAtom *result = 0 ;
13356
13357 if (!PyArg_ParseTuple(args,(char *)":new_GCTAEventAtom")) SWIG_failgoto fail;
13358 {
13359 try {
13360 result = (GCTAEventAtom *)new GCTAEventAtom();
13361 }
13362 catch (const GException::out_of_range& e) {
13363 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
13364 }
13365 catch (const GExceptionHandler& e) {
13366 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13367 }
13368 catch (const std::exception& e) {
13369 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13370 }
13371 }
13372 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAEventAtom, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[7], ((
0x1 << 1) | 0x1) | 0)
;
13373 return resultobj;
13374fail:
13375 return NULL__null;
13376}
13377
13378
13379SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAEventAtom__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13380 PyObject *resultobj = 0;
13381 GCTAEventAtom *arg1 = 0 ;
13382 void *argp1 = 0 ;
13383 int res1 = 0 ;
13384 PyObject * obj0 = 0 ;
13385 GCTAEventAtom *result = 0 ;
13386
13387 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAEventAtom",&obj0)) SWIG_failgoto fail;
13388 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GCTAEventAtom, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[7],
0 | 0, 0)
;
13389 if (!SWIG_IsOK(res1)(res1 >= 0)) {
13390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAEventAtom" "', argument " "1"" of type '" "GCTAEventAtom const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAEventAtom" "', argument "
"1"" of type '" "GCTAEventAtom const &""'"); goto fail; }
while(0)
;
13391 }
13392 if (!argp1) {
13393 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAEventAtom" "', argument " "1"" of type '" "GCTAEventAtom const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAEventAtom" "', argument " "1"" of type '"
"GCTAEventAtom const &""'"); goto fail; } while(0)
;
13394 }
13395 arg1 = reinterpret_cast< GCTAEventAtom * >(argp1);
13396 {
13397 try {
13398 result = (GCTAEventAtom *)new GCTAEventAtom((GCTAEventAtom const &)*arg1);
13399 }
13400 catch (const GException::out_of_range& e) {
13401 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
13402 }
13403 catch (const GExceptionHandler& e) {
13404 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13405 }
13406 catch (const std::exception& e) {
13407 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13408 }
13409 }
13410 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAEventAtom, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[7], ((
0x1 << 1) | 0x1) | 0)
;
13411 return resultobj;
13412fail:
13413 return NULL__null;
13414}
13415
13416
13417SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAEventAtom(PyObject *self, PyObject *args) {
13418 int argc;
13419 PyObject *argv[2];
13420 int ii;
13421
13422 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
13423 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
13424 for (ii = 0; (ii < 1) && (ii < argc); ii++) {
13425 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
13426 }
13427 if (argc == 0) {
13428 return _wrap_new_GCTAEventAtom__SWIG_0(self, args);
13429 }
13430 if (argc == 1) {
13431 int _v;
13432 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GCTAEventAtom, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[7], 0, 0);
13433 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
13434 if (_v) {
13435 return _wrap_new_GCTAEventAtom__SWIG_1(self, args);
13436 }
13437 }
13438
13439fail:
13440 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GCTAEventAtom'.\n"
13441 " Possible C/C++ prototypes are:\n"
13442 " GCTAEventAtom::GCTAEventAtom()\n"
13443 " GCTAEventAtom::GCTAEventAtom(GCTAEventAtom const &)\n");
13444 return 0;
13445}
13446
13447
13448SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GCTAEventAtom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13449 PyObject *resultobj = 0;
13450 GCTAEventAtom *arg1 = (GCTAEventAtom *) 0 ;
13451 void *argp1 = 0 ;
13452 int res1 = 0 ;
13453 PyObject * obj0 = 0 ;
13454
13455 if (!PyArg_ParseTuple(args,(char *)"O:delete_GCTAEventAtom",&obj0)) SWIG_failgoto fail;
13456 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventAtom, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[7],
0x1 | 0, 0)
;
13457 if (!SWIG_IsOK(res1)(res1 >= 0)) {
13458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GCTAEventAtom" "', argument " "1"" of type '" "GCTAEventAtom *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GCTAEventAtom" "', argument "
"1"" of type '" "GCTAEventAtom *""'"); goto fail; } while(0)
;
13459 }
13460 arg1 = reinterpret_cast< GCTAEventAtom * >(argp1);
13461 {
13462 try {
13463 delete arg1;
13464 }
13465 catch (const GException::out_of_range& e) {
13466 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
13467 }
13468 catch (const GExceptionHandler& e) {
13469 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13470 }
13471 catch (const std::exception& e) {
13472 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13473 }
13474 }
13475 resultobj = SWIG_Py_Void();
13476 return resultobj;
13477fail:
13478 return NULL__null;
13479}
13480
13481
13482SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventAtom_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13483 PyObject *resultobj = 0;
13484 GCTAEventAtom *arg1 = (GCTAEventAtom *) 0 ;
13485 void *argp1 = 0 ;
13486 int res1 = 0 ;
13487 PyObject * obj0 = 0 ;
13488
13489 if (!PyArg_ParseTuple(args,(char *)"O:GCTAEventAtom_clear",&obj0)) SWIG_failgoto fail;
13490 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventAtom, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[7],
0 | 0, 0)
;
13491 if (!SWIG_IsOK(res1)(res1 >= 0)) {
13492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventAtom_clear" "', argument " "1"" of type '" "GCTAEventAtom *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventAtom_clear" "', argument "
"1"" of type '" "GCTAEventAtom *""'"); goto fail; } while(0)
;
13493 }
13494 arg1 = reinterpret_cast< GCTAEventAtom * >(argp1);
13495 {
13496 try {
13497 (arg1)->clear();
13498 }
13499 catch (const GException::out_of_range& e) {
13500 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
13501 }
13502 catch (const GExceptionHandler& e) {
13503 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13504 }
13505 catch (const std::exception& e) {
13506 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13507 }
13508 }
13509 resultobj = SWIG_Py_Void();
13510 return resultobj;
13511fail:
13512 return NULL__null;
13513}
13514
13515
13516SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventAtom_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13517 PyObject *resultobj = 0;
13518 GCTAEventAtom *arg1 = (GCTAEventAtom *) 0 ;
13519 void *argp1 = 0 ;
13520 int res1 = 0 ;
13521 PyObject * obj0 = 0 ;
13522 GCTAEventAtom *result = 0 ;
13523
13524 if (!PyArg_ParseTuple(args,(char *)"O:GCTAEventAtom_clone",&obj0)) SWIG_failgoto fail;
13525 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventAtom, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[7],
0 | 0, 0)
;
13526 if (!SWIG_IsOK(res1)(res1 >= 0)) {
13527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventAtom_clone" "', argument " "1"" of type '" "GCTAEventAtom const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventAtom_clone" "', argument "
"1"" of type '" "GCTAEventAtom const *""'"); goto fail; } while
(0)
;
13528 }
13529 arg1 = reinterpret_cast< GCTAEventAtom * >(argp1);
13530 {
13531 try {
13532 result = (GCTAEventAtom *)((GCTAEventAtom const *)arg1)->clone();
13533 }
13534 catch (const GException::out_of_range& e) {
13535 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
13536 }
13537 catch (const GExceptionHandler& e) {
13538 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13539 }
13540 catch (const std::exception& e) {
13541 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13542 }
13543 }
13544 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAEventAtom, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[7], 0 |
0)
;
13545 return resultobj;
13546fail:
13547 return NULL__null;
13548}
13549
13550
13551SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventAtom_dir__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13552 PyObject *resultobj = 0;
13553 GCTAEventAtom *arg1 = (GCTAEventAtom *) 0 ;
13554 void *argp1 = 0 ;
13555 int res1 = 0 ;
13556 PyObject * obj0 = 0 ;
13557 GCTAInstDir *result = 0 ;
13558
13559 if (!PyArg_ParseTuple(args,(char *)"O:GCTAEventAtom_dir",&obj0)) SWIG_failgoto fail;
13560 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventAtom, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[7],
0 | 0, 0)
;
13561 if (!SWIG_IsOK(res1)(res1 >= 0)) {
13562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventAtom_dir" "', argument " "1"" of type '" "GCTAEventAtom const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventAtom_dir" "', argument "
"1"" of type '" "GCTAEventAtom const *""'"); goto fail; } while
(0)
;
13563 }
13564 arg1 = reinterpret_cast< GCTAEventAtom * >(argp1);
13565 {
13566 try {
13567 result = (GCTAInstDir *) &((GCTAEventAtom const *)arg1)->dir();
13568 }
13569 catch (const GException::out_of_range& e) {
13570 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
13571 }
13572 catch (const GExceptionHandler& e) {
13573 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13574 }
13575 catch (const std::exception& e) {
13576 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13577 }
13578 }
13579 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAInstDir, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], 0
| 0)
;
13580 return resultobj;
13581fail:
13582 return NULL__null;
13583}
13584
13585
13586SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventAtom_energy__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13587 PyObject *resultobj = 0;
13588 GCTAEventAtom *arg1 = (GCTAEventAtom *) 0 ;
13589 void *argp1 = 0 ;
13590 int res1 = 0 ;
13591 PyObject * obj0 = 0 ;
13592 GEnergy *result = 0 ;
13593
13594 if (!PyArg_ParseTuple(args,(char *)"O:GCTAEventAtom_energy",&obj0)) SWIG_failgoto fail;
13595 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventAtom, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[7],
0 | 0, 0)
;
13596 if (!SWIG_IsOK(res1)(res1 >= 0)) {
13597 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventAtom_energy" "', argument " "1"" of type '" "GCTAEventAtom const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventAtom_energy" "', argument "
"1"" of type '" "GCTAEventAtom const *""'"); goto fail; } while
(0)
;
13598 }
13599 arg1 = reinterpret_cast< GCTAEventAtom * >(argp1);
13600 {
13601 try {
13602 result = (GEnergy *) &((GCTAEventAtom const *)arg1)->energy();
13603 }
13604 catch (const GException::out_of_range& e) {
13605 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
13606 }
13607 catch (const GExceptionHandler& e) {
13608 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13609 }
13610 catch (const std::exception& e) {
13611 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13612 }
13613 }
13614 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GEnergy, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[33], 0
| 0)
;
13615 return resultobj;
13616fail:
13617 return NULL__null;
13618}
13619
13620
13621SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventAtom_time__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13622 PyObject *resultobj = 0;
13623 GCTAEventAtom *arg1 = (GCTAEventAtom *) 0 ;
13624 void *argp1 = 0 ;
13625 int res1 = 0 ;
13626 PyObject * obj0 = 0 ;
13627 GTime *result = 0 ;
13628
13629 if (!PyArg_ParseTuple(args,(char *)"O:GCTAEventAtom_time",&obj0)) SWIG_failgoto fail;
13630 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventAtom, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[7],
0 | 0, 0)
;
13631 if (!SWIG_IsOK(res1)(res1 >= 0)) {
13632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventAtom_time" "', argument " "1"" of type '" "GCTAEventAtom const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventAtom_time" "', argument "
"1"" of type '" "GCTAEventAtom const *""'"); goto fail; } while
(0)
;
13633 }
13634 arg1 = reinterpret_cast< GCTAEventAtom * >(argp1);
13635 {
13636 try {
13637 result = (GTime *) &((GCTAEventAtom const *)arg1)->time();
13638 }
13639 catch (const GException::out_of_range& e) {
13640 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
13641 }
13642 catch (const GExceptionHandler& e) {
13643 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13644 }
13645 catch (const std::exception& e) {
13646 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13647 }
13648 }
13649 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GTime, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[64], 0
| 0)
;
13650 return resultobj;
13651fail:
13652 return NULL__null;
13653}
13654
13655
13656SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventAtom_dir__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13657 PyObject *resultobj = 0;
13658 GCTAEventAtom *arg1 = (GCTAEventAtom *) 0 ;
13659 GCTAInstDir *arg2 = 0 ;
13660 void *argp1 = 0 ;
13661 int res1 = 0 ;
13662 void *argp2 = 0 ;
13663 int res2 = 0 ;
13664 PyObject * obj0 = 0 ;
13665 PyObject * obj1 = 0 ;
13666
13667 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAEventAtom_dir",&obj0,&obj1)) SWIG_failgoto fail;
13668 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventAtom, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[7],
0 | 0, 0)
;
13669 if (!SWIG_IsOK(res1)(res1 >= 0)) {
13670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventAtom_dir" "', argument " "1"" of type '" "GCTAEventAtom *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventAtom_dir" "', argument "
"1"" of type '" "GCTAEventAtom *""'"); goto fail; } while(0)
;
13671 }
13672 arg1 = reinterpret_cast< GCTAEventAtom * >(argp1);
13673 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GCTAInstDir, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[11]
, 0 | 0, 0)
;
13674 if (!SWIG_IsOK(res2)(res2 >= 0)) {
13675 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAEventAtom_dir" "', argument " "2"" of type '" "GCTAInstDir const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAEventAtom_dir" "', argument "
"2"" of type '" "GCTAInstDir const &""'"); goto fail; } while
(0)
;
13676 }
13677 if (!argp2) {
13678 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAEventAtom_dir" "', argument " "2"" of type '" "GCTAInstDir const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAEventAtom_dir" "', argument " "2"" of type '"
"GCTAInstDir const &""'"); goto fail; } while(0)
;
13679 }
13680 arg2 = reinterpret_cast< GCTAInstDir * >(argp2);
13681 {
13682 try {
13683 (arg1)->dir((GCTAInstDir const &)*arg2);
13684 }
13685 catch (const GException::out_of_range& e) {
13686 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
13687 }
13688 catch (const GExceptionHandler& e) {
13689 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13690 }
13691 catch (const std::exception& e) {
13692 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13693 }
13694 }
13695 resultobj = SWIG_Py_Void();
13696 return resultobj;
13697fail:
13698 return NULL__null;
13699}
13700
13701
13702SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventAtom_dir(PyObject *self, PyObject *args) {
13703 int argc;
13704 PyObject *argv[3];
13705 int ii;
13706
13707 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
13708 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
13709 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
13710 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
13711 }
13712 if (argc == 1) {
13713 int _v;
13714 void *vptr = 0;
13715 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAEventAtom, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[7
], 0, 0)
;
13716 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
13717 if (_v) {
13718 return _wrap_GCTAEventAtom_dir__SWIG_0(self, args);
13719 }
13720 }
13721 if (argc == 2) {
13722 int _v;
13723 void *vptr = 0;
13724 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAEventAtom, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[7
], 0, 0)
;
13725 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
13726 if (_v) {
13727 int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_GCTAInstDir, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], 0, swig_types[11], 0, 0
)
;
13728 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
13729 if (_v) {
13730 return _wrap_GCTAEventAtom_dir__SWIG_1(self, args);
13731 }
13732 }
13733 }
13734
13735fail:
13736 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAEventAtom_dir'.\n"
13737 " Possible C/C++ prototypes are:\n"
13738 " GCTAEventAtom::dir() const\n"
13739 " GCTAEventAtom::dir(GCTAInstDir const &)\n");
13740 return 0;
13741}
13742
13743
13744SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventAtom_energy__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13745 PyObject *resultobj = 0;
13746 GCTAEventAtom *arg1 = (GCTAEventAtom *) 0 ;
13747 GEnergy *arg2 = 0 ;
13748 void *argp1 = 0 ;
13749 int res1 = 0 ;
13750 void *argp2 = 0 ;
13751 int res2 = 0 ;
13752 PyObject * obj0 = 0 ;
13753 PyObject * obj1 = 0 ;
13754
13755 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAEventAtom_energy",&obj0,&obj1)) SWIG_failgoto fail;
13756 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventAtom, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[7],
0 | 0, 0)
;
13757 if (!SWIG_IsOK(res1)(res1 >= 0)) {
13758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventAtom_energy" "', argument " "1"" of type '" "GCTAEventAtom *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventAtom_energy" "', argument "
"1"" of type '" "GCTAEventAtom *""'"); goto fail; } while(0)
;
13759 }
13760 arg1 = reinterpret_cast< GCTAEventAtom * >(argp1);
13761 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GEnergy, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[33]
, 0 | 0, 0)
;
13762 if (!SWIG_IsOK(res2)(res2 >= 0)) {
13763 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAEventAtom_energy" "', argument " "2"" of type '" "GEnergy const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAEventAtom_energy" "', argument "
"2"" of type '" "GEnergy const &""'"); goto fail; } while
(0)
;
13764 }
13765 if (!argp2) {
13766 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAEventAtom_energy" "', argument " "2"" of type '" "GEnergy const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAEventAtom_energy" "', argument " "2"" of type '"
"GEnergy const &""'"); goto fail; } while(0)
;
13767 }
13768 arg2 = reinterpret_cast< GEnergy * >(argp2);
13769 {
13770 try {
13771 (arg1)->energy((GEnergy const &)*arg2);
13772 }
13773 catch (const GException::out_of_range& e) {
13774 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
13775 }
13776 catch (const GExceptionHandler& e) {
13777 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13778 }
13779 catch (const std::exception& e) {
13780 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13781 }
13782 }
13783 resultobj = SWIG_Py_Void();
13784 return resultobj;
13785fail:
13786 return NULL__null;
13787}
13788
13789
13790SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventAtom_energy(PyObject *self, PyObject *args) {
13791 int argc;
13792 PyObject *argv[3];
13793 int ii;
13794
13795 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
13796 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
13797 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
13798 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
13799 }
13800 if (argc == 1) {
13801 int _v;
13802 void *vptr = 0;
13803 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAEventAtom, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[7
], 0, 0)
;
13804 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
13805 if (_v) {
13806 return _wrap_GCTAEventAtom_energy__SWIG_0(self, args);
13807 }
13808 }
13809 if (argc == 2) {
13810 int _v;
13811 void *vptr = 0;
13812 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAEventAtom, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[7
], 0, 0)
;
13813 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
13814 if (_v) {
13815 int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_GEnergy, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], 0, swig_types[33], 0, 0
)
;
13816 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
13817 if (_v) {
13818 return _wrap_GCTAEventAtom_energy__SWIG_1(self, args);
13819 }
13820 }
13821 }
13822
13823fail:
13824 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAEventAtom_energy'.\n"
13825 " Possible C/C++ prototypes are:\n"
13826 " GCTAEventAtom::energy() const\n"
13827 " GCTAEventAtom::energy(GEnergy const &)\n");
13828 return 0;
13829}
13830
13831
13832SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventAtom_time__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13833 PyObject *resultobj = 0;
13834 GCTAEventAtom *arg1 = (GCTAEventAtom *) 0 ;
13835 GTime *arg2 = 0 ;
13836 void *argp1 = 0 ;
13837 int res1 = 0 ;
13838 void *argp2 = 0 ;
13839 int res2 = 0 ;
13840 PyObject * obj0 = 0 ;
13841 PyObject * obj1 = 0 ;
13842
13843 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAEventAtom_time",&obj0,&obj1)) SWIG_failgoto fail;
13844 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventAtom, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[7],
0 | 0, 0)
;
13845 if (!SWIG_IsOK(res1)(res1 >= 0)) {
13846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventAtom_time" "', argument " "1"" of type '" "GCTAEventAtom *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventAtom_time" "', argument "
"1"" of type '" "GCTAEventAtom *""'"); goto fail; } while(0)
;
13847 }
13848 arg1 = reinterpret_cast< GCTAEventAtom * >(argp1);
13849 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GTime, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[64]
, 0 | 0, 0)
;
13850 if (!SWIG_IsOK(res2)(res2 >= 0)) {
13851 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAEventAtom_time" "', argument " "2"" of type '" "GTime const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAEventAtom_time" "', argument "
"2"" of type '" "GTime const &""'"); goto fail; } while(
0)
;
13852 }
13853 if (!argp2) {
13854 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAEventAtom_time" "', argument " "2"" of type '" "GTime const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAEventAtom_time" "', argument " "2"" of type '"
"GTime const &""'"); goto fail; } while(0)
;
13855 }
13856 arg2 = reinterpret_cast< GTime * >(argp2);
13857 {
13858 try {
13859 (arg1)->time((GTime const &)*arg2);
13860 }
13861 catch (const GException::out_of_range& e) {
13862 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
13863 }
13864 catch (const GExceptionHandler& e) {
13865 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13866 }
13867 catch (const std::exception& e) {
13868 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13869 }
13870 }
13871 resultobj = SWIG_Py_Void();
13872 return resultobj;
13873fail:
13874 return NULL__null;
13875}
13876
13877
13878SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventAtom_time(PyObject *self, PyObject *args) {
13879 int argc;
13880 PyObject *argv[3];
13881 int ii;
13882
13883 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
13884 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
13885 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
13886 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
13887 }
13888 if (argc == 1) {
13889 int _v;
13890 void *vptr = 0;
13891 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAEventAtom, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[7
], 0, 0)
;
13892 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
13893 if (_v) {
13894 return _wrap_GCTAEventAtom_time__SWIG_0(self, args);
13895 }
13896 }
13897 if (argc == 2) {
13898 int _v;
13899 void *vptr = 0;
13900 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAEventAtom, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[7
], 0, 0)
;
13901 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
13902 if (_v) {
13903 int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_GTime, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], 0, swig_types[64], 0, 0
)
;
13904 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
13905 if (_v) {
13906 return _wrap_GCTAEventAtom_time__SWIG_1(self, args);
13907 }
13908 }
13909 }
13910
13911fail:
13912 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAEventAtom_time'.\n"
13913 " Possible C/C++ prototypes are:\n"
13914 " GCTAEventAtom::time() const\n"
13915 " GCTAEventAtom::time(GTime const &)\n");
13916 return 0;
13917}
13918
13919
13920SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventAtom_index(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13921 PyObject *resultobj = 0;
13922 GCTAEventAtom *arg1 = (GCTAEventAtom *) 0 ;
13923 void *argp1 = 0 ;
13924 int res1 = 0 ;
13925 PyObject * obj0 = 0 ;
13926 int *result = 0 ;
13927
13928 if (!PyArg_ParseTuple(args,(char *)"O:GCTAEventAtom_index",&obj0)) SWIG_failgoto fail;
13929 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventAtom, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[7],
0 | 0, 0)
;
13930 if (!SWIG_IsOK(res1)(res1 >= 0)) {
13931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventAtom_index" "', argument " "1"" of type '" "GCTAEventAtom const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventAtom_index" "', argument "
"1"" of type '" "GCTAEventAtom const *""'"); goto fail; } while
(0)
;
13932 }
13933 arg1 = reinterpret_cast< GCTAEventAtom * >(argp1);
13934 {
13935 try {
13936 result = (int *) &((GCTAEventAtom const *)arg1)->index();
13937 }
13938 catch (const GException::out_of_range& e) {
13939 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
13940 }
13941 catch (const GExceptionHandler& e) {
13942 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13943 }
13944 catch (const std::exception& e) {
13945 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13946 }
13947 }
13948 resultobj = SWIG_From_int(static_cast< int >(*result));
13949 return resultobj;
13950fail:
13951 return NULL__null;
13952}
13953
13954
13955SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventAtom_event_id__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13956 PyObject *resultobj = 0;
13957 GCTAEventAtom *arg1 = (GCTAEventAtom *) 0 ;
13958 void *argp1 = 0 ;
13959 int res1 = 0 ;
13960 PyObject * obj0 = 0 ;
13961 unsigned long *result = 0 ;
13962
13963 if (!PyArg_ParseTuple(args,(char *)"O:GCTAEventAtom_event_id",&obj0)) SWIG_failgoto fail;
13964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventAtom, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[7],
0 | 0, 0)
;
13965 if (!SWIG_IsOK(res1)(res1 >= 0)) {
13966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventAtom_event_id" "', argument " "1"" of type '" "GCTAEventAtom const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventAtom_event_id" "', argument "
"1"" of type '" "GCTAEventAtom const *""'"); goto fail; } while
(0)
;
13967 }
13968 arg1 = reinterpret_cast< GCTAEventAtom * >(argp1);
13969 {
13970 try {
13971 result = (unsigned long *) &((GCTAEventAtom const *)arg1)->event_id();
13972 }
13973 catch (const GException::out_of_range& e) {
13974 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
13975 }
13976 catch (const GExceptionHandler& e) {
13977 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13978 }
13979 catch (const std::exception& e) {
13980 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13981 }
13982 }
13983 resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(*result));
13984 return resultobj;
13985fail:
13986 return NULL__null;
13987}
13988
13989
13990SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventAtom_obs_id__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13991 PyObject *resultobj = 0;
13992 GCTAEventAtom *arg1 = (GCTAEventAtom *) 0 ;
13993 void *argp1 = 0 ;
13994 int res1 = 0 ;
13995 PyObject * obj0 = 0 ;
13996 unsigned long *result = 0 ;
13997
13998 if (!PyArg_ParseTuple(args,(char *)"O:GCTAEventAtom_obs_id",&obj0)) SWIG_failgoto fail;
13999 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventAtom, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[7],
0 | 0, 0)
;
14000 if (!SWIG_IsOK(res1)(res1 >= 0)) {
14001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventAtom_obs_id" "', argument " "1"" of type '" "GCTAEventAtom const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventAtom_obs_id" "', argument "
"1"" of type '" "GCTAEventAtom const *""'"); goto fail; } while
(0)
;
14002 }
14003 arg1 = reinterpret_cast< GCTAEventAtom * >(argp1);
14004 {
14005 try {
14006 result = (unsigned long *) &((GCTAEventAtom const *)arg1)->obs_id();
14007 }
14008 catch (const GException::out_of_range& e) {
14009 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
14010 }
14011 catch (const GExceptionHandler& e) {
14012 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14013 }
14014 catch (const std::exception& e) {
14015 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14016 }
14017 }
14018 resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(*result));
14019 return resultobj;
14020fail:
14021 return NULL__null;
14022}
14023
14024
14025SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventAtom_event_id__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14026 PyObject *resultobj = 0;
14027 GCTAEventAtom *arg1 = (GCTAEventAtom *) 0 ;
14028 unsigned long *arg2 = 0 ;
14029 void *argp1 = 0 ;
14030 int res1 = 0 ;
14031 unsigned long temp2 ;
14032 unsigned long val2 ;
14033 int ecode2 = 0 ;
14034 PyObject * obj0 = 0 ;
14035 PyObject * obj1 = 0 ;
14036
14037 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAEventAtom_event_id",&obj0,&obj1)) SWIG_failgoto fail;
14038 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventAtom, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[7],
0 | 0, 0)
;
14039 if (!SWIG_IsOK(res1)(res1 >= 0)) {
14040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventAtom_event_id" "', argument " "1"" of type '" "GCTAEventAtom *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventAtom_event_id" "', argument "
"1"" of type '" "GCTAEventAtom *""'"); goto fail; } while(0)
;
14041 }
14042 arg1 = reinterpret_cast< GCTAEventAtom * >(argp1);
14043 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14044 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
14045 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAEventAtom_event_id" "', argument " "2"" of type '" "unsigned long""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAEventAtom_event_id"
"', argument " "2"" of type '" "unsigned long""'"); goto fail
; } while(0)
;
14046 }
14047 temp2 = static_cast< unsigned long >(val2);
14048 arg2 = &temp2;
14049 {
14050 try {
14051 (arg1)->event_id((unsigned long const &)*arg2);
14052 }
14053 catch (const GException::out_of_range& e) {
14054 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
14055 }
14056 catch (const GExceptionHandler& e) {
14057 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14058 }
14059 catch (const std::exception& e) {
14060 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14061 }
14062 }
14063 resultobj = SWIG_Py_Void();
14064 return resultobj;
14065fail:
14066 return NULL__null;
14067}
14068
14069
14070SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventAtom_event_id(PyObject *self, PyObject *args) {
14071 int argc;
14072 PyObject *argv[3];
14073 int ii;
14074
14075 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
14076 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
14077 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
14078 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
14079 }
14080 if (argc == 1) {
14081 int _v;
14082 void *vptr = 0;
14083 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAEventAtom, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[7
], 0, 0)
;
14084 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
14085 if (_v) {
14086 return _wrap_GCTAEventAtom_event_id__SWIG_0(self, args);
14087 }
14088 }
14089 if (argc == 2) {
14090 int _v;
14091 void *vptr = 0;
14092 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAEventAtom, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[7
], 0, 0)
;
14093 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
14094 if (_v) {
14095 {
14096 int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL__null);
14097 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
14098 }
14099 if (_v) {
14100 return _wrap_GCTAEventAtom_event_id__SWIG_1(self, args);
14101 }
14102 }
14103 }
14104
14105fail:
14106 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAEventAtom_event_id'.\n"
14107 " Possible C/C++ prototypes are:\n"
14108 " GCTAEventAtom::event_id() const\n"
14109 " GCTAEventAtom::event_id(unsigned long const &)\n");
14110 return 0;
14111}
14112
14113
14114SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventAtom_obs_id__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14115 PyObject *resultobj = 0;
14116 GCTAEventAtom *arg1 = (GCTAEventAtom *) 0 ;
14117 unsigned long *arg2 = 0 ;
14118 void *argp1 = 0 ;
14119 int res1 = 0 ;
14120 unsigned long temp2 ;
14121 unsigned long val2 ;
14122 int ecode2 = 0 ;
14123 PyObject * obj0 = 0 ;
14124 PyObject * obj1 = 0 ;
14125
14126 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAEventAtom_obs_id",&obj0,&obj1)) SWIG_failgoto fail;
14127 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventAtom, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[7],
0 | 0, 0)
;
14128 if (!SWIG_IsOK(res1)(res1 >= 0)) {
14129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventAtom_obs_id" "', argument " "1"" of type '" "GCTAEventAtom *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventAtom_obs_id" "', argument "
"1"" of type '" "GCTAEventAtom *""'"); goto fail; } while(0)
;
14130 }
14131 arg1 = reinterpret_cast< GCTAEventAtom * >(argp1);
14132 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14133 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
14134 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAEventAtom_obs_id" "', argument " "2"" of type '" "unsigned long""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAEventAtom_obs_id" "', argument "
"2"" of type '" "unsigned long""'"); goto fail; } while(0)
;
14135 }
14136 temp2 = static_cast< unsigned long >(val2);
14137 arg2 = &temp2;
14138 {
14139 try {
14140 (arg1)->obs_id((unsigned long const &)*arg2);
14141 }
14142 catch (const GException::out_of_range& e) {
14143 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
14144 }
14145 catch (const GExceptionHandler& e) {
14146 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14147 }
14148 catch (const std::exception& e) {
14149 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14150 }
14151 }
14152 resultobj = SWIG_Py_Void();
14153 return resultobj;
14154fail:
14155 return NULL__null;
14156}
14157
14158
14159SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventAtom_obs_id(PyObject *self, PyObject *args) {
14160 int argc;
14161 PyObject *argv[3];
14162 int ii;
14163
14164 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
14165 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
14166 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
14167 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
14168 }
14169 if (argc == 1) {
14170 int _v;
14171 void *vptr = 0;
14172 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAEventAtom, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[7
], 0, 0)
;
14173 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
14174 if (_v) {
14175 return _wrap_GCTAEventAtom_obs_id__SWIG_0(self, args);
14176 }
14177 }
14178 if (argc == 2) {
14179 int _v;
14180 void *vptr = 0;
14181 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAEventAtom, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[7
], 0, 0)
;
14182 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
14183 if (_v) {
14184 {
14185 int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL__null);
14186 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
14187 }
14188 if (_v) {
14189 return _wrap_GCTAEventAtom_obs_id__SWIG_1(self, args);
14190 }
14191 }
14192 }
14193
14194fail:
14195 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAEventAtom_obs_id'.\n"
14196 " Possible C/C++ prototypes are:\n"
14197 " GCTAEventAtom::obs_id() const\n"
14198 " GCTAEventAtom::obs_id(unsigned long const &)\n");
14199 return 0;
14200}
14201
14202
14203SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEventAtom_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14204 PyObject *resultobj = 0;
14205 GCTAEventAtom *arg1 = (GCTAEventAtom *) 0 ;
14206 void *argp1 = 0 ;
14207 int res1 = 0 ;
14208 PyObject * obj0 = 0 ;
14209 GCTAEventAtom result;
14210
14211 if (!PyArg_ParseTuple(args,(char *)"O:GCTAEventAtom_copy",&obj0)) SWIG_failgoto fail;
14212 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEventAtom, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[7],
0 | 0, 0)
;
14213 if (!SWIG_IsOK(res1)(res1 >= 0)) {
14214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEventAtom_copy" "', argument " "1"" of type '" "GCTAEventAtom *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEventAtom_copy" "', argument "
"1"" of type '" "GCTAEventAtom *""'"); goto fail; } while(0)
;
14215 }
14216 arg1 = reinterpret_cast< GCTAEventAtom * >(argp1);
14217 {
14218 try {
14219 result = GCTAEventAtom_copy(arg1);
14220 }
14221 catch (const GException::out_of_range& e) {
14222 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
14223 }
14224 catch (const GExceptionHandler& e) {
14225 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14226 }
14227 catch (const std::exception& e) {
14228 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14229 }
14230 }
14231 resultobj = SWIG_NewPointerObj((new GCTAEventAtom(static_cast< const GCTAEventAtom& >(result))), SWIGTYPE_p_GCTAEventAtom, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GCTAEventAtom(static_cast
< const GCTAEventAtom& >(result))), swig_types[7], 0x1
| 0)
;
14232 return resultobj;
14233fail:
14234 return NULL__null;
14235}
14236
14237
14238SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GCTAEventAtom_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14239 PyObject *obj;
14240 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
14241 SWIG_TypeNewClientData(SWIGTYPE_p_GCTAEventAtomswig_types[7], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
14242 return SWIG_Py_Void();
14243}
14244
14245SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAPointing__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14246 PyObject *resultobj = 0;
14247 GCTAPointing *result = 0 ;
14248
14249 if (!PyArg_ParseTuple(args,(char *)":new_GCTAPointing")) SWIG_failgoto fail;
14250 {
14251 try {
14252 result = (GCTAPointing *)new GCTAPointing();
14253 }
14254 catch (const GException::out_of_range& e) {
14255 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
14256 }
14257 catch (const GExceptionHandler& e) {
14258 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14259 }
14260 catch (const std::exception& e) {
14261 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14262 }
14263 }
14264 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAPointing, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[22], (
(0x1 << 1) | 0x1) | 0)
;
14265 return resultobj;
14266fail:
14267 return NULL__null;
14268}
14269
14270
14271SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAPointing__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14272 PyObject *resultobj = 0;
14273 GCTAPointing *arg1 = 0 ;
14274 void *argp1 = 0 ;
14275 int res1 = 0 ;
14276 PyObject * obj0 = 0 ;
14277 GCTAPointing *result = 0 ;
14278
14279 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAPointing",&obj0)) SWIG_failgoto fail;
14280 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GCTAPointing, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[22]
, 0 | 0, 0)
;
14281 if (!SWIG_IsOK(res1)(res1 >= 0)) {
14282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAPointing" "', argument " "1"" of type '" "GCTAPointing const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAPointing" "', argument "
"1"" of type '" "GCTAPointing const &""'"); goto fail; }
while(0)
;
14283 }
14284 if (!argp1) {
14285 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAPointing" "', argument " "1"" of type '" "GCTAPointing const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAPointing" "', argument " "1"" of type '"
"GCTAPointing const &""'"); goto fail; } while(0)
;
14286 }
14287 arg1 = reinterpret_cast< GCTAPointing * >(argp1);
14288 {
14289 try {
14290 result = (GCTAPointing *)new GCTAPointing((GCTAPointing const &)*arg1);
14291 }
14292 catch (const GException::out_of_range& e) {
14293 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
14294 }
14295 catch (const GExceptionHandler& e) {
14296 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14297 }
14298 catch (const std::exception& e) {
14299 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14300 }
14301 }
14302 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAPointing, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[22], (
(0x1 << 1) | 0x1) | 0)
;
14303 return resultobj;
14304fail:
14305 return NULL__null;
14306}
14307
14308
14309SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAPointing(PyObject *self, PyObject *args) {
14310 int argc;
14311 PyObject *argv[2];
14312 int ii;
14313
14314 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
14315 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
14316 for (ii = 0; (ii < 1) && (ii < argc); ii++) {
14317 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
14318 }
14319 if (argc == 0) {
14320 return _wrap_new_GCTAPointing__SWIG_0(self, args);
14321 }
14322 if (argc == 1) {
14323 int _v;
14324 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GCTAPointing, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[22], 0, 0
)
;
14325 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
14326 if (_v) {
14327 return _wrap_new_GCTAPointing__SWIG_1(self, args);
14328 }
14329 }
14330
14331fail:
14332 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GCTAPointing'.\n"
14333 " Possible C/C++ prototypes are:\n"
14334 " GCTAPointing::GCTAPointing()\n"
14335 " GCTAPointing::GCTAPointing(GCTAPointing const &)\n");
14336 return 0;
14337}
14338
14339
14340SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GCTAPointing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14341 PyObject *resultobj = 0;
14342 GCTAPointing *arg1 = (GCTAPointing *) 0 ;
14343 void *argp1 = 0 ;
14344 int res1 = 0 ;
14345 PyObject * obj0 = 0 ;
14346
14347 if (!PyArg_ParseTuple(args,(char *)"O:delete_GCTAPointing",&obj0)) SWIG_failgoto fail;
14348 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPointing, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[22]
, 0x1 | 0, 0)
;
14349 if (!SWIG_IsOK(res1)(res1 >= 0)) {
14350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GCTAPointing" "', argument " "1"" of type '" "GCTAPointing *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GCTAPointing" "', argument "
"1"" of type '" "GCTAPointing *""'"); goto fail; } while(0)
;
14351 }
14352 arg1 = reinterpret_cast< GCTAPointing * >(argp1);
14353 {
14354 try {
14355 delete arg1;
14356 }
14357 catch (const GException::out_of_range& e) {
14358 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
14359 }
14360 catch (const GExceptionHandler& e) {
14361 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14362 }
14363 catch (const std::exception& e) {
14364 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14365 }
14366 }
14367 resultobj = SWIG_Py_Void();
14368 return resultobj;
14369fail:
14370 return NULL__null;
14371}
14372
14373
14374SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPointing_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14375 PyObject *resultobj = 0;
14376 GCTAPointing *arg1 = (GCTAPointing *) 0 ;
14377 void *argp1 = 0 ;
14378 int res1 = 0 ;
14379 PyObject * obj0 = 0 ;
14380
14381 if (!PyArg_ParseTuple(args,(char *)"O:GCTAPointing_clear",&obj0)) SWIG_failgoto fail;
14382 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPointing, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[22]
, 0 | 0, 0)
;
14383 if (!SWIG_IsOK(res1)(res1 >= 0)) {
14384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPointing_clear" "', argument " "1"" of type '" "GCTAPointing *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPointing_clear" "', argument "
"1"" of type '" "GCTAPointing *""'"); goto fail; } while(0)
;
14385 }
14386 arg1 = reinterpret_cast< GCTAPointing * >(argp1);
14387 {
14388 try {
14389 (arg1)->clear();
14390 }
14391 catch (const GException::out_of_range& e) {
14392 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
14393 }
14394 catch (const GExceptionHandler& e) {
14395 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14396 }
14397 catch (const std::exception& e) {
14398 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14399 }
14400 }
14401 resultobj = SWIG_Py_Void();
14402 return resultobj;
14403fail:
14404 return NULL__null;
14405}
14406
14407
14408SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPointing_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14409 PyObject *resultobj = 0;
14410 GCTAPointing *arg1 = (GCTAPointing *) 0 ;
14411 void *argp1 = 0 ;
14412 int res1 = 0 ;
14413 PyObject * obj0 = 0 ;
14414 GCTAPointing *result = 0 ;
14415
14416 if (!PyArg_ParseTuple(args,(char *)"O:GCTAPointing_clone",&obj0)) SWIG_failgoto fail;
14417 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPointing, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[22]
, 0 | 0, 0)
;
14418 if (!SWIG_IsOK(res1)(res1 >= 0)) {
14419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPointing_clone" "', argument " "1"" of type '" "GCTAPointing const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPointing_clone" "', argument "
"1"" of type '" "GCTAPointing const *""'"); goto fail; } while
(0)
;
14420 }
14421 arg1 = reinterpret_cast< GCTAPointing * >(argp1);
14422 {
14423 try {
14424 result = (GCTAPointing *)((GCTAPointing const *)arg1)->clone();
14425 }
14426 catch (const GException::out_of_range& e) {
14427 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
14428 }
14429 catch (const GExceptionHandler& e) {
14430 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14431 }
14432 catch (const std::exception& e) {
14433 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14434 }
14435 }
14436 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAPointing, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[22], 0
| 0)
;
14437 return resultobj;
14438fail:
14439 return NULL__null;
14440}
14441
14442
14443SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPointing_dir__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14444 PyObject *resultobj = 0;
14445 GCTAPointing *arg1 = (GCTAPointing *) 0 ;
14446 void *argp1 = 0 ;
14447 int res1 = 0 ;
14448 PyObject * obj0 = 0 ;
14449 GSkyDir *result = 0 ;
14450
14451 if (!PyArg_ParseTuple(args,(char *)"O:GCTAPointing_dir",&obj0)) SWIG_failgoto fail;
14452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPointing, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[22]
, 0 | 0, 0)
;
14453 if (!SWIG_IsOK(res1)(res1 >= 0)) {
14454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPointing_dir" "', argument " "1"" of type '" "GCTAPointing const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPointing_dir" "', argument "
"1"" of type '" "GCTAPointing const *""'"); goto fail; } while
(0)
;
14455 }
14456 arg1 = reinterpret_cast< GCTAPointing * >(argp1);
14457 {
14458 try {
14459 result = (GSkyDir *) &((GCTAPointing const *)arg1)->dir();
14460 }
14461 catch (const GException::out_of_range& e) {
14462 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
14463 }
14464 catch (const GExceptionHandler& e) {
14465 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14466 }
14467 catch (const std::exception& e) {
14468 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14469 }
14470 }
14471 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GSkyDir, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[60], 0
| 0)
;
14472 return resultobj;
14473fail:
14474 return NULL__null;
14475}
14476
14477
14478SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPointing_dir__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14479 PyObject *resultobj = 0;
14480 GCTAPointing *arg1 = (GCTAPointing *) 0 ;
14481 GSkyDir *arg2 = 0 ;
14482 void *argp1 = 0 ;
14483 int res1 = 0 ;
14484 void *argp2 = 0 ;
14485 int res2 = 0 ;
14486 PyObject * obj0 = 0 ;
14487 PyObject * obj1 = 0 ;
14488
14489 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAPointing_dir",&obj0,&obj1)) SWIG_failgoto fail;
14490 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPointing, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[22]
, 0 | 0, 0)
;
14491 if (!SWIG_IsOK(res1)(res1 >= 0)) {
14492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPointing_dir" "', argument " "1"" of type '" "GCTAPointing *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPointing_dir" "', argument "
"1"" of type '" "GCTAPointing *""'"); goto fail; } while(0)
;
14493 }
14494 arg1 = reinterpret_cast< GCTAPointing * >(argp1);
14495 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GSkyDir, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[60]
, 0 | 0, 0)
;
14496 if (!SWIG_IsOK(res2)(res2 >= 0)) {
14497 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAPointing_dir" "', argument " "2"" of type '" "GSkyDir const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAPointing_dir" "', argument "
"2"" of type '" "GSkyDir const &""'"); goto fail; } while
(0)
;
14498 }
14499 if (!argp2) {
14500 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAPointing_dir" "', argument " "2"" of type '" "GSkyDir const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAPointing_dir" "', argument " "2"" of type '"
"GSkyDir const &""'"); goto fail; } while(0)
;
14501 }
14502 arg2 = reinterpret_cast< GSkyDir * >(argp2);
14503 {
14504 try {
14505 (arg1)->dir((GSkyDir const &)*arg2);
14506 }
14507 catch (const GException::out_of_range& e) {
14508 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
14509 }
14510 catch (const GExceptionHandler& e) {
14511 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14512 }
14513 catch (const std::exception& e) {
14514 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14515 }
14516 }
14517 resultobj = SWIG_Py_Void();
14518 return resultobj;
14519fail:
14520 return NULL__null;
14521}
14522
14523
14524SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPointing_dir(PyObject *self, PyObject *args) {
14525 int argc;
14526 PyObject *argv[3];
14527 int ii;
14528
14529 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
14530 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
14531 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
14532 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
14533 }
14534 if (argc == 1) {
14535 int _v;
14536 void *vptr = 0;
14537 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPointing, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[22
], 0, 0)
;
14538 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
14539 if (_v) {
14540 return _wrap_GCTAPointing_dir__SWIG_0(self, args);
14541 }
14542 }
14543 if (argc == 2) {
14544 int _v;
14545 void *vptr = 0;
14546 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPointing, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[22
], 0, 0)
;
14547 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
14548 if (_v) {
14549 int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_GSkyDir, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], 0, swig_types[60], 0, 0
)
;
14550 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
14551 if (_v) {
14552 return _wrap_GCTAPointing_dir__SWIG_1(self, args);
14553 }
14554 }
14555 }
14556
14557fail:
14558 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAPointing_dir'.\n"
14559 " Possible C/C++ prototypes are:\n"
14560 " GCTAPointing::dir() const\n"
14561 " GCTAPointing::dir(GSkyDir const &)\n");
14562 return 0;
14563}
14564
14565
14566SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPointing_rot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14567 PyObject *resultobj = 0;
14568 GCTAPointing *arg1 = (GCTAPointing *) 0 ;
14569 void *argp1 = 0 ;
14570 int res1 = 0 ;
14571 PyObject * obj0 = 0 ;
14572 GMatrix *result = 0 ;
14573
14574 if (!PyArg_ParseTuple(args,(char *)"O:GCTAPointing_rot",&obj0)) SWIG_failgoto fail;
14575 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPointing, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[22]
, 0 | 0, 0)
;
14576 if (!SWIG_IsOK(res1)(res1 >= 0)) {
14577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPointing_rot" "', argument " "1"" of type '" "GCTAPointing const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPointing_rot" "', argument "
"1"" of type '" "GCTAPointing const *""'"); goto fail; } while
(0)
;
14578 }
14579 arg1 = reinterpret_cast< GCTAPointing * >(argp1);
14580 {
14581 try {
14582 result = (GMatrix *) &((GCTAPointing const *)arg1)->rot();
14583 }
14584 catch (const GException::out_of_range& e) {
14585 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
14586 }
14587 catch (const GExceptionHandler& e) {
14588 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14589 }
14590 catch (const std::exception& e) {
14591 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14592 }
14593 }
14594 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GMatrix, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[44], 0
| 0)
;
14595 return resultobj;
14596fail:
14597 return NULL__null;
14598}
14599
14600
14601SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPointing_zenith(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14602 PyObject *resultobj = 0;
14603 GCTAPointing *arg1 = (GCTAPointing *) 0 ;
14604 void *argp1 = 0 ;
14605 int res1 = 0 ;
14606 PyObject * obj0 = 0 ;
14607 double *result = 0 ;
14608
14609 if (!PyArg_ParseTuple(args,(char *)"O:GCTAPointing_zenith",&obj0)) SWIG_failgoto fail;
14610 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPointing, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[22]
, 0 | 0, 0)
;
14611 if (!SWIG_IsOK(res1)(res1 >= 0)) {
14612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPointing_zenith" "', argument " "1"" of type '" "GCTAPointing const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPointing_zenith" "', argument "
"1"" of type '" "GCTAPointing const *""'"); goto fail; } while
(0)
;
14613 }
14614 arg1 = reinterpret_cast< GCTAPointing * >(argp1);
14615 {
14616 try {
14617 result = (double *) &((GCTAPointing const *)arg1)->zenith();
14618 }
14619 catch (const GException::out_of_range& e) {
14620 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
14621 }
14622 catch (const GExceptionHandler& e) {
14623 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14624 }
14625 catch (const std::exception& e) {
14626 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14627 }
14628 }
14629 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(*result));
14630 return resultobj;
14631fail:
14632 return NULL__null;
14633}
14634
14635
14636SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPointing_azimuth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14637 PyObject *resultobj = 0;
14638 GCTAPointing *arg1 = (GCTAPointing *) 0 ;
14639 void *argp1 = 0 ;
14640 int res1 = 0 ;
14641 PyObject * obj0 = 0 ;
14642 double *result = 0 ;
14643
14644 if (!PyArg_ParseTuple(args,(char *)"O:GCTAPointing_azimuth",&obj0)) SWIG_failgoto fail;
14645 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPointing, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[22]
, 0 | 0, 0)
;
14646 if (!SWIG_IsOK(res1)(res1 >= 0)) {
14647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPointing_azimuth" "', argument " "1"" of type '" "GCTAPointing const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPointing_azimuth" "', argument "
"1"" of type '" "GCTAPointing const *""'"); goto fail; } while
(0)
;
14648 }
14649 arg1 = reinterpret_cast< GCTAPointing * >(argp1);
14650 {
14651 try {
14652 result = (double *) &((GCTAPointing const *)arg1)->azimuth();
14653 }
14654 catch (const GException::out_of_range& e) {
14655 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
14656 }
14657 catch (const GExceptionHandler& e) {
14658 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14659 }
14660 catch (const std::exception& e) {
14661 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14662 }
14663 }
14664 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(*result));
14665 return resultobj;
14666fail:
14667 return NULL__null;
14668}
14669
14670
14671SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPointing_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14672 PyObject *resultobj = 0;
14673 GCTAPointing *arg1 = (GCTAPointing *) 0 ;
14674 void *argp1 = 0 ;
14675 int res1 = 0 ;
14676 PyObject * obj0 = 0 ;
14677 GCTAPointing result;
14678
14679 if (!PyArg_ParseTuple(args,(char *)"O:GCTAPointing_copy",&obj0)) SWIG_failgoto fail;
14680 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPointing, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[22]
, 0 | 0, 0)
;
14681 if (!SWIG_IsOK(res1)(res1 >= 0)) {
14682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPointing_copy" "', argument " "1"" of type '" "GCTAPointing *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPointing_copy" "', argument "
"1"" of type '" "GCTAPointing *""'"); goto fail; } while(0)
;
14683 }
14684 arg1 = reinterpret_cast< GCTAPointing * >(argp1);
14685 {
14686 try {
14687 result = GCTAPointing_copy(arg1);
14688 }
14689 catch (const GException::out_of_range& e) {
14690 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
14691 }
14692 catch (const GExceptionHandler& e) {
14693 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14694 }
14695 catch (const std::exception& e) {
14696 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14697 }
14698 }
14699 resultobj = SWIG_NewPointerObj((new GCTAPointing(static_cast< const GCTAPointing& >(result))), SWIGTYPE_p_GCTAPointing, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GCTAPointing(static_cast
< const GCTAPointing& >(result))), swig_types[22], 0x1
| 0)
;
14700 return resultobj;
14701fail:
14702 return NULL__null;
14703}
14704
14705
14706SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GCTAPointing_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14707 PyObject *obj;
14708 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
14709 SWIG_TypeNewClientData(SWIGTYPE_p_GCTAPointingswig_types[22], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
14710 return SWIG_Py_Void();
14711}
14712
14713SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAResponse__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14714 PyObject *resultobj = 0;
14715 GCTAResponse *result = 0 ;
14716
14717 if (!PyArg_ParseTuple(args,(char *)":new_GCTAResponse")) SWIG_failgoto fail;
14718 {
14719 try {
14720 result = (GCTAResponse *)new GCTAResponse();
14721 }
14722 catch (const GException::out_of_range& e) {
14723 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
14724 }
14725 catch (const GExceptionHandler& e) {
14726 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14727 }
14728 catch (const std::exception& e) {
14729 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14730 }
14731 }
14732 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAResponse, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[28], (
(0x1 << 1) | 0x1) | 0)
;
14733 return resultobj;
14734fail:
14735 return NULL__null;
14736}
14737
14738
14739SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAResponse__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14740 PyObject *resultobj = 0;
14741 GCTAResponse *arg1 = 0 ;
14742 void *argp1 = 0 ;
14743 int res1 = 0 ;
14744 PyObject * obj0 = 0 ;
14745 GCTAResponse *result = 0 ;
14746
14747 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAResponse",&obj0)) SWIG_failgoto fail;
14748 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GCTAResponse, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
14749 if (!SWIG_IsOK(res1)(res1 >= 0)) {
14750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAResponse" "', argument " "1"" of type '" "GCTAResponse const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAResponse" "', argument "
"1"" of type '" "GCTAResponse const &""'"); goto fail; }
while(0)
;
14751 }
14752 if (!argp1) {
14753 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAResponse" "', argument " "1"" of type '" "GCTAResponse const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAResponse" "', argument " "1"" of type '"
"GCTAResponse const &""'"); goto fail; } while(0)
;
14754 }
14755 arg1 = reinterpret_cast< GCTAResponse * >(argp1);
14756 {
14757 try {
14758 result = (GCTAResponse *)new GCTAResponse((GCTAResponse const &)*arg1);
14759 }
14760 catch (const GException::out_of_range& e) {
14761 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
14762 }
14763 catch (const GExceptionHandler& e) {
14764 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14765 }
14766 catch (const std::exception& e) {
14767 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14768 }
14769 }
14770 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAResponse, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[28], (
(0x1 << 1) | 0x1) | 0)
;
14771 return resultobj;
14772fail:
14773 return NULL__null;
14774}
14775
14776
14777SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAResponse__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14778 PyObject *resultobj = 0;
14779 std::string *arg1 = 0 ;
14780 std::string *arg2 = 0 ;
14781 int res1 = SWIG_OLDOBJ((0)) ;
14782 int res2 = SWIG_OLDOBJ((0)) ;
14783 PyObject * obj0 = 0 ;
14784 PyObject * obj1 = 0 ;
14785 GCTAResponse *result = 0 ;
14786
14787 if (!PyArg_ParseTuple(args,(char *)"OO:new_GCTAResponse",&obj0,&obj1)) SWIG_failgoto fail;
14788 {
14789 std::string *ptr = (std::string *)0;
14790 res1 = SWIG_AsPtr_std_string(obj0, &ptr);
14791 if (!SWIG_IsOK(res1)(res1 >= 0)) {
14792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAResponse" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAResponse" "', argument "
"1"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
14793 }
14794 if (!ptr) {
14795 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAResponse" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAResponse" "', argument " "1"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
14796 }
14797 arg1 = ptr;
14798 }
14799 {
14800 std::string *ptr = (std::string *)0;
14801 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
14802 if (!SWIG_IsOK(res2)(res2 >= 0)) {
14803 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_GCTAResponse" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "new_GCTAResponse" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
14804 }
14805 if (!ptr) {
14806 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAResponse" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAResponse" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
14807 }
14808 arg2 = ptr;
14809 }
14810 {
14811 try {
14812 result = (GCTAResponse *)new GCTAResponse((std::string const &)*arg1,(std::string const &)*arg2);
14813 }
14814 catch (const GException::out_of_range& e) {
14815 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
14816 }
14817 catch (const GExceptionHandler& e) {
14818 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14819 }
14820 catch (const std::exception& e) {
14821 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14822 }
14823 }
14824 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAResponse, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[28], (
(0x1 << 1) | 0x1) | 0)
;
14825 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
14826 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
14827 return resultobj;
14828fail:
14829 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
14830 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
14831 return NULL__null;
14832}
14833
14834
14835SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAResponse__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14836 PyObject *resultobj = 0;
14837 std::string *arg1 = 0 ;
14838 int res1 = SWIG_OLDOBJ((0)) ;
14839 PyObject * obj0 = 0 ;
14840 GCTAResponse *result = 0 ;
14841
14842 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAResponse",&obj0)) SWIG_failgoto fail;
14843 {
14844 std::string *ptr = (std::string *)0;
14845 res1 = SWIG_AsPtr_std_string(obj0, &ptr);
14846 if (!SWIG_IsOK(res1)(res1 >= 0)) {
14847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAResponse" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAResponse" "', argument "
"1"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
14848 }
14849 if (!ptr) {
14850 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAResponse" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAResponse" "', argument " "1"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
14851 }
14852 arg1 = ptr;
14853 }
14854 {
14855 try {
14856 result = (GCTAResponse *)new GCTAResponse((std::string const &)*arg1);
14857 }
14858 catch (const GException::out_of_range& e) {
14859 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
14860 }
14861 catch (const GExceptionHandler& e) {
14862 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14863 }
14864 catch (const std::exception& e) {
14865 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14866 }
14867 }
14868 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAResponse, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[28], (
(0x1 << 1) | 0x1) | 0)
;
14869 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
14870 return resultobj;
14871fail:
14872 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
14873 return NULL__null;
14874}
14875
14876
14877SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAResponse(PyObject *self, PyObject *args) {
14878 int argc;
14879 PyObject *argv[3];
14880 int ii;
14881
14882 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
14883 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
14884 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
14885 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
14886 }
14887 if (argc == 0) {
14888 return _wrap_new_GCTAResponse__SWIG_0(self, args);
14889 }
14890 if (argc == 1) {
14891 int _v;
14892 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GCTAResponse, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[28], 0, 0
)
;
14893 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
14894 if (_v) {
14895 return _wrap_new_GCTAResponse__SWIG_1(self, args);
14896 }
14897 }
14898 if (argc == 1) {
14899 int _v;
14900 int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
14901 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
14902 if (_v) {
14903 return _wrap_new_GCTAResponse__SWIG_3(self, args);
14904 }
14905 }
14906 if (argc == 2) {
14907 int _v;
14908 int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
14909 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
14910 if (_v) {
14911 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
14912 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
14913 if (_v) {
14914 return _wrap_new_GCTAResponse__SWIG_2(self, args);
14915 }
14916 }
14917 }
14918
14919fail:
14920 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GCTAResponse'.\n"
14921 " Possible C/C++ prototypes are:\n"
14922 " GCTAResponse::GCTAResponse()\n"
14923 " GCTAResponse::GCTAResponse(GCTAResponse const &)\n"
14924 " GCTAResponse::GCTAResponse(std::string const &,std::string const &)\n"
14925 " GCTAResponse::GCTAResponse(std::string const &)\n");
14926 return 0;
14927}
14928
14929
14930SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GCTAResponse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14931 PyObject *resultobj = 0;
14932 GCTAResponse *arg1 = (GCTAResponse *) 0 ;
14933 void *argp1 = 0 ;
14934 int res1 = 0 ;
14935 PyObject * obj0 = 0 ;
14936
14937 if (!PyArg_ParseTuple(args,(char *)"O:delete_GCTAResponse",&obj0)) SWIG_failgoto fail;
14938 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponse, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0x1 | 0, 0)
;
14939 if (!SWIG_IsOK(res1)(res1 >= 0)) {
14940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GCTAResponse" "', argument " "1"" of type '" "GCTAResponse *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GCTAResponse" "', argument "
"1"" of type '" "GCTAResponse *""'"); goto fail; } while(0)
;
14941 }
14942 arg1 = reinterpret_cast< GCTAResponse * >(argp1);
14943 {
14944 try {
14945 delete arg1;
14946 }
14947 catch (const GException::out_of_range& e) {
14948 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
14949 }
14950 catch (const GExceptionHandler& e) {
14951 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14952 }
14953 catch (const std::exception& e) {
14954 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14955 }
14956 }
14957 resultobj = SWIG_Py_Void();
14958 return resultobj;
14959fail:
14960 return NULL__null;
14961}
14962
14963
14964SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponse_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14965 PyObject *resultobj = 0;
14966 GCTAResponse *arg1 = (GCTAResponse *) 0 ;
14967 void *argp1 = 0 ;
14968 int res1 = 0 ;
14969 PyObject * obj0 = 0 ;
14970
14971 if (!PyArg_ParseTuple(args,(char *)"O:GCTAResponse_clear",&obj0)) SWIG_failgoto fail;
14972 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponse, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
14973 if (!SWIG_IsOK(res1)(res1 >= 0)) {
14974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponse_clear" "', argument " "1"" of type '" "GCTAResponse *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponse_clear" "', argument "
"1"" of type '" "GCTAResponse *""'"); goto fail; } while(0)
;
14975 }
14976 arg1 = reinterpret_cast< GCTAResponse * >(argp1);
14977 {
14978 try {
14979 (arg1)->clear();
14980 }
14981 catch (const GException::out_of_range& e) {
14982 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
14983 }
14984 catch (const GExceptionHandler& e) {
14985 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14986 }
14987 catch (const std::exception& e) {
14988 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14989 }
14990 }
14991 resultobj = SWIG_Py_Void();
14992 return resultobj;
14993fail:
14994 return NULL__null;
14995}
14996
14997
14998SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponse_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14999 PyObject *resultobj = 0;
15000 GCTAResponse *arg1 = (GCTAResponse *) 0 ;
15001 void *argp1 = 0 ;
15002 int res1 = 0 ;
15003 PyObject * obj0 = 0 ;
15004 GCTAResponse *result = 0 ;
15005
15006 if (!PyArg_ParseTuple(args,(char *)"O:GCTAResponse_clone",&obj0)) SWIG_failgoto fail;
15007 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponse, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
15008 if (!SWIG_IsOK(res1)(res1 >= 0)) {
15009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponse_clone" "', argument " "1"" of type '" "GCTAResponse const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponse_clone" "', argument "
"1"" of type '" "GCTAResponse const *""'"); goto fail; } while
(0)
;
15010 }
15011 arg1 = reinterpret_cast< GCTAResponse * >(argp1);
15012 {
15013 try {
15014 result = (GCTAResponse *)((GCTAResponse const *)arg1)->clone();
15015 }
15016 catch (const GException::out_of_range& e) {
15017 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
15018 }
15019 catch (const GExceptionHandler& e) {
15020 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15021 }
15022 catch (const std::exception& e) {
15023 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15024 }
15025 }
15026 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAResponse, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[28], 0
| 0)
;
15027 return resultobj;
15028fail:
15029 return NULL__null;
15030}
15031
15032
15033SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponse_hasedisp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15034 PyObject *resultobj = 0;
15035 GCTAResponse *arg1 = (GCTAResponse *) 0 ;
15036 void *argp1 = 0 ;
15037 int res1 = 0 ;
15038 PyObject * obj0 = 0 ;
15039 bool result;
15040
15041 if (!PyArg_ParseTuple(args,(char *)"O:GCTAResponse_hasedisp",&obj0)) SWIG_failgoto fail;
15042 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponse, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
15043 if (!SWIG_IsOK(res1)(res1 >= 0)) {
15044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponse_hasedisp" "', argument " "1"" of type '" "GCTAResponse const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponse_hasedisp" "', argument "
"1"" of type '" "GCTAResponse const *""'"); goto fail; } while
(0)
;
15045 }
15046 arg1 = reinterpret_cast< GCTAResponse * >(argp1);
15047 {
15048 try {
15049 result = (bool)((GCTAResponse const *)arg1)->hasedisp();
15050 }
15051 catch (const GException::out_of_range& e) {
15052 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
15053 }
15054 catch (const GExceptionHandler& e) {
15055 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15056 }
15057 catch (const std::exception& e) {
15058 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15059 }
15060 }
15061 resultobj = SWIG_From_bool(static_cast< bool >(result));
15062 return resultobj;
15063fail:
15064 return NULL__null;
15065}
15066
15067
15068SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponse_hastdisp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15069 PyObject *resultobj = 0;
15070 GCTAResponse *arg1 = (GCTAResponse *) 0 ;
15071 void *argp1 = 0 ;
15072 int res1 = 0 ;
15073 PyObject * obj0 = 0 ;
15074 bool result;
15075
15076 if (!PyArg_ParseTuple(args,(char *)"O:GCTAResponse_hastdisp",&obj0)) SWIG_failgoto fail;
15077 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponse, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
15078 if (!SWIG_IsOK(res1)(res1 >= 0)) {
15079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponse_hastdisp" "', argument " "1"" of type '" "GCTAResponse const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponse_hastdisp" "', argument "
"1"" of type '" "GCTAResponse const *""'"); goto fail; } while
(0)
;
15080 }
15081 arg1 = reinterpret_cast< GCTAResponse * >(argp1);
15082 {
15083 try {
15084 result = (bool)((GCTAResponse const *)arg1)->hastdisp();
15085 }
15086 catch (const GException::out_of_range& e) {
15087 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
15088 }
15089 catch (const GExceptionHandler& e) {
15090 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15091 }
15092 catch (const std::exception& e) {
15093 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15094 }
15095 }
15096 resultobj = SWIG_From_bool(static_cast< bool >(result));
15097 return resultobj;
15098fail:
15099 return NULL__null;
15100}
15101
15102
15103SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponse_irf(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15104 PyObject *resultobj = 0;
15105 GCTAResponse *arg1 = (GCTAResponse *) 0 ;
15106 GEvent *arg2 = 0 ;
15107 GPhoton *arg3 = 0 ;
15108 GObservation *arg4 = 0 ;
15109 void *argp1 = 0 ;
15110 int res1 = 0 ;
15111 void *argp2 = 0 ;
15112 int res2 = 0 ;
15113 void *argp3 = 0 ;
15114 int res3 = 0 ;
15115 void *argp4 = 0 ;
15116 int res4 = 0 ;
15117 PyObject * obj0 = 0 ;
15118 PyObject * obj1 = 0 ;
15119 PyObject * obj2 = 0 ;
15120 PyObject * obj3 = 0 ;
15121 double result;
15122
15123 if (!PyArg_ParseTuple(args,(char *)"OOOO:GCTAResponse_irf",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
15124 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponse, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
15125 if (!SWIG_IsOK(res1)(res1 >= 0)) {
15126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponse_irf" "', argument " "1"" of type '" "GCTAResponse const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponse_irf" "', argument "
"1"" of type '" "GCTAResponse const *""'"); goto fail; } while
(0)
;
15127 }
15128 arg1 = reinterpret_cast< GCTAResponse * >(argp1);
15129 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GEvent, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[34]
, 0 | 0, 0)
;
15130 if (!SWIG_IsOK(res2)(res2 >= 0)) {
15131 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAResponse_irf" "', argument " "2"" of type '" "GEvent const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAResponse_irf" "', argument "
"2"" of type '" "GEvent const &""'"); goto fail; } while
(0)
;
15132 }
15133 if (!argp2) {
15134 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAResponse_irf" "', argument " "2"" of type '" "GEvent const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAResponse_irf" "', argument " "2"" of type '"
"GEvent const &""'"); goto fail; } while(0)
;
15135 }
15136 arg2 = reinterpret_cast< GEvent * >(argp2);
15137 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GPhoton, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[54]
, 0 | 0, 0)
;
15138 if (!SWIG_IsOK(res3)(res3 >= 0)) {
15139 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GCTAResponse_irf" "', argument " "3"" of type '" "GPhoton const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GCTAResponse_irf" "', argument "
"3"" of type '" "GPhoton const &""'"); goto fail; } while
(0)
;
15140 }
15141 if (!argp3) {
15142 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAResponse_irf" "', argument " "3"" of type '" "GPhoton const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAResponse_irf" "', argument " "3"" of type '"
"GPhoton const &""'"); goto fail; } while(0)
;
15143 }
15144 arg3 = reinterpret_cast< GPhoton * >(argp3);
15145 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_GObservation, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj3, &argp4, swig_types[52]
, 0 | 0, 0)
;
15146 if (!SWIG_IsOK(res4)(res4 >= 0)) {
15147 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "GCTAResponse_irf" "', argument " "4"" of type '" "GObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res4 != (
-1)) ? res4 : -5)), "in method '" "GCTAResponse_irf" "', argument "
"4"" of type '" "GObservation const &""'"); goto fail; }
while(0)
;
15148 }
15149 if (!argp4) {
15150 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAResponse_irf" "', argument " "4"" of type '" "GObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAResponse_irf" "', argument " "4"" of type '"
"GObservation const &""'"); goto fail; } while(0)
;
15151 }
15152 arg4 = reinterpret_cast< GObservation * >(argp4);
15153 {
15154 try {
15155 result = (double)((GCTAResponse const *)arg1)->irf((GEvent const &)*arg2,(GPhoton const &)*arg3,(GObservation const &)*arg4);
15156 }
15157 catch (const GException::out_of_range& e) {
15158 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
15159 }
15160 catch (const GExceptionHandler& e) {
15161 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15162 }
15163 catch (const std::exception& e) {
15164 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15165 }
15166 }
15167 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
15168 return resultobj;
15169fail:
15170 return NULL__null;
15171}
15172
15173
15174SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponse_npred(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15175 PyObject *resultobj = 0;
15176 GCTAResponse *arg1 = (GCTAResponse *) 0 ;
15177 GPhoton *arg2 = 0 ;
15178 GObservation *arg3 = 0 ;
15179 void *argp1 = 0 ;
15180 int res1 = 0 ;
15181 void *argp2 = 0 ;
15182 int res2 = 0 ;
15183 void *argp3 = 0 ;
15184 int res3 = 0 ;
15185 PyObject * obj0 = 0 ;
15186 PyObject * obj1 = 0 ;
15187 PyObject * obj2 = 0 ;
15188 double result;
15189
15190 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAResponse_npred",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
15191 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponse, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
15192 if (!SWIG_IsOK(res1)(res1 >= 0)) {
15193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponse_npred" "', argument " "1"" of type '" "GCTAResponse const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponse_npred" "', argument "
"1"" of type '" "GCTAResponse const *""'"); goto fail; } while
(0)
;
15194 }
15195 arg1 = reinterpret_cast< GCTAResponse * >(argp1);
15196 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GPhoton, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[54]
, 0 | 0, 0)
;
15197 if (!SWIG_IsOK(res2)(res2 >= 0)) {
15198 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAResponse_npred" "', argument " "2"" of type '" "GPhoton const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAResponse_npred" "', argument "
"2"" of type '" "GPhoton const &""'"); goto fail; } while
(0)
;
15199 }
15200 if (!argp2) {
15201 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAResponse_npred" "', argument " "2"" of type '" "GPhoton const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAResponse_npred" "', argument " "2"" of type '"
"GPhoton const &""'"); goto fail; } while(0)
;
15202 }
15203 arg2 = reinterpret_cast< GPhoton * >(argp2);
15204 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GObservation, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[52]
, 0 | 0, 0)
;
15205 if (!SWIG_IsOK(res3)(res3 >= 0)) {
15206 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GCTAResponse_npred" "', argument " "3"" of type '" "GObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GCTAResponse_npred" "', argument "
"3"" of type '" "GObservation const &""'"); goto fail; }
while(0)
;
15207 }
15208 if (!argp3) {
15209 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAResponse_npred" "', argument " "3"" of type '" "GObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAResponse_npred" "', argument " "3"" of type '"
"GObservation const &""'"); goto fail; } while(0)
;
15210 }
15211 arg3 = reinterpret_cast< GObservation * >(argp3);
15212 {
15213 try {
15214 result = (double)((GCTAResponse const *)arg1)->npred((GPhoton const &)*arg2,(GObservation const &)*arg3);
15215 }
15216 catch (const GException::out_of_range& e) {
15217 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
15218 }
15219 catch (const GExceptionHandler& e) {
15220 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15221 }
15222 catch (const std::exception& e) {
15223 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15224 }
15225 }
15226 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
15227 return resultobj;
15228fail:
15229 return NULL__null;
15230}
15231
15232
15233SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponse_irf_radial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15234 PyObject *resultobj = 0;
15235 GCTAResponse *arg1 = (GCTAResponse *) 0 ;
15236 GEvent *arg2 = 0 ;
15237 GSource *arg3 = 0 ;
15238 GObservation *arg4 = 0 ;
15239 void *argp1 = 0 ;
15240 int res1 = 0 ;
15241 void *argp2 = 0 ;
15242 int res2 = 0 ;
15243 void *argp3 = 0 ;
15244 int res3 = 0 ;
15245 void *argp4 = 0 ;
15246 int res4 = 0 ;
15247 PyObject * obj0 = 0 ;
15248 PyObject * obj1 = 0 ;
15249 PyObject * obj2 = 0 ;
15250 PyObject * obj3 = 0 ;
15251 double result;
15252
15253 if (!PyArg_ParseTuple(args,(char *)"OOOO:GCTAResponse_irf_radial",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
15254 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponse, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
15255 if (!SWIG_IsOK(res1)(res1 >= 0)) {
15256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponse_irf_radial" "', argument " "1"" of type '" "GCTAResponse const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponse_irf_radial" "', argument "
"1"" of type '" "GCTAResponse const *""'"); goto fail; } while
(0)
;
15257 }
15258 arg1 = reinterpret_cast< GCTAResponse * >(argp1);
15259 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GEvent, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[34]
, 0 | 0, 0)
;
15260 if (!SWIG_IsOK(res2)(res2 >= 0)) {
15261 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAResponse_irf_radial" "', argument " "2"" of type '" "GEvent const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAResponse_irf_radial" "', argument "
"2"" of type '" "GEvent const &""'"); goto fail; } while
(0)
;
15262 }
15263 if (!argp2) {
15264 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAResponse_irf_radial" "', argument " "2"" of type '" "GEvent const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAResponse_irf_radial" "', argument " "2"" of type '"
"GEvent const &""'"); goto fail; } while(0)
;
15265 }
15266 arg2 = reinterpret_cast< GEvent * >(argp2);
15267 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GSource, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[63]
, 0 | 0, 0)
;
15268 if (!SWIG_IsOK(res3)(res3 >= 0)) {
15269 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GCTAResponse_irf_radial" "', argument " "3"" of type '" "GSource const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GCTAResponse_irf_radial" "', argument "
"3"" of type '" "GSource const &""'"); goto fail; } while
(0)
;
15270 }
15271 if (!argp3) {
15272 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAResponse_irf_radial" "', argument " "3"" of type '" "GSource const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAResponse_irf_radial" "', argument " "3"" of type '"
"GSource const &""'"); goto fail; } while(0)
;
15273 }
15274 arg3 = reinterpret_cast< GSource * >(argp3);
15275 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_GObservation, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj3, &argp4, swig_types[52]
, 0 | 0, 0)
;
15276 if (!SWIG_IsOK(res4)(res4 >= 0)) {
15277 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "GCTAResponse_irf_radial" "', argument " "4"" of type '" "GObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res4 != (
-1)) ? res4 : -5)), "in method '" "GCTAResponse_irf_radial" "', argument "
"4"" of type '" "GObservation const &""'"); goto fail; }
while(0)
;
15278 }
15279 if (!argp4) {
15280 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAResponse_irf_radial" "', argument " "4"" of type '" "GObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAResponse_irf_radial" "', argument " "4"" of type '"
"GObservation const &""'"); goto fail; } while(0)
;
15281 }
15282 arg4 = reinterpret_cast< GObservation * >(argp4);
15283 {
15284 try {
15285 result = (double)((GCTAResponse const *)arg1)->irf_radial((GEvent const &)*arg2,(GSource const &)*arg3,(GObservation const &)*arg4);
15286 }
15287 catch (const GException::out_of_range& e) {
15288 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
15289 }
15290 catch (const GExceptionHandler& e) {
15291 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15292 }
15293 catch (const std::exception& e) {
15294 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15295 }
15296 }
15297 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
15298 return resultobj;
15299fail:
15300 return NULL__null;
15301}
15302
15303
15304SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponse_irf_diffuse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15305 PyObject *resultobj = 0;
15306 GCTAResponse *arg1 = (GCTAResponse *) 0 ;
15307 GEvent *arg2 = 0 ;
15308 GSource *arg3 = 0 ;
15309 GObservation *arg4 = 0 ;
15310 void *argp1 = 0 ;
15311 int res1 = 0 ;
15312 void *argp2 = 0 ;
15313 int res2 = 0 ;
15314 void *argp3 = 0 ;
15315 int res3 = 0 ;
15316 void *argp4 = 0 ;
15317 int res4 = 0 ;
15318 PyObject * obj0 = 0 ;
15319 PyObject * obj1 = 0 ;
15320 PyObject * obj2 = 0 ;
15321 PyObject * obj3 = 0 ;
15322 double result;
15323
15324 if (!PyArg_ParseTuple(args,(char *)"OOOO:GCTAResponse_irf_diffuse",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
15325 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponse, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
15326 if (!SWIG_IsOK(res1)(res1 >= 0)) {
15327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponse_irf_diffuse" "', argument " "1"" of type '" "GCTAResponse const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponse_irf_diffuse" "', argument "
"1"" of type '" "GCTAResponse const *""'"); goto fail; } while
(0)
;
15328 }
15329 arg1 = reinterpret_cast< GCTAResponse * >(argp1);
15330 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GEvent, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[34]
, 0 | 0, 0)
;
15331 if (!SWIG_IsOK(res2)(res2 >= 0)) {
15332 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAResponse_irf_diffuse" "', argument " "2"" of type '" "GEvent const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAResponse_irf_diffuse" "', argument "
"2"" of type '" "GEvent const &""'"); goto fail; } while
(0)
;
15333 }
15334 if (!argp2) {
15335 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAResponse_irf_diffuse" "', argument " "2"" of type '" "GEvent const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAResponse_irf_diffuse" "', argument " "2"" of type '"
"GEvent const &""'"); goto fail; } while(0)
;
15336 }
15337 arg2 = reinterpret_cast< GEvent * >(argp2);
15338 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GSource, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[63]
, 0 | 0, 0)
;
15339 if (!SWIG_IsOK(res3)(res3 >= 0)) {
15340 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GCTAResponse_irf_diffuse" "', argument " "3"" of type '" "GSource const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GCTAResponse_irf_diffuse" "', argument "
"3"" of type '" "GSource const &""'"); goto fail; } while
(0)
;
15341 }
15342 if (!argp3) {
15343 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAResponse_irf_diffuse" "', argument " "3"" of type '" "GSource const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAResponse_irf_diffuse" "', argument " "3"" of type '"
"GSource const &""'"); goto fail; } while(0)
;
15344 }
15345 arg3 = reinterpret_cast< GSource * >(argp3);
15346 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_GObservation, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj3, &argp4, swig_types[52]
, 0 | 0, 0)
;
15347 if (!SWIG_IsOK(res4)(res4 >= 0)) {
15348 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "GCTAResponse_irf_diffuse" "', argument " "4"" of type '" "GObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res4 != (
-1)) ? res4 : -5)), "in method '" "GCTAResponse_irf_diffuse" "', argument "
"4"" of type '" "GObservation const &""'"); goto fail; }
while(0)
;
15349 }
15350 if (!argp4) {
15351 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAResponse_irf_diffuse" "', argument " "4"" of type '" "GObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAResponse_irf_diffuse" "', argument " "4"" of type '"
"GObservation const &""'"); goto fail; } while(0)
;
15352 }
15353 arg4 = reinterpret_cast< GObservation * >(argp4);
15354 {
15355 try {
15356 result = (double)((GCTAResponse const *)arg1)->irf_diffuse((GEvent const &)*arg2,(GSource const &)*arg3,(GObservation const &)*arg4);
15357 }
15358 catch (const GException::out_of_range& e) {
15359 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
15360 }
15361 catch (const GExceptionHandler& e) {
15362 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15363 }
15364 catch (const std::exception& e) {
15365 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15366 }
15367 }
15368 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
15369 return resultobj;
15370fail:
15371 return NULL__null;
15372}
15373
15374
15375SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponse_npred_radial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15376 PyObject *resultobj = 0;
15377 GCTAResponse *arg1 = (GCTAResponse *) 0 ;
15378 GSource *arg2 = 0 ;
15379 GObservation *arg3 = 0 ;
15380 void *argp1 = 0 ;
15381 int res1 = 0 ;
15382 void *argp2 = 0 ;
15383 int res2 = 0 ;
15384 void *argp3 = 0 ;
15385 int res3 = 0 ;
15386 PyObject * obj0 = 0 ;
15387 PyObject * obj1 = 0 ;
15388 PyObject * obj2 = 0 ;
15389 double result;
15390
15391 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAResponse_npred_radial",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
15392 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponse, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
15393 if (!SWIG_IsOK(res1)(res1 >= 0)) {
15394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponse_npred_radial" "', argument " "1"" of type '" "GCTAResponse const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponse_npred_radial"
"', argument " "1"" of type '" "GCTAResponse const *""'"); goto
fail; } while(0)
;
15395 }
15396 arg1 = reinterpret_cast< GCTAResponse * >(argp1);
15397 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GSource, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[63]
, 0 | 0, 0)
;
15398 if (!SWIG_IsOK(res2)(res2 >= 0)) {
15399 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAResponse_npred_radial" "', argument " "2"" of type '" "GSource const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAResponse_npred_radial"
"', argument " "2"" of type '" "GSource const &""'"); goto
fail; } while(0)
;
15400 }
15401 if (!argp2) {
15402 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAResponse_npred_radial" "', argument " "2"" of type '" "GSource const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAResponse_npred_radial" "', argument " "2"
" of type '" "GSource const &""'"); goto fail; } while(0)
;
15403 }
15404 arg2 = reinterpret_cast< GSource * >(argp2);
15405 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GObservation, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[52]
, 0 | 0, 0)
;
15406 if (!SWIG_IsOK(res3)(res3 >= 0)) {
15407 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GCTAResponse_npred_radial" "', argument " "3"" of type '" "GObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GCTAResponse_npred_radial"
"', argument " "3"" of type '" "GObservation const &""'"
); goto fail; } while(0)
;
15408 }
15409 if (!argp3) {
15410 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAResponse_npred_radial" "', argument " "3"" of type '" "GObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAResponse_npred_radial" "', argument " "3"
" of type '" "GObservation const &""'"); goto fail; } while
(0)
;
15411 }
15412 arg3 = reinterpret_cast< GObservation * >(argp3);
15413 {
15414 try {
15415 result = (double)((GCTAResponse const *)arg1)->npred_radial((GSource const &)*arg2,(GObservation const &)*arg3);
15416 }
15417 catch (const GException::out_of_range& e) {
15418 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
15419 }
15420 catch (const GExceptionHandler& e) {
15421 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15422 }
15423 catch (const std::exception& e) {
15424 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15425 }
15426 }
15427 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
15428 return resultobj;
15429fail:
15430 return NULL__null;
15431}
15432
15433
15434SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponse_npred_diffuse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15435 PyObject *resultobj = 0;
15436 GCTAResponse *arg1 = (GCTAResponse *) 0 ;
15437 GSource *arg2 = 0 ;
15438 GObservation *arg3 = 0 ;
15439 void *argp1 = 0 ;
15440 int res1 = 0 ;
15441 void *argp2 = 0 ;
15442 int res2 = 0 ;
15443 void *argp3 = 0 ;
15444 int res3 = 0 ;
15445 PyObject * obj0 = 0 ;
15446 PyObject * obj1 = 0 ;
15447 PyObject * obj2 = 0 ;
15448 double result;
15449
15450 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAResponse_npred_diffuse",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
15451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponse, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
15452 if (!SWIG_IsOK(res1)(res1 >= 0)) {
15453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponse_npred_diffuse" "', argument " "1"" of type '" "GCTAResponse const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponse_npred_diffuse"
"', argument " "1"" of type '" "GCTAResponse const *""'"); goto
fail; } while(0)
;
15454 }
15455 arg1 = reinterpret_cast< GCTAResponse * >(argp1);
15456 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GSource, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[63]
, 0 | 0, 0)
;
15457 if (!SWIG_IsOK(res2)(res2 >= 0)) {
15458 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAResponse_npred_diffuse" "', argument " "2"" of type '" "GSource const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAResponse_npred_diffuse"
"', argument " "2"" of type '" "GSource const &""'"); goto
fail; } while(0)
;
15459 }
15460 if (!argp2) {
15461 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAResponse_npred_diffuse" "', argument " "2"" of type '" "GSource const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAResponse_npred_diffuse" "', argument " "2"
" of type '" "GSource const &""'"); goto fail; } while(0)
;
15462 }
15463 arg2 = reinterpret_cast< GSource * >(argp2);
15464 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GObservation, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[52]
, 0 | 0, 0)
;
15465 if (!SWIG_IsOK(res3)(res3 >= 0)) {
15466 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GCTAResponse_npred_diffuse" "', argument " "3"" of type '" "GObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GCTAResponse_npred_diffuse"
"', argument " "3"" of type '" "GObservation const &""'"
); goto fail; } while(0)
;
15467 }
15468 if (!argp3) {
15469 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAResponse_npred_diffuse" "', argument " "3"" of type '" "GObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAResponse_npred_diffuse" "', argument " "3"
" of type '" "GObservation const &""'"); goto fail; } while
(0)
;
15470 }
15471 arg3 = reinterpret_cast< GObservation * >(argp3);
15472 {
15473 try {
15474 result = (double)((GCTAResponse const *)arg1)->npred_diffuse((GSource const &)*arg2,(GObservation const &)*arg3);
15475 }
15476 catch (const GException::out_of_range& e) {
15477 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
15478 }
15479 catch (const GExceptionHandler& e) {
15480 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15481 }
15482 catch (const std::exception& e) {
15483 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15484 }
15485 }
15486 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
15487 return resultobj;
15488fail:
15489 return NULL__null;
15490}
15491
15492
15493SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponse_mc(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15494 PyObject *resultobj = 0;
15495 GCTAResponse *arg1 = (GCTAResponse *) 0 ;
15496 double *arg2 = 0 ;
15497 GPhoton *arg3 = 0 ;
15498 GObservation *arg4 = 0 ;
15499 GRan *arg5 = 0 ;
15500 void *argp1 = 0 ;
15501 int res1 = 0 ;
15502 double temp2 ;
15503 double val2 ;
15504 int ecode2 = 0 ;
15505 void *argp3 = 0 ;
15506 int res3 = 0 ;
15507 void *argp4 = 0 ;
15508 int res4 = 0 ;
15509 void *argp5 = 0 ;
15510 int res5 = 0 ;
15511 PyObject * obj0 = 0 ;
15512 PyObject * obj1 = 0 ;
15513 PyObject * obj2 = 0 ;
15514 PyObject * obj3 = 0 ;
15515 PyObject * obj4 = 0 ;
15516 GCTAEventAtom *result = 0 ;
15517
15518 if (!PyArg_ParseTuple(args,(char *)"OOOOO:GCTAResponse_mc",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_failgoto fail;
15519 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponse, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
15520 if (!SWIG_IsOK(res1)(res1 >= 0)) {
15521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponse_mc" "', argument " "1"" of type '" "GCTAResponse const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponse_mc" "', argument "
"1"" of type '" "GCTAResponse const *""'"); goto fail; } while
(0)
;
15522 }
15523 arg1 = reinterpret_cast< GCTAResponse * >(argp1);
15524 ecode2 = SWIG_AsVal_double(obj1, &val2);
15525 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
15526 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAResponse_mc" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAResponse_mc" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
15527 }
15528 temp2 = static_cast< double >(val2);
15529 arg2 = &temp2;
15530 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GPhoton, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[54]
, 0 | 0, 0)
;
15531 if (!SWIG_IsOK(res3)(res3 >= 0)) {
15532 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GCTAResponse_mc" "', argument " "3"" of type '" "GPhoton const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GCTAResponse_mc" "', argument "
"3"" of type '" "GPhoton const &""'"); goto fail; } while
(0)
;
15533 }
15534 if (!argp3) {
15535 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAResponse_mc" "', argument " "3"" of type '" "GPhoton const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAResponse_mc" "', argument " "3"" of type '"
"GPhoton const &""'"); goto fail; } while(0)
;
15536 }
15537 arg3 = reinterpret_cast< GPhoton * >(argp3);
15538 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_GObservation, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj3, &argp4, swig_types[52]
, 0 | 0, 0)
;
15539 if (!SWIG_IsOK(res4)(res4 >= 0)) {
15540 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "GCTAResponse_mc" "', argument " "4"" of type '" "GObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res4 != (
-1)) ? res4 : -5)), "in method '" "GCTAResponse_mc" "', argument "
"4"" of type '" "GObservation const &""'"); goto fail; }
while(0)
;
15541 }
15542 if (!argp4) {
15543 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAResponse_mc" "', argument " "4"" of type '" "GObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAResponse_mc" "', argument " "4"" of type '"
"GObservation const &""'"); goto fail; } while(0)
;
15544 }
15545 arg4 = reinterpret_cast< GObservation * >(argp4);
15546 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_GRan, 0 )SWIG_Python_ConvertPtrAndOwn(obj4, &argp5, swig_types[55]
, 0, 0)
;
15547 if (!SWIG_IsOK(res5)(res5 >= 0)) {
15548 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "GCTAResponse_mc" "', argument " "5"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res5 != (
-1)) ? res5 : -5)), "in method '" "GCTAResponse_mc" "', argument "
"5"" of type '" "GRan &""'"); goto fail; } while(0)
;
15549 }
15550 if (!argp5) {
15551 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAResponse_mc" "', argument " "5"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAResponse_mc" "', argument " "5"" of type '"
"GRan &""'"); goto fail; } while(0)
;
15552 }
15553 arg5 = reinterpret_cast< GRan * >(argp5);
15554 {
15555 try {
15556 result = (GCTAEventAtom *)((GCTAResponse const *)arg1)->mc((double const &)*arg2,(GPhoton const &)*arg3,(GObservation const &)*arg4,*arg5);
15557 }
15558 catch (const GException::out_of_range& e) {
15559 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
15560 }
15561 catch (const GExceptionHandler& e) {
15562 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15563 }
15564 catch (const std::exception& e) {
15565 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15566 }
15567 }
15568 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAEventAtom, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[7], 0 |
0)
;
15569 return resultobj;
15570fail:
15571 return NULL__null;
15572}
15573
15574
15575SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponse_caldb__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15576 PyObject *resultobj = 0;
15577 GCTAResponse *arg1 = (GCTAResponse *) 0 ;
15578 std::string *arg2 = 0 ;
15579 void *argp1 = 0 ;
15580 int res1 = 0 ;
15581 int res2 = SWIG_OLDOBJ((0)) ;
15582 PyObject * obj0 = 0 ;
15583 PyObject * obj1 = 0 ;
15584
15585 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAResponse_caldb",&obj0,&obj1)) SWIG_failgoto fail;
15586 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponse, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
15587 if (!SWIG_IsOK(res1)(res1 >= 0)) {
15588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponse_caldb" "', argument " "1"" of type '" "GCTAResponse *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponse_caldb" "', argument "
"1"" of type '" "GCTAResponse *""'"); goto fail; } while(0)
;
15589 }
15590 arg1 = reinterpret_cast< GCTAResponse * >(argp1);
15591 {
15592 std::string *ptr = (std::string *)0;
15593 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
15594 if (!SWIG_IsOK(res2)(res2 >= 0)) {
15595 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAResponse_caldb" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAResponse_caldb" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
15596 }
15597 if (!ptr) {
15598 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAResponse_caldb" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAResponse_caldb" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
15599 }
15600 arg2 = ptr;
15601 }
15602 {
15603 try {
15604 (arg1)->caldb((std::string const &)*arg2);
15605 }
15606 catch (const GException::out_of_range& e) {
15607 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
15608 }
15609 catch (const GExceptionHandler& e) {
15610 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15611 }
15612 catch (const std::exception& e) {
15613 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15614 }
15615 }
15616 resultobj = SWIG_Py_Void();
15617 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
15618 return resultobj;
15619fail:
15620 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
15621 return NULL__null;
15622}
15623
15624
15625SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponse_caldb__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15626 PyObject *resultobj = 0;
15627 GCTAResponse *arg1 = (GCTAResponse *) 0 ;
15628 void *argp1 = 0 ;
15629 int res1 = 0 ;
15630 PyObject * obj0 = 0 ;
15631 std::string *result = 0 ;
15632
15633 if (!PyArg_ParseTuple(args,(char *)"O:GCTAResponse_caldb",&obj0)) SWIG_failgoto fail;
15634 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponse, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
15635 if (!SWIG_IsOK(res1)(res1 >= 0)) {
15636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponse_caldb" "', argument " "1"" of type '" "GCTAResponse const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponse_caldb" "', argument "
"1"" of type '" "GCTAResponse const *""'"); goto fail; } while
(0)
;
15637 }
15638 arg1 = reinterpret_cast< GCTAResponse * >(argp1);
15639 {
15640 try {
15641 result = (std::string *) &((GCTAResponse const *)arg1)->caldb();
15642 }
15643 catch (const GException::out_of_range& e) {
15644 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
15645 }
15646 catch (const GExceptionHandler& e) {
15647 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15648 }
15649 catch (const std::exception& e) {
15650 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15651 }
15652 }
15653 resultobj = SWIG_From_std_string(static_cast< std::string >(*result));
15654 return resultobj;
15655fail:
15656 return NULL__null;
15657}
15658
15659
15660SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponse_caldb(PyObject *self, PyObject *args) {
15661 int argc;
15662 PyObject *argv[3];
15663 int ii;
15664
15665 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
15666 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
15667 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
15668 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
15669 }
15670 if (argc == 1) {
15671 int _v;
15672 void *vptr = 0;
15673 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAResponse, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[28
], 0, 0)
;
15674 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
15675 if (_v) {
15676 return _wrap_GCTAResponse_caldb__SWIG_1(self, args);
15677 }
15678 }
15679 if (argc == 2) {
15680 int _v;
15681 void *vptr = 0;
15682 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAResponse, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[28
], 0, 0)
;
15683 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
15684 if (_v) {
15685 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
15686 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
15687 if (_v) {
15688 return _wrap_GCTAResponse_caldb__SWIG_0(self, args);
15689 }
15690 }
15691 }
15692
15693fail:
15694 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAResponse_caldb'.\n"
15695 " Possible C/C++ prototypes are:\n"
15696 " GCTAResponse::caldb(std::string const &)\n"
15697 " GCTAResponse::caldb() const\n");
15698 return 0;
15699}
15700
15701
15702SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponse_load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15703 PyObject *resultobj = 0;
15704 GCTAResponse *arg1 = (GCTAResponse *) 0 ;
15705 std::string *arg2 = 0 ;
15706 void *argp1 = 0 ;
15707 int res1 = 0 ;
15708 int res2 = SWIG_OLDOBJ((0)) ;
15709 PyObject * obj0 = 0 ;
15710 PyObject * obj1 = 0 ;
15711
15712 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAResponse_load",&obj0,&obj1)) SWIG_failgoto fail;
15713 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponse, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
15714 if (!SWIG_IsOK(res1)(res1 >= 0)) {
15715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponse_load" "', argument " "1"" of type '" "GCTAResponse *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponse_load" "', argument "
"1"" of type '" "GCTAResponse *""'"); goto fail; } while(0)
;
15716 }
15717 arg1 = reinterpret_cast< GCTAResponse * >(argp1);
15718 {
15719 std::string *ptr = (std::string *)0;
15720 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
15721 if (!SWIG_IsOK(res2)(res2 >= 0)) {
15722 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAResponse_load" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAResponse_load" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
15723 }
15724 if (!ptr) {
15725 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAResponse_load" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAResponse_load" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
15726 }
15727 arg2 = ptr;
15728 }
15729 {
15730 try {
15731 (arg1)->load((std::string const &)*arg2);
15732 }
15733 catch (const GException::out_of_range& e) {
15734 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
15735 }
15736 catch (const GExceptionHandler& e) {
15737 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15738 }
15739 catch (const std::exception& e) {
15740 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15741 }
15742 }
15743 resultobj = SWIG_Py_Void();
15744 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
15745 return resultobj;
15746fail:
15747 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
15748 return NULL__null;
15749}
15750
15751
15752SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponse_eps__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15753 PyObject *resultobj = 0;
15754 GCTAResponse *arg1 = (GCTAResponse *) 0 ;
15755 double *arg2 = 0 ;
15756 void *argp1 = 0 ;
15757 int res1 = 0 ;
15758 double temp2 ;
15759 double val2 ;
15760 int ecode2 = 0 ;
15761 PyObject * obj0 = 0 ;
15762 PyObject * obj1 = 0 ;
15763
15764 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAResponse_eps",&obj0,&obj1)) SWIG_failgoto fail;
15765 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponse, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
15766 if (!SWIG_IsOK(res1)(res1 >= 0)) {
15767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponse_eps" "', argument " "1"" of type '" "GCTAResponse *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponse_eps" "', argument "
"1"" of type '" "GCTAResponse *""'"); goto fail; } while(0)
;
15768 }
15769 arg1 = reinterpret_cast< GCTAResponse * >(argp1);
15770 ecode2 = SWIG_AsVal_double(obj1, &val2);
15771 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
15772 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAResponse_eps" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAResponse_eps" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
15773 }
15774 temp2 = static_cast< double >(val2);
15775 arg2 = &temp2;
15776 {
15777 try {
15778 (arg1)->eps((double const &)*arg2);
15779 }
15780 catch (const GException::out_of_range& e) {
15781 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
15782 }
15783 catch (const GExceptionHandler& e) {
15784 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15785 }
15786 catch (const std::exception& e) {
15787 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15788 }
15789 }
15790 resultobj = SWIG_Py_Void();
15791 return resultobj;
15792fail:
15793 return NULL__null;
15794}
15795
15796
15797SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponse_eps__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15798 PyObject *resultobj = 0;
15799 GCTAResponse *arg1 = (GCTAResponse *) 0 ;
15800 void *argp1 = 0 ;
15801 int res1 = 0 ;
15802 PyObject * obj0 = 0 ;
15803 double *result = 0 ;
15804
15805 if (!PyArg_ParseTuple(args,(char *)"O:GCTAResponse_eps",&obj0)) SWIG_failgoto fail;
15806 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponse, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
15807 if (!SWIG_IsOK(res1)(res1 >= 0)) {
15808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponse_eps" "', argument " "1"" of type '" "GCTAResponse const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponse_eps" "', argument "
"1"" of type '" "GCTAResponse const *""'"); goto fail; } while
(0)
;
15809 }
15810 arg1 = reinterpret_cast< GCTAResponse * >(argp1);
15811 {
15812 try {
15813 result = (double *) &((GCTAResponse const *)arg1)->eps();
15814 }
15815 catch (const GException::out_of_range& e) {
15816 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
15817 }
15818 catch (const GExceptionHandler& e) {
15819 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15820 }
15821 catch (const std::exception& e) {
15822 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15823 }
15824 }
15825 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(*result));
15826 return resultobj;
15827fail:
15828 return NULL__null;
15829}
15830
15831
15832SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponse_eps(PyObject *self, PyObject *args) {
15833 int argc;
15834 PyObject *argv[3];
15835 int ii;
15836
15837 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
15838 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
15839 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
15840 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
15841 }
15842 if (argc == 1) {
15843 int _v;
15844 void *vptr = 0;
15845 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAResponse, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[28
], 0, 0)
;
15846 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
15847 if (_v) {
15848 return _wrap_GCTAResponse_eps__SWIG_1(self, args);
15849 }
15850 }
15851 if (argc == 2) {
15852 int _v;
15853 void *vptr = 0;
15854 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAResponse, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[28
], 0, 0)
;
15855 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
15856 if (_v) {
15857 {
15858 int res = SWIG_AsVal_double(argv[1], NULL__null);
15859 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
15860 }
15861 if (_v) {
15862 return _wrap_GCTAResponse_eps__SWIG_0(self, args);
15863 }
15864 }
15865 }
15866
15867fail:
15868 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAResponse_eps'.\n"
15869 " Possible C/C++ prototypes are:\n"
15870 " GCTAResponse::eps(double const &)\n"
15871 " GCTAResponse::eps() const\n");
15872 return 0;
15873}
15874
15875
15876SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponse_rmffile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15877 PyObject *resultobj = 0;
15878 GCTAResponse *arg1 = (GCTAResponse *) 0 ;
15879 void *argp1 = 0 ;
15880 int res1 = 0 ;
15881 PyObject * obj0 = 0 ;
15882 std::string *result = 0 ;
15883
15884 if (!PyArg_ParseTuple(args,(char *)"O:GCTAResponse_rmffile",&obj0)) SWIG_failgoto fail;
15885 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponse, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
15886 if (!SWIG_IsOK(res1)(res1 >= 0)) {
15887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponse_rmffile" "', argument " "1"" of type '" "GCTAResponse const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponse_rmffile" "', argument "
"1"" of type '" "GCTAResponse const *""'"); goto fail; } while
(0)
;
15888 }
15889 arg1 = reinterpret_cast< GCTAResponse * >(argp1);
15890 {
15891 try {
15892 result = (std::string *) &((GCTAResponse const *)arg1)->rmffile();
15893 }
15894 catch (const GException::out_of_range& e) {
15895 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
15896 }
15897 catch (const GExceptionHandler& e) {
15898 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15899 }
15900 catch (const std::exception& e) {
15901 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15902 }
15903 }
15904 resultobj = SWIG_From_std_string(static_cast< std::string >(*result));
15905 return resultobj;
15906fail:
15907 return NULL__null;
15908}
15909
15910
15911SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponse_load_aeff(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15912 PyObject *resultobj = 0;
15913 GCTAResponse *arg1 = (GCTAResponse *) 0 ;
15914 std::string *arg2 = 0 ;
15915 void *argp1 = 0 ;
15916 int res1 = 0 ;
15917 int res2 = SWIG_OLDOBJ((0)) ;
15918 PyObject * obj0 = 0 ;
15919 PyObject * obj1 = 0 ;
15920
15921 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAResponse_load_aeff",&obj0,&obj1)) SWIG_failgoto fail;
15922 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponse, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
15923 if (!SWIG_IsOK(res1)(res1 >= 0)) {
15924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponse_load_aeff" "', argument " "1"" of type '" "GCTAResponse *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponse_load_aeff" "', argument "
"1"" of type '" "GCTAResponse *""'"); goto fail; } while(0)
;
15925 }
15926 arg1 = reinterpret_cast< GCTAResponse * >(argp1);
15927 {
15928 std::string *ptr = (std::string *)0;
15929 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
15930 if (!SWIG_IsOK(res2)(res2 >= 0)) {
15931 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAResponse_load_aeff" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAResponse_load_aeff" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
15932 }
15933 if (!ptr) {
15934 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAResponse_load_aeff" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAResponse_load_aeff" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
15935 }
15936 arg2 = ptr;
15937 }
15938 {
15939 try {
15940 (arg1)->load_aeff((std::string const &)*arg2);
15941 }
15942 catch (const GException::out_of_range& e) {
15943 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
15944 }
15945 catch (const GExceptionHandler& e) {
15946 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15947 }
15948 catch (const std::exception& e) {
15949 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15950 }
15951 }
15952 resultobj = SWIG_Py_Void();
15953 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
15954 return resultobj;
15955fail:
15956 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
15957 return NULL__null;
15958}
15959
15960
15961SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponse_load_psf(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15962 PyObject *resultobj = 0;
15963 GCTAResponse *arg1 = (GCTAResponse *) 0 ;
15964 std::string *arg2 = 0 ;
15965 void *argp1 = 0 ;
15966 int res1 = 0 ;
15967 int res2 = SWIG_OLDOBJ((0)) ;
15968 PyObject * obj0 = 0 ;
15969 PyObject * obj1 = 0 ;
15970
15971 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAResponse_load_psf",&obj0,&obj1)) SWIG_failgoto fail;
15972 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponse, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
15973 if (!SWIG_IsOK(res1)(res1 >= 0)) {
15974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponse_load_psf" "', argument " "1"" of type '" "GCTAResponse *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponse_load_psf" "', argument "
"1"" of type '" "GCTAResponse *""'"); goto fail; } while(0)
;
15975 }
15976 arg1 = reinterpret_cast< GCTAResponse * >(argp1);
15977 {
15978 std::string *ptr = (std::string *)0;
15979 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
15980 if (!SWIG_IsOK(res2)(res2 >= 0)) {
15981 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAResponse_load_psf" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAResponse_load_psf" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
15982 }
15983 if (!ptr) {
15984 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAResponse_load_psf" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAResponse_load_psf" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
15985 }
15986 arg2 = ptr;
15987 }
15988 {
15989 try {
15990 (arg1)->load_psf((std::string const &)*arg2);
15991 }
15992 catch (const GException::out_of_range& e) {
15993 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
15994 }
15995 catch (const GExceptionHandler& e) {
15996 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15997 }
15998 catch (const std::exception& e) {
15999 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16000 }
16001 }
16002 resultobj = SWIG_Py_Void();
16003 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
16004 return resultobj;
16005fail:
16006 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
16007 return NULL__null;
16008}
16009
16010
16011SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponse_load_edisp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16012 PyObject *resultobj = 0;
16013 GCTAResponse *arg1 = (GCTAResponse *) 0 ;
16014 std::string *arg2 = 0 ;
16015 void *argp1 = 0 ;
16016 int res1 = 0 ;
16017 int res2 = SWIG_OLDOBJ((0)) ;
16018 PyObject * obj0 = 0 ;
16019 PyObject * obj1 = 0 ;
16020
16021 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAResponse_load_edisp",&obj0,&obj1)) SWIG_failgoto fail;
16022 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponse, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
16023 if (!SWIG_IsOK(res1)(res1 >= 0)) {
16024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponse_load_edisp" "', argument " "1"" of type '" "GCTAResponse *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponse_load_edisp" "', argument "
"1"" of type '" "GCTAResponse *""'"); goto fail; } while(0)
;
16025 }
16026 arg1 = reinterpret_cast< GCTAResponse * >(argp1);
16027 {
16028 std::string *ptr = (std::string *)0;
16029 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
16030 if (!SWIG_IsOK(res2)(res2 >= 0)) {
16031 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAResponse_load_edisp" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAResponse_load_edisp" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
16032 }
16033 if (!ptr) {
16034 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAResponse_load_edisp" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAResponse_load_edisp" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
16035 }
16036 arg2 = ptr;
16037 }
16038 {
16039 try {
16040 (arg1)->load_edisp((std::string const &)*arg2);
16041 }
16042 catch (const GException::out_of_range& e) {
16043 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
16044 }
16045 catch (const GExceptionHandler& e) {
16046 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16047 }
16048 catch (const std::exception& e) {
16049 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16050 }
16051 }
16052 resultobj = SWIG_Py_Void();
16053 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
16054 return resultobj;
16055fail:
16056 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
16057 return NULL__null;
16058}
16059
16060
16061SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponse_offset_sigma__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16062 PyObject *resultobj = 0;
16063 GCTAResponse *arg1 = (GCTAResponse *) 0 ;
16064 double *arg2 = 0 ;
16065 void *argp1 = 0 ;
16066 int res1 = 0 ;
16067 double temp2 ;
16068 double val2 ;
16069 int ecode2 = 0 ;
16070 PyObject * obj0 = 0 ;
16071 PyObject * obj1 = 0 ;
16072
16073 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAResponse_offset_sigma",&obj0,&obj1)) SWIG_failgoto fail;
16074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponse, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
16075 if (!SWIG_IsOK(res1)(res1 >= 0)) {
16076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponse_offset_sigma" "', argument " "1"" of type '" "GCTAResponse *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponse_offset_sigma"
"', argument " "1"" of type '" "GCTAResponse *""'"); goto fail
; } while(0)
;
16077 }
16078 arg1 = reinterpret_cast< GCTAResponse * >(argp1);
16079 ecode2 = SWIG_AsVal_double(obj1, &val2);
16080 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
16081 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAResponse_offset_sigma" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAResponse_offset_sigma"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
16082 }
16083 temp2 = static_cast< double >(val2);
16084 arg2 = &temp2;
16085 {
16086 try {
16087 (arg1)->offset_sigma((double const &)*arg2);
16088 }
16089 catch (const GException::out_of_range& e) {
16090 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
16091 }
16092 catch (const GExceptionHandler& e) {
16093 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16094 }
16095 catch (const std::exception& e) {
16096 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16097 }
16098 }
16099 resultobj = SWIG_Py_Void();
16100 return resultobj;
16101fail:
16102 return NULL__null;
16103}
16104
16105
16106SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponse_offset_sigma__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16107 PyObject *resultobj = 0;
16108 GCTAResponse *arg1 = (GCTAResponse *) 0 ;
16109 void *argp1 = 0 ;
16110 int res1 = 0 ;
16111 PyObject * obj0 = 0 ;
16112 double result;
16113
16114 if (!PyArg_ParseTuple(args,(char *)"O:GCTAResponse_offset_sigma",&obj0)) SWIG_failgoto fail;
16115 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponse, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
16116 if (!SWIG_IsOK(res1)(res1 >= 0)) {
16117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponse_offset_sigma" "', argument " "1"" of type '" "GCTAResponse const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponse_offset_sigma"
"', argument " "1"" of type '" "GCTAResponse const *""'"); goto
fail; } while(0)
;
16118 }
16119 arg1 = reinterpret_cast< GCTAResponse * >(argp1);
16120 {
16121 try {
16122 result = (double)((GCTAResponse const *)arg1)->offset_sigma();
16123 }
16124 catch (const GException::out_of_range& e) {
16125 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
16126 }
16127 catch (const GExceptionHandler& e) {
16128 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16129 }
16130 catch (const std::exception& e) {
16131 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16132 }
16133 }
16134 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
16135 return resultobj;
16136fail:
16137 return NULL__null;
16138}
16139
16140
16141SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponse_offset_sigma(PyObject *self, PyObject *args) {
16142 int argc;
16143 PyObject *argv[3];
16144 int ii;
16145
16146 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
16147 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
16148 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
16149 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
16150 }
16151 if (argc == 1) {
16152 int _v;
16153 void *vptr = 0;
16154 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAResponse, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[28
], 0, 0)
;
16155 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16156 if (_v) {
16157 return _wrap_GCTAResponse_offset_sigma__SWIG_1(self, args);
16158 }
16159 }
16160 if (argc == 2) {
16161 int _v;
16162 void *vptr = 0;
16163 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAResponse, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[28
], 0, 0)
;
16164 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16165 if (_v) {
16166 {
16167 int res = SWIG_AsVal_double(argv[1], NULL__null);
16168 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16169 }
16170 if (_v) {
16171 return _wrap_GCTAResponse_offset_sigma__SWIG_0(self, args);
16172 }
16173 }
16174 }
16175
16176fail:
16177 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAResponse_offset_sigma'.\n"
16178 " Possible C/C++ prototypes are:\n"
16179 " GCTAResponse::offset_sigma(double const &)\n"
16180 " GCTAResponse::offset_sigma() const\n");
16181 return 0;
16182}
16183
16184
16185SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponse_aeff__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16186 PyObject *resultobj = 0;
16187 GCTAResponse *arg1 = (GCTAResponse *) 0 ;
16188 void *argp1 = 0 ;
16189 int res1 = 0 ;
16190 PyObject * obj0 = 0 ;
16191 GCTAAeff *result = 0 ;
16192
16193 if (!PyArg_ParseTuple(args,(char *)"O:GCTAResponse_aeff",&obj0)) SWIG_failgoto fail;
16194 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponse, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
16195 if (!SWIG_IsOK(res1)(res1 >= 0)) {
16196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponse_aeff" "', argument " "1"" of type '" "GCTAResponse const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponse_aeff" "', argument "
"1"" of type '" "GCTAResponse const *""'"); goto fail; } while
(0)
;
16197 }
16198 arg1 = reinterpret_cast< GCTAResponse * >(argp1);
16199 {
16200 try {
16201 result = (GCTAAeff *)((GCTAResponse const *)arg1)->aeff();
16202 }
16203 catch (const GException::out_of_range& e) {
16204 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
16205 }
16206 catch (const GExceptionHandler& e) {
16207 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16208 }
16209 catch (const std::exception& e) {
16210 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16211 }
16212 }
16213 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAAeff, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[2], 0 |
0)
;
16214 return resultobj;
16215fail:
16216 return NULL__null;
16217}
16218
16219
16220SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponse_aeff__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16221 PyObject *resultobj = 0;
16222 GCTAResponse *arg1 = (GCTAResponse *) 0 ;
16223 GCTAAeff *arg2 = (GCTAAeff *) 0 ;
16224 void *argp1 = 0 ;
16225 int res1 = 0 ;
16226 void *argp2 = 0 ;
16227 int res2 = 0 ;
16228 PyObject * obj0 = 0 ;
16229 PyObject * obj1 = 0 ;
16230
16231 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAResponse_aeff",&obj0,&obj1)) SWIG_failgoto fail;
16232 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponse, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
16233 if (!SWIG_IsOK(res1)(res1 >= 0)) {
16234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponse_aeff" "', argument " "1"" of type '" "GCTAResponse *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponse_aeff" "', argument "
"1"" of type '" "GCTAResponse *""'"); goto fail; } while(0)
;
16235 }
16236 arg1 = reinterpret_cast< GCTAResponse * >(argp1);
16237 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_GCTAAeff, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[2],
0 | 0, 0)
;
16238 if (!SWIG_IsOK(res2)(res2 >= 0)) {
16239 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAResponse_aeff" "', argument " "2"" of type '" "GCTAAeff *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAResponse_aeff" "', argument "
"2"" of type '" "GCTAAeff *""'"); goto fail; } while(0)
;
16240 }
16241 arg2 = reinterpret_cast< GCTAAeff * >(argp2);
16242 {
16243 try {
16244 (arg1)->aeff(arg2);
16245 }
16246 catch (const GException::out_of_range& e) {
16247 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
16248 }
16249 catch (const GExceptionHandler& e) {
16250 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16251 }
16252 catch (const std::exception& e) {
16253 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16254 }
16255 }
16256 resultobj = SWIG_Py_Void();
16257 return resultobj;
16258fail:
16259 return NULL__null;
16260}
16261
16262
16263SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponse_psf__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16264 PyObject *resultobj = 0;
16265 GCTAResponse *arg1 = (GCTAResponse *) 0 ;
16266 void *argp1 = 0 ;
16267 int res1 = 0 ;
16268 PyObject * obj0 = 0 ;
16269 GCTAPsf *result = 0 ;
16270
16271 if (!PyArg_ParseTuple(args,(char *)"O:GCTAResponse_psf",&obj0)) SWIG_failgoto fail;
16272 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponse, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
16273 if (!SWIG_IsOK(res1)(res1 >= 0)) {
16274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponse_psf" "', argument " "1"" of type '" "GCTAResponse const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponse_psf" "', argument "
"1"" of type '" "GCTAResponse const *""'"); goto fail; } while
(0)
;
16275 }
16276 arg1 = reinterpret_cast< GCTAResponse * >(argp1);
16277 {
16278 try {
16279 result = (GCTAPsf *)((GCTAResponse const *)arg1)->psf();
16280 }
16281 catch (const GException::out_of_range& e) {
16282 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
16283 }
16284 catch (const GExceptionHandler& e) {
16285 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16286 }
16287 catch (const std::exception& e) {
16288 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16289 }
16290 }
16291 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAPsf, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[23], 0
| 0)
;
16292 return resultobj;
16293fail:
16294 return NULL__null;
16295}
16296
16297
16298SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponse_psf__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16299 PyObject *resultobj = 0;
16300 GCTAResponse *arg1 = (GCTAResponse *) 0 ;
16301 GCTAPsf *arg2 = (GCTAPsf *) 0 ;
16302 void *argp1 = 0 ;
16303 int res1 = 0 ;
16304 void *argp2 = 0 ;
16305 int res2 = 0 ;
16306 PyObject * obj0 = 0 ;
16307 PyObject * obj1 = 0 ;
16308
16309 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAResponse_psf",&obj0,&obj1)) SWIG_failgoto fail;
16310 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponse, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
16311 if (!SWIG_IsOK(res1)(res1 >= 0)) {
16312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponse_psf" "', argument " "1"" of type '" "GCTAResponse *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponse_psf" "', argument "
"1"" of type '" "GCTAResponse *""'"); goto fail; } while(0)
;
16313 }
16314 arg1 = reinterpret_cast< GCTAResponse * >(argp1);
16315 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_GCTAPsf, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[23]
, 0 | 0, 0)
;
16316 if (!SWIG_IsOK(res2)(res2 >= 0)) {
16317 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAResponse_psf" "', argument " "2"" of type '" "GCTAPsf *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAResponse_psf" "', argument "
"2"" of type '" "GCTAPsf *""'"); goto fail; } while(0)
;
16318 }
16319 arg2 = reinterpret_cast< GCTAPsf * >(argp2);
16320 {
16321 try {
16322 (arg1)->psf(arg2);
16323 }
16324 catch (const GException::out_of_range& e) {
16325 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
16326 }
16327 catch (const GExceptionHandler& e) {
16328 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16329 }
16330 catch (const std::exception& e) {
16331 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16332 }
16333 }
16334 resultobj = SWIG_Py_Void();
16335 return resultobj;
16336fail:
16337 return NULL__null;
16338}
16339
16340
16341SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponse_edisp__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16342 PyObject *resultobj = 0;
16343 GCTAResponse *arg1 = (GCTAResponse *) 0 ;
16344 void *argp1 = 0 ;
16345 int res1 = 0 ;
16346 PyObject * obj0 = 0 ;
16347 GCTAEdisp *result = 0 ;
16348
16349 if (!PyArg_ParseTuple(args,(char *)"O:GCTAResponse_edisp",&obj0)) SWIG_failgoto fail;
16350 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponse, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
16351 if (!SWIG_IsOK(res1)(res1 >= 0)) {
16352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponse_edisp" "', argument " "1"" of type '" "GCTAResponse const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponse_edisp" "', argument "
"1"" of type '" "GCTAResponse const *""'"); goto fail; } while
(0)
;
16353 }
16354 arg1 = reinterpret_cast< GCTAResponse * >(argp1);
16355 {
16356 try {
16357 result = (GCTAEdisp *)((GCTAResponse const *)arg1)->edisp();
16358 }
16359 catch (const GException::out_of_range& e) {
16360 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
16361 }
16362 catch (const GExceptionHandler& e) {
16363 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16364 }
16365 catch (const std::exception& e) {
16366 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16367 }
16368 }
16369 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAEdisp, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[6], 0 |
0)
;
16370 return resultobj;
16371fail:
16372 return NULL__null;
16373}
16374
16375
16376SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponse_edisp__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16377 PyObject *resultobj = 0;
16378 GCTAResponse *arg1 = (GCTAResponse *) 0 ;
16379 GCTAEdisp *arg2 = (GCTAEdisp *) 0 ;
16380 void *argp1 = 0 ;
16381 int res1 = 0 ;
16382 void *argp2 = 0 ;
16383 int res2 = 0 ;
16384 PyObject * obj0 = 0 ;
16385 PyObject * obj1 = 0 ;
16386
16387 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAResponse_edisp",&obj0,&obj1)) SWIG_failgoto fail;
16388 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponse, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
16389 if (!SWIG_IsOK(res1)(res1 >= 0)) {
16390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponse_edisp" "', argument " "1"" of type '" "GCTAResponse *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponse_edisp" "', argument "
"1"" of type '" "GCTAResponse *""'"); goto fail; } while(0)
;
16391 }
16392 arg1 = reinterpret_cast< GCTAResponse * >(argp1);
16393 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_GCTAEdisp, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[6],
0 | 0, 0)
;
16394 if (!SWIG_IsOK(res2)(res2 >= 0)) {
16395 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAResponse_edisp" "', argument " "2"" of type '" "GCTAEdisp *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAResponse_edisp" "', argument "
"2"" of type '" "GCTAEdisp *""'"); goto fail; } while(0)
;
16396 }
16397 arg2 = reinterpret_cast< GCTAEdisp * >(argp2);
16398 {
16399 try {
16400 (arg1)->edisp(arg2);
16401 }
16402 catch (const GException::out_of_range& e) {
16403 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
16404 }
16405 catch (const GExceptionHandler& e) {
16406 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16407 }
16408 catch (const std::exception& e) {
16409 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16410 }
16411 }
16412 resultobj = SWIG_Py_Void();
16413 return resultobj;
16414fail:
16415 return NULL__null;
16416}
16417
16418
16419SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponse_aeff__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16420 PyObject *resultobj = 0;
16421 GCTAResponse *arg1 = (GCTAResponse *) 0 ;
16422 double *arg2 = 0 ;
16423 double *arg3 = 0 ;
16424 double *arg4 = 0 ;
16425 double *arg5 = 0 ;
16426 double *arg6 = 0 ;
16427 void *argp1 = 0 ;
16428 int res1 = 0 ;
16429 double temp2 ;
16430 double val2 ;
16431 int ecode2 = 0 ;
16432 double temp3 ;
16433 double val3 ;
16434 int ecode3 = 0 ;
16435 double temp4 ;
16436 double val4 ;
16437 int ecode4 = 0 ;
16438 double temp5 ;
16439 double val5 ;
16440 int ecode5 = 0 ;
16441 double temp6 ;
16442 double val6 ;
16443 int ecode6 = 0 ;
16444 PyObject * obj0 = 0 ;
16445 PyObject * obj1 = 0 ;
16446 PyObject * obj2 = 0 ;
16447 PyObject * obj3 = 0 ;
16448 PyObject * obj4 = 0 ;
16449 PyObject * obj5 = 0 ;
16450 double result;
16451
16452 if (!PyArg_ParseTuple(args,(char *)"OOOOOO:GCTAResponse_aeff",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_failgoto fail;
16453 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponse, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
16454 if (!SWIG_IsOK(res1)(res1 >= 0)) {
16455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponse_aeff" "', argument " "1"" of type '" "GCTAResponse const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponse_aeff" "', argument "
"1"" of type '" "GCTAResponse const *""'"); goto fail; } while
(0)
;
16456 }
16457 arg1 = reinterpret_cast< GCTAResponse * >(argp1);
16458 ecode2 = SWIG_AsVal_double(obj1, &val2);
16459 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
16460 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAResponse_aeff" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAResponse_aeff" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
16461 }
16462 temp2 = static_cast< double >(val2);
16463 arg2 = &temp2;
16464 ecode3 = SWIG_AsVal_double(obj2, &val3);
16465 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
16466 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAResponse_aeff" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAResponse_aeff" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
16467 }
16468 temp3 = static_cast< double >(val3);
16469 arg3 = &temp3;
16470 ecode4 = SWIG_AsVal_double(obj3, &val4);
16471 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
16472 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAResponse_aeff" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAResponse_aeff" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
16473 }
16474 temp4 = static_cast< double >(val4);
16475 arg4 = &temp4;
16476 ecode5 = SWIG_AsVal_double(obj4, &val5);
16477 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
16478 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAResponse_aeff" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAResponse_aeff" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
16479 }
16480 temp5 = static_cast< double >(val5);
16481 arg5 = &temp5;
16482 ecode6 = SWIG_AsVal_double(obj5, &val6);
16483 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
16484 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAResponse_aeff" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAResponse_aeff" "', argument "
"6"" of type '" "double""'"); goto fail; } while(0)
;
16485 }
16486 temp6 = static_cast< double >(val6);
16487 arg6 = &temp6;
16488 {
16489 try {
16490 result = (double)((GCTAResponse const *)arg1)->aeff((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6);
16491 }
16492 catch (const GException::out_of_range& e) {
16493 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
16494 }
16495 catch (const GExceptionHandler& e) {
16496 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16497 }
16498 catch (const std::exception& e) {
16499 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16500 }
16501 }
16502 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
16503 return resultobj;
16504fail:
16505 return NULL__null;
16506}
16507
16508
16509SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponse_aeff(PyObject *self, PyObject *args) {
16510 int argc;
16511 PyObject *argv[7];
16512 int ii;
16513
16514 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
16515 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
16516 for (ii = 0; (ii < 6) && (ii < argc); ii++) {
16517 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
16518 }
16519 if (argc == 1) {
16520 int _v;
16521 void *vptr = 0;
16522 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAResponse, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[28
], 0, 0)
;
16523 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16524 if (_v) {
16525 return _wrap_GCTAResponse_aeff__SWIG_0(self, args);
16526 }
16527 }
16528 if (argc == 2) {
16529 int _v;
16530 void *vptr = 0;
16531 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAResponse, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[28
], 0, 0)
;
16532 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16533 if (_v) {
16534 void *vptr = 0;
16535 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_GCTAAeff, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[2
], 0, 0)
;
16536 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16537 if (_v) {
16538 return _wrap_GCTAResponse_aeff__SWIG_1(self, args);
16539 }
16540 }
16541 }
16542 if (argc == 6) {
16543 int _v;
16544 void *vptr = 0;
16545 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAResponse, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[28
], 0, 0)
;
16546 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16547 if (_v) {
16548 {
16549 int res = SWIG_AsVal_double(argv[1], NULL__null);
16550 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16551 }
16552 if (_v) {
16553 {
16554 int res = SWIG_AsVal_double(argv[2], NULL__null);
16555 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16556 }
16557 if (_v) {
16558 {
16559 int res = SWIG_AsVal_double(argv[3], NULL__null);
16560 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16561 }
16562 if (_v) {
16563 {
16564 int res = SWIG_AsVal_double(argv[4], NULL__null);
16565 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16566 }
16567 if (_v) {
16568 {
16569 int res = SWIG_AsVal_double(argv[5], NULL__null);
16570 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16571 }
16572 if (_v) {
16573 return _wrap_GCTAResponse_aeff__SWIG_2(self, args);
16574 }
16575 }
16576 }
16577 }
16578 }
16579 }
16580 }
16581
16582fail:
16583 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAResponse_aeff'.\n"
16584 " Possible C/C++ prototypes are:\n"
16585 " GCTAResponse::aeff() const\n"
16586 " GCTAResponse::aeff(GCTAAeff *)\n"
16587 " GCTAResponse::aeff(double const &,double const &,double const &,double const &,double const &) const\n");
16588 return 0;
16589}
16590
16591
16592SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponse_psf__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16593 PyObject *resultobj = 0;
16594 GCTAResponse *arg1 = (GCTAResponse *) 0 ;
16595 double *arg2 = 0 ;
16596 double *arg3 = 0 ;
16597 double *arg4 = 0 ;
16598 double *arg5 = 0 ;
16599 double *arg6 = 0 ;
16600 double *arg7 = 0 ;
16601 void *argp1 = 0 ;
16602 int res1 = 0 ;
16603 double temp2 ;
16604 double val2 ;
16605 int ecode2 = 0 ;
16606 double temp3 ;
16607 double val3 ;
16608 int ecode3 = 0 ;
16609 double temp4 ;
16610 double val4 ;
16611 int ecode4 = 0 ;
16612 double temp5 ;
16613 double val5 ;
16614 int ecode5 = 0 ;
16615 double temp6 ;
16616 double val6 ;
16617 int ecode6 = 0 ;
16618 double temp7 ;
16619 double val7 ;
16620 int ecode7 = 0 ;
16621 PyObject * obj0 = 0 ;
16622 PyObject * obj1 = 0 ;
16623 PyObject * obj2 = 0 ;
16624 PyObject * obj3 = 0 ;
16625 PyObject * obj4 = 0 ;
16626 PyObject * obj5 = 0 ;
16627 PyObject * obj6 = 0 ;
16628 double result;
16629
16630 if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:GCTAResponse_psf",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_failgoto fail;
16631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponse, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
16632 if (!SWIG_IsOK(res1)(res1 >= 0)) {
16633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponse_psf" "', argument " "1"" of type '" "GCTAResponse const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponse_psf" "', argument "
"1"" of type '" "GCTAResponse const *""'"); goto fail; } while
(0)
;
16634 }
16635 arg1 = reinterpret_cast< GCTAResponse * >(argp1);
16636 ecode2 = SWIG_AsVal_double(obj1, &val2);
16637 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
16638 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAResponse_psf" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAResponse_psf" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
16639 }
16640 temp2 = static_cast< double >(val2);
16641 arg2 = &temp2;
16642 ecode3 = SWIG_AsVal_double(obj2, &val3);
16643 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
16644 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAResponse_psf" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAResponse_psf" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
16645 }
16646 temp3 = static_cast< double >(val3);
16647 arg3 = &temp3;
16648 ecode4 = SWIG_AsVal_double(obj3, &val4);
16649 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
16650 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAResponse_psf" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAResponse_psf" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
16651 }
16652 temp4 = static_cast< double >(val4);
16653 arg4 = &temp4;
16654 ecode5 = SWIG_AsVal_double(obj4, &val5);
16655 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
16656 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAResponse_psf" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAResponse_psf" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
16657 }
16658 temp5 = static_cast< double >(val5);
16659 arg5 = &temp5;
16660 ecode6 = SWIG_AsVal_double(obj5, &val6);
16661 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
16662 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAResponse_psf" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAResponse_psf" "', argument "
"6"" of type '" "double""'"); goto fail; } while(0)
;
16663 }
16664 temp6 = static_cast< double >(val6);
16665 arg6 = &temp6;
16666 ecode7 = SWIG_AsVal_double(obj6, &val7);
16667 if (!SWIG_IsOK(ecode7)(ecode7 >= 0)) {
16668 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GCTAResponse_psf" "', argument " "7"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode7 !=
(-1)) ? ecode7 : -5)), "in method '" "GCTAResponse_psf" "', argument "
"7"" of type '" "double""'"); goto fail; } while(0)
;
16669 }
16670 temp7 = static_cast< double >(val7);
16671 arg7 = &temp7;
16672 {
16673 try {
16674 result = (double)((GCTAResponse const *)arg1)->psf((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6,(double const &)*arg7);
16675 }
16676 catch (const GException::out_of_range& e) {
16677 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
16678 }
16679 catch (const GExceptionHandler& e) {
16680 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16681 }
16682 catch (const std::exception& e) {
16683 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16684 }
16685 }
16686 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
16687 return resultobj;
16688fail:
16689 return NULL__null;
16690}
16691
16692
16693SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponse_psf(PyObject *self, PyObject *args) {
16694 int argc;
16695 PyObject *argv[8];
16696 int ii;
16697
16698 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
16699 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
16700 for (ii = 0; (ii < 7) && (ii < argc); ii++) {
16701 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
16702 }
16703 if (argc == 1) {
16704 int _v;
16705 void *vptr = 0;
16706 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAResponse, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[28
], 0, 0)
;
16707 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16708 if (_v) {
16709 return _wrap_GCTAResponse_psf__SWIG_0(self, args);
16710 }
16711 }
16712 if (argc == 2) {
16713 int _v;
16714 void *vptr = 0;
16715 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAResponse, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[28
], 0, 0)
;
16716 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16717 if (_v) {
16718 void *vptr = 0;
16719 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_GCTAPsf, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[23
], 0, 0)
;
16720 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16721 if (_v) {
16722 return _wrap_GCTAResponse_psf__SWIG_1(self, args);
16723 }
16724 }
16725 }
16726 if (argc == 7) {
16727 int _v;
16728 void *vptr = 0;
16729 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAResponse, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[28
], 0, 0)
;
16730 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16731 if (_v) {
16732 {
16733 int res = SWIG_AsVal_double(argv[1], NULL__null);
16734 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16735 }
16736 if (_v) {
16737 {
16738 int res = SWIG_AsVal_double(argv[2], NULL__null);
16739 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16740 }
16741 if (_v) {
16742 {
16743 int res = SWIG_AsVal_double(argv[3], NULL__null);
16744 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16745 }
16746 if (_v) {
16747 {
16748 int res = SWIG_AsVal_double(argv[4], NULL__null);
16749 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16750 }
16751 if (_v) {
16752 {
16753 int res = SWIG_AsVal_double(argv[5], NULL__null);
16754 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16755 }
16756 if (_v) {
16757 {
16758 int res = SWIG_AsVal_double(argv[6], NULL__null);
16759 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16760 }
16761 if (_v) {
16762 return _wrap_GCTAResponse_psf__SWIG_2(self, args);
16763 }
16764 }
16765 }
16766 }
16767 }
16768 }
16769 }
16770 }
16771
16772fail:
16773 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAResponse_psf'.\n"
16774 " Possible C/C++ prototypes are:\n"
16775 " GCTAResponse::psf() const\n"
16776 " GCTAResponse::psf(GCTAPsf *)\n"
16777 " GCTAResponse::psf(double const &,double const &,double const &,double const &,double const &,double const &) const\n");
16778 return 0;
16779}
16780
16781
16782SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponse_psf_delta_max(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16783 PyObject *resultobj = 0;
16784 GCTAResponse *arg1 = (GCTAResponse *) 0 ;
16785 double *arg2 = 0 ;
16786 double *arg3 = 0 ;
16787 double *arg4 = 0 ;
16788 double *arg5 = 0 ;
16789 double *arg6 = 0 ;
16790 void *argp1 = 0 ;
16791 int res1 = 0 ;
16792 double temp2 ;
16793 double val2 ;
16794 int ecode2 = 0 ;
16795 double temp3 ;
16796 double val3 ;
16797 int ecode3 = 0 ;
16798 double temp4 ;
16799 double val4 ;
16800 int ecode4 = 0 ;
16801 double temp5 ;
16802 double val5 ;
16803 int ecode5 = 0 ;
16804 double temp6 ;
16805 double val6 ;
16806 int ecode6 = 0 ;
16807 PyObject * obj0 = 0 ;
16808 PyObject * obj1 = 0 ;
16809 PyObject * obj2 = 0 ;
16810 PyObject * obj3 = 0 ;
16811 PyObject * obj4 = 0 ;
16812 PyObject * obj5 = 0 ;
16813 double result;
16814
16815 if (!PyArg_ParseTuple(args,(char *)"OOOOOO:GCTAResponse_psf_delta_max",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_failgoto fail;
16816 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponse, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
16817 if (!SWIG_IsOK(res1)(res1 >= 0)) {
16818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponse_psf_delta_max" "', argument " "1"" of type '" "GCTAResponse const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponse_psf_delta_max"
"', argument " "1"" of type '" "GCTAResponse const *""'"); goto
fail; } while(0)
;
16819 }
16820 arg1 = reinterpret_cast< GCTAResponse * >(argp1);
16821 ecode2 = SWIG_AsVal_double(obj1, &val2);
16822 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
16823 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAResponse_psf_delta_max" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAResponse_psf_delta_max"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
16824 }
16825 temp2 = static_cast< double >(val2);
16826 arg2 = &temp2;
16827 ecode3 = SWIG_AsVal_double(obj2, &val3);
16828 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
16829 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAResponse_psf_delta_max" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAResponse_psf_delta_max"
"', argument " "3"" of type '" "double""'"); goto fail; } while
(0)
;
16830 }
16831 temp3 = static_cast< double >(val3);
16832 arg3 = &temp3;
16833 ecode4 = SWIG_AsVal_double(obj3, &val4);
16834 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
16835 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAResponse_psf_delta_max" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAResponse_psf_delta_max"
"', argument " "4"" of type '" "double""'"); goto fail; } while
(0)
;
16836 }
16837 temp4 = static_cast< double >(val4);
16838 arg4 = &temp4;
16839 ecode5 = SWIG_AsVal_double(obj4, &val5);
16840 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
16841 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAResponse_psf_delta_max" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAResponse_psf_delta_max"
"', argument " "5"" of type '" "double""'"); goto fail; } while
(0)
;
16842 }
16843 temp5 = static_cast< double >(val5);
16844 arg5 = &temp5;
16845 ecode6 = SWIG_AsVal_double(obj5, &val6);
16846 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
16847 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAResponse_psf_delta_max" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAResponse_psf_delta_max"
"', argument " "6"" of type '" "double""'"); goto fail; } while
(0)
;
16848 }
16849 temp6 = static_cast< double >(val6);
16850 arg6 = &temp6;
16851 {
16852 try {
16853 result = (double)((GCTAResponse const *)arg1)->psf_delta_max((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6);
16854 }
16855 catch (const GException::out_of_range& e) {
16856 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
16857 }
16858 catch (const GExceptionHandler& e) {
16859 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16860 }
16861 catch (const std::exception& e) {
16862 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16863 }
16864 }
16865 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
16866 return resultobj;
16867fail:
16868 return NULL__null;
16869}
16870
16871
16872SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponse_edisp__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16873 PyObject *resultobj = 0;
16874 GCTAResponse *arg1 = (GCTAResponse *) 0 ;
16875 double *arg2 = 0 ;
16876 double *arg3 = 0 ;
16877 double *arg4 = 0 ;
16878 double *arg5 = 0 ;
16879 double *arg6 = 0 ;
16880 double *arg7 = 0 ;
16881 void *argp1 = 0 ;
16882 int res1 = 0 ;
16883 double temp2 ;
16884 double val2 ;
16885 int ecode2 = 0 ;
16886 double temp3 ;
16887 double val3 ;
16888 int ecode3 = 0 ;
16889 double temp4 ;
16890 double val4 ;
16891 int ecode4 = 0 ;
16892 double temp5 ;
16893 double val5 ;
16894 int ecode5 = 0 ;
16895 double temp6 ;
16896 double val6 ;
16897 int ecode6 = 0 ;
16898 double temp7 ;
16899 double val7 ;
16900 int ecode7 = 0 ;
16901 PyObject * obj0 = 0 ;
16902 PyObject * obj1 = 0 ;
16903 PyObject * obj2 = 0 ;
16904 PyObject * obj3 = 0 ;
16905 PyObject * obj4 = 0 ;
16906 PyObject * obj5 = 0 ;
16907 PyObject * obj6 = 0 ;
16908 double result;
16909
16910 if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:GCTAResponse_edisp",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_failgoto fail;
16911 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponse, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
16912 if (!SWIG_IsOK(res1)(res1 >= 0)) {
16913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponse_edisp" "', argument " "1"" of type '" "GCTAResponse const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponse_edisp" "', argument "
"1"" of type '" "GCTAResponse const *""'"); goto fail; } while
(0)
;
16914 }
16915 arg1 = reinterpret_cast< GCTAResponse * >(argp1);
16916 ecode2 = SWIG_AsVal_double(obj1, &val2);
16917 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
16918 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAResponse_edisp" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAResponse_edisp" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
16919 }
16920 temp2 = static_cast< double >(val2);
16921 arg2 = &temp2;
16922 ecode3 = SWIG_AsVal_double(obj2, &val3);
16923 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
16924 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAResponse_edisp" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAResponse_edisp" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
16925 }
16926 temp3 = static_cast< double >(val3);
16927 arg3 = &temp3;
16928 ecode4 = SWIG_AsVal_double(obj3, &val4);
16929 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
16930 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAResponse_edisp" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAResponse_edisp" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
16931 }
16932 temp4 = static_cast< double >(val4);
16933 arg4 = &temp4;
16934 ecode5 = SWIG_AsVal_double(obj4, &val5);
16935 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
16936 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAResponse_edisp" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAResponse_edisp" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
16937 }
16938 temp5 = static_cast< double >(val5);
16939 arg5 = &temp5;
16940 ecode6 = SWIG_AsVal_double(obj5, &val6);
16941 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
16942 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAResponse_edisp" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAResponse_edisp" "', argument "
"6"" of type '" "double""'"); goto fail; } while(0)
;
16943 }
16944 temp6 = static_cast< double >(val6);
16945 arg6 = &temp6;
16946 ecode7 = SWIG_AsVal_double(obj6, &val7);
16947 if (!SWIG_IsOK(ecode7)(ecode7 >= 0)) {
16948 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GCTAResponse_edisp" "', argument " "7"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode7 !=
(-1)) ? ecode7 : -5)), "in method '" "GCTAResponse_edisp" "', argument "
"7"" of type '" "double""'"); goto fail; } while(0)
;
16949 }
16950 temp7 = static_cast< double >(val7);
16951 arg7 = &temp7;
16952 {
16953 try {
16954 result = (double)((GCTAResponse const *)arg1)->edisp((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6,(double const &)*arg7);
16955 }
16956 catch (const GException::out_of_range& e) {
16957 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
16958 }
16959 catch (const GExceptionHandler& e) {
16960 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16961 }
16962 catch (const std::exception& e) {
16963 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16964 }
16965 }
16966 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
16967 return resultobj;
16968fail:
16969 return NULL__null;
16970}
16971
16972
16973SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponse_edisp(PyObject *self, PyObject *args) {
16974 int argc;
16975 PyObject *argv[8];
16976 int ii;
16977
16978 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
16979 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
16980 for (ii = 0; (ii < 7) && (ii < argc); ii++) {
16981 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
16982 }
16983 if (argc == 1) {
16984 int _v;
16985 void *vptr = 0;
16986 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAResponse, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[28
], 0, 0)
;
16987 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16988 if (_v) {
16989 return _wrap_GCTAResponse_edisp__SWIG_0(self, args);
16990 }
16991 }
16992 if (argc == 2) {
16993 int _v;
16994 void *vptr = 0;
16995 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAResponse, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[28
], 0, 0)
;
16996 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16997 if (_v) {
16998 void *vptr = 0;
16999 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_GCTAEdisp, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[6
], 0, 0)
;
17000 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
17001 if (_v) {
17002 return _wrap_GCTAResponse_edisp__SWIG_1(self, args);
17003 }
17004 }
17005 }
17006 if (argc == 7) {
17007 int _v;
17008 void *vptr = 0;
17009 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAResponse, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[28
], 0, 0)
;
17010 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
17011 if (_v) {
17012 {
17013 int res = SWIG_AsVal_double(argv[1], NULL__null);
17014 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
17015 }
17016 if (_v) {
17017 {
17018 int res = SWIG_AsVal_double(argv[2], NULL__null);
17019 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
17020 }
17021 if (_v) {
17022 {
17023 int res = SWIG_AsVal_double(argv[3], NULL__null);
17024 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
17025 }
17026 if (_v) {
17027 {
17028 int res = SWIG_AsVal_double(argv[4], NULL__null);
17029 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
17030 }
17031 if (_v) {
17032 {
17033 int res = SWIG_AsVal_double(argv[5], NULL__null);
17034 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
17035 }
17036 if (_v) {
17037 {
17038 int res = SWIG_AsVal_double(argv[6], NULL__null);
17039 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
17040 }
17041 if (_v) {
17042 return _wrap_GCTAResponse_edisp__SWIG_2(self, args);
17043 }
17044 }
17045 }
17046 }
17047 }
17048 }
17049 }
17050 }
17051
17052fail:
17053 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAResponse_edisp'.\n"
17054 " Possible C/C++ prototypes are:\n"
17055 " GCTAResponse::edisp() const\n"
17056 " GCTAResponse::edisp(GCTAEdisp *)\n"
17057 " GCTAResponse::edisp(double const &,double const &,double const &,double const &,double const &,double const &) const\n");
17058 return 0;
17059}
17060
17061
17062SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponse_npsf(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17063 PyObject *resultobj = 0;
17064 GCTAResponse *arg1 = (GCTAResponse *) 0 ;
17065 GSkyDir *arg2 = 0 ;
17066 double *arg3 = 0 ;
17067 GTime *arg4 = 0 ;
17068 GCTAPointing *arg5 = 0 ;
17069 GCTARoi *arg6 = 0 ;
17070 void *argp1 = 0 ;
17071 int res1 = 0 ;
17072 void *argp2 = 0 ;
17073 int res2 = 0 ;
17074 double temp3 ;
17075 double val3 ;
17076 int ecode3 = 0 ;
17077 void *argp4 = 0 ;
17078 int res4 = 0 ;
17079 void *argp5 = 0 ;
17080 int res5 = 0 ;
17081 void *argp6 = 0 ;
17082 int res6 = 0 ;
17083 PyObject * obj0 = 0 ;
17084 PyObject * obj1 = 0 ;
17085 PyObject * obj2 = 0 ;
17086 PyObject * obj3 = 0 ;
17087 PyObject * obj4 = 0 ;
17088 PyObject * obj5 = 0 ;
17089 double result;
17090
17091 if (!PyArg_ParseTuple(args,(char *)"OOOOOO:GCTAResponse_npsf",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_failgoto fail;
17092 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponse, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
17093 if (!SWIG_IsOK(res1)(res1 >= 0)) {
17094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponse_npsf" "', argument " "1"" of type '" "GCTAResponse const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponse_npsf" "', argument "
"1"" of type '" "GCTAResponse const *""'"); goto fail; } while
(0)
;
17095 }
17096 arg1 = reinterpret_cast< GCTAResponse * >(argp1);
17097 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GSkyDir, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[60]
, 0 | 0, 0)
;
17098 if (!SWIG_IsOK(res2)(res2 >= 0)) {
17099 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAResponse_npsf" "', argument " "2"" of type '" "GSkyDir const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAResponse_npsf" "', argument "
"2"" of type '" "GSkyDir const &""'"); goto fail; } while
(0)
;
17100 }
17101 if (!argp2) {
17102 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAResponse_npsf" "', argument " "2"" of type '" "GSkyDir const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAResponse_npsf" "', argument " "2"" of type '"
"GSkyDir const &""'"); goto fail; } while(0)
;
17103 }
17104 arg2 = reinterpret_cast< GSkyDir * >(argp2);
17105 ecode3 = SWIG_AsVal_double(obj2, &val3);
17106 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
17107 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAResponse_npsf" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAResponse_npsf" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
17108 }
17109 temp3 = static_cast< double >(val3);
17110 arg3 = &temp3;
17111 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_GTime, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj3, &argp4, swig_types[64]
, 0 | 0, 0)
;
17112 if (!SWIG_IsOK(res4)(res4 >= 0)) {
17113 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "GCTAResponse_npsf" "', argument " "4"" of type '" "GTime const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res4 != (
-1)) ? res4 : -5)), "in method '" "GCTAResponse_npsf" "', argument "
"4"" of type '" "GTime const &""'"); goto fail; } while(
0)
;
17114 }
17115 if (!argp4) {
17116 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAResponse_npsf" "', argument " "4"" of type '" "GTime const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAResponse_npsf" "', argument " "4"" of type '"
"GTime const &""'"); goto fail; } while(0)
;
17117 }
17118 arg4 = reinterpret_cast< GTime * >(argp4);
17119 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_GCTAPointing, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj4, &argp5, swig_types[22]
, 0 | 0, 0)
;
17120 if (!SWIG_IsOK(res5)(res5 >= 0)) {
17121 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "GCTAResponse_npsf" "', argument " "5"" of type '" "GCTAPointing const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res5 != (
-1)) ? res5 : -5)), "in method '" "GCTAResponse_npsf" "', argument "
"5"" of type '" "GCTAPointing const &""'"); goto fail; }
while(0)
;
17122 }
17123 if (!argp5) {
17124 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAResponse_npsf" "', argument " "5"" of type '" "GCTAPointing const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAResponse_npsf" "', argument " "5"" of type '"
"GCTAPointing const &""'"); goto fail; } while(0)
;
17125 }
17126 arg5 = reinterpret_cast< GCTAPointing * >(argp5);
17127 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_GCTARoi, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj5, &argp6, swig_types[30]
, 0 | 0, 0)
;
17128 if (!SWIG_IsOK(res6)(res6 >= 0)) {
17129 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "GCTAResponse_npsf" "', argument " "6"" of type '" "GCTARoi const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res6 != (
-1)) ? res6 : -5)), "in method '" "GCTAResponse_npsf" "', argument "
"6"" of type '" "GCTARoi const &""'"); goto fail; } while
(0)
;
17130 }
17131 if (!argp6) {
17132 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAResponse_npsf" "', argument " "6"" of type '" "GCTARoi const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAResponse_npsf" "', argument " "6"" of type '"
"GCTARoi const &""'"); goto fail; } while(0)
;
17133 }
17134 arg6 = reinterpret_cast< GCTARoi * >(argp6);
17135 {
17136 try {
17137 result = (double)((GCTAResponse const *)arg1)->npsf((GSkyDir const &)*arg2,(double const &)*arg3,(GTime const &)*arg4,(GCTAPointing const &)*arg5,(GCTARoi const &)*arg6);
17138 }
17139 catch (const GException::out_of_range& e) {
17140 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
17141 }
17142 catch (const GExceptionHandler& e) {
17143 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17144 }
17145 catch (const std::exception& e) {
17146 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17147 }
17148 }
17149 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
17150 return resultobj;
17151fail:
17152 return NULL__null;
17153}
17154
17155
17156SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponse_nedisp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17157 PyObject *resultobj = 0;
17158 GCTAResponse *arg1 = (GCTAResponse *) 0 ;
17159 GSkyDir *arg2 = 0 ;
17160 GEnergy *arg3 = 0 ;
17161 GTime *arg4 = 0 ;
17162 GCTAPointing *arg5 = 0 ;
17163 GEbounds *arg6 = 0 ;
17164 void *argp1 = 0 ;
17165 int res1 = 0 ;
17166 void *argp2 = 0 ;
17167 int res2 = 0 ;
17168 void *argp3 = 0 ;
17169 int res3 = 0 ;
17170 void *argp4 = 0 ;
17171 int res4 = 0 ;
17172 void *argp5 = 0 ;
17173 int res5 = 0 ;
17174 void *argp6 = 0 ;
17175 int res6 = 0 ;
17176 PyObject * obj0 = 0 ;
17177 PyObject * obj1 = 0 ;
17178 PyObject * obj2 = 0 ;
17179 PyObject * obj3 = 0 ;
17180 PyObject * obj4 = 0 ;
17181 PyObject * obj5 = 0 ;
17182 double result;
17183
17184 if (!PyArg_ParseTuple(args,(char *)"OOOOOO:GCTAResponse_nedisp",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_failgoto fail;
17185 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponse, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
17186 if (!SWIG_IsOK(res1)(res1 >= 0)) {
17187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponse_nedisp" "', argument " "1"" of type '" "GCTAResponse const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponse_nedisp" "', argument "
"1"" of type '" "GCTAResponse const *""'"); goto fail; } while
(0)
;
17188 }
17189 arg1 = reinterpret_cast< GCTAResponse * >(argp1);
17190 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GSkyDir, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[60]
, 0 | 0, 0)
;
17191 if (!SWIG_IsOK(res2)(res2 >= 0)) {
17192 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAResponse_nedisp" "', argument " "2"" of type '" "GSkyDir const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAResponse_nedisp" "', argument "
"2"" of type '" "GSkyDir const &""'"); goto fail; } while
(0)
;
17193 }
17194 if (!argp2) {
17195 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAResponse_nedisp" "', argument " "2"" of type '" "GSkyDir const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAResponse_nedisp" "', argument " "2"" of type '"
"GSkyDir const &""'"); goto fail; } while(0)
;
17196 }
17197 arg2 = reinterpret_cast< GSkyDir * >(argp2);
17198 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GEnergy, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[33]
, 0 | 0, 0)
;
17199 if (!SWIG_IsOK(res3)(res3 >= 0)) {
17200 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GCTAResponse_nedisp" "', argument " "3"" of type '" "GEnergy const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GCTAResponse_nedisp" "', argument "
"3"" of type '" "GEnergy const &""'"); goto fail; } while
(0)
;
17201 }
17202 if (!argp3) {
17203 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAResponse_nedisp" "', argument " "3"" of type '" "GEnergy const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAResponse_nedisp" "', argument " "3"" of type '"
"GEnergy const &""'"); goto fail; } while(0)
;
17204 }
17205 arg3 = reinterpret_cast< GEnergy * >(argp3);
17206 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_GTime, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj3, &argp4, swig_types[64]
, 0 | 0, 0)
;
17207 if (!SWIG_IsOK(res4)(res4 >= 0)) {
17208 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "GCTAResponse_nedisp" "', argument " "4"" of type '" "GTime const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res4 != (
-1)) ? res4 : -5)), "in method '" "GCTAResponse_nedisp" "', argument "
"4"" of type '" "GTime const &""'"); goto fail; } while(
0)
;
17209 }
17210 if (!argp4) {
17211 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAResponse_nedisp" "', argument " "4"" of type '" "GTime const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAResponse_nedisp" "', argument " "4"" of type '"
"GTime const &""'"); goto fail; } while(0)
;
17212 }
17213 arg4 = reinterpret_cast< GTime * >(argp4);
17214 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_GCTAPointing, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj4, &argp5, swig_types[22]
, 0 | 0, 0)
;
17215 if (!SWIG_IsOK(res5)(res5 >= 0)) {
17216 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "GCTAResponse_nedisp" "', argument " "5"" of type '" "GCTAPointing const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res5 != (
-1)) ? res5 : -5)), "in method '" "GCTAResponse_nedisp" "', argument "
"5"" of type '" "GCTAPointing const &""'"); goto fail; }
while(0)
;
17217 }
17218 if (!argp5) {
17219 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAResponse_nedisp" "', argument " "5"" of type '" "GCTAPointing const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAResponse_nedisp" "', argument " "5"" of type '"
"GCTAPointing const &""'"); goto fail; } while(0)
;
17220 }
17221 arg5 = reinterpret_cast< GCTAPointing * >(argp5);
17222 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_GEbounds, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj5, &argp6, swig_types[32]
, 0 | 0, 0)
;
17223 if (!SWIG_IsOK(res6)(res6 >= 0)) {
17224 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "GCTAResponse_nedisp" "', argument " "6"" of type '" "GEbounds const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res6 != (
-1)) ? res6 : -5)), "in method '" "GCTAResponse_nedisp" "', argument "
"6"" of type '" "GEbounds const &""'"); goto fail; } while
(0)
;
17225 }
17226 if (!argp6) {
17227 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAResponse_nedisp" "', argument " "6"" of type '" "GEbounds const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAResponse_nedisp" "', argument " "6"" of type '"
"GEbounds const &""'"); goto fail; } while(0)
;
17228 }
17229 arg6 = reinterpret_cast< GEbounds * >(argp6);
17230 {
17231 try {
17232 result = (double)((GCTAResponse const *)arg1)->nedisp((GSkyDir const &)*arg2,(GEnergy const &)*arg3,(GTime const &)*arg4,(GCTAPointing const &)*arg5,(GEbounds const &)*arg6);
17233 }
17234 catch (const GException::out_of_range& e) {
17235 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
17236 }
17237 catch (const GExceptionHandler& e) {
17238 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17239 }
17240 catch (const std::exception& e) {
17241 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17242 }
17243 }
17244 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
17245 return resultobj;
17246fail:
17247 return NULL__null;
17248}
17249
17250
17251SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponse_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17252 PyObject *resultobj = 0;
17253 GCTAResponse *arg1 = (GCTAResponse *) 0 ;
17254 void *argp1 = 0 ;
17255 int res1 = 0 ;
17256 PyObject * obj0 = 0 ;
17257 GCTAResponse result;
17258
17259 if (!PyArg_ParseTuple(args,(char *)"O:GCTAResponse_copy",&obj0)) SWIG_failgoto fail;
17260 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponse, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
17261 if (!SWIG_IsOK(res1)(res1 >= 0)) {
17262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponse_copy" "', argument " "1"" of type '" "GCTAResponse *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponse_copy" "', argument "
"1"" of type '" "GCTAResponse *""'"); goto fail; } while(0)
;
17263 }
17264 arg1 = reinterpret_cast< GCTAResponse * >(argp1);
17265 {
17266 try {
17267 result = GCTAResponse_copy(arg1);
17268 }
17269 catch (const GException::out_of_range& e) {
17270 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
17271 }
17272 catch (const GExceptionHandler& e) {
17273 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17274 }
17275 catch (const std::exception& e) {
17276 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17277 }
17278 }
17279 resultobj = SWIG_NewPointerObj((new GCTAResponse(static_cast< const GCTAResponse& >(result))), SWIGTYPE_p_GCTAResponse, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GCTAResponse(static_cast
< const GCTAResponse& >(result))), swig_types[28], 0x1
| 0)
;
17280 return resultobj;
17281fail:
17282 return NULL__null;
17283}
17284
17285
17286SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GCTAResponse_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17287 PyObject *obj;
17288 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
17289 SWIG_TypeNewClientData(SWIGTYPE_p_GCTAResponseswig_types[28], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
17290 return SWIG_Py_Void();
17291}
17292
17293SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17294 PyObject *resultobj = 0;
17295 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
17296 PyObject **arg2 = (PyObject **) 0 ;
17297 void *argp1 = 0 ;
17298 int res1 = 0 ;
17299 PyObject * obj0 = 0 ;
17300 swig::SwigPyIterator *result = 0 ;
17301
17302 arg2 = &obj0;
17303 if (!PyArg_ParseTuple(args,(char *)"O:VecDouble_iterator",&obj0)) SWIG_failgoto fail;
17304 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[75]
, 0 | 0, 0)
;
17305 if (!SWIG_IsOK(res1)(res1 >= 0)) {
17306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VecDouble_iterator" "', argument " "1"" of type '" "std::vector< double > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "VecDouble_iterator" "', argument "
"1"" of type '" "std::vector< double > *""'"); goto fail
; } while(0)
;
17307 }
17308 arg1 = reinterpret_cast< std::vector< double > * >(argp1);
17309 {
17310 try {
17311 result = (swig::SwigPyIterator *)std_vector_Sl_double_Sg__iterator(arg1,arg2);
17312 }
17313 catch (const GException::out_of_range& e) {
17314 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
17315 }
17316 catch (const GExceptionHandler& e) {
17317 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17318 }
17319 catch (const std::exception& e) {
17320 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17321 }
17322 }
17323 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[76], 0x1
| 0)
;
17324 return resultobj;
17325fail:
17326 return NULL__null;
17327}
17328
17329
17330SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17331 PyObject *resultobj = 0;
17332 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
17333 void *argp1 = 0 ;
17334 int res1 = 0 ;
17335 PyObject * obj0 = 0 ;
17336 bool result;
17337
17338 if (!PyArg_ParseTuple(args,(char *)"O:VecDouble___nonzero__",&obj0)) SWIG_failgoto fail;
17339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[75]
, 0 | 0, 0)
;
17340 if (!SWIG_IsOK(res1)(res1 >= 0)) {
17341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VecDouble___nonzero__" "', argument " "1"" of type '" "std::vector< double > const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "VecDouble___nonzero__" "', argument "
"1"" of type '" "std::vector< double > const *""'"); goto
fail; } while(0)
;
17342 }
17343 arg1 = reinterpret_cast< std::vector< double > * >(argp1);
17344 {
17345 try {
17346 result = (bool)std_vector_Sl_double_Sg____nonzero__((std::vector< double > const *)arg1);
17347 }
17348 catch (const GException::out_of_range& e) {
17349 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
17350 }
17351 catch (const GExceptionHandler& e) {
17352 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17353 }
17354 catch (const std::exception& e) {
17355 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17356 }
17357 }
17358 resultobj = SWIG_From_bool(static_cast< bool >(result));
17359 return resultobj;
17360fail:
17361 return NULL__null;
17362}
17363
17364
17365SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17366 PyObject *resultobj = 0;
17367 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
17368 void *argp1 = 0 ;
17369 int res1 = 0 ;
17370 PyObject * obj0 = 0 ;
17371 bool result;
17372
17373 if (!PyArg_ParseTuple(args,(char *)"O:VecDouble___bool__",&obj0)) SWIG_failgoto fail;
17374 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[75]
, 0 | 0, 0)
;
17375 if (!SWIG_IsOK(res1)(res1 >= 0)) {
17376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VecDouble___bool__" "', argument " "1"" of type '" "std::vector< double > const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "VecDouble___bool__" "', argument "
"1"" of type '" "std::vector< double > const *""'"); goto
fail; } while(0)
;
17377 }
17378 arg1 = reinterpret_cast< std::vector< double > * >(argp1);
17379 {
17380 try {
17381 result = (bool)std_vector_Sl_double_Sg____bool__((std::vector< double > const *)arg1);
17382 }
17383 catch (const GException::out_of_range& e) {
17384 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
17385 }
17386 catch (const GExceptionHandler& e) {
17387 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17388 }
17389 catch (const std::exception& e) {
17390 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17391 }
17392 }
17393 resultobj = SWIG_From_bool(static_cast< bool >(result));
17394 return resultobj;
17395fail:
17396 return NULL__null;
17397}
17398
17399
17400SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17401 PyObject *resultobj = 0;
17402 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
17403 void *argp1 = 0 ;
17404 int res1 = 0 ;
17405 PyObject * obj0 = 0 ;
17406 std::vector< double >::size_type result;
17407
17408 if (!PyArg_ParseTuple(args,(char *)"O:VecDouble___len__",&obj0)) SWIG_failgoto fail;
17409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[75]
, 0 | 0, 0)
;
17410 if (!SWIG_IsOK(res1)(res1 >= 0)) {
17411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VecDouble___len__" "', argument " "1"" of type '" "std::vector< double > const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "VecDouble___len__" "', argument "
"1"" of type '" "std::vector< double > const *""'"); goto
fail; } while(0)
;
17412 }
17413 arg1 = reinterpret_cast< std::vector< double > * >(argp1);
17414 {
17415 try {
17416 result = std_vector_Sl_double_Sg____len__((std::vector< double > const *)arg1);
17417 }
17418 catch (const GException::out_of_range& e) {
17419 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
17420 }
17421 catch (const GExceptionHandler& e) {
17422 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17423 }
17424 catch (const std::exception& e) {
17425 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17426 }
17427 }
17428 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
17429 return resultobj;
17430fail:
17431 return NULL__null;
17432}
17433
17434
17435SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17436 PyObject *resultobj = 0;
17437 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
17438 void *argp1 = 0 ;
17439 int res1 = 0 ;
17440 PyObject * obj0 = 0 ;
17441 std::vector< double >::value_type result;
17442
17443 if (!PyArg_ParseTuple(args,(char *)"O:VecDouble_pop",&obj0)) SWIG_failgoto fail;
17444 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[75]
, 0 | 0, 0)
;
17445 if (!SWIG_IsOK(res1)(res1 >= 0)) {
17446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VecDouble_pop" "', argument " "1"" of type '" "std::vector< double > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "VecDouble_pop" "', argument "
"1"" of type '" "std::vector< double > *""'"); goto fail
; } while(0)
;
17447 }
17448 arg1 = reinterpret_cast< std::vector< double > * >(argp1);
17449 {
17450 try {
17451 try {
17452 result = (std::vector< double >::value_type)std_vector_Sl_double_Sg__pop(arg1);
17453 }
17454 catch(std::out_of_range &_e) {
17455 SWIG_exception_fail(SWIG_IndexError, (&_e)->what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), (&
_e)->what()); goto fail; } while(0)
;
17456 }
17457
17458 }
17459 catch (const GException::out_of_range& e) {
17460 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
17461 }
17462 catch (const GExceptionHandler& e) {
17463 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17464 }
17465 catch (const std::exception& e) {
17466 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17467 }
17468 }
17469 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
17470 return resultobj;
17471fail:
17472 return NULL__null;
17473}
17474
17475
17476SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17477 PyObject *resultobj = 0;
17478 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
17479 std::vector< double >::difference_type arg2 ;
17480 std::vector< double >::difference_type arg3 ;
17481 void *argp1 = 0 ;
17482 int res1 = 0 ;
17483 ptrdiff_t val2 ;
17484 int ecode2 = 0 ;
17485 ptrdiff_t val3 ;
17486 int ecode3 = 0 ;
17487 PyObject * obj0 = 0 ;
17488 PyObject * obj1 = 0 ;
17489 PyObject * obj2 = 0 ;
17490 std::vector< double,std::allocator< double > > *result = 0 ;
17491
17492 if (!PyArg_ParseTuple(args,(char *)"OOO:VecDouble___getslice__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
17493 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[75]
, 0 | 0, 0)
;
17494 if (!SWIG_IsOK(res1)(res1 >= 0)) {
17495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VecDouble___getslice__" "', argument " "1"" of type '" "std::vector< double > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "VecDouble___getslice__" "', argument "
"1"" of type '" "std::vector< double > *""'"); goto fail
; } while(0)
;
17496 }
17497 arg1 = reinterpret_cast< std::vector< double > * >(argp1);
17498 ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
17499 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
17500 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VecDouble___getslice__" "', argument " "2"" of type '" "std::vector< double >::difference_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "VecDouble___getslice__"
"', argument " "2"" of type '" "std::vector< double >::difference_type"
"'"); goto fail; } while(0)
;
17501 }
17502 arg2 = static_cast< std::vector< double >::difference_type >(val2);
17503 ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
17504 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
17505 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VecDouble___getslice__" "', argument " "3"" of type '" "std::vector< double >::difference_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "VecDouble___getslice__"
"', argument " "3"" of type '" "std::vector< double >::difference_type"
"'"); goto fail; } while(0)
;
17506 }
17507 arg3 = static_cast< std::vector< double >::difference_type >(val3);
17508 {
17509 try {
17510 try {
17511 result = (std::vector< double,std::allocator< double > > *)std_vector_Sl_double_Sg____getslice__(arg1,arg2,arg3);
17512 }
17513 catch(std::out_of_range &_e) {
17514 SWIG_exception_fail(SWIG_IndexError, (&_e)->what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), (&
_e)->what()); goto fail; } while(0)
;
17515 }
17516 catch(std::invalid_argument &_e) {
17517 SWIG_exception_fail(SWIG_ValueError, (&_e)->what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), (&
_e)->what()); goto fail; } while(0)
;
17518 }
17519
17520 }
17521 catch (const GException::out_of_range& e) {
17522 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
17523 }
17524 catch (const GExceptionHandler& e) {
17525 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17526 }
17527 catch (const std::exception& e) {
17528 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17529 }
17530 }
17531 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[75], 0x1
| 0)
;
17532 return resultobj;
17533fail:
17534 return NULL__null;
17535}
17536
17537
17538SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17539 PyObject *resultobj = 0;
17540 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
17541 std::vector< double >::difference_type arg2 ;
17542 std::vector< double >::difference_type arg3 ;
17543 std::vector< double,std::allocator< double > > *arg4 = 0 ;
17544 void *argp1 = 0 ;
17545 int res1 = 0 ;
17546 ptrdiff_t val2 ;
17547 int ecode2 = 0 ;
17548 ptrdiff_t val3 ;
17549 int ecode3 = 0 ;
17550 int res4 = SWIG_OLDOBJ((0)) ;
17551 PyObject * obj0 = 0 ;
17552 PyObject * obj1 = 0 ;
17553 PyObject * obj2 = 0 ;
17554 PyObject * obj3 = 0 ;
17555
17556 if (!PyArg_ParseTuple(args,(char *)"OOOO:VecDouble___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
17557 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[75]
, 0 | 0, 0)
;
17558 if (!SWIG_IsOK(res1)(res1 >= 0)) {
17559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VecDouble___setslice__" "', argument " "1"" of type '" "std::vector< double > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "VecDouble___setslice__" "', argument "
"1"" of type '" "std::vector< double > *""'"); goto fail
; } while(0)
;
17560 }
17561 arg1 = reinterpret_cast< std::vector< double > * >(argp1);
17562 ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
17563 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
17564 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VecDouble___setslice__" "', argument " "2"" of type '" "std::vector< double >::difference_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "VecDouble___setslice__"
"', argument " "2"" of type '" "std::vector< double >::difference_type"
"'"); goto fail; } while(0)
;
17565 }
17566 arg2 = static_cast< std::vector< double >::difference_type >(val2);
17567 ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
17568 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
17569 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VecDouble___setslice__" "', argument " "3"" of type '" "std::vector< double >::difference_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "VecDouble___setslice__"
"', argument " "3"" of type '" "std::vector< double >::difference_type"
"'"); goto fail; } while(0)
;
17570 }
17571 arg3 = static_cast< std::vector< double >::difference_type >(val3);
17572 {
17573 std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0;
17574 res4 = swig::asptr(obj3, &ptr);
17575 if (!SWIG_IsOK(res4)(res4 >= 0)) {
17576 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "VecDouble___setslice__" "', argument " "4"" of type '" "std::vector< double,std::allocator< double > > const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res4 != (
-1)) ? res4 : -5)), "in method '" "VecDouble___setslice__" "', argument "
"4"" of type '" "std::vector< double,std::allocator< double > > const &"
"'"); goto fail; } while(0)
;
17577 }
17578 if (!ptr) {
17579 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VecDouble___setslice__" "', argument " "4"" of type '" "std::vector< double,std::allocator< double > > const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "VecDouble___setslice__" "', argument " "4"" of type '"
"std::vector< double,std::allocator< double > > const &"
"'"); goto fail; } while(0)
;
17580 }
17581 arg4 = ptr;
17582 }
17583 {
17584 try {
17585 try {
17586 std_vector_Sl_double_Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< double,std::allocator< double > > const &)*arg4);
17587 }
17588 catch(std::out_of_range &_e) {
17589 SWIG_exception_fail(SWIG_IndexError, (&_e)->what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), (&
_e)->what()); goto fail; } while(0)
;
17590 }
17591 catch(std::invalid_argument &_e) {
17592 SWIG_exception_fail(SWIG_ValueError, (&_e)->what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), (&
_e)->what()); goto fail; } while(0)
;
17593 }
17594
17595 }
17596 catch (const GException::out_of_range& e) {
17597 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
17598 }
17599 catch (const GExceptionHandler& e) {
17600 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17601 }
17602 catch (const std::exception& e) {
17603 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17604 }
17605 }
17606 resultobj = SWIG_Py_Void();
17607 if (SWIG_IsNewObj(res4)((res4 >= 0) && (res4 & ((1 << 8) <<
1)))
) delete arg4;
17608 return resultobj;
17609fail:
17610 if (SWIG_IsNewObj(res4)((res4 >= 0) && (res4 & ((1 << 8) <<
1)))
) delete arg4;
17611 return NULL__null;
17612}
17613
17614
17615SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17616 PyObject *resultobj = 0;
17617 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
17618 std::vector< double >::difference_type arg2 ;
17619 std::vector< double >::difference_type arg3 ;
17620 void *argp1 = 0 ;
17621 int res1 = 0 ;
17622 ptrdiff_t val2 ;
17623 int ecode2 = 0 ;
17624 ptrdiff_t val3 ;
17625 int ecode3 = 0 ;
17626 PyObject * obj0 = 0 ;
17627 PyObject * obj1 = 0 ;
17628 PyObject * obj2 = 0 ;
17629
17630 if (!PyArg_ParseTuple(args,(char *)"OOO:VecDouble___setslice__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
17631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[75]
, 0 | 0, 0)
;
17632 if (!SWIG_IsOK(res1)(res1 >= 0)) {
17633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VecDouble___setslice__" "', argument " "1"" of type '" "std::vector< double > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "VecDouble___setslice__" "', argument "
"1"" of type '" "std::vector< double > *""'"); goto fail
; } while(0)
;
17634 }
17635 arg1 = reinterpret_cast< std::vector< double > * >(argp1);
17636 ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
17637 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
17638 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VecDouble___setslice__" "', argument " "2"" of type '" "std::vector< double >::difference_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "VecDouble___setslice__"
"', argument " "2"" of type '" "std::vector< double >::difference_type"
"'"); goto fail; } while(0)
;
17639 }
17640 arg2 = static_cast< std::vector< double >::difference_type >(val2);
17641 ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
17642 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
17643 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VecDouble___setslice__" "', argument " "3"" of type '" "std::vector< double >::difference_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "VecDouble___setslice__"
"', argument " "3"" of type '" "std::vector< double >::difference_type"
"'"); goto fail; } while(0)
;
17644 }
17645 arg3 = static_cast< std::vector< double >::difference_type >(val3);
17646 {
17647 try {
17648 try {
17649 std_vector_Sl_double_Sg____setslice____SWIG_0(arg1,arg2,arg3);
17650 }
17651 catch(std::out_of_range &_e) {
17652 SWIG_exception_fail(SWIG_IndexError, (&_e)->what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), (&
_e)->what()); goto fail; } while(0)
;
17653 }
17654 catch(std::invalid_argument &_e) {
17655 SWIG_exception_fail(SWIG_ValueError, (&_e)->what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), (&
_e)->what()); goto fail; } while(0)
;
17656 }
17657
17658 }
17659 catch (const GException::out_of_range& e) {
17660 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
17661 }
17662 catch (const GExceptionHandler& e) {
17663 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17664 }
17665 catch (const std::exception& e) {
17666 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17667 }
17668 }
17669 resultobj = SWIG_Py_Void();
17670 return resultobj;
17671fail:
17672 return NULL__null;
17673}
17674
17675
17676SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble___setslice__(PyObject *self, PyObject *args) {
17677 int argc;
17678 PyObject *argv[5];
17679 int ii;
17680
17681 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
17682 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
17683 for (ii = 0; (ii < 4) && (ii < argc); ii++) {
17684 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
17685 }
17686 if (argc == 3) {
17687 int _v;
17688 int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0));
17689 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
17690 if (_v) {
17691 {
17692 int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL__null);
17693 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
17694 }
17695 if (_v) {
17696 {
17697 int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL__null);
17698 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
17699 }
17700 if (_v) {
17701 return _wrap_VecDouble___setslice____SWIG_1(self, args);
17702 }
17703 }
17704 }
17705 }
17706 if (argc == 4) {
17707 int _v;
17708 int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0));
17709 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
17710 if (_v) {
17711 {
17712 int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL__null);
17713 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
17714 }
17715 if (_v) {
17716 {
17717 int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL__null);
17718 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
17719 }
17720 if (_v) {
17721 int res = swig::asptr(argv[3], (std::vector<double,std::allocator< double > >**)(0));
17722 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
17723 if (_v) {
17724 return _wrap_VecDouble___setslice____SWIG_0(self, args);
17725 }
17726 }
17727 }
17728 }
17729 }
17730
17731fail:
17732 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'VecDouble___setslice__'.\n"
17733 " Possible C/C++ prototypes are:\n"
17734 " std::vector< double >::__setslice__(std::vector< double >::difference_type,std::vector< double >::difference_type,std::vector< double,std::allocator< double > > const &)\n"
17735 " std::vector< double >::__setslice__(std::vector< double >::difference_type,std::vector< double >::difference_type)\n");
17736 return 0;
17737}
17738
17739
17740SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble___delslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17741 PyObject *resultobj = 0;
17742 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
17743 std::vector< double >::difference_type arg2 ;
17744 std::vector< double >::difference_type arg3 ;
17745 void *argp1 = 0 ;
17746 int res1 = 0 ;
17747 ptrdiff_t val2 ;
17748 int ecode2 = 0 ;
17749 ptrdiff_t val3 ;
17750 int ecode3 = 0 ;
17751 PyObject * obj0 = 0 ;
17752 PyObject * obj1 = 0 ;
17753 PyObject * obj2 = 0 ;
17754
17755 if (!PyArg_ParseTuple(args,(char *)"OOO:VecDouble___delslice__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
17756 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[75]
, 0 | 0, 0)
;
17757 if (!SWIG_IsOK(res1)(res1 >= 0)) {
17758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VecDouble___delslice__" "', argument " "1"" of type '" "std::vector< double > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "VecDouble___delslice__" "', argument "
"1"" of type '" "std::vector< double > *""'"); goto fail
; } while(0)
;
17759 }
17760 arg1 = reinterpret_cast< std::vector< double > * >(argp1);
17761 ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
17762 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
17763 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VecDouble___delslice__" "', argument " "2"" of type '" "std::vector< double >::difference_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "VecDouble___delslice__"
"', argument " "2"" of type '" "std::vector< double >::difference_type"
"'"); goto fail; } while(0)
;
17764 }
17765 arg2 = static_cast< std::vector< double >::difference_type >(val2);
17766 ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
17767 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
17768 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VecDouble___delslice__" "', argument " "3"" of type '" "std::vector< double >::difference_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "VecDouble___delslice__"
"', argument " "3"" of type '" "std::vector< double >::difference_type"
"'"); goto fail; } while(0)
;
17769 }
17770 arg3 = static_cast< std::vector< double >::difference_type >(val3);
17771 {
17772 try {
17773 try {
17774 std_vector_Sl_double_Sg____delslice__(arg1,arg2,arg3);
17775 }
17776 catch(std::out_of_range &_e) {
17777 SWIG_exception_fail(SWIG_IndexError, (&_e)->what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), (&
_e)->what()); goto fail; } while(0)
;
17778 }
17779 catch(std::invalid_argument &_e) {
17780 SWIG_exception_fail(SWIG_ValueError, (&_e)->what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), (&
_e)->what()); goto fail; } while(0)
;
17781 }
17782
17783 }
17784 catch (const GException::out_of_range& e) {
17785 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
17786 }
17787 catch (const GExceptionHandler& e) {
17788 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17789 }
17790 catch (const std::exception& e) {
17791 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17792 }
17793 }
17794 resultobj = SWIG_Py_Void();
17795 return resultobj;
17796fail:
17797 return NULL__null;
17798}
17799
17800
17801SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble___delitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17802 PyObject *resultobj = 0;
17803 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
17804 std::vector< double >::difference_type arg2 ;
17805 void *argp1 = 0 ;
17806 int res1 = 0 ;
17807 ptrdiff_t val2 ;
17808 int ecode2 = 0 ;
17809 PyObject * obj0 = 0 ;
17810 PyObject * obj1 = 0 ;
17811
17812 if (!PyArg_ParseTuple(args,(char *)"OO:VecDouble___delitem__",&obj0,&obj1)) SWIG_failgoto fail;
17813 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[75]
, 0 | 0, 0)
;
17814 if (!SWIG_IsOK(res1)(res1 >= 0)) {
17815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VecDouble___delitem__" "', argument " "1"" of type '" "std::vector< double > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "VecDouble___delitem__" "', argument "
"1"" of type '" "std::vector< double > *""'"); goto fail
; } while(0)
;
17816 }
17817 arg1 = reinterpret_cast< std::vector< double > * >(argp1);
17818 ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
17819 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
17820 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VecDouble___delitem__" "', argument " "2"" of type '" "std::vector< double >::difference_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "VecDouble___delitem__"
"', argument " "2"" of type '" "std::vector< double >::difference_type"
"'"); goto fail; } while(0)
;
17821 }
17822 arg2 = static_cast< std::vector< double >::difference_type >(val2);
17823 {
17824 try {
17825 try {
17826 std_vector_Sl_double_Sg____delitem____SWIG_0(arg1,arg2);
17827 }
17828 catch(std::out_of_range &_e) {
17829 SWIG_exception_fail(SWIG_IndexError, (&_e)->what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), (&
_e)->what()); goto fail; } while(0)
;
17830 }
17831
17832 }
17833 catch (const GException::out_of_range& e) {
17834 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
17835 }
17836 catch (const GExceptionHandler& e) {
17837 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17838 }
17839 catch (const std::exception& e) {
17840 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17841 }
17842 }
17843 resultobj = SWIG_Py_Void();
17844 return resultobj;
17845fail:
17846 return NULL__null;
17847}
17848
17849
17850SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17851 PyObject *resultobj = 0;
17852 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
17853 PySliceObject *arg2 = (PySliceObject *) 0 ;
17854 void *argp1 = 0 ;
17855 int res1 = 0 ;
17856 PyObject * obj0 = 0 ;
17857 PyObject * obj1 = 0 ;
17858 std::vector< double,std::allocator< double > > *result = 0 ;
17859
17860 if (!PyArg_ParseTuple(args,(char *)"OO:VecDouble___getitem__",&obj0,&obj1)) SWIG_failgoto fail;
17861 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[75]
, 0 | 0, 0)
;
17862 if (!SWIG_IsOK(res1)(res1 >= 0)) {
17863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VecDouble___getitem__" "', argument " "1"" of type '" "std::vector< double > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "VecDouble___getitem__" "', argument "
"1"" of type '" "std::vector< double > *""'"); goto fail
; } while(0)
;
17864 }
17865 arg1 = reinterpret_cast< std::vector< double > * >(argp1);
17866 {
17867 if (!PySlice_Check(obj1)((((PyObject*)(obj1))->ob_type) == &PySlice_Type)) {
17868 SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VecDouble___getitem__" "', argument " "2"" of type '" "PySliceObject *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((-5 != (-
1)) ? -5 : -5)), "in method '" "VecDouble___getitem__" "', argument "
"2"" of type '" "PySliceObject *""'"); goto fail; } while(0)
;
17869 }
17870 arg2 = (PySliceObject *) obj1;
17871 }
17872 {
17873 try {
17874 try {
17875 result = (std::vector< double,std::allocator< double > > *)std_vector_Sl_double_Sg____getitem____SWIG_0(arg1,arg2);
17876 }
17877 catch(std::out_of_range &_e) {
17878 SWIG_exception_fail(SWIG_IndexError, (&_e)->what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), (&
_e)->what()); goto fail; } while(0)
;
17879 }
17880 catch(std::invalid_argument &_e) {
17881 SWIG_exception_fail(SWIG_ValueError, (&_e)->what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), (&
_e)->what()); goto fail; } while(0)
;
17882 }
17883
17884 }
17885 catch (const GException::out_of_range& e) {
17886 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
17887 }
17888 catch (const GExceptionHandler& e) {
17889 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17890 }
17891 catch (const std::exception& e) {
17892 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17893 }
17894 }
17895 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[75], 0x1
| 0)
;
17896 return resultobj;
17897fail:
17898 return NULL__null;
17899}
17900
17901
17902SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17903 PyObject *resultobj = 0;
17904 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
17905 PySliceObject *arg2 = (PySliceObject *) 0 ;
17906 std::vector< double,std::allocator< double > > *arg3 = 0 ;
17907 void *argp1 = 0 ;
17908 int res1 = 0 ;
17909 int res3 = SWIG_OLDOBJ((0)) ;
17910 PyObject * obj0 = 0 ;
17911 PyObject * obj1 = 0 ;
17912 PyObject * obj2 = 0 ;
17913
17914 if (!PyArg_ParseTuple(args,(char *)"OOO:VecDouble___setitem__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
17915 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[75]
, 0 | 0, 0)
;
17916 if (!SWIG_IsOK(res1)(res1 >= 0)) {
17917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VecDouble___setitem__" "', argument " "1"" of type '" "std::vector< double > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "VecDouble___setitem__" "', argument "
"1"" of type '" "std::vector< double > *""'"); goto fail
; } while(0)
;
17918 }
17919 arg1 = reinterpret_cast< std::vector< double > * >(argp1);
17920 {
17921 if (!PySlice_Check(obj1)((((PyObject*)(obj1))->ob_type) == &PySlice_Type)) {
17922 SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VecDouble___setitem__" "', argument " "2"" of type '" "PySliceObject *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((-5 != (-
1)) ? -5 : -5)), "in method '" "VecDouble___setitem__" "', argument "
"2"" of type '" "PySliceObject *""'"); goto fail; } while(0)
;
17923 }
17924 arg2 = (PySliceObject *) obj1;
17925 }
17926 {
17927 std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0;
17928 res3 = swig::asptr(obj2, &ptr);
17929 if (!SWIG_IsOK(res3)(res3 >= 0)) {
17930 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VecDouble___setitem__" "', argument " "3"" of type '" "std::vector< double,std::allocator< double > > const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "VecDouble___setitem__" "', argument "
"3"" of type '" "std::vector< double,std::allocator< double > > const &"
"'"); goto fail; } while(0)
;
17931 }
17932 if (!ptr) {
17933 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VecDouble___setitem__" "', argument " "3"" of type '" "std::vector< double,std::allocator< double > > const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "VecDouble___setitem__" "', argument " "3"" of type '"
"std::vector< double,std::allocator< double > > const &"
"'"); goto fail; } while(0)
;
17934 }
17935 arg3 = ptr;
17936 }
17937 {
17938 try {
17939 try {
17940 std_vector_Sl_double_Sg____setitem____SWIG_0(arg1,arg2,(std::vector< double,std::allocator< double > > const &)*arg3);
17941 }
17942 catch(std::out_of_range &_e) {
17943 SWIG_exception_fail(SWIG_IndexError, (&_e)->what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), (&
_e)->what()); goto fail; } while(0)
;
17944 }
17945 catch(std::invalid_argument &_e) {
17946 SWIG_exception_fail(SWIG_ValueError, (&_e)->what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), (&
_e)->what()); goto fail; } while(0)
;
17947 }
17948
17949 }
17950 catch (const GException::out_of_range& e) {
17951 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
17952 }
17953 catch (const GExceptionHandler& e) {
17954 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17955 }
17956 catch (const std::exception& e) {
17957 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17958 }
17959 }
17960 resultobj = SWIG_Py_Void();
17961 if (SWIG_IsNewObj(res3)((res3 >= 0) && (res3 & ((1 << 8) <<
1)))
) delete arg3;
17962 return resultobj;
17963fail:
17964 if (SWIG_IsNewObj(res3)((res3 >= 0) && (res3 & ((1 << 8) <<
1)))
) delete arg3;
17965 return NULL__null;
17966}
17967
17968
17969SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17970 PyObject *resultobj = 0;
17971 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
17972 PySliceObject *arg2 = (PySliceObject *) 0 ;
17973 void *argp1 = 0 ;
17974 int res1 = 0 ;
17975 PyObject * obj0 = 0 ;
17976 PyObject * obj1 = 0 ;
17977
17978 if (!PyArg_ParseTuple(args,(char *)"OO:VecDouble___setitem__",&obj0,&obj1)) SWIG_failgoto fail;
17979 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[75]
, 0 | 0, 0)
;
17980 if (!SWIG_IsOK(res1)(res1 >= 0)) {
17981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VecDouble___setitem__" "', argument " "1"" of type '" "std::vector< double > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "VecDouble___setitem__" "', argument "
"1"" of type '" "std::vector< double > *""'"); goto fail
; } while(0)
;
17982 }
17983 arg1 = reinterpret_cast< std::vector< double > * >(argp1);
17984 {
17985 if (!PySlice_Check(obj1)((((PyObject*)(obj1))->ob_type) == &PySlice_Type)) {
17986 SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VecDouble___setitem__" "', argument " "2"" of type '" "PySliceObject *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((-5 != (-
1)) ? -5 : -5)), "in method '" "VecDouble___setitem__" "', argument "
"2"" of type '" "PySliceObject *""'"); goto fail; } while(0)
;
17987 }
17988 arg2 = (PySliceObject *) obj1;
17989 }
17990 {
17991 try {
17992 try {
17993 std_vector_Sl_double_Sg____setitem____SWIG_1(arg1,arg2);
17994 }
17995 catch(std::out_of_range &_e) {
17996 SWIG_exception_fail(SWIG_IndexError, (&_e)->what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), (&
_e)->what()); goto fail; } while(0)
;
17997 }
17998 catch(std::invalid_argument &_e) {
17999 SWIG_exception_fail(SWIG_ValueError, (&_e)->what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), (&
_e)->what()); goto fail; } while(0)
;
18000 }
18001
18002 }
18003 catch (const GException::out_of_range& e) {
18004 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
18005 }
18006 catch (const GExceptionHandler& e) {
18007 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18008 }
18009 catch (const std::exception& e) {
18010 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18011 }
18012 }
18013 resultobj = SWIG_Py_Void();
18014 return resultobj;
18015fail:
18016 return NULL__null;
18017}
18018
18019
18020SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble___delitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18021 PyObject *resultobj = 0;
18022 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
18023 PySliceObject *arg2 = (PySliceObject *) 0 ;
18024 void *argp1 = 0 ;
18025 int res1 = 0 ;
18026 PyObject * obj0 = 0 ;
18027 PyObject * obj1 = 0 ;
18028
18029 if (!PyArg_ParseTuple(args,(char *)"OO:VecDouble___delitem__",&obj0,&obj1)) SWIG_failgoto fail;
18030 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[75]
, 0 | 0, 0)
;
18031 if (!SWIG_IsOK(res1)(res1 >= 0)) {
18032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VecDouble___delitem__" "', argument " "1"" of type '" "std::vector< double > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "VecDouble___delitem__" "', argument "
"1"" of type '" "std::vector< double > *""'"); goto fail
; } while(0)
;
18033 }
18034 arg1 = reinterpret_cast< std::vector< double > * >(argp1);
18035 {
18036 if (!PySlice_Check(obj1)((((PyObject*)(obj1))->ob_type) == &PySlice_Type)) {
18037 SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VecDouble___delitem__" "', argument " "2"" of type '" "PySliceObject *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((-5 != (-
1)) ? -5 : -5)), "in method '" "VecDouble___delitem__" "', argument "
"2"" of type '" "PySliceObject *""'"); goto fail; } while(0)
;
18038 }
18039 arg2 = (PySliceObject *) obj1;
18040 }
18041 {
18042 try {
18043 try {
18044 std_vector_Sl_double_Sg____delitem____SWIG_1(arg1,arg2);
18045 }
18046 catch(std::out_of_range &_e) {
18047 SWIG_exception_fail(SWIG_IndexError, (&_e)->what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), (&
_e)->what()); goto fail; } while(0)
;
18048 }
18049 catch(std::invalid_argument &_e) {
18050 SWIG_exception_fail(SWIG_ValueError, (&_e)->what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), (&
_e)->what()); goto fail; } while(0)
;
18051 }
18052
18053 }
18054 catch (const GException::out_of_range& e) {
18055 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
18056 }
18057 catch (const GExceptionHandler& e) {
18058 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18059 }
18060 catch (const std::exception& e) {
18061 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18062 }
18063 }
18064 resultobj = SWIG_Py_Void();
18065 return resultobj;
18066fail:
18067 return NULL__null;
18068}
18069
18070
18071SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble___delitem__(PyObject *self, PyObject *args) {
18072 int argc;
18073 PyObject *argv[3];
18074 int ii;
18075
18076 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
18077 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
18078 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
18079 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
18080 }
18081 if (argc == 2) {
18082 int _v;
18083 int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0));
18084 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18085 if (_v) {
18086 {
18087 _v = PySlice_Check(argv[1])((((PyObject*)(argv[1]))->ob_type) == &PySlice_Type);
18088 }
18089 if (_v) {
18090 return _wrap_VecDouble___delitem____SWIG_1(self, args);
18091 }
18092 }
18093 }
18094 if (argc == 2) {
18095 int _v;
18096 int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0));
18097 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18098 if (_v) {
18099 {
18100 int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL__null);
18101 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18102 }
18103 if (_v) {
18104 return _wrap_VecDouble___delitem____SWIG_0(self, args);
18105 }
18106 }
18107 }
18108
18109fail:
18110 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'VecDouble___delitem__'.\n"
18111 " Possible C/C++ prototypes are:\n"
18112 " std::vector< double >::__delitem__(std::vector< double >::difference_type)\n"
18113 " std::vector< double >::__delitem__(PySliceObject *)\n");
18114 return 0;
18115}
18116
18117
18118SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18119 PyObject *resultobj = 0;
18120 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
18121 std::vector< double >::difference_type arg2 ;
18122 void *argp1 = 0 ;
18123 int res1 = 0 ;
18124 ptrdiff_t val2 ;
18125 int ecode2 = 0 ;
18126 PyObject * obj0 = 0 ;
18127 PyObject * obj1 = 0 ;
18128 std::vector< double >::value_type *result = 0 ;
18129
18130 if (!PyArg_ParseTuple(args,(char *)"OO:VecDouble___getitem__",&obj0,&obj1)) SWIG_failgoto fail;
18131 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[75]
, 0 | 0, 0)
;
18132 if (!SWIG_IsOK(res1)(res1 >= 0)) {
18133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VecDouble___getitem__" "', argument " "1"" of type '" "std::vector< double > const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "VecDouble___getitem__" "', argument "
"1"" of type '" "std::vector< double > const *""'"); goto
fail; } while(0)
;
18134 }
18135 arg1 = reinterpret_cast< std::vector< double > * >(argp1);
18136 ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
18137 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
18138 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VecDouble___getitem__" "', argument " "2"" of type '" "std::vector< double >::difference_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "VecDouble___getitem__"
"', argument " "2"" of type '" "std::vector< double >::difference_type"
"'"); goto fail; } while(0)
;
18139 }
18140 arg2 = static_cast< std::vector< double >::difference_type >(val2);
18141 {
18142 try {
18143 try {
18144 result = (std::vector< double >::value_type *) &std_vector_Sl_double_Sg____getitem____SWIG_1((std::vector< double > const *)arg1,arg2);
18145 }
18146 catch(std::out_of_range &_e) {
18147 SWIG_exception_fail(SWIG_IndexError, (&_e)->what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), (&
_e)->what()); goto fail; } while(0)
;
18148 }
18149
18150 }
18151 catch (const GException::out_of_range& e) {
18152 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
18153 }
18154 catch (const GExceptionHandler& e) {
18155 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18156 }
18157 catch (const std::exception& e) {
18158 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18159 }
18160 }
18161 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(*result));
18162 return resultobj;
18163fail:
18164 return NULL__null;
18165}
18166
18167
18168SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble___getitem__(PyObject *self, PyObject *args) {
18169 int argc;
18170 PyObject *argv[3];
18171 int ii;
18172
18173 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
18174 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
18175 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
18176 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
18177 }
18178 if (argc == 2) {
18179 int _v;
18180 int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0));
18181 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18182 if (_v) {
18183 {
18184 _v = PySlice_Check(argv[1])((((PyObject*)(argv[1]))->ob_type) == &PySlice_Type);
18185 }
18186 if (_v) {
18187 return _wrap_VecDouble___getitem____SWIG_0(self, args);
18188 }
18189 }
18190 }
18191 if (argc == 2) {
18192 int _v;
18193 int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0));
18194 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18195 if (_v) {
18196 {
18197 int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL__null);
18198 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18199 }
18200 if (_v) {
18201 return _wrap_VecDouble___getitem____SWIG_1(self, args);
18202 }
18203 }
18204 }
18205
18206fail:
18207 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'VecDouble___getitem__'.\n"
18208 " Possible C/C++ prototypes are:\n"
18209 " std::vector< double >::__getitem__(PySliceObject *)\n"
18210 " std::vector< double >::__getitem__(std::vector< double >::difference_type) const\n");
18211 return 0;
18212}
18213
18214
18215SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble___setitem____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18216 PyObject *resultobj = 0;
18217 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
18218 std::vector< double >::difference_type arg2 ;
18219 std::vector< double >::value_type *arg3 = 0 ;
18220 void *argp1 = 0 ;
18221 int res1 = 0 ;
18222 ptrdiff_t val2 ;
18223 int ecode2 = 0 ;
18224 std::vector< double >::value_type temp3 ;
18225 double val3 ;
18226 int ecode3 = 0 ;
18227 PyObject * obj0 = 0 ;
18228 PyObject * obj1 = 0 ;
18229 PyObject * obj2 = 0 ;
18230
18231 if (!PyArg_ParseTuple(args,(char *)"OOO:VecDouble___setitem__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
18232 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[75]
, 0 | 0, 0)
;
18233 if (!SWIG_IsOK(res1)(res1 >= 0)) {
18234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VecDouble___setitem__" "', argument " "1"" of type '" "std::vector< double > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "VecDouble___setitem__" "', argument "
"1"" of type '" "std::vector< double > *""'"); goto fail
; } while(0)
;
18235 }
18236 arg1 = reinterpret_cast< std::vector< double > * >(argp1);
18237 ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
18238 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
18239 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VecDouble___setitem__" "', argument " "2"" of type '" "std::vector< double >::difference_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "VecDouble___setitem__"
"', argument " "2"" of type '" "std::vector< double >::difference_type"
"'"); goto fail; } while(0)
;
18240 }
18241 arg2 = static_cast< std::vector< double >::difference_type >(val2);
18242 ecode3 = SWIG_AsVal_double(obj2, &val3);
18243 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
18244 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VecDouble___setitem__" "', argument " "3"" of type '" "std::vector< double >::value_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "VecDouble___setitem__"
"', argument " "3"" of type '" "std::vector< double >::value_type"
"'"); goto fail; } while(0)
;
18245 }
18246 temp3 = static_cast< std::vector< double >::value_type >(val3);
18247 arg3 = &temp3;
18248 {
18249 try {
18250 try {
18251 std_vector_Sl_double_Sg____setitem____SWIG_2(arg1,arg2,(double const &)*arg3);
18252 }
18253 catch(std::out_of_range &_e) {
18254 SWIG_exception_fail(SWIG_IndexError, (&_e)->what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), (&
_e)->what()); goto fail; } while(0)
;
18255 }
18256
18257 }
18258 catch (const GException::out_of_range& e) {
18259 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
18260 }
18261 catch (const GExceptionHandler& e) {
18262 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18263 }
18264 catch (const std::exception& e) {
18265 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18266 }
18267 }
18268 resultobj = SWIG_Py_Void();
18269 return resultobj;
18270fail:
18271 return NULL__null;
18272}
18273
18274
18275SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble___setitem__(PyObject *self, PyObject *args) {
18276 int argc;
18277 PyObject *argv[4];
18278 int ii;
18279
18280 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
18281 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
18282 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
18283 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
18284 }
18285 if (argc == 2) {
18286 int _v;
18287 int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0));
18288 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18289 if (_v) {
18290 {
18291 _v = PySlice_Check(argv[1])((((PyObject*)(argv[1]))->ob_type) == &PySlice_Type);
18292 }
18293 if (_v) {
18294 return _wrap_VecDouble___setitem____SWIG_1(self, args);
18295 }
18296 }
18297 }
18298 if (argc == 3) {
18299 int _v;
18300 int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0));
18301 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18302 if (_v) {
18303 {
18304 _v = PySlice_Check(argv[1])((((PyObject*)(argv[1]))->ob_type) == &PySlice_Type);
18305 }
18306 if (_v) {
18307 int res = swig::asptr(argv[2], (std::vector<double,std::allocator< double > >**)(0));
18308 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18309 if (_v) {
18310 return _wrap_VecDouble___setitem____SWIG_0(self, args);
18311 }
18312 }
18313 }
18314 }
18315 if (argc == 3) {
18316 int _v;
18317 int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0));
18318 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18319 if (_v) {
18320 {
18321 int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL__null);
18322 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18323 }
18324 if (_v) {
18325 {
18326 int res = SWIG_AsVal_double(argv[2], NULL__null);
18327 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18328 }
18329 if (_v) {
18330 return _wrap_VecDouble___setitem____SWIG_2(self, args);
18331 }
18332 }
18333 }
18334 }
18335
18336fail:
18337 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'VecDouble___setitem__'.\n"
18338 " Possible C/C++ prototypes are:\n"
18339 " std::vector< double >::__setitem__(PySliceObject *,std::vector< double,std::allocator< double > > const &)\n"
18340 " std::vector< double >::__setitem__(PySliceObject *)\n"
18341 " std::vector< double >::__setitem__(std::vector< double >::difference_type,std::vector< double >::value_type const &)\n");
18342 return 0;
18343}
18344
18345
18346SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18347 PyObject *resultobj = 0;
18348 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
18349 std::vector< double >::value_type *arg2 = 0 ;
18350 void *argp1 = 0 ;
18351 int res1 = 0 ;
18352 std::vector< double >::value_type temp2 ;
18353 double val2 ;
18354 int ecode2 = 0 ;
18355 PyObject * obj0 = 0 ;
18356 PyObject * obj1 = 0 ;
18357
18358 if (!PyArg_ParseTuple(args,(char *)"OO:VecDouble_append",&obj0,&obj1)) SWIG_failgoto fail;
18359 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[75]
, 0 | 0, 0)
;
18360 if (!SWIG_IsOK(res1)(res1 >= 0)) {
18361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VecDouble_append" "', argument " "1"" of type '" "std::vector< double > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "VecDouble_append" "', argument "
"1"" of type '" "std::vector< double > *""'"); goto fail
; } while(0)
;
18362 }
18363 arg1 = reinterpret_cast< std::vector< double > * >(argp1);
18364 ecode2 = SWIG_AsVal_double(obj1, &val2);
18365 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
18366 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VecDouble_append" "', argument " "2"" of type '" "std::vector< double >::value_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "VecDouble_append" "', argument "
"2"" of type '" "std::vector< double >::value_type""'"
); goto fail; } while(0)
;
18367 }
18368 temp2 = static_cast< std::vector< double >::value_type >(val2);
18369 arg2 = &temp2;
18370 {
18371 try {
18372 std_vector_Sl_double_Sg__append(arg1,(double const &)*arg2);
18373 }
18374 catch (const GException::out_of_range& e) {
18375 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
18376 }
18377 catch (const GExceptionHandler& e) {
18378 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18379 }
18380 catch (const std::exception& e) {
18381 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18382 }
18383 }
18384 resultobj = SWIG_Py_Void();
18385 return resultobj;
18386fail:
18387 return NULL__null;
18388}
18389
18390
18391SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_VecDouble__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18392 PyObject *resultobj = 0;
18393 std::vector< double > *result = 0 ;
18394
18395 if (!PyArg_ParseTuple(args,(char *)":new_VecDouble")) SWIG_failgoto fail;
18396 {
18397 try {
18398 result = (std::vector< double > *)new std::vector< double >();
18399 }
18400 catch (const GException::out_of_range& e) {
18401 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
18402 }
18403 catch (const GExceptionHandler& e) {
18404 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18405 }
18406 catch (const std::exception& e) {
18407 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18408 }
18409 }
18410 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[75], (
(0x1 << 1) | 0x1) | 0)
;
18411 return resultobj;
18412fail:
18413 return NULL__null;
18414}
18415
18416
18417SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_VecDouble__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18418 PyObject *resultobj = 0;
18419 std::vector< double > *arg1 = 0 ;
18420 int res1 = SWIG_OLDOBJ((0)) ;
18421 PyObject * obj0 = 0 ;
18422 std::vector< double > *result = 0 ;
18423
18424 if (!PyArg_ParseTuple(args,(char *)"O:new_VecDouble",&obj0)) SWIG_failgoto fail;
18425 {
18426 std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0;
18427 res1 = swig::asptr(obj0, &ptr);
18428 if (!SWIG_IsOK(res1)(res1 >= 0)) {
18429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VecDouble" "', argument " "1"" of type '" "std::vector< double > const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_VecDouble" "', argument "
"1"" of type '" "std::vector< double > const &""'"
); goto fail; } while(0)
;
18430 }
18431 if (!ptr) {
18432 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_VecDouble" "', argument " "1"" of type '" "std::vector< double > const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_VecDouble" "', argument " "1"" of type '"
"std::vector< double > const &""'"); goto fail; } while
(0)
;
18433 }
18434 arg1 = ptr;
18435 }
18436 {
18437 try {
18438 result = (std::vector< double > *)new std::vector< double >((std::vector< double > const &)*arg1);
18439 }
18440 catch (const GException::out_of_range& e) {
18441 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
18442 }
18443 catch (const GExceptionHandler& e) {
18444 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18445 }
18446 catch (const std::exception& e) {
18447 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18448 }
18449 }
18450 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[75], (
(0x1 << 1) | 0x1) | 0)
;
18451 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
18452 return resultobj;
18453fail:
18454 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
18455 return NULL__null;
18456}
18457
18458
18459SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18460 PyObject *resultobj = 0;
18461 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
18462 void *argp1 = 0 ;
18463 int res1 = 0 ;
18464 PyObject * obj0 = 0 ;
18465 bool result;
18466
18467 if (!PyArg_ParseTuple(args,(char *)"O:VecDouble_empty",&obj0)) SWIG_failgoto fail;
18468 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[75]
, 0 | 0, 0)
;
18469 if (!SWIG_IsOK(res1)(res1 >= 0)) {
18470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VecDouble_empty" "', argument " "1"" of type '" "std::vector< double > const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "VecDouble_empty" "', argument "
"1"" of type '" "std::vector< double > const *""'"); goto
fail; } while(0)
;
18471 }
18472 arg1 = reinterpret_cast< std::vector< double > * >(argp1);
18473 {
18474 try {
18475 result = (bool)((std::vector< double > const *)arg1)->empty();
18476 }
18477 catch (const GException::out_of_range& e) {
18478 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
18479 }
18480 catch (const GExceptionHandler& e) {
18481 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18482 }
18483 catch (const std::exception& e) {
18484 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18485 }
18486 }
18487 resultobj = SWIG_From_bool(static_cast< bool >(result));
18488 return resultobj;
18489fail:
18490 return NULL__null;
18491}
18492
18493
18494SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18495 PyObject *resultobj = 0;
18496 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
18497 void *argp1 = 0 ;
18498 int res1 = 0 ;
18499 PyObject * obj0 = 0 ;
18500 std::vector< double >::size_type result;
18501
18502 if (!PyArg_ParseTuple(args,(char *)"O:VecDouble_size",&obj0)) SWIG_failgoto fail;
18503 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[75]
, 0 | 0, 0)
;
18504 if (!SWIG_IsOK(res1)(res1 >= 0)) {
18505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VecDouble_size" "', argument " "1"" of type '" "std::vector< double > const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "VecDouble_size" "', argument "
"1"" of type '" "std::vector< double > const *""'"); goto
fail; } while(0)
;
18506 }
18507 arg1 = reinterpret_cast< std::vector< double > * >(argp1);
18508 {
18509 try {
18510 result = ((std::vector< double > const *)arg1)->size();
18511 }
18512 catch (const GException::out_of_range& e) {
18513 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
18514 }
18515 catch (const GExceptionHandler& e) {
18516 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18517 }
18518 catch (const std::exception& e) {
18519 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18520 }
18521 }
18522 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
18523 return resultobj;
18524fail:
18525 return NULL__null;
18526}
18527
18528
18529SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18530 PyObject *resultobj = 0;
18531 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
18532 void *argp1 = 0 ;
18533 int res1 = 0 ;
18534 PyObject * obj0 = 0 ;
18535
18536 if (!PyArg_ParseTuple(args,(char *)"O:VecDouble_clear",&obj0)) SWIG_failgoto fail;
18537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[75]
, 0 | 0, 0)
;
18538 if (!SWIG_IsOK(res1)(res1 >= 0)) {
18539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VecDouble_clear" "', argument " "1"" of type '" "std::vector< double > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "VecDouble_clear" "', argument "
"1"" of type '" "std::vector< double > *""'"); goto fail
; } while(0)
;
18540 }
18541 arg1 = reinterpret_cast< std::vector< double > * >(argp1);
18542 {
18543 try {
18544 (arg1)->clear();
18545 }
18546 catch (const GException::out_of_range& e) {
18547 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
18548 }
18549 catch (const GExceptionHandler& e) {
18550 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18551 }
18552 catch (const std::exception& e) {
18553 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18554 }
18555 }
18556 resultobj = SWIG_Py_Void();
18557 return resultobj;
18558fail:
18559 return NULL__null;
18560}
18561
18562
18563SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18564 PyObject *resultobj = 0;
18565 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
18566 std::vector< double > *arg2 = 0 ;
18567 void *argp1 = 0 ;
18568 int res1 = 0 ;
18569 void *argp2 = 0 ;
18570 int res2 = 0 ;
18571 PyObject * obj0 = 0 ;
18572 PyObject * obj1 = 0 ;
18573
18574 if (!PyArg_ParseTuple(args,(char *)"OO:VecDouble_swap",&obj0,&obj1)) SWIG_failgoto fail;
18575 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[75]
, 0 | 0, 0)
;
18576 if (!SWIG_IsOK(res1)(res1 >= 0)) {
18577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VecDouble_swap" "', argument " "1"" of type '" "std::vector< double > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "VecDouble_swap" "', argument "
"1"" of type '" "std::vector< double > *""'"); goto fail
; } while(0)
;
18578 }
18579 arg1 = reinterpret_cast< std::vector< double > * >(argp1);
18580 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[75]
, 0, 0)
;
18581 if (!SWIG_IsOK(res2)(res2 >= 0)) {
18582 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VecDouble_swap" "', argument " "2"" of type '" "std::vector< double > &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "VecDouble_swap" "', argument "
"2"" of type '" "std::vector< double > &""'"); goto
fail; } while(0)
;
18583 }
18584 if (!argp2) {
18585 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VecDouble_swap" "', argument " "2"" of type '" "std::vector< double > &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "VecDouble_swap" "', argument " "2"" of type '"
"std::vector< double > &""'"); goto fail; } while(
0)
;
18586 }
18587 arg2 = reinterpret_cast< std::vector< double > * >(argp2);
18588 {
18589 try {
18590 (arg1)->swap(*arg2);
18591 }
18592 catch (const GException::out_of_range& e) {
18593 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
18594 }
18595 catch (const GExceptionHandler& e) {
18596 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18597 }
18598 catch (const std::exception& e) {
18599 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18600 }
18601 }
18602 resultobj = SWIG_Py_Void();
18603 return resultobj;
18604fail:
18605 return NULL__null;
18606}
18607
18608
18609SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18610 PyObject *resultobj = 0;
18611 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
18612 void *argp1 = 0 ;
18613 int res1 = 0 ;
18614 PyObject * obj0 = 0 ;
18615 SwigValueWrapper< std::allocator< double > > result;
18616
18617 if (!PyArg_ParseTuple(args,(char *)"O:VecDouble_get_allocator",&obj0)) SWIG_failgoto fail;
18618 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[75]
, 0 | 0, 0)
;
18619 if (!SWIG_IsOK(res1)(res1 >= 0)) {
18620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VecDouble_get_allocator" "', argument " "1"" of type '" "std::vector< double > const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "VecDouble_get_allocator" "', argument "
"1"" of type '" "std::vector< double > const *""'"); goto
fail; } while(0)
;
18621 }
18622 arg1 = reinterpret_cast< std::vector< double > * >(argp1);
18623 {
18624 try {
18625 result = ((std::vector< double > const *)arg1)->get_allocator();
18626 }
18627 catch (const GException::out_of_range& e) {
18628 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
18629 }
18630 catch (const GExceptionHandler& e) {
18631 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18632 }
18633 catch (const std::exception& e) {
18634 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18635 }
18636 }
18637 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 )SWIG_Python_NewPointerObj(__null, (new std::vector< double
>::allocator_type(static_cast< const std::vector< double
>::allocator_type& >(result))), swig_types[72], 0x1
| 0)
;
18638 return resultobj;
18639fail:
18640 return NULL__null;
18641}
18642
18643
18644SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18645 PyObject *resultobj = 0;
18646 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
18647 void *argp1 = 0 ;
18648 int res1 = 0 ;
18649 PyObject * obj0 = 0 ;
18650 std::vector< double >::iterator result;
18651
18652 if (!PyArg_ParseTuple(args,(char *)"O:VecDouble_begin",&obj0)) SWIG_failgoto fail;
18653 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[75]
, 0 | 0, 0)
;
18654 if (!SWIG_IsOK(res1)(res1 >= 0)) {
18655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VecDouble_begin" "', argument " "1"" of type '" "std::vector< double > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "VecDouble_begin" "', argument "
"1"" of type '" "std::vector< double > *""'"); goto fail
; } while(0)
;
18656 }
18657 arg1 = reinterpret_cast< std::vector< double > * >(argp1);
18658 {
18659 try {
18660 result = (arg1)->begin();
18661 }
18662 catch (const GException::out_of_range& e) {
18663 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
18664 }
18665 catch (const GExceptionHandler& e) {
18666 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18667 }
18668 catch (const std::exception& e) {
18669 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18670 }
18671 }
18672 resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< double >::iterator & >(result)),SWIG_Python_NewPointerObj(__null, swig::make_output_iterator(
static_cast< const std::vector< double >::iterator &
>(result)), swig::SwigPyIterator::descriptor(), 0x1)
18673 swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN)SWIG_Python_NewPointerObj(__null, swig::make_output_iterator(
static_cast< const std::vector< double >::iterator &
>(result)), swig::SwigPyIterator::descriptor(), 0x1)
;
18674 return resultobj;
18675fail:
18676 return NULL__null;
18677}
18678
18679
18680SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18681 PyObject *resultobj = 0;
18682 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
18683 void *argp1 = 0 ;
18684 int res1 = 0 ;
18685 PyObject * obj0 = 0 ;
18686 std::vector< double >::iterator result;
18687
18688 if (!PyArg_ParseTuple(args,(char *)"O:VecDouble_end",&obj0)) SWIG_failgoto fail;
18689 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[75]
, 0 | 0, 0)
;
18690 if (!SWIG_IsOK(res1)(res1 >= 0)) {
18691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VecDouble_end" "', argument " "1"" of type '" "std::vector< double > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "VecDouble_end" "', argument "
"1"" of type '" "std::vector< double > *""'"); goto fail
; } while(0)
;
18692 }
18693 arg1 = reinterpret_cast< std::vector< double > * >(argp1);
18694 {
18695 try {
18696 result = (arg1)->end();
18697 }
18698 catch (const GException::out_of_range& e) {
18699 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
18700 }
18701 catch (const GExceptionHandler& e) {
18702 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18703 }
18704 catch (const std::exception& e) {
18705 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18706 }
18707 }
18708 resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< double >::iterator & >(result)),SWIG_Python_NewPointerObj(__null, swig::make_output_iterator(
static_cast< const std::vector< double >::iterator &
>(result)), swig::SwigPyIterator::descriptor(), 0x1)
18709 swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN)SWIG_Python_NewPointerObj(__null, swig::make_output_iterator(
static_cast< const std::vector< double >::iterator &
>(result)), swig::SwigPyIterator::descriptor(), 0x1)
;
18710 return resultobj;
18711fail:
18712 return NULL__null;
18713}
18714
18715
18716SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18717 PyObject *resultobj = 0;
18718 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
18719 void *argp1 = 0 ;
18720 int res1 = 0 ;
18721 PyObject * obj0 = 0 ;
18722 std::vector< double >::reverse_iterator result;
18723
18724 if (!PyArg_ParseTuple(args,(char *)"O:VecDouble_rbegin",&obj0)) SWIG_failgoto fail;
18725 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[75]
, 0 | 0, 0)
;
18726 if (!SWIG_IsOK(res1)(res1 >= 0)) {
18727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VecDouble_rbegin" "', argument " "1"" of type '" "std::vector< double > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "VecDouble_rbegin" "', argument "
"1"" of type '" "std::vector< double > *""'"); goto fail
; } while(0)
;
18728 }
18729 arg1 = reinterpret_cast< std::vector< double > * >(argp1);
18730 {
18731 try {
18732 result = (arg1)->rbegin();
18733 }
18734 catch (const GException::out_of_range& e) {
18735 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
18736 }
18737 catch (const GExceptionHandler& e) {
18738 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18739 }
18740 catch (const std::exception& e) {
18741 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18742 }
18743 }
18744 resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< double >::reverse_iterator & >(result)),SWIG_Python_NewPointerObj(__null, swig::make_output_iterator(
static_cast< const std::vector< double >::reverse_iterator
& >(result)), swig::SwigPyIterator::descriptor(), 0x1
)
18745 swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN)SWIG_Python_NewPointerObj(__null, swig::make_output_iterator(
static_cast< const std::vector< double >::reverse_iterator
& >(result)), swig::SwigPyIterator::descriptor(), 0x1
)
;
18746 return resultobj;
18747fail:
18748 return NULL__null;
18749}
18750
18751
18752SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18753 PyObject *resultobj = 0;
18754 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
18755 void *argp1 = 0 ;
18756 int res1 = 0 ;
18757 PyObject * obj0 = 0 ;
18758 std::vector< double >::reverse_iterator result;
18759
18760 if (!PyArg_ParseTuple(args,(char *)"O:VecDouble_rend",&obj0)) SWIG_failgoto fail;
18761 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[75]
, 0 | 0, 0)
;
18762 if (!SWIG_IsOK(res1)(res1 >= 0)) {
18763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VecDouble_rend" "', argument " "1"" of type '" "std::vector< double > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "VecDouble_rend" "', argument "
"1"" of type '" "std::vector< double > *""'"); goto fail
; } while(0)
;
18764 }
18765 arg1 = reinterpret_cast< std::vector< double > * >(argp1);
18766 {
18767 try {
18768 result = (arg1)->rend();
18769 }
18770 catch (const GException::out_of_range& e) {
18771 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
18772 }
18773 catch (const GExceptionHandler& e) {
18774 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18775 }
18776 catch (const std::exception& e) {
18777 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18778 }
18779 }
18780 resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< double >::reverse_iterator & >(result)),SWIG_Python_NewPointerObj(__null, swig::make_output_iterator(
static_cast< const std::vector< double >::reverse_iterator
& >(result)), swig::SwigPyIterator::descriptor(), 0x1
)
18781 swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN)SWIG_Python_NewPointerObj(__null, swig::make_output_iterator(
static_cast< const std::vector< double >::reverse_iterator
& >(result)), swig::SwigPyIterator::descriptor(), 0x1
)
;
18782 return resultobj;
18783fail:
18784 return NULL__null;
18785}
18786
18787
18788SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_VecDouble__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18789 PyObject *resultobj = 0;
18790 std::vector< double >::size_type arg1 ;
18791 size_t val1 ;
18792 int ecode1 = 0 ;
18793 PyObject * obj0 = 0 ;
18794 std::vector< double > *result = 0 ;
18795
18796 if (!PyArg_ParseTuple(args,(char *)"O:new_VecDouble",&obj0)) SWIG_failgoto fail;
18797 ecode1 = SWIG_AsVal_size_t(obj0, &val1);
18798 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
18799 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VecDouble" "', argument " "1"" of type '" "std::vector< double >::size_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_VecDouble" "', argument "
"1"" of type '" "std::vector< double >::size_type""'")
; goto fail; } while(0)
;
18800 }
18801 arg1 = static_cast< std::vector< double >::size_type >(val1);
18802 {
18803 try {
18804 result = (std::vector< double > *)new std::vector< double >(arg1);
18805 }
18806 catch (const GException::out_of_range& e) {
18807 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
18808 }
18809 catch (const GExceptionHandler& e) {
18810 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18811 }
18812 catch (const std::exception& e) {
18813 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18814 }
18815 }
18816 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[75], (
(0x1 << 1) | 0x1) | 0)
;
18817 return resultobj;
18818fail:
18819 return NULL__null;
18820}
18821
18822
18823SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble_pop_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18824 PyObject *resultobj = 0;
18825 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
18826 void *argp1 = 0 ;
18827 int res1 = 0 ;
18828 PyObject * obj0 = 0 ;
18829
18830 if (!PyArg_ParseTuple(args,(char *)"O:VecDouble_pop_back",&obj0)) SWIG_failgoto fail;
18831 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[75]
, 0 | 0, 0)
;
18832 if (!SWIG_IsOK(res1)(res1 >= 0)) {
18833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VecDouble_pop_back" "', argument " "1"" of type '" "std::vector< double > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "VecDouble_pop_back" "', argument "
"1"" of type '" "std::vector< double > *""'"); goto fail
; } while(0)
;
18834 }
18835 arg1 = reinterpret_cast< std::vector< double > * >(argp1);
18836 {
18837 try {
18838 (arg1)->pop_back();
18839 }
18840 catch (const GException::out_of_range& e) {
18841 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
18842 }
18843 catch (const GExceptionHandler& e) {
18844 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18845 }
18846 catch (const std::exception& e) {
18847 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18848 }
18849 }
18850 resultobj = SWIG_Py_Void();
18851 return resultobj;
18852fail:
18853 return NULL__null;
18854}
18855
18856
18857SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble_resize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18858 PyObject *resultobj = 0;
18859 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
18860 std::vector< double >::size_type arg2 ;
18861 void *argp1 = 0 ;
18862 int res1 = 0 ;
18863 size_t val2 ;
18864 int ecode2 = 0 ;
18865 PyObject * obj0 = 0 ;
18866 PyObject * obj1 = 0 ;
18867
18868 if (!PyArg_ParseTuple(args,(char *)"OO:VecDouble_resize",&obj0,&obj1)) SWIG_failgoto fail;
18869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[75]
, 0 | 0, 0)
;
18870 if (!SWIG_IsOK(res1)(res1 >= 0)) {
18871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VecDouble_resize" "', argument " "1"" of type '" "std::vector< double > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "VecDouble_resize" "', argument "
"1"" of type '" "std::vector< double > *""'"); goto fail
; } while(0)
;
18872 }
18873 arg1 = reinterpret_cast< std::vector< double > * >(argp1);
18874 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
18875 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
18876 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VecDouble_resize" "', argument " "2"" of type '" "std::vector< double >::size_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "VecDouble_resize" "', argument "
"2"" of type '" "std::vector< double >::size_type""'")
; goto fail; } while(0)
;
18877 }
18878 arg2 = static_cast< std::vector< double >::size_type >(val2);
18879 {
18880 try {
18881 (arg1)->resize(arg2);
18882 }
18883 catch (const GException::out_of_range& e) {
18884 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
18885 }
18886 catch (const GExceptionHandler& e) {
18887 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18888 }
18889 catch (const std::exception& e) {
18890 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18891 }
18892 }
18893 resultobj = SWIG_Py_Void();
18894 return resultobj;
18895fail:
18896 return NULL__null;
18897}
18898
18899
18900SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18901 PyObject *resultobj = 0;
18902 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
18903 std::vector< double >::iterator arg2 ;
18904 void *argp1 = 0 ;
18905 int res1 = 0 ;
18906 swig::SwigPyIterator *iter2 = 0 ;
18907 int res2 ;
18908 PyObject * obj0 = 0 ;
18909 PyObject * obj1 = 0 ;
18910 std::vector< double >::iterator result;
18911
18912 if (!PyArg_ParseTuple(args,(char *)"OO:VecDouble_erase",&obj0,&obj1)) SWIG_failgoto fail;
18913 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[75]
, 0 | 0, 0)
;
18914 if (!SWIG_IsOK(res1)(res1 >= 0)) {
18915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VecDouble_erase" "', argument " "1"" of type '" "std::vector< double > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "VecDouble_erase" "', argument "
"1"" of type '" "std::vector< double > *""'"); goto fail
; } while(0)
;
18916 }
18917 arg1 = reinterpret_cast< std::vector< double > * >(argp1);
18918 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0)SWIG_Python_ConvertPtrAndOwn(obj1, ((void)const_cast< void
* >(static_cast< const void * >(*&iter2)),reinterpret_cast
< void** >(&iter2)), swig::SwigPyIterator::descriptor
(), 0, 0)
;
18919 if (!SWIG_IsOK(res2)(res2 >= 0) || !iter2) {
18920 SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VecDouble_erase" "', argument " "2"" of type '" "std::vector< double >::iterator""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((-5 != (-
1)) ? -5 : -5)), "in method '" "VecDouble_erase" "', argument "
"2"" of type '" "std::vector< double >::iterator""'");
goto fail; } while(0)
;
18921 } else {
18922 swig::SwigPyIterator_T<std::vector< double >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< double >::iterator > *>(iter2);
18923 if (iter_t) {
18924 arg2 = iter_t->get_current();
18925 } else {
18926 SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VecDouble_erase" "', argument " "2"" of type '" "std::vector< double >::iterator""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((-5 != (-
1)) ? -5 : -5)), "in method '" "VecDouble_erase" "', argument "
"2"" of type '" "std::vector< double >::iterator""'");
goto fail; } while(0)
;
18927 }
18928 }
18929 {
18930 try {
18931 result = (arg1)->erase(arg2);
18932 }
18933 catch (const GException::out_of_range& e) {
18934 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
18935 }
18936 catch (const GExceptionHandler& e) {
18937 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18938 }
18939 catch (const std::exception& e) {
18940 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18941 }
18942 }
18943 resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< double >::iterator & >(result)),SWIG_Python_NewPointerObj(__null, swig::make_output_iterator(
static_cast< const std::vector< double >::iterator &
>(result)), swig::SwigPyIterator::descriptor(), 0x1)
18944 swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN)SWIG_Python_NewPointerObj(__null, swig::make_output_iterator(
static_cast< const std::vector< double >::iterator &
>(result)), swig::SwigPyIterator::descriptor(), 0x1)
;
18945 return resultobj;
18946fail:
18947 return NULL__null;
18948}
18949
18950
18951SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18952 PyObject *resultobj = 0;
18953 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
18954 std::vector< double >::iterator arg2 ;
18955 std::vector< double >::iterator arg3 ;
18956 void *argp1 = 0 ;
18957 int res1 = 0 ;
18958 swig::SwigPyIterator *iter2 = 0 ;
18959 int res2 ;
18960 swig::SwigPyIterator *iter3 = 0 ;
18961 int res3 ;
18962 PyObject * obj0 = 0 ;
18963 PyObject * obj1 = 0 ;
18964 PyObject * obj2 = 0 ;
18965 std::vector< double >::iterator result;
18966
18967 if (!PyArg_ParseTuple(args,(char *)"OOO:VecDouble_erase",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
18968 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[75]
, 0 | 0, 0)
;
18969 if (!SWIG_IsOK(res1)(res1 >= 0)) {
18970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VecDouble_erase" "', argument " "1"" of type '" "std::vector< double > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "VecDouble_erase" "', argument "
"1"" of type '" "std::vector< double > *""'"); goto fail
; } while(0)
;
18971 }
18972 arg1 = reinterpret_cast< std::vector< double > * >(argp1);
18973 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0)SWIG_Python_ConvertPtrAndOwn(obj1, ((void)const_cast< void
* >(static_cast< const void * >(*&iter2)),reinterpret_cast
< void** >(&iter2)), swig::SwigPyIterator::descriptor
(), 0, 0)
;
18974 if (!SWIG_IsOK(res2)(res2 >= 0) || !iter2) {
18975 SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VecDouble_erase" "', argument " "2"" of type '" "std::vector< double >::iterator""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((-5 != (-
1)) ? -5 : -5)), "in method '" "VecDouble_erase" "', argument "
"2"" of type '" "std::vector< double >::iterator""'");
goto fail; } while(0)
;
18976 } else {
18977 swig::SwigPyIterator_T<std::vector< double >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< double >::iterator > *>(iter2);
18978 if (iter_t) {
18979 arg2 = iter_t->get_current();
18980 } else {
18981 SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VecDouble_erase" "', argument " "2"" of type '" "std::vector< double >::iterator""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((-5 != (-
1)) ? -5 : -5)), "in method '" "VecDouble_erase" "', argument "
"2"" of type '" "std::vector< double >::iterator""'");
goto fail; } while(0)
;
18982 }
18983 }
18984 res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0)SWIG_Python_ConvertPtrAndOwn(obj2, ((void)const_cast< void
* >(static_cast< const void * >(*&iter3)),reinterpret_cast
< void** >(&iter3)), swig::SwigPyIterator::descriptor
(), 0, 0)
;
18985 if (!SWIG_IsOK(res3)(res3 >= 0) || !iter3) {
18986 SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VecDouble_erase" "', argument " "3"" of type '" "std::vector< double >::iterator""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((-5 != (-
1)) ? -5 : -5)), "in method '" "VecDouble_erase" "', argument "
"3"" of type '" "std::vector< double >::iterator""'");
goto fail; } while(0)
;
18987 } else {
18988 swig::SwigPyIterator_T<std::vector< double >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< double >::iterator > *>(iter3);
18989 if (iter_t) {
18990 arg3 = iter_t->get_current();
18991 } else {
18992 SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VecDouble_erase" "', argument " "3"" of type '" "std::vector< double >::iterator""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((-5 != (-
1)) ? -5 : -5)), "in method '" "VecDouble_erase" "', argument "
"3"" of type '" "std::vector< double >::iterator""'");
goto fail; } while(0)
;
18993 }
18994 }
18995 {
18996 try {
18997 result = (arg1)->erase(arg2,arg3);
18998 }
18999 catch (const GException::out_of_range& e) {
19000 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
19001 }
19002 catch (const GExceptionHandler& e) {
19003 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19004 }
19005 catch (const std::exception& e) {
19006 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19007 }
19008 }
19009 resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< double >::iterator & >(result)),SWIG_Python_NewPointerObj(__null, swig::make_output_iterator(
static_cast< const std::vector< double >::iterator &
>(result)), swig::SwigPyIterator::descriptor(), 0x1)
19010 swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN)SWIG_Python_NewPointerObj(__null, swig::make_output_iterator(
static_cast< const std::vector< double >::iterator &
>(result)), swig::SwigPyIterator::descriptor(), 0x1)
;
19011 return resultobj;
19012fail:
19013 return NULL__null;
19014}
19015
19016
19017SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble_erase(PyObject *self, PyObject *args) {
19018 int argc;
19019 PyObject *argv[4];
19020 int ii;
19021
19022 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
19023 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
19024 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
19025 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
19026 }
19027 if (argc == 2) {
19028 int _v;
19029 int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0));
19030 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19031 if (_v) {
19032 swig::SwigPyIterator *iter = 0;
19033 int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0)SWIG_Python_ConvertPtrAndOwn(argv[1], ((void)const_cast< void
* >(static_cast< const void * >(*&iter)),reinterpret_cast
< void** >(&iter)), swig::SwigPyIterator::descriptor
(), 0, 0)
;
19034 _v = (SWIG_IsOK(res)(res >= 0) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< double >::iterator > *>(iter) != 0));
19035 if (_v) {
19036 return _wrap_VecDouble_erase__SWIG_0(self, args);
19037 }
19038 }
19039 }
19040 if (argc == 3) {
19041 int _v;
19042 int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0));
19043 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19044 if (_v) {
19045 swig::SwigPyIterator *iter = 0;
19046 int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0)SWIG_Python_ConvertPtrAndOwn(argv[1], ((void)const_cast< void
* >(static_cast< const void * >(*&iter)),reinterpret_cast
< void** >(&iter)), swig::SwigPyIterator::descriptor
(), 0, 0)
;
19047 _v = (SWIG_IsOK(res)(res >= 0) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< double >::iterator > *>(iter) != 0));
19048 if (_v) {
19049 swig::SwigPyIterator *iter = 0;
19050 int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0)SWIG_Python_ConvertPtrAndOwn(argv[2], ((void)const_cast< void
* >(static_cast< const void * >(*&iter)),reinterpret_cast
< void** >(&iter)), swig::SwigPyIterator::descriptor
(), 0, 0)
;
19051 _v = (SWIG_IsOK(res)(res >= 0) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< double >::iterator > *>(iter) != 0));
19052 if (_v) {
19053 return _wrap_VecDouble_erase__SWIG_1(self, args);
19054 }
19055 }
19056 }
19057 }
19058
19059fail:
19060 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'VecDouble_erase'.\n"
19061 " Possible C/C++ prototypes are:\n"
19062 " std::vector< double >::erase(std::vector< double >::iterator)\n"
19063 " std::vector< double >::erase(std::vector< double >::iterator,std::vector< double >::iterator)\n");
19064 return 0;
19065}
19066
19067
19068SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_VecDouble__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19069 PyObject *resultobj = 0;
19070 std::vector< double >::size_type arg1 ;
19071 std::vector< double >::value_type *arg2 = 0 ;
19072 size_t val1 ;
19073 int ecode1 = 0 ;
19074 std::vector< double >::value_type temp2 ;
19075 double val2 ;
19076 int ecode2 = 0 ;
19077 PyObject * obj0 = 0 ;
19078 PyObject * obj1 = 0 ;
19079 std::vector< double > *result = 0 ;
19080
19081 if (!PyArg_ParseTuple(args,(char *)"OO:new_VecDouble",&obj0,&obj1)) SWIG_failgoto fail;
19082 ecode1 = SWIG_AsVal_size_t(obj0, &val1);
19083 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
19084 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VecDouble" "', argument " "1"" of type '" "std::vector< double >::size_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_VecDouble" "', argument "
"1"" of type '" "std::vector< double >::size_type""'")
; goto fail; } while(0)
;
19085 }
19086 arg1 = static_cast< std::vector< double >::size_type >(val1);
19087 ecode2 = SWIG_AsVal_double(obj1, &val2);
19088 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
19089 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VecDouble" "', argument " "2"" of type '" "std::vector< double >::value_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_VecDouble" "', argument "
"2"" of type '" "std::vector< double >::value_type""'"
); goto fail; } while(0)
;
19090 }
19091 temp2 = static_cast< std::vector< double >::value_type >(val2);
19092 arg2 = &temp2;
19093 {
19094 try {
19095 result = (std::vector< double > *)new std::vector< double >(arg1,(std::vector< double >::value_type const &)*arg2);
19096 }
19097 catch (const GException::out_of_range& e) {
19098 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
19099 }
19100 catch (const GExceptionHandler& e) {
19101 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19102 }
19103 catch (const std::exception& e) {
19104 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19105 }
19106 }
19107 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[75], (
(0x1 << 1) | 0x1) | 0)
;
19108 return resultobj;
19109fail:
19110 return NULL__null;
19111}
19112
19113
19114SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_VecDouble(PyObject *self, PyObject *args) {
19115 int argc;
19116 PyObject *argv[3];
19117 int ii;
19118
19119 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
19120 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
19121 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
19122 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
19123 }
19124 if (argc == 0) {
19125 return _wrap_new_VecDouble__SWIG_0(self, args);
19126 }
19127 if (argc == 1) {
19128 int _v;
19129 {
19130 int res = SWIG_AsVal_size_t(argv[0], NULL__null);
19131 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19132 }
19133 if (_v) {
19134 return _wrap_new_VecDouble__SWIG_2(self, args);
19135 }
19136 }
19137 if (argc == 1) {
19138 int _v;
19139 int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0));
19140 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19141 if (_v) {
19142 return _wrap_new_VecDouble__SWIG_1(self, args);
19143 }
19144 }
19145 if (argc == 2) {
19146 int _v;
19147 {
19148 int res = SWIG_AsVal_size_t(argv[0], NULL__null);
19149 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19150 }
19151 if (_v) {
19152 {
19153 int res = SWIG_AsVal_double(argv[1], NULL__null);
19154 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19155 }
19156 if (_v) {
19157 return _wrap_new_VecDouble__SWIG_3(self, args);
19158 }
19159 }
19160 }
19161
19162fail:
19163 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_VecDouble'.\n"
19164 " Possible C/C++ prototypes are:\n"
19165 " std::vector< double >::vector()\n"
19166 " std::vector< double >::vector(std::vector< double > const &)\n"
19167 " std::vector< double >::vector(std::vector< double >::size_type)\n"
19168 " std::vector< double >::vector(std::vector< double >::size_type,std::vector< double >::value_type const &)\n");
19169 return 0;
19170}
19171
19172
19173SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble_push_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19174 PyObject *resultobj = 0;
19175 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
19176 std::vector< double >::value_type *arg2 = 0 ;
19177 void *argp1 = 0 ;
19178 int res1 = 0 ;
19179 std::vector< double >::value_type temp2 ;
19180 double val2 ;
19181 int ecode2 = 0 ;
19182 PyObject * obj0 = 0 ;
19183 PyObject * obj1 = 0 ;
19184
19185 if (!PyArg_ParseTuple(args,(char *)"OO:VecDouble_push_back",&obj0,&obj1)) SWIG_failgoto fail;
19186 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[75]
, 0 | 0, 0)
;
19187 if (!SWIG_IsOK(res1)(res1 >= 0)) {
19188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VecDouble_push_back" "', argument " "1"" of type '" "std::vector< double > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "VecDouble_push_back" "', argument "
"1"" of type '" "std::vector< double > *""'"); goto fail
; } while(0)
;
19189 }
19190 arg1 = reinterpret_cast< std::vector< double > * >(argp1);
19191 ecode2 = SWIG_AsVal_double(obj1, &val2);
19192 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
19193 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VecDouble_push_back" "', argument " "2"" of type '" "std::vector< double >::value_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "VecDouble_push_back" "', argument "
"2"" of type '" "std::vector< double >::value_type""'"
); goto fail; } while(0)
;
19194 }
19195 temp2 = static_cast< std::vector< double >::value_type >(val2);
19196 arg2 = &temp2;
19197 {
19198 try {
19199 (arg1)->push_back((std::vector< double >::value_type const &)*arg2);
19200 }
19201 catch (const GException::out_of_range& e) {
19202 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
19203 }
19204 catch (const GExceptionHandler& e) {
19205 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19206 }
19207 catch (const std::exception& e) {
19208 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19209 }
19210 }
19211 resultobj = SWIG_Py_Void();
19212 return resultobj;
19213fail:
19214 return NULL__null;
19215}
19216
19217
19218SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble_front(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19219 PyObject *resultobj = 0;
19220 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
19221 void *argp1 = 0 ;
19222 int res1 = 0 ;
19223 PyObject * obj0 = 0 ;
19224 std::vector< double >::value_type *result = 0 ;
19225
19226 if (!PyArg_ParseTuple(args,(char *)"O:VecDouble_front",&obj0)) SWIG_failgoto fail;
19227 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[75]
, 0 | 0, 0)
;
19228 if (!SWIG_IsOK(res1)(res1 >= 0)) {
19229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VecDouble_front" "', argument " "1"" of type '" "std::vector< double > const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "VecDouble_front" "', argument "
"1"" of type '" "std::vector< double > const *""'"); goto
fail; } while(0)
;
19230 }
19231 arg1 = reinterpret_cast< std::vector< double > * >(argp1);
19232 {
19233 try {
19234 result = (std::vector< double >::value_type *) &((std::vector< double > const *)arg1)->front();
19235 }
19236 catch (const GException::out_of_range& e) {
19237 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
19238 }
19239 catch (const GExceptionHandler& e) {
19240 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19241 }
19242 catch (const std::exception& e) {
19243 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19244 }
19245 }
19246 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(*result));
19247 return resultobj;
19248fail:
19249 return NULL__null;
19250}
19251
19252
19253SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19254 PyObject *resultobj = 0;
19255 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
19256 void *argp1 = 0 ;
19257 int res1 = 0 ;
19258 PyObject * obj0 = 0 ;
19259 std::vector< double >::value_type *result = 0 ;
19260
19261 if (!PyArg_ParseTuple(args,(char *)"O:VecDouble_back",&obj0)) SWIG_failgoto fail;
19262 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[75]
, 0 | 0, 0)
;
19263 if (!SWIG_IsOK(res1)(res1 >= 0)) {
19264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VecDouble_back" "', argument " "1"" of type '" "std::vector< double > const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "VecDouble_back" "', argument "
"1"" of type '" "std::vector< double > const *""'"); goto
fail; } while(0)
;
19265 }
19266 arg1 = reinterpret_cast< std::vector< double > * >(argp1);
19267 {
19268 try {
19269 result = (std::vector< double >::value_type *) &((std::vector< double > const *)arg1)->back();
19270 }
19271 catch (const GException::out_of_range& e) {
19272 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
19273 }
19274 catch (const GExceptionHandler& e) {
19275 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19276 }
19277 catch (const std::exception& e) {
19278 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19279 }
19280 }
19281 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(*result));
19282 return resultobj;
19283fail:
19284 return NULL__null;
19285}
19286
19287
19288SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19289 PyObject *resultobj = 0;
19290 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
19291 std::vector< double >::size_type arg2 ;
19292 std::vector< double >::value_type *arg3 = 0 ;
19293 void *argp1 = 0 ;
19294 int res1 = 0 ;
19295 size_t val2 ;
19296 int ecode2 = 0 ;
19297 std::vector< double >::value_type temp3 ;
19298 double val3 ;
19299 int ecode3 = 0 ;
19300 PyObject * obj0 = 0 ;
19301 PyObject * obj1 = 0 ;
19302 PyObject * obj2 = 0 ;
19303
19304 if (!PyArg_ParseTuple(args,(char *)"OOO:VecDouble_assign",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
19305 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[75]
, 0 | 0, 0)
;
19306 if (!SWIG_IsOK(res1)(res1 >= 0)) {
19307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VecDouble_assign" "', argument " "1"" of type '" "std::vector< double > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "VecDouble_assign" "', argument "
"1"" of type '" "std::vector< double > *""'"); goto fail
; } while(0)
;
19308 }
19309 arg1 = reinterpret_cast< std::vector< double > * >(argp1);
19310 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19311 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
19312 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VecDouble_assign" "', argument " "2"" of type '" "std::vector< double >::size_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "VecDouble_assign" "', argument "
"2"" of type '" "std::vector< double >::size_type""'")
; goto fail; } while(0)
;
19313 }
19314 arg2 = static_cast< std::vector< double >::size_type >(val2);
19315 ecode3 = SWIG_AsVal_double(obj2, &val3);
19316 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
19317 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VecDouble_assign" "', argument " "3"" of type '" "std::vector< double >::value_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "VecDouble_assign" "', argument "
"3"" of type '" "std::vector< double >::value_type""'"
); goto fail; } while(0)
;
19318 }
19319 temp3 = static_cast< std::vector< double >::value_type >(val3);
19320 arg3 = &temp3;
19321 {
19322 try {
19323 (arg1)->assign(arg2,(std::vector< double >::value_type const &)*arg3);
19324 }
19325 catch (const GException::out_of_range& e) {
19326 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
19327 }
19328 catch (const GExceptionHandler& e) {
19329 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19330 }
19331 catch (const std::exception& e) {
19332 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19333 }
19334 }
19335 resultobj = SWIG_Py_Void();
19336 return resultobj;
19337fail:
19338 return NULL__null;
19339}
19340
19341
19342SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble_resize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19343 PyObject *resultobj = 0;
19344 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
19345 std::vector< double >::size_type arg2 ;
19346 std::vector< double >::value_type *arg3 = 0 ;
19347 void *argp1 = 0 ;
19348 int res1 = 0 ;
19349 size_t val2 ;
19350 int ecode2 = 0 ;
19351 std::vector< double >::value_type temp3 ;
19352 double val3 ;
19353 int ecode3 = 0 ;
19354 PyObject * obj0 = 0 ;
19355 PyObject * obj1 = 0 ;
19356 PyObject * obj2 = 0 ;
19357
19358 if (!PyArg_ParseTuple(args,(char *)"OOO:VecDouble_resize",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
19359 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[75]
, 0 | 0, 0)
;
19360 if (!SWIG_IsOK(res1)(res1 >= 0)) {
19361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VecDouble_resize" "', argument " "1"" of type '" "std::vector< double > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "VecDouble_resize" "', argument "
"1"" of type '" "std::vector< double > *""'"); goto fail
; } while(0)
;
19362 }
19363 arg1 = reinterpret_cast< std::vector< double > * >(argp1);
19364 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19365 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
19366 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VecDouble_resize" "', argument " "2"" of type '" "std::vector< double >::size_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "VecDouble_resize" "', argument "
"2"" of type '" "std::vector< double >::size_type""'")
; goto fail; } while(0)
;
19367 }
19368 arg2 = static_cast< std::vector< double >::size_type >(val2);
19369 ecode3 = SWIG_AsVal_double(obj2, &val3);
19370 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
19371 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VecDouble_resize" "', argument " "3"" of type '" "std::vector< double >::value_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "VecDouble_resize" "', argument "
"3"" of type '" "std::vector< double >::value_type""'"
); goto fail; } while(0)
;
19372 }
19373 temp3 = static_cast< std::vector< double >::value_type >(val3);
19374 arg3 = &temp3;
19375 {
19376 try {
19377 (arg1)->resize(arg2,(std::vector< double >::value_type const &)*arg3);
19378 }
19379 catch (const GException::out_of_range& e) {
19380 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
19381 }
19382 catch (const GExceptionHandler& e) {
19383 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19384 }
19385 catch (const std::exception& e) {
19386 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19387 }
19388 }
19389 resultobj = SWIG_Py_Void();
19390 return resultobj;
19391fail:
19392 return NULL__null;
19393}
19394
19395
19396SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble_resize(PyObject *self, PyObject *args) {
19397 int argc;
19398 PyObject *argv[4];
19399 int ii;
19400
19401 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
19402 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
19403 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
19404 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
19405 }
19406 if (argc == 2) {
19407 int _v;
19408 int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0));
19409 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19410 if (_v) {
19411 {
19412 int res = SWIG_AsVal_size_t(argv[1], NULL__null);
19413 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19414 }
19415 if (_v) {
19416 return _wrap_VecDouble_resize__SWIG_0(self, args);
19417 }
19418 }
19419 }
19420 if (argc == 3) {
19421 int _v;
19422 int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0));
19423 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19424 if (_v) {
19425 {
19426 int res = SWIG_AsVal_size_t(argv[1], NULL__null);
19427 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19428 }
19429 if (_v) {
19430 {
19431 int res = SWIG_AsVal_double(argv[2], NULL__null);
19432 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19433 }
19434 if (_v) {
19435 return _wrap_VecDouble_resize__SWIG_1(self, args);
19436 }
19437 }
19438 }
19439 }
19440
19441fail:
19442 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'VecDouble_resize'.\n"
19443 " Possible C/C++ prototypes are:\n"
19444 " std::vector< double >::resize(std::vector< double >::size_type)\n"
19445 " std::vector< double >::resize(std::vector< double >::size_type,std::vector< double >::value_type const &)\n");
19446 return 0;
19447}
19448
19449
19450SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19451 PyObject *resultobj = 0;
19452 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
19453 std::vector< double >::iterator arg2 ;
19454 std::vector< double >::value_type *arg3 = 0 ;
19455 void *argp1 = 0 ;
19456 int res1 = 0 ;
19457 swig::SwigPyIterator *iter2 = 0 ;
19458 int res2 ;
19459 std::vector< double >::value_type temp3 ;
19460 double val3 ;
19461 int ecode3 = 0 ;
19462 PyObject * obj0 = 0 ;
19463 PyObject * obj1 = 0 ;
19464 PyObject * obj2 = 0 ;
19465 std::vector< double >::iterator result;
19466
19467 if (!PyArg_ParseTuple(args,(char *)"OOO:VecDouble_insert",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
19468 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[75]
, 0 | 0, 0)
;
19469 if (!SWIG_IsOK(res1)(res1 >= 0)) {
19470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VecDouble_insert" "', argument " "1"" of type '" "std::vector< double > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "VecDouble_insert" "', argument "
"1"" of type '" "std::vector< double > *""'"); goto fail
; } while(0)
;
19471 }
19472 arg1 = reinterpret_cast< std::vector< double > * >(argp1);
19473 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0)SWIG_Python_ConvertPtrAndOwn(obj1, ((void)const_cast< void
* >(static_cast< const void * >(*&iter2)),reinterpret_cast
< void** >(&iter2)), swig::SwigPyIterator::descriptor
(), 0, 0)
;
19474 if (!SWIG_IsOK(res2)(res2 >= 0) || !iter2) {
19475 SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VecDouble_insert" "', argument " "2"" of type '" "std::vector< double >::iterator""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((-5 != (-
1)) ? -5 : -5)), "in method '" "VecDouble_insert" "', argument "
"2"" of type '" "std::vector< double >::iterator""'");
goto fail; } while(0)
;
19476 } else {
19477 swig::SwigPyIterator_T<std::vector< double >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< double >::iterator > *>(iter2);
19478 if (iter_t) {
19479 arg2 = iter_t->get_current();
19480 } else {
19481 SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VecDouble_insert" "', argument " "2"" of type '" "std::vector< double >::iterator""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((-5 != (-
1)) ? -5 : -5)), "in method '" "VecDouble_insert" "', argument "
"2"" of type '" "std::vector< double >::iterator""'");
goto fail; } while(0)
;
19482 }
19483 }
19484 ecode3 = SWIG_AsVal_double(obj2, &val3);
19485 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
19486 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VecDouble_insert" "', argument " "3"" of type '" "std::vector< double >::value_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "VecDouble_insert" "', argument "
"3"" of type '" "std::vector< double >::value_type""'"
); goto fail; } while(0)
;
19487 }
19488 temp3 = static_cast< std::vector< double >::value_type >(val3);
19489 arg3 = &temp3;
19490 {
19491 try {
19492 result = (arg1)->insert(arg2,(std::vector< double >::value_type const &)*arg3);
19493 }
19494 catch (const GException::out_of_range& e) {
19495 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
19496 }
19497 catch (const GExceptionHandler& e) {
19498 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19499 }
19500 catch (const std::exception& e) {
19501 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19502 }
19503 }
19504 resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< double >::iterator & >(result)),SWIG_Python_NewPointerObj(__null, swig::make_output_iterator(
static_cast< const std::vector< double >::iterator &
>(result)), swig::SwigPyIterator::descriptor(), 0x1)
19505 swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN)SWIG_Python_NewPointerObj(__null, swig::make_output_iterator(
static_cast< const std::vector< double >::iterator &
>(result)), swig::SwigPyIterator::descriptor(), 0x1)
;
19506 return resultobj;
19507fail:
19508 return NULL__null;
19509}
19510
19511
19512SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19513 PyObject *resultobj = 0;
19514 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
19515 std::vector< double >::iterator arg2 ;
19516 std::vector< double >::size_type arg3 ;
19517 std::vector< double >::value_type *arg4 = 0 ;
19518 void *argp1 = 0 ;
19519 int res1 = 0 ;
19520 swig::SwigPyIterator *iter2 = 0 ;
19521 int res2 ;
19522 size_t val3 ;
19523 int ecode3 = 0 ;
19524 std::vector< double >::value_type temp4 ;
19525 double val4 ;
19526 int ecode4 = 0 ;
19527 PyObject * obj0 = 0 ;
19528 PyObject * obj1 = 0 ;
19529 PyObject * obj2 = 0 ;
19530 PyObject * obj3 = 0 ;
19531
19532 if (!PyArg_ParseTuple(args,(char *)"OOOO:VecDouble_insert",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
19533 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[75]
, 0 | 0, 0)
;
19534 if (!SWIG_IsOK(res1)(res1 >= 0)) {
19535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VecDouble_insert" "', argument " "1"" of type '" "std::vector< double > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "VecDouble_insert" "', argument "
"1"" of type '" "std::vector< double > *""'"); goto fail
; } while(0)
;
19536 }
19537 arg1 = reinterpret_cast< std::vector< double > * >(argp1);
19538 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0)SWIG_Python_ConvertPtrAndOwn(obj1, ((void)const_cast< void
* >(static_cast< const void * >(*&iter2)),reinterpret_cast
< void** >(&iter2)), swig::SwigPyIterator::descriptor
(), 0, 0)
;
19539 if (!SWIG_IsOK(res2)(res2 >= 0) || !iter2) {
19540 SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VecDouble_insert" "', argument " "2"" of type '" "std::vector< double >::iterator""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((-5 != (-
1)) ? -5 : -5)), "in method '" "VecDouble_insert" "', argument "
"2"" of type '" "std::vector< double >::iterator""'");
goto fail; } while(0)
;
19541 } else {
19542 swig::SwigPyIterator_T<std::vector< double >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< double >::iterator > *>(iter2);
19543 if (iter_t) {
19544 arg2 = iter_t->get_current();
19545 } else {
19546 SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VecDouble_insert" "', argument " "2"" of type '" "std::vector< double >::iterator""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((-5 != (-
1)) ? -5 : -5)), "in method '" "VecDouble_insert" "', argument "
"2"" of type '" "std::vector< double >::iterator""'");
goto fail; } while(0)
;
19547 }
19548 }
19549 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
19550 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
19551 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VecDouble_insert" "', argument " "3"" of type '" "std::vector< double >::size_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "VecDouble_insert" "', argument "
"3"" of type '" "std::vector< double >::size_type""'")
; goto fail; } while(0)
;
19552 }
19553 arg3 = static_cast< std::vector< double >::size_type >(val3);
19554 ecode4 = SWIG_AsVal_double(obj3, &val4);
19555 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
19556 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VecDouble_insert" "', argument " "4"" of type '" "std::vector< double >::value_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "VecDouble_insert" "', argument "
"4"" of type '" "std::vector< double >::value_type""'"
); goto fail; } while(0)
;
19557 }
19558 temp4 = static_cast< std::vector< double >::value_type >(val4);
19559 arg4 = &temp4;
19560 {
19561 try {
19562 (arg1)->insert(arg2,arg3,(std::vector< double >::value_type const &)*arg4);
19563 }
19564 catch (const GException::out_of_range& e) {
19565 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
19566 }
19567 catch (const GExceptionHandler& e) {
19568 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19569 }
19570 catch (const std::exception& e) {
19571 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19572 }
19573 }
19574 resultobj = SWIG_Py_Void();
19575 return resultobj;
19576fail:
19577 return NULL__null;
19578}
19579
19580
19581SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble_insert(PyObject *self, PyObject *args) {
19582 int argc;
19583 PyObject *argv[5];
19584 int ii;
19585
19586 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
19587 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
19588 for (ii = 0; (ii < 4) && (ii < argc); ii++) {
19589 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
19590 }
19591 if (argc == 3) {
19592 int _v;
19593 int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0));
19594 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19595 if (_v) {
19596 swig::SwigPyIterator *iter = 0;
19597 int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0)SWIG_Python_ConvertPtrAndOwn(argv[1], ((void)const_cast< void
* >(static_cast< const void * >(*&iter)),reinterpret_cast
< void** >(&iter)), swig::SwigPyIterator::descriptor
(), 0, 0)
;
19598 _v = (SWIG_IsOK(res)(res >= 0) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< double >::iterator > *>(iter) != 0));
19599 if (_v) {
19600 {
19601 int res = SWIG_AsVal_double(argv[2], NULL__null);
19602 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19603 }
19604 if (_v) {
19605 return _wrap_VecDouble_insert__SWIG_0(self, args);
19606 }
19607 }
19608 }
19609 }
19610 if (argc == 4) {
19611 int _v;
19612 int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0));
19613 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19614 if (_v) {
19615 swig::SwigPyIterator *iter = 0;
19616 int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0)SWIG_Python_ConvertPtrAndOwn(argv[1], ((void)const_cast< void
* >(static_cast< const void * >(*&iter)),reinterpret_cast
< void** >(&iter)), swig::SwigPyIterator::descriptor
(), 0, 0)
;
19617 _v = (SWIG_IsOK(res)(res >= 0) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< double >::iterator > *>(iter) != 0));
19618 if (_v) {
19619 {
19620 int res = SWIG_AsVal_size_t(argv[2], NULL__null);
19621 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19622 }
19623 if (_v) {
19624 {
19625 int res = SWIG_AsVal_double(argv[3], NULL__null);
19626 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19627 }
19628 if (_v) {
19629 return _wrap_VecDouble_insert__SWIG_1(self, args);
19630 }
19631 }
19632 }
19633 }
19634 }
19635
19636fail:
19637 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'VecDouble_insert'.\n"
19638 " Possible C/C++ prototypes are:\n"
19639 " std::vector< double >::insert(std::vector< double >::iterator,std::vector< double >::value_type const &)\n"
19640 " std::vector< double >::insert(std::vector< double >::iterator,std::vector< double >::size_type,std::vector< double >::value_type const &)\n");
19641 return 0;
19642}
19643
19644
19645SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble_reserve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19646 PyObject *resultobj = 0;
19647 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
19648 std::vector< double >::size_type arg2 ;
19649 void *argp1 = 0 ;
19650 int res1 = 0 ;
19651 size_t val2 ;
19652 int ecode2 = 0 ;
19653 PyObject * obj0 = 0 ;
19654 PyObject * obj1 = 0 ;
19655
19656 if (!PyArg_ParseTuple(args,(char *)"OO:VecDouble_reserve",&obj0,&obj1)) SWIG_failgoto fail;
19657 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[75]
, 0 | 0, 0)
;
19658 if (!SWIG_IsOK(res1)(res1 >= 0)) {
19659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VecDouble_reserve" "', argument " "1"" of type '" "std::vector< double > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "VecDouble_reserve" "', argument "
"1"" of type '" "std::vector< double > *""'"); goto fail
; } while(0)
;
19660 }
19661 arg1 = reinterpret_cast< std::vector< double > * >(argp1);
19662 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19663 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
19664 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VecDouble_reserve" "', argument " "2"" of type '" "std::vector< double >::size_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "VecDouble_reserve" "', argument "
"2"" of type '" "std::vector< double >::size_type""'")
; goto fail; } while(0)
;
19665 }
19666 arg2 = static_cast< std::vector< double >::size_type >(val2);
19667 {
19668 try {
19669 (arg1)->reserve(arg2);
19670 }
19671 catch (const GException::out_of_range& e) {
19672 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
19673 }
19674 catch (const GExceptionHandler& e) {
19675 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19676 }
19677 catch (const std::exception& e) {
19678 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19679 }
19680 }
19681 resultobj = SWIG_Py_Void();
19682 return resultobj;
19683fail:
19684 return NULL__null;
19685}
19686
19687
19688SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_VecDouble_capacity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19689 PyObject *resultobj = 0;
19690 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
19691 void *argp1 = 0 ;
19692 int res1 = 0 ;
19693 PyObject * obj0 = 0 ;
19694 std::vector< double >::size_type result;
19695
19696 if (!PyArg_ParseTuple(args,(char *)"O:VecDouble_capacity",&obj0)) SWIG_failgoto fail;
19697 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[75]
, 0 | 0, 0)
;
19698 if (!SWIG_IsOK(res1)(res1 >= 0)) {
19699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VecDouble_capacity" "', argument " "1"" of type '" "std::vector< double > const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "VecDouble_capacity" "', argument "
"1"" of type '" "std::vector< double > const *""'"); goto
fail; } while(0)
;
19700 }
19701 arg1 = reinterpret_cast< std::vector< double > * >(argp1);
19702 {
19703 try {
19704 result = ((std::vector< double > const *)arg1)->capacity();
19705 }
19706 catch (const GException::out_of_range& e) {
19707 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
19708 }
19709 catch (const GExceptionHandler& e) {
19710 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19711 }
19712 catch (const std::exception& e) {
19713 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19714 }
19715 }
19716 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
19717 return resultobj;
19718fail:
19719 return NULL__null;
19720}
19721
19722
19723SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_VecDouble(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19724 PyObject *resultobj = 0;
19725 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
19726 void *argp1 = 0 ;
19727 int res1 = 0 ;
19728 PyObject * obj0 = 0 ;
19729
19730 if (!PyArg_ParseTuple(args,(char *)"O:delete_VecDouble",&obj0)) SWIG_failgoto fail;
19731 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[75]
, 0x1 | 0, 0)
;
19732 if (!SWIG_IsOK(res1)(res1 >= 0)) {
19733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_VecDouble" "', argument " "1"" of type '" "std::vector< double > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_VecDouble" "', argument "
"1"" of type '" "std::vector< double > *""'"); goto fail
; } while(0)
;
19734 }
19735 arg1 = reinterpret_cast< std::vector< double > * >(argp1);
19736 {
19737 try {
19738 delete arg1;
19739 }
19740 catch (const GException::out_of_range& e) {
19741 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
19742 }
19743 catch (const GExceptionHandler& e) {
19744 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19745 }
19746 catch (const std::exception& e) {
19747 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19748 }
19749 }
19750 resultobj = SWIG_Py_Void();
19751 return resultobj;
19752fail:
19753 return NULL__null;
19754}
19755
19756
19757SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *VecDouble_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19758 PyObject *obj;
19759 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
19760 SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_tswig_types[75], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
19761 return SWIG_Py_Void();
19762}
19763
19764SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAResponseTable__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19765 PyObject *resultobj = 0;
19766 GCTAResponseTable *result = 0 ;
19767
19768 if (!PyArg_ParseTuple(args,(char *)":new_GCTAResponseTable")) SWIG_failgoto fail;
19769 {
19770 try {
19771 result = (GCTAResponseTable *)new GCTAResponseTable();
19772 }
19773 catch (const GException::out_of_range& e) {
19774 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
19775 }
19776 catch (const GExceptionHandler& e) {
19777 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19778 }
19779 catch (const std::exception& e) {
19780 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19781 }
19782 }
19783 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAResponseTable, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[29], (
(0x1 << 1) | 0x1) | 0)
;
19784 return resultobj;
19785fail:
19786 return NULL__null;
19787}
19788
19789
19790SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAResponseTable__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19791 PyObject *resultobj = 0;
19792 GCTAResponseTable *arg1 = 0 ;
19793 void *argp1 = 0 ;
19794 int res1 = 0 ;
19795 PyObject * obj0 = 0 ;
19796 GCTAResponseTable *result = 0 ;
19797
19798 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAResponseTable",&obj0)) SWIG_failgoto fail;
19799 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GCTAResponseTable, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[29]
, 0 | 0, 0)
;
19800 if (!SWIG_IsOK(res1)(res1 >= 0)) {
19801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAResponseTable" "', argument " "1"" of type '" "GCTAResponseTable const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAResponseTable" "', argument "
"1"" of type '" "GCTAResponseTable const &""'"); goto fail
; } while(0)
;
19802 }
19803 if (!argp1) {
19804 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAResponseTable" "', argument " "1"" of type '" "GCTAResponseTable const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAResponseTable" "', argument " "1"" of type '"
"GCTAResponseTable const &""'"); goto fail; } while(0)
;
19805 }
19806 arg1 = reinterpret_cast< GCTAResponseTable * >(argp1);
19807 {
19808 try {
19809 result = (GCTAResponseTable *)new GCTAResponseTable((GCTAResponseTable const &)*arg1);
19810 }
19811 catch (const GException::out_of_range& e) {
19812 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
19813 }
19814 catch (const GExceptionHandler& e) {
19815 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19816 }
19817 catch (const std::exception& e) {
19818 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19819 }
19820 }
19821 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAResponseTable, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[29], (
(0x1 << 1) | 0x1) | 0)
;
19822 return resultobj;
19823fail:
19824 return NULL__null;
19825}
19826
19827
19828SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAResponseTable__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19829 PyObject *resultobj = 0;
19830 GFitsTable *arg1 = 0 ;
19831 void *argp1 = 0 ;
19832 int res1 = 0 ;
19833 PyObject * obj0 = 0 ;
19834 GCTAResponseTable *result = 0 ;
19835
19836 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAResponseTable",&obj0)) SWIG_failgoto fail;
19837 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GFitsTable, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[41]
, 0 | 0, 0)
;
19838 if (!SWIG_IsOK(res1)(res1 >= 0)) {
19839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAResponseTable" "', argument " "1"" of type '" "GFitsTable const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAResponseTable" "', argument "
"1"" of type '" "GFitsTable const &""'"); goto fail; } while
(0)
;
19840 }
19841 if (!argp1) {
19842 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAResponseTable" "', argument " "1"" of type '" "GFitsTable const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAResponseTable" "', argument " "1"" of type '"
"GFitsTable const &""'"); goto fail; } while(0)
;
19843 }
19844 arg1 = reinterpret_cast< GFitsTable * >(argp1);
19845 {
19846 try {
19847 result = (GCTAResponseTable *)new GCTAResponseTable((GFitsTable const &)*arg1);
19848 }
19849 catch (const GException::out_of_range& e) {
19850 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
19851 }
19852 catch (const GExceptionHandler& e) {
19853 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19854 }
19855 catch (const std::exception& e) {
19856 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19857 }
19858 }
19859 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAResponseTable, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[29], (
(0x1 << 1) | 0x1) | 0)
;
19860 return resultobj;
19861fail:
19862 return NULL__null;
19863}
19864
19865
19866SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAResponseTable(PyObject *self, PyObject *args) {
19867 int argc;
19868 PyObject *argv[2];
19869 int ii;
19870
19871 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
19872 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
19873 for (ii = 0; (ii < 1) && (ii < argc); ii++) {
19874 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
19875 }
19876 if (argc == 0) {
19877 return _wrap_new_GCTAResponseTable__SWIG_0(self, args);
19878 }
19879 if (argc == 1) {
19880 int _v;
19881 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GCTAResponseTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[29], 0, 0
)
;
19882 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19883 if (_v) {
19884 return _wrap_new_GCTAResponseTable__SWIG_1(self, args);
19885 }
19886 }
19887 if (argc == 1) {
19888 int _v;
19889 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GFitsTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[41], 0, 0
)
;
19890 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19891 if (_v) {
19892 return _wrap_new_GCTAResponseTable__SWIG_2(self, args);
19893 }
19894 }
19895
19896fail:
19897 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GCTAResponseTable'.\n"
19898 " Possible C/C++ prototypes are:\n"
19899 " GCTAResponseTable::GCTAResponseTable()\n"
19900 " GCTAResponseTable::GCTAResponseTable(GCTAResponseTable const &)\n"
19901 " GCTAResponseTable::GCTAResponseTable(GFitsTable const &)\n");
19902 return 0;
19903}
19904
19905
19906SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GCTAResponseTable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19907 PyObject *resultobj = 0;
19908 GCTAResponseTable *arg1 = (GCTAResponseTable *) 0 ;
19909 void *argp1 = 0 ;
19910 int res1 = 0 ;
19911 PyObject * obj0 = 0 ;
19912
19913 if (!PyArg_ParseTuple(args,(char *)"O:delete_GCTAResponseTable",&obj0)) SWIG_failgoto fail;
19914 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponseTable, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[29]
, 0x1 | 0, 0)
;
19915 if (!SWIG_IsOK(res1)(res1 >= 0)) {
19916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GCTAResponseTable" "', argument " "1"" of type '" "GCTAResponseTable *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GCTAResponseTable" "', argument "
"1"" of type '" "GCTAResponseTable *""'"); goto fail; } while
(0)
;
19917 }
19918 arg1 = reinterpret_cast< GCTAResponseTable * >(argp1);
19919 {
19920 try {
19921 delete arg1;
19922 }
19923 catch (const GException::out_of_range& e) {
19924 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
19925 }
19926 catch (const GExceptionHandler& e) {
19927 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19928 }
19929 catch (const std::exception& e) {
19930 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19931 }
19932 }
19933 resultobj = SWIG_Py_Void();
19934 return resultobj;
19935fail:
19936 return NULL__null;
19937}
19938
19939
19940SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponseTable___call____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19941 PyObject *resultobj = 0;
19942 GCTAResponseTable *arg1 = (GCTAResponseTable *) 0 ;
19943 double *arg2 = 0 ;
19944 void *argp1 = 0 ;
19945 int res1 = 0 ;
19946 double temp2 ;
19947 double val2 ;
19948 int ecode2 = 0 ;
19949 PyObject * obj0 = 0 ;
19950 PyObject * obj1 = 0 ;
19951 std::vector< double,std::allocator< double > > result;
19952
19953 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAResponseTable___call__",&obj0,&obj1)) SWIG_failgoto fail;
19954 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponseTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[29]
, 0 | 0, 0)
;
19955 if (!SWIG_IsOK(res1)(res1 >= 0)) {
19956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponseTable___call__" "', argument " "1"" of type '" "GCTAResponseTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponseTable___call__"
"', argument " "1"" of type '" "GCTAResponseTable const *""'"
); goto fail; } while(0)
;
19957 }
19958 arg1 = reinterpret_cast< GCTAResponseTable * >(argp1);
19959 ecode2 = SWIG_AsVal_double(obj1, &val2);
19960 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
19961 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAResponseTable___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAResponseTable___call__"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
19962 }
19963 temp2 = static_cast< double >(val2);
19964 arg2 = &temp2;
19965 {
19966 try {
19967 result = ((GCTAResponseTable const *)arg1)->operator ()((double const &)*arg2);
19968 }
19969 catch (const GException::out_of_range& e) {
19970 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
19971 }
19972 catch (const GExceptionHandler& e) {
19973 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19974 }
19975 catch (const std::exception& e) {
19976 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19977 }
19978 }
19979 resultobj = swig::from(static_cast< std::vector<double,std::allocator< double > > >(result));
19980 return resultobj;
19981fail:
19982 return NULL__null;
19983}
19984
19985
19986SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponseTable___call____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19987 PyObject *resultobj = 0;
19988 GCTAResponseTable *arg1 = (GCTAResponseTable *) 0 ;
19989 double *arg2 = 0 ;
19990 double *arg3 = 0 ;
19991 void *argp1 = 0 ;
19992 int res1 = 0 ;
19993 double temp2 ;
19994 double val2 ;
19995 int ecode2 = 0 ;
19996 double temp3 ;
19997 double val3 ;
19998 int ecode3 = 0 ;
19999 PyObject * obj0 = 0 ;
20000 PyObject * obj1 = 0 ;
20001 PyObject * obj2 = 0 ;
20002 std::vector< double,std::allocator< double > > result;
20003
20004 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAResponseTable___call__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
20005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponseTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[29]
, 0 | 0, 0)
;
20006 if (!SWIG_IsOK(res1)(res1 >= 0)) {
20007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponseTable___call__" "', argument " "1"" of type '" "GCTAResponseTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponseTable___call__"
"', argument " "1"" of type '" "GCTAResponseTable const *""'"
); goto fail; } while(0)
;
20008 }
20009 arg1 = reinterpret_cast< GCTAResponseTable * >(argp1);
20010 ecode2 = SWIG_AsVal_double(obj1, &val2);
20011 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
20012 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAResponseTable___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAResponseTable___call__"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
20013 }
20014 temp2 = static_cast< double >(val2);
20015 arg2 = &temp2;
20016 ecode3 = SWIG_AsVal_double(obj2, &val3);
20017 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
20018 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAResponseTable___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAResponseTable___call__"
"', argument " "3"" of type '" "double""'"); goto fail; } while
(0)
;
20019 }
20020 temp3 = static_cast< double >(val3);
20021 arg3 = &temp3;
20022 {
20023 try {
20024 result = ((GCTAResponseTable const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3);
20025 }
20026 catch (const GException::out_of_range& e) {
20027 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
20028 }
20029 catch (const GExceptionHandler& e) {
20030 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20031 }
20032 catch (const std::exception& e) {
20033 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20034 }
20035 }
20036 resultobj = swig::from(static_cast< std::vector<double,std::allocator< double > > >(result));
20037 return resultobj;
20038fail:
20039 return NULL__null;
20040}
20041
20042
20043SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponseTable___call____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20044 PyObject *resultobj = 0;
20045 GCTAResponseTable *arg1 = (GCTAResponseTable *) 0 ;
20046 int *arg2 = 0 ;
20047 double *arg3 = 0 ;
20048 void *argp1 = 0 ;
20049 int res1 = 0 ;
20050 int temp2 ;
20051 int val2 ;
20052 int ecode2 = 0 ;
20053 double temp3 ;
20054 double val3 ;
20055 int ecode3 = 0 ;
20056 PyObject * obj0 = 0 ;
20057 PyObject * obj1 = 0 ;
20058 PyObject * obj2 = 0 ;
20059 double result;
20060
20061 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAResponseTable___call__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
20062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponseTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[29]
, 0 | 0, 0)
;
20063 if (!SWIG_IsOK(res1)(res1 >= 0)) {
20064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponseTable___call__" "', argument " "1"" of type '" "GCTAResponseTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponseTable___call__"
"', argument " "1"" of type '" "GCTAResponseTable const *""'"
); goto fail; } while(0)
;
20065 }
20066 arg1 = reinterpret_cast< GCTAResponseTable * >(argp1);
20067 ecode2 = SWIG_AsVal_int(obj1, &val2);
20068 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
20069 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAResponseTable___call__" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAResponseTable___call__"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
20070 }
20071 temp2 = static_cast< int >(val2);
20072 arg2 = &temp2;
20073 ecode3 = SWIG_AsVal_double(obj2, &val3);
20074 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
20075 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAResponseTable___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAResponseTable___call__"
"', argument " "3"" of type '" "double""'"); goto fail; } while
(0)
;
20076 }
20077 temp3 = static_cast< double >(val3);
20078 arg3 = &temp3;
20079 {
20080 try {
20081 result = (double)((GCTAResponseTable const *)arg1)->operator ()((int const &)*arg2,(double const &)*arg3);
20082 }
20083 catch (const GException::out_of_range& e) {
20084 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
20085 }
20086 catch (const GExceptionHandler& e) {
20087 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20088 }
20089 catch (const std::exception& e) {
20090 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20091 }
20092 }
20093 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
20094 return resultobj;
20095fail:
20096 return NULL__null;
20097}
20098
20099
20100SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponseTable___call____SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20101 PyObject *resultobj = 0;
20102 GCTAResponseTable *arg1 = (GCTAResponseTable *) 0 ;
20103 int *arg2 = 0 ;
20104 double *arg3 = 0 ;
20105 double *arg4 = 0 ;
20106 void *argp1 = 0 ;
20107 int res1 = 0 ;
20108 int temp2 ;
20109 int val2 ;
20110 int ecode2 = 0 ;
20111 double temp3 ;
20112 double val3 ;
20113 int ecode3 = 0 ;
20114 double temp4 ;
20115 double val4 ;
20116 int ecode4 = 0 ;
20117 PyObject * obj0 = 0 ;
20118 PyObject * obj1 = 0 ;
20119 PyObject * obj2 = 0 ;
20120 PyObject * obj3 = 0 ;
20121 double result;
20122
20123 if (!PyArg_ParseTuple(args,(char *)"OOOO:GCTAResponseTable___call__",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
20124 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponseTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[29]
, 0 | 0, 0)
;
20125 if (!SWIG_IsOK(res1)(res1 >= 0)) {
20126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponseTable___call__" "', argument " "1"" of type '" "GCTAResponseTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponseTable___call__"
"', argument " "1"" of type '" "GCTAResponseTable const *""'"
); goto fail; } while(0)
;
20127 }
20128 arg1 = reinterpret_cast< GCTAResponseTable * >(argp1);
20129 ecode2 = SWIG_AsVal_int(obj1, &val2);
20130 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
20131 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAResponseTable___call__" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAResponseTable___call__"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
20132 }
20133 temp2 = static_cast< int >(val2);
20134 arg2 = &temp2;
20135 ecode3 = SWIG_AsVal_double(obj2, &val3);
20136 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
20137 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAResponseTable___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAResponseTable___call__"
"', argument " "3"" of type '" "double""'"); goto fail; } while
(0)
;
20138 }
20139 temp3 = static_cast< double >(val3);
20140 arg3 = &temp3;
20141 ecode4 = SWIG_AsVal_double(obj3, &val4);
20142 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
20143 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAResponseTable___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAResponseTable___call__"
"', argument " "4"" of type '" "double""'"); goto fail; } while
(0)
;
20144 }
20145 temp4 = static_cast< double >(val4);
20146 arg4 = &temp4;
20147 {
20148 try {
20149 result = (double)((GCTAResponseTable const *)arg1)->operator ()((int const &)*arg2,(double const &)*arg3,(double const &)*arg4);
20150 }
20151 catch (const GException::out_of_range& e) {
20152 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
20153 }
20154 catch (const GExceptionHandler& e) {
20155 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20156 }
20157 catch (const std::exception& e) {
20158 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20159 }
20160 }
20161 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
20162 return resultobj;
20163fail:
20164 return NULL__null;
20165}
20166
20167
20168SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponseTable___call__(PyObject *self, PyObject *args) {
20169 int argc;
20170 PyObject *argv[5];
20171 int ii;
20172
20173 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
20174 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
20175 for (ii = 0; (ii < 4) && (ii < argc); ii++) {
20176 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
20177 }
20178 if (argc == 2) {
20179 int _v;
20180 void *vptr = 0;
20181 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAResponseTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[29
], 0, 0)
;
20182 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
20183 if (_v) {
20184 {
20185 int res = SWIG_AsVal_double(argv[1], NULL__null);
20186 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
20187 }
20188 if (_v) {
20189 return _wrap_GCTAResponseTable___call____SWIG_0(self, args);
20190 }
20191 }
20192 }
20193 if (argc == 3) {
20194 int _v;
20195 void *vptr = 0;
20196 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAResponseTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[29
], 0, 0)
;
20197 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
20198 if (_v) {
20199 {
20200 int res = SWIG_AsVal_int(argv[1], NULL__null);
20201 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
20202 }
20203 if (_v) {
20204 {
20205 int res = SWIG_AsVal_double(argv[2], NULL__null);
20206 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
20207 }
20208 if (_v) {
20209 return _wrap_GCTAResponseTable___call____SWIG_2(self, args);
20210 }
20211 }
20212 }
20213 }
20214 if (argc == 3) {
20215 int _v;
20216 void *vptr = 0;
20217 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAResponseTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[29
], 0, 0)
;
20218 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
20219 if (_v) {
20220 {
20221 int res = SWIG_AsVal_double(argv[1], NULL__null);
20222 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
20223 }
20224 if (_v) {
20225 {
20226 int res = SWIG_AsVal_double(argv[2], NULL__null);
20227 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
20228 }
20229 if (_v) {
20230 return _wrap_GCTAResponseTable___call____SWIG_1(self, args);
20231 }
20232 }
20233 }
20234 }
20235 if (argc == 4) {
20236 int _v;
20237 void *vptr = 0;
20238 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAResponseTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[29
], 0, 0)
;
20239 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
20240 if (_v) {
20241 {
20242 int res = SWIG_AsVal_int(argv[1], NULL__null);
20243 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
20244 }
20245 if (_v) {
20246 {
20247 int res = SWIG_AsVal_double(argv[2], NULL__null);
20248 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
20249 }
20250 if (_v) {
20251 {
20252 int res = SWIG_AsVal_double(argv[3], NULL__null);
20253 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
20254 }
20255 if (_v) {
20256 return _wrap_GCTAResponseTable___call____SWIG_3(self, args);
20257 }
20258 }
20259 }
20260 }
20261 }
20262
20263fail:
20264 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAResponseTable___call__'.\n"
20265 " Possible C/C++ prototypes are:\n"
20266 " GCTAResponseTable::operator ()(double const &) const\n"
20267 " GCTAResponseTable::operator ()(double const &,double const &) const\n"
20268 " GCTAResponseTable::operator ()(int const &,double const &) const\n"
20269 " GCTAResponseTable::operator ()(int const &,double const &,double const &) const\n");
20270 return 0;
20271}
20272
20273
20274SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponseTable_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20275 PyObject *resultobj = 0;
20276 GCTAResponseTable *arg1 = (GCTAResponseTable *) 0 ;
20277 void *argp1 = 0 ;
20278 int res1 = 0 ;
20279 PyObject * obj0 = 0 ;
20280
20281 if (!PyArg_ParseTuple(args,(char *)"O:GCTAResponseTable_clear",&obj0)) SWIG_failgoto fail;
20282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponseTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[29]
, 0 | 0, 0)
;
20283 if (!SWIG_IsOK(res1)(res1 >= 0)) {
20284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponseTable_clear" "', argument " "1"" of type '" "GCTAResponseTable *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponseTable_clear" "', argument "
"1"" of type '" "GCTAResponseTable *""'"); goto fail; } while
(0)
;
20285 }
20286 arg1 = reinterpret_cast< GCTAResponseTable * >(argp1);
20287 {
20288 try {
20289 (arg1)->clear();
20290 }
20291 catch (const GException::out_of_range& e) {
20292 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
20293 }
20294 catch (const GExceptionHandler& e) {
20295 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20296 }
20297 catch (const std::exception& e) {
20298 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20299 }
20300 }
20301 resultobj = SWIG_Py_Void();
20302 return resultobj;
20303fail:
20304 return NULL__null;
20305}
20306
20307
20308SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponseTable_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20309 PyObject *resultobj = 0;
20310 GCTAResponseTable *arg1 = (GCTAResponseTable *) 0 ;
20311 void *argp1 = 0 ;
20312 int res1 = 0 ;
20313 PyObject * obj0 = 0 ;
20314 GCTAResponseTable *result = 0 ;
20315
20316 if (!PyArg_ParseTuple(args,(char *)"O:GCTAResponseTable_clone",&obj0)) SWIG_failgoto fail;
20317 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponseTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[29]
, 0 | 0, 0)
;
20318 if (!SWIG_IsOK(res1)(res1 >= 0)) {
20319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponseTable_clone" "', argument " "1"" of type '" "GCTAResponseTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponseTable_clone" "', argument "
"1"" of type '" "GCTAResponseTable const *""'"); goto fail; }
while(0)
;
20320 }
20321 arg1 = reinterpret_cast< GCTAResponseTable * >(argp1);
20322 {
20323 try {
20324 result = (GCTAResponseTable *)((GCTAResponseTable const *)arg1)->clone();
20325 }
20326 catch (const GException::out_of_range& e) {
20327 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
20328 }
20329 catch (const GExceptionHandler& e) {
20330 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20331 }
20332 catch (const std::exception& e) {
20333 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20334 }
20335 }
20336 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAResponseTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[29], 0
| 0)
;
20337 return resultobj;
20338fail:
20339 return NULL__null;
20340}
20341
20342
20343SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponseTable_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20344 PyObject *resultobj = 0;
20345 GCTAResponseTable *arg1 = (GCTAResponseTable *) 0 ;
20346 void *argp1 = 0 ;
20347 int res1 = 0 ;
20348 PyObject * obj0 = 0 ;
20349 int result;
20350
20351 if (!PyArg_ParseTuple(args,(char *)"O:GCTAResponseTable_size",&obj0)) SWIG_failgoto fail;
20352 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponseTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[29]
, 0 | 0, 0)
;
20353 if (!SWIG_IsOK(res1)(res1 >= 0)) {
20354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponseTable_size" "', argument " "1"" of type '" "GCTAResponseTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponseTable_size" "', argument "
"1"" of type '" "GCTAResponseTable const *""'"); goto fail; }
while(0)
;
20355 }
20356 arg1 = reinterpret_cast< GCTAResponseTable * >(argp1);
20357 {
20358 try {
20359 result = (int)((GCTAResponseTable const *)arg1)->size();
20360 }
20361 catch (const GException::out_of_range& e) {
20362 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
20363 }
20364 catch (const GExceptionHandler& e) {
20365 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20366 }
20367 catch (const std::exception& e) {
20368 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20369 }
20370 }
20371 resultobj = SWIG_From_int(static_cast< int >(result));
20372 return resultobj;
20373fail:
20374 return NULL__null;
20375}
20376
20377
20378SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponseTable_elements(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20379 PyObject *resultobj = 0;
20380 GCTAResponseTable *arg1 = (GCTAResponseTable *) 0 ;
20381 void *argp1 = 0 ;
20382 int res1 = 0 ;
20383 PyObject * obj0 = 0 ;
20384 int *result = 0 ;
20385
20386 if (!PyArg_ParseTuple(args,(char *)"O:GCTAResponseTable_elements",&obj0)) SWIG_failgoto fail;
20387 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponseTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[29]
, 0 | 0, 0)
;
20388 if (!SWIG_IsOK(res1)(res1 >= 0)) {
20389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponseTable_elements" "', argument " "1"" of type '" "GCTAResponseTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponseTable_elements"
"', argument " "1"" of type '" "GCTAResponseTable const *""'"
); goto fail; } while(0)
;
20390 }
20391 arg1 = reinterpret_cast< GCTAResponseTable * >(argp1);
20392 {
20393 try {
20394 result = (int *) &((GCTAResponseTable const *)arg1)->elements();
20395 }
20396 catch (const GException::out_of_range& e) {
20397 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
20398 }
20399 catch (const GExceptionHandler& e) {
20400 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20401 }
20402 catch (const std::exception& e) {
20403 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20404 }
20405 }
20406 resultobj = SWIG_From_int(static_cast< int >(*result));
20407 return resultobj;
20408fail:
20409 return NULL__null;
20410}
20411
20412
20413SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponseTable_axes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20414 PyObject *resultobj = 0;
20415 GCTAResponseTable *arg1 = (GCTAResponseTable *) 0 ;
20416 void *argp1 = 0 ;
20417 int res1 = 0 ;
20418 PyObject * obj0 = 0 ;
20419 int *result = 0 ;
20420
20421 if (!PyArg_ParseTuple(args,(char *)"O:GCTAResponseTable_axes",&obj0)) SWIG_failgoto fail;
20422 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponseTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[29]
, 0 | 0, 0)
;
20423 if (!SWIG_IsOK(res1)(res1 >= 0)) {
20424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponseTable_axes" "', argument " "1"" of type '" "GCTAResponseTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponseTable_axes" "', argument "
"1"" of type '" "GCTAResponseTable const *""'"); goto fail; }
while(0)
;
20425 }
20426 arg1 = reinterpret_cast< GCTAResponseTable * >(argp1);
20427 {
20428 try {
20429 result = (int *) &((GCTAResponseTable const *)arg1)->axes();
20430 }
20431 catch (const GException::out_of_range& e) {
20432 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
20433 }
20434 catch (const GExceptionHandler& e) {
20435 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20436 }
20437 catch (const std::exception& e) {
20438 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20439 }
20440 }
20441 resultobj = SWIG_From_int(static_cast< int >(*result));
20442 return resultobj;
20443fail:
20444 return NULL__null;
20445}
20446
20447
20448SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponseTable_axis(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20449 PyObject *resultobj = 0;
20450 GCTAResponseTable *arg1 = (GCTAResponseTable *) 0 ;
20451 int *arg2 = 0 ;
20452 void *argp1 = 0 ;
20453 int res1 = 0 ;
20454 int temp2 ;
20455 int val2 ;
20456 int ecode2 = 0 ;
20457 PyObject * obj0 = 0 ;
20458 PyObject * obj1 = 0 ;
20459 int result;
20460
20461 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAResponseTable_axis",&obj0,&obj1)) SWIG_failgoto fail;
20462 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponseTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[29]
, 0 | 0, 0)
;
20463 if (!SWIG_IsOK(res1)(res1 >= 0)) {
20464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponseTable_axis" "', argument " "1"" of type '" "GCTAResponseTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponseTable_axis" "', argument "
"1"" of type '" "GCTAResponseTable const *""'"); goto fail; }
while(0)
;
20465 }
20466 arg1 = reinterpret_cast< GCTAResponseTable * >(argp1);
20467 ecode2 = SWIG_AsVal_int(obj1, &val2);
20468 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
20469 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAResponseTable_axis" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAResponseTable_axis"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
20470 }
20471 temp2 = static_cast< int >(val2);
20472 arg2 = &temp2;
20473 {
20474 try {
20475 result = (int)((GCTAResponseTable const *)arg1)->axis((int const &)*arg2);
20476 }
20477 catch (const GException::out_of_range& e) {
20478 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
20479 }
20480 catch (const GExceptionHandler& e) {
20481 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20482 }
20483 catch (const std::exception& e) {
20484 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20485 }
20486 }
20487 resultobj = SWIG_From_int(static_cast< int >(result));
20488 return resultobj;
20489fail:
20490 return NULL__null;
20491}
20492
20493
20494SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponseTable_axis_lo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20495 PyObject *resultobj = 0;
20496 GCTAResponseTable *arg1 = (GCTAResponseTable *) 0 ;
20497 int *arg2 = 0 ;
20498 int *arg3 = 0 ;
20499 void *argp1 = 0 ;
20500 int res1 = 0 ;
20501 int temp2 ;
20502 int val2 ;
20503 int ecode2 = 0 ;
20504 int temp3 ;
20505 int val3 ;
20506 int ecode3 = 0 ;
20507 PyObject * obj0 = 0 ;
20508 PyObject * obj1 = 0 ;
20509 PyObject * obj2 = 0 ;
20510 double result;
20511
20512 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAResponseTable_axis_lo",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
20513 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponseTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[29]
, 0 | 0, 0)
;
20514 if (!SWIG_IsOK(res1)(res1 >= 0)) {
20515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponseTable_axis_lo" "', argument " "1"" of type '" "GCTAResponseTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponseTable_axis_lo"
"', argument " "1"" of type '" "GCTAResponseTable const *""'"
); goto fail; } while(0)
;
20516 }
20517 arg1 = reinterpret_cast< GCTAResponseTable * >(argp1);
20518 ecode2 = SWIG_AsVal_int(obj1, &val2);
20519 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
20520 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAResponseTable_axis_lo" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAResponseTable_axis_lo"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
20521 }
20522 temp2 = static_cast< int >(val2);
20523 arg2 = &temp2;
20524 ecode3 = SWIG_AsVal_int(obj2, &val3);
20525 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
20526 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAResponseTable_axis_lo" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAResponseTable_axis_lo"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
20527 }
20528 temp3 = static_cast< int >(val3);
20529 arg3 = &temp3;
20530 {
20531 try {
20532 result = (double)((GCTAResponseTable const *)arg1)->axis_lo((int const &)*arg2,(int const &)*arg3);
20533 }
20534 catch (const GException::out_of_range& e) {
20535 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
20536 }
20537 catch (const GExceptionHandler& e) {
20538 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20539 }
20540 catch (const std::exception& e) {
20541 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20542 }
20543 }
20544 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
20545 return resultobj;
20546fail:
20547 return NULL__null;
20548}
20549
20550
20551SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponseTable_axis_hi(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20552 PyObject *resultobj = 0;
20553 GCTAResponseTable *arg1 = (GCTAResponseTable *) 0 ;
20554 int *arg2 = 0 ;
20555 int *arg3 = 0 ;
20556 void *argp1 = 0 ;
20557 int res1 = 0 ;
20558 int temp2 ;
20559 int val2 ;
20560 int ecode2 = 0 ;
20561 int temp3 ;
20562 int val3 ;
20563 int ecode3 = 0 ;
20564 PyObject * obj0 = 0 ;
20565 PyObject * obj1 = 0 ;
20566 PyObject * obj2 = 0 ;
20567 double result;
20568
20569 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAResponseTable_axis_hi",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
20570 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponseTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[29]
, 0 | 0, 0)
;
20571 if (!SWIG_IsOK(res1)(res1 >= 0)) {
20572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponseTable_axis_hi" "', argument " "1"" of type '" "GCTAResponseTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponseTable_axis_hi"
"', argument " "1"" of type '" "GCTAResponseTable const *""'"
); goto fail; } while(0)
;
20573 }
20574 arg1 = reinterpret_cast< GCTAResponseTable * >(argp1);
20575 ecode2 = SWIG_AsVal_int(obj1, &val2);
20576 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
20577 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAResponseTable_axis_hi" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAResponseTable_axis_hi"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
20578 }
20579 temp2 = static_cast< int >(val2);
20580 arg2 = &temp2;
20581 ecode3 = SWIG_AsVal_int(obj2, &val3);
20582 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
20583 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAResponseTable_axis_hi" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAResponseTable_axis_hi"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
20584 }
20585 temp3 = static_cast< int >(val3);
20586 arg3 = &temp3;
20587 {
20588 try {
20589 result = (double)((GCTAResponseTable const *)arg1)->axis_hi((int const &)*arg2,(int const &)*arg3);
20590 }
20591 catch (const GException::out_of_range& e) {
20592 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
20593 }
20594 catch (const GExceptionHandler& e) {
20595 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20596 }
20597 catch (const std::exception& e) {
20598 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20599 }
20600 }
20601 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
20602 return resultobj;
20603fail:
20604 return NULL__null;
20605}
20606
20607
20608SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponseTable_axis_linear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20609 PyObject *resultobj = 0;
20610 GCTAResponseTable *arg1 = (GCTAResponseTable *) 0 ;
20611 int *arg2 = 0 ;
20612 void *argp1 = 0 ;
20613 int res1 = 0 ;
20614 int temp2 ;
20615 int val2 ;
20616 int ecode2 = 0 ;
20617 PyObject * obj0 = 0 ;
20618 PyObject * obj1 = 0 ;
20619
20620 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAResponseTable_axis_linear",&obj0,&obj1)) SWIG_failgoto fail;
20621 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponseTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[29]
, 0 | 0, 0)
;
20622 if (!SWIG_IsOK(res1)(res1 >= 0)) {
20623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponseTable_axis_linear" "', argument " "1"" of type '" "GCTAResponseTable *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponseTable_axis_linear"
"', argument " "1"" of type '" "GCTAResponseTable *""'"); goto
fail; } while(0)
;
20624 }
20625 arg1 = reinterpret_cast< GCTAResponseTable * >(argp1);
20626 ecode2 = SWIG_AsVal_int(obj1, &val2);
20627 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
20628 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAResponseTable_axis_linear" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAResponseTable_axis_linear"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
20629 }
20630 temp2 = static_cast< int >(val2);
20631 arg2 = &temp2;
20632 {
20633 try {
20634 (arg1)->axis_linear((int const &)*arg2);
20635 }
20636 catch (const GException::out_of_range& e) {
20637 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
20638 }
20639 catch (const GExceptionHandler& e) {
20640 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20641 }
20642 catch (const std::exception& e) {
20643 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20644 }
20645 }
20646 resultobj = SWIG_Py_Void();
20647 return resultobj;
20648fail:
20649 return NULL__null;
20650}
20651
20652
20653SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponseTable_axis_log10(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20654 PyObject *resultobj = 0;
20655 GCTAResponseTable *arg1 = (GCTAResponseTable *) 0 ;
20656 int *arg2 = 0 ;
20657 void *argp1 = 0 ;
20658 int res1 = 0 ;
20659 int temp2 ;
20660 int val2 ;
20661 int ecode2 = 0 ;
20662 PyObject * obj0 = 0 ;
20663 PyObject * obj1 = 0 ;
20664
20665 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAResponseTable_axis_log10",&obj0,&obj1)) SWIG_failgoto fail;
20666 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponseTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[29]
, 0 | 0, 0)
;
20667 if (!SWIG_IsOK(res1)(res1 >= 0)) {
20668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponseTable_axis_log10" "', argument " "1"" of type '" "GCTAResponseTable *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponseTable_axis_log10"
"', argument " "1"" of type '" "GCTAResponseTable *""'"); goto
fail; } while(0)
;
20669 }
20670 arg1 = reinterpret_cast< GCTAResponseTable * >(argp1);
20671 ecode2 = SWIG_AsVal_int(obj1, &val2);
20672 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
20673 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAResponseTable_axis_log10" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAResponseTable_axis_log10"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
20674 }
20675 temp2 = static_cast< int >(val2);
20676 arg2 = &temp2;
20677 {
20678 try {
20679 (arg1)->axis_log10((int const &)*arg2);
20680 }
20681 catch (const GException::out_of_range& e) {
20682 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
20683 }
20684 catch (const GExceptionHandler& e) {
20685 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20686 }
20687 catch (const std::exception& e) {
20688 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20689 }
20690 }
20691 resultobj = SWIG_Py_Void();
20692 return resultobj;
20693fail:
20694 return NULL__null;
20695}
20696
20697
20698SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponseTable_axis_radians(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20699 PyObject *resultobj = 0;
20700 GCTAResponseTable *arg1 = (GCTAResponseTable *) 0 ;
20701 int *arg2 = 0 ;
20702 void *argp1 = 0 ;
20703 int res1 = 0 ;
20704 int temp2 ;
20705 int val2 ;
20706 int ecode2 = 0 ;
20707 PyObject * obj0 = 0 ;
20708 PyObject * obj1 = 0 ;
20709
20710 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAResponseTable_axis_radians",&obj0,&obj1)) SWIG_failgoto fail;
20711 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponseTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[29]
, 0 | 0, 0)
;
20712 if (!SWIG_IsOK(res1)(res1 >= 0)) {
20713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponseTable_axis_radians" "', argument " "1"" of type '" "GCTAResponseTable *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponseTable_axis_radians"
"', argument " "1"" of type '" "GCTAResponseTable *""'"); goto
fail; } while(0)
;
20714 }
20715 arg1 = reinterpret_cast< GCTAResponseTable * >(argp1);
20716 ecode2 = SWIG_AsVal_int(obj1, &val2);
20717 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
20718 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAResponseTable_axis_radians" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAResponseTable_axis_radians"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
20719 }
20720 temp2 = static_cast< int >(val2);
20721 arg2 = &temp2;
20722 {
20723 try {
20724 (arg1)->axis_radians((int const &)*arg2);
20725 }
20726 catch (const GException::out_of_range& e) {
20727 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
20728 }
20729 catch (const GExceptionHandler& e) {
20730 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20731 }
20732 catch (const std::exception& e) {
20733 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20734 }
20735 }
20736 resultobj = SWIG_Py_Void();
20737 return resultobj;
20738fail:
20739 return NULL__null;
20740}
20741
20742
20743SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponseTable_scale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20744 PyObject *resultobj = 0;
20745 GCTAResponseTable *arg1 = (GCTAResponseTable *) 0 ;
20746 int *arg2 = 0 ;
20747 double *arg3 = 0 ;
20748 void *argp1 = 0 ;
20749 int res1 = 0 ;
20750 int temp2 ;
20751 int val2 ;
20752 int ecode2 = 0 ;
20753 double temp3 ;
20754 double val3 ;
20755 int ecode3 = 0 ;
20756 PyObject * obj0 = 0 ;
20757 PyObject * obj1 = 0 ;
20758 PyObject * obj2 = 0 ;
20759
20760 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAResponseTable_scale",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
20761 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponseTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[29]
, 0 | 0, 0)
;
20762 if (!SWIG_IsOK(res1)(res1 >= 0)) {
20763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponseTable_scale" "', argument " "1"" of type '" "GCTAResponseTable *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponseTable_scale" "', argument "
"1"" of type '" "GCTAResponseTable *""'"); goto fail; } while
(0)
;
20764 }
20765 arg1 = reinterpret_cast< GCTAResponseTable * >(argp1);
20766 ecode2 = SWIG_AsVal_int(obj1, &val2);
20767 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
20768 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAResponseTable_scale" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAResponseTable_scale"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
20769 }
20770 temp2 = static_cast< int >(val2);
20771 arg2 = &temp2;
20772 ecode3 = SWIG_AsVal_double(obj2, &val3);
20773 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
20774 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAResponseTable_scale" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAResponseTable_scale"
"', argument " "3"" of type '" "double""'"); goto fail; } while
(0)
;
20775 }
20776 temp3 = static_cast< double >(val3);
20777 arg3 = &temp3;
20778 {
20779 try {
20780 (arg1)->scale((int const &)*arg2,(double const &)*arg3);
20781 }
20782 catch (const GException::out_of_range& e) {
20783 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
20784 }
20785 catch (const GExceptionHandler& e) {
20786 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20787 }
20788 catch (const std::exception& e) {
20789 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20790 }
20791 }
20792 resultobj = SWIG_Py_Void();
20793 return resultobj;
20794fail:
20795 return NULL__null;
20796}
20797
20798
20799SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponseTable_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20800 PyObject *resultobj = 0;
20801 GCTAResponseTable *arg1 = (GCTAResponseTable *) 0 ;
20802 GFitsTable *arg2 = 0 ;
20803 void *argp1 = 0 ;
20804 int res1 = 0 ;
20805 void *argp2 = 0 ;
20806 int res2 = 0 ;
20807 PyObject * obj0 = 0 ;
20808 PyObject * obj1 = 0 ;
20809
20810 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAResponseTable_read",&obj0,&obj1)) SWIG_failgoto fail;
20811 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponseTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[29]
, 0 | 0, 0)
;
20812 if (!SWIG_IsOK(res1)(res1 >= 0)) {
20813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponseTable_read" "', argument " "1"" of type '" "GCTAResponseTable *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponseTable_read" "', argument "
"1"" of type '" "GCTAResponseTable *""'"); goto fail; } while
(0)
;
20814 }
20815 arg1 = reinterpret_cast< GCTAResponseTable * >(argp1);
20816 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GFitsTable, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[41]
, 0 | 0, 0)
;
20817 if (!SWIG_IsOK(res2)(res2 >= 0)) {
20818 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAResponseTable_read" "', argument " "2"" of type '" "GFitsTable const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAResponseTable_read" "', argument "
"2"" of type '" "GFitsTable const &""'"); goto fail; } while
(0)
;
20819 }
20820 if (!argp2) {
20821 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAResponseTable_read" "', argument " "2"" of type '" "GFitsTable const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAResponseTable_read" "', argument " "2"" of type '"
"GFitsTable const &""'"); goto fail; } while(0)
;
20822 }
20823 arg2 = reinterpret_cast< GFitsTable * >(argp2);
20824 {
20825 try {
20826 (arg1)->read((GFitsTable const &)*arg2);
20827 }
20828 catch (const GException::out_of_range& e) {
20829 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
20830 }
20831 catch (const GExceptionHandler& e) {
20832 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20833 }
20834 catch (const std::exception& e) {
20835 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20836 }
20837 }
20838 resultobj = SWIG_Py_Void();
20839 return resultobj;
20840fail:
20841 return NULL__null;
20842}
20843
20844
20845SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponseTable_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20846 PyObject *resultobj = 0;
20847 GCTAResponseTable *arg1 = (GCTAResponseTable *) 0 ;
20848 GFitsTable *arg2 = 0 ;
20849 void *argp1 = 0 ;
20850 int res1 = 0 ;
20851 void *argp2 = 0 ;
20852 int res2 = 0 ;
20853 PyObject * obj0 = 0 ;
20854 PyObject * obj1 = 0 ;
20855
20856 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAResponseTable_write",&obj0,&obj1)) SWIG_failgoto fail;
20857 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponseTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[29]
, 0 | 0, 0)
;
20858 if (!SWIG_IsOK(res1)(res1 >= 0)) {
20859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponseTable_write" "', argument " "1"" of type '" "GCTAResponseTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponseTable_write" "', argument "
"1"" of type '" "GCTAResponseTable const *""'"); goto fail; }
while(0)
;
20860 }
20861 arg1 = reinterpret_cast< GCTAResponseTable * >(argp1);
20862 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GFitsTable, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[41]
, 0, 0)
;
20863 if (!SWIG_IsOK(res2)(res2 >= 0)) {
20864 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAResponseTable_write" "', argument " "2"" of type '" "GFitsTable &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAResponseTable_write" "', argument "
"2"" of type '" "GFitsTable &""'"); goto fail; } while(0
)
;
20865 }
20866 if (!argp2) {
20867 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAResponseTable_write" "', argument " "2"" of type '" "GFitsTable &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAResponseTable_write" "', argument " "2"" of type '"
"GFitsTable &""'"); goto fail; } while(0)
;
20868 }
20869 arg2 = reinterpret_cast< GFitsTable * >(argp2);
20870 {
20871 try {
20872 ((GCTAResponseTable const *)arg1)->write(*arg2);
20873 }
20874 catch (const GException::out_of_range& e) {
20875 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
20876 }
20877 catch (const GExceptionHandler& e) {
20878 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20879 }
20880 catch (const std::exception& e) {
20881 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20882 }
20883 }
20884 resultobj = SWIG_Py_Void();
20885 return resultobj;
20886fail:
20887 return NULL__null;
20888}
20889
20890
20891SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAResponseTable_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20892 PyObject *resultobj = 0;
20893 GCTAResponseTable *arg1 = (GCTAResponseTable *) 0 ;
20894 void *argp1 = 0 ;
20895 int res1 = 0 ;
20896 PyObject * obj0 = 0 ;
20897 GCTAResponseTable result;
20898
20899 if (!PyArg_ParseTuple(args,(char *)"O:GCTAResponseTable_copy",&obj0)) SWIG_failgoto fail;
20900 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAResponseTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[29]
, 0 | 0, 0)
;
20901 if (!SWIG_IsOK(res1)(res1 >= 0)) {
20902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAResponseTable_copy" "', argument " "1"" of type '" "GCTAResponseTable *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAResponseTable_copy" "', argument "
"1"" of type '" "GCTAResponseTable *""'"); goto fail; } while
(0)
;
20903 }
20904 arg1 = reinterpret_cast< GCTAResponseTable * >(argp1);
20905 {
20906 try {
20907 result = GCTAResponseTable_copy(arg1);
20908 }
20909 catch (const GException::out_of_range& e) {
20910 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
20911 }
20912 catch (const GExceptionHandler& e) {
20913 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20914 }
20915 catch (const std::exception& e) {
20916 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20917 }
20918 }
20919 resultobj = SWIG_NewPointerObj((new GCTAResponseTable(static_cast< const GCTAResponseTable& >(result))), SWIGTYPE_p_GCTAResponseTable, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GCTAResponseTable(static_cast
< const GCTAResponseTable& >(result))), swig_types[
29], 0x1 | 0)
;
20920 return resultobj;
20921fail:
20922 return NULL__null;
20923}
20924
20925
20926SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GCTAResponseTable_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20927 PyObject *obj;
20928 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
20929 SWIG_TypeNewClientData(SWIGTYPE_p_GCTAResponseTableswig_types[29], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
20930 return SWIG_Py_Void();
20931}
20932
20933SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GCTAAeff(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20934 PyObject *resultobj = 0;
20935 GCTAAeff *arg1 = (GCTAAeff *) 0 ;
20936 void *argp1 = 0 ;
20937 int res1 = 0 ;
20938 PyObject * obj0 = 0 ;
20939
20940 if (!PyArg_ParseTuple(args,(char *)"O:delete_GCTAAeff",&obj0)) SWIG_failgoto fail;
20941 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeff, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0x1 | 0, 0)
;
20942 if (!SWIG_IsOK(res1)(res1 >= 0)) {
20943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GCTAAeff" "', argument " "1"" of type '" "GCTAAeff *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GCTAAeff" "', argument "
"1"" of type '" "GCTAAeff *""'"); goto fail; } while(0)
;
20944 }
20945 arg1 = reinterpret_cast< GCTAAeff * >(argp1);
20946 {
20947 try {
20948 delete arg1;
20949 }
20950 catch (const GException::out_of_range& e) {
20951 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
20952 }
20953 catch (const GExceptionHandler& e) {
20954 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20955 }
20956 catch (const std::exception& e) {
20957 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20958 }
20959 }
20960 resultobj = SWIG_Py_Void();
20961 return resultobj;
20962fail:
20963 return NULL__null;
20964}
20965
20966
20967SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeff___call____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20968 PyObject *resultobj = 0;
20969 GCTAAeff *arg1 = (GCTAAeff *) 0 ;
20970 double *arg2 = 0 ;
20971 double *arg3 = 0 ;
20972 double *arg4 = 0 ;
20973 double *arg5 = 0 ;
20974 double *arg6 = 0 ;
20975 bool *arg7 = 0 ;
20976 void *argp1 = 0 ;
20977 int res1 = 0 ;
20978 double temp2 ;
20979 double val2 ;
20980 int ecode2 = 0 ;
20981 double temp3 ;
20982 double val3 ;
20983 int ecode3 = 0 ;
20984 double temp4 ;
20985 double val4 ;
20986 int ecode4 = 0 ;
20987 double temp5 ;
20988 double val5 ;
20989 int ecode5 = 0 ;
20990 double temp6 ;
20991 double val6 ;
20992 int ecode6 = 0 ;
20993 bool temp7 ;
20994 bool val7 ;
20995 int ecode7 = 0 ;
20996 PyObject * obj0 = 0 ;
20997 PyObject * obj1 = 0 ;
20998 PyObject * obj2 = 0 ;
20999 PyObject * obj3 = 0 ;
21000 PyObject * obj4 = 0 ;
21001 PyObject * obj5 = 0 ;
21002 PyObject * obj6 = 0 ;
21003 double result;
21004
21005 if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:GCTAAeff___call__",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_failgoto fail;
21006 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeff, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
21007 if (!SWIG_IsOK(res1)(res1 >= 0)) {
21008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeff___call__" "', argument " "1"" of type '" "GCTAAeff const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeff___call__" "', argument "
"1"" of type '" "GCTAAeff const *""'"); goto fail; } while(0
)
;
21009 }
21010 arg1 = reinterpret_cast< GCTAAeff * >(argp1);
21011 ecode2 = SWIG_AsVal_double(obj1, &val2);
21012 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
21013 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAAeff___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAAeff___call__" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
21014 }
21015 temp2 = static_cast< double >(val2);
21016 arg2 = &temp2;
21017 ecode3 = SWIG_AsVal_double(obj2, &val3);
21018 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
21019 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAAeff___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAAeff___call__" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
21020 }
21021 temp3 = static_cast< double >(val3);
21022 arg3 = &temp3;
21023 ecode4 = SWIG_AsVal_double(obj3, &val4);
21024 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
21025 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAAeff___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAAeff___call__" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
21026 }
21027 temp4 = static_cast< double >(val4);
21028 arg4 = &temp4;
21029 ecode5 = SWIG_AsVal_double(obj4, &val5);
21030 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
21031 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAAeff___call__" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAAeff___call__" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
21032 }
21033 temp5 = static_cast< double >(val5);
21034 arg5 = &temp5;
21035 ecode6 = SWIG_AsVal_double(obj5, &val6);
21036 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
21037 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAAeff___call__" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAAeff___call__" "', argument "
"6"" of type '" "double""'"); goto fail; } while(0)
;
21038 }
21039 temp6 = static_cast< double >(val6);
21040 arg6 = &temp6;
21041 ecode7 = SWIG_AsVal_bool(obj6, &val7);
21042 if (!SWIG_IsOK(ecode7)(ecode7 >= 0)) {
21043 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GCTAAeff___call__" "', argument " "7"" of type '" "bool""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode7 !=
(-1)) ? ecode7 : -5)), "in method '" "GCTAAeff___call__" "', argument "
"7"" of type '" "bool""'"); goto fail; } while(0)
;
21044 }
21045 temp7 = static_cast< bool >(val7);
21046 arg7 = &temp7;
21047 {
21048 try {
21049 result = (double)((GCTAAeff const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6,(bool const &)*arg7);
21050 }
21051 catch (const GException::out_of_range& e) {
21052 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
21053 }
21054 catch (const GExceptionHandler& e) {
21055 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21056 }
21057 catch (const std::exception& e) {
21058 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21059 }
21060 }
21061 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
21062 return resultobj;
21063fail:
21064 return NULL__null;
21065}
21066
21067
21068SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeff___call____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21069 PyObject *resultobj = 0;
21070 GCTAAeff *arg1 = (GCTAAeff *) 0 ;
21071 double *arg2 = 0 ;
21072 double *arg3 = 0 ;
21073 double *arg4 = 0 ;
21074 double *arg5 = 0 ;
21075 double *arg6 = 0 ;
21076 void *argp1 = 0 ;
21077 int res1 = 0 ;
21078 double temp2 ;
21079 double val2 ;
21080 int ecode2 = 0 ;
21081 double temp3 ;
21082 double val3 ;
21083 int ecode3 = 0 ;
21084 double temp4 ;
21085 double val4 ;
21086 int ecode4 = 0 ;
21087 double temp5 ;
21088 double val5 ;
21089 int ecode5 = 0 ;
21090 double temp6 ;
21091 double val6 ;
21092 int ecode6 = 0 ;
21093 PyObject * obj0 = 0 ;
21094 PyObject * obj1 = 0 ;
21095 PyObject * obj2 = 0 ;
21096 PyObject * obj3 = 0 ;
21097 PyObject * obj4 = 0 ;
21098 PyObject * obj5 = 0 ;
21099 double result;
21100
21101 if (!PyArg_ParseTuple(args,(char *)"OOOOOO:GCTAAeff___call__",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_failgoto fail;
21102 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeff, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
21103 if (!SWIG_IsOK(res1)(res1 >= 0)) {
21104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeff___call__" "', argument " "1"" of type '" "GCTAAeff const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeff___call__" "', argument "
"1"" of type '" "GCTAAeff const *""'"); goto fail; } while(0
)
;
21105 }
21106 arg1 = reinterpret_cast< GCTAAeff * >(argp1);
21107 ecode2 = SWIG_AsVal_double(obj1, &val2);
21108 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
21109 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAAeff___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAAeff___call__" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
21110 }
21111 temp2 = static_cast< double >(val2);
21112 arg2 = &temp2;
21113 ecode3 = SWIG_AsVal_double(obj2, &val3);
21114 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
21115 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAAeff___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAAeff___call__" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
21116 }
21117 temp3 = static_cast< double >(val3);
21118 arg3 = &temp3;
21119 ecode4 = SWIG_AsVal_double(obj3, &val4);
21120 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
21121 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAAeff___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAAeff___call__" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
21122 }
21123 temp4 = static_cast< double >(val4);
21124 arg4 = &temp4;
21125 ecode5 = SWIG_AsVal_double(obj4, &val5);
21126 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
21127 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAAeff___call__" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAAeff___call__" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
21128 }
21129 temp5 = static_cast< double >(val5);
21130 arg5 = &temp5;
21131 ecode6 = SWIG_AsVal_double(obj5, &val6);
21132 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
21133 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAAeff___call__" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAAeff___call__" "', argument "
"6"" of type '" "double""'"); goto fail; } while(0)
;
21134 }
21135 temp6 = static_cast< double >(val6);
21136 arg6 = &temp6;
21137 {
21138 try {
21139 result = (double)((GCTAAeff const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6);
21140 }
21141 catch (const GException::out_of_range& e) {
21142 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
21143 }
21144 catch (const GExceptionHandler& e) {
21145 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21146 }
21147 catch (const std::exception& e) {
21148 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21149 }
21150 }
21151 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
21152 return resultobj;
21153fail:
21154 return NULL__null;
21155}
21156
21157
21158SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeff___call____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21159 PyObject *resultobj = 0;
21160 GCTAAeff *arg1 = (GCTAAeff *) 0 ;
21161 double *arg2 = 0 ;
21162 double *arg3 = 0 ;
21163 double *arg4 = 0 ;
21164 double *arg5 = 0 ;
21165 void *argp1 = 0 ;
21166 int res1 = 0 ;
21167 double temp2 ;
21168 double val2 ;
21169 int ecode2 = 0 ;
21170 double temp3 ;
21171 double val3 ;
21172 int ecode3 = 0 ;
21173 double temp4 ;
21174 double val4 ;
21175 int ecode4 = 0 ;
21176 double temp5 ;
21177 double val5 ;
21178 int ecode5 = 0 ;
21179 PyObject * obj0 = 0 ;
21180 PyObject * obj1 = 0 ;
21181 PyObject * obj2 = 0 ;
21182 PyObject * obj3 = 0 ;
21183 PyObject * obj4 = 0 ;
21184 double result;
21185
21186 if (!PyArg_ParseTuple(args,(char *)"OOOOO:GCTAAeff___call__",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_failgoto fail;
21187 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeff, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
21188 if (!SWIG_IsOK(res1)(res1 >= 0)) {
21189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeff___call__" "', argument " "1"" of type '" "GCTAAeff const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeff___call__" "', argument "
"1"" of type '" "GCTAAeff const *""'"); goto fail; } while(0
)
;
21190 }
21191 arg1 = reinterpret_cast< GCTAAeff * >(argp1);
21192 ecode2 = SWIG_AsVal_double(obj1, &val2);
21193 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
21194 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAAeff___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAAeff___call__" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
21195 }
21196 temp2 = static_cast< double >(val2);
21197 arg2 = &temp2;
21198 ecode3 = SWIG_AsVal_double(obj2, &val3);
21199 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
21200 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAAeff___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAAeff___call__" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
21201 }
21202 temp3 = static_cast< double >(val3);
21203 arg3 = &temp3;
21204 ecode4 = SWIG_AsVal_double(obj3, &val4);
21205 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
21206 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAAeff___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAAeff___call__" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
21207 }
21208 temp4 = static_cast< double >(val4);
21209 arg4 = &temp4;
21210 ecode5 = SWIG_AsVal_double(obj4, &val5);
21211 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
21212 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAAeff___call__" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAAeff___call__" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
21213 }
21214 temp5 = static_cast< double >(val5);
21215 arg5 = &temp5;
21216 {
21217 try {
21218 result = (double)((GCTAAeff const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5);
21219 }
21220 catch (const GException::out_of_range& e) {
21221 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
21222 }
21223 catch (const GExceptionHandler& e) {
21224 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21225 }
21226 catch (const std::exception& e) {
21227 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21228 }
21229 }
21230 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
21231 return resultobj;
21232fail:
21233 return NULL__null;
21234}
21235
21236
21237SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeff___call____SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21238 PyObject *resultobj = 0;
21239 GCTAAeff *arg1 = (GCTAAeff *) 0 ;
21240 double *arg2 = 0 ;
21241 double *arg3 = 0 ;
21242 double *arg4 = 0 ;
21243 void *argp1 = 0 ;
21244 int res1 = 0 ;
21245 double temp2 ;
21246 double val2 ;
21247 int ecode2 = 0 ;
21248 double temp3 ;
21249 double val3 ;
21250 int ecode3 = 0 ;
21251 double temp4 ;
21252 double val4 ;
21253 int ecode4 = 0 ;
21254 PyObject * obj0 = 0 ;
21255 PyObject * obj1 = 0 ;
21256 PyObject * obj2 = 0 ;
21257 PyObject * obj3 = 0 ;
21258 double result;
21259
21260 if (!PyArg_ParseTuple(args,(char *)"OOOO:GCTAAeff___call__",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
21261 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeff, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
21262 if (!SWIG_IsOK(res1)(res1 >= 0)) {
21263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeff___call__" "', argument " "1"" of type '" "GCTAAeff const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeff___call__" "', argument "
"1"" of type '" "GCTAAeff const *""'"); goto fail; } while(0
)
;
21264 }
21265 arg1 = reinterpret_cast< GCTAAeff * >(argp1);
21266 ecode2 = SWIG_AsVal_double(obj1, &val2);
21267 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
21268 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAAeff___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAAeff___call__" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
21269 }
21270 temp2 = static_cast< double >(val2);
21271 arg2 = &temp2;
21272 ecode3 = SWIG_AsVal_double(obj2, &val3);
21273 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
21274 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAAeff___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAAeff___call__" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
21275 }
21276 temp3 = static_cast< double >(val3);
21277 arg3 = &temp3;
21278 ecode4 = SWIG_AsVal_double(obj3, &val4);
21279 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
21280 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAAeff___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAAeff___call__" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
21281 }
21282 temp4 = static_cast< double >(val4);
21283 arg4 = &temp4;
21284 {
21285 try {
21286 result = (double)((GCTAAeff const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4);
21287 }
21288 catch (const GException::out_of_range& e) {
21289 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
21290 }
21291 catch (const GExceptionHandler& e) {
21292 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21293 }
21294 catch (const std::exception& e) {
21295 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21296 }
21297 }
21298 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
21299 return resultobj;
21300fail:
21301 return NULL__null;
21302}
21303
21304
21305SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeff___call____SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21306 PyObject *resultobj = 0;
21307 GCTAAeff *arg1 = (GCTAAeff *) 0 ;
21308 double *arg2 = 0 ;
21309 double *arg3 = 0 ;
21310 void *argp1 = 0 ;
21311 int res1 = 0 ;
21312 double temp2 ;
21313 double val2 ;
21314 int ecode2 = 0 ;
21315 double temp3 ;
21316 double val3 ;
21317 int ecode3 = 0 ;
21318 PyObject * obj0 = 0 ;
21319 PyObject * obj1 = 0 ;
21320 PyObject * obj2 = 0 ;
21321 double result;
21322
21323 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAAeff___call__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
21324 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeff, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
21325 if (!SWIG_IsOK(res1)(res1 >= 0)) {
21326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeff___call__" "', argument " "1"" of type '" "GCTAAeff const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeff___call__" "', argument "
"1"" of type '" "GCTAAeff const *""'"); goto fail; } while(0
)
;
21327 }
21328 arg1 = reinterpret_cast< GCTAAeff * >(argp1);
21329 ecode2 = SWIG_AsVal_double(obj1, &val2);
21330 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
21331 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAAeff___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAAeff___call__" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
21332 }
21333 temp2 = static_cast< double >(val2);
21334 arg2 = &temp2;
21335 ecode3 = SWIG_AsVal_double(obj2, &val3);
21336 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
21337 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAAeff___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAAeff___call__" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
21338 }
21339 temp3 = static_cast< double >(val3);
21340 arg3 = &temp3;
21341 {
21342 try {
21343 result = (double)((GCTAAeff const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3);
21344 }
21345 catch (const GException::out_of_range& e) {
21346 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
21347 }
21348 catch (const GExceptionHandler& e) {
21349 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21350 }
21351 catch (const std::exception& e) {
21352 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21353 }
21354 }
21355 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
21356 return resultobj;
21357fail:
21358 return NULL__null;
21359}
21360
21361
21362SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeff___call____SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21363 PyObject *resultobj = 0;
21364 GCTAAeff *arg1 = (GCTAAeff *) 0 ;
21365 double *arg2 = 0 ;
21366 void *argp1 = 0 ;
21367 int res1 = 0 ;
21368 double temp2 ;
21369 double val2 ;
21370 int ecode2 = 0 ;
21371 PyObject * obj0 = 0 ;
21372 PyObject * obj1 = 0 ;
21373 double result;
21374
21375 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAAeff___call__",&obj0,&obj1)) SWIG_failgoto fail;
21376 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeff, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
21377 if (!SWIG_IsOK(res1)(res1 >= 0)) {
21378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeff___call__" "', argument " "1"" of type '" "GCTAAeff const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeff___call__" "', argument "
"1"" of type '" "GCTAAeff const *""'"); goto fail; } while(0
)
;
21379 }
21380 arg1 = reinterpret_cast< GCTAAeff * >(argp1);
21381 ecode2 = SWIG_AsVal_double(obj1, &val2);
21382 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
21383 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAAeff___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAAeff___call__" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
21384 }
21385 temp2 = static_cast< double >(val2);
21386 arg2 = &temp2;
21387 {
21388 try {
21389 result = (double)((GCTAAeff const *)arg1)->operator ()((double const &)*arg2);
21390 }
21391 catch (const GException::out_of_range& e) {
21392 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
21393 }
21394 catch (const GExceptionHandler& e) {
21395 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21396 }
21397 catch (const std::exception& e) {
21398 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21399 }
21400 }
21401 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
21402 return resultobj;
21403fail:
21404 return NULL__null;
21405}
21406
21407
21408SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeff___call__(PyObject *self, PyObject *args) {
21409 int argc;
21410 PyObject *argv[8];
21411 int ii;
21412
21413 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
21414 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
21415 for (ii = 0; (ii < 7) && (ii < argc); ii++) {
21416 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
21417 }
21418 if (argc == 2) {
21419 int _v;
21420 void *vptr = 0;
21421 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAAeff, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[2
], 0, 0)
;
21422 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21423 if (_v) {
21424 {
21425 int res = SWIG_AsVal_double(argv[1], NULL__null);
21426 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21427 }
21428 if (_v) {
21429 return _wrap_GCTAAeff___call____SWIG_5(self, args);
21430 }
21431 }
21432 }
21433 if (argc == 3) {
21434 int _v;
21435 void *vptr = 0;
21436 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAAeff, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[2
], 0, 0)
;
21437 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21438 if (_v) {
21439 {
21440 int res = SWIG_AsVal_double(argv[1], NULL__null);
21441 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21442 }
21443 if (_v) {
21444 {
21445 int res = SWIG_AsVal_double(argv[2], NULL__null);
21446 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21447 }
21448 if (_v) {
21449 return _wrap_GCTAAeff___call____SWIG_4(self, args);
21450 }
21451 }
21452 }
21453 }
21454 if (argc == 4) {
21455 int _v;
21456 void *vptr = 0;
21457 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAAeff, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[2
], 0, 0)
;
21458 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21459 if (_v) {
21460 {
21461 int res = SWIG_AsVal_double(argv[1], NULL__null);
21462 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21463 }
21464 if (_v) {
21465 {
21466 int res = SWIG_AsVal_double(argv[2], NULL__null);
21467 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21468 }
21469 if (_v) {
21470 {
21471 int res = SWIG_AsVal_double(argv[3], NULL__null);
21472 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21473 }
21474 if (_v) {
21475 return _wrap_GCTAAeff___call____SWIG_3(self, args);
21476 }
21477 }
21478 }
21479 }
21480 }
21481 if (argc == 5) {
21482 int _v;
21483 void *vptr = 0;
21484 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAAeff, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[2
], 0, 0)
;
21485 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21486 if (_v) {
21487 {
21488 int res = SWIG_AsVal_double(argv[1], NULL__null);
21489 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21490 }
21491 if (_v) {
21492 {
21493 int res = SWIG_AsVal_double(argv[2], NULL__null);
21494 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21495 }
21496 if (_v) {
21497 {
21498 int res = SWIG_AsVal_double(argv[3], NULL__null);
21499 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21500 }
21501 if (_v) {
21502 {
21503 int res = SWIG_AsVal_double(argv[4], NULL__null);
21504 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21505 }
21506 if (_v) {
21507 return _wrap_GCTAAeff___call____SWIG_2(self, args);
21508 }
21509 }
21510 }
21511 }
21512 }
21513 }
21514 if (argc == 6) {
21515 int _v;
21516 void *vptr = 0;
21517 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAAeff, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[2
], 0, 0)
;
21518 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21519 if (_v) {
21520 {
21521 int res = SWIG_AsVal_double(argv[1], NULL__null);
21522 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21523 }
21524 if (_v) {
21525 {
21526 int res = SWIG_AsVal_double(argv[2], NULL__null);
21527 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21528 }
21529 if (_v) {
21530 {
21531 int res = SWIG_AsVal_double(argv[3], NULL__null);
21532 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21533 }
21534 if (_v) {
21535 {
21536 int res = SWIG_AsVal_double(argv[4], NULL__null);
21537 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21538 }
21539 if (_v) {
21540 {
21541 int res = SWIG_AsVal_double(argv[5], NULL__null);
21542 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21543 }
21544 if (_v) {
21545 return _wrap_GCTAAeff___call____SWIG_1(self, args);
21546 }
21547 }
21548 }
21549 }
21550 }
21551 }
21552 }
21553 if (argc == 7) {
21554 int _v;
21555 void *vptr = 0;
21556 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAAeff, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[2
], 0, 0)
;
21557 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21558 if (_v) {
21559 {
21560 int res = SWIG_AsVal_double(argv[1], NULL__null);
21561 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21562 }
21563 if (_v) {
21564 {
21565 int res = SWIG_AsVal_double(argv[2], NULL__null);
21566 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21567 }
21568 if (_v) {
21569 {
21570 int res = SWIG_AsVal_double(argv[3], NULL__null);
21571 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21572 }
21573 if (_v) {
21574 {
21575 int res = SWIG_AsVal_double(argv[4], NULL__null);
21576 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21577 }
21578 if (_v) {
21579 {
21580 int res = SWIG_AsVal_double(argv[5], NULL__null);
21581 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21582 }
21583 if (_v) {
21584 {
21585 int res = SWIG_AsVal_bool(argv[6], NULL__null);
21586 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21587 }
21588 if (_v) {
21589 return _wrap_GCTAAeff___call____SWIG_0(self, args);
21590 }
21591 }
21592 }
21593 }
21594 }
21595 }
21596 }
21597 }
21598
21599fail:
21600 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAAeff___call__'.\n"
21601 " Possible C/C++ prototypes are:\n"
21602 " GCTAAeff::operator ()(double const &,double const &,double const &,double const &,double const &,bool const &) const\n"
21603 " GCTAAeff::operator ()(double const &,double const &,double const &,double const &,double const &) const\n"
21604 " GCTAAeff::operator ()(double const &,double const &,double const &,double const &) const\n"
21605 " GCTAAeff::operator ()(double const &,double const &,double const &) const\n"
21606 " GCTAAeff::operator ()(double const &,double const &) const\n"
21607 " GCTAAeff::operator ()(double const &) const\n");
21608 return 0;
21609}
21610
21611
21612SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeff_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21613 PyObject *resultobj = 0;
21614 GCTAAeff *arg1 = (GCTAAeff *) 0 ;
21615 void *argp1 = 0 ;
21616 int res1 = 0 ;
21617 PyObject * obj0 = 0 ;
21618
21619 if (!PyArg_ParseTuple(args,(char *)"O:GCTAAeff_clear",&obj0)) SWIG_failgoto fail;
21620 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeff, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
21621 if (!SWIG_IsOK(res1)(res1 >= 0)) {
21622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeff_clear" "', argument " "1"" of type '" "GCTAAeff *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeff_clear" "', argument "
"1"" of type '" "GCTAAeff *""'"); goto fail; } while(0)
;
21623 }
21624 arg1 = reinterpret_cast< GCTAAeff * >(argp1);
21625 {
21626 try {
21627 (arg1)->clear();
21628 }
21629 catch (const GException::out_of_range& e) {
21630 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
21631 }
21632 catch (const GExceptionHandler& e) {
21633 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21634 }
21635 catch (const std::exception& e) {
21636 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21637 }
21638 }
21639 resultobj = SWIG_Py_Void();
21640 return resultobj;
21641fail:
21642 return NULL__null;
21643}
21644
21645
21646SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeff_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21647 PyObject *resultobj = 0;
21648 GCTAAeff *arg1 = (GCTAAeff *) 0 ;
21649 void *argp1 = 0 ;
21650 int res1 = 0 ;
21651 PyObject * obj0 = 0 ;
21652 GCTAAeff *result = 0 ;
21653
21654 if (!PyArg_ParseTuple(args,(char *)"O:GCTAAeff_clone",&obj0)) SWIG_failgoto fail;
21655 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeff, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
21656 if (!SWIG_IsOK(res1)(res1 >= 0)) {
21657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeff_clone" "', argument " "1"" of type '" "GCTAAeff const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeff_clone" "', argument "
"1"" of type '" "GCTAAeff const *""'"); goto fail; } while(0
)
;
21658 }
21659 arg1 = reinterpret_cast< GCTAAeff * >(argp1);
21660 {
21661 try {
21662 result = (GCTAAeff *)((GCTAAeff const *)arg1)->clone();
21663 }
21664 catch (const GException::out_of_range& e) {
21665 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
21666 }
21667 catch (const GExceptionHandler& e) {
21668 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21669 }
21670 catch (const std::exception& e) {
21671 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21672 }
21673 }
21674 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAAeff, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[2], 0 |
0)
;
21675 return resultobj;
21676fail:
21677 return NULL__null;
21678}
21679
21680
21681SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeff_load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21682 PyObject *resultobj = 0;
21683 GCTAAeff *arg1 = (GCTAAeff *) 0 ;
21684 std::string *arg2 = 0 ;
21685 void *argp1 = 0 ;
21686 int res1 = 0 ;
21687 int res2 = SWIG_OLDOBJ((0)) ;
21688 PyObject * obj0 = 0 ;
21689 PyObject * obj1 = 0 ;
21690
21691 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAAeff_load",&obj0,&obj1)) SWIG_failgoto fail;
21692 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeff, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
21693 if (!SWIG_IsOK(res1)(res1 >= 0)) {
21694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeff_load" "', argument " "1"" of type '" "GCTAAeff *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeff_load" "', argument "
"1"" of type '" "GCTAAeff *""'"); goto fail; } while(0)
;
21695 }
21696 arg1 = reinterpret_cast< GCTAAeff * >(argp1);
21697 {
21698 std::string *ptr = (std::string *)0;
21699 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
21700 if (!SWIG_IsOK(res2)(res2 >= 0)) {
21701 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAAeff_load" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAAeff_load" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
21702 }
21703 if (!ptr) {
21704 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAAeff_load" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAAeff_load" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
21705 }
21706 arg2 = ptr;
21707 }
21708 {
21709 try {
21710 (arg1)->load((std::string const &)*arg2);
21711 }
21712 catch (const GException::out_of_range& e) {
21713 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
21714 }
21715 catch (const GExceptionHandler& e) {
21716 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21717 }
21718 catch (const std::exception& e) {
21719 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21720 }
21721 }
21722 resultobj = SWIG_Py_Void();
21723 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
21724 return resultobj;
21725fail:
21726 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
21727 return NULL__null;
21728}
21729
21730
21731SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeff_filename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21732 PyObject *resultobj = 0;
21733 GCTAAeff *arg1 = (GCTAAeff *) 0 ;
21734 void *argp1 = 0 ;
21735 int res1 = 0 ;
21736 PyObject * obj0 = 0 ;
21737 std::string result;
21738
21739 if (!PyArg_ParseTuple(args,(char *)"O:GCTAAeff_filename",&obj0)) SWIG_failgoto fail;
21740 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeff, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
21741 if (!SWIG_IsOK(res1)(res1 >= 0)) {
21742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeff_filename" "', argument " "1"" of type '" "GCTAAeff const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeff_filename" "', argument "
"1"" of type '" "GCTAAeff const *""'"); goto fail; } while(0
)
;
21743 }
21744 arg1 = reinterpret_cast< GCTAAeff * >(argp1);
21745 {
21746 try {
21747 result = ((GCTAAeff const *)arg1)->filename();
21748 }
21749 catch (const GException::out_of_range& e) {
21750 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
21751 }
21752 catch (const GExceptionHandler& e) {
21753 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21754 }
21755 catch (const std::exception& e) {
21756 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21757 }
21758 }
21759 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
21760 return resultobj;
21761fail:
21762 return NULL__null;
21763}
21764
21765
21766SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GCTAAeff_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21767 PyObject *obj;
21768 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
21769 SWIG_TypeNewClientData(SWIGTYPE_p_GCTAAeffswig_types[2], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
21770 return SWIG_Py_Void();
21771}
21772
21773SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAAeffPerfTable__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21774 PyObject *resultobj = 0;
21775 GCTAAeffPerfTable *result = 0 ;
21776
21777 if (!PyArg_ParseTuple(args,(char *)":new_GCTAAeffPerfTable")) SWIG_failgoto fail;
21778 {
21779 try {
21780 result = (GCTAAeffPerfTable *)new GCTAAeffPerfTable();
21781 }
21782 catch (const GException::out_of_range& e) {
21783 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
21784 }
21785 catch (const GExceptionHandler& e) {
21786 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21787 }
21788 catch (const std::exception& e) {
21789 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21790 }
21791 }
21792 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAAeffPerfTable, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[5], ((
0x1 << 1) | 0x1) | 0)
;
21793 return resultobj;
21794fail:
21795 return NULL__null;
21796}
21797
21798
21799SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAAeffPerfTable__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21800 PyObject *resultobj = 0;
21801 std::string *arg1 = 0 ;
21802 int res1 = SWIG_OLDOBJ((0)) ;
21803 PyObject * obj0 = 0 ;
21804 GCTAAeffPerfTable *result = 0 ;
21805
21806 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAAeffPerfTable",&obj0)) SWIG_failgoto fail;
21807 {
21808 std::string *ptr = (std::string *)0;
21809 res1 = SWIG_AsPtr_std_string(obj0, &ptr);
21810 if (!SWIG_IsOK(res1)(res1 >= 0)) {
21811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAAeffPerfTable" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAAeffPerfTable" "', argument "
"1"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
21812 }
21813 if (!ptr) {
21814 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAAeffPerfTable" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAAeffPerfTable" "', argument " "1"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
21815 }
21816 arg1 = ptr;
21817 }
21818 {
21819 try {
21820 result = (GCTAAeffPerfTable *)new GCTAAeffPerfTable((std::string const &)*arg1);
21821 }
21822 catch (const GException::out_of_range& e) {
21823 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
21824 }
21825 catch (const GExceptionHandler& e) {
21826 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21827 }
21828 catch (const std::exception& e) {
21829 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21830 }
21831 }
21832 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAAeffPerfTable, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[5], ((
0x1 << 1) | 0x1) | 0)
;
21833 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
21834 return resultobj;
21835fail:
21836 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
21837 return NULL__null;
21838}
21839
21840
21841SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAAeffPerfTable__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21842 PyObject *resultobj = 0;
21843 GCTAAeffPerfTable *arg1 = 0 ;
21844 void *argp1 = 0 ;
21845 int res1 = 0 ;
21846 PyObject * obj0 = 0 ;
21847 GCTAAeffPerfTable *result = 0 ;
21848
21849 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAAeffPerfTable",&obj0)) SWIG_failgoto fail;
21850 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GCTAAeffPerfTable, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[5],
0 | 0, 0)
;
21851 if (!SWIG_IsOK(res1)(res1 >= 0)) {
21852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAAeffPerfTable" "', argument " "1"" of type '" "GCTAAeffPerfTable const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAAeffPerfTable" "', argument "
"1"" of type '" "GCTAAeffPerfTable const &""'"); goto fail
; } while(0)
;
21853 }
21854 if (!argp1) {
21855 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAAeffPerfTable" "', argument " "1"" of type '" "GCTAAeffPerfTable const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAAeffPerfTable" "', argument " "1"" of type '"
"GCTAAeffPerfTable const &""'"); goto fail; } while(0)
;
21856 }
21857 arg1 = reinterpret_cast< GCTAAeffPerfTable * >(argp1);
21858 {
21859 try {
21860 result = (GCTAAeffPerfTable *)new GCTAAeffPerfTable((GCTAAeffPerfTable const &)*arg1);
21861 }
21862 catch (const GException::out_of_range& e) {
21863 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
21864 }
21865 catch (const GExceptionHandler& e) {
21866 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21867 }
21868 catch (const std::exception& e) {
21869 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21870 }
21871 }
21872 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAAeffPerfTable, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[5], ((
0x1 << 1) | 0x1) | 0)
;
21873 return resultobj;
21874fail:
21875 return NULL__null;
21876}
21877
21878
21879SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAAeffPerfTable(PyObject *self, PyObject *args) {
21880 int argc;
21881 PyObject *argv[2];
21882 int ii;
21883
21884 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
21885 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
21886 for (ii = 0; (ii < 1) && (ii < argc); ii++) {
21887 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
21888 }
21889 if (argc == 0) {
21890 return _wrap_new_GCTAAeffPerfTable__SWIG_0(self, args);
21891 }
21892 if (argc == 1) {
21893 int _v;
21894 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GCTAAeffPerfTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[5], 0, 0);
21895 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21896 if (_v) {
21897 return _wrap_new_GCTAAeffPerfTable__SWIG_2(self, args);
21898 }
21899 }
21900 if (argc == 1) {
21901 int _v;
21902 int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
21903 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21904 if (_v) {
21905 return _wrap_new_GCTAAeffPerfTable__SWIG_1(self, args);
21906 }
21907 }
21908
21909fail:
21910 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GCTAAeffPerfTable'.\n"
21911 " Possible C/C++ prototypes are:\n"
21912 " GCTAAeffPerfTable::GCTAAeffPerfTable()\n"
21913 " GCTAAeffPerfTable::GCTAAeffPerfTable(std::string const &)\n"
21914 " GCTAAeffPerfTable::GCTAAeffPerfTable(GCTAAeffPerfTable const &)\n");
21915 return 0;
21916}
21917
21918
21919SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GCTAAeffPerfTable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21920 PyObject *resultobj = 0;
21921 GCTAAeffPerfTable *arg1 = (GCTAAeffPerfTable *) 0 ;
21922 void *argp1 = 0 ;
21923 int res1 = 0 ;
21924 PyObject * obj0 = 0 ;
21925
21926 if (!PyArg_ParseTuple(args,(char *)"O:delete_GCTAAeffPerfTable",&obj0)) SWIG_failgoto fail;
21927 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeffPerfTable, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[5],
0x1 | 0, 0)
;
21928 if (!SWIG_IsOK(res1)(res1 >= 0)) {
21929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GCTAAeffPerfTable" "', argument " "1"" of type '" "GCTAAeffPerfTable *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GCTAAeffPerfTable" "', argument "
"1"" of type '" "GCTAAeffPerfTable *""'"); goto fail; } while
(0)
;
21930 }
21931 arg1 = reinterpret_cast< GCTAAeffPerfTable * >(argp1);
21932 {
21933 try {
21934 delete arg1;
21935 }
21936 catch (const GException::out_of_range& e) {
21937 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
21938 }
21939 catch (const GExceptionHandler& e) {
21940 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21941 }
21942 catch (const std::exception& e) {
21943 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21944 }
21945 }
21946 resultobj = SWIG_Py_Void();
21947 return resultobj;
21948fail:
21949 return NULL__null;
21950}
21951
21952
21953SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeffPerfTable___call____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21954 PyObject *resultobj = 0;
21955 GCTAAeffPerfTable *arg1 = (GCTAAeffPerfTable *) 0 ;
21956 double *arg2 = 0 ;
21957 double *arg3 = 0 ;
21958 double *arg4 = 0 ;
21959 double *arg5 = 0 ;
21960 double *arg6 = 0 ;
21961 bool *arg7 = 0 ;
21962 void *argp1 = 0 ;
21963 int res1 = 0 ;
21964 double temp2 ;
21965 double val2 ;
21966 int ecode2 = 0 ;
21967 double temp3 ;
21968 double val3 ;
21969 int ecode3 = 0 ;
21970 double temp4 ;
21971 double val4 ;
21972 int ecode4 = 0 ;
21973 double temp5 ;
21974 double val5 ;
21975 int ecode5 = 0 ;
21976 double temp6 ;
21977 double val6 ;
21978 int ecode6 = 0 ;
21979 bool temp7 ;
21980 bool val7 ;
21981 int ecode7 = 0 ;
21982 PyObject * obj0 = 0 ;
21983 PyObject * obj1 = 0 ;
21984 PyObject * obj2 = 0 ;
21985 PyObject * obj3 = 0 ;
21986 PyObject * obj4 = 0 ;
21987 PyObject * obj5 = 0 ;
21988 PyObject * obj6 = 0 ;
21989 double result;
21990
21991 if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:GCTAAeffPerfTable___call__",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_failgoto fail;
21992 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeffPerfTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[5],
0 | 0, 0)
;
21993 if (!SWIG_IsOK(res1)(res1 >= 0)) {
21994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeffPerfTable___call__" "', argument " "1"" of type '" "GCTAAeffPerfTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeffPerfTable___call__"
"', argument " "1"" of type '" "GCTAAeffPerfTable const *""'"
); goto fail; } while(0)
;
21995 }
21996 arg1 = reinterpret_cast< GCTAAeffPerfTable * >(argp1);
21997 ecode2 = SWIG_AsVal_double(obj1, &val2);
21998 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
21999 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAAeffPerfTable___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAAeffPerfTable___call__"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
22000 }
22001 temp2 = static_cast< double >(val2);
22002 arg2 = &temp2;
22003 ecode3 = SWIG_AsVal_double(obj2, &val3);
22004 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
22005 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAAeffPerfTable___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAAeffPerfTable___call__"
"', argument " "3"" of type '" "double""'"); goto fail; } while
(0)
;
22006 }
22007 temp3 = static_cast< double >(val3);
22008 arg3 = &temp3;
22009 ecode4 = SWIG_AsVal_double(obj3, &val4);
22010 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
22011 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAAeffPerfTable___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAAeffPerfTable___call__"
"', argument " "4"" of type '" "double""'"); goto fail; } while
(0)
;
22012 }
22013 temp4 = static_cast< double >(val4);
22014 arg4 = &temp4;
22015 ecode5 = SWIG_AsVal_double(obj4, &val5);
22016 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
22017 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAAeffPerfTable___call__" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAAeffPerfTable___call__"
"', argument " "5"" of type '" "double""'"); goto fail; } while
(0)
;
22018 }
22019 temp5 = static_cast< double >(val5);
22020 arg5 = &temp5;
22021 ecode6 = SWIG_AsVal_double(obj5, &val6);
22022 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
22023 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAAeffPerfTable___call__" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAAeffPerfTable___call__"
"', argument " "6"" of type '" "double""'"); goto fail; } while
(0)
;
22024 }
22025 temp6 = static_cast< double >(val6);
22026 arg6 = &temp6;
22027 ecode7 = SWIG_AsVal_bool(obj6, &val7);
22028 if (!SWIG_IsOK(ecode7)(ecode7 >= 0)) {
22029 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GCTAAeffPerfTable___call__" "', argument " "7"" of type '" "bool""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode7 !=
(-1)) ? ecode7 : -5)), "in method '" "GCTAAeffPerfTable___call__"
"', argument " "7"" of type '" "bool""'"); goto fail; } while
(0)
;
22030 }
22031 temp7 = static_cast< bool >(val7);
22032 arg7 = &temp7;
22033 {
22034 try {
22035 result = (double)((GCTAAeffPerfTable const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6,(bool const &)*arg7);
22036 }
22037 catch (const GException::out_of_range& e) {
22038 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
22039 }
22040 catch (const GExceptionHandler& e) {
22041 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22042 }
22043 catch (const std::exception& e) {
22044 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22045 }
22046 }
22047 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
22048 return resultobj;
22049fail:
22050 return NULL__null;
22051}
22052
22053
22054SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeffPerfTable___call____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22055 PyObject *resultobj = 0;
22056 GCTAAeffPerfTable *arg1 = (GCTAAeffPerfTable *) 0 ;
22057 double *arg2 = 0 ;
22058 double *arg3 = 0 ;
22059 double *arg4 = 0 ;
22060 double *arg5 = 0 ;
22061 double *arg6 = 0 ;
22062 void *argp1 = 0 ;
22063 int res1 = 0 ;
22064 double temp2 ;
22065 double val2 ;
22066 int ecode2 = 0 ;
22067 double temp3 ;
22068 double val3 ;
22069 int ecode3 = 0 ;
22070 double temp4 ;
22071 double val4 ;
22072 int ecode4 = 0 ;
22073 double temp5 ;
22074 double val5 ;
22075 int ecode5 = 0 ;
22076 double temp6 ;
22077 double val6 ;
22078 int ecode6 = 0 ;
22079 PyObject * obj0 = 0 ;
22080 PyObject * obj1 = 0 ;
22081 PyObject * obj2 = 0 ;
22082 PyObject * obj3 = 0 ;
22083 PyObject * obj4 = 0 ;
22084 PyObject * obj5 = 0 ;
22085 double result;
22086
22087 if (!PyArg_ParseTuple(args,(char *)"OOOOOO:GCTAAeffPerfTable___call__",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_failgoto fail;
22088 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeffPerfTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[5],
0 | 0, 0)
;
22089 if (!SWIG_IsOK(res1)(res1 >= 0)) {
22090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeffPerfTable___call__" "', argument " "1"" of type '" "GCTAAeffPerfTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeffPerfTable___call__"
"', argument " "1"" of type '" "GCTAAeffPerfTable const *""'"
); goto fail; } while(0)
;
22091 }
22092 arg1 = reinterpret_cast< GCTAAeffPerfTable * >(argp1);
22093 ecode2 = SWIG_AsVal_double(obj1, &val2);
22094 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
22095 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAAeffPerfTable___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAAeffPerfTable___call__"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
22096 }
22097 temp2 = static_cast< double >(val2);
22098 arg2 = &temp2;
22099 ecode3 = SWIG_AsVal_double(obj2, &val3);
22100 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
22101 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAAeffPerfTable___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAAeffPerfTable___call__"
"', argument " "3"" of type '" "double""'"); goto fail; } while
(0)
;
22102 }
22103 temp3 = static_cast< double >(val3);
22104 arg3 = &temp3;
22105 ecode4 = SWIG_AsVal_double(obj3, &val4);
22106 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
22107 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAAeffPerfTable___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAAeffPerfTable___call__"
"', argument " "4"" of type '" "double""'"); goto fail; } while
(0)
;
22108 }
22109 temp4 = static_cast< double >(val4);
22110 arg4 = &temp4;
22111 ecode5 = SWIG_AsVal_double(obj4, &val5);
22112 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
22113 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAAeffPerfTable___call__" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAAeffPerfTable___call__"
"', argument " "5"" of type '" "double""'"); goto fail; } while
(0)
;
22114 }
22115 temp5 = static_cast< double >(val5);
22116 arg5 = &temp5;
22117 ecode6 = SWIG_AsVal_double(obj5, &val6);
22118 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
22119 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAAeffPerfTable___call__" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAAeffPerfTable___call__"
"', argument " "6"" of type '" "double""'"); goto fail; } while
(0)
;
22120 }
22121 temp6 = static_cast< double >(val6);
22122 arg6 = &temp6;
22123 {
22124 try {
22125 result = (double)((GCTAAeffPerfTable const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6);
22126 }
22127 catch (const GException::out_of_range& e) {
22128 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
22129 }
22130 catch (const GExceptionHandler& e) {
22131 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22132 }
22133 catch (const std::exception& e) {
22134 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22135 }
22136 }
22137 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
22138 return resultobj;
22139fail:
22140 return NULL__null;
22141}
22142
22143
22144SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeffPerfTable___call____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22145 PyObject *resultobj = 0;
22146 GCTAAeffPerfTable *arg1 = (GCTAAeffPerfTable *) 0 ;
22147 double *arg2 = 0 ;
22148 double *arg3 = 0 ;
22149 double *arg4 = 0 ;
22150 double *arg5 = 0 ;
22151 void *argp1 = 0 ;
22152 int res1 = 0 ;
22153 double temp2 ;
22154 double val2 ;
22155 int ecode2 = 0 ;
22156 double temp3 ;
22157 double val3 ;
22158 int ecode3 = 0 ;
22159 double temp4 ;
22160 double val4 ;
22161 int ecode4 = 0 ;
22162 double temp5 ;
22163 double val5 ;
22164 int ecode5 = 0 ;
22165 PyObject * obj0 = 0 ;
22166 PyObject * obj1 = 0 ;
22167 PyObject * obj2 = 0 ;
22168 PyObject * obj3 = 0 ;
22169 PyObject * obj4 = 0 ;
22170 double result;
22171
22172 if (!PyArg_ParseTuple(args,(char *)"OOOOO:GCTAAeffPerfTable___call__",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_failgoto fail;
22173 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeffPerfTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[5],
0 | 0, 0)
;
22174 if (!SWIG_IsOK(res1)(res1 >= 0)) {
22175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeffPerfTable___call__" "', argument " "1"" of type '" "GCTAAeffPerfTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeffPerfTable___call__"
"', argument " "1"" of type '" "GCTAAeffPerfTable const *""'"
); goto fail; } while(0)
;
22176 }
22177 arg1 = reinterpret_cast< GCTAAeffPerfTable * >(argp1);
22178 ecode2 = SWIG_AsVal_double(obj1, &val2);
22179 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
22180 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAAeffPerfTable___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAAeffPerfTable___call__"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
22181 }
22182 temp2 = static_cast< double >(val2);
22183 arg2 = &temp2;
22184 ecode3 = SWIG_AsVal_double(obj2, &val3);
22185 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
22186 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAAeffPerfTable___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAAeffPerfTable___call__"
"', argument " "3"" of type '" "double""'"); goto fail; } while
(0)
;
22187 }
22188 temp3 = static_cast< double >(val3);
22189 arg3 = &temp3;
22190 ecode4 = SWIG_AsVal_double(obj3, &val4);
22191 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
22192 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAAeffPerfTable___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAAeffPerfTable___call__"
"', argument " "4"" of type '" "double""'"); goto fail; } while
(0)
;
22193 }
22194 temp4 = static_cast< double >(val4);
22195 arg4 = &temp4;
22196 ecode5 = SWIG_AsVal_double(obj4, &val5);
22197 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
22198 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAAeffPerfTable___call__" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAAeffPerfTable___call__"
"', argument " "5"" of type '" "double""'"); goto fail; } while
(0)
;
22199 }
22200 temp5 = static_cast< double >(val5);
22201 arg5 = &temp5;
22202 {
22203 try {
22204 result = (double)((GCTAAeffPerfTable const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5);
22205 }
22206 catch (const GException::out_of_range& e) {
22207 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
22208 }
22209 catch (const GExceptionHandler& e) {
22210 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22211 }
22212 catch (const std::exception& e) {
22213 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22214 }
22215 }
22216 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
22217 return resultobj;
22218fail:
22219 return NULL__null;
22220}
22221
22222
22223SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeffPerfTable___call____SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22224 PyObject *resultobj = 0;
22225 GCTAAeffPerfTable *arg1 = (GCTAAeffPerfTable *) 0 ;
22226 double *arg2 = 0 ;
22227 double *arg3 = 0 ;
22228 double *arg4 = 0 ;
22229 void *argp1 = 0 ;
22230 int res1 = 0 ;
22231 double temp2 ;
22232 double val2 ;
22233 int ecode2 = 0 ;
22234 double temp3 ;
22235 double val3 ;
22236 int ecode3 = 0 ;
22237 double temp4 ;
22238 double val4 ;
22239 int ecode4 = 0 ;
22240 PyObject * obj0 = 0 ;
22241 PyObject * obj1 = 0 ;
22242 PyObject * obj2 = 0 ;
22243 PyObject * obj3 = 0 ;
22244 double result;
22245
22246 if (!PyArg_ParseTuple(args,(char *)"OOOO:GCTAAeffPerfTable___call__",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
22247 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeffPerfTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[5],
0 | 0, 0)
;
22248 if (!SWIG_IsOK(res1)(res1 >= 0)) {
22249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeffPerfTable___call__" "', argument " "1"" of type '" "GCTAAeffPerfTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeffPerfTable___call__"
"', argument " "1"" of type '" "GCTAAeffPerfTable const *""'"
); goto fail; } while(0)
;
22250 }
22251 arg1 = reinterpret_cast< GCTAAeffPerfTable * >(argp1);
22252 ecode2 = SWIG_AsVal_double(obj1, &val2);
22253 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
22254 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAAeffPerfTable___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAAeffPerfTable___call__"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
22255 }
22256 temp2 = static_cast< double >(val2);
22257 arg2 = &temp2;
22258 ecode3 = SWIG_AsVal_double(obj2, &val3);
22259 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
22260 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAAeffPerfTable___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAAeffPerfTable___call__"
"', argument " "3"" of type '" "double""'"); goto fail; } while
(0)
;
22261 }
22262 temp3 = static_cast< double >(val3);
22263 arg3 = &temp3;
22264 ecode4 = SWIG_AsVal_double(obj3, &val4);
22265 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
22266 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAAeffPerfTable___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAAeffPerfTable___call__"
"', argument " "4"" of type '" "double""'"); goto fail; } while
(0)
;
22267 }
22268 temp4 = static_cast< double >(val4);
22269 arg4 = &temp4;
22270 {
22271 try {
22272 result = (double)((GCTAAeffPerfTable const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4);
22273 }
22274 catch (const GException::out_of_range& e) {
22275 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
22276 }
22277 catch (const GExceptionHandler& e) {
22278 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22279 }
22280 catch (const std::exception& e) {
22281 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22282 }
22283 }
22284 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
22285 return resultobj;
22286fail:
22287 return NULL__null;
22288}
22289
22290
22291SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeffPerfTable___call____SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22292 PyObject *resultobj = 0;
22293 GCTAAeffPerfTable *arg1 = (GCTAAeffPerfTable *) 0 ;
22294 double *arg2 = 0 ;
22295 double *arg3 = 0 ;
22296 void *argp1 = 0 ;
22297 int res1 = 0 ;
22298 double temp2 ;
22299 double val2 ;
22300 int ecode2 = 0 ;
22301 double temp3 ;
22302 double val3 ;
22303 int ecode3 = 0 ;
22304 PyObject * obj0 = 0 ;
22305 PyObject * obj1 = 0 ;
22306 PyObject * obj2 = 0 ;
22307 double result;
22308
22309 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAAeffPerfTable___call__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
22310 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeffPerfTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[5],
0 | 0, 0)
;
22311 if (!SWIG_IsOK(res1)(res1 >= 0)) {
22312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeffPerfTable___call__" "', argument " "1"" of type '" "GCTAAeffPerfTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeffPerfTable___call__"
"', argument " "1"" of type '" "GCTAAeffPerfTable const *""'"
); goto fail; } while(0)
;
22313 }
22314 arg1 = reinterpret_cast< GCTAAeffPerfTable * >(argp1);
22315 ecode2 = SWIG_AsVal_double(obj1, &val2);
22316 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
22317 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAAeffPerfTable___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAAeffPerfTable___call__"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
22318 }
22319 temp2 = static_cast< double >(val2);
22320 arg2 = &temp2;
22321 ecode3 = SWIG_AsVal_double(obj2, &val3);
22322 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
22323 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAAeffPerfTable___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAAeffPerfTable___call__"
"', argument " "3"" of type '" "double""'"); goto fail; } while
(0)
;
22324 }
22325 temp3 = static_cast< double >(val3);
22326 arg3 = &temp3;
22327 {
22328 try {
22329 result = (double)((GCTAAeffPerfTable const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3);
22330 }
22331 catch (const GException::out_of_range& e) {
22332 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
22333 }
22334 catch (const GExceptionHandler& e) {
22335 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22336 }
22337 catch (const std::exception& e) {
22338 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22339 }
22340 }
22341 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
22342 return resultobj;
22343fail:
22344 return NULL__null;
22345}
22346
22347
22348SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeffPerfTable___call____SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22349 PyObject *resultobj = 0;
22350 GCTAAeffPerfTable *arg1 = (GCTAAeffPerfTable *) 0 ;
22351 double *arg2 = 0 ;
22352 void *argp1 = 0 ;
22353 int res1 = 0 ;
22354 double temp2 ;
22355 double val2 ;
22356 int ecode2 = 0 ;
22357 PyObject * obj0 = 0 ;
22358 PyObject * obj1 = 0 ;
22359 double result;
22360
22361 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAAeffPerfTable___call__",&obj0,&obj1)) SWIG_failgoto fail;
22362 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeffPerfTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[5],
0 | 0, 0)
;
22363 if (!SWIG_IsOK(res1)(res1 >= 0)) {
22364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeffPerfTable___call__" "', argument " "1"" of type '" "GCTAAeffPerfTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeffPerfTable___call__"
"', argument " "1"" of type '" "GCTAAeffPerfTable const *""'"
); goto fail; } while(0)
;
22365 }
22366 arg1 = reinterpret_cast< GCTAAeffPerfTable * >(argp1);
22367 ecode2 = SWIG_AsVal_double(obj1, &val2);
22368 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
22369 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAAeffPerfTable___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAAeffPerfTable___call__"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
22370 }
22371 temp2 = static_cast< double >(val2);
22372 arg2 = &temp2;
22373 {
22374 try {
22375 result = (double)((GCTAAeffPerfTable const *)arg1)->operator ()((double const &)*arg2);
22376 }
22377 catch (const GException::out_of_range& e) {
22378 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
22379 }
22380 catch (const GExceptionHandler& e) {
22381 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22382 }
22383 catch (const std::exception& e) {
22384 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22385 }
22386 }
22387 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
22388 return resultobj;
22389fail:
22390 return NULL__null;
22391}
22392
22393
22394SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeffPerfTable___call__(PyObject *self, PyObject *args) {
22395 int argc;
22396 PyObject *argv[8];
22397 int ii;
22398
22399 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
22400 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
22401 for (ii = 0; (ii < 7) && (ii < argc); ii++) {
22402 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
22403 }
22404 if (argc == 2) {
22405 int _v;
22406 void *vptr = 0;
22407 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAAeffPerfTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[5
], 0, 0)
;
22408 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22409 if (_v) {
22410 {
22411 int res = SWIG_AsVal_double(argv[1], NULL__null);
22412 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22413 }
22414 if (_v) {
22415 return _wrap_GCTAAeffPerfTable___call____SWIG_5(self, args);
22416 }
22417 }
22418 }
22419 if (argc == 3) {
22420 int _v;
22421 void *vptr = 0;
22422 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAAeffPerfTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[5
], 0, 0)
;
22423 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22424 if (_v) {
22425 {
22426 int res = SWIG_AsVal_double(argv[1], NULL__null);
22427 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22428 }
22429 if (_v) {
22430 {
22431 int res = SWIG_AsVal_double(argv[2], NULL__null);
22432 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22433 }
22434 if (_v) {
22435 return _wrap_GCTAAeffPerfTable___call____SWIG_4(self, args);
22436 }
22437 }
22438 }
22439 }
22440 if (argc == 4) {
22441 int _v;
22442 void *vptr = 0;
22443 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAAeffPerfTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[5
], 0, 0)
;
22444 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22445 if (_v) {
22446 {
22447 int res = SWIG_AsVal_double(argv[1], NULL__null);
22448 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22449 }
22450 if (_v) {
22451 {
22452 int res = SWIG_AsVal_double(argv[2], NULL__null);
22453 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22454 }
22455 if (_v) {
22456 {
22457 int res = SWIG_AsVal_double(argv[3], NULL__null);
22458 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22459 }
22460 if (_v) {
22461 return _wrap_GCTAAeffPerfTable___call____SWIG_3(self, args);
22462 }
22463 }
22464 }
22465 }
22466 }
22467 if (argc == 5) {
22468 int _v;
22469 void *vptr = 0;
22470 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAAeffPerfTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[5
], 0, 0)
;
22471 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22472 if (_v) {
22473 {
22474 int res = SWIG_AsVal_double(argv[1], NULL__null);
22475 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22476 }
22477 if (_v) {
22478 {
22479 int res = SWIG_AsVal_double(argv[2], NULL__null);
22480 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22481 }
22482 if (_v) {
22483 {
22484 int res = SWIG_AsVal_double(argv[3], NULL__null);
22485 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22486 }
22487 if (_v) {
22488 {
22489 int res = SWIG_AsVal_double(argv[4], NULL__null);
22490 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22491 }
22492 if (_v) {
22493 return _wrap_GCTAAeffPerfTable___call____SWIG_2(self, args);
22494 }
22495 }
22496 }
22497 }
22498 }
22499 }
22500 if (argc == 6) {
22501 int _v;
22502 void *vptr = 0;
22503 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAAeffPerfTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[5
], 0, 0)
;
22504 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22505 if (_v) {
22506 {
22507 int res = SWIG_AsVal_double(argv[1], NULL__null);
22508 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22509 }
22510 if (_v) {
22511 {
22512 int res = SWIG_AsVal_double(argv[2], NULL__null);
22513 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22514 }
22515 if (_v) {
22516 {
22517 int res = SWIG_AsVal_double(argv[3], NULL__null);
22518 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22519 }
22520 if (_v) {
22521 {
22522 int res = SWIG_AsVal_double(argv[4], NULL__null);
22523 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22524 }
22525 if (_v) {
22526 {
22527 int res = SWIG_AsVal_double(argv[5], NULL__null);
22528 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22529 }
22530 if (_v) {
22531 return _wrap_GCTAAeffPerfTable___call____SWIG_1(self, args);
22532 }
22533 }
22534 }
22535 }
22536 }
22537 }
22538 }
22539 if (argc == 7) {
22540 int _v;
22541 void *vptr = 0;
22542 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAAeffPerfTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[5
], 0, 0)
;
22543 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22544 if (_v) {
22545 {
22546 int res = SWIG_AsVal_double(argv[1], NULL__null);
22547 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22548 }
22549 if (_v) {
22550 {
22551 int res = SWIG_AsVal_double(argv[2], NULL__null);
22552 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22553 }
22554 if (_v) {
22555 {
22556 int res = SWIG_AsVal_double(argv[3], NULL__null);
22557 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22558 }
22559 if (_v) {
22560 {
22561 int res = SWIG_AsVal_double(argv[4], NULL__null);
22562 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22563 }
22564 if (_v) {
22565 {
22566 int res = SWIG_AsVal_double(argv[5], NULL__null);
22567 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22568 }
22569 if (_v) {
22570 {
22571 int res = SWIG_AsVal_bool(argv[6], NULL__null);
22572 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22573 }
22574 if (_v) {
22575 return _wrap_GCTAAeffPerfTable___call____SWIG_0(self, args);
22576 }
22577 }
22578 }
22579 }
22580 }
22581 }
22582 }
22583 }
22584
22585fail:
22586 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAAeffPerfTable___call__'.\n"
22587 " Possible C/C++ prototypes are:\n"
22588 " GCTAAeffPerfTable::operator ()(double const &,double const &,double const &,double const &,double const &,bool const &) const\n"
22589 " GCTAAeffPerfTable::operator ()(double const &,double const &,double const &,double const &,double const &) const\n"
22590 " GCTAAeffPerfTable::operator ()(double const &,double const &,double const &,double const &) const\n"
22591 " GCTAAeffPerfTable::operator ()(double const &,double const &,double const &) const\n"
22592 " GCTAAeffPerfTable::operator ()(double const &,double const &) const\n"
22593 " GCTAAeffPerfTable::operator ()(double const &) const\n");
22594 return 0;
22595}
22596
22597
22598SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeffPerfTable_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22599 PyObject *resultobj = 0;
22600 GCTAAeffPerfTable *arg1 = (GCTAAeffPerfTable *) 0 ;
22601 void *argp1 = 0 ;
22602 int res1 = 0 ;
22603 PyObject * obj0 = 0 ;
22604
22605 if (!PyArg_ParseTuple(args,(char *)"O:GCTAAeffPerfTable_clear",&obj0)) SWIG_failgoto fail;
22606 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeffPerfTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[5],
0 | 0, 0)
;
22607 if (!SWIG_IsOK(res1)(res1 >= 0)) {
22608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeffPerfTable_clear" "', argument " "1"" of type '" "GCTAAeffPerfTable *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeffPerfTable_clear" "', argument "
"1"" of type '" "GCTAAeffPerfTable *""'"); goto fail; } while
(0)
;
22609 }
22610 arg1 = reinterpret_cast< GCTAAeffPerfTable * >(argp1);
22611 {
22612 try {
22613 (arg1)->clear();
22614 }
22615 catch (const GException::out_of_range& e) {
22616 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
22617 }
22618 catch (const GExceptionHandler& e) {
22619 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22620 }
22621 catch (const std::exception& e) {
22622 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22623 }
22624 }
22625 resultobj = SWIG_Py_Void();
22626 return resultobj;
22627fail:
22628 return NULL__null;
22629}
22630
22631
22632SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeffPerfTable_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22633 PyObject *resultobj = 0;
22634 GCTAAeffPerfTable *arg1 = (GCTAAeffPerfTable *) 0 ;
22635 void *argp1 = 0 ;
22636 int res1 = 0 ;
22637 PyObject * obj0 = 0 ;
22638 GCTAAeffPerfTable *result = 0 ;
22639
22640 if (!PyArg_ParseTuple(args,(char *)"O:GCTAAeffPerfTable_clone",&obj0)) SWIG_failgoto fail;
22641 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeffPerfTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[5],
0 | 0, 0)
;
22642 if (!SWIG_IsOK(res1)(res1 >= 0)) {
22643 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeffPerfTable_clone" "', argument " "1"" of type '" "GCTAAeffPerfTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeffPerfTable_clone" "', argument "
"1"" of type '" "GCTAAeffPerfTable const *""'"); goto fail; }
while(0)
;
22644 }
22645 arg1 = reinterpret_cast< GCTAAeffPerfTable * >(argp1);
22646 {
22647 try {
22648 result = (GCTAAeffPerfTable *)((GCTAAeffPerfTable const *)arg1)->clone();
22649 }
22650 catch (const GException::out_of_range& e) {
22651 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
22652 }
22653 catch (const GExceptionHandler& e) {
22654 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22655 }
22656 catch (const std::exception& e) {
22657 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22658 }
22659 }
22660 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAAeffPerfTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[5], 0 |
0)
;
22661 return resultobj;
22662fail:
22663 return NULL__null;
22664}
22665
22666
22667SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeffPerfTable_load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22668 PyObject *resultobj = 0;
22669 GCTAAeffPerfTable *arg1 = (GCTAAeffPerfTable *) 0 ;
22670 std::string *arg2 = 0 ;
22671 void *argp1 = 0 ;
22672 int res1 = 0 ;
22673 int res2 = SWIG_OLDOBJ((0)) ;
22674 PyObject * obj0 = 0 ;
22675 PyObject * obj1 = 0 ;
22676
22677 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAAeffPerfTable_load",&obj0,&obj1)) SWIG_failgoto fail;
22678 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeffPerfTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[5],
0 | 0, 0)
;
22679 if (!SWIG_IsOK(res1)(res1 >= 0)) {
22680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeffPerfTable_load" "', argument " "1"" of type '" "GCTAAeffPerfTable *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeffPerfTable_load" "', argument "
"1"" of type '" "GCTAAeffPerfTable *""'"); goto fail; } while
(0)
;
22681 }
22682 arg1 = reinterpret_cast< GCTAAeffPerfTable * >(argp1);
22683 {
22684 std::string *ptr = (std::string *)0;
22685 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
22686 if (!SWIG_IsOK(res2)(res2 >= 0)) {
22687 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAAeffPerfTable_load" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAAeffPerfTable_load" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
22688 }
22689 if (!ptr) {
22690 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAAeffPerfTable_load" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAAeffPerfTable_load" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
22691 }
22692 arg2 = ptr;
22693 }
22694 {
22695 try {
22696 (arg1)->load((std::string const &)*arg2);
22697 }
22698 catch (const GException::out_of_range& e) {
22699 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
22700 }
22701 catch (const GExceptionHandler& e) {
22702 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22703 }
22704 catch (const std::exception& e) {
22705 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22706 }
22707 }
22708 resultobj = SWIG_Py_Void();
22709 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
22710 return resultobj;
22711fail:
22712 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
22713 return NULL__null;
22714}
22715
22716
22717SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeffPerfTable_filename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22718 PyObject *resultobj = 0;
22719 GCTAAeffPerfTable *arg1 = (GCTAAeffPerfTable *) 0 ;
22720 void *argp1 = 0 ;
22721 int res1 = 0 ;
22722 PyObject * obj0 = 0 ;
22723 std::string result;
22724
22725 if (!PyArg_ParseTuple(args,(char *)"O:GCTAAeffPerfTable_filename",&obj0)) SWIG_failgoto fail;
22726 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeffPerfTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[5],
0 | 0, 0)
;
22727 if (!SWIG_IsOK(res1)(res1 >= 0)) {
22728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeffPerfTable_filename" "', argument " "1"" of type '" "GCTAAeffPerfTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeffPerfTable_filename"
"', argument " "1"" of type '" "GCTAAeffPerfTable const *""'"
); goto fail; } while(0)
;
22729 }
22730 arg1 = reinterpret_cast< GCTAAeffPerfTable * >(argp1);
22731 {
22732 try {
22733 result = ((GCTAAeffPerfTable const *)arg1)->filename();
22734 }
22735 catch (const GException::out_of_range& e) {
22736 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
22737 }
22738 catch (const GExceptionHandler& e) {
22739 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22740 }
22741 catch (const std::exception& e) {
22742 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22743 }
22744 }
22745 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
22746 return resultobj;
22747fail:
22748 return NULL__null;
22749}
22750
22751
22752SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeffPerfTable_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22753 PyObject *resultobj = 0;
22754 GCTAAeffPerfTable *arg1 = (GCTAAeffPerfTable *) 0 ;
22755 void *argp1 = 0 ;
22756 int res1 = 0 ;
22757 PyObject * obj0 = 0 ;
22758 int result;
22759
22760 if (!PyArg_ParseTuple(args,(char *)"O:GCTAAeffPerfTable_size",&obj0)) SWIG_failgoto fail;
22761 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeffPerfTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[5],
0 | 0, 0)
;
22762 if (!SWIG_IsOK(res1)(res1 >= 0)) {
22763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeffPerfTable_size" "', argument " "1"" of type '" "GCTAAeffPerfTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeffPerfTable_size" "', argument "
"1"" of type '" "GCTAAeffPerfTable const *""'"); goto fail; }
while(0)
;
22764 }
22765 arg1 = reinterpret_cast< GCTAAeffPerfTable * >(argp1);
22766 {
22767 try {
22768 result = (int)((GCTAAeffPerfTable const *)arg1)->size();
22769 }
22770 catch (const GException::out_of_range& e) {
22771 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
22772 }
22773 catch (const GExceptionHandler& e) {
22774 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22775 }
22776 catch (const std::exception& e) {
22777 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22778 }
22779 }
22780 resultobj = SWIG_From_int(static_cast< int >(result));
22781 return resultobj;
22782fail:
22783 return NULL__null;
22784}
22785
22786
22787SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeffPerfTable_sigma__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22788 PyObject *resultobj = 0;
22789 GCTAAeffPerfTable *arg1 = (GCTAAeffPerfTable *) 0 ;
22790 double *arg2 = 0 ;
22791 void *argp1 = 0 ;
22792 int res1 = 0 ;
22793 double temp2 ;
22794 double val2 ;
22795 int ecode2 = 0 ;
22796 PyObject * obj0 = 0 ;
22797 PyObject * obj1 = 0 ;
22798
22799 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAAeffPerfTable_sigma",&obj0,&obj1)) SWIG_failgoto fail;
22800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeffPerfTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[5],
0 | 0, 0)
;
22801 if (!SWIG_IsOK(res1)(res1 >= 0)) {
22802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeffPerfTable_sigma" "', argument " "1"" of type '" "GCTAAeffPerfTable *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeffPerfTable_sigma" "', argument "
"1"" of type '" "GCTAAeffPerfTable *""'"); goto fail; } while
(0)
;
22803 }
22804 arg1 = reinterpret_cast< GCTAAeffPerfTable * >(argp1);
22805 ecode2 = SWIG_AsVal_double(obj1, &val2);
22806 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
22807 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAAeffPerfTable_sigma" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAAeffPerfTable_sigma"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
22808 }
22809 temp2 = static_cast< double >(val2);
22810 arg2 = &temp2;
22811 {
22812 try {
22813 (arg1)->sigma((double const &)*arg2);
22814 }
22815 catch (const GException::out_of_range& e) {
22816 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
22817 }
22818 catch (const GExceptionHandler& e) {
22819 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22820 }
22821 catch (const std::exception& e) {
22822 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22823 }
22824 }
22825 resultobj = SWIG_Py_Void();
22826 return resultobj;
22827fail:
22828 return NULL__null;
22829}
22830
22831
22832SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeffPerfTable_sigma__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22833 PyObject *resultobj = 0;
22834 GCTAAeffPerfTable *arg1 = (GCTAAeffPerfTable *) 0 ;
22835 void *argp1 = 0 ;
22836 int res1 = 0 ;
22837 PyObject * obj0 = 0 ;
22838 double *result = 0 ;
22839
22840 if (!PyArg_ParseTuple(args,(char *)"O:GCTAAeffPerfTable_sigma",&obj0)) SWIG_failgoto fail;
22841 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeffPerfTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[5],
0 | 0, 0)
;
22842 if (!SWIG_IsOK(res1)(res1 >= 0)) {
22843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeffPerfTable_sigma" "', argument " "1"" of type '" "GCTAAeffPerfTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeffPerfTable_sigma" "', argument "
"1"" of type '" "GCTAAeffPerfTable const *""'"); goto fail; }
while(0)
;
22844 }
22845 arg1 = reinterpret_cast< GCTAAeffPerfTable * >(argp1);
22846 {
22847 try {
22848 result = (double *) &((GCTAAeffPerfTable const *)arg1)->sigma();
22849 }
22850 catch (const GException::out_of_range& e) {
22851 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
22852 }
22853 catch (const GExceptionHandler& e) {
22854 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22855 }
22856 catch (const std::exception& e) {
22857 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22858 }
22859 }
22860 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(*result));
22861 return resultobj;
22862fail:
22863 return NULL__null;
22864}
22865
22866
22867SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeffPerfTable_sigma(PyObject *self, PyObject *args) {
22868 int argc;
22869 PyObject *argv[3];
22870 int ii;
22871
22872 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
22873 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
22874 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
22875 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
22876 }
22877 if (argc == 1) {
22878 int _v;
22879 void *vptr = 0;
22880 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAAeffPerfTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[5
], 0, 0)
;
22881 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22882 if (_v) {
22883 return _wrap_GCTAAeffPerfTable_sigma__SWIG_1(self, args);
22884 }
22885 }
22886 if (argc == 2) {
22887 int _v;
22888 void *vptr = 0;
22889 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAAeffPerfTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[5
], 0, 0)
;
22890 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22891 if (_v) {
22892 {
22893 int res = SWIG_AsVal_double(argv[1], NULL__null);
22894 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22895 }
22896 if (_v) {
22897 return _wrap_GCTAAeffPerfTable_sigma__SWIG_0(self, args);
22898 }
22899 }
22900 }
22901
22902fail:
22903 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAAeffPerfTable_sigma'.\n"
22904 " Possible C/C++ prototypes are:\n"
22905 " GCTAAeffPerfTable::sigma(double const &)\n"
22906 " GCTAAeffPerfTable::sigma() const\n");
22907 return 0;
22908}
22909
22910
22911SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeffPerfTable_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22912 PyObject *resultobj = 0;
22913 GCTAAeffPerfTable *arg1 = (GCTAAeffPerfTable *) 0 ;
22914 void *argp1 = 0 ;
22915 int res1 = 0 ;
22916 PyObject * obj0 = 0 ;
22917 GCTAAeffPerfTable result;
22918
22919 if (!PyArg_ParseTuple(args,(char *)"O:GCTAAeffPerfTable_copy",&obj0)) SWIG_failgoto fail;
22920 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeffPerfTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[5],
0 | 0, 0)
;
22921 if (!SWIG_IsOK(res1)(res1 >= 0)) {
22922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeffPerfTable_copy" "', argument " "1"" of type '" "GCTAAeffPerfTable *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeffPerfTable_copy" "', argument "
"1"" of type '" "GCTAAeffPerfTable *""'"); goto fail; } while
(0)
;
22923 }
22924 arg1 = reinterpret_cast< GCTAAeffPerfTable * >(argp1);
22925 {
22926 try {
22927 result = GCTAAeffPerfTable_copy(arg1);
22928 }
22929 catch (const GException::out_of_range& e) {
22930 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
22931 }
22932 catch (const GExceptionHandler& e) {
22933 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22934 }
22935 catch (const std::exception& e) {
22936 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22937 }
22938 }
22939 resultobj = SWIG_NewPointerObj((new GCTAAeffPerfTable(static_cast< const GCTAAeffPerfTable& >(result))), SWIGTYPE_p_GCTAAeffPerfTable, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GCTAAeffPerfTable(static_cast
< const GCTAAeffPerfTable& >(result))), swig_types[
5], 0x1 | 0)
;
22940 return resultobj;
22941fail:
22942 return NULL__null;
22943}
22944
22945
22946SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GCTAAeffPerfTable_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22947 PyObject *obj;
22948 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
22949 SWIG_TypeNewClientData(SWIGTYPE_p_GCTAAeffPerfTableswig_types[5], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
22950 return SWIG_Py_Void();
22951}
22952
22953SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAAeffArf__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22954 PyObject *resultobj = 0;
22955 GCTAAeffArf *result = 0 ;
22956
22957 if (!PyArg_ParseTuple(args,(char *)":new_GCTAAeffArf")) SWIG_failgoto fail;
22958 {
22959 try {
22960 result = (GCTAAeffArf *)new GCTAAeffArf();
22961 }
22962 catch (const GException::out_of_range& e) {
22963 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
22964 }
22965 catch (const GExceptionHandler& e) {
22966 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22967 }
22968 catch (const std::exception& e) {
22969 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22970 }
22971 }
22972 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAAeffArf, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[4], ((
0x1 << 1) | 0x1) | 0)
;
22973 return resultobj;
22974fail:
22975 return NULL__null;
22976}
22977
22978
22979SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAAeffArf__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22980 PyObject *resultobj = 0;
22981 std::string *arg1 = 0 ;
22982 int res1 = SWIG_OLDOBJ((0)) ;
22983 PyObject * obj0 = 0 ;
22984 GCTAAeffArf *result = 0 ;
22985
22986 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAAeffArf",&obj0)) SWIG_failgoto fail;
22987 {
22988 std::string *ptr = (std::string *)0;
22989 res1 = SWIG_AsPtr_std_string(obj0, &ptr);
22990 if (!SWIG_IsOK(res1)(res1 >= 0)) {
22991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAAeffArf" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAAeffArf" "', argument "
"1"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
22992 }
22993 if (!ptr) {
22994 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAAeffArf" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAAeffArf" "', argument " "1"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
22995 }
22996 arg1 = ptr;
22997 }
22998 {
22999 try {
23000 result = (GCTAAeffArf *)new GCTAAeffArf((std::string const &)*arg1);
23001 }
23002 catch (const GException::out_of_range& e) {
23003 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
23004 }
23005 catch (const GExceptionHandler& e) {
23006 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23007 }
23008 catch (const std::exception& e) {
23009 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23010 }
23011 }
23012 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAAeffArf, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[4], ((
0x1 << 1) | 0x1) | 0)
;
23013 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
23014 return resultobj;
23015fail:
23016 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
23017 return NULL__null;
23018}
23019
23020
23021SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAAeffArf__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23022 PyObject *resultobj = 0;
23023 GCTAAeffArf *arg1 = 0 ;
23024 void *argp1 = 0 ;
23025 int res1 = 0 ;
23026 PyObject * obj0 = 0 ;
23027 GCTAAeffArf *result = 0 ;
23028
23029 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAAeffArf",&obj0)) SWIG_failgoto fail;
23030 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GCTAAeffArf, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[4],
0 | 0, 0)
;
23031 if (!SWIG_IsOK(res1)(res1 >= 0)) {
23032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAAeffArf" "', argument " "1"" of type '" "GCTAAeffArf const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAAeffArf" "', argument "
"1"" of type '" "GCTAAeffArf const &""'"); goto fail; } while
(0)
;
23033 }
23034 if (!argp1) {
23035 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAAeffArf" "', argument " "1"" of type '" "GCTAAeffArf const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAAeffArf" "', argument " "1"" of type '"
"GCTAAeffArf const &""'"); goto fail; } while(0)
;
23036 }
23037 arg1 = reinterpret_cast< GCTAAeffArf * >(argp1);
23038 {
23039 try {
23040 result = (GCTAAeffArf *)new GCTAAeffArf((GCTAAeffArf const &)*arg1);
23041 }
23042 catch (const GException::out_of_range& e) {
23043 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
23044 }
23045 catch (const GExceptionHandler& e) {
23046 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23047 }
23048 catch (const std::exception& e) {
23049 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23050 }
23051 }
23052 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAAeffArf, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[4], ((
0x1 << 1) | 0x1) | 0)
;
23053 return resultobj;
23054fail:
23055 return NULL__null;
23056}
23057
23058
23059SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAAeffArf(PyObject *self, PyObject *args) {
23060 int argc;
23061 PyObject *argv[2];
23062 int ii;
23063
23064 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
23065 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
23066 for (ii = 0; (ii < 1) && (ii < argc); ii++) {
23067 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
23068 }
23069 if (argc == 0) {
23070 return _wrap_new_GCTAAeffArf__SWIG_0(self, args);
23071 }
23072 if (argc == 1) {
23073 int _v;
23074 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GCTAAeffArf, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[4], 0, 0);
23075 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
23076 if (_v) {
23077 return _wrap_new_GCTAAeffArf__SWIG_2(self, args);
23078 }
23079 }
23080 if (argc == 1) {
23081 int _v;
23082 int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
23083 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
23084 if (_v) {
23085 return _wrap_new_GCTAAeffArf__SWIG_1(self, args);
23086 }
23087 }
23088
23089fail:
23090 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GCTAAeffArf'.\n"
23091 " Possible C/C++ prototypes are:\n"
23092 " GCTAAeffArf::GCTAAeffArf()\n"
23093 " GCTAAeffArf::GCTAAeffArf(std::string const &)\n"
23094 " GCTAAeffArf::GCTAAeffArf(GCTAAeffArf const &)\n");
23095 return 0;
23096}
23097
23098
23099SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GCTAAeffArf(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23100 PyObject *resultobj = 0;
23101 GCTAAeffArf *arg1 = (GCTAAeffArf *) 0 ;
23102 void *argp1 = 0 ;
23103 int res1 = 0 ;
23104 PyObject * obj0 = 0 ;
23105
23106 if (!PyArg_ParseTuple(args,(char *)"O:delete_GCTAAeffArf",&obj0)) SWIG_failgoto fail;
23107 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeffArf, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[4],
0x1 | 0, 0)
;
23108 if (!SWIG_IsOK(res1)(res1 >= 0)) {
23109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GCTAAeffArf" "', argument " "1"" of type '" "GCTAAeffArf *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GCTAAeffArf" "', argument "
"1"" of type '" "GCTAAeffArf *""'"); goto fail; } while(0)
;
23110 }
23111 arg1 = reinterpret_cast< GCTAAeffArf * >(argp1);
23112 {
23113 try {
23114 delete arg1;
23115 }
23116 catch (const GException::out_of_range& e) {
23117 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
23118 }
23119 catch (const GExceptionHandler& e) {
23120 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23121 }
23122 catch (const std::exception& e) {
23123 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23124 }
23125 }
23126 resultobj = SWIG_Py_Void();
23127 return resultobj;
23128fail:
23129 return NULL__null;
23130}
23131
23132
23133SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeffArf___call____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23134 PyObject *resultobj = 0;
23135 GCTAAeffArf *arg1 = (GCTAAeffArf *) 0 ;
23136 double *arg2 = 0 ;
23137 double *arg3 = 0 ;
23138 double *arg4 = 0 ;
23139 double *arg5 = 0 ;
23140 double *arg6 = 0 ;
23141 bool *arg7 = 0 ;
23142 void *argp1 = 0 ;
23143 int res1 = 0 ;
23144 double temp2 ;
23145 double val2 ;
23146 int ecode2 = 0 ;
23147 double temp3 ;
23148 double val3 ;
23149 int ecode3 = 0 ;
23150 double temp4 ;
23151 double val4 ;
23152 int ecode4 = 0 ;
23153 double temp5 ;
23154 double val5 ;
23155 int ecode5 = 0 ;
23156 double temp6 ;
23157 double val6 ;
23158 int ecode6 = 0 ;
23159 bool temp7 ;
23160 bool val7 ;
23161 int ecode7 = 0 ;
23162 PyObject * obj0 = 0 ;
23163 PyObject * obj1 = 0 ;
23164 PyObject * obj2 = 0 ;
23165 PyObject * obj3 = 0 ;
23166 PyObject * obj4 = 0 ;
23167 PyObject * obj5 = 0 ;
23168 PyObject * obj6 = 0 ;
23169 double result;
23170
23171 if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:GCTAAeffArf___call__",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_failgoto fail;
23172 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeffArf, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[4],
0 | 0, 0)
;
23173 if (!SWIG_IsOK(res1)(res1 >= 0)) {
23174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeffArf___call__" "', argument " "1"" of type '" "GCTAAeffArf const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeffArf___call__" "', argument "
"1"" of type '" "GCTAAeffArf const *""'"); goto fail; } while
(0)
;
23175 }
23176 arg1 = reinterpret_cast< GCTAAeffArf * >(argp1);
23177 ecode2 = SWIG_AsVal_double(obj1, &val2);
23178 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
23179 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAAeffArf___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAAeffArf___call__" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
23180 }
23181 temp2 = static_cast< double >(val2);
23182 arg2 = &temp2;
23183 ecode3 = SWIG_AsVal_double(obj2, &val3);
23184 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
23185 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAAeffArf___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAAeffArf___call__" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
23186 }
23187 temp3 = static_cast< double >(val3);
23188 arg3 = &temp3;
23189 ecode4 = SWIG_AsVal_double(obj3, &val4);
23190 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
23191 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAAeffArf___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAAeffArf___call__" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
23192 }
23193 temp4 = static_cast< double >(val4);
23194 arg4 = &temp4;
23195 ecode5 = SWIG_AsVal_double(obj4, &val5);
23196 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
23197 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAAeffArf___call__" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAAeffArf___call__" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
23198 }
23199 temp5 = static_cast< double >(val5);
23200 arg5 = &temp5;
23201 ecode6 = SWIG_AsVal_double(obj5, &val6);
23202 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
23203 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAAeffArf___call__" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAAeffArf___call__" "', argument "
"6"" of type '" "double""'"); goto fail; } while(0)
;
23204 }
23205 temp6 = static_cast< double >(val6);
23206 arg6 = &temp6;
23207 ecode7 = SWIG_AsVal_bool(obj6, &val7);
23208 if (!SWIG_IsOK(ecode7)(ecode7 >= 0)) {
23209 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GCTAAeffArf___call__" "', argument " "7"" of type '" "bool""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode7 !=
(-1)) ? ecode7 : -5)), "in method '" "GCTAAeffArf___call__" "', argument "
"7"" of type '" "bool""'"); goto fail; } while(0)
;
23210 }
23211 temp7 = static_cast< bool >(val7);
23212 arg7 = &temp7;
23213 {
23214 try {
23215 result = (double)((GCTAAeffArf const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6,(bool const &)*arg7);
23216 }
23217 catch (const GException::out_of_range& e) {
23218 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
23219 }
23220 catch (const GExceptionHandler& e) {
23221 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23222 }
23223 catch (const std::exception& e) {
23224 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23225 }
23226 }
23227 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
23228 return resultobj;
23229fail:
23230 return NULL__null;
23231}
23232
23233
23234SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeffArf___call____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23235 PyObject *resultobj = 0;
23236 GCTAAeffArf *arg1 = (GCTAAeffArf *) 0 ;
23237 double *arg2 = 0 ;
23238 double *arg3 = 0 ;
23239 double *arg4 = 0 ;
23240 double *arg5 = 0 ;
23241 double *arg6 = 0 ;
23242 void *argp1 = 0 ;
23243 int res1 = 0 ;
23244 double temp2 ;
23245 double val2 ;
23246 int ecode2 = 0 ;
23247 double temp3 ;
23248 double val3 ;
23249 int ecode3 = 0 ;
23250 double temp4 ;
23251 double val4 ;
23252 int ecode4 = 0 ;
23253 double temp5 ;
23254 double val5 ;
23255 int ecode5 = 0 ;
23256 double temp6 ;
23257 double val6 ;
23258 int ecode6 = 0 ;
23259 PyObject * obj0 = 0 ;
23260 PyObject * obj1 = 0 ;
23261 PyObject * obj2 = 0 ;
23262 PyObject * obj3 = 0 ;
23263 PyObject * obj4 = 0 ;
23264 PyObject * obj5 = 0 ;
23265 double result;
23266
23267 if (!PyArg_ParseTuple(args,(char *)"OOOOOO:GCTAAeffArf___call__",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_failgoto fail;
23268 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeffArf, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[4],
0 | 0, 0)
;
23269 if (!SWIG_IsOK(res1)(res1 >= 0)) {
23270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeffArf___call__" "', argument " "1"" of type '" "GCTAAeffArf const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeffArf___call__" "', argument "
"1"" of type '" "GCTAAeffArf const *""'"); goto fail; } while
(0)
;
23271 }
23272 arg1 = reinterpret_cast< GCTAAeffArf * >(argp1);
23273 ecode2 = SWIG_AsVal_double(obj1, &val2);
23274 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
23275 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAAeffArf___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAAeffArf___call__" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
23276 }
23277 temp2 = static_cast< double >(val2);
23278 arg2 = &temp2;
23279 ecode3 = SWIG_AsVal_double(obj2, &val3);
23280 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
23281 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAAeffArf___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAAeffArf___call__" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
23282 }
23283 temp3 = static_cast< double >(val3);
23284 arg3 = &temp3;
23285 ecode4 = SWIG_AsVal_double(obj3, &val4);
23286 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
23287 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAAeffArf___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAAeffArf___call__" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
23288 }
23289 temp4 = static_cast< double >(val4);
23290 arg4 = &temp4;
23291 ecode5 = SWIG_AsVal_double(obj4, &val5);
23292 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
23293 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAAeffArf___call__" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAAeffArf___call__" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
23294 }
23295 temp5 = static_cast< double >(val5);
23296 arg5 = &temp5;
23297 ecode6 = SWIG_AsVal_double(obj5, &val6);
23298 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
23299 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAAeffArf___call__" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAAeffArf___call__" "', argument "
"6"" of type '" "double""'"); goto fail; } while(0)
;
23300 }
23301 temp6 = static_cast< double >(val6);
23302 arg6 = &temp6;
23303 {
23304 try {
23305 result = (double)((GCTAAeffArf const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6);
23306 }
23307 catch (const GException::out_of_range& e) {
23308 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
23309 }
23310 catch (const GExceptionHandler& e) {
23311 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23312 }
23313 catch (const std::exception& e) {
23314 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23315 }
23316 }
23317 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
23318 return resultobj;
23319fail:
23320 return NULL__null;
23321}
23322
23323
23324SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeffArf___call____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23325 PyObject *resultobj = 0;
23326 GCTAAeffArf *arg1 = (GCTAAeffArf *) 0 ;
23327 double *arg2 = 0 ;
23328 double *arg3 = 0 ;
23329 double *arg4 = 0 ;
23330 double *arg5 = 0 ;
23331 void *argp1 = 0 ;
23332 int res1 = 0 ;
23333 double temp2 ;
23334 double val2 ;
23335 int ecode2 = 0 ;
23336 double temp3 ;
23337 double val3 ;
23338 int ecode3 = 0 ;
23339 double temp4 ;
23340 double val4 ;
23341 int ecode4 = 0 ;
23342 double temp5 ;
23343 double val5 ;
23344 int ecode5 = 0 ;
23345 PyObject * obj0 = 0 ;
23346 PyObject * obj1 = 0 ;
23347 PyObject * obj2 = 0 ;
23348 PyObject * obj3 = 0 ;
23349 PyObject * obj4 = 0 ;
23350 double result;
23351
23352 if (!PyArg_ParseTuple(args,(char *)"OOOOO:GCTAAeffArf___call__",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_failgoto fail;
23353 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeffArf, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[4],
0 | 0, 0)
;
23354 if (!SWIG_IsOK(res1)(res1 >= 0)) {
23355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeffArf___call__" "', argument " "1"" of type '" "GCTAAeffArf const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeffArf___call__" "', argument "
"1"" of type '" "GCTAAeffArf const *""'"); goto fail; } while
(0)
;
23356 }
23357 arg1 = reinterpret_cast< GCTAAeffArf * >(argp1);
23358 ecode2 = SWIG_AsVal_double(obj1, &val2);
23359 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
23360 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAAeffArf___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAAeffArf___call__" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
23361 }
23362 temp2 = static_cast< double >(val2);
23363 arg2 = &temp2;
23364 ecode3 = SWIG_AsVal_double(obj2, &val3);
23365 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
23366 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAAeffArf___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAAeffArf___call__" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
23367 }
23368 temp3 = static_cast< double >(val3);
23369 arg3 = &temp3;
23370 ecode4 = SWIG_AsVal_double(obj3, &val4);
23371 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
23372 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAAeffArf___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAAeffArf___call__" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
23373 }
23374 temp4 = static_cast< double >(val4);
23375 arg4 = &temp4;
23376 ecode5 = SWIG_AsVal_double(obj4, &val5);
23377 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
23378 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAAeffArf___call__" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAAeffArf___call__" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
23379 }
23380 temp5 = static_cast< double >(val5);
23381 arg5 = &temp5;
23382 {
23383 try {
23384 result = (double)((GCTAAeffArf const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5);
23385 }
23386 catch (const GException::out_of_range& e) {
23387 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
23388 }
23389 catch (const GExceptionHandler& e) {
23390 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23391 }
23392 catch (const std::exception& e) {
23393 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23394 }
23395 }
23396 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
23397 return resultobj;
23398fail:
23399 return NULL__null;
23400}
23401
23402
23403SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeffArf___call____SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23404 PyObject *resultobj = 0;
23405 GCTAAeffArf *arg1 = (GCTAAeffArf *) 0 ;
23406 double *arg2 = 0 ;
23407 double *arg3 = 0 ;
23408 double *arg4 = 0 ;
23409 void *argp1 = 0 ;
23410 int res1 = 0 ;
23411 double temp2 ;
23412 double val2 ;
23413 int ecode2 = 0 ;
23414 double temp3 ;
23415 double val3 ;
23416 int ecode3 = 0 ;
23417 double temp4 ;
23418 double val4 ;
23419 int ecode4 = 0 ;
23420 PyObject * obj0 = 0 ;
23421 PyObject * obj1 = 0 ;
23422 PyObject * obj2 = 0 ;
23423 PyObject * obj3 = 0 ;
23424 double result;
23425
23426 if (!PyArg_ParseTuple(args,(char *)"OOOO:GCTAAeffArf___call__",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
23427 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeffArf, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[4],
0 | 0, 0)
;
23428 if (!SWIG_IsOK(res1)(res1 >= 0)) {
23429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeffArf___call__" "', argument " "1"" of type '" "GCTAAeffArf const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeffArf___call__" "', argument "
"1"" of type '" "GCTAAeffArf const *""'"); goto fail; } while
(0)
;
23430 }
23431 arg1 = reinterpret_cast< GCTAAeffArf * >(argp1);
23432 ecode2 = SWIG_AsVal_double(obj1, &val2);
23433 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
23434 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAAeffArf___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAAeffArf___call__" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
23435 }
23436 temp2 = static_cast< double >(val2);
23437 arg2 = &temp2;
23438 ecode3 = SWIG_AsVal_double(obj2, &val3);
23439 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
23440 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAAeffArf___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAAeffArf___call__" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
23441 }
23442 temp3 = static_cast< double >(val3);
23443 arg3 = &temp3;
23444 ecode4 = SWIG_AsVal_double(obj3, &val4);
23445 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
23446 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAAeffArf___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAAeffArf___call__" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
23447 }
23448 temp4 = static_cast< double >(val4);
23449 arg4 = &temp4;
23450 {
23451 try {
23452 result = (double)((GCTAAeffArf const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4);
23453 }
23454 catch (const GException::out_of_range& e) {
23455 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
23456 }
23457 catch (const GExceptionHandler& e) {
23458 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23459 }
23460 catch (const std::exception& e) {
23461 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23462 }
23463 }
23464 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
23465 return resultobj;
23466fail:
23467 return NULL__null;
23468}
23469
23470
23471SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeffArf___call____SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23472 PyObject *resultobj = 0;
23473 GCTAAeffArf *arg1 = (GCTAAeffArf *) 0 ;
23474 double *arg2 = 0 ;
23475 double *arg3 = 0 ;
23476 void *argp1 = 0 ;
23477 int res1 = 0 ;
23478 double temp2 ;
23479 double val2 ;
23480 int ecode2 = 0 ;
23481 double temp3 ;
23482 double val3 ;
23483 int ecode3 = 0 ;
23484 PyObject * obj0 = 0 ;
23485 PyObject * obj1 = 0 ;
23486 PyObject * obj2 = 0 ;
23487 double result;
23488
23489 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAAeffArf___call__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
23490 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeffArf, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[4],
0 | 0, 0)
;
23491 if (!SWIG_IsOK(res1)(res1 >= 0)) {
23492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeffArf___call__" "', argument " "1"" of type '" "GCTAAeffArf const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeffArf___call__" "', argument "
"1"" of type '" "GCTAAeffArf const *""'"); goto fail; } while
(0)
;
23493 }
23494 arg1 = reinterpret_cast< GCTAAeffArf * >(argp1);
23495 ecode2 = SWIG_AsVal_double(obj1, &val2);
23496 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
23497 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAAeffArf___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAAeffArf___call__" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
23498 }
23499 temp2 = static_cast< double >(val2);
23500 arg2 = &temp2;
23501 ecode3 = SWIG_AsVal_double(obj2, &val3);
23502 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
23503 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAAeffArf___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAAeffArf___call__" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
23504 }
23505 temp3 = static_cast< double >(val3);
23506 arg3 = &temp3;
23507 {
23508 try {
23509 result = (double)((GCTAAeffArf const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3);
23510 }
23511 catch (const GException::out_of_range& e) {
23512 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
23513 }
23514 catch (const GExceptionHandler& e) {
23515 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23516 }
23517 catch (const std::exception& e) {
23518 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23519 }
23520 }
23521 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
23522 return resultobj;
23523fail:
23524 return NULL__null;
23525}
23526
23527
23528SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeffArf___call____SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23529 PyObject *resultobj = 0;
23530 GCTAAeffArf *arg1 = (GCTAAeffArf *) 0 ;
23531 double *arg2 = 0 ;
23532 void *argp1 = 0 ;
23533 int res1 = 0 ;
23534 double temp2 ;
23535 double val2 ;
23536 int ecode2 = 0 ;
23537 PyObject * obj0 = 0 ;
23538 PyObject * obj1 = 0 ;
23539 double result;
23540
23541 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAAeffArf___call__",&obj0,&obj1)) SWIG_failgoto fail;
23542 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeffArf, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[4],
0 | 0, 0)
;
23543 if (!SWIG_IsOK(res1)(res1 >= 0)) {
23544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeffArf___call__" "', argument " "1"" of type '" "GCTAAeffArf const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeffArf___call__" "', argument "
"1"" of type '" "GCTAAeffArf const *""'"); goto fail; } while
(0)
;
23545 }
23546 arg1 = reinterpret_cast< GCTAAeffArf * >(argp1);
23547 ecode2 = SWIG_AsVal_double(obj1, &val2);
23548 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
23549 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAAeffArf___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAAeffArf___call__" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
23550 }
23551 temp2 = static_cast< double >(val2);
23552 arg2 = &temp2;
23553 {
23554 try {
23555 result = (double)((GCTAAeffArf const *)arg1)->operator ()((double const &)*arg2);
23556 }
23557 catch (const GException::out_of_range& e) {
23558 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
23559 }
23560 catch (const GExceptionHandler& e) {
23561 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23562 }
23563 catch (const std::exception& e) {
23564 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23565 }
23566 }
23567 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
23568 return resultobj;
23569fail:
23570 return NULL__null;
23571}
23572
23573
23574SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeffArf___call__(PyObject *self, PyObject *args) {
23575 int argc;
23576 PyObject *argv[8];
23577 int ii;
23578
23579 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
23580 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
23581 for (ii = 0; (ii < 7) && (ii < argc); ii++) {
23582 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
23583 }
23584 if (argc == 2) {
23585 int _v;
23586 void *vptr = 0;
23587 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAAeffArf, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[4
], 0, 0)
;
23588 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
23589 if (_v) {
23590 {
23591 int res = SWIG_AsVal_double(argv[1], NULL__null);
23592 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
23593 }
23594 if (_v) {
23595 return _wrap_GCTAAeffArf___call____SWIG_5(self, args);
23596 }
23597 }
23598 }
23599 if (argc == 3) {
23600 int _v;
23601 void *vptr = 0;
23602 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAAeffArf, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[4
], 0, 0)
;
23603 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
23604 if (_v) {
23605 {
23606 int res = SWIG_AsVal_double(argv[1], NULL__null);
23607 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
23608 }
23609 if (_v) {
23610 {
23611 int res = SWIG_AsVal_double(argv[2], NULL__null);
23612 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
23613 }
23614 if (_v) {
23615 return _wrap_GCTAAeffArf___call____SWIG_4(self, args);
23616 }
23617 }
23618 }
23619 }
23620 if (argc == 4) {
23621 int _v;
23622 void *vptr = 0;
23623 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAAeffArf, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[4
], 0, 0)
;
23624 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
23625 if (_v) {
23626 {
23627 int res = SWIG_AsVal_double(argv[1], NULL__null);
23628 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
23629 }
23630 if (_v) {
23631 {
23632 int res = SWIG_AsVal_double(argv[2], NULL__null);
23633 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
23634 }
23635 if (_v) {
23636 {
23637 int res = SWIG_AsVal_double(argv[3], NULL__null);
23638 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
23639 }
23640 if (_v) {
23641 return _wrap_GCTAAeffArf___call____SWIG_3(self, args);
23642 }
23643 }
23644 }
23645 }
23646 }
23647 if (argc == 5) {
23648 int _v;
23649 void *vptr = 0;
23650 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAAeffArf, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[4
], 0, 0)
;
23651 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
23652 if (_v) {
23653 {
23654 int res = SWIG_AsVal_double(argv[1], NULL__null);
23655 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
23656 }
23657 if (_v) {
23658 {
23659 int res = SWIG_AsVal_double(argv[2], NULL__null);
23660 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
23661 }
23662 if (_v) {
23663 {
23664 int res = SWIG_AsVal_double(argv[3], NULL__null);
23665 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
23666 }
23667 if (_v) {
23668 {
23669 int res = SWIG_AsVal_double(argv[4], NULL__null);
23670 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
23671 }
23672 if (_v) {
23673 return _wrap_GCTAAeffArf___call____SWIG_2(self, args);
23674 }
23675 }
23676 }
23677 }
23678 }
23679 }
23680 if (argc == 6) {
23681 int _v;
23682 void *vptr = 0;
23683 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAAeffArf, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[4
], 0, 0)
;
23684 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
23685 if (_v) {
23686 {
23687 int res = SWIG_AsVal_double(argv[1], NULL__null);
23688 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
23689 }
23690 if (_v) {
23691 {
23692 int res = SWIG_AsVal_double(argv[2], NULL__null);
23693 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
23694 }
23695 if (_v) {
23696 {
23697 int res = SWIG_AsVal_double(argv[3], NULL__null);
23698 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
23699 }
23700 if (_v) {
23701 {
23702 int res = SWIG_AsVal_double(argv[4], NULL__null);
23703 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
23704 }
23705 if (_v) {
23706 {
23707 int res = SWIG_AsVal_double(argv[5], NULL__null);
23708 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
23709 }
23710 if (_v) {
23711 return _wrap_GCTAAeffArf___call____SWIG_1(self, args);
23712 }
23713 }
23714 }
23715 }
23716 }
23717 }
23718 }
23719 if (argc == 7) {
23720 int _v;
23721 void *vptr = 0;
23722 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAAeffArf, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[4
], 0, 0)
;
23723 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
23724 if (_v) {
23725 {
23726 int res = SWIG_AsVal_double(argv[1], NULL__null);
23727 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
23728 }
23729 if (_v) {
23730 {
23731 int res = SWIG_AsVal_double(argv[2], NULL__null);
23732 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
23733 }
23734 if (_v) {
23735 {
23736 int res = SWIG_AsVal_double(argv[3], NULL__null);
23737 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
23738 }
23739 if (_v) {
23740 {
23741 int res = SWIG_AsVal_double(argv[4], NULL__null);
23742 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
23743 }
23744 if (_v) {
23745 {
23746 int res = SWIG_AsVal_double(argv[5], NULL__null);
23747 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
23748 }
23749 if (_v) {
23750 {
23751 int res = SWIG_AsVal_bool(argv[6], NULL__null);
23752 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
23753 }
23754 if (_v) {
23755 return _wrap_GCTAAeffArf___call____SWIG_0(self, args);
23756 }
23757 }
23758 }
23759 }
23760 }
23761 }
23762 }
23763 }
23764
23765fail:
23766 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAAeffArf___call__'.\n"
23767 " Possible C/C++ prototypes are:\n"
23768 " GCTAAeffArf::operator ()(double const &,double const &,double const &,double const &,double const &,bool const &) const\n"
23769 " GCTAAeffArf::operator ()(double const &,double const &,double const &,double const &,double const &) const\n"
23770 " GCTAAeffArf::operator ()(double const &,double const &,double const &,double const &) const\n"
23771 " GCTAAeffArf::operator ()(double const &,double const &,double const &) const\n"
23772 " GCTAAeffArf::operator ()(double const &,double const &) const\n"
23773 " GCTAAeffArf::operator ()(double const &) const\n");
23774 return 0;
23775}
23776
23777
23778SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeffArf_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23779 PyObject *resultobj = 0;
23780 GCTAAeffArf *arg1 = (GCTAAeffArf *) 0 ;
23781 void *argp1 = 0 ;
23782 int res1 = 0 ;
23783 PyObject * obj0 = 0 ;
23784
23785 if (!PyArg_ParseTuple(args,(char *)"O:GCTAAeffArf_clear",&obj0)) SWIG_failgoto fail;
23786 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeffArf, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[4],
0 | 0, 0)
;
23787 if (!SWIG_IsOK(res1)(res1 >= 0)) {
23788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeffArf_clear" "', argument " "1"" of type '" "GCTAAeffArf *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeffArf_clear" "', argument "
"1"" of type '" "GCTAAeffArf *""'"); goto fail; } while(0)
;
23789 }
23790 arg1 = reinterpret_cast< GCTAAeffArf * >(argp1);
23791 {
23792 try {
23793 (arg1)->clear();
23794 }
23795 catch (const GException::out_of_range& e) {
23796 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
23797 }
23798 catch (const GExceptionHandler& e) {
23799 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23800 }
23801 catch (const std::exception& e) {
23802 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23803 }
23804 }
23805 resultobj = SWIG_Py_Void();
23806 return resultobj;
23807fail:
23808 return NULL__null;
23809}
23810
23811
23812SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeffArf_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23813 PyObject *resultobj = 0;
23814 GCTAAeffArf *arg1 = (GCTAAeffArf *) 0 ;
23815 void *argp1 = 0 ;
23816 int res1 = 0 ;
23817 PyObject * obj0 = 0 ;
23818 GCTAAeffArf *result = 0 ;
23819
23820 if (!PyArg_ParseTuple(args,(char *)"O:GCTAAeffArf_clone",&obj0)) SWIG_failgoto fail;
23821 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeffArf, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[4],
0 | 0, 0)
;
23822 if (!SWIG_IsOK(res1)(res1 >= 0)) {
23823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeffArf_clone" "', argument " "1"" of type '" "GCTAAeffArf const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeffArf_clone" "', argument "
"1"" of type '" "GCTAAeffArf const *""'"); goto fail; } while
(0)
;
23824 }
23825 arg1 = reinterpret_cast< GCTAAeffArf * >(argp1);
23826 {
23827 try {
23828 result = (GCTAAeffArf *)((GCTAAeffArf const *)arg1)->clone();
23829 }
23830 catch (const GException::out_of_range& e) {
23831 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
23832 }
23833 catch (const GExceptionHandler& e) {
23834 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23835 }
23836 catch (const std::exception& e) {
23837 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23838 }
23839 }
23840 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAAeffArf, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[4], 0 |
0)
;
23841 return resultobj;
23842fail:
23843 return NULL__null;
23844}
23845
23846
23847SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeffArf_load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23848 PyObject *resultobj = 0;
23849 GCTAAeffArf *arg1 = (GCTAAeffArf *) 0 ;
23850 std::string *arg2 = 0 ;
23851 void *argp1 = 0 ;
23852 int res1 = 0 ;
23853 int res2 = SWIG_OLDOBJ((0)) ;
23854 PyObject * obj0 = 0 ;
23855 PyObject * obj1 = 0 ;
23856
23857 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAAeffArf_load",&obj0,&obj1)) SWIG_failgoto fail;
23858 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeffArf, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[4],
0 | 0, 0)
;
23859 if (!SWIG_IsOK(res1)(res1 >= 0)) {
23860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeffArf_load" "', argument " "1"" of type '" "GCTAAeffArf *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeffArf_load" "', argument "
"1"" of type '" "GCTAAeffArf *""'"); goto fail; } while(0)
;
23861 }
23862 arg1 = reinterpret_cast< GCTAAeffArf * >(argp1);
23863 {
23864 std::string *ptr = (std::string *)0;
23865 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
23866 if (!SWIG_IsOK(res2)(res2 >= 0)) {
23867 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAAeffArf_load" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAAeffArf_load" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
23868 }
23869 if (!ptr) {
23870 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAAeffArf_load" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAAeffArf_load" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
23871 }
23872 arg2 = ptr;
23873 }
23874 {
23875 try {
23876 (arg1)->load((std::string const &)*arg2);
23877 }
23878 catch (const GException::out_of_range& e) {
23879 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
23880 }
23881 catch (const GExceptionHandler& e) {
23882 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23883 }
23884 catch (const std::exception& e) {
23885 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23886 }
23887 }
23888 resultobj = SWIG_Py_Void();
23889 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
23890 return resultobj;
23891fail:
23892 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
23893 return NULL__null;
23894}
23895
23896
23897SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeffArf_filename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23898 PyObject *resultobj = 0;
23899 GCTAAeffArf *arg1 = (GCTAAeffArf *) 0 ;
23900 void *argp1 = 0 ;
23901 int res1 = 0 ;
23902 PyObject * obj0 = 0 ;
23903 std::string result;
23904
23905 if (!PyArg_ParseTuple(args,(char *)"O:GCTAAeffArf_filename",&obj0)) SWIG_failgoto fail;
23906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeffArf, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[4],
0 | 0, 0)
;
23907 if (!SWIG_IsOK(res1)(res1 >= 0)) {
23908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeffArf_filename" "', argument " "1"" of type '" "GCTAAeffArf const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeffArf_filename" "', argument "
"1"" of type '" "GCTAAeffArf const *""'"); goto fail; } while
(0)
;
23909 }
23910 arg1 = reinterpret_cast< GCTAAeffArf * >(argp1);
23911 {
23912 try {
23913 result = ((GCTAAeffArf const *)arg1)->filename();
23914 }
23915 catch (const GException::out_of_range& e) {
23916 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
23917 }
23918 catch (const GExceptionHandler& e) {
23919 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23920 }
23921 catch (const std::exception& e) {
23922 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23923 }
23924 }
23925 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
23926 return resultobj;
23927fail:
23928 return NULL__null;
23929}
23930
23931
23932SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeffArf_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23933 PyObject *resultobj = 0;
23934 GCTAAeffArf *arg1 = (GCTAAeffArf *) 0 ;
23935 void *argp1 = 0 ;
23936 int res1 = 0 ;
23937 PyObject * obj0 = 0 ;
23938 int result;
23939
23940 if (!PyArg_ParseTuple(args,(char *)"O:GCTAAeffArf_size",&obj0)) SWIG_failgoto fail;
23941 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeffArf, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[4],
0 | 0, 0)
;
23942 if (!SWIG_IsOK(res1)(res1 >= 0)) {
23943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeffArf_size" "', argument " "1"" of type '" "GCTAAeffArf const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeffArf_size" "', argument "
"1"" of type '" "GCTAAeffArf const *""'"); goto fail; } while
(0)
;
23944 }
23945 arg1 = reinterpret_cast< GCTAAeffArf * >(argp1);
23946 {
23947 try {
23948 result = (int)((GCTAAeffArf const *)arg1)->size();
23949 }
23950 catch (const GException::out_of_range& e) {
23951 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
23952 }
23953 catch (const GExceptionHandler& e) {
23954 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23955 }
23956 catch (const std::exception& e) {
23957 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23958 }
23959 }
23960 resultobj = SWIG_From_int(static_cast< int >(result));
23961 return resultobj;
23962fail:
23963 return NULL__null;
23964}
23965
23966
23967SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeffArf_sigma__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23968 PyObject *resultobj = 0;
23969 GCTAAeffArf *arg1 = (GCTAAeffArf *) 0 ;
23970 double *arg2 = 0 ;
23971 void *argp1 = 0 ;
23972 int res1 = 0 ;
23973 double temp2 ;
23974 double val2 ;
23975 int ecode2 = 0 ;
23976 PyObject * obj0 = 0 ;
23977 PyObject * obj1 = 0 ;
23978
23979 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAAeffArf_sigma",&obj0,&obj1)) SWIG_failgoto fail;
23980 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeffArf, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[4],
0 | 0, 0)
;
23981 if (!SWIG_IsOK(res1)(res1 >= 0)) {
23982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeffArf_sigma" "', argument " "1"" of type '" "GCTAAeffArf *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeffArf_sigma" "', argument "
"1"" of type '" "GCTAAeffArf *""'"); goto fail; } while(0)
;
23983 }
23984 arg1 = reinterpret_cast< GCTAAeffArf * >(argp1);
23985 ecode2 = SWIG_AsVal_double(obj1, &val2);
23986 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
23987 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAAeffArf_sigma" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAAeffArf_sigma" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
23988 }
23989 temp2 = static_cast< double >(val2);
23990 arg2 = &temp2;
23991 {
23992 try {
23993 (arg1)->sigma((double const &)*arg2);
23994 }
23995 catch (const GException::out_of_range& e) {
23996 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
23997 }
23998 catch (const GExceptionHandler& e) {
23999 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24000 }
24001 catch (const std::exception& e) {
24002 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24003 }
24004 }
24005 resultobj = SWIG_Py_Void();
24006 return resultobj;
24007fail:
24008 return NULL__null;
24009}
24010
24011
24012SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeffArf_sigma__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24013 PyObject *resultobj = 0;
24014 GCTAAeffArf *arg1 = (GCTAAeffArf *) 0 ;
24015 void *argp1 = 0 ;
24016 int res1 = 0 ;
24017 PyObject * obj0 = 0 ;
24018 double *result = 0 ;
24019
24020 if (!PyArg_ParseTuple(args,(char *)"O:GCTAAeffArf_sigma",&obj0)) SWIG_failgoto fail;
24021 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeffArf, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[4],
0 | 0, 0)
;
24022 if (!SWIG_IsOK(res1)(res1 >= 0)) {
24023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeffArf_sigma" "', argument " "1"" of type '" "GCTAAeffArf const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeffArf_sigma" "', argument "
"1"" of type '" "GCTAAeffArf const *""'"); goto fail; } while
(0)
;
24024 }
24025 arg1 = reinterpret_cast< GCTAAeffArf * >(argp1);
24026 {
24027 try {
24028 result = (double *) &((GCTAAeffArf const *)arg1)->sigma();
24029 }
24030 catch (const GException::out_of_range& e) {
24031 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
24032 }
24033 catch (const GExceptionHandler& e) {
24034 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24035 }
24036 catch (const std::exception& e) {
24037 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24038 }
24039 }
24040 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(*result));
24041 return resultobj;
24042fail:
24043 return NULL__null;
24044}
24045
24046
24047SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeffArf_sigma(PyObject *self, PyObject *args) {
24048 int argc;
24049 PyObject *argv[3];
24050 int ii;
24051
24052 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
24053 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
24054 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
24055 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
24056 }
24057 if (argc == 1) {
24058 int _v;
24059 void *vptr = 0;
24060 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAAeffArf, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[4
], 0, 0)
;
24061 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24062 if (_v) {
24063 return _wrap_GCTAAeffArf_sigma__SWIG_1(self, args);
24064 }
24065 }
24066 if (argc == 2) {
24067 int _v;
24068 void *vptr = 0;
24069 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAAeffArf, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[4
], 0, 0)
;
24070 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24071 if (_v) {
24072 {
24073 int res = SWIG_AsVal_double(argv[1], NULL__null);
24074 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24075 }
24076 if (_v) {
24077 return _wrap_GCTAAeffArf_sigma__SWIG_0(self, args);
24078 }
24079 }
24080 }
24081
24082fail:
24083 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAAeffArf_sigma'.\n"
24084 " Possible C/C++ prototypes are:\n"
24085 " GCTAAeffArf::sigma(double const &)\n"
24086 " GCTAAeffArf::sigma() const\n");
24087 return 0;
24088}
24089
24090
24091SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeffArf_thetacut__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24092 PyObject *resultobj = 0;
24093 GCTAAeffArf *arg1 = (GCTAAeffArf *) 0 ;
24094 double *arg2 = 0 ;
24095 void *argp1 = 0 ;
24096 int res1 = 0 ;
24097 double temp2 ;
24098 double val2 ;
24099 int ecode2 = 0 ;
24100 PyObject * obj0 = 0 ;
24101 PyObject * obj1 = 0 ;
24102
24103 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAAeffArf_thetacut",&obj0,&obj1)) SWIG_failgoto fail;
24104 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeffArf, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[4],
0 | 0, 0)
;
24105 if (!SWIG_IsOK(res1)(res1 >= 0)) {
24106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeffArf_thetacut" "', argument " "1"" of type '" "GCTAAeffArf *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeffArf_thetacut" "', argument "
"1"" of type '" "GCTAAeffArf *""'"); goto fail; } while(0)
;
24107 }
24108 arg1 = reinterpret_cast< GCTAAeffArf * >(argp1);
24109 ecode2 = SWIG_AsVal_double(obj1, &val2);
24110 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
24111 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAAeffArf_thetacut" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAAeffArf_thetacut" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
24112 }
24113 temp2 = static_cast< double >(val2);
24114 arg2 = &temp2;
24115 {
24116 try {
24117 (arg1)->thetacut((double const &)*arg2);
24118 }
24119 catch (const GException::out_of_range& e) {
24120 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
24121 }
24122 catch (const GExceptionHandler& e) {
24123 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24124 }
24125 catch (const std::exception& e) {
24126 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24127 }
24128 }
24129 resultobj = SWIG_Py_Void();
24130 return resultobj;
24131fail:
24132 return NULL__null;
24133}
24134
24135
24136SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeffArf_thetacut__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24137 PyObject *resultobj = 0;
24138 GCTAAeffArf *arg1 = (GCTAAeffArf *) 0 ;
24139 void *argp1 = 0 ;
24140 int res1 = 0 ;
24141 PyObject * obj0 = 0 ;
24142 double *result = 0 ;
24143
24144 if (!PyArg_ParseTuple(args,(char *)"O:GCTAAeffArf_thetacut",&obj0)) SWIG_failgoto fail;
24145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeffArf, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[4],
0 | 0, 0)
;
24146 if (!SWIG_IsOK(res1)(res1 >= 0)) {
24147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeffArf_thetacut" "', argument " "1"" of type '" "GCTAAeffArf const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeffArf_thetacut" "', argument "
"1"" of type '" "GCTAAeffArf const *""'"); goto fail; } while
(0)
;
24148 }
24149 arg1 = reinterpret_cast< GCTAAeffArf * >(argp1);
24150 {
24151 try {
24152 result = (double *) &((GCTAAeffArf const *)arg1)->thetacut();
24153 }
24154 catch (const GException::out_of_range& e) {
24155 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
24156 }
24157 catch (const GExceptionHandler& e) {
24158 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24159 }
24160 catch (const std::exception& e) {
24161 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24162 }
24163 }
24164 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(*result));
24165 return resultobj;
24166fail:
24167 return NULL__null;
24168}
24169
24170
24171SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeffArf_thetacut(PyObject *self, PyObject *args) {
24172 int argc;
24173 PyObject *argv[3];
24174 int ii;
24175
24176 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
24177 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
24178 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
24179 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
24180 }
24181 if (argc == 1) {
24182 int _v;
24183 void *vptr = 0;
24184 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAAeffArf, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[4
], 0, 0)
;
24185 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24186 if (_v) {
24187 return _wrap_GCTAAeffArf_thetacut__SWIG_1(self, args);
24188 }
24189 }
24190 if (argc == 2) {
24191 int _v;
24192 void *vptr = 0;
24193 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAAeffArf, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[4
], 0, 0)
;
24194 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24195 if (_v) {
24196 {
24197 int res = SWIG_AsVal_double(argv[1], NULL__null);
24198 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24199 }
24200 if (_v) {
24201 return _wrap_GCTAAeffArf_thetacut__SWIG_0(self, args);
24202 }
24203 }
24204 }
24205
24206fail:
24207 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAAeffArf_thetacut'.\n"
24208 " Possible C/C++ prototypes are:\n"
24209 " GCTAAeffArf::thetacut(double const &)\n"
24210 " GCTAAeffArf::thetacut() const\n");
24211 return 0;
24212}
24213
24214
24215SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeffArf_scale__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24216 PyObject *resultobj = 0;
24217 GCTAAeffArf *arg1 = (GCTAAeffArf *) 0 ;
24218 double *arg2 = 0 ;
24219 void *argp1 = 0 ;
24220 int res1 = 0 ;
24221 double temp2 ;
24222 double val2 ;
24223 int ecode2 = 0 ;
24224 PyObject * obj0 = 0 ;
24225 PyObject * obj1 = 0 ;
24226
24227 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAAeffArf_scale",&obj0,&obj1)) SWIG_failgoto fail;
24228 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeffArf, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[4],
0 | 0, 0)
;
24229 if (!SWIG_IsOK(res1)(res1 >= 0)) {
24230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeffArf_scale" "', argument " "1"" of type '" "GCTAAeffArf *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeffArf_scale" "', argument "
"1"" of type '" "GCTAAeffArf *""'"); goto fail; } while(0)
;
24231 }
24232 arg1 = reinterpret_cast< GCTAAeffArf * >(argp1);
24233 ecode2 = SWIG_AsVal_double(obj1, &val2);
24234 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
24235 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAAeffArf_scale" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAAeffArf_scale" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
24236 }
24237 temp2 = static_cast< double >(val2);
24238 arg2 = &temp2;
24239 {
24240 try {
24241 (arg1)->scale((double const &)*arg2);
24242 }
24243 catch (const GException::out_of_range& e) {
24244 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
24245 }
24246 catch (const GExceptionHandler& e) {
24247 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24248 }
24249 catch (const std::exception& e) {
24250 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24251 }
24252 }
24253 resultobj = SWIG_Py_Void();
24254 return resultobj;
24255fail:
24256 return NULL__null;
24257}
24258
24259
24260SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeffArf_scale__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24261 PyObject *resultobj = 0;
24262 GCTAAeffArf *arg1 = (GCTAAeffArf *) 0 ;
24263 void *argp1 = 0 ;
24264 int res1 = 0 ;
24265 PyObject * obj0 = 0 ;
24266 double *result = 0 ;
24267
24268 if (!PyArg_ParseTuple(args,(char *)"O:GCTAAeffArf_scale",&obj0)) SWIG_failgoto fail;
24269 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeffArf, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[4],
0 | 0, 0)
;
24270 if (!SWIG_IsOK(res1)(res1 >= 0)) {
24271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeffArf_scale" "', argument " "1"" of type '" "GCTAAeffArf const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeffArf_scale" "', argument "
"1"" of type '" "GCTAAeffArf const *""'"); goto fail; } while
(0)
;
24272 }
24273 arg1 = reinterpret_cast< GCTAAeffArf * >(argp1);
24274 {
24275 try {
24276 result = (double *) &((GCTAAeffArf const *)arg1)->scale();
24277 }
24278 catch (const GException::out_of_range& e) {
24279 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
24280 }
24281 catch (const GExceptionHandler& e) {
24282 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24283 }
24284 catch (const std::exception& e) {
24285 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24286 }
24287 }
24288 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(*result));
24289 return resultobj;
24290fail:
24291 return NULL__null;
24292}
24293
24294
24295SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeffArf_scale(PyObject *self, PyObject *args) {
24296 int argc;
24297 PyObject *argv[3];
24298 int ii;
24299
24300 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
24301 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
24302 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
24303 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
24304 }
24305 if (argc == 1) {
24306 int _v;
24307 void *vptr = 0;
24308 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAAeffArf, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[4
], 0, 0)
;
24309 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24310 if (_v) {
24311 return _wrap_GCTAAeffArf_scale__SWIG_1(self, args);
24312 }
24313 }
24314 if (argc == 2) {
24315 int _v;
24316 void *vptr = 0;
24317 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAAeffArf, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[4
], 0, 0)
;
24318 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24319 if (_v) {
24320 {
24321 int res = SWIG_AsVal_double(argv[1], NULL__null);
24322 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24323 }
24324 if (_v) {
24325 return _wrap_GCTAAeffArf_scale__SWIG_0(self, args);
24326 }
24327 }
24328 }
24329
24330fail:
24331 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAAeffArf_scale'.\n"
24332 " Possible C/C++ prototypes are:\n"
24333 " GCTAAeffArf::scale(double const &)\n"
24334 " GCTAAeffArf::scale() const\n");
24335 return 0;
24336}
24337
24338
24339SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeffArf_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24340 PyObject *resultobj = 0;
24341 GCTAAeffArf *arg1 = (GCTAAeffArf *) 0 ;
24342 GFitsTable *arg2 = 0 ;
24343 void *argp1 = 0 ;
24344 int res1 = 0 ;
24345 void *argp2 = 0 ;
24346 int res2 = 0 ;
24347 PyObject * obj0 = 0 ;
24348 PyObject * obj1 = 0 ;
24349
24350 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAAeffArf_read",&obj0,&obj1)) SWIG_failgoto fail;
24351 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeffArf, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[4],
0 | 0, 0)
;
24352 if (!SWIG_IsOK(res1)(res1 >= 0)) {
24353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeffArf_read" "', argument " "1"" of type '" "GCTAAeffArf *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeffArf_read" "', argument "
"1"" of type '" "GCTAAeffArf *""'"); goto fail; } while(0)
;
24354 }
24355 arg1 = reinterpret_cast< GCTAAeffArf * >(argp1);
24356 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GFitsTable, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[41]
, 0 | 0, 0)
;
24357 if (!SWIG_IsOK(res2)(res2 >= 0)) {
24358 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAAeffArf_read" "', argument " "2"" of type '" "GFitsTable const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAAeffArf_read" "', argument "
"2"" of type '" "GFitsTable const &""'"); goto fail; } while
(0)
;
24359 }
24360 if (!argp2) {
24361 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAAeffArf_read" "', argument " "2"" of type '" "GFitsTable const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAAeffArf_read" "', argument " "2"" of type '"
"GFitsTable const &""'"); goto fail; } while(0)
;
24362 }
24363 arg2 = reinterpret_cast< GFitsTable * >(argp2);
24364 {
24365 try {
24366 (arg1)->read((GFitsTable const &)*arg2);
24367 }
24368 catch (const GException::out_of_range& e) {
24369 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
24370 }
24371 catch (const GExceptionHandler& e) {
24372 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24373 }
24374 catch (const std::exception& e) {
24375 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24376 }
24377 }
24378 resultobj = SWIG_Py_Void();
24379 return resultobj;
24380fail:
24381 return NULL__null;
24382}
24383
24384
24385SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeffArf_remove_thetacut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24386 PyObject *resultobj = 0;
24387 GCTAAeffArf *arg1 = (GCTAAeffArf *) 0 ;
24388 GCTAResponse *arg2 = 0 ;
24389 void *argp1 = 0 ;
24390 int res1 = 0 ;
24391 void *argp2 = 0 ;
24392 int res2 = 0 ;
24393 PyObject * obj0 = 0 ;
24394 PyObject * obj1 = 0 ;
24395
24396 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAAeffArf_remove_thetacut",&obj0,&obj1)) SWIG_failgoto fail;
24397 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeffArf, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[4],
0 | 0, 0)
;
24398 if (!SWIG_IsOK(res1)(res1 >= 0)) {
24399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeffArf_remove_thetacut" "', argument " "1"" of type '" "GCTAAeffArf *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeffArf_remove_thetacut"
"', argument " "1"" of type '" "GCTAAeffArf *""'"); goto fail
; } while(0)
;
24400 }
24401 arg1 = reinterpret_cast< GCTAAeffArf * >(argp1);
24402 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GCTAResponse, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[28]
, 0 | 0, 0)
;
24403 if (!SWIG_IsOK(res2)(res2 >= 0)) {
24404 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAAeffArf_remove_thetacut" "', argument " "2"" of type '" "GCTAResponse const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAAeffArf_remove_thetacut"
"', argument " "2"" of type '" "GCTAResponse const &""'"
); goto fail; } while(0)
;
24405 }
24406 if (!argp2) {
24407 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAAeffArf_remove_thetacut" "', argument " "2"" of type '" "GCTAResponse const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAAeffArf_remove_thetacut" "', argument " "2"
" of type '" "GCTAResponse const &""'"); goto fail; } while
(0)
;
24408 }
24409 arg2 = reinterpret_cast< GCTAResponse * >(argp2);
24410 {
24411 try {
24412 (arg1)->remove_thetacut((GCTAResponse const &)*arg2);
24413 }
24414 catch (const GException::out_of_range& e) {
24415 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
24416 }
24417 catch (const GExceptionHandler& e) {
24418 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24419 }
24420 catch (const std::exception& e) {
24421 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24422 }
24423 }
24424 resultobj = SWIG_Py_Void();
24425 return resultobj;
24426fail:
24427 return NULL__null;
24428}
24429
24430
24431SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeffArf_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24432 PyObject *resultobj = 0;
24433 GCTAAeffArf *arg1 = (GCTAAeffArf *) 0 ;
24434 void *argp1 = 0 ;
24435 int res1 = 0 ;
24436 PyObject * obj0 = 0 ;
24437 GCTAAeffArf result;
24438
24439 if (!PyArg_ParseTuple(args,(char *)"O:GCTAAeffArf_copy",&obj0)) SWIG_failgoto fail;
24440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeffArf, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[4],
0 | 0, 0)
;
24441 if (!SWIG_IsOK(res1)(res1 >= 0)) {
24442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeffArf_copy" "', argument " "1"" of type '" "GCTAAeffArf *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeffArf_copy" "', argument "
"1"" of type '" "GCTAAeffArf *""'"); goto fail; } while(0)
;
24443 }
24444 arg1 = reinterpret_cast< GCTAAeffArf * >(argp1);
24445 {
24446 try {
24447 result = GCTAAeffArf_copy(arg1);
24448 }
24449 catch (const GException::out_of_range& e) {
24450 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
24451 }
24452 catch (const GExceptionHandler& e) {
24453 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24454 }
24455 catch (const std::exception& e) {
24456 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24457 }
24458 }
24459 resultobj = SWIG_NewPointerObj((new GCTAAeffArf(static_cast< const GCTAAeffArf& >(result))), SWIGTYPE_p_GCTAAeffArf, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GCTAAeffArf(static_cast
< const GCTAAeffArf& >(result))), swig_types[4], 0x1
| 0)
;
24460 return resultobj;
24461fail:
24462 return NULL__null;
24463}
24464
24465
24466SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GCTAAeffArf_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24467 PyObject *obj;
24468 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
24469 SWIG_TypeNewClientData(SWIGTYPE_p_GCTAAeffArfswig_types[4], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
24470 return SWIG_Py_Void();
24471}
24472
24473SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAAeff2D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24474 PyObject *resultobj = 0;
24475 GCTAAeff2D *result = 0 ;
24476
24477 if (!PyArg_ParseTuple(args,(char *)":new_GCTAAeff2D")) SWIG_failgoto fail;
24478 {
24479 try {
24480 result = (GCTAAeff2D *)new GCTAAeff2D();
24481 }
24482 catch (const GException::out_of_range& e) {
24483 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
24484 }
24485 catch (const GExceptionHandler& e) {
24486 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24487 }
24488 catch (const std::exception& e) {
24489 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24490 }
24491 }
24492 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAAeff2D, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[3], ((
0x1 << 1) | 0x1) | 0)
;
24493 return resultobj;
24494fail:
24495 return NULL__null;
24496}
24497
24498
24499SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAAeff2D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24500 PyObject *resultobj = 0;
24501 std::string *arg1 = 0 ;
24502 int res1 = SWIG_OLDOBJ((0)) ;
24503 PyObject * obj0 = 0 ;
24504 GCTAAeff2D *result = 0 ;
24505
24506 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAAeff2D",&obj0)) SWIG_failgoto fail;
24507 {
24508 std::string *ptr = (std::string *)0;
24509 res1 = SWIG_AsPtr_std_string(obj0, &ptr);
24510 if (!SWIG_IsOK(res1)(res1 >= 0)) {
24511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAAeff2D" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAAeff2D" "', argument "
"1"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
24512 }
24513 if (!ptr) {
24514 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAAeff2D" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAAeff2D" "', argument " "1"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
24515 }
24516 arg1 = ptr;
24517 }
24518 {
24519 try {
24520 result = (GCTAAeff2D *)new GCTAAeff2D((std::string const &)*arg1);
24521 }
24522 catch (const GException::out_of_range& e) {
24523 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
24524 }
24525 catch (const GExceptionHandler& e) {
24526 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24527 }
24528 catch (const std::exception& e) {
24529 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24530 }
24531 }
24532 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAAeff2D, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[3], ((
0x1 << 1) | 0x1) | 0)
;
24533 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
24534 return resultobj;
24535fail:
24536 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
24537 return NULL__null;
24538}
24539
24540
24541SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAAeff2D__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24542 PyObject *resultobj = 0;
24543 GCTAAeff2D *arg1 = 0 ;
24544 void *argp1 = 0 ;
24545 int res1 = 0 ;
24546 PyObject * obj0 = 0 ;
24547 GCTAAeff2D *result = 0 ;
24548
24549 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAAeff2D",&obj0)) SWIG_failgoto fail;
24550 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GCTAAeff2D, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[3],
0 | 0, 0)
;
24551 if (!SWIG_IsOK(res1)(res1 >= 0)) {
24552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAAeff2D" "', argument " "1"" of type '" "GCTAAeff2D const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAAeff2D" "', argument "
"1"" of type '" "GCTAAeff2D const &""'"); goto fail; } while
(0)
;
24553 }
24554 if (!argp1) {
24555 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAAeff2D" "', argument " "1"" of type '" "GCTAAeff2D const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAAeff2D" "', argument " "1"" of type '"
"GCTAAeff2D const &""'"); goto fail; } while(0)
;
24556 }
24557 arg1 = reinterpret_cast< GCTAAeff2D * >(argp1);
24558 {
24559 try {
24560 result = (GCTAAeff2D *)new GCTAAeff2D((GCTAAeff2D const &)*arg1);
24561 }
24562 catch (const GException::out_of_range& e) {
24563 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
24564 }
24565 catch (const GExceptionHandler& e) {
24566 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24567 }
24568 catch (const std::exception& e) {
24569 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24570 }
24571 }
24572 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAAeff2D, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[3], ((
0x1 << 1) | 0x1) | 0)
;
24573 return resultobj;
24574fail:
24575 return NULL__null;
24576}
24577
24578
24579SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAAeff2D(PyObject *self, PyObject *args) {
24580 int argc;
24581 PyObject *argv[2];
24582 int ii;
24583
24584 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
24585 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
24586 for (ii = 0; (ii < 1) && (ii < argc); ii++) {
24587 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
24588 }
24589 if (argc == 0) {
24590 return _wrap_new_GCTAAeff2D__SWIG_0(self, args);
24591 }
24592 if (argc == 1) {
24593 int _v;
24594 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GCTAAeff2D, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[3], 0, 0);
24595 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24596 if (_v) {
24597 return _wrap_new_GCTAAeff2D__SWIG_2(self, args);
24598 }
24599 }
24600 if (argc == 1) {
24601 int _v;
24602 int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
24603 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24604 if (_v) {
24605 return _wrap_new_GCTAAeff2D__SWIG_1(self, args);
24606 }
24607 }
24608
24609fail:
24610 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GCTAAeff2D'.\n"
24611 " Possible C/C++ prototypes are:\n"
24612 " GCTAAeff2D::GCTAAeff2D()\n"
24613 " GCTAAeff2D::GCTAAeff2D(std::string const &)\n"
24614 " GCTAAeff2D::GCTAAeff2D(GCTAAeff2D const &)\n");
24615 return 0;
24616}
24617
24618
24619SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GCTAAeff2D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24620 PyObject *resultobj = 0;
24621 GCTAAeff2D *arg1 = (GCTAAeff2D *) 0 ;
24622 void *argp1 = 0 ;
24623 int res1 = 0 ;
24624 PyObject * obj0 = 0 ;
24625
24626 if (!PyArg_ParseTuple(args,(char *)"O:delete_GCTAAeff2D",&obj0)) SWIG_failgoto fail;
24627 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeff2D, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[3],
0x1 | 0, 0)
;
24628 if (!SWIG_IsOK(res1)(res1 >= 0)) {
24629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GCTAAeff2D" "', argument " "1"" of type '" "GCTAAeff2D *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GCTAAeff2D" "', argument "
"1"" of type '" "GCTAAeff2D *""'"); goto fail; } while(0)
;
24630 }
24631 arg1 = reinterpret_cast< GCTAAeff2D * >(argp1);
24632 {
24633 try {
24634 delete arg1;
24635 }
24636 catch (const GException::out_of_range& e) {
24637 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
24638 }
24639 catch (const GExceptionHandler& e) {
24640 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24641 }
24642 catch (const std::exception& e) {
24643 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24644 }
24645 }
24646 resultobj = SWIG_Py_Void();
24647 return resultobj;
24648fail:
24649 return NULL__null;
24650}
24651
24652
24653SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeff2D___call____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24654 PyObject *resultobj = 0;
24655 GCTAAeff2D *arg1 = (GCTAAeff2D *) 0 ;
24656 double *arg2 = 0 ;
24657 double *arg3 = 0 ;
24658 double *arg4 = 0 ;
24659 double *arg5 = 0 ;
24660 double *arg6 = 0 ;
24661 bool *arg7 = 0 ;
24662 void *argp1 = 0 ;
24663 int res1 = 0 ;
24664 double temp2 ;
24665 double val2 ;
24666 int ecode2 = 0 ;
24667 double temp3 ;
24668 double val3 ;
24669 int ecode3 = 0 ;
24670 double temp4 ;
24671 double val4 ;
24672 int ecode4 = 0 ;
24673 double temp5 ;
24674 double val5 ;
24675 int ecode5 = 0 ;
24676 double temp6 ;
24677 double val6 ;
24678 int ecode6 = 0 ;
24679 bool temp7 ;
24680 bool val7 ;
24681 int ecode7 = 0 ;
24682 PyObject * obj0 = 0 ;
24683 PyObject * obj1 = 0 ;
24684 PyObject * obj2 = 0 ;
24685 PyObject * obj3 = 0 ;
24686 PyObject * obj4 = 0 ;
24687 PyObject * obj5 = 0 ;
24688 PyObject * obj6 = 0 ;
24689 double result;
24690
24691 if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:GCTAAeff2D___call__",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_failgoto fail;
24692 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeff2D, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[3],
0 | 0, 0)
;
24693 if (!SWIG_IsOK(res1)(res1 >= 0)) {
24694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeff2D___call__" "', argument " "1"" of type '" "GCTAAeff2D const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeff2D___call__" "', argument "
"1"" of type '" "GCTAAeff2D const *""'"); goto fail; } while
(0)
;
24695 }
24696 arg1 = reinterpret_cast< GCTAAeff2D * >(argp1);
24697 ecode2 = SWIG_AsVal_double(obj1, &val2);
24698 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
24699 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAAeff2D___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAAeff2D___call__" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
24700 }
24701 temp2 = static_cast< double >(val2);
24702 arg2 = &temp2;
24703 ecode3 = SWIG_AsVal_double(obj2, &val3);
24704 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
24705 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAAeff2D___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAAeff2D___call__" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
24706 }
24707 temp3 = static_cast< double >(val3);
24708 arg3 = &temp3;
24709 ecode4 = SWIG_AsVal_double(obj3, &val4);
24710 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
24711 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAAeff2D___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAAeff2D___call__" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
24712 }
24713 temp4 = static_cast< double >(val4);
24714 arg4 = &temp4;
24715 ecode5 = SWIG_AsVal_double(obj4, &val5);
24716 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
24717 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAAeff2D___call__" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAAeff2D___call__" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
24718 }
24719 temp5 = static_cast< double >(val5);
24720 arg5 = &temp5;
24721 ecode6 = SWIG_AsVal_double(obj5, &val6);
24722 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
24723 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAAeff2D___call__" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAAeff2D___call__" "', argument "
"6"" of type '" "double""'"); goto fail; } while(0)
;
24724 }
24725 temp6 = static_cast< double >(val6);
24726 arg6 = &temp6;
24727 ecode7 = SWIG_AsVal_bool(obj6, &val7);
24728 if (!SWIG_IsOK(ecode7)(ecode7 >= 0)) {
24729 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GCTAAeff2D___call__" "', argument " "7"" of type '" "bool""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode7 !=
(-1)) ? ecode7 : -5)), "in method '" "GCTAAeff2D___call__" "', argument "
"7"" of type '" "bool""'"); goto fail; } while(0)
;
24730 }
24731 temp7 = static_cast< bool >(val7);
24732 arg7 = &temp7;
24733 {
24734 try {
24735 result = (double)((GCTAAeff2D const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6,(bool const &)*arg7);
24736 }
24737 catch (const GException::out_of_range& e) {
24738 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
24739 }
24740 catch (const GExceptionHandler& e) {
24741 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24742 }
24743 catch (const std::exception& e) {
24744 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24745 }
24746 }
24747 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
24748 return resultobj;
24749fail:
24750 return NULL__null;
24751}
24752
24753
24754SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeff2D___call____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24755 PyObject *resultobj = 0;
24756 GCTAAeff2D *arg1 = (GCTAAeff2D *) 0 ;
24757 double *arg2 = 0 ;
24758 double *arg3 = 0 ;
24759 double *arg4 = 0 ;
24760 double *arg5 = 0 ;
24761 double *arg6 = 0 ;
24762 void *argp1 = 0 ;
24763 int res1 = 0 ;
24764 double temp2 ;
24765 double val2 ;
24766 int ecode2 = 0 ;
24767 double temp3 ;
24768 double val3 ;
24769 int ecode3 = 0 ;
24770 double temp4 ;
24771 double val4 ;
24772 int ecode4 = 0 ;
24773 double temp5 ;
24774 double val5 ;
24775 int ecode5 = 0 ;
24776 double temp6 ;
24777 double val6 ;
24778 int ecode6 = 0 ;
24779 PyObject * obj0 = 0 ;
24780 PyObject * obj1 = 0 ;
24781 PyObject * obj2 = 0 ;
24782 PyObject * obj3 = 0 ;
24783 PyObject * obj4 = 0 ;
24784 PyObject * obj5 = 0 ;
24785 double result;
24786
24787 if (!PyArg_ParseTuple(args,(char *)"OOOOOO:GCTAAeff2D___call__",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_failgoto fail;
24788 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeff2D, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[3],
0 | 0, 0)
;
24789 if (!SWIG_IsOK(res1)(res1 >= 0)) {
24790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeff2D___call__" "', argument " "1"" of type '" "GCTAAeff2D const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeff2D___call__" "', argument "
"1"" of type '" "GCTAAeff2D const *""'"); goto fail; } while
(0)
;
24791 }
24792 arg1 = reinterpret_cast< GCTAAeff2D * >(argp1);
24793 ecode2 = SWIG_AsVal_double(obj1, &val2);
24794 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
24795 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAAeff2D___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAAeff2D___call__" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
24796 }
24797 temp2 = static_cast< double >(val2);
24798 arg2 = &temp2;
24799 ecode3 = SWIG_AsVal_double(obj2, &val3);
24800 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
24801 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAAeff2D___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAAeff2D___call__" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
24802 }
24803 temp3 = static_cast< double >(val3);
24804 arg3 = &temp3;
24805 ecode4 = SWIG_AsVal_double(obj3, &val4);
24806 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
24807 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAAeff2D___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAAeff2D___call__" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
24808 }
24809 temp4 = static_cast< double >(val4);
24810 arg4 = &temp4;
24811 ecode5 = SWIG_AsVal_double(obj4, &val5);
24812 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
24813 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAAeff2D___call__" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAAeff2D___call__" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
24814 }
24815 temp5 = static_cast< double >(val5);
24816 arg5 = &temp5;
24817 ecode6 = SWIG_AsVal_double(obj5, &val6);
24818 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
24819 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAAeff2D___call__" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAAeff2D___call__" "', argument "
"6"" of type '" "double""'"); goto fail; } while(0)
;
24820 }
24821 temp6 = static_cast< double >(val6);
24822 arg6 = &temp6;
24823 {
24824 try {
24825 result = (double)((GCTAAeff2D const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6);
24826 }
24827 catch (const GException::out_of_range& e) {
24828 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
24829 }
24830 catch (const GExceptionHandler& e) {
24831 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24832 }
24833 catch (const std::exception& e) {
24834 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24835 }
24836 }
24837 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
24838 return resultobj;
24839fail:
24840 return NULL__null;
24841}
24842
24843
24844SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeff2D___call____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24845 PyObject *resultobj = 0;
24846 GCTAAeff2D *arg1 = (GCTAAeff2D *) 0 ;
24847 double *arg2 = 0 ;
24848 double *arg3 = 0 ;
24849 double *arg4 = 0 ;
24850 double *arg5 = 0 ;
24851 void *argp1 = 0 ;
24852 int res1 = 0 ;
24853 double temp2 ;
24854 double val2 ;
24855 int ecode2 = 0 ;
24856 double temp3 ;
24857 double val3 ;
24858 int ecode3 = 0 ;
24859 double temp4 ;
24860 double val4 ;
24861 int ecode4 = 0 ;
24862 double temp5 ;
24863 double val5 ;
24864 int ecode5 = 0 ;
24865 PyObject * obj0 = 0 ;
24866 PyObject * obj1 = 0 ;
24867 PyObject * obj2 = 0 ;
24868 PyObject * obj3 = 0 ;
24869 PyObject * obj4 = 0 ;
24870 double result;
24871
24872 if (!PyArg_ParseTuple(args,(char *)"OOOOO:GCTAAeff2D___call__",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_failgoto fail;
24873 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeff2D, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[3],
0 | 0, 0)
;
24874 if (!SWIG_IsOK(res1)(res1 >= 0)) {
24875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeff2D___call__" "', argument " "1"" of type '" "GCTAAeff2D const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeff2D___call__" "', argument "
"1"" of type '" "GCTAAeff2D const *""'"); goto fail; } while
(0)
;
24876 }
24877 arg1 = reinterpret_cast< GCTAAeff2D * >(argp1);
24878 ecode2 = SWIG_AsVal_double(obj1, &val2);
24879 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
24880 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAAeff2D___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAAeff2D___call__" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
24881 }
24882 temp2 = static_cast< double >(val2);
24883 arg2 = &temp2;
24884 ecode3 = SWIG_AsVal_double(obj2, &val3);
24885 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
24886 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAAeff2D___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAAeff2D___call__" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
24887 }
24888 temp3 = static_cast< double >(val3);
24889 arg3 = &temp3;
24890 ecode4 = SWIG_AsVal_double(obj3, &val4);
24891 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
24892 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAAeff2D___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAAeff2D___call__" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
24893 }
24894 temp4 = static_cast< double >(val4);
24895 arg4 = &temp4;
24896 ecode5 = SWIG_AsVal_double(obj4, &val5);
24897 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
24898 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAAeff2D___call__" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAAeff2D___call__" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
24899 }
24900 temp5 = static_cast< double >(val5);
24901 arg5 = &temp5;
24902 {
24903 try {
24904 result = (double)((GCTAAeff2D const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5);
24905 }
24906 catch (const GException::out_of_range& e) {
24907 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
24908 }
24909 catch (const GExceptionHandler& e) {
24910 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24911 }
24912 catch (const std::exception& e) {
24913 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24914 }
24915 }
24916 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
24917 return resultobj;
24918fail:
24919 return NULL__null;
24920}
24921
24922
24923SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeff2D___call____SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24924 PyObject *resultobj = 0;
24925 GCTAAeff2D *arg1 = (GCTAAeff2D *) 0 ;
24926 double *arg2 = 0 ;
24927 double *arg3 = 0 ;
24928 double *arg4 = 0 ;
24929 void *argp1 = 0 ;
24930 int res1 = 0 ;
24931 double temp2 ;
24932 double val2 ;
24933 int ecode2 = 0 ;
24934 double temp3 ;
24935 double val3 ;
24936 int ecode3 = 0 ;
24937 double temp4 ;
24938 double val4 ;
24939 int ecode4 = 0 ;
24940 PyObject * obj0 = 0 ;
24941 PyObject * obj1 = 0 ;
24942 PyObject * obj2 = 0 ;
24943 PyObject * obj3 = 0 ;
24944 double result;
24945
24946 if (!PyArg_ParseTuple(args,(char *)"OOOO:GCTAAeff2D___call__",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
24947 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeff2D, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[3],
0 | 0, 0)
;
24948 if (!SWIG_IsOK(res1)(res1 >= 0)) {
24949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeff2D___call__" "', argument " "1"" of type '" "GCTAAeff2D const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeff2D___call__" "', argument "
"1"" of type '" "GCTAAeff2D const *""'"); goto fail; } while
(0)
;
24950 }
24951 arg1 = reinterpret_cast< GCTAAeff2D * >(argp1);
24952 ecode2 = SWIG_AsVal_double(obj1, &val2);
24953 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
24954 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAAeff2D___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAAeff2D___call__" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
24955 }
24956 temp2 = static_cast< double >(val2);
24957 arg2 = &temp2;
24958 ecode3 = SWIG_AsVal_double(obj2, &val3);
24959 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
24960 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAAeff2D___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAAeff2D___call__" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
24961 }
24962 temp3 = static_cast< double >(val3);
24963 arg3 = &temp3;
24964 ecode4 = SWIG_AsVal_double(obj3, &val4);
24965 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
24966 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAAeff2D___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAAeff2D___call__" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
24967 }
24968 temp4 = static_cast< double >(val4);
24969 arg4 = &temp4;
24970 {
24971 try {
24972 result = (double)((GCTAAeff2D const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4);
24973 }
24974 catch (const GException::out_of_range& e) {
24975 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
24976 }
24977 catch (const GExceptionHandler& e) {
24978 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24979 }
24980 catch (const std::exception& e) {
24981 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24982 }
24983 }
24984 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
24985 return resultobj;
24986fail:
24987 return NULL__null;
24988}
24989
24990
24991SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeff2D___call____SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24992 PyObject *resultobj = 0;
24993 GCTAAeff2D *arg1 = (GCTAAeff2D *) 0 ;
24994 double *arg2 = 0 ;
24995 double *arg3 = 0 ;
24996 void *argp1 = 0 ;
24997 int res1 = 0 ;
24998 double temp2 ;
24999 double val2 ;
25000 int ecode2 = 0 ;
25001 double temp3 ;
25002 double val3 ;
25003 int ecode3 = 0 ;
25004 PyObject * obj0 = 0 ;
25005 PyObject * obj1 = 0 ;
25006 PyObject * obj2 = 0 ;
25007 double result;
25008
25009 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAAeff2D___call__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
25010 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeff2D, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[3],
0 | 0, 0)
;
25011 if (!SWIG_IsOK(res1)(res1 >= 0)) {
25012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeff2D___call__" "', argument " "1"" of type '" "GCTAAeff2D const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeff2D___call__" "', argument "
"1"" of type '" "GCTAAeff2D const *""'"); goto fail; } while
(0)
;
25013 }
25014 arg1 = reinterpret_cast< GCTAAeff2D * >(argp1);
25015 ecode2 = SWIG_AsVal_double(obj1, &val2);
25016 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
25017 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAAeff2D___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAAeff2D___call__" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
25018 }
25019 temp2 = static_cast< double >(val2);
25020 arg2 = &temp2;
25021 ecode3 = SWIG_AsVal_double(obj2, &val3);
25022 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
25023 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAAeff2D___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAAeff2D___call__" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
25024 }
25025 temp3 = static_cast< double >(val3);
25026 arg3 = &temp3;
25027 {
25028 try {
25029 result = (double)((GCTAAeff2D const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3);
25030 }
25031 catch (const GException::out_of_range& e) {
25032 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
25033 }
25034 catch (const GExceptionHandler& e) {
25035 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25036 }
25037 catch (const std::exception& e) {
25038 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25039 }
25040 }
25041 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
25042 return resultobj;
25043fail:
25044 return NULL__null;
25045}
25046
25047
25048SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeff2D___call____SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25049 PyObject *resultobj = 0;
25050 GCTAAeff2D *arg1 = (GCTAAeff2D *) 0 ;
25051 double *arg2 = 0 ;
25052 void *argp1 = 0 ;
25053 int res1 = 0 ;
25054 double temp2 ;
25055 double val2 ;
25056 int ecode2 = 0 ;
25057 PyObject * obj0 = 0 ;
25058 PyObject * obj1 = 0 ;
25059 double result;
25060
25061 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAAeff2D___call__",&obj0,&obj1)) SWIG_failgoto fail;
25062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeff2D, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[3],
0 | 0, 0)
;
25063 if (!SWIG_IsOK(res1)(res1 >= 0)) {
25064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeff2D___call__" "', argument " "1"" of type '" "GCTAAeff2D const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeff2D___call__" "', argument "
"1"" of type '" "GCTAAeff2D const *""'"); goto fail; } while
(0)
;
25065 }
25066 arg1 = reinterpret_cast< GCTAAeff2D * >(argp1);
25067 ecode2 = SWIG_AsVal_double(obj1, &val2);
25068 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
25069 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAAeff2D___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAAeff2D___call__" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
25070 }
25071 temp2 = static_cast< double >(val2);
25072 arg2 = &temp2;
25073 {
25074 try {
25075 result = (double)((GCTAAeff2D const *)arg1)->operator ()((double const &)*arg2);
25076 }
25077 catch (const GException::out_of_range& e) {
25078 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
25079 }
25080 catch (const GExceptionHandler& e) {
25081 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25082 }
25083 catch (const std::exception& e) {
25084 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25085 }
25086 }
25087 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
25088 return resultobj;
25089fail:
25090 return NULL__null;
25091}
25092
25093
25094SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeff2D___call__(PyObject *self, PyObject *args) {
25095 int argc;
25096 PyObject *argv[8];
25097 int ii;
25098
25099 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
25100 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
25101 for (ii = 0; (ii < 7) && (ii < argc); ii++) {
25102 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
25103 }
25104 if (argc == 2) {
25105 int _v;
25106 void *vptr = 0;
25107 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAAeff2D, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[3
], 0, 0)
;
25108 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25109 if (_v) {
25110 {
25111 int res = SWIG_AsVal_double(argv[1], NULL__null);
25112 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25113 }
25114 if (_v) {
25115 return _wrap_GCTAAeff2D___call____SWIG_5(self, args);
25116 }
25117 }
25118 }
25119 if (argc == 3) {
25120 int _v;
25121 void *vptr = 0;
25122 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAAeff2D, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[3
], 0, 0)
;
25123 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25124 if (_v) {
25125 {
25126 int res = SWIG_AsVal_double(argv[1], NULL__null);
25127 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25128 }
25129 if (_v) {
25130 {
25131 int res = SWIG_AsVal_double(argv[2], NULL__null);
25132 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25133 }
25134 if (_v) {
25135 return _wrap_GCTAAeff2D___call____SWIG_4(self, args);
25136 }
25137 }
25138 }
25139 }
25140 if (argc == 4) {
25141 int _v;
25142 void *vptr = 0;
25143 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAAeff2D, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[3
], 0, 0)
;
25144 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25145 if (_v) {
25146 {
25147 int res = SWIG_AsVal_double(argv[1], NULL__null);
25148 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25149 }
25150 if (_v) {
25151 {
25152 int res = SWIG_AsVal_double(argv[2], NULL__null);
25153 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25154 }
25155 if (_v) {
25156 {
25157 int res = SWIG_AsVal_double(argv[3], NULL__null);
25158 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25159 }
25160 if (_v) {
25161 return _wrap_GCTAAeff2D___call____SWIG_3(self, args);
25162 }
25163 }
25164 }
25165 }
25166 }
25167 if (argc == 5) {
25168 int _v;
25169 void *vptr = 0;
25170 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAAeff2D, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[3
], 0, 0)
;
25171 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25172 if (_v) {
25173 {
25174 int res = SWIG_AsVal_double(argv[1], NULL__null);
25175 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25176 }
25177 if (_v) {
25178 {
25179 int res = SWIG_AsVal_double(argv[2], NULL__null);
25180 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25181 }
25182 if (_v) {
25183 {
25184 int res = SWIG_AsVal_double(argv[3], NULL__null);
25185 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25186 }
25187 if (_v) {
25188 {
25189 int res = SWIG_AsVal_double(argv[4], NULL__null);
25190 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25191 }
25192 if (_v) {
25193 return _wrap_GCTAAeff2D___call____SWIG_2(self, args);
25194 }
25195 }
25196 }
25197 }
25198 }
25199 }
25200 if (argc == 6) {
25201 int _v;
25202 void *vptr = 0;
25203 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAAeff2D, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[3
], 0, 0)
;
25204 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25205 if (_v) {
25206 {
25207 int res = SWIG_AsVal_double(argv[1], NULL__null);
25208 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25209 }
25210 if (_v) {
25211 {
25212 int res = SWIG_AsVal_double(argv[2], NULL__null);
25213 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25214 }
25215 if (_v) {
25216 {
25217 int res = SWIG_AsVal_double(argv[3], NULL__null);
25218 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25219 }
25220 if (_v) {
25221 {
25222 int res = SWIG_AsVal_double(argv[4], NULL__null);
25223 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25224 }
25225 if (_v) {
25226 {
25227 int res = SWIG_AsVal_double(argv[5], NULL__null);
25228 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25229 }
25230 if (_v) {
25231 return _wrap_GCTAAeff2D___call____SWIG_1(self, args);
25232 }
25233 }
25234 }
25235 }
25236 }
25237 }
25238 }
25239 if (argc == 7) {
25240 int _v;
25241 void *vptr = 0;
25242 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAAeff2D, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[3
], 0, 0)
;
25243 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25244 if (_v) {
25245 {
25246 int res = SWIG_AsVal_double(argv[1], NULL__null);
25247 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25248 }
25249 if (_v) {
25250 {
25251 int res = SWIG_AsVal_double(argv[2], NULL__null);
25252 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25253 }
25254 if (_v) {
25255 {
25256 int res = SWIG_AsVal_double(argv[3], NULL__null);
25257 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25258 }
25259 if (_v) {
25260 {
25261 int res = SWIG_AsVal_double(argv[4], NULL__null);
25262 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25263 }
25264 if (_v) {
25265 {
25266 int res = SWIG_AsVal_double(argv[5], NULL__null);
25267 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25268 }
25269 if (_v) {
25270 {
25271 int res = SWIG_AsVal_bool(argv[6], NULL__null);
25272 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25273 }
25274 if (_v) {
25275 return _wrap_GCTAAeff2D___call____SWIG_0(self, args);
25276 }
25277 }
25278 }
25279 }
25280 }
25281 }
25282 }
25283 }
25284
25285fail:
25286 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAAeff2D___call__'.\n"
25287 " Possible C/C++ prototypes are:\n"
25288 " GCTAAeff2D::operator ()(double const &,double const &,double const &,double const &,double const &,bool const &) const\n"
25289 " GCTAAeff2D::operator ()(double const &,double const &,double const &,double const &,double const &) const\n"
25290 " GCTAAeff2D::operator ()(double const &,double const &,double const &,double const &) const\n"
25291 " GCTAAeff2D::operator ()(double const &,double const &,double const &) const\n"
25292 " GCTAAeff2D::operator ()(double const &,double const &) const\n"
25293 " GCTAAeff2D::operator ()(double const &) const\n");
25294 return 0;
25295}
25296
25297
25298SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeff2D_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25299 PyObject *resultobj = 0;
25300 GCTAAeff2D *arg1 = (GCTAAeff2D *) 0 ;
25301 void *argp1 = 0 ;
25302 int res1 = 0 ;
25303 PyObject * obj0 = 0 ;
25304
25305 if (!PyArg_ParseTuple(args,(char *)"O:GCTAAeff2D_clear",&obj0)) SWIG_failgoto fail;
25306 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeff2D, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[3],
0 | 0, 0)
;
25307 if (!SWIG_IsOK(res1)(res1 >= 0)) {
25308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeff2D_clear" "', argument " "1"" of type '" "GCTAAeff2D *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeff2D_clear" "', argument "
"1"" of type '" "GCTAAeff2D *""'"); goto fail; } while(0)
;
25309 }
25310 arg1 = reinterpret_cast< GCTAAeff2D * >(argp1);
25311 {
25312 try {
25313 (arg1)->clear();
25314 }
25315 catch (const GException::out_of_range& e) {
25316 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
25317 }
25318 catch (const GExceptionHandler& e) {
25319 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25320 }
25321 catch (const std::exception& e) {
25322 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25323 }
25324 }
25325 resultobj = SWIG_Py_Void();
25326 return resultobj;
25327fail:
25328 return NULL__null;
25329}
25330
25331
25332SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeff2D_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25333 PyObject *resultobj = 0;
25334 GCTAAeff2D *arg1 = (GCTAAeff2D *) 0 ;
25335 void *argp1 = 0 ;
25336 int res1 = 0 ;
25337 PyObject * obj0 = 0 ;
25338 GCTAAeff2D *result = 0 ;
25339
25340 if (!PyArg_ParseTuple(args,(char *)"O:GCTAAeff2D_clone",&obj0)) SWIG_failgoto fail;
25341 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeff2D, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[3],
0 | 0, 0)
;
25342 if (!SWIG_IsOK(res1)(res1 >= 0)) {
25343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeff2D_clone" "', argument " "1"" of type '" "GCTAAeff2D const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeff2D_clone" "', argument "
"1"" of type '" "GCTAAeff2D const *""'"); goto fail; } while
(0)
;
25344 }
25345 arg1 = reinterpret_cast< GCTAAeff2D * >(argp1);
25346 {
25347 try {
25348 result = (GCTAAeff2D *)((GCTAAeff2D const *)arg1)->clone();
25349 }
25350 catch (const GException::out_of_range& e) {
25351 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
25352 }
25353 catch (const GExceptionHandler& e) {
25354 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25355 }
25356 catch (const std::exception& e) {
25357 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25358 }
25359 }
25360 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAAeff2D, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[3], 0 |
0)
;
25361 return resultobj;
25362fail:
25363 return NULL__null;
25364}
25365
25366
25367SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeff2D_load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25368 PyObject *resultobj = 0;
25369 GCTAAeff2D *arg1 = (GCTAAeff2D *) 0 ;
25370 std::string *arg2 = 0 ;
25371 void *argp1 = 0 ;
25372 int res1 = 0 ;
25373 int res2 = SWIG_OLDOBJ((0)) ;
25374 PyObject * obj0 = 0 ;
25375 PyObject * obj1 = 0 ;
25376
25377 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAAeff2D_load",&obj0,&obj1)) SWIG_failgoto fail;
25378 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeff2D, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[3],
0 | 0, 0)
;
25379 if (!SWIG_IsOK(res1)(res1 >= 0)) {
25380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeff2D_load" "', argument " "1"" of type '" "GCTAAeff2D *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeff2D_load" "', argument "
"1"" of type '" "GCTAAeff2D *""'"); goto fail; } while(0)
;
25381 }
25382 arg1 = reinterpret_cast< GCTAAeff2D * >(argp1);
25383 {
25384 std::string *ptr = (std::string *)0;
25385 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
25386 if (!SWIG_IsOK(res2)(res2 >= 0)) {
25387 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAAeff2D_load" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAAeff2D_load" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
25388 }
25389 if (!ptr) {
25390 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAAeff2D_load" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAAeff2D_load" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
25391 }
25392 arg2 = ptr;
25393 }
25394 {
25395 try {
25396 (arg1)->load((std::string const &)*arg2);
25397 }
25398 catch (const GException::out_of_range& e) {
25399 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
25400 }
25401 catch (const GExceptionHandler& e) {
25402 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25403 }
25404 catch (const std::exception& e) {
25405 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25406 }
25407 }
25408 resultobj = SWIG_Py_Void();
25409 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
25410 return resultobj;
25411fail:
25412 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
25413 return NULL__null;
25414}
25415
25416
25417SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeff2D_filename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25418 PyObject *resultobj = 0;
25419 GCTAAeff2D *arg1 = (GCTAAeff2D *) 0 ;
25420 void *argp1 = 0 ;
25421 int res1 = 0 ;
25422 PyObject * obj0 = 0 ;
25423 std::string result;
25424
25425 if (!PyArg_ParseTuple(args,(char *)"O:GCTAAeff2D_filename",&obj0)) SWIG_failgoto fail;
25426 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeff2D, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[3],
0 | 0, 0)
;
25427 if (!SWIG_IsOK(res1)(res1 >= 0)) {
25428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeff2D_filename" "', argument " "1"" of type '" "GCTAAeff2D const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeff2D_filename" "', argument "
"1"" of type '" "GCTAAeff2D const *""'"); goto fail; } while
(0)
;
25429 }
25430 arg1 = reinterpret_cast< GCTAAeff2D * >(argp1);
25431 {
25432 try {
25433 result = ((GCTAAeff2D const *)arg1)->filename();
25434 }
25435 catch (const GException::out_of_range& e) {
25436 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
25437 }
25438 catch (const GExceptionHandler& e) {
25439 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25440 }
25441 catch (const std::exception& e) {
25442 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25443 }
25444 }
25445 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
25446 return resultobj;
25447fail:
25448 return NULL__null;
25449}
25450
25451
25452SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeff2D_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25453 PyObject *resultobj = 0;
25454 GCTAAeff2D *arg1 = (GCTAAeff2D *) 0 ;
25455 GFits *arg2 = 0 ;
25456 void *argp1 = 0 ;
25457 int res1 = 0 ;
25458 void *argp2 = 0 ;
25459 int res2 = 0 ;
25460 PyObject * obj0 = 0 ;
25461 PyObject * obj1 = 0 ;
25462
25463 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAAeff2D_read",&obj0,&obj1)) SWIG_failgoto fail;
25464 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeff2D, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[3],
0 | 0, 0)
;
25465 if (!SWIG_IsOK(res1)(res1 >= 0)) {
25466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeff2D_read" "', argument " "1"" of type '" "GCTAAeff2D *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeff2D_read" "', argument "
"1"" of type '" "GCTAAeff2D *""'"); goto fail; } while(0)
;
25467 }
25468 arg1 = reinterpret_cast< GCTAAeff2D * >(argp1);
25469 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GFits, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[40]
, 0 | 0, 0)
;
25470 if (!SWIG_IsOK(res2)(res2 >= 0)) {
25471 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAAeff2D_read" "', argument " "2"" of type '" "GFits const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAAeff2D_read" "', argument "
"2"" of type '" "GFits const &""'"); goto fail; } while(
0)
;
25472 }
25473 if (!argp2) {
25474 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAAeff2D_read" "', argument " "2"" of type '" "GFits const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAAeff2D_read" "', argument " "2"" of type '"
"GFits const &""'"); goto fail; } while(0)
;
25475 }
25476 arg2 = reinterpret_cast< GFits * >(argp2);
25477 {
25478 try {
25479 (arg1)->read((GFits const &)*arg2);
25480 }
25481 catch (const GException::out_of_range& e) {
25482 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
25483 }
25484 catch (const GExceptionHandler& e) {
25485 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25486 }
25487 catch (const std::exception& e) {
25488 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25489 }
25490 }
25491 resultobj = SWIG_Py_Void();
25492 return resultobj;
25493fail:
25494 return NULL__null;
25495}
25496
25497
25498SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAAeff2D_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25499 PyObject *resultobj = 0;
25500 GCTAAeff2D *arg1 = (GCTAAeff2D *) 0 ;
25501 void *argp1 = 0 ;
25502 int res1 = 0 ;
25503 PyObject * obj0 = 0 ;
25504 GCTAAeff2D result;
25505
25506 if (!PyArg_ParseTuple(args,(char *)"O:GCTAAeff2D_copy",&obj0)) SWIG_failgoto fail;
25507 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAAeff2D, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[3],
0 | 0, 0)
;
25508 if (!SWIG_IsOK(res1)(res1 >= 0)) {
25509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAAeff2D_copy" "', argument " "1"" of type '" "GCTAAeff2D *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAAeff2D_copy" "', argument "
"1"" of type '" "GCTAAeff2D *""'"); goto fail; } while(0)
;
25510 }
25511 arg1 = reinterpret_cast< GCTAAeff2D * >(argp1);
25512 {
25513 try {
25514 result = GCTAAeff2D_copy(arg1);
25515 }
25516 catch (const GException::out_of_range& e) {
25517 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
25518 }
25519 catch (const GExceptionHandler& e) {
25520 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25521 }
25522 catch (const std::exception& e) {
25523 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25524 }
25525 }
25526 resultobj = SWIG_NewPointerObj((new GCTAAeff2D(static_cast< const GCTAAeff2D& >(result))), SWIGTYPE_p_GCTAAeff2D, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GCTAAeff2D(static_cast
< const GCTAAeff2D& >(result))), swig_types[3], 0x1
| 0)
;
25527 return resultobj;
25528fail:
25529 return NULL__null;
25530}
25531
25532
25533SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GCTAAeff2D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25534 PyObject *obj;
25535 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
25536 SWIG_TypeNewClientData(SWIGTYPE_p_GCTAAeff2Dswig_types[3], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
25537 return SWIG_Py_Void();
25538}
25539
25540SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GCTAPsf(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25541 PyObject *resultobj = 0;
25542 GCTAPsf *arg1 = (GCTAPsf *) 0 ;
25543 void *argp1 = 0 ;
25544 int res1 = 0 ;
25545 PyObject * obj0 = 0 ;
25546
25547 if (!PyArg_ParseTuple(args,(char *)"O:delete_GCTAPsf",&obj0)) SWIG_failgoto fail;
25548 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[23]
, 0x1 | 0, 0)
;
25549 if (!SWIG_IsOK(res1)(res1 >= 0)) {
25550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GCTAPsf" "', argument " "1"" of type '" "GCTAPsf *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GCTAPsf" "', argument "
"1"" of type '" "GCTAPsf *""'"); goto fail; } while(0)
;
25551 }
25552 arg1 = reinterpret_cast< GCTAPsf * >(argp1);
25553 {
25554 try {
25555 delete arg1;
25556 }
25557 catch (const GException::out_of_range& e) {
25558 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
25559 }
25560 catch (const GExceptionHandler& e) {
25561 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25562 }
25563 catch (const std::exception& e) {
25564 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25565 }
25566 }
25567 resultobj = SWIG_Py_Void();
25568 return resultobj;
25569fail:
25570 return NULL__null;
25571}
25572
25573
25574SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf___call____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25575 PyObject *resultobj = 0;
25576 GCTAPsf *arg1 = (GCTAPsf *) 0 ;
25577 double *arg2 = 0 ;
25578 double *arg3 = 0 ;
25579 double *arg4 = 0 ;
25580 double *arg5 = 0 ;
25581 double *arg6 = 0 ;
25582 double *arg7 = 0 ;
25583 bool *arg8 = 0 ;
25584 void *argp1 = 0 ;
25585 int res1 = 0 ;
25586 double temp2 ;
25587 double val2 ;
25588 int ecode2 = 0 ;
25589 double temp3 ;
25590 double val3 ;
25591 int ecode3 = 0 ;
25592 double temp4 ;
25593 double val4 ;
25594 int ecode4 = 0 ;
25595 double temp5 ;
25596 double val5 ;
25597 int ecode5 = 0 ;
25598 double temp6 ;
25599 double val6 ;
25600 int ecode6 = 0 ;
25601 double temp7 ;
25602 double val7 ;
25603 int ecode7 = 0 ;
25604 bool temp8 ;
25605 bool val8 ;
25606 int ecode8 = 0 ;
25607 PyObject * obj0 = 0 ;
25608 PyObject * obj1 = 0 ;
25609 PyObject * obj2 = 0 ;
25610 PyObject * obj3 = 0 ;
25611 PyObject * obj4 = 0 ;
25612 PyObject * obj5 = 0 ;
25613 PyObject * obj6 = 0 ;
25614 PyObject * obj7 = 0 ;
25615 double result;
25616
25617 if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:GCTAPsf___call__",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_failgoto fail;
25618 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[23]
, 0 | 0, 0)
;
25619 if (!SWIG_IsOK(res1)(res1 >= 0)) {
25620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf___call__" "', argument " "1"" of type '" "GCTAPsf const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf___call__" "', argument "
"1"" of type '" "GCTAPsf const *""'"); goto fail; } while(0)
;
25621 }
25622 arg1 = reinterpret_cast< GCTAPsf * >(argp1);
25623 ecode2 = SWIG_AsVal_double(obj1, &val2);
25624 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
25625 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsf___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsf___call__" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
25626 }
25627 temp2 = static_cast< double >(val2);
25628 arg2 = &temp2;
25629 ecode3 = SWIG_AsVal_double(obj2, &val3);
25630 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
25631 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsf___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsf___call__" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
25632 }
25633 temp3 = static_cast< double >(val3);
25634 arg3 = &temp3;
25635 ecode4 = SWIG_AsVal_double(obj3, &val4);
25636 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
25637 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsf___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsf___call__" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
25638 }
25639 temp4 = static_cast< double >(val4);
25640 arg4 = &temp4;
25641 ecode5 = SWIG_AsVal_double(obj4, &val5);
25642 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
25643 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsf___call__" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsf___call__" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
25644 }
25645 temp5 = static_cast< double >(val5);
25646 arg5 = &temp5;
25647 ecode6 = SWIG_AsVal_double(obj5, &val6);
25648 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
25649 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAPsf___call__" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAPsf___call__" "', argument "
"6"" of type '" "double""'"); goto fail; } while(0)
;
25650 }
25651 temp6 = static_cast< double >(val6);
25652 arg6 = &temp6;
25653 ecode7 = SWIG_AsVal_double(obj6, &val7);
25654 if (!SWIG_IsOK(ecode7)(ecode7 >= 0)) {
25655 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GCTAPsf___call__" "', argument " "7"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode7 !=
(-1)) ? ecode7 : -5)), "in method '" "GCTAPsf___call__" "', argument "
"7"" of type '" "double""'"); goto fail; } while(0)
;
25656 }
25657 temp7 = static_cast< double >(val7);
25658 arg7 = &temp7;
25659 ecode8 = SWIG_AsVal_bool(obj7, &val8);
25660 if (!SWIG_IsOK(ecode8)(ecode8 >= 0)) {
25661 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "GCTAPsf___call__" "', argument " "8"" of type '" "bool""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode8 !=
(-1)) ? ecode8 : -5)), "in method '" "GCTAPsf___call__" "', argument "
"8"" of type '" "bool""'"); goto fail; } while(0)
;
25662 }
25663 temp8 = static_cast< bool >(val8);
25664 arg8 = &temp8;
25665 {
25666 try {
25667 result = (double)((GCTAPsf const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6,(double const &)*arg7,(bool const &)*arg8);
25668 }
25669 catch (const GException::out_of_range& e) {
25670 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
25671 }
25672 catch (const GExceptionHandler& e) {
25673 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25674 }
25675 catch (const std::exception& e) {
25676 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25677 }
25678 }
25679 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
25680 return resultobj;
25681fail:
25682 return NULL__null;
25683}
25684
25685
25686SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf___call____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25687 PyObject *resultobj = 0;
25688 GCTAPsf *arg1 = (GCTAPsf *) 0 ;
25689 double *arg2 = 0 ;
25690 double *arg3 = 0 ;
25691 double *arg4 = 0 ;
25692 double *arg5 = 0 ;
25693 double *arg6 = 0 ;
25694 double *arg7 = 0 ;
25695 void *argp1 = 0 ;
25696 int res1 = 0 ;
25697 double temp2 ;
25698 double val2 ;
25699 int ecode2 = 0 ;
25700 double temp3 ;
25701 double val3 ;
25702 int ecode3 = 0 ;
25703 double temp4 ;
25704 double val4 ;
25705 int ecode4 = 0 ;
25706 double temp5 ;
25707 double val5 ;
25708 int ecode5 = 0 ;
25709 double temp6 ;
25710 double val6 ;
25711 int ecode6 = 0 ;
25712 double temp7 ;
25713 double val7 ;
25714 int ecode7 = 0 ;
25715 PyObject * obj0 = 0 ;
25716 PyObject * obj1 = 0 ;
25717 PyObject * obj2 = 0 ;
25718 PyObject * obj3 = 0 ;
25719 PyObject * obj4 = 0 ;
25720 PyObject * obj5 = 0 ;
25721 PyObject * obj6 = 0 ;
25722 double result;
25723
25724 if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:GCTAPsf___call__",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_failgoto fail;
25725 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[23]
, 0 | 0, 0)
;
25726 if (!SWIG_IsOK(res1)(res1 >= 0)) {
25727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf___call__" "', argument " "1"" of type '" "GCTAPsf const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf___call__" "', argument "
"1"" of type '" "GCTAPsf const *""'"); goto fail; } while(0)
;
25728 }
25729 arg1 = reinterpret_cast< GCTAPsf * >(argp1);
25730 ecode2 = SWIG_AsVal_double(obj1, &val2);
25731 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
25732 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsf___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsf___call__" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
25733 }
25734 temp2 = static_cast< double >(val2);
25735 arg2 = &temp2;
25736 ecode3 = SWIG_AsVal_double(obj2, &val3);
25737 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
25738 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsf___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsf___call__" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
25739 }
25740 temp3 = static_cast< double >(val3);
25741 arg3 = &temp3;
25742 ecode4 = SWIG_AsVal_double(obj3, &val4);
25743 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
25744 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsf___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsf___call__" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
25745 }
25746 temp4 = static_cast< double >(val4);
25747 arg4 = &temp4;
25748 ecode5 = SWIG_AsVal_double(obj4, &val5);
25749 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
25750 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsf___call__" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsf___call__" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
25751 }
25752 temp5 = static_cast< double >(val5);
25753 arg5 = &temp5;
25754 ecode6 = SWIG_AsVal_double(obj5, &val6);
25755 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
25756 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAPsf___call__" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAPsf___call__" "', argument "
"6"" of type '" "double""'"); goto fail; } while(0)
;
25757 }
25758 temp6 = static_cast< double >(val6);
25759 arg6 = &temp6;
25760 ecode7 = SWIG_AsVal_double(obj6, &val7);
25761 if (!SWIG_IsOK(ecode7)(ecode7 >= 0)) {
25762 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GCTAPsf___call__" "', argument " "7"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode7 !=
(-1)) ? ecode7 : -5)), "in method '" "GCTAPsf___call__" "', argument "
"7"" of type '" "double""'"); goto fail; } while(0)
;
25763 }
25764 temp7 = static_cast< double >(val7);
25765 arg7 = &temp7;
25766 {
25767 try {
25768 result = (double)((GCTAPsf const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6,(double const &)*arg7);
25769 }
25770 catch (const GException::out_of_range& e) {
25771 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
25772 }
25773 catch (const GExceptionHandler& e) {
25774 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25775 }
25776 catch (const std::exception& e) {
25777 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25778 }
25779 }
25780 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
25781 return resultobj;
25782fail:
25783 return NULL__null;
25784}
25785
25786
25787SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf___call____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25788 PyObject *resultobj = 0;
25789 GCTAPsf *arg1 = (GCTAPsf *) 0 ;
25790 double *arg2 = 0 ;
25791 double *arg3 = 0 ;
25792 double *arg4 = 0 ;
25793 double *arg5 = 0 ;
25794 double *arg6 = 0 ;
25795 void *argp1 = 0 ;
25796 int res1 = 0 ;
25797 double temp2 ;
25798 double val2 ;
25799 int ecode2 = 0 ;
25800 double temp3 ;
25801 double val3 ;
25802 int ecode3 = 0 ;
25803 double temp4 ;
25804 double val4 ;
25805 int ecode4 = 0 ;
25806 double temp5 ;
25807 double val5 ;
25808 int ecode5 = 0 ;
25809 double temp6 ;
25810 double val6 ;
25811 int ecode6 = 0 ;
25812 PyObject * obj0 = 0 ;
25813 PyObject * obj1 = 0 ;
25814 PyObject * obj2 = 0 ;
25815 PyObject * obj3 = 0 ;
25816 PyObject * obj4 = 0 ;
25817 PyObject * obj5 = 0 ;
25818 double result;
25819
25820 if (!PyArg_ParseTuple(args,(char *)"OOOOOO:GCTAPsf___call__",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_failgoto fail;
25821 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[23]
, 0 | 0, 0)
;
25822 if (!SWIG_IsOK(res1)(res1 >= 0)) {
25823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf___call__" "', argument " "1"" of type '" "GCTAPsf const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf___call__" "', argument "
"1"" of type '" "GCTAPsf const *""'"); goto fail; } while(0)
;
25824 }
25825 arg1 = reinterpret_cast< GCTAPsf * >(argp1);
25826 ecode2 = SWIG_AsVal_double(obj1, &val2);
25827 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
25828 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsf___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsf___call__" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
25829 }
25830 temp2 = static_cast< double >(val2);
25831 arg2 = &temp2;
25832 ecode3 = SWIG_AsVal_double(obj2, &val3);
25833 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
25834 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsf___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsf___call__" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
25835 }
25836 temp3 = static_cast< double >(val3);
25837 arg3 = &temp3;
25838 ecode4 = SWIG_AsVal_double(obj3, &val4);
25839 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
25840 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsf___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsf___call__" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
25841 }
25842 temp4 = static_cast< double >(val4);
25843 arg4 = &temp4;
25844 ecode5 = SWIG_AsVal_double(obj4, &val5);
25845 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
25846 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsf___call__" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsf___call__" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
25847 }
25848 temp5 = static_cast< double >(val5);
25849 arg5 = &temp5;
25850 ecode6 = SWIG_AsVal_double(obj5, &val6);
25851 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
25852 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAPsf___call__" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAPsf___call__" "', argument "
"6"" of type '" "double""'"); goto fail; } while(0)
;
25853 }
25854 temp6 = static_cast< double >(val6);
25855 arg6 = &temp6;
25856 {
25857 try {
25858 result = (double)((GCTAPsf const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6);
25859 }
25860 catch (const GException::out_of_range& e) {
25861 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
25862 }
25863 catch (const GExceptionHandler& e) {
25864 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25865 }
25866 catch (const std::exception& e) {
25867 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25868 }
25869 }
25870 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
25871 return resultobj;
25872fail:
25873 return NULL__null;
25874}
25875
25876
25877SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf___call____SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25878 PyObject *resultobj = 0;
25879 GCTAPsf *arg1 = (GCTAPsf *) 0 ;
25880 double *arg2 = 0 ;
25881 double *arg3 = 0 ;
25882 double *arg4 = 0 ;
25883 double *arg5 = 0 ;
25884 void *argp1 = 0 ;
25885 int res1 = 0 ;
25886 double temp2 ;
25887 double val2 ;
25888 int ecode2 = 0 ;
25889 double temp3 ;
25890 double val3 ;
25891 int ecode3 = 0 ;
25892 double temp4 ;
25893 double val4 ;
25894 int ecode4 = 0 ;
25895 double temp5 ;
25896 double val5 ;
25897 int ecode5 = 0 ;
25898 PyObject * obj0 = 0 ;
25899 PyObject * obj1 = 0 ;
25900 PyObject * obj2 = 0 ;
25901 PyObject * obj3 = 0 ;
25902 PyObject * obj4 = 0 ;
25903 double result;
25904
25905 if (!PyArg_ParseTuple(args,(char *)"OOOOO:GCTAPsf___call__",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_failgoto fail;
25906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[23]
, 0 | 0, 0)
;
25907 if (!SWIG_IsOK(res1)(res1 >= 0)) {
25908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf___call__" "', argument " "1"" of type '" "GCTAPsf const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf___call__" "', argument "
"1"" of type '" "GCTAPsf const *""'"); goto fail; } while(0)
;
25909 }
25910 arg1 = reinterpret_cast< GCTAPsf * >(argp1);
25911 ecode2 = SWIG_AsVal_double(obj1, &val2);
25912 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
25913 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsf___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsf___call__" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
25914 }
25915 temp2 = static_cast< double >(val2);
25916 arg2 = &temp2;
25917 ecode3 = SWIG_AsVal_double(obj2, &val3);
25918 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
25919 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsf___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsf___call__" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
25920 }
25921 temp3 = static_cast< double >(val3);
25922 arg3 = &temp3;
25923 ecode4 = SWIG_AsVal_double(obj3, &val4);
25924 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
25925 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsf___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsf___call__" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
25926 }
25927 temp4 = static_cast< double >(val4);
25928 arg4 = &temp4;
25929 ecode5 = SWIG_AsVal_double(obj4, &val5);
25930 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
25931 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsf___call__" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsf___call__" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
25932 }
25933 temp5 = static_cast< double >(val5);
25934 arg5 = &temp5;
25935 {
25936 try {
25937 result = (double)((GCTAPsf const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5);
25938 }
25939 catch (const GException::out_of_range& e) {
25940 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
25941 }
25942 catch (const GExceptionHandler& e) {
25943 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25944 }
25945 catch (const std::exception& e) {
25946 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25947 }
25948 }
25949 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
25950 return resultobj;
25951fail:
25952 return NULL__null;
25953}
25954
25955
25956SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf___call____SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25957 PyObject *resultobj = 0;
25958 GCTAPsf *arg1 = (GCTAPsf *) 0 ;
25959 double *arg2 = 0 ;
25960 double *arg3 = 0 ;
25961 double *arg4 = 0 ;
25962 void *argp1 = 0 ;
25963 int res1 = 0 ;
25964 double temp2 ;
25965 double val2 ;
25966 int ecode2 = 0 ;
25967 double temp3 ;
25968 double val3 ;
25969 int ecode3 = 0 ;
25970 double temp4 ;
25971 double val4 ;
25972 int ecode4 = 0 ;
25973 PyObject * obj0 = 0 ;
25974 PyObject * obj1 = 0 ;
25975 PyObject * obj2 = 0 ;
25976 PyObject * obj3 = 0 ;
25977 double result;
25978
25979 if (!PyArg_ParseTuple(args,(char *)"OOOO:GCTAPsf___call__",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
25980 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[23]
, 0 | 0, 0)
;
25981 if (!SWIG_IsOK(res1)(res1 >= 0)) {
25982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf___call__" "', argument " "1"" of type '" "GCTAPsf const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf___call__" "', argument "
"1"" of type '" "GCTAPsf const *""'"); goto fail; } while(0)
;
25983 }
25984 arg1 = reinterpret_cast< GCTAPsf * >(argp1);
25985 ecode2 = SWIG_AsVal_double(obj1, &val2);
25986 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
25987 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsf___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsf___call__" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
25988 }
25989 temp2 = static_cast< double >(val2);
25990 arg2 = &temp2;
25991 ecode3 = SWIG_AsVal_double(obj2, &val3);
25992 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
25993 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsf___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsf___call__" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
25994 }
25995 temp3 = static_cast< double >(val3);
25996 arg3 = &temp3;
25997 ecode4 = SWIG_AsVal_double(obj3, &val4);
25998 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
25999 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsf___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsf___call__" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
26000 }
26001 temp4 = static_cast< double >(val4);
26002 arg4 = &temp4;
26003 {
26004 try {
26005 result = (double)((GCTAPsf const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4);
26006 }
26007 catch (const GException::out_of_range& e) {
26008 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
26009 }
26010 catch (const GExceptionHandler& e) {
26011 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26012 }
26013 catch (const std::exception& e) {
26014 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26015 }
26016 }
26017 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
26018 return resultobj;
26019fail:
26020 return NULL__null;
26021}
26022
26023
26024SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf___call____SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26025 PyObject *resultobj = 0;
26026 GCTAPsf *arg1 = (GCTAPsf *) 0 ;
26027 double *arg2 = 0 ;
26028 double *arg3 = 0 ;
26029 void *argp1 = 0 ;
26030 int res1 = 0 ;
26031 double temp2 ;
26032 double val2 ;
26033 int ecode2 = 0 ;
26034 double temp3 ;
26035 double val3 ;
26036 int ecode3 = 0 ;
26037 PyObject * obj0 = 0 ;
26038 PyObject * obj1 = 0 ;
26039 PyObject * obj2 = 0 ;
26040 double result;
26041
26042 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAPsf___call__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
26043 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[23]
, 0 | 0, 0)
;
26044 if (!SWIG_IsOK(res1)(res1 >= 0)) {
26045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf___call__" "', argument " "1"" of type '" "GCTAPsf const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf___call__" "', argument "
"1"" of type '" "GCTAPsf const *""'"); goto fail; } while(0)
;
26046 }
26047 arg1 = reinterpret_cast< GCTAPsf * >(argp1);
26048 ecode2 = SWIG_AsVal_double(obj1, &val2);
26049 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
26050 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsf___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsf___call__" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
26051 }
26052 temp2 = static_cast< double >(val2);
26053 arg2 = &temp2;
26054 ecode3 = SWIG_AsVal_double(obj2, &val3);
26055 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
26056 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsf___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsf___call__" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
26057 }
26058 temp3 = static_cast< double >(val3);
26059 arg3 = &temp3;
26060 {
26061 try {
26062 result = (double)((GCTAPsf const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3);
26063 }
26064 catch (const GException::out_of_range& e) {
26065 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
26066 }
26067 catch (const GExceptionHandler& e) {
26068 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26069 }
26070 catch (const std::exception& e) {
26071 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26072 }
26073 }
26074 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
26075 return resultobj;
26076fail:
26077 return NULL__null;
26078}
26079
26080
26081SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf___call__(PyObject *self, PyObject *args) {
26082 int argc;
26083 PyObject *argv[9];
26084 int ii;
26085
26086 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
26087 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
26088 for (ii = 0; (ii < 8) && (ii < argc); ii++) {
26089 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
26090 }
26091 if (argc == 3) {
26092 int _v;
26093 void *vptr = 0;
26094 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsf, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[23
], 0, 0)
;
26095 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26096 if (_v) {
26097 {
26098 int res = SWIG_AsVal_double(argv[1], NULL__null);
26099 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26100 }
26101 if (_v) {
26102 {
26103 int res = SWIG_AsVal_double(argv[2], NULL__null);
26104 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26105 }
26106 if (_v) {
26107 return _wrap_GCTAPsf___call____SWIG_5(self, args);
26108 }
26109 }
26110 }
26111 }
26112 if (argc == 4) {
26113 int _v;
26114 void *vptr = 0;
26115 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsf, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[23
], 0, 0)
;
26116 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26117 if (_v) {
26118 {
26119 int res = SWIG_AsVal_double(argv[1], NULL__null);
26120 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26121 }
26122 if (_v) {
26123 {
26124 int res = SWIG_AsVal_double(argv[2], NULL__null);
26125 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26126 }
26127 if (_v) {
26128 {
26129 int res = SWIG_AsVal_double(argv[3], NULL__null);
26130 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26131 }
26132 if (_v) {
26133 return _wrap_GCTAPsf___call____SWIG_4(self, args);
26134 }
26135 }
26136 }
26137 }
26138 }
26139 if (argc == 5) {
26140 int _v;
26141 void *vptr = 0;
26142 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsf, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[23
], 0, 0)
;
26143 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26144 if (_v) {
26145 {
26146 int res = SWIG_AsVal_double(argv[1], NULL__null);
26147 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26148 }
26149 if (_v) {
26150 {
26151 int res = SWIG_AsVal_double(argv[2], NULL__null);
26152 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26153 }
26154 if (_v) {
26155 {
26156 int res = SWIG_AsVal_double(argv[3], NULL__null);
26157 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26158 }
26159 if (_v) {
26160 {
26161 int res = SWIG_AsVal_double(argv[4], NULL__null);
26162 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26163 }
26164 if (_v) {
26165 return _wrap_GCTAPsf___call____SWIG_3(self, args);
26166 }
26167 }
26168 }
26169 }
26170 }
26171 }
26172 if (argc == 6) {
26173 int _v;
26174 void *vptr = 0;
26175 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsf, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[23
], 0, 0)
;
26176 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26177 if (_v) {
26178 {
26179 int res = SWIG_AsVal_double(argv[1], NULL__null);
26180 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26181 }
26182 if (_v) {
26183 {
26184 int res = SWIG_AsVal_double(argv[2], NULL__null);
26185 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26186 }
26187 if (_v) {
26188 {
26189 int res = SWIG_AsVal_double(argv[3], NULL__null);
26190 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26191 }
26192 if (_v) {
26193 {
26194 int res = SWIG_AsVal_double(argv[4], NULL__null);
26195 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26196 }
26197 if (_v) {
26198 {
26199 int res = SWIG_AsVal_double(argv[5], NULL__null);
26200 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26201 }
26202 if (_v) {
26203 return _wrap_GCTAPsf___call____SWIG_2(self, args);
26204 }
26205 }
26206 }
26207 }
26208 }
26209 }
26210 }
26211 if (argc == 7) {
26212 int _v;
26213 void *vptr = 0;
26214 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsf, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[23
], 0, 0)
;
26215 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26216 if (_v) {
26217 {
26218 int res = SWIG_AsVal_double(argv[1], NULL__null);
26219 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26220 }
26221 if (_v) {
26222 {
26223 int res = SWIG_AsVal_double(argv[2], NULL__null);
26224 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26225 }
26226 if (_v) {
26227 {
26228 int res = SWIG_AsVal_double(argv[3], NULL__null);
26229 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26230 }
26231 if (_v) {
26232 {
26233 int res = SWIG_AsVal_double(argv[4], NULL__null);
26234 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26235 }
26236 if (_v) {
26237 {
26238 int res = SWIG_AsVal_double(argv[5], NULL__null);
26239 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26240 }
26241 if (_v) {
26242 {
26243 int res = SWIG_AsVal_double(argv[6], NULL__null);
26244 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26245 }
26246 if (_v) {
26247 return _wrap_GCTAPsf___call____SWIG_1(self, args);
26248 }
26249 }
26250 }
26251 }
26252 }
26253 }
26254 }
26255 }
26256 if (argc == 8) {
26257 int _v;
26258 void *vptr = 0;
26259 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsf, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[23
], 0, 0)
;
26260 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26261 if (_v) {
26262 {
26263 int res = SWIG_AsVal_double(argv[1], NULL__null);
26264 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26265 }
26266 if (_v) {
26267 {
26268 int res = SWIG_AsVal_double(argv[2], NULL__null);
26269 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26270 }
26271 if (_v) {
26272 {
26273 int res = SWIG_AsVal_double(argv[3], NULL__null);
26274 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26275 }
26276 if (_v) {
26277 {
26278 int res = SWIG_AsVal_double(argv[4], NULL__null);
26279 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26280 }
26281 if (_v) {
26282 {
26283 int res = SWIG_AsVal_double(argv[5], NULL__null);
26284 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26285 }
26286 if (_v) {
26287 {
26288 int res = SWIG_AsVal_double(argv[6], NULL__null);
26289 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26290 }
26291 if (_v) {
26292 {
26293 int res = SWIG_AsVal_bool(argv[7], NULL__null);
26294 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26295 }
26296 if (_v) {
26297 return _wrap_GCTAPsf___call____SWIG_0(self, args);
26298 }
26299 }
26300 }
26301 }
26302 }
26303 }
26304 }
26305 }
26306 }
26307
26308fail:
26309 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAPsf___call__'.\n"
26310 " Possible C/C++ prototypes are:\n"
26311 " GCTAPsf::operator ()(double const &,double const &,double const &,double const &,double const &,double const &,bool const &) const\n"
26312 " GCTAPsf::operator ()(double const &,double const &,double const &,double const &,double const &,double const &) const\n"
26313 " GCTAPsf::operator ()(double const &,double const &,double const &,double const &,double const &) const\n"
26314 " GCTAPsf::operator ()(double const &,double const &,double const &,double const &) const\n"
26315 " GCTAPsf::operator ()(double const &,double const &,double const &) const\n"
26316 " GCTAPsf::operator ()(double const &,double const &) const\n");
26317 return 0;
26318}
26319
26320
26321SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26322 PyObject *resultobj = 0;
26323 GCTAPsf *arg1 = (GCTAPsf *) 0 ;
26324 void *argp1 = 0 ;
26325 int res1 = 0 ;
26326 PyObject * obj0 = 0 ;
26327
26328 if (!PyArg_ParseTuple(args,(char *)"O:GCTAPsf_clear",&obj0)) SWIG_failgoto fail;
26329 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[23]
, 0 | 0, 0)
;
26330 if (!SWIG_IsOK(res1)(res1 >= 0)) {
26331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf_clear" "', argument " "1"" of type '" "GCTAPsf *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf_clear" "', argument "
"1"" of type '" "GCTAPsf *""'"); goto fail; } while(0)
;
26332 }
26333 arg1 = reinterpret_cast< GCTAPsf * >(argp1);
26334 {
26335 try {
26336 (arg1)->clear();
26337 }
26338 catch (const GException::out_of_range& e) {
26339 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
26340 }
26341 catch (const GExceptionHandler& e) {
26342 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26343 }
26344 catch (const std::exception& e) {
26345 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26346 }
26347 }
26348 resultobj = SWIG_Py_Void();
26349 return resultobj;
26350fail:
26351 return NULL__null;
26352}
26353
26354
26355SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26356 PyObject *resultobj = 0;
26357 GCTAPsf *arg1 = (GCTAPsf *) 0 ;
26358 void *argp1 = 0 ;
26359 int res1 = 0 ;
26360 PyObject * obj0 = 0 ;
26361 GCTAPsf *result = 0 ;
26362
26363 if (!PyArg_ParseTuple(args,(char *)"O:GCTAPsf_clone",&obj0)) SWIG_failgoto fail;
26364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[23]
, 0 | 0, 0)
;
26365 if (!SWIG_IsOK(res1)(res1 >= 0)) {
26366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf_clone" "', argument " "1"" of type '" "GCTAPsf const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf_clone" "', argument "
"1"" of type '" "GCTAPsf const *""'"); goto fail; } while(0)
;
26367 }
26368 arg1 = reinterpret_cast< GCTAPsf * >(argp1);
26369 {
26370 try {
26371 result = (GCTAPsf *)((GCTAPsf const *)arg1)->clone();
26372 }
26373 catch (const GException::out_of_range& e) {
26374 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
26375 }
26376 catch (const GExceptionHandler& e) {
26377 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26378 }
26379 catch (const std::exception& e) {
26380 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26381 }
26382 }
26383 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAPsf, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[23], 0
| 0)
;
26384 return resultobj;
26385fail:
26386 return NULL__null;
26387}
26388
26389
26390SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf_load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26391 PyObject *resultobj = 0;
26392 GCTAPsf *arg1 = (GCTAPsf *) 0 ;
26393 std::string *arg2 = 0 ;
26394 void *argp1 = 0 ;
26395 int res1 = 0 ;
26396 int res2 = SWIG_OLDOBJ((0)) ;
26397 PyObject * obj0 = 0 ;
26398 PyObject * obj1 = 0 ;
26399
26400 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAPsf_load",&obj0,&obj1)) SWIG_failgoto fail;
26401 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[23]
, 0 | 0, 0)
;
26402 if (!SWIG_IsOK(res1)(res1 >= 0)) {
26403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf_load" "', argument " "1"" of type '" "GCTAPsf *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf_load" "', argument "
"1"" of type '" "GCTAPsf *""'"); goto fail; } while(0)
;
26404 }
26405 arg1 = reinterpret_cast< GCTAPsf * >(argp1);
26406 {
26407 std::string *ptr = (std::string *)0;
26408 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
26409 if (!SWIG_IsOK(res2)(res2 >= 0)) {
26410 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAPsf_load" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAPsf_load" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
26411 }
26412 if (!ptr) {
26413 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAPsf_load" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAPsf_load" "', argument " "2"" of type '" "std::string const &"
"'"); goto fail; } while(0)
;
26414 }
26415 arg2 = ptr;
26416 }
26417 {
26418 try {
26419 (arg1)->load((std::string const &)*arg2);
26420 }
26421 catch (const GException::out_of_range& e) {
26422 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
26423 }
26424 catch (const GExceptionHandler& e) {
26425 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26426 }
26427 catch (const std::exception& e) {
26428 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26429 }
26430 }
26431 resultobj = SWIG_Py_Void();
26432 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
26433 return resultobj;
26434fail:
26435 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
26436 return NULL__null;
26437}
26438
26439
26440SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf_filename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26441 PyObject *resultobj = 0;
26442 GCTAPsf *arg1 = (GCTAPsf *) 0 ;
26443 void *argp1 = 0 ;
26444 int res1 = 0 ;
26445 PyObject * obj0 = 0 ;
26446 std::string result;
26447
26448 if (!PyArg_ParseTuple(args,(char *)"O:GCTAPsf_filename",&obj0)) SWIG_failgoto fail;
26449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[23]
, 0 | 0, 0)
;
26450 if (!SWIG_IsOK(res1)(res1 >= 0)) {
26451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf_filename" "', argument " "1"" of type '" "GCTAPsf const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf_filename" "', argument "
"1"" of type '" "GCTAPsf const *""'"); goto fail; } while(0)
;
26452 }
26453 arg1 = reinterpret_cast< GCTAPsf * >(argp1);
26454 {
26455 try {
26456 result = ((GCTAPsf const *)arg1)->filename();
26457 }
26458 catch (const GException::out_of_range& e) {
26459 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
26460 }
26461 catch (const GExceptionHandler& e) {
26462 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26463 }
26464 catch (const std::exception& e) {
26465 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26466 }
26467 }
26468 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
26469 return resultobj;
26470fail:
26471 return NULL__null;
26472}
26473
26474
26475SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf_mc__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26476 PyObject *resultobj = 0;
26477 GCTAPsf *arg1 = (GCTAPsf *) 0 ;
26478 GRan *arg2 = 0 ;
26479 double *arg3 = 0 ;
26480 double *arg4 = 0 ;
26481 double *arg5 = 0 ;
26482 double *arg6 = 0 ;
26483 double *arg7 = 0 ;
26484 bool *arg8 = 0 ;
26485 void *argp1 = 0 ;
26486 int res1 = 0 ;
26487 void *argp2 = 0 ;
26488 int res2 = 0 ;
26489 double temp3 ;
26490 double val3 ;
26491 int ecode3 = 0 ;
26492 double temp4 ;
26493 double val4 ;
26494 int ecode4 = 0 ;
26495 double temp5 ;
26496 double val5 ;
26497 int ecode5 = 0 ;
26498 double temp6 ;
26499 double val6 ;
26500 int ecode6 = 0 ;
26501 double temp7 ;
26502 double val7 ;
26503 int ecode7 = 0 ;
26504 bool temp8 ;
26505 bool val8 ;
26506 int ecode8 = 0 ;
26507 PyObject * obj0 = 0 ;
26508 PyObject * obj1 = 0 ;
26509 PyObject * obj2 = 0 ;
26510 PyObject * obj3 = 0 ;
26511 PyObject * obj4 = 0 ;
26512 PyObject * obj5 = 0 ;
26513 PyObject * obj6 = 0 ;
26514 PyObject * obj7 = 0 ;
26515 double result;
26516
26517 if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:GCTAPsf_mc",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_failgoto fail;
26518 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[23]
, 0 | 0, 0)
;
26519 if (!SWIG_IsOK(res1)(res1 >= 0)) {
26520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf_mc" "', argument " "1"" of type '" "GCTAPsf const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf_mc" "', argument "
"1"" of type '" "GCTAPsf const *""'"); goto fail; } while(0)
;
26521 }
26522 arg1 = reinterpret_cast< GCTAPsf * >(argp1);
26523 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GRan, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[55]
, 0, 0)
;
26524 if (!SWIG_IsOK(res2)(res2 >= 0)) {
26525 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAPsf_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAPsf_mc" "', argument "
"2"" of type '" "GRan &""'"); goto fail; } while(0)
;
26526 }
26527 if (!argp2) {
26528 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAPsf_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAPsf_mc" "', argument " "2"" of type '" "GRan &"
"'"); goto fail; } while(0)
;
26529 }
26530 arg2 = reinterpret_cast< GRan * >(argp2);
26531 ecode3 = SWIG_AsVal_double(obj2, &val3);
26532 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
26533 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsf_mc" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsf_mc" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
26534 }
26535 temp3 = static_cast< double >(val3);
26536 arg3 = &temp3;
26537 ecode4 = SWIG_AsVal_double(obj3, &val4);
26538 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
26539 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsf_mc" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsf_mc" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
26540 }
26541 temp4 = static_cast< double >(val4);
26542 arg4 = &temp4;
26543 ecode5 = SWIG_AsVal_double(obj4, &val5);
26544 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
26545 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsf_mc" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsf_mc" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
26546 }
26547 temp5 = static_cast< double >(val5);
26548 arg5 = &temp5;
26549 ecode6 = SWIG_AsVal_double(obj5, &val6);
26550 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
26551 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAPsf_mc" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAPsf_mc" "', argument "
"6"" of type '" "double""'"); goto fail; } while(0)
;
26552 }
26553 temp6 = static_cast< double >(val6);
26554 arg6 = &temp6;
26555 ecode7 = SWIG_AsVal_double(obj6, &val7);
26556 if (!SWIG_IsOK(ecode7)(ecode7 >= 0)) {
26557 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GCTAPsf_mc" "', argument " "7"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode7 !=
(-1)) ? ecode7 : -5)), "in method '" "GCTAPsf_mc" "', argument "
"7"" of type '" "double""'"); goto fail; } while(0)
;
26558 }
26559 temp7 = static_cast< double >(val7);
26560 arg7 = &temp7;
26561 ecode8 = SWIG_AsVal_bool(obj7, &val8);
26562 if (!SWIG_IsOK(ecode8)(ecode8 >= 0)) {
26563 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "GCTAPsf_mc" "', argument " "8"" of type '" "bool""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode8 !=
(-1)) ? ecode8 : -5)), "in method '" "GCTAPsf_mc" "', argument "
"8"" of type '" "bool""'"); goto fail; } while(0)
;
26564 }
26565 temp8 = static_cast< bool >(val8);
26566 arg8 = &temp8;
26567 {
26568 try {
26569 result = (double)((GCTAPsf const *)arg1)->mc(*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6,(double const &)*arg7,(bool const &)*arg8);
26570 }
26571 catch (const GException::out_of_range& e) {
26572 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
26573 }
26574 catch (const GExceptionHandler& e) {
26575 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26576 }
26577 catch (const std::exception& e) {
26578 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26579 }
26580 }
26581 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
26582 return resultobj;
26583fail:
26584 return NULL__null;
26585}
26586
26587
26588SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf_mc__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26589 PyObject *resultobj = 0;
26590 GCTAPsf *arg1 = (GCTAPsf *) 0 ;
26591 GRan *arg2 = 0 ;
26592 double *arg3 = 0 ;
26593 double *arg4 = 0 ;
26594 double *arg5 = 0 ;
26595 double *arg6 = 0 ;
26596 double *arg7 = 0 ;
26597 void *argp1 = 0 ;
26598 int res1 = 0 ;
26599 void *argp2 = 0 ;
26600 int res2 = 0 ;
26601 double temp3 ;
26602 double val3 ;
26603 int ecode3 = 0 ;
26604 double temp4 ;
26605 double val4 ;
26606 int ecode4 = 0 ;
26607 double temp5 ;
26608 double val5 ;
26609 int ecode5 = 0 ;
26610 double temp6 ;
26611 double val6 ;
26612 int ecode6 = 0 ;
26613 double temp7 ;
26614 double val7 ;
26615 int ecode7 = 0 ;
26616 PyObject * obj0 = 0 ;
26617 PyObject * obj1 = 0 ;
26618 PyObject * obj2 = 0 ;
26619 PyObject * obj3 = 0 ;
26620 PyObject * obj4 = 0 ;
26621 PyObject * obj5 = 0 ;
26622 PyObject * obj6 = 0 ;
26623 double result;
26624
26625 if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:GCTAPsf_mc",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_failgoto fail;
26626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[23]
, 0 | 0, 0)
;
26627 if (!SWIG_IsOK(res1)(res1 >= 0)) {
26628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf_mc" "', argument " "1"" of type '" "GCTAPsf const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf_mc" "', argument "
"1"" of type '" "GCTAPsf const *""'"); goto fail; } while(0)
;
26629 }
26630 arg1 = reinterpret_cast< GCTAPsf * >(argp1);
26631 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GRan, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[55]
, 0, 0)
;
26632 if (!SWIG_IsOK(res2)(res2 >= 0)) {
26633 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAPsf_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAPsf_mc" "', argument "
"2"" of type '" "GRan &""'"); goto fail; } while(0)
;
26634 }
26635 if (!argp2) {
26636 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAPsf_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAPsf_mc" "', argument " "2"" of type '" "GRan &"
"'"); goto fail; } while(0)
;
26637 }
26638 arg2 = reinterpret_cast< GRan * >(argp2);
26639 ecode3 = SWIG_AsVal_double(obj2, &val3);
26640 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
26641 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsf_mc" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsf_mc" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
26642 }
26643 temp3 = static_cast< double >(val3);
26644 arg3 = &temp3;
26645 ecode4 = SWIG_AsVal_double(obj3, &val4);
26646 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
26647 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsf_mc" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsf_mc" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
26648 }
26649 temp4 = static_cast< double >(val4);
26650 arg4 = &temp4;
26651 ecode5 = SWIG_AsVal_double(obj4, &val5);
26652 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
26653 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsf_mc" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsf_mc" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
26654 }
26655 temp5 = static_cast< double >(val5);
26656 arg5 = &temp5;
26657 ecode6 = SWIG_AsVal_double(obj5, &val6);
26658 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
26659 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAPsf_mc" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAPsf_mc" "', argument "
"6"" of type '" "double""'"); goto fail; } while(0)
;
26660 }
26661 temp6 = static_cast< double >(val6);
26662 arg6 = &temp6;
26663 ecode7 = SWIG_AsVal_double(obj6, &val7);
26664 if (!SWIG_IsOK(ecode7)(ecode7 >= 0)) {
26665 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GCTAPsf_mc" "', argument " "7"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode7 !=
(-1)) ? ecode7 : -5)), "in method '" "GCTAPsf_mc" "', argument "
"7"" of type '" "double""'"); goto fail; } while(0)
;
26666 }
26667 temp7 = static_cast< double >(val7);
26668 arg7 = &temp7;
26669 {
26670 try {
26671 result = (double)((GCTAPsf const *)arg1)->mc(*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6,(double const &)*arg7);
26672 }
26673 catch (const GException::out_of_range& e) {
26674 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
26675 }
26676 catch (const GExceptionHandler& e) {
26677 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26678 }
26679 catch (const std::exception& e) {
26680 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26681 }
26682 }
26683 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
26684 return resultobj;
26685fail:
26686 return NULL__null;
26687}
26688
26689
26690SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf_mc__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26691 PyObject *resultobj = 0;
26692 GCTAPsf *arg1 = (GCTAPsf *) 0 ;
26693 GRan *arg2 = 0 ;
26694 double *arg3 = 0 ;
26695 double *arg4 = 0 ;
26696 double *arg5 = 0 ;
26697 double *arg6 = 0 ;
26698 void *argp1 = 0 ;
26699 int res1 = 0 ;
26700 void *argp2 = 0 ;
26701 int res2 = 0 ;
26702 double temp3 ;
26703 double val3 ;
26704 int ecode3 = 0 ;
26705 double temp4 ;
26706 double val4 ;
26707 int ecode4 = 0 ;
26708 double temp5 ;
26709 double val5 ;
26710 int ecode5 = 0 ;
26711 double temp6 ;
26712 double val6 ;
26713 int ecode6 = 0 ;
26714 PyObject * obj0 = 0 ;
26715 PyObject * obj1 = 0 ;
26716 PyObject * obj2 = 0 ;
26717 PyObject * obj3 = 0 ;
26718 PyObject * obj4 = 0 ;
26719 PyObject * obj5 = 0 ;
26720 double result;
26721
26722 if (!PyArg_ParseTuple(args,(char *)"OOOOOO:GCTAPsf_mc",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_failgoto fail;
26723 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[23]
, 0 | 0, 0)
;
26724 if (!SWIG_IsOK(res1)(res1 >= 0)) {
26725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf_mc" "', argument " "1"" of type '" "GCTAPsf const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf_mc" "', argument "
"1"" of type '" "GCTAPsf const *""'"); goto fail; } while(0)
;
26726 }
26727 arg1 = reinterpret_cast< GCTAPsf * >(argp1);
26728 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GRan, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[55]
, 0, 0)
;
26729 if (!SWIG_IsOK(res2)(res2 >= 0)) {
26730 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAPsf_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAPsf_mc" "', argument "
"2"" of type '" "GRan &""'"); goto fail; } while(0)
;
26731 }
26732 if (!argp2) {
26733 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAPsf_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAPsf_mc" "', argument " "2"" of type '" "GRan &"
"'"); goto fail; } while(0)
;
26734 }
26735 arg2 = reinterpret_cast< GRan * >(argp2);
26736 ecode3 = SWIG_AsVal_double(obj2, &val3);
26737 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
26738 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsf_mc" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsf_mc" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
26739 }
26740 temp3 = static_cast< double >(val3);
26741 arg3 = &temp3;
26742 ecode4 = SWIG_AsVal_double(obj3, &val4);
26743 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
26744 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsf_mc" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsf_mc" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
26745 }
26746 temp4 = static_cast< double >(val4);
26747 arg4 = &temp4;
26748 ecode5 = SWIG_AsVal_double(obj4, &val5);
26749 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
26750 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsf_mc" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsf_mc" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
26751 }
26752 temp5 = static_cast< double >(val5);
26753 arg5 = &temp5;
26754 ecode6 = SWIG_AsVal_double(obj5, &val6);
26755 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
26756 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAPsf_mc" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAPsf_mc" "', argument "
"6"" of type '" "double""'"); goto fail; } while(0)
;
26757 }
26758 temp6 = static_cast< double >(val6);
26759 arg6 = &temp6;
26760 {
26761 try {
26762 result = (double)((GCTAPsf const *)arg1)->mc(*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6);
26763 }
26764 catch (const GException::out_of_range& e) {
26765 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
26766 }
26767 catch (const GExceptionHandler& e) {
26768 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26769 }
26770 catch (const std::exception& e) {
26771 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26772 }
26773 }
26774 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
26775 return resultobj;
26776fail:
26777 return NULL__null;
26778}
26779
26780
26781SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf_mc__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26782 PyObject *resultobj = 0;
26783 GCTAPsf *arg1 = (GCTAPsf *) 0 ;
26784 GRan *arg2 = 0 ;
26785 double *arg3 = 0 ;
26786 double *arg4 = 0 ;
26787 double *arg5 = 0 ;
26788 void *argp1 = 0 ;
26789 int res1 = 0 ;
26790 void *argp2 = 0 ;
26791 int res2 = 0 ;
26792 double temp3 ;
26793 double val3 ;
26794 int ecode3 = 0 ;
26795 double temp4 ;
26796 double val4 ;
26797 int ecode4 = 0 ;
26798 double temp5 ;
26799 double val5 ;
26800 int ecode5 = 0 ;
26801 PyObject * obj0 = 0 ;
26802 PyObject * obj1 = 0 ;
26803 PyObject * obj2 = 0 ;
26804 PyObject * obj3 = 0 ;
26805 PyObject * obj4 = 0 ;
26806 double result;
26807
26808 if (!PyArg_ParseTuple(args,(char *)"OOOOO:GCTAPsf_mc",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_failgoto fail;
26809 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[23]
, 0 | 0, 0)
;
26810 if (!SWIG_IsOK(res1)(res1 >= 0)) {
26811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf_mc" "', argument " "1"" of type '" "GCTAPsf const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf_mc" "', argument "
"1"" of type '" "GCTAPsf const *""'"); goto fail; } while(0)
;
26812 }
26813 arg1 = reinterpret_cast< GCTAPsf * >(argp1);
26814 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GRan, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[55]
, 0, 0)
;
26815 if (!SWIG_IsOK(res2)(res2 >= 0)) {
26816 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAPsf_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAPsf_mc" "', argument "
"2"" of type '" "GRan &""'"); goto fail; } while(0)
;
26817 }
26818 if (!argp2) {
26819 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAPsf_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAPsf_mc" "', argument " "2"" of type '" "GRan &"
"'"); goto fail; } while(0)
;
26820 }
26821 arg2 = reinterpret_cast< GRan * >(argp2);
26822 ecode3 = SWIG_AsVal_double(obj2, &val3);
26823 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
26824 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsf_mc" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsf_mc" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
26825 }
26826 temp3 = static_cast< double >(val3);
26827 arg3 = &temp3;
26828 ecode4 = SWIG_AsVal_double(obj3, &val4);
26829 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
26830 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsf_mc" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsf_mc" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
26831 }
26832 temp4 = static_cast< double >(val4);
26833 arg4 = &temp4;
26834 ecode5 = SWIG_AsVal_double(obj4, &val5);
26835 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
26836 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsf_mc" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsf_mc" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
26837 }
26838 temp5 = static_cast< double >(val5);
26839 arg5 = &temp5;
26840 {
26841 try {
26842 result = (double)((GCTAPsf const *)arg1)->mc(*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5);
26843 }
26844 catch (const GException::out_of_range& e) {
26845 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
26846 }
26847 catch (const GExceptionHandler& e) {
26848 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26849 }
26850 catch (const std::exception& e) {
26851 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26852 }
26853 }
26854 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
26855 return resultobj;
26856fail:
26857 return NULL__null;
26858}
26859
26860
26861SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf_mc__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26862 PyObject *resultobj = 0;
26863 GCTAPsf *arg1 = (GCTAPsf *) 0 ;
26864 GRan *arg2 = 0 ;
26865 double *arg3 = 0 ;
26866 double *arg4 = 0 ;
26867 void *argp1 = 0 ;
26868 int res1 = 0 ;
26869 void *argp2 = 0 ;
26870 int res2 = 0 ;
26871 double temp3 ;
26872 double val3 ;
26873 int ecode3 = 0 ;
26874 double temp4 ;
26875 double val4 ;
26876 int ecode4 = 0 ;
26877 PyObject * obj0 = 0 ;
26878 PyObject * obj1 = 0 ;
26879 PyObject * obj2 = 0 ;
26880 PyObject * obj3 = 0 ;
26881 double result;
26882
26883 if (!PyArg_ParseTuple(args,(char *)"OOOO:GCTAPsf_mc",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
26884 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[23]
, 0 | 0, 0)
;
26885 if (!SWIG_IsOK(res1)(res1 >= 0)) {
26886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf_mc" "', argument " "1"" of type '" "GCTAPsf const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf_mc" "', argument "
"1"" of type '" "GCTAPsf const *""'"); goto fail; } while(0)
;
26887 }
26888 arg1 = reinterpret_cast< GCTAPsf * >(argp1);
26889 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GRan, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[55]
, 0, 0)
;
26890 if (!SWIG_IsOK(res2)(res2 >= 0)) {
26891 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAPsf_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAPsf_mc" "', argument "
"2"" of type '" "GRan &""'"); goto fail; } while(0)
;
26892 }
26893 if (!argp2) {
26894 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAPsf_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAPsf_mc" "', argument " "2"" of type '" "GRan &"
"'"); goto fail; } while(0)
;
26895 }
26896 arg2 = reinterpret_cast< GRan * >(argp2);
26897 ecode3 = SWIG_AsVal_double(obj2, &val3);
26898 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
26899 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsf_mc" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsf_mc" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
26900 }
26901 temp3 = static_cast< double >(val3);
26902 arg3 = &temp3;
26903 ecode4 = SWIG_AsVal_double(obj3, &val4);
26904 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
26905 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsf_mc" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsf_mc" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
26906 }
26907 temp4 = static_cast< double >(val4);
26908 arg4 = &temp4;
26909 {
26910 try {
26911 result = (double)((GCTAPsf const *)arg1)->mc(*arg2,(double const &)*arg3,(double const &)*arg4);
26912 }
26913 catch (const GException::out_of_range& e) {
26914 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
26915 }
26916 catch (const GExceptionHandler& e) {
26917 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26918 }
26919 catch (const std::exception& e) {
26920 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26921 }
26922 }
26923 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
26924 return resultobj;
26925fail:
26926 return NULL__null;
26927}
26928
26929
26930SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf_mc__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26931 PyObject *resultobj = 0;
26932 GCTAPsf *arg1 = (GCTAPsf *) 0 ;
26933 GRan *arg2 = 0 ;
26934 double *arg3 = 0 ;
26935 void *argp1 = 0 ;
26936 int res1 = 0 ;
26937 void *argp2 = 0 ;
26938 int res2 = 0 ;
26939 double temp3 ;
26940 double val3 ;
26941 int ecode3 = 0 ;
26942 PyObject * obj0 = 0 ;
26943 PyObject * obj1 = 0 ;
26944 PyObject * obj2 = 0 ;
26945 double result;
26946
26947 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAPsf_mc",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
26948 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[23]
, 0 | 0, 0)
;
26949 if (!SWIG_IsOK(res1)(res1 >= 0)) {
26950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf_mc" "', argument " "1"" of type '" "GCTAPsf const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf_mc" "', argument "
"1"" of type '" "GCTAPsf const *""'"); goto fail; } while(0)
;
26951 }
26952 arg1 = reinterpret_cast< GCTAPsf * >(argp1);
26953 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GRan, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[55]
, 0, 0)
;
26954 if (!SWIG_IsOK(res2)(res2 >= 0)) {
26955 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAPsf_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAPsf_mc" "', argument "
"2"" of type '" "GRan &""'"); goto fail; } while(0)
;
26956 }
26957 if (!argp2) {
26958 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAPsf_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAPsf_mc" "', argument " "2"" of type '" "GRan &"
"'"); goto fail; } while(0)
;
26959 }
26960 arg2 = reinterpret_cast< GRan * >(argp2);
26961 ecode3 = SWIG_AsVal_double(obj2, &val3);
26962 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
26963 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsf_mc" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsf_mc" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
26964 }
26965 temp3 = static_cast< double >(val3);
26966 arg3 = &temp3;
26967 {
26968 try {
26969 result = (double)((GCTAPsf const *)arg1)->mc(*arg2,(double const &)*arg3);
26970 }
26971 catch (const GException::out_of_range& e) {
26972 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
26973 }
26974 catch (const GExceptionHandler& e) {
26975 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26976 }
26977 catch (const std::exception& e) {
26978 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26979 }
26980 }
26981 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
26982 return resultobj;
26983fail:
26984 return NULL__null;
26985}
26986
26987
26988SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf_mc(PyObject *self, PyObject *args) {
26989 int argc;
26990 PyObject *argv[9];
26991 int ii;
26992
26993 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
26994 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
26995 for (ii = 0; (ii < 8) && (ii < argc); ii++) {
26996 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
26997 }
26998 if (argc == 3) {
26999 int _v;
27000 void *vptr = 0;
27001 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsf, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[23
], 0, 0)
;
27002 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27003 if (_v) {
27004 void *vptr = 0;
27005 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_GRan, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[55
], 0, 0)
;
27006 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27007 if (_v) {
27008 {
27009 int res = SWIG_AsVal_double(argv[2], NULL__null);
27010 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27011 }
27012 if (_v) {
27013 return _wrap_GCTAPsf_mc__SWIG_5(self, args);
27014 }
27015 }
27016 }
27017 }
27018 if (argc == 4) {
27019 int _v;
27020 void *vptr = 0;
27021 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsf, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[23
], 0, 0)
;
27022 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27023 if (_v) {
27024 void *vptr = 0;
27025 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_GRan, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[55
], 0, 0)
;
27026 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27027 if (_v) {
27028 {
27029 int res = SWIG_AsVal_double(argv[2], NULL__null);
27030 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27031 }
27032 if (_v) {
27033 {
27034 int res = SWIG_AsVal_double(argv[3], NULL__null);
27035 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27036 }
27037 if (_v) {
27038 return _wrap_GCTAPsf_mc__SWIG_4(self, args);
27039 }
27040 }
27041 }
27042 }
27043 }
27044 if (argc == 5) {
27045 int _v;
27046 void *vptr = 0;
27047 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsf, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[23
], 0, 0)
;
27048 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27049 if (_v) {
27050 void *vptr = 0;
27051 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_GRan, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[55
], 0, 0)
;
27052 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27053 if (_v) {
27054 {
27055 int res = SWIG_AsVal_double(argv[2], NULL__null);
27056 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27057 }
27058 if (_v) {
27059 {
27060 int res = SWIG_AsVal_double(argv[3], NULL__null);
27061 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27062 }
27063 if (_v) {
27064 {
27065 int res = SWIG_AsVal_double(argv[4], NULL__null);
27066 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27067 }
27068 if (_v) {
27069 return _wrap_GCTAPsf_mc__SWIG_3(self, args);
27070 }
27071 }
27072 }
27073 }
27074 }
27075 }
27076 if (argc == 6) {
27077 int _v;
27078 void *vptr = 0;
27079 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsf, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[23
], 0, 0)
;
27080 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27081 if (_v) {
27082 void *vptr = 0;
27083 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_GRan, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[55
], 0, 0)
;
27084 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27085 if (_v) {
27086 {
27087 int res = SWIG_AsVal_double(argv[2], NULL__null);
27088 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27089 }
27090 if (_v) {
27091 {
27092 int res = SWIG_AsVal_double(argv[3], NULL__null);
27093 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27094 }
27095 if (_v) {
27096 {
27097 int res = SWIG_AsVal_double(argv[4], NULL__null);
27098 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27099 }
27100 if (_v) {
27101 {
27102 int res = SWIG_AsVal_double(argv[5], NULL__null);
27103 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27104 }
27105 if (_v) {
27106 return _wrap_GCTAPsf_mc__SWIG_2(self, args);
27107 }
27108 }
27109 }
27110 }
27111 }
27112 }
27113 }
27114 if (argc == 7) {
27115 int _v;
27116 void *vptr = 0;
27117 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsf, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[23
], 0, 0)
;
27118 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27119 if (_v) {
27120 void *vptr = 0;
27121 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_GRan, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[55
], 0, 0)
;
27122 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27123 if (_v) {
27124 {
27125 int res = SWIG_AsVal_double(argv[2], NULL__null);
27126 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27127 }
27128 if (_v) {
27129 {
27130 int res = SWIG_AsVal_double(argv[3], NULL__null);
27131 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27132 }
27133 if (_v) {
27134 {
27135 int res = SWIG_AsVal_double(argv[4], NULL__null);
27136 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27137 }
27138 if (_v) {
27139 {
27140 int res = SWIG_AsVal_double(argv[5], NULL__null);
27141 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27142 }
27143 if (_v) {
27144 {
27145 int res = SWIG_AsVal_double(argv[6], NULL__null);
27146 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27147 }
27148 if (_v) {
27149 return _wrap_GCTAPsf_mc__SWIG_1(self, args);
27150 }
27151 }
27152 }
27153 }
27154 }
27155 }
27156 }
27157 }
27158 if (argc == 8) {
27159 int _v;
27160 void *vptr = 0;
27161 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsf, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[23
], 0, 0)
;
27162 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27163 if (_v) {
27164 void *vptr = 0;
27165 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_GRan, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[55
], 0, 0)
;
27166 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27167 if (_v) {
27168 {
27169 int res = SWIG_AsVal_double(argv[2], NULL__null);
27170 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27171 }
27172 if (_v) {
27173 {
27174 int res = SWIG_AsVal_double(argv[3], NULL__null);
27175 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27176 }
27177 if (_v) {
27178 {
27179 int res = SWIG_AsVal_double(argv[4], NULL__null);
27180 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27181 }
27182 if (_v) {
27183 {
27184 int res = SWIG_AsVal_double(argv[5], NULL__null);
27185 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27186 }
27187 if (_v) {
27188 {
27189 int res = SWIG_AsVal_double(argv[6], NULL__null);
27190 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27191 }
27192 if (_v) {
27193 {
27194 int res = SWIG_AsVal_bool(argv[7], NULL__null);
27195 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27196 }
27197 if (_v) {
27198 return _wrap_GCTAPsf_mc__SWIG_0(self, args);
27199 }
27200 }
27201 }
27202 }
27203 }
27204 }
27205 }
27206 }
27207 }
27208
27209fail:
27210 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAPsf_mc'.\n"
27211 " Possible C/C++ prototypes are:\n"
27212 " GCTAPsf::mc(GRan &,double const &,double const &,double const &,double const &,double const &,bool const &) const\n"
27213 " GCTAPsf::mc(GRan &,double const &,double const &,double const &,double const &,double const &) const\n"
27214 " GCTAPsf::mc(GRan &,double const &,double const &,double const &,double const &) const\n"
27215 " GCTAPsf::mc(GRan &,double const &,double const &,double const &) const\n"
27216 " GCTAPsf::mc(GRan &,double const &,double const &) const\n"
27217 " GCTAPsf::mc(GRan &,double const &) const\n");
27218 return 0;
27219}
27220
27221
27222SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf_delta_max__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27223 PyObject *resultobj = 0;
27224 GCTAPsf *arg1 = (GCTAPsf *) 0 ;
27225 double *arg2 = 0 ;
27226 double *arg3 = 0 ;
27227 double *arg4 = 0 ;
27228 double *arg5 = 0 ;
27229 double *arg6 = 0 ;
27230 bool *arg7 = 0 ;
27231 void *argp1 = 0 ;
27232 int res1 = 0 ;
27233 double temp2 ;
27234 double val2 ;
27235 int ecode2 = 0 ;
27236 double temp3 ;
27237 double val3 ;
27238 int ecode3 = 0 ;
27239 double temp4 ;
27240 double val4 ;
27241 int ecode4 = 0 ;
27242 double temp5 ;
27243 double val5 ;
27244 int ecode5 = 0 ;
27245 double temp6 ;
27246 double val6 ;
27247 int ecode6 = 0 ;
27248 bool temp7 ;
27249 bool val7 ;
27250 int ecode7 = 0 ;
27251 PyObject * obj0 = 0 ;
27252 PyObject * obj1 = 0 ;
27253 PyObject * obj2 = 0 ;
27254 PyObject * obj3 = 0 ;
27255 PyObject * obj4 = 0 ;
27256 PyObject * obj5 = 0 ;
27257 PyObject * obj6 = 0 ;
27258 double result;
27259
27260 if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:GCTAPsf_delta_max",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_failgoto fail;
27261 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[23]
, 0 | 0, 0)
;
27262 if (!SWIG_IsOK(res1)(res1 >= 0)) {
27263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf_delta_max" "', argument " "1"" of type '" "GCTAPsf const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf_delta_max" "', argument "
"1"" of type '" "GCTAPsf const *""'"); goto fail; } while(0)
;
27264 }
27265 arg1 = reinterpret_cast< GCTAPsf * >(argp1);
27266 ecode2 = SWIG_AsVal_double(obj1, &val2);
27267 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
27268 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsf_delta_max" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsf_delta_max" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
27269 }
27270 temp2 = static_cast< double >(val2);
27271 arg2 = &temp2;
27272 ecode3 = SWIG_AsVal_double(obj2, &val3);
27273 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
27274 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsf_delta_max" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsf_delta_max" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
27275 }
27276 temp3 = static_cast< double >(val3);
27277 arg3 = &temp3;
27278 ecode4 = SWIG_AsVal_double(obj3, &val4);
27279 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
27280 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsf_delta_max" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsf_delta_max" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
27281 }
27282 temp4 = static_cast< double >(val4);
27283 arg4 = &temp4;
27284 ecode5 = SWIG_AsVal_double(obj4, &val5);
27285 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
27286 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsf_delta_max" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsf_delta_max" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
27287 }
27288 temp5 = static_cast< double >(val5);
27289 arg5 = &temp5;
27290 ecode6 = SWIG_AsVal_double(obj5, &val6);
27291 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
27292 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAPsf_delta_max" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAPsf_delta_max" "', argument "
"6"" of type '" "double""'"); goto fail; } while(0)
;
27293 }
27294 temp6 = static_cast< double >(val6);
27295 arg6 = &temp6;
27296 ecode7 = SWIG_AsVal_bool(obj6, &val7);
27297 if (!SWIG_IsOK(ecode7)(ecode7 >= 0)) {
27298 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GCTAPsf_delta_max" "', argument " "7"" of type '" "bool""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode7 !=
(-1)) ? ecode7 : -5)), "in method '" "GCTAPsf_delta_max" "', argument "
"7"" of type '" "bool""'"); goto fail; } while(0)
;
27299 }
27300 temp7 = static_cast< bool >(val7);
27301 arg7 = &temp7;
27302 {
27303 try {
27304 result = (double)((GCTAPsf const *)arg1)->delta_max((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6,(bool const &)*arg7);
27305 }
27306 catch (const GException::out_of_range& e) {
27307 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
27308 }
27309 catch (const GExceptionHandler& e) {
27310 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27311 }
27312 catch (const std::exception& e) {
27313 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27314 }
27315 }
27316 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
27317 return resultobj;
27318fail:
27319 return NULL__null;
27320}
27321
27322
27323SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf_delta_max__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27324 PyObject *resultobj = 0;
27325 GCTAPsf *arg1 = (GCTAPsf *) 0 ;
27326 double *arg2 = 0 ;
27327 double *arg3 = 0 ;
27328 double *arg4 = 0 ;
27329 double *arg5 = 0 ;
27330 double *arg6 = 0 ;
27331 void *argp1 = 0 ;
27332 int res1 = 0 ;
27333 double temp2 ;
27334 double val2 ;
27335 int ecode2 = 0 ;
27336 double temp3 ;
27337 double val3 ;
27338 int ecode3 = 0 ;
27339 double temp4 ;
27340 double val4 ;
27341 int ecode4 = 0 ;
27342 double temp5 ;
27343 double val5 ;
27344 int ecode5 = 0 ;
27345 double temp6 ;
27346 double val6 ;
27347 int ecode6 = 0 ;
27348 PyObject * obj0 = 0 ;
27349 PyObject * obj1 = 0 ;
27350 PyObject * obj2 = 0 ;
27351 PyObject * obj3 = 0 ;
27352 PyObject * obj4 = 0 ;
27353 PyObject * obj5 = 0 ;
27354 double result;
27355
27356 if (!PyArg_ParseTuple(args,(char *)"OOOOOO:GCTAPsf_delta_max",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_failgoto fail;
27357 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[23]
, 0 | 0, 0)
;
27358 if (!SWIG_IsOK(res1)(res1 >= 0)) {
27359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf_delta_max" "', argument " "1"" of type '" "GCTAPsf const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf_delta_max" "', argument "
"1"" of type '" "GCTAPsf const *""'"); goto fail; } while(0)
;
27360 }
27361 arg1 = reinterpret_cast< GCTAPsf * >(argp1);
27362 ecode2 = SWIG_AsVal_double(obj1, &val2);
27363 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
27364 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsf_delta_max" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsf_delta_max" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
27365 }
27366 temp2 = static_cast< double >(val2);
27367 arg2 = &temp2;
27368 ecode3 = SWIG_AsVal_double(obj2, &val3);
27369 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
27370 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsf_delta_max" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsf_delta_max" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
27371 }
27372 temp3 = static_cast< double >(val3);
27373 arg3 = &temp3;
27374 ecode4 = SWIG_AsVal_double(obj3, &val4);
27375 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
27376 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsf_delta_max" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsf_delta_max" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
27377 }
27378 temp4 = static_cast< double >(val4);
27379 arg4 = &temp4;
27380 ecode5 = SWIG_AsVal_double(obj4, &val5);
27381 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
27382 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsf_delta_max" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsf_delta_max" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
27383 }
27384 temp5 = static_cast< double >(val5);
27385 arg5 = &temp5;
27386 ecode6 = SWIG_AsVal_double(obj5, &val6);
27387 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
27388 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAPsf_delta_max" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAPsf_delta_max" "', argument "
"6"" of type '" "double""'"); goto fail; } while(0)
;
27389 }
27390 temp6 = static_cast< double >(val6);
27391 arg6 = &temp6;
27392 {
27393 try {
27394 result = (double)((GCTAPsf const *)arg1)->delta_max((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6);
27395 }
27396 catch (const GException::out_of_range& e) {
27397 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
27398 }
27399 catch (const GExceptionHandler& e) {
27400 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27401 }
27402 catch (const std::exception& e) {
27403 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27404 }
27405 }
27406 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
27407 return resultobj;
27408fail:
27409 return NULL__null;
27410}
27411
27412
27413SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf_delta_max__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27414 PyObject *resultobj = 0;
27415 GCTAPsf *arg1 = (GCTAPsf *) 0 ;
27416 double *arg2 = 0 ;
27417 double *arg3 = 0 ;
27418 double *arg4 = 0 ;
27419 double *arg5 = 0 ;
27420 void *argp1 = 0 ;
27421 int res1 = 0 ;
27422 double temp2 ;
27423 double val2 ;
27424 int ecode2 = 0 ;
27425 double temp3 ;
27426 double val3 ;
27427 int ecode3 = 0 ;
27428 double temp4 ;
27429 double val4 ;
27430 int ecode4 = 0 ;
27431 double temp5 ;
27432 double val5 ;
27433 int ecode5 = 0 ;
27434 PyObject * obj0 = 0 ;
27435 PyObject * obj1 = 0 ;
27436 PyObject * obj2 = 0 ;
27437 PyObject * obj3 = 0 ;
27438 PyObject * obj4 = 0 ;
27439 double result;
27440
27441 if (!PyArg_ParseTuple(args,(char *)"OOOOO:GCTAPsf_delta_max",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_failgoto fail;
27442 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[23]
, 0 | 0, 0)
;
27443 if (!SWIG_IsOK(res1)(res1 >= 0)) {
27444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf_delta_max" "', argument " "1"" of type '" "GCTAPsf const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf_delta_max" "', argument "
"1"" of type '" "GCTAPsf const *""'"); goto fail; } while(0)
;
27445 }
27446 arg1 = reinterpret_cast< GCTAPsf * >(argp1);
27447 ecode2 = SWIG_AsVal_double(obj1, &val2);
27448 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
27449 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsf_delta_max" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsf_delta_max" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
27450 }
27451 temp2 = static_cast< double >(val2);
27452 arg2 = &temp2;
27453 ecode3 = SWIG_AsVal_double(obj2, &val3);
27454 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
27455 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsf_delta_max" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsf_delta_max" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
27456 }
27457 temp3 = static_cast< double >(val3);
27458 arg3 = &temp3;
27459 ecode4 = SWIG_AsVal_double(obj3, &val4);
27460 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
27461 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsf_delta_max" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsf_delta_max" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
27462 }
27463 temp4 = static_cast< double >(val4);
27464 arg4 = &temp4;
27465 ecode5 = SWIG_AsVal_double(obj4, &val5);
27466 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
27467 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsf_delta_max" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsf_delta_max" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
27468 }
27469 temp5 = static_cast< double >(val5);
27470 arg5 = &temp5;
27471 {
27472 try {
27473 result = (double)((GCTAPsf const *)arg1)->delta_max((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5);
27474 }
27475 catch (const GException::out_of_range& e) {
27476 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
27477 }
27478 catch (const GExceptionHandler& e) {
27479 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27480 }
27481 catch (const std::exception& e) {
27482 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27483 }
27484 }
27485 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
27486 return resultobj;
27487fail:
27488 return NULL__null;
27489}
27490
27491
27492SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf_delta_max__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27493 PyObject *resultobj = 0;
27494 GCTAPsf *arg1 = (GCTAPsf *) 0 ;
27495 double *arg2 = 0 ;
27496 double *arg3 = 0 ;
27497 double *arg4 = 0 ;
27498 void *argp1 = 0 ;
27499 int res1 = 0 ;
27500 double temp2 ;
27501 double val2 ;
27502 int ecode2 = 0 ;
27503 double temp3 ;
27504 double val3 ;
27505 int ecode3 = 0 ;
27506 double temp4 ;
27507 double val4 ;
27508 int ecode4 = 0 ;
27509 PyObject * obj0 = 0 ;
27510 PyObject * obj1 = 0 ;
27511 PyObject * obj2 = 0 ;
27512 PyObject * obj3 = 0 ;
27513 double result;
27514
27515 if (!PyArg_ParseTuple(args,(char *)"OOOO:GCTAPsf_delta_max",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
27516 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[23]
, 0 | 0, 0)
;
27517 if (!SWIG_IsOK(res1)(res1 >= 0)) {
27518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf_delta_max" "', argument " "1"" of type '" "GCTAPsf const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf_delta_max" "', argument "
"1"" of type '" "GCTAPsf const *""'"); goto fail; } while(0)
;
27519 }
27520 arg1 = reinterpret_cast< GCTAPsf * >(argp1);
27521 ecode2 = SWIG_AsVal_double(obj1, &val2);
27522 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
27523 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsf_delta_max" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsf_delta_max" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
27524 }
27525 temp2 = static_cast< double >(val2);
27526 arg2 = &temp2;
27527 ecode3 = SWIG_AsVal_double(obj2, &val3);
27528 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
27529 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsf_delta_max" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsf_delta_max" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
27530 }
27531 temp3 = static_cast< double >(val3);
27532 arg3 = &temp3;
27533 ecode4 = SWIG_AsVal_double(obj3, &val4);
27534 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
27535 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsf_delta_max" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsf_delta_max" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
27536 }
27537 temp4 = static_cast< double >(val4);
27538 arg4 = &temp4;
27539 {
27540 try {
27541 result = (double)((GCTAPsf const *)arg1)->delta_max((double const &)*arg2,(double const &)*arg3,(double const &)*arg4);
27542 }
27543 catch (const GException::out_of_range& e) {
27544 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
27545 }
27546 catch (const GExceptionHandler& e) {
27547 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27548 }
27549 catch (const std::exception& e) {
27550 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27551 }
27552 }
27553 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
27554 return resultobj;
27555fail:
27556 return NULL__null;
27557}
27558
27559
27560SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf_delta_max__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27561 PyObject *resultobj = 0;
27562 GCTAPsf *arg1 = (GCTAPsf *) 0 ;
27563 double *arg2 = 0 ;
27564 double *arg3 = 0 ;
27565 void *argp1 = 0 ;
27566 int res1 = 0 ;
27567 double temp2 ;
27568 double val2 ;
27569 int ecode2 = 0 ;
27570 double temp3 ;
27571 double val3 ;
27572 int ecode3 = 0 ;
27573 PyObject * obj0 = 0 ;
27574 PyObject * obj1 = 0 ;
27575 PyObject * obj2 = 0 ;
27576 double result;
27577
27578 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAPsf_delta_max",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
27579 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[23]
, 0 | 0, 0)
;
27580 if (!SWIG_IsOK(res1)(res1 >= 0)) {
27581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf_delta_max" "', argument " "1"" of type '" "GCTAPsf const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf_delta_max" "', argument "
"1"" of type '" "GCTAPsf const *""'"); goto fail; } while(0)
;
27582 }
27583 arg1 = reinterpret_cast< GCTAPsf * >(argp1);
27584 ecode2 = SWIG_AsVal_double(obj1, &val2);
27585 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
27586 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsf_delta_max" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsf_delta_max" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
27587 }
27588 temp2 = static_cast< double >(val2);
27589 arg2 = &temp2;
27590 ecode3 = SWIG_AsVal_double(obj2, &val3);
27591 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
27592 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsf_delta_max" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsf_delta_max" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
27593 }
27594 temp3 = static_cast< double >(val3);
27595 arg3 = &temp3;
27596 {
27597 try {
27598 result = (double)((GCTAPsf const *)arg1)->delta_max((double const &)*arg2,(double const &)*arg3);
27599 }
27600 catch (const GException::out_of_range& e) {
27601 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
27602 }
27603 catch (const GExceptionHandler& e) {
27604 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27605 }
27606 catch (const std::exception& e) {
27607 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27608 }
27609 }
27610 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
27611 return resultobj;
27612fail:
27613 return NULL__null;
27614}
27615
27616
27617SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf_delta_max__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27618 PyObject *resultobj = 0;
27619 GCTAPsf *arg1 = (GCTAPsf *) 0 ;
27620 double *arg2 = 0 ;
27621 void *argp1 = 0 ;
27622 int res1 = 0 ;
27623 double temp2 ;
27624 double val2 ;
27625 int ecode2 = 0 ;
27626 PyObject * obj0 = 0 ;
27627 PyObject * obj1 = 0 ;
27628 double result;
27629
27630 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAPsf_delta_max",&obj0,&obj1)) SWIG_failgoto fail;
27631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[23]
, 0 | 0, 0)
;
27632 if (!SWIG_IsOK(res1)(res1 >= 0)) {
27633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf_delta_max" "', argument " "1"" of type '" "GCTAPsf const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf_delta_max" "', argument "
"1"" of type '" "GCTAPsf const *""'"); goto fail; } while(0)
;
27634 }
27635 arg1 = reinterpret_cast< GCTAPsf * >(argp1);
27636 ecode2 = SWIG_AsVal_double(obj1, &val2);
27637 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
27638 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsf_delta_max" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsf_delta_max" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
27639 }
27640 temp2 = static_cast< double >(val2);
27641 arg2 = &temp2;
27642 {
27643 try {
27644 result = (double)((GCTAPsf const *)arg1)->delta_max((double const &)*arg2);
27645 }
27646 catch (const GException::out_of_range& e) {
27647 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
27648 }
27649 catch (const GExceptionHandler& e) {
27650 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27651 }
27652 catch (const std::exception& e) {
27653 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27654 }
27655 }
27656 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
27657 return resultobj;
27658fail:
27659 return NULL__null;
27660}
27661
27662
27663SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf_delta_max(PyObject *self, PyObject *args) {
27664 int argc;
27665 PyObject *argv[8];
27666 int ii;
27667
27668 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
27669 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
27670 for (ii = 0; (ii < 7) && (ii < argc); ii++) {
27671 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
27672 }
27673 if (argc == 2) {
27674 int _v;
27675 void *vptr = 0;
27676 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsf, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[23
], 0, 0)
;
27677 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27678 if (_v) {
27679 {
27680 int res = SWIG_AsVal_double(argv[1], NULL__null);
27681 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27682 }
27683 if (_v) {
27684 return _wrap_GCTAPsf_delta_max__SWIG_5(self, args);
27685 }
27686 }
27687 }
27688 if (argc == 3) {
27689 int _v;
27690 void *vptr = 0;
27691 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsf, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[23
], 0, 0)
;
27692 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27693 if (_v) {
27694 {
27695 int res = SWIG_AsVal_double(argv[1], NULL__null);
27696 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27697 }
27698 if (_v) {
27699 {
27700 int res = SWIG_AsVal_double(argv[2], NULL__null);
27701 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27702 }
27703 if (_v) {
27704 return _wrap_GCTAPsf_delta_max__SWIG_4(self, args);
27705 }
27706 }
27707 }
27708 }
27709 if (argc == 4) {
27710 int _v;
27711 void *vptr = 0;
27712 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsf, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[23
], 0, 0)
;
27713 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27714 if (_v) {
27715 {
27716 int res = SWIG_AsVal_double(argv[1], NULL__null);
27717 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27718 }
27719 if (_v) {
27720 {
27721 int res = SWIG_AsVal_double(argv[2], NULL__null);
27722 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27723 }
27724 if (_v) {
27725 {
27726 int res = SWIG_AsVal_double(argv[3], NULL__null);
27727 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27728 }
27729 if (_v) {
27730 return _wrap_GCTAPsf_delta_max__SWIG_3(self, args);
27731 }
27732 }
27733 }
27734 }
27735 }
27736 if (argc == 5) {
27737 int _v;
27738 void *vptr = 0;
27739 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsf, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[23
], 0, 0)
;
27740 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27741 if (_v) {
27742 {
27743 int res = SWIG_AsVal_double(argv[1], NULL__null);
27744 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27745 }
27746 if (_v) {
27747 {
27748 int res = SWIG_AsVal_double(argv[2], NULL__null);
27749 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27750 }
27751 if (_v) {
27752 {
27753 int res = SWIG_AsVal_double(argv[3], NULL__null);
27754 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27755 }
27756 if (_v) {
27757 {
27758 int res = SWIG_AsVal_double(argv[4], NULL__null);
27759 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27760 }
27761 if (_v) {
27762 return _wrap_GCTAPsf_delta_max__SWIG_2(self, args);
27763 }
27764 }
27765 }
27766 }
27767 }
27768 }
27769 if (argc == 6) {
27770 int _v;
27771 void *vptr = 0;
27772 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsf, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[23
], 0, 0)
;
27773 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27774 if (_v) {
27775 {
27776 int res = SWIG_AsVal_double(argv[1], NULL__null);
27777 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27778 }
27779 if (_v) {
27780 {
27781 int res = SWIG_AsVal_double(argv[2], NULL__null);
27782 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27783 }
27784 if (_v) {
27785 {
27786 int res = SWIG_AsVal_double(argv[3], NULL__null);
27787 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27788 }
27789 if (_v) {
27790 {
27791 int res = SWIG_AsVal_double(argv[4], NULL__null);
27792 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27793 }
27794 if (_v) {
27795 {
27796 int res = SWIG_AsVal_double(argv[5], NULL__null);
27797 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27798 }
27799 if (_v) {
27800 return _wrap_GCTAPsf_delta_max__SWIG_1(self, args);
27801 }
27802 }
27803 }
27804 }
27805 }
27806 }
27807 }
27808 if (argc == 7) {
27809 int _v;
27810 void *vptr = 0;
27811 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsf, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[23
], 0, 0)
;
27812 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27813 if (_v) {
27814 {
27815 int res = SWIG_AsVal_double(argv[1], NULL__null);
27816 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27817 }
27818 if (_v) {
27819 {
27820 int res = SWIG_AsVal_double(argv[2], NULL__null);
27821 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27822 }
27823 if (_v) {
27824 {
27825 int res = SWIG_AsVal_double(argv[3], NULL__null);
27826 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27827 }
27828 if (_v) {
27829 {
27830 int res = SWIG_AsVal_double(argv[4], NULL__null);
27831 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27832 }
27833 if (_v) {
27834 {
27835 int res = SWIG_AsVal_double(argv[5], NULL__null);
27836 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27837 }
27838 if (_v) {
27839 {
27840 int res = SWIG_AsVal_bool(argv[6], NULL__null);
27841 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27842 }
27843 if (_v) {
27844 return _wrap_GCTAPsf_delta_max__SWIG_0(self, args);
27845 }
27846 }
27847 }
27848 }
27849 }
27850 }
27851 }
27852 }
27853
27854fail:
27855 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAPsf_delta_max'.\n"
27856 " Possible C/C++ prototypes are:\n"
27857 " GCTAPsf::delta_max(double const &,double const &,double const &,double const &,double const &,bool const &) const\n"
27858 " GCTAPsf::delta_max(double const &,double const &,double const &,double const &,double const &) const\n"
27859 " GCTAPsf::delta_max(double const &,double const &,double const &,double const &) const\n"
27860 " GCTAPsf::delta_max(double const &,double const &,double const &) const\n"
27861 " GCTAPsf::delta_max(double const &,double const &) const\n"
27862 " GCTAPsf::delta_max(double const &) const\n");
27863 return 0;
27864}
27865
27866
27867SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GCTAPsf_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27868 PyObject *obj;
27869 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
27870 SWIG_TypeNewClientData(SWIGTYPE_p_GCTAPsfswig_types[23], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
27871 return SWIG_Py_Void();
27872}
27873
27874SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAPsfPerfTable__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27875 PyObject *resultobj = 0;
27876 GCTAPsfPerfTable *result = 0 ;
27877
27878 if (!PyArg_ParseTuple(args,(char *)":new_GCTAPsfPerfTable")) SWIG_failgoto fail;
27879 {
27880 try {
27881 result = (GCTAPsfPerfTable *)new GCTAPsfPerfTable();
27882 }
27883 catch (const GException::out_of_range& e) {
27884 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
27885 }
27886 catch (const GExceptionHandler& e) {
27887 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27888 }
27889 catch (const std::exception& e) {
27890 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27891 }
27892 }
27893 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAPsfPerfTable, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[26], (
(0x1 << 1) | 0x1) | 0)
;
27894 return resultobj;
27895fail:
27896 return NULL__null;
27897}
27898
27899
27900SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAPsfPerfTable__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27901 PyObject *resultobj = 0;
27902 std::string *arg1 = 0 ;
27903 int res1 = SWIG_OLDOBJ((0)) ;
27904 PyObject * obj0 = 0 ;
27905 GCTAPsfPerfTable *result = 0 ;
27906
27907 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAPsfPerfTable",&obj0)) SWIG_failgoto fail;
27908 {
27909 std::string *ptr = (std::string *)0;
27910 res1 = SWIG_AsPtr_std_string(obj0, &ptr);
27911 if (!SWIG_IsOK(res1)(res1 >= 0)) {
27912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAPsfPerfTable" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAPsfPerfTable" "', argument "
"1"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
27913 }
27914 if (!ptr) {
27915 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAPsfPerfTable" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAPsfPerfTable" "', argument " "1"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
27916 }
27917 arg1 = ptr;
27918 }
27919 {
27920 try {
27921 result = (GCTAPsfPerfTable *)new GCTAPsfPerfTable((std::string const &)*arg1);
27922 }
27923 catch (const GException::out_of_range& e) {
27924 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
27925 }
27926 catch (const GExceptionHandler& e) {
27927 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27928 }
27929 catch (const std::exception& e) {
27930 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27931 }
27932 }
27933 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAPsfPerfTable, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[26], (
(0x1 << 1) | 0x1) | 0)
;
27934 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
27935 return resultobj;
27936fail:
27937 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
27938 return NULL__null;
27939}
27940
27941
27942SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAPsfPerfTable__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27943 PyObject *resultobj = 0;
27944 GCTAPsfPerfTable *arg1 = 0 ;
27945 void *argp1 = 0 ;
27946 int res1 = 0 ;
27947 PyObject * obj0 = 0 ;
27948 GCTAPsfPerfTable *result = 0 ;
27949
27950 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAPsfPerfTable",&obj0)) SWIG_failgoto fail;
27951 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GCTAPsfPerfTable, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0 | 0, 0)
;
27952 if (!SWIG_IsOK(res1)(res1 >= 0)) {
27953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAPsfPerfTable" "', argument " "1"" of type '" "GCTAPsfPerfTable const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAPsfPerfTable" "', argument "
"1"" of type '" "GCTAPsfPerfTable const &""'"); goto fail
; } while(0)
;
27954 }
27955 if (!argp1) {
27956 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAPsfPerfTable" "', argument " "1"" of type '" "GCTAPsfPerfTable const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAPsfPerfTable" "', argument " "1"" of type '"
"GCTAPsfPerfTable const &""'"); goto fail; } while(0)
;
27957 }
27958 arg1 = reinterpret_cast< GCTAPsfPerfTable * >(argp1);
27959 {
27960 try {
27961 result = (GCTAPsfPerfTable *)new GCTAPsfPerfTable((GCTAPsfPerfTable const &)*arg1);
27962 }
27963 catch (const GException::out_of_range& e) {
27964 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
27965 }
27966 catch (const GExceptionHandler& e) {
27967 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27968 }
27969 catch (const std::exception& e) {
27970 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27971 }
27972 }
27973 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAPsfPerfTable, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[26], (
(0x1 << 1) | 0x1) | 0)
;
27974 return resultobj;
27975fail:
27976 return NULL__null;
27977}
27978
27979
27980SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAPsfPerfTable(PyObject *self, PyObject *args) {
27981 int argc;
27982 PyObject *argv[2];
27983 int ii;
27984
27985 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
27986 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
27987 for (ii = 0; (ii < 1) && (ii < argc); ii++) {
27988 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
27989 }
27990 if (argc == 0) {
27991 return _wrap_new_GCTAPsfPerfTable__SWIG_0(self, args);
27992 }
27993 if (argc == 1) {
27994 int _v;
27995 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GCTAPsfPerfTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[26], 0, 0
)
;
27996 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27997 if (_v) {
27998 return _wrap_new_GCTAPsfPerfTable__SWIG_2(self, args);
27999 }
28000 }
28001 if (argc == 1) {
28002 int _v;
28003 int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
28004 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28005 if (_v) {
28006 return _wrap_new_GCTAPsfPerfTable__SWIG_1(self, args);
28007 }
28008 }
28009
28010fail:
28011 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GCTAPsfPerfTable'.\n"
28012 " Possible C/C++ prototypes are:\n"
28013 " GCTAPsfPerfTable::GCTAPsfPerfTable()\n"
28014 " GCTAPsfPerfTable::GCTAPsfPerfTable(std::string const &)\n"
28015 " GCTAPsfPerfTable::GCTAPsfPerfTable(GCTAPsfPerfTable const &)\n");
28016 return 0;
28017}
28018
28019
28020SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GCTAPsfPerfTable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28021 PyObject *resultobj = 0;
28022 GCTAPsfPerfTable *arg1 = (GCTAPsfPerfTable *) 0 ;
28023 void *argp1 = 0 ;
28024 int res1 = 0 ;
28025 PyObject * obj0 = 0 ;
28026
28027 if (!PyArg_ParseTuple(args,(char *)"O:delete_GCTAPsfPerfTable",&obj0)) SWIG_failgoto fail;
28028 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfPerfTable, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0x1 | 0, 0)
;
28029 if (!SWIG_IsOK(res1)(res1 >= 0)) {
28030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GCTAPsfPerfTable" "', argument " "1"" of type '" "GCTAPsfPerfTable *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GCTAPsfPerfTable" "', argument "
"1"" of type '" "GCTAPsfPerfTable *""'"); goto fail; } while
(0)
;
28031 }
28032 arg1 = reinterpret_cast< GCTAPsfPerfTable * >(argp1);
28033 {
28034 try {
28035 delete arg1;
28036 }
28037 catch (const GException::out_of_range& e) {
28038 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
28039 }
28040 catch (const GExceptionHandler& e) {
28041 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28042 }
28043 catch (const std::exception& e) {
28044 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28045 }
28046 }
28047 resultobj = SWIG_Py_Void();
28048 return resultobj;
28049fail:
28050 return NULL__null;
28051}
28052
28053
28054SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfPerfTable___call____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28055 PyObject *resultobj = 0;
28056 GCTAPsfPerfTable *arg1 = (GCTAPsfPerfTable *) 0 ;
28057 double *arg2 = 0 ;
28058 double *arg3 = 0 ;
28059 double *arg4 = 0 ;
28060 double *arg5 = 0 ;
28061 double *arg6 = 0 ;
28062 double *arg7 = 0 ;
28063 bool *arg8 = 0 ;
28064 void *argp1 = 0 ;
28065 int res1 = 0 ;
28066 double temp2 ;
28067 double val2 ;
28068 int ecode2 = 0 ;
28069 double temp3 ;
28070 double val3 ;
28071 int ecode3 = 0 ;
28072 double temp4 ;
28073 double val4 ;
28074 int ecode4 = 0 ;
28075 double temp5 ;
28076 double val5 ;
28077 int ecode5 = 0 ;
28078 double temp6 ;
28079 double val6 ;
28080 int ecode6 = 0 ;
28081 double temp7 ;
28082 double val7 ;
28083 int ecode7 = 0 ;
28084 bool temp8 ;
28085 bool val8 ;
28086 int ecode8 = 0 ;
28087 PyObject * obj0 = 0 ;
28088 PyObject * obj1 = 0 ;
28089 PyObject * obj2 = 0 ;
28090 PyObject * obj3 = 0 ;
28091 PyObject * obj4 = 0 ;
28092 PyObject * obj5 = 0 ;
28093 PyObject * obj6 = 0 ;
28094 PyObject * obj7 = 0 ;
28095 double result;
28096
28097 if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:GCTAPsfPerfTable___call__",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_failgoto fail;
28098 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfPerfTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0 | 0, 0)
;
28099 if (!SWIG_IsOK(res1)(res1 >= 0)) {
28100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfPerfTable___call__" "', argument " "1"" of type '" "GCTAPsfPerfTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfPerfTable___call__"
"', argument " "1"" of type '" "GCTAPsfPerfTable const *""'"
); goto fail; } while(0)
;
28101 }
28102 arg1 = reinterpret_cast< GCTAPsfPerfTable * >(argp1);
28103 ecode2 = SWIG_AsVal_double(obj1, &val2);
28104 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
28105 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsfPerfTable___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsfPerfTable___call__"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
28106 }
28107 temp2 = static_cast< double >(val2);
28108 arg2 = &temp2;
28109 ecode3 = SWIG_AsVal_double(obj2, &val3);
28110 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
28111 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfPerfTable___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfPerfTable___call__"
"', argument " "3"" of type '" "double""'"); goto fail; } while
(0)
;
28112 }
28113 temp3 = static_cast< double >(val3);
28114 arg3 = &temp3;
28115 ecode4 = SWIG_AsVal_double(obj3, &val4);
28116 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
28117 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsfPerfTable___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsfPerfTable___call__"
"', argument " "4"" of type '" "double""'"); goto fail; } while
(0)
;
28118 }
28119 temp4 = static_cast< double >(val4);
28120 arg4 = &temp4;
28121 ecode5 = SWIG_AsVal_double(obj4, &val5);
28122 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
28123 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsfPerfTable___call__" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsfPerfTable___call__"
"', argument " "5"" of type '" "double""'"); goto fail; } while
(0)
;
28124 }
28125 temp5 = static_cast< double >(val5);
28126 arg5 = &temp5;
28127 ecode6 = SWIG_AsVal_double(obj5, &val6);
28128 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
28129 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAPsfPerfTable___call__" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAPsfPerfTable___call__"
"', argument " "6"" of type '" "double""'"); goto fail; } while
(0)
;
28130 }
28131 temp6 = static_cast< double >(val6);
28132 arg6 = &temp6;
28133 ecode7 = SWIG_AsVal_double(obj6, &val7);
28134 if (!SWIG_IsOK(ecode7)(ecode7 >= 0)) {
28135 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GCTAPsfPerfTable___call__" "', argument " "7"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode7 !=
(-1)) ? ecode7 : -5)), "in method '" "GCTAPsfPerfTable___call__"
"', argument " "7"" of type '" "double""'"); goto fail; } while
(0)
;
28136 }
28137 temp7 = static_cast< double >(val7);
28138 arg7 = &temp7;
28139 ecode8 = SWIG_AsVal_bool(obj7, &val8);
28140 if (!SWIG_IsOK(ecode8)(ecode8 >= 0)) {
28141 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "GCTAPsfPerfTable___call__" "', argument " "8"" of type '" "bool""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode8 !=
(-1)) ? ecode8 : -5)), "in method '" "GCTAPsfPerfTable___call__"
"', argument " "8"" of type '" "bool""'"); goto fail; } while
(0)
;
28142 }
28143 temp8 = static_cast< bool >(val8);
28144 arg8 = &temp8;
28145 {
28146 try {
28147 result = (double)((GCTAPsfPerfTable const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6,(double const &)*arg7,(bool const &)*arg8);
28148 }
28149 catch (const GException::out_of_range& e) {
28150 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
28151 }
28152 catch (const GExceptionHandler& e) {
28153 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28154 }
28155 catch (const std::exception& e) {
28156 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28157 }
28158 }
28159 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
28160 return resultobj;
28161fail:
28162 return NULL__null;
28163}
28164
28165
28166SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfPerfTable___call____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28167 PyObject *resultobj = 0;
28168 GCTAPsfPerfTable *arg1 = (GCTAPsfPerfTable *) 0 ;
28169 double *arg2 = 0 ;
28170 double *arg3 = 0 ;
28171 double *arg4 = 0 ;
28172 double *arg5 = 0 ;
28173 double *arg6 = 0 ;
28174 double *arg7 = 0 ;
28175 void *argp1 = 0 ;
28176 int res1 = 0 ;
28177 double temp2 ;
28178 double val2 ;
28179 int ecode2 = 0 ;
28180 double temp3 ;
28181 double val3 ;
28182 int ecode3 = 0 ;
28183 double temp4 ;
28184 double val4 ;
28185 int ecode4 = 0 ;
28186 double temp5 ;
28187 double val5 ;
28188 int ecode5 = 0 ;
28189 double temp6 ;
28190 double val6 ;
28191 int ecode6 = 0 ;
28192 double temp7 ;
28193 double val7 ;
28194 int ecode7 = 0 ;
28195 PyObject * obj0 = 0 ;
28196 PyObject * obj1 = 0 ;
28197 PyObject * obj2 = 0 ;
28198 PyObject * obj3 = 0 ;
28199 PyObject * obj4 = 0 ;
28200 PyObject * obj5 = 0 ;
28201 PyObject * obj6 = 0 ;
28202 double result;
28203
28204 if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:GCTAPsfPerfTable___call__",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_failgoto fail;
28205 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfPerfTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0 | 0, 0)
;
28206 if (!SWIG_IsOK(res1)(res1 >= 0)) {
28207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfPerfTable___call__" "', argument " "1"" of type '" "GCTAPsfPerfTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfPerfTable___call__"
"', argument " "1"" of type '" "GCTAPsfPerfTable const *""'"
); goto fail; } while(0)
;
28208 }
28209 arg1 = reinterpret_cast< GCTAPsfPerfTable * >(argp1);
28210 ecode2 = SWIG_AsVal_double(obj1, &val2);
28211 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
28212 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsfPerfTable___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsfPerfTable___call__"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
28213 }
28214 temp2 = static_cast< double >(val2);
28215 arg2 = &temp2;
28216 ecode3 = SWIG_AsVal_double(obj2, &val3);
28217 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
28218 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfPerfTable___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfPerfTable___call__"
"', argument " "3"" of type '" "double""'"); goto fail; } while
(0)
;
28219 }
28220 temp3 = static_cast< double >(val3);
28221 arg3 = &temp3;
28222 ecode4 = SWIG_AsVal_double(obj3, &val4);
28223 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
28224 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsfPerfTable___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsfPerfTable___call__"
"', argument " "4"" of type '" "double""'"); goto fail; } while
(0)
;
28225 }
28226 temp4 = static_cast< double >(val4);
28227 arg4 = &temp4;
28228 ecode5 = SWIG_AsVal_double(obj4, &val5);
28229 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
28230 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsfPerfTable___call__" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsfPerfTable___call__"
"', argument " "5"" of type '" "double""'"); goto fail; } while
(0)
;
28231 }
28232 temp5 = static_cast< double >(val5);
28233 arg5 = &temp5;
28234 ecode6 = SWIG_AsVal_double(obj5, &val6);
28235 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
28236 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAPsfPerfTable___call__" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAPsfPerfTable___call__"
"', argument " "6"" of type '" "double""'"); goto fail; } while
(0)
;
28237 }
28238 temp6 = static_cast< double >(val6);
28239 arg6 = &temp6;
28240 ecode7 = SWIG_AsVal_double(obj6, &val7);
28241 if (!SWIG_IsOK(ecode7)(ecode7 >= 0)) {
28242 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GCTAPsfPerfTable___call__" "', argument " "7"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode7 !=
(-1)) ? ecode7 : -5)), "in method '" "GCTAPsfPerfTable___call__"
"', argument " "7"" of type '" "double""'"); goto fail; } while
(0)
;
28243 }
28244 temp7 = static_cast< double >(val7);
28245 arg7 = &temp7;
28246 {
28247 try {
28248 result = (double)((GCTAPsfPerfTable const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6,(double const &)*arg7);
28249 }
28250 catch (const GException::out_of_range& e) {
28251 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
28252 }
28253 catch (const GExceptionHandler& e) {
28254 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28255 }
28256 catch (const std::exception& e) {
28257 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28258 }
28259 }
28260 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
28261 return resultobj;
28262fail:
28263 return NULL__null;
28264}
28265
28266
28267SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfPerfTable___call____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28268 PyObject *resultobj = 0;
28269 GCTAPsfPerfTable *arg1 = (GCTAPsfPerfTable *) 0 ;
28270 double *arg2 = 0 ;
28271 double *arg3 = 0 ;
28272 double *arg4 = 0 ;
28273 double *arg5 = 0 ;
28274 double *arg6 = 0 ;
28275 void *argp1 = 0 ;
28276 int res1 = 0 ;
28277 double temp2 ;
28278 double val2 ;
28279 int ecode2 = 0 ;
28280 double temp3 ;
28281 double val3 ;
28282 int ecode3 = 0 ;
28283 double temp4 ;
28284 double val4 ;
28285 int ecode4 = 0 ;
28286 double temp5 ;
28287 double val5 ;
28288 int ecode5 = 0 ;
28289 double temp6 ;
28290 double val6 ;
28291 int ecode6 = 0 ;
28292 PyObject * obj0 = 0 ;
28293 PyObject * obj1 = 0 ;
28294 PyObject * obj2 = 0 ;
28295 PyObject * obj3 = 0 ;
28296 PyObject * obj4 = 0 ;
28297 PyObject * obj5 = 0 ;
28298 double result;
28299
28300 if (!PyArg_ParseTuple(args,(char *)"OOOOOO:GCTAPsfPerfTable___call__",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_failgoto fail;
28301 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfPerfTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0 | 0, 0)
;
28302 if (!SWIG_IsOK(res1)(res1 >= 0)) {
28303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfPerfTable___call__" "', argument " "1"" of type '" "GCTAPsfPerfTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfPerfTable___call__"
"', argument " "1"" of type '" "GCTAPsfPerfTable const *""'"
); goto fail; } while(0)
;
28304 }
28305 arg1 = reinterpret_cast< GCTAPsfPerfTable * >(argp1);
28306 ecode2 = SWIG_AsVal_double(obj1, &val2);
28307 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
28308 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsfPerfTable___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsfPerfTable___call__"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
28309 }
28310 temp2 = static_cast< double >(val2);
28311 arg2 = &temp2;
28312 ecode3 = SWIG_AsVal_double(obj2, &val3);
28313 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
28314 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfPerfTable___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfPerfTable___call__"
"', argument " "3"" of type '" "double""'"); goto fail; } while
(0)
;
28315 }
28316 temp3 = static_cast< double >(val3);
28317 arg3 = &temp3;
28318 ecode4 = SWIG_AsVal_double(obj3, &val4);
28319 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
28320 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsfPerfTable___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsfPerfTable___call__"
"', argument " "4"" of type '" "double""'"); goto fail; } while
(0)
;
28321 }
28322 temp4 = static_cast< double >(val4);
28323 arg4 = &temp4;
28324 ecode5 = SWIG_AsVal_double(obj4, &val5);
28325 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
28326 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsfPerfTable___call__" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsfPerfTable___call__"
"', argument " "5"" of type '" "double""'"); goto fail; } while
(0)
;
28327 }
28328 temp5 = static_cast< double >(val5);
28329 arg5 = &temp5;
28330 ecode6 = SWIG_AsVal_double(obj5, &val6);
28331 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
28332 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAPsfPerfTable___call__" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAPsfPerfTable___call__"
"', argument " "6"" of type '" "double""'"); goto fail; } while
(0)
;
28333 }
28334 temp6 = static_cast< double >(val6);
28335 arg6 = &temp6;
28336 {
28337 try {
28338 result = (double)((GCTAPsfPerfTable const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6);
28339 }
28340 catch (const GException::out_of_range& e) {
28341 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
28342 }
28343 catch (const GExceptionHandler& e) {
28344 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28345 }
28346 catch (const std::exception& e) {
28347 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28348 }
28349 }
28350 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
28351 return resultobj;
28352fail:
28353 return NULL__null;
28354}
28355
28356
28357SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfPerfTable___call____SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28358 PyObject *resultobj = 0;
28359 GCTAPsfPerfTable *arg1 = (GCTAPsfPerfTable *) 0 ;
28360 double *arg2 = 0 ;
28361 double *arg3 = 0 ;
28362 double *arg4 = 0 ;
28363 double *arg5 = 0 ;
28364 void *argp1 = 0 ;
28365 int res1 = 0 ;
28366 double temp2 ;
28367 double val2 ;
28368 int ecode2 = 0 ;
28369 double temp3 ;
28370 double val3 ;
28371 int ecode3 = 0 ;
28372 double temp4 ;
28373 double val4 ;
28374 int ecode4 = 0 ;
28375 double temp5 ;
28376 double val5 ;
28377 int ecode5 = 0 ;
28378 PyObject * obj0 = 0 ;
28379 PyObject * obj1 = 0 ;
28380 PyObject * obj2 = 0 ;
28381 PyObject * obj3 = 0 ;
28382 PyObject * obj4 = 0 ;
28383 double result;
28384
28385 if (!PyArg_ParseTuple(args,(char *)"OOOOO:GCTAPsfPerfTable___call__",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_failgoto fail;
28386 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfPerfTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0 | 0, 0)
;
28387 if (!SWIG_IsOK(res1)(res1 >= 0)) {
28388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfPerfTable___call__" "', argument " "1"" of type '" "GCTAPsfPerfTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfPerfTable___call__"
"', argument " "1"" of type '" "GCTAPsfPerfTable const *""'"
); goto fail; } while(0)
;
28389 }
28390 arg1 = reinterpret_cast< GCTAPsfPerfTable * >(argp1);
28391 ecode2 = SWIG_AsVal_double(obj1, &val2);
28392 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
28393 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsfPerfTable___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsfPerfTable___call__"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
28394 }
28395 temp2 = static_cast< double >(val2);
28396 arg2 = &temp2;
28397 ecode3 = SWIG_AsVal_double(obj2, &val3);
28398 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
28399 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfPerfTable___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfPerfTable___call__"
"', argument " "3"" of type '" "double""'"); goto fail; } while
(0)
;
28400 }
28401 temp3 = static_cast< double >(val3);
28402 arg3 = &temp3;
28403 ecode4 = SWIG_AsVal_double(obj3, &val4);
28404 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
28405 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsfPerfTable___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsfPerfTable___call__"
"', argument " "4"" of type '" "double""'"); goto fail; } while
(0)
;
28406 }
28407 temp4 = static_cast< double >(val4);
28408 arg4 = &temp4;
28409 ecode5 = SWIG_AsVal_double(obj4, &val5);
28410 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
28411 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsfPerfTable___call__" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsfPerfTable___call__"
"', argument " "5"" of type '" "double""'"); goto fail; } while
(0)
;
28412 }
28413 temp5 = static_cast< double >(val5);
28414 arg5 = &temp5;
28415 {
28416 try {
28417 result = (double)((GCTAPsfPerfTable const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5);
28418 }
28419 catch (const GException::out_of_range& e) {
28420 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
28421 }
28422 catch (const GExceptionHandler& e) {
28423 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28424 }
28425 catch (const std::exception& e) {
28426 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28427 }
28428 }
28429 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
28430 return resultobj;
28431fail:
28432 return NULL__null;
28433}
28434
28435
28436SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfPerfTable___call____SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28437 PyObject *resultobj = 0;
28438 GCTAPsfPerfTable *arg1 = (GCTAPsfPerfTable *) 0 ;
28439 double *arg2 = 0 ;
28440 double *arg3 = 0 ;
28441 double *arg4 = 0 ;
28442 void *argp1 = 0 ;
28443 int res1 = 0 ;
28444 double temp2 ;
28445 double val2 ;
28446 int ecode2 = 0 ;
28447 double temp3 ;
28448 double val3 ;
28449 int ecode3 = 0 ;
28450 double temp4 ;
28451 double val4 ;
28452 int ecode4 = 0 ;
28453 PyObject * obj0 = 0 ;
28454 PyObject * obj1 = 0 ;
28455 PyObject * obj2 = 0 ;
28456 PyObject * obj3 = 0 ;
28457 double result;
28458
28459 if (!PyArg_ParseTuple(args,(char *)"OOOO:GCTAPsfPerfTable___call__",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
28460 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfPerfTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0 | 0, 0)
;
28461 if (!SWIG_IsOK(res1)(res1 >= 0)) {
28462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfPerfTable___call__" "', argument " "1"" of type '" "GCTAPsfPerfTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfPerfTable___call__"
"', argument " "1"" of type '" "GCTAPsfPerfTable const *""'"
); goto fail; } while(0)
;
28463 }
28464 arg1 = reinterpret_cast< GCTAPsfPerfTable * >(argp1);
28465 ecode2 = SWIG_AsVal_double(obj1, &val2);
28466 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
28467 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsfPerfTable___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsfPerfTable___call__"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
28468 }
28469 temp2 = static_cast< double >(val2);
28470 arg2 = &temp2;
28471 ecode3 = SWIG_AsVal_double(obj2, &val3);
28472 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
28473 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfPerfTable___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfPerfTable___call__"
"', argument " "3"" of type '" "double""'"); goto fail; } while
(0)
;
28474 }
28475 temp3 = static_cast< double >(val3);
28476 arg3 = &temp3;
28477 ecode4 = SWIG_AsVal_double(obj3, &val4);
28478 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
28479 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsfPerfTable___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsfPerfTable___call__"
"', argument " "4"" of type '" "double""'"); goto fail; } while
(0)
;
28480 }
28481 temp4 = static_cast< double >(val4);
28482 arg4 = &temp4;
28483 {
28484 try {
28485 result = (double)((GCTAPsfPerfTable const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4);
28486 }
28487 catch (const GException::out_of_range& e) {
28488 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
28489 }
28490 catch (const GExceptionHandler& e) {
28491 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28492 }
28493 catch (const std::exception& e) {
28494 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28495 }
28496 }
28497 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
28498 return resultobj;
28499fail:
28500 return NULL__null;
28501}
28502
28503
28504SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfPerfTable___call____SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28505 PyObject *resultobj = 0;
28506 GCTAPsfPerfTable *arg1 = (GCTAPsfPerfTable *) 0 ;
28507 double *arg2 = 0 ;
28508 double *arg3 = 0 ;
28509 void *argp1 = 0 ;
28510 int res1 = 0 ;
28511 double temp2 ;
28512 double val2 ;
28513 int ecode2 = 0 ;
28514 double temp3 ;
28515 double val3 ;
28516 int ecode3 = 0 ;
28517 PyObject * obj0 = 0 ;
28518 PyObject * obj1 = 0 ;
28519 PyObject * obj2 = 0 ;
28520 double result;
28521
28522 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAPsfPerfTable___call__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
28523 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfPerfTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0 | 0, 0)
;
28524 if (!SWIG_IsOK(res1)(res1 >= 0)) {
28525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfPerfTable___call__" "', argument " "1"" of type '" "GCTAPsfPerfTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfPerfTable___call__"
"', argument " "1"" of type '" "GCTAPsfPerfTable const *""'"
); goto fail; } while(0)
;
28526 }
28527 arg1 = reinterpret_cast< GCTAPsfPerfTable * >(argp1);
28528 ecode2 = SWIG_AsVal_double(obj1, &val2);
28529 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
28530 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsfPerfTable___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsfPerfTable___call__"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
28531 }
28532 temp2 = static_cast< double >(val2);
28533 arg2 = &temp2;
28534 ecode3 = SWIG_AsVal_double(obj2, &val3);
28535 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
28536 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfPerfTable___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfPerfTable___call__"
"', argument " "3"" of type '" "double""'"); goto fail; } while
(0)
;
28537 }
28538 temp3 = static_cast< double >(val3);
28539 arg3 = &temp3;
28540 {
28541 try {
28542 result = (double)((GCTAPsfPerfTable const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3);
28543 }
28544 catch (const GException::out_of_range& e) {
28545 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
28546 }
28547 catch (const GExceptionHandler& e) {
28548 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28549 }
28550 catch (const std::exception& e) {
28551 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28552 }
28553 }
28554 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
28555 return resultobj;
28556fail:
28557 return NULL__null;
28558}
28559
28560
28561SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfPerfTable___call__(PyObject *self, PyObject *args) {
28562 int argc;
28563 PyObject *argv[9];
28564 int ii;
28565
28566 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
28567 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
28568 for (ii = 0; (ii < 8) && (ii < argc); ii++) {
28569 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
28570 }
28571 if (argc == 3) {
28572 int _v;
28573 void *vptr = 0;
28574 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfPerfTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[26
], 0, 0)
;
28575 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28576 if (_v) {
28577 {
28578 int res = SWIG_AsVal_double(argv[1], NULL__null);
28579 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28580 }
28581 if (_v) {
28582 {
28583 int res = SWIG_AsVal_double(argv[2], NULL__null);
28584 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28585 }
28586 if (_v) {
28587 return _wrap_GCTAPsfPerfTable___call____SWIG_5(self, args);
28588 }
28589 }
28590 }
28591 }
28592 if (argc == 4) {
28593 int _v;
28594 void *vptr = 0;
28595 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfPerfTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[26
], 0, 0)
;
28596 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28597 if (_v) {
28598 {
28599 int res = SWIG_AsVal_double(argv[1], NULL__null);
28600 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28601 }
28602 if (_v) {
28603 {
28604 int res = SWIG_AsVal_double(argv[2], NULL__null);
28605 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28606 }
28607 if (_v) {
28608 {
28609 int res = SWIG_AsVal_double(argv[3], NULL__null);
28610 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28611 }
28612 if (_v) {
28613 return _wrap_GCTAPsfPerfTable___call____SWIG_4(self, args);
28614 }
28615 }
28616 }
28617 }
28618 }
28619 if (argc == 5) {
28620 int _v;
28621 void *vptr = 0;
28622 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfPerfTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[26
], 0, 0)
;
28623 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28624 if (_v) {
28625 {
28626 int res = SWIG_AsVal_double(argv[1], NULL__null);
28627 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28628 }
28629 if (_v) {
28630 {
28631 int res = SWIG_AsVal_double(argv[2], NULL__null);
28632 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28633 }
28634 if (_v) {
28635 {
28636 int res = SWIG_AsVal_double(argv[3], NULL__null);
28637 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28638 }
28639 if (_v) {
28640 {
28641 int res = SWIG_AsVal_double(argv[4], NULL__null);
28642 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28643 }
28644 if (_v) {
28645 return _wrap_GCTAPsfPerfTable___call____SWIG_3(self, args);
28646 }
28647 }
28648 }
28649 }
28650 }
28651 }
28652 if (argc == 6) {
28653 int _v;
28654 void *vptr = 0;
28655 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfPerfTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[26
], 0, 0)
;
28656 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28657 if (_v) {
28658 {
28659 int res = SWIG_AsVal_double(argv[1], NULL__null);
28660 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28661 }
28662 if (_v) {
28663 {
28664 int res = SWIG_AsVal_double(argv[2], NULL__null);
28665 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28666 }
28667 if (_v) {
28668 {
28669 int res = SWIG_AsVal_double(argv[3], NULL__null);
28670 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28671 }
28672 if (_v) {
28673 {
28674 int res = SWIG_AsVal_double(argv[4], NULL__null);
28675 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28676 }
28677 if (_v) {
28678 {
28679 int res = SWIG_AsVal_double(argv[5], NULL__null);
28680 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28681 }
28682 if (_v) {
28683 return _wrap_GCTAPsfPerfTable___call____SWIG_2(self, args);
28684 }
28685 }
28686 }
28687 }
28688 }
28689 }
28690 }
28691 if (argc == 7) {
28692 int _v;
28693 void *vptr = 0;
28694 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfPerfTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[26
], 0, 0)
;
28695 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28696 if (_v) {
28697 {
28698 int res = SWIG_AsVal_double(argv[1], NULL__null);
28699 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28700 }
28701 if (_v) {
28702 {
28703 int res = SWIG_AsVal_double(argv[2], NULL__null);
28704 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28705 }
28706 if (_v) {
28707 {
28708 int res = SWIG_AsVal_double(argv[3], NULL__null);
28709 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28710 }
28711 if (_v) {
28712 {
28713 int res = SWIG_AsVal_double(argv[4], NULL__null);
28714 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28715 }
28716 if (_v) {
28717 {
28718 int res = SWIG_AsVal_double(argv[5], NULL__null);
28719 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28720 }
28721 if (_v) {
28722 {
28723 int res = SWIG_AsVal_double(argv[6], NULL__null);
28724 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28725 }
28726 if (_v) {
28727 return _wrap_GCTAPsfPerfTable___call____SWIG_1(self, args);
28728 }
28729 }
28730 }
28731 }
28732 }
28733 }
28734 }
28735 }
28736 if (argc == 8) {
28737 int _v;
28738 void *vptr = 0;
28739 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfPerfTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[26
], 0, 0)
;
28740 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28741 if (_v) {
28742 {
28743 int res = SWIG_AsVal_double(argv[1], NULL__null);
28744 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28745 }
28746 if (_v) {
28747 {
28748 int res = SWIG_AsVal_double(argv[2], NULL__null);
28749 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28750 }
28751 if (_v) {
28752 {
28753 int res = SWIG_AsVal_double(argv[3], NULL__null);
28754 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28755 }
28756 if (_v) {
28757 {
28758 int res = SWIG_AsVal_double(argv[4], NULL__null);
28759 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28760 }
28761 if (_v) {
28762 {
28763 int res = SWIG_AsVal_double(argv[5], NULL__null);
28764 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28765 }
28766 if (_v) {
28767 {
28768 int res = SWIG_AsVal_double(argv[6], NULL__null);
28769 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28770 }
28771 if (_v) {
28772 {
28773 int res = SWIG_AsVal_bool(argv[7], NULL__null);
28774 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28775 }
28776 if (_v) {
28777 return _wrap_GCTAPsfPerfTable___call____SWIG_0(self, args);
28778 }
28779 }
28780 }
28781 }
28782 }
28783 }
28784 }
28785 }
28786 }
28787
28788fail:
28789 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAPsfPerfTable___call__'.\n"
28790 " Possible C/C++ prototypes are:\n"
28791 " GCTAPsfPerfTable::operator ()(double const &,double const &,double const &,double const &,double const &,double const &,bool const &) const\n"
28792 " GCTAPsfPerfTable::operator ()(double const &,double const &,double const &,double const &,double const &,double const &) const\n"
28793 " GCTAPsfPerfTable::operator ()(double const &,double const &,double const &,double const &,double const &) const\n"
28794 " GCTAPsfPerfTable::operator ()(double const &,double const &,double const &,double const &) const\n"
28795 " GCTAPsfPerfTable::operator ()(double const &,double const &,double const &) const\n"
28796 " GCTAPsfPerfTable::operator ()(double const &,double const &) const\n");
28797 return 0;
28798}
28799
28800
28801SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfPerfTable_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28802 PyObject *resultobj = 0;
28803 GCTAPsfPerfTable *arg1 = (GCTAPsfPerfTable *) 0 ;
28804 void *argp1 = 0 ;
28805 int res1 = 0 ;
28806 PyObject * obj0 = 0 ;
28807
28808 if (!PyArg_ParseTuple(args,(char *)"O:GCTAPsfPerfTable_clear",&obj0)) SWIG_failgoto fail;
28809 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfPerfTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0 | 0, 0)
;
28810 if (!SWIG_IsOK(res1)(res1 >= 0)) {
28811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfPerfTable_clear" "', argument " "1"" of type '" "GCTAPsfPerfTable *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfPerfTable_clear" "', argument "
"1"" of type '" "GCTAPsfPerfTable *""'"); goto fail; } while
(0)
;
28812 }
28813 arg1 = reinterpret_cast< GCTAPsfPerfTable * >(argp1);
28814 {
28815 try {
28816 (arg1)->clear();
28817 }
28818 catch (const GException::out_of_range& e) {
28819 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
28820 }
28821 catch (const GExceptionHandler& e) {
28822 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28823 }
28824 catch (const std::exception& e) {
28825 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28826 }
28827 }
28828 resultobj = SWIG_Py_Void();
28829 return resultobj;
28830fail:
28831 return NULL__null;
28832}
28833
28834
28835SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfPerfTable_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28836 PyObject *resultobj = 0;
28837 GCTAPsfPerfTable *arg1 = (GCTAPsfPerfTable *) 0 ;
28838 void *argp1 = 0 ;
28839 int res1 = 0 ;
28840 PyObject * obj0 = 0 ;
28841 GCTAPsfPerfTable *result = 0 ;
28842
28843 if (!PyArg_ParseTuple(args,(char *)"O:GCTAPsfPerfTable_clone",&obj0)) SWIG_failgoto fail;
28844 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfPerfTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0 | 0, 0)
;
28845 if (!SWIG_IsOK(res1)(res1 >= 0)) {
28846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfPerfTable_clone" "', argument " "1"" of type '" "GCTAPsfPerfTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfPerfTable_clone" "', argument "
"1"" of type '" "GCTAPsfPerfTable const *""'"); goto fail; }
while(0)
;
28847 }
28848 arg1 = reinterpret_cast< GCTAPsfPerfTable * >(argp1);
28849 {
28850 try {
28851 result = (GCTAPsfPerfTable *)((GCTAPsfPerfTable const *)arg1)->clone();
28852 }
28853 catch (const GException::out_of_range& e) {
28854 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
28855 }
28856 catch (const GExceptionHandler& e) {
28857 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28858 }
28859 catch (const std::exception& e) {
28860 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28861 }
28862 }
28863 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAPsfPerfTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[26], 0
| 0)
;
28864 return resultobj;
28865fail:
28866 return NULL__null;
28867}
28868
28869
28870SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfPerfTable_load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28871 PyObject *resultobj = 0;
28872 GCTAPsfPerfTable *arg1 = (GCTAPsfPerfTable *) 0 ;
28873 std::string *arg2 = 0 ;
28874 void *argp1 = 0 ;
28875 int res1 = 0 ;
28876 int res2 = SWIG_OLDOBJ((0)) ;
28877 PyObject * obj0 = 0 ;
28878 PyObject * obj1 = 0 ;
28879
28880 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAPsfPerfTable_load",&obj0,&obj1)) SWIG_failgoto fail;
28881 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfPerfTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0 | 0, 0)
;
28882 if (!SWIG_IsOK(res1)(res1 >= 0)) {
28883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfPerfTable_load" "', argument " "1"" of type '" "GCTAPsfPerfTable *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfPerfTable_load" "', argument "
"1"" of type '" "GCTAPsfPerfTable *""'"); goto fail; } while
(0)
;
28884 }
28885 arg1 = reinterpret_cast< GCTAPsfPerfTable * >(argp1);
28886 {
28887 std::string *ptr = (std::string *)0;
28888 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
28889 if (!SWIG_IsOK(res2)(res2 >= 0)) {
28890 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAPsfPerfTable_load" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAPsfPerfTable_load" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
28891 }
28892 if (!ptr) {
28893 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAPsfPerfTable_load" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAPsfPerfTable_load" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
28894 }
28895 arg2 = ptr;
28896 }
28897 {
28898 try {
28899 (arg1)->load((std::string const &)*arg2);
28900 }
28901 catch (const GException::out_of_range& e) {
28902 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
28903 }
28904 catch (const GExceptionHandler& e) {
28905 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28906 }
28907 catch (const std::exception& e) {
28908 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28909 }
28910 }
28911 resultobj = SWIG_Py_Void();
28912 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
28913 return resultobj;
28914fail:
28915 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
28916 return NULL__null;
28917}
28918
28919
28920SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfPerfTable_filename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28921 PyObject *resultobj = 0;
28922 GCTAPsfPerfTable *arg1 = (GCTAPsfPerfTable *) 0 ;
28923 void *argp1 = 0 ;
28924 int res1 = 0 ;
28925 PyObject * obj0 = 0 ;
28926 std::string result;
28927
28928 if (!PyArg_ParseTuple(args,(char *)"O:GCTAPsfPerfTable_filename",&obj0)) SWIG_failgoto fail;
28929 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfPerfTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0 | 0, 0)
;
28930 if (!SWIG_IsOK(res1)(res1 >= 0)) {
28931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfPerfTable_filename" "', argument " "1"" of type '" "GCTAPsfPerfTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfPerfTable_filename"
"', argument " "1"" of type '" "GCTAPsfPerfTable const *""'"
); goto fail; } while(0)
;
28932 }
28933 arg1 = reinterpret_cast< GCTAPsfPerfTable * >(argp1);
28934 {
28935 try {
28936 result = ((GCTAPsfPerfTable const *)arg1)->filename();
28937 }
28938 catch (const GException::out_of_range& e) {
28939 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
28940 }
28941 catch (const GExceptionHandler& e) {
28942 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28943 }
28944 catch (const std::exception& e) {
28945 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28946 }
28947 }
28948 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
28949 return resultobj;
28950fail:
28951 return NULL__null;
28952}
28953
28954
28955SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfPerfTable_mc__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28956 PyObject *resultobj = 0;
28957 GCTAPsfPerfTable *arg1 = (GCTAPsfPerfTable *) 0 ;
28958 GRan *arg2 = 0 ;
28959 double *arg3 = 0 ;
28960 double *arg4 = 0 ;
28961 double *arg5 = 0 ;
28962 double *arg6 = 0 ;
28963 double *arg7 = 0 ;
28964 bool *arg8 = 0 ;
28965 void *argp1 = 0 ;
28966 int res1 = 0 ;
28967 void *argp2 = 0 ;
28968 int res2 = 0 ;
28969 double temp3 ;
28970 double val3 ;
28971 int ecode3 = 0 ;
28972 double temp4 ;
28973 double val4 ;
28974 int ecode4 = 0 ;
28975 double temp5 ;
28976 double val5 ;
28977 int ecode5 = 0 ;
28978 double temp6 ;
28979 double val6 ;
28980 int ecode6 = 0 ;
28981 double temp7 ;
28982 double val7 ;
28983 int ecode7 = 0 ;
28984 bool temp8 ;
28985 bool val8 ;
28986 int ecode8 = 0 ;
28987 PyObject * obj0 = 0 ;
28988 PyObject * obj1 = 0 ;
28989 PyObject * obj2 = 0 ;
28990 PyObject * obj3 = 0 ;
28991 PyObject * obj4 = 0 ;
28992 PyObject * obj5 = 0 ;
28993 PyObject * obj6 = 0 ;
28994 PyObject * obj7 = 0 ;
28995 double result;
28996
28997 if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:GCTAPsfPerfTable_mc",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_failgoto fail;
28998 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfPerfTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0 | 0, 0)
;
28999 if (!SWIG_IsOK(res1)(res1 >= 0)) {
29000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfPerfTable_mc" "', argument " "1"" of type '" "GCTAPsfPerfTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfPerfTable_mc" "', argument "
"1"" of type '" "GCTAPsfPerfTable const *""'"); goto fail; }
while(0)
;
29001 }
29002 arg1 = reinterpret_cast< GCTAPsfPerfTable * >(argp1);
29003 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GRan, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[55]
, 0, 0)
;
29004 if (!SWIG_IsOK(res2)(res2 >= 0)) {
29005 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAPsfPerfTable_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAPsfPerfTable_mc" "', argument "
"2"" of type '" "GRan &""'"); goto fail; } while(0)
;
29006 }
29007 if (!argp2) {
29008 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAPsfPerfTable_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAPsfPerfTable_mc" "', argument " "2"" of type '"
"GRan &""'"); goto fail; } while(0)
;
29009 }
29010 arg2 = reinterpret_cast< GRan * >(argp2);
29011 ecode3 = SWIG_AsVal_double(obj2, &val3);
29012 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
29013 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfPerfTable_mc" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfPerfTable_mc" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
29014 }
29015 temp3 = static_cast< double >(val3);
29016 arg3 = &temp3;
29017 ecode4 = SWIG_AsVal_double(obj3, &val4);
29018 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
29019 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsfPerfTable_mc" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsfPerfTable_mc" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
29020 }
29021 temp4 = static_cast< double >(val4);
29022 arg4 = &temp4;
29023 ecode5 = SWIG_AsVal_double(obj4, &val5);
29024 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
29025 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsfPerfTable_mc" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsfPerfTable_mc" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
29026 }
29027 temp5 = static_cast< double >(val5);
29028 arg5 = &temp5;
29029 ecode6 = SWIG_AsVal_double(obj5, &val6);
29030 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
29031 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAPsfPerfTable_mc" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAPsfPerfTable_mc" "', argument "
"6"" of type '" "double""'"); goto fail; } while(0)
;
29032 }
29033 temp6 = static_cast< double >(val6);
29034 arg6 = &temp6;
29035 ecode7 = SWIG_AsVal_double(obj6, &val7);
29036 if (!SWIG_IsOK(ecode7)(ecode7 >= 0)) {
29037 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GCTAPsfPerfTable_mc" "', argument " "7"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode7 !=
(-1)) ? ecode7 : -5)), "in method '" "GCTAPsfPerfTable_mc" "', argument "
"7"" of type '" "double""'"); goto fail; } while(0)
;
29038 }
29039 temp7 = static_cast< double >(val7);
29040 arg7 = &temp7;
29041 ecode8 = SWIG_AsVal_bool(obj7, &val8);
29042 if (!SWIG_IsOK(ecode8)(ecode8 >= 0)) {
29043 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "GCTAPsfPerfTable_mc" "', argument " "8"" of type '" "bool""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode8 !=
(-1)) ? ecode8 : -5)), "in method '" "GCTAPsfPerfTable_mc" "', argument "
"8"" of type '" "bool""'"); goto fail; } while(0)
;
29044 }
29045 temp8 = static_cast< bool >(val8);
29046 arg8 = &temp8;
29047 {
29048 try {
29049 result = (double)((GCTAPsfPerfTable const *)arg1)->mc(*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6,(double const &)*arg7,(bool const &)*arg8);
29050 }
29051 catch (const GException::out_of_range& e) {
29052 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
29053 }
29054 catch (const GExceptionHandler& e) {
29055 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29056 }
29057 catch (const std::exception& e) {
29058 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29059 }
29060 }
29061 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
29062 return resultobj;
29063fail:
29064 return NULL__null;
29065}
29066
29067
29068SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfPerfTable_mc__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29069 PyObject *resultobj = 0;
29070 GCTAPsfPerfTable *arg1 = (GCTAPsfPerfTable *) 0 ;
29071 GRan *arg2 = 0 ;
29072 double *arg3 = 0 ;
29073 double *arg4 = 0 ;
29074 double *arg5 = 0 ;
29075 double *arg6 = 0 ;
29076 double *arg7 = 0 ;
29077 void *argp1 = 0 ;
29078 int res1 = 0 ;
29079 void *argp2 = 0 ;
29080 int res2 = 0 ;
29081 double temp3 ;
29082 double val3 ;
29083 int ecode3 = 0 ;
29084 double temp4 ;
29085 double val4 ;
29086 int ecode4 = 0 ;
29087 double temp5 ;
29088 double val5 ;
29089 int ecode5 = 0 ;
29090 double temp6 ;
29091 double val6 ;
29092 int ecode6 = 0 ;
29093 double temp7 ;
29094 double val7 ;
29095 int ecode7 = 0 ;
29096 PyObject * obj0 = 0 ;
29097 PyObject * obj1 = 0 ;
29098 PyObject * obj2 = 0 ;
29099 PyObject * obj3 = 0 ;
29100 PyObject * obj4 = 0 ;
29101 PyObject * obj5 = 0 ;
29102 PyObject * obj6 = 0 ;
29103 double result;
29104
29105 if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:GCTAPsfPerfTable_mc",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_failgoto fail;
29106 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfPerfTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0 | 0, 0)
;
29107 if (!SWIG_IsOK(res1)(res1 >= 0)) {
29108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfPerfTable_mc" "', argument " "1"" of type '" "GCTAPsfPerfTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfPerfTable_mc" "', argument "
"1"" of type '" "GCTAPsfPerfTable const *""'"); goto fail; }
while(0)
;
29109 }
29110 arg1 = reinterpret_cast< GCTAPsfPerfTable * >(argp1);
29111 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GRan, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[55]
, 0, 0)
;
29112 if (!SWIG_IsOK(res2)(res2 >= 0)) {
29113 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAPsfPerfTable_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAPsfPerfTable_mc" "', argument "
"2"" of type '" "GRan &""'"); goto fail; } while(0)
;
29114 }
29115 if (!argp2) {
29116 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAPsfPerfTable_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAPsfPerfTable_mc" "', argument " "2"" of type '"
"GRan &""'"); goto fail; } while(0)
;
29117 }
29118 arg2 = reinterpret_cast< GRan * >(argp2);
29119 ecode3 = SWIG_AsVal_double(obj2, &val3);
29120 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
29121 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfPerfTable_mc" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfPerfTable_mc" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
29122 }
29123 temp3 = static_cast< double >(val3);
29124 arg3 = &temp3;
29125 ecode4 = SWIG_AsVal_double(obj3, &val4);
29126 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
29127 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsfPerfTable_mc" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsfPerfTable_mc" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
29128 }
29129 temp4 = static_cast< double >(val4);
29130 arg4 = &temp4;
29131 ecode5 = SWIG_AsVal_double(obj4, &val5);
29132 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
29133 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsfPerfTable_mc" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsfPerfTable_mc" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
29134 }
29135 temp5 = static_cast< double >(val5);
29136 arg5 = &temp5;
29137 ecode6 = SWIG_AsVal_double(obj5, &val6);
29138 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
29139 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAPsfPerfTable_mc" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAPsfPerfTable_mc" "', argument "
"6"" of type '" "double""'"); goto fail; } while(0)
;
29140 }
29141 temp6 = static_cast< double >(val6);
29142 arg6 = &temp6;
29143 ecode7 = SWIG_AsVal_double(obj6, &val7);
29144 if (!SWIG_IsOK(ecode7)(ecode7 >= 0)) {
29145 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GCTAPsfPerfTable_mc" "', argument " "7"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode7 !=
(-1)) ? ecode7 : -5)), "in method '" "GCTAPsfPerfTable_mc" "', argument "
"7"" of type '" "double""'"); goto fail; } while(0)
;
29146 }
29147 temp7 = static_cast< double >(val7);
29148 arg7 = &temp7;
29149 {
29150 try {
29151 result = (double)((GCTAPsfPerfTable const *)arg1)->mc(*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6,(double const &)*arg7);
29152 }
29153 catch (const GException::out_of_range& e) {
29154 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
29155 }
29156 catch (const GExceptionHandler& e) {
29157 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29158 }
29159 catch (const std::exception& e) {
29160 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29161 }
29162 }
29163 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
29164 return resultobj;
29165fail:
29166 return NULL__null;
29167}
29168
29169
29170SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfPerfTable_mc__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29171 PyObject *resultobj = 0;
29172 GCTAPsfPerfTable *arg1 = (GCTAPsfPerfTable *) 0 ;
29173 GRan *arg2 = 0 ;
29174 double *arg3 = 0 ;
29175 double *arg4 = 0 ;
29176 double *arg5 = 0 ;
29177 double *arg6 = 0 ;
29178 void *argp1 = 0 ;
29179 int res1 = 0 ;
29180 void *argp2 = 0 ;
29181 int res2 = 0 ;
29182 double temp3 ;
29183 double val3 ;
29184 int ecode3 = 0 ;
29185 double temp4 ;
29186 double val4 ;
29187 int ecode4 = 0 ;
29188 double temp5 ;
29189 double val5 ;
29190 int ecode5 = 0 ;
29191 double temp6 ;
29192 double val6 ;
29193 int ecode6 = 0 ;
29194 PyObject * obj0 = 0 ;
29195 PyObject * obj1 = 0 ;
29196 PyObject * obj2 = 0 ;
29197 PyObject * obj3 = 0 ;
29198 PyObject * obj4 = 0 ;
29199 PyObject * obj5 = 0 ;
29200 double result;
29201
29202 if (!PyArg_ParseTuple(args,(char *)"OOOOOO:GCTAPsfPerfTable_mc",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_failgoto fail;
29203 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfPerfTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0 | 0, 0)
;
29204 if (!SWIG_IsOK(res1)(res1 >= 0)) {
29205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfPerfTable_mc" "', argument " "1"" of type '" "GCTAPsfPerfTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfPerfTable_mc" "', argument "
"1"" of type '" "GCTAPsfPerfTable const *""'"); goto fail; }
while(0)
;
29206 }
29207 arg1 = reinterpret_cast< GCTAPsfPerfTable * >(argp1);
29208 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GRan, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[55]
, 0, 0)
;
29209 if (!SWIG_IsOK(res2)(res2 >= 0)) {
29210 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAPsfPerfTable_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAPsfPerfTable_mc" "', argument "
"2"" of type '" "GRan &""'"); goto fail; } while(0)
;
29211 }
29212 if (!argp2) {
29213 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAPsfPerfTable_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAPsfPerfTable_mc" "', argument " "2"" of type '"
"GRan &""'"); goto fail; } while(0)
;
29214 }
29215 arg2 = reinterpret_cast< GRan * >(argp2);
29216 ecode3 = SWIG_AsVal_double(obj2, &val3);
29217 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
29218 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfPerfTable_mc" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfPerfTable_mc" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
29219 }
29220 temp3 = static_cast< double >(val3);
29221 arg3 = &temp3;
29222 ecode4 = SWIG_AsVal_double(obj3, &val4);
29223 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
29224 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsfPerfTable_mc" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsfPerfTable_mc" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
29225 }
29226 temp4 = static_cast< double >(val4);
29227 arg4 = &temp4;
29228 ecode5 = SWIG_AsVal_double(obj4, &val5);
29229 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
29230 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsfPerfTable_mc" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsfPerfTable_mc" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
29231 }
29232 temp5 = static_cast< double >(val5);
29233 arg5 = &temp5;
29234 ecode6 = SWIG_AsVal_double(obj5, &val6);
29235 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
29236 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAPsfPerfTable_mc" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAPsfPerfTable_mc" "', argument "
"6"" of type '" "double""'"); goto fail; } while(0)
;
29237 }
29238 temp6 = static_cast< double >(val6);
29239 arg6 = &temp6;
29240 {
29241 try {
29242 result = (double)((GCTAPsfPerfTable const *)arg1)->mc(*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6);
29243 }
29244 catch (const GException::out_of_range& e) {
29245 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
29246 }
29247 catch (const GExceptionHandler& e) {
29248 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29249 }
29250 catch (const std::exception& e) {
29251 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29252 }
29253 }
29254 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
29255 return resultobj;
29256fail:
29257 return NULL__null;
29258}
29259
29260
29261SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfPerfTable_mc__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29262 PyObject *resultobj = 0;
29263 GCTAPsfPerfTable *arg1 = (GCTAPsfPerfTable *) 0 ;
29264 GRan *arg2 = 0 ;
29265 double *arg3 = 0 ;
29266 double *arg4 = 0 ;
29267 double *arg5 = 0 ;
29268 void *argp1 = 0 ;
29269 int res1 = 0 ;
29270 void *argp2 = 0 ;
29271 int res2 = 0 ;
29272 double temp3 ;
29273 double val3 ;
29274 int ecode3 = 0 ;
29275 double temp4 ;
29276 double val4 ;
29277 int ecode4 = 0 ;
29278 double temp5 ;
29279 double val5 ;
29280 int ecode5 = 0 ;
29281 PyObject * obj0 = 0 ;
29282 PyObject * obj1 = 0 ;
29283 PyObject * obj2 = 0 ;
29284 PyObject * obj3 = 0 ;
29285 PyObject * obj4 = 0 ;
29286 double result;
29287
29288 if (!PyArg_ParseTuple(args,(char *)"OOOOO:GCTAPsfPerfTable_mc",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_failgoto fail;
29289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfPerfTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0 | 0, 0)
;
29290 if (!SWIG_IsOK(res1)(res1 >= 0)) {
29291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfPerfTable_mc" "', argument " "1"" of type '" "GCTAPsfPerfTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfPerfTable_mc" "', argument "
"1"" of type '" "GCTAPsfPerfTable const *""'"); goto fail; }
while(0)
;
29292 }
29293 arg1 = reinterpret_cast< GCTAPsfPerfTable * >(argp1);
29294 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GRan, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[55]
, 0, 0)
;
29295 if (!SWIG_IsOK(res2)(res2 >= 0)) {
29296 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAPsfPerfTable_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAPsfPerfTable_mc" "', argument "
"2"" of type '" "GRan &""'"); goto fail; } while(0)
;
29297 }
29298 if (!argp2) {
29299 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAPsfPerfTable_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAPsfPerfTable_mc" "', argument " "2"" of type '"
"GRan &""'"); goto fail; } while(0)
;
29300 }
29301 arg2 = reinterpret_cast< GRan * >(argp2);
29302 ecode3 = SWIG_AsVal_double(obj2, &val3);
29303 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
29304 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfPerfTable_mc" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfPerfTable_mc" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
29305 }
29306 temp3 = static_cast< double >(val3);
29307 arg3 = &temp3;
29308 ecode4 = SWIG_AsVal_double(obj3, &val4);
29309 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
29310 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsfPerfTable_mc" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsfPerfTable_mc" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
29311 }
29312 temp4 = static_cast< double >(val4);
29313 arg4 = &temp4;
29314 ecode5 = SWIG_AsVal_double(obj4, &val5);
29315 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
29316 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsfPerfTable_mc" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsfPerfTable_mc" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
29317 }
29318 temp5 = static_cast< double >(val5);
29319 arg5 = &temp5;
29320 {
29321 try {
29322 result = (double)((GCTAPsfPerfTable const *)arg1)->mc(*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5);
29323 }
29324 catch (const GException::out_of_range& e) {
29325 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
29326 }
29327 catch (const GExceptionHandler& e) {
29328 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29329 }
29330 catch (const std::exception& e) {
29331 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29332 }
29333 }
29334 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
29335 return resultobj;
29336fail:
29337 return NULL__null;
29338}
29339
29340
29341SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfPerfTable_mc__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29342 PyObject *resultobj = 0;
29343 GCTAPsfPerfTable *arg1 = (GCTAPsfPerfTable *) 0 ;
29344 GRan *arg2 = 0 ;
29345 double *arg3 = 0 ;
29346 double *arg4 = 0 ;
29347 void *argp1 = 0 ;
29348 int res1 = 0 ;
29349 void *argp2 = 0 ;
29350 int res2 = 0 ;
29351 double temp3 ;
29352 double val3 ;
29353 int ecode3 = 0 ;
29354 double temp4 ;
29355 double val4 ;
29356 int ecode4 = 0 ;
29357 PyObject * obj0 = 0 ;
29358 PyObject * obj1 = 0 ;
29359 PyObject * obj2 = 0 ;
29360 PyObject * obj3 = 0 ;
29361 double result;
29362
29363 if (!PyArg_ParseTuple(args,(char *)"OOOO:GCTAPsfPerfTable_mc",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
29364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfPerfTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0 | 0, 0)
;
29365 if (!SWIG_IsOK(res1)(res1 >= 0)) {
29366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfPerfTable_mc" "', argument " "1"" of type '" "GCTAPsfPerfTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfPerfTable_mc" "', argument "
"1"" of type '" "GCTAPsfPerfTable const *""'"); goto fail; }
while(0)
;
29367 }
29368 arg1 = reinterpret_cast< GCTAPsfPerfTable * >(argp1);
29369 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GRan, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[55]
, 0, 0)
;
29370 if (!SWIG_IsOK(res2)(res2 >= 0)) {
29371 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAPsfPerfTable_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAPsfPerfTable_mc" "', argument "
"2"" of type '" "GRan &""'"); goto fail; } while(0)
;
29372 }
29373 if (!argp2) {
29374 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAPsfPerfTable_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAPsfPerfTable_mc" "', argument " "2"" of type '"
"GRan &""'"); goto fail; } while(0)
;
29375 }
29376 arg2 = reinterpret_cast< GRan * >(argp2);
29377 ecode3 = SWIG_AsVal_double(obj2, &val3);
29378 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
29379 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfPerfTable_mc" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfPerfTable_mc" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
29380 }
29381 temp3 = static_cast< double >(val3);
29382 arg3 = &temp3;
29383 ecode4 = SWIG_AsVal_double(obj3, &val4);
29384 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
29385 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsfPerfTable_mc" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsfPerfTable_mc" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
29386 }
29387 temp4 = static_cast< double >(val4);
29388 arg4 = &temp4;
29389 {
29390 try {
29391 result = (double)((GCTAPsfPerfTable const *)arg1)->mc(*arg2,(double const &)*arg3,(double const &)*arg4);
29392 }
29393 catch (const GException::out_of_range& e) {
29394 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
29395 }
29396 catch (const GExceptionHandler& e) {
29397 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29398 }
29399 catch (const std::exception& e) {
29400 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29401 }
29402 }
29403 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
29404 return resultobj;
29405fail:
29406 return NULL__null;
29407}
29408
29409
29410SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfPerfTable_mc__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29411 PyObject *resultobj = 0;
29412 GCTAPsfPerfTable *arg1 = (GCTAPsfPerfTable *) 0 ;
29413 GRan *arg2 = 0 ;
29414 double *arg3 = 0 ;
29415 void *argp1 = 0 ;
29416 int res1 = 0 ;
29417 void *argp2 = 0 ;
29418 int res2 = 0 ;
29419 double temp3 ;
29420 double val3 ;
29421 int ecode3 = 0 ;
29422 PyObject * obj0 = 0 ;
29423 PyObject * obj1 = 0 ;
29424 PyObject * obj2 = 0 ;
29425 double result;
29426
29427 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAPsfPerfTable_mc",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
29428 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfPerfTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0 | 0, 0)
;
29429 if (!SWIG_IsOK(res1)(res1 >= 0)) {
29430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfPerfTable_mc" "', argument " "1"" of type '" "GCTAPsfPerfTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfPerfTable_mc" "', argument "
"1"" of type '" "GCTAPsfPerfTable const *""'"); goto fail; }
while(0)
;
29431 }
29432 arg1 = reinterpret_cast< GCTAPsfPerfTable * >(argp1);
29433 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GRan, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[55]
, 0, 0)
;
29434 if (!SWIG_IsOK(res2)(res2 >= 0)) {
29435 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAPsfPerfTable_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAPsfPerfTable_mc" "', argument "
"2"" of type '" "GRan &""'"); goto fail; } while(0)
;
29436 }
29437 if (!argp2) {
29438 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAPsfPerfTable_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAPsfPerfTable_mc" "', argument " "2"" of type '"
"GRan &""'"); goto fail; } while(0)
;
29439 }
29440 arg2 = reinterpret_cast< GRan * >(argp2);
29441 ecode3 = SWIG_AsVal_double(obj2, &val3);
29442 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
29443 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfPerfTable_mc" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfPerfTable_mc" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
29444 }
29445 temp3 = static_cast< double >(val3);
29446 arg3 = &temp3;
29447 {
29448 try {
29449 result = (double)((GCTAPsfPerfTable const *)arg1)->mc(*arg2,(double const &)*arg3);
29450 }
29451 catch (const GException::out_of_range& e) {
29452 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
29453 }
29454 catch (const GExceptionHandler& e) {
29455 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29456 }
29457 catch (const std::exception& e) {
29458 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29459 }
29460 }
29461 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
29462 return resultobj;
29463fail:
29464 return NULL__null;
29465}
29466
29467
29468SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfPerfTable_mc(PyObject *self, PyObject *args) {
29469 int argc;
29470 PyObject *argv[9];
29471 int ii;
29472
29473 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
29474 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
29475 for (ii = 0; (ii < 8) && (ii < argc); ii++) {
29476 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
29477 }
29478 if (argc == 3) {
29479 int _v;
29480 void *vptr = 0;
29481 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfPerfTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[26
], 0, 0)
;
29482 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29483 if (_v) {
29484 void *vptr = 0;
29485 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_GRan, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[55
], 0, 0)
;
29486 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29487 if (_v) {
29488 {
29489 int res = SWIG_AsVal_double(argv[2], NULL__null);
29490 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29491 }
29492 if (_v) {
29493 return _wrap_GCTAPsfPerfTable_mc__SWIG_5(self, args);
29494 }
29495 }
29496 }
29497 }
29498 if (argc == 4) {
29499 int _v;
29500 void *vptr = 0;
29501 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfPerfTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[26
], 0, 0)
;
29502 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29503 if (_v) {
29504 void *vptr = 0;
29505 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_GRan, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[55
], 0, 0)
;
29506 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29507 if (_v) {
29508 {
29509 int res = SWIG_AsVal_double(argv[2], NULL__null);
29510 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29511 }
29512 if (_v) {
29513 {
29514 int res = SWIG_AsVal_double(argv[3], NULL__null);
29515 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29516 }
29517 if (_v) {
29518 return _wrap_GCTAPsfPerfTable_mc__SWIG_4(self, args);
29519 }
29520 }
29521 }
29522 }
29523 }
29524 if (argc == 5) {
29525 int _v;
29526 void *vptr = 0;
29527 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfPerfTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[26
], 0, 0)
;
29528 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29529 if (_v) {
29530 void *vptr = 0;
29531 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_GRan, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[55
], 0, 0)
;
29532 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29533 if (_v) {
29534 {
29535 int res = SWIG_AsVal_double(argv[2], NULL__null);
29536 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29537 }
29538 if (_v) {
29539 {
29540 int res = SWIG_AsVal_double(argv[3], NULL__null);
29541 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29542 }
29543 if (_v) {
29544 {
29545 int res = SWIG_AsVal_double(argv[4], NULL__null);
29546 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29547 }
29548 if (_v) {
29549 return _wrap_GCTAPsfPerfTable_mc__SWIG_3(self, args);
29550 }
29551 }
29552 }
29553 }
29554 }
29555 }
29556 if (argc == 6) {
29557 int _v;
29558 void *vptr = 0;
29559 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfPerfTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[26
], 0, 0)
;
29560 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29561 if (_v) {
29562 void *vptr = 0;
29563 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_GRan, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[55
], 0, 0)
;
29564 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29565 if (_v) {
29566 {
29567 int res = SWIG_AsVal_double(argv[2], NULL__null);
29568 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29569 }
29570 if (_v) {
29571 {
29572 int res = SWIG_AsVal_double(argv[3], NULL__null);
29573 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29574 }
29575 if (_v) {
29576 {
29577 int res = SWIG_AsVal_double(argv[4], NULL__null);
29578 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29579 }
29580 if (_v) {
29581 {
29582 int res = SWIG_AsVal_double(argv[5], NULL__null);
29583 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29584 }
29585 if (_v) {
29586 return _wrap_GCTAPsfPerfTable_mc__SWIG_2(self, args);
29587 }
29588 }
29589 }
29590 }
29591 }
29592 }
29593 }
29594 if (argc == 7) {
29595 int _v;
29596 void *vptr = 0;
29597 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfPerfTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[26
], 0, 0)
;
29598 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29599 if (_v) {
29600 void *vptr = 0;
29601 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_GRan, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[55
], 0, 0)
;
29602 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29603 if (_v) {
29604 {
29605 int res = SWIG_AsVal_double(argv[2], NULL__null);
29606 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29607 }
29608 if (_v) {
29609 {
29610 int res = SWIG_AsVal_double(argv[3], NULL__null);
29611 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29612 }
29613 if (_v) {
29614 {
29615 int res = SWIG_AsVal_double(argv[4], NULL__null);
29616 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29617 }
29618 if (_v) {
29619 {
29620 int res = SWIG_AsVal_double(argv[5], NULL__null);
29621 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29622 }
29623 if (_v) {
29624 {
29625 int res = SWIG_AsVal_double(argv[6], NULL__null);
29626 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29627 }
29628 if (_v) {
29629 return _wrap_GCTAPsfPerfTable_mc__SWIG_1(self, args);
29630 }
29631 }
29632 }
29633 }
29634 }
29635 }
29636 }
29637 }
29638 if (argc == 8) {
29639 int _v;
29640 void *vptr = 0;
29641 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfPerfTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[26
], 0, 0)
;
29642 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29643 if (_v) {
29644 void *vptr = 0;
29645 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_GRan, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[55
], 0, 0)
;
29646 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29647 if (_v) {
29648 {
29649 int res = SWIG_AsVal_double(argv[2], NULL__null);
29650 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29651 }
29652 if (_v) {
29653 {
29654 int res = SWIG_AsVal_double(argv[3], NULL__null);
29655 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29656 }
29657 if (_v) {
29658 {
29659 int res = SWIG_AsVal_double(argv[4], NULL__null);
29660 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29661 }
29662 if (_v) {
29663 {
29664 int res = SWIG_AsVal_double(argv[5], NULL__null);
29665 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29666 }
29667 if (_v) {
29668 {
29669 int res = SWIG_AsVal_double(argv[6], NULL__null);
29670 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29671 }
29672 if (_v) {
29673 {
29674 int res = SWIG_AsVal_bool(argv[7], NULL__null);
29675 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29676 }
29677 if (_v) {
29678 return _wrap_GCTAPsfPerfTable_mc__SWIG_0(self, args);
29679 }
29680 }
29681 }
29682 }
29683 }
29684 }
29685 }
29686 }
29687 }
29688
29689fail:
29690 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAPsfPerfTable_mc'.\n"
29691 " Possible C/C++ prototypes are:\n"
29692 " GCTAPsfPerfTable::mc(GRan &,double const &,double const &,double const &,double const &,double const &,bool const &) const\n"
29693 " GCTAPsfPerfTable::mc(GRan &,double const &,double const &,double const &,double const &,double const &) const\n"
29694 " GCTAPsfPerfTable::mc(GRan &,double const &,double const &,double const &,double const &) const\n"
29695 " GCTAPsfPerfTable::mc(GRan &,double const &,double const &,double const &) const\n"
29696 " GCTAPsfPerfTable::mc(GRan &,double const &,double const &) const\n"
29697 " GCTAPsfPerfTable::mc(GRan &,double const &) const\n");
29698 return 0;
29699}
29700
29701
29702SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfPerfTable_delta_max__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29703 PyObject *resultobj = 0;
29704 GCTAPsfPerfTable *arg1 = (GCTAPsfPerfTable *) 0 ;
29705 double *arg2 = 0 ;
29706 double *arg3 = 0 ;
29707 double *arg4 = 0 ;
29708 double *arg5 = 0 ;
29709 double *arg6 = 0 ;
29710 bool *arg7 = 0 ;
29711 void *argp1 = 0 ;
29712 int res1 = 0 ;
29713 double temp2 ;
29714 double val2 ;
29715 int ecode2 = 0 ;
29716 double temp3 ;
29717 double val3 ;
29718 int ecode3 = 0 ;
29719 double temp4 ;
29720 double val4 ;
29721 int ecode4 = 0 ;
29722 double temp5 ;
29723 double val5 ;
29724 int ecode5 = 0 ;
29725 double temp6 ;
29726 double val6 ;
29727 int ecode6 = 0 ;
29728 bool temp7 ;
29729 bool val7 ;
29730 int ecode7 = 0 ;
29731 PyObject * obj0 = 0 ;
29732 PyObject * obj1 = 0 ;
29733 PyObject * obj2 = 0 ;
29734 PyObject * obj3 = 0 ;
29735 PyObject * obj4 = 0 ;
29736 PyObject * obj5 = 0 ;
29737 PyObject * obj6 = 0 ;
29738 double result;
29739
29740 if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:GCTAPsfPerfTable_delta_max",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_failgoto fail;
29741 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfPerfTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0 | 0, 0)
;
29742 if (!SWIG_IsOK(res1)(res1 >= 0)) {
29743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfPerfTable_delta_max" "', argument " "1"" of type '" "GCTAPsfPerfTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfPerfTable_delta_max"
"', argument " "1"" of type '" "GCTAPsfPerfTable const *""'"
); goto fail; } while(0)
;
29744 }
29745 arg1 = reinterpret_cast< GCTAPsfPerfTable * >(argp1);
29746 ecode2 = SWIG_AsVal_double(obj1, &val2);
29747 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
29748 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsfPerfTable_delta_max" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsfPerfTable_delta_max"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
29749 }
29750 temp2 = static_cast< double >(val2);
29751 arg2 = &temp2;
29752 ecode3 = SWIG_AsVal_double(obj2, &val3);
29753 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
29754 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfPerfTable_delta_max" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfPerfTable_delta_max"
"', argument " "3"" of type '" "double""'"); goto fail; } while
(0)
;
29755 }
29756 temp3 = static_cast< double >(val3);
29757 arg3 = &temp3;
29758 ecode4 = SWIG_AsVal_double(obj3, &val4);
29759 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
29760 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsfPerfTable_delta_max" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsfPerfTable_delta_max"
"', argument " "4"" of type '" "double""'"); goto fail; } while
(0)
;
29761 }
29762 temp4 = static_cast< double >(val4);
29763 arg4 = &temp4;
29764 ecode5 = SWIG_AsVal_double(obj4, &val5);
29765 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
29766 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsfPerfTable_delta_max" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsfPerfTable_delta_max"
"', argument " "5"" of type '" "double""'"); goto fail; } while
(0)
;
29767 }
29768 temp5 = static_cast< double >(val5);
29769 arg5 = &temp5;
29770 ecode6 = SWIG_AsVal_double(obj5, &val6);
29771 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
29772 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAPsfPerfTable_delta_max" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAPsfPerfTable_delta_max"
"', argument " "6"" of type '" "double""'"); goto fail; } while
(0)
;
29773 }
29774 temp6 = static_cast< double >(val6);
29775 arg6 = &temp6;
29776 ecode7 = SWIG_AsVal_bool(obj6, &val7);
29777 if (!SWIG_IsOK(ecode7)(ecode7 >= 0)) {
29778 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GCTAPsfPerfTable_delta_max" "', argument " "7"" of type '" "bool""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode7 !=
(-1)) ? ecode7 : -5)), "in method '" "GCTAPsfPerfTable_delta_max"
"', argument " "7"" of type '" "bool""'"); goto fail; } while
(0)
;
29779 }
29780 temp7 = static_cast< bool >(val7);
29781 arg7 = &temp7;
29782 {
29783 try {
29784 result = (double)((GCTAPsfPerfTable const *)arg1)->delta_max((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6,(bool const &)*arg7);
29785 }
29786 catch (const GException::out_of_range& e) {
29787 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
29788 }
29789 catch (const GExceptionHandler& e) {
29790 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29791 }
29792 catch (const std::exception& e) {
29793 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29794 }
29795 }
29796 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
29797 return resultobj;
29798fail:
29799 return NULL__null;
29800}
29801
29802
29803SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfPerfTable_delta_max__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29804 PyObject *resultobj = 0;
29805 GCTAPsfPerfTable *arg1 = (GCTAPsfPerfTable *) 0 ;
29806 double *arg2 = 0 ;
29807 double *arg3 = 0 ;
29808 double *arg4 = 0 ;
29809 double *arg5 = 0 ;
29810 double *arg6 = 0 ;
29811 void *argp1 = 0 ;
29812 int res1 = 0 ;
29813 double temp2 ;
29814 double val2 ;
29815 int ecode2 = 0 ;
29816 double temp3 ;
29817 double val3 ;
29818 int ecode3 = 0 ;
29819 double temp4 ;
29820 double val4 ;
29821 int ecode4 = 0 ;
29822 double temp5 ;
29823 double val5 ;
29824 int ecode5 = 0 ;
29825 double temp6 ;
29826 double val6 ;
29827 int ecode6 = 0 ;
29828 PyObject * obj0 = 0 ;
29829 PyObject * obj1 = 0 ;
29830 PyObject * obj2 = 0 ;
29831 PyObject * obj3 = 0 ;
29832 PyObject * obj4 = 0 ;
29833 PyObject * obj5 = 0 ;
29834 double result;
29835
29836 if (!PyArg_ParseTuple(args,(char *)"OOOOOO:GCTAPsfPerfTable_delta_max",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_failgoto fail;
29837 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfPerfTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0 | 0, 0)
;
29838 if (!SWIG_IsOK(res1)(res1 >= 0)) {
29839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfPerfTable_delta_max" "', argument " "1"" of type '" "GCTAPsfPerfTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfPerfTable_delta_max"
"', argument " "1"" of type '" "GCTAPsfPerfTable const *""'"
); goto fail; } while(0)
;
29840 }
29841 arg1 = reinterpret_cast< GCTAPsfPerfTable * >(argp1);
29842 ecode2 = SWIG_AsVal_double(obj1, &val2);
29843 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
29844 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsfPerfTable_delta_max" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsfPerfTable_delta_max"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
29845 }
29846 temp2 = static_cast< double >(val2);
29847 arg2 = &temp2;
29848 ecode3 = SWIG_AsVal_double(obj2, &val3);
29849 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
29850 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfPerfTable_delta_max" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfPerfTable_delta_max"
"', argument " "3"" of type '" "double""'"); goto fail; } while
(0)
;
29851 }
29852 temp3 = static_cast< double >(val3);
29853 arg3 = &temp3;
29854 ecode4 = SWIG_AsVal_double(obj3, &val4);
29855 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
29856 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsfPerfTable_delta_max" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsfPerfTable_delta_max"
"', argument " "4"" of type '" "double""'"); goto fail; } while
(0)
;
29857 }
29858 temp4 = static_cast< double >(val4);
29859 arg4 = &temp4;
29860 ecode5 = SWIG_AsVal_double(obj4, &val5);
29861 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
29862 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsfPerfTable_delta_max" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsfPerfTable_delta_max"
"', argument " "5"" of type '" "double""'"); goto fail; } while
(0)
;
29863 }
29864 temp5 = static_cast< double >(val5);
29865 arg5 = &temp5;
29866 ecode6 = SWIG_AsVal_double(obj5, &val6);
29867 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
29868 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAPsfPerfTable_delta_max" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAPsfPerfTable_delta_max"
"', argument " "6"" of type '" "double""'"); goto fail; } while
(0)
;
29869 }
29870 temp6 = static_cast< double >(val6);
29871 arg6 = &temp6;
29872 {
29873 try {
29874 result = (double)((GCTAPsfPerfTable const *)arg1)->delta_max((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6);
29875 }
29876 catch (const GException::out_of_range& e) {
29877 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
29878 }
29879 catch (const GExceptionHandler& e) {
29880 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29881 }
29882 catch (const std::exception& e) {
29883 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29884 }
29885 }
29886 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
29887 return resultobj;
29888fail:
29889 return NULL__null;
29890}
29891
29892
29893SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfPerfTable_delta_max__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29894 PyObject *resultobj = 0;
29895 GCTAPsfPerfTable *arg1 = (GCTAPsfPerfTable *) 0 ;
29896 double *arg2 = 0 ;
29897 double *arg3 = 0 ;
29898 double *arg4 = 0 ;
29899 double *arg5 = 0 ;
29900 void *argp1 = 0 ;
29901 int res1 = 0 ;
29902 double temp2 ;
29903 double val2 ;
29904 int ecode2 = 0 ;
29905 double temp3 ;
29906 double val3 ;
29907 int ecode3 = 0 ;
29908 double temp4 ;
29909 double val4 ;
29910 int ecode4 = 0 ;
29911 double temp5 ;
29912 double val5 ;
29913 int ecode5 = 0 ;
29914 PyObject * obj0 = 0 ;
29915 PyObject * obj1 = 0 ;
29916 PyObject * obj2 = 0 ;
29917 PyObject * obj3 = 0 ;
29918 PyObject * obj4 = 0 ;
29919 double result;
29920
29921 if (!PyArg_ParseTuple(args,(char *)"OOOOO:GCTAPsfPerfTable_delta_max",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_failgoto fail;
29922 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfPerfTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0 | 0, 0)
;
29923 if (!SWIG_IsOK(res1)(res1 >= 0)) {
29924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfPerfTable_delta_max" "', argument " "1"" of type '" "GCTAPsfPerfTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfPerfTable_delta_max"
"', argument " "1"" of type '" "GCTAPsfPerfTable const *""'"
); goto fail; } while(0)
;
29925 }
29926 arg1 = reinterpret_cast< GCTAPsfPerfTable * >(argp1);
29927 ecode2 = SWIG_AsVal_double(obj1, &val2);
29928 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
29929 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsfPerfTable_delta_max" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsfPerfTable_delta_max"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
29930 }
29931 temp2 = static_cast< double >(val2);
29932 arg2 = &temp2;
29933 ecode3 = SWIG_AsVal_double(obj2, &val3);
29934 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
29935 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfPerfTable_delta_max" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfPerfTable_delta_max"
"', argument " "3"" of type '" "double""'"); goto fail; } while
(0)
;
29936 }
29937 temp3 = static_cast< double >(val3);
29938 arg3 = &temp3;
29939 ecode4 = SWIG_AsVal_double(obj3, &val4);
29940 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
29941 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsfPerfTable_delta_max" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsfPerfTable_delta_max"
"', argument " "4"" of type '" "double""'"); goto fail; } while
(0)
;
29942 }
29943 temp4 = static_cast< double >(val4);
29944 arg4 = &temp4;
29945 ecode5 = SWIG_AsVal_double(obj4, &val5);
29946 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
29947 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsfPerfTable_delta_max" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsfPerfTable_delta_max"
"', argument " "5"" of type '" "double""'"); goto fail; } while
(0)
;
29948 }
29949 temp5 = static_cast< double >(val5);
29950 arg5 = &temp5;
29951 {
29952 try {
29953 result = (double)((GCTAPsfPerfTable const *)arg1)->delta_max((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5);
29954 }
29955 catch (const GException::out_of_range& e) {
29956 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
29957 }
29958 catch (const GExceptionHandler& e) {
29959 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29960 }
29961 catch (const std::exception& e) {
29962 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29963 }
29964 }
29965 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
29966 return resultobj;
29967fail:
29968 return NULL__null;
29969}
29970
29971
29972SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfPerfTable_delta_max__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29973 PyObject *resultobj = 0;
29974 GCTAPsfPerfTable *arg1 = (GCTAPsfPerfTable *) 0 ;
29975 double *arg2 = 0 ;
29976 double *arg3 = 0 ;
29977 double *arg4 = 0 ;
29978 void *argp1 = 0 ;
29979 int res1 = 0 ;
29980 double temp2 ;
29981 double val2 ;
29982 int ecode2 = 0 ;
29983 double temp3 ;
29984 double val3 ;
29985 int ecode3 = 0 ;
29986 double temp4 ;
29987 double val4 ;
29988 int ecode4 = 0 ;
29989 PyObject * obj0 = 0 ;
29990 PyObject * obj1 = 0 ;
29991 PyObject * obj2 = 0 ;
29992 PyObject * obj3 = 0 ;
29993 double result;
29994
29995 if (!PyArg_ParseTuple(args,(char *)"OOOO:GCTAPsfPerfTable_delta_max",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
29996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfPerfTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0 | 0, 0)
;
29997 if (!SWIG_IsOK(res1)(res1 >= 0)) {
29998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfPerfTable_delta_max" "', argument " "1"" of type '" "GCTAPsfPerfTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfPerfTable_delta_max"
"', argument " "1"" of type '" "GCTAPsfPerfTable const *""'"
); goto fail; } while(0)
;
29999 }
30000 arg1 = reinterpret_cast< GCTAPsfPerfTable * >(argp1);
30001 ecode2 = SWIG_AsVal_double(obj1, &val2);
30002 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
30003 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsfPerfTable_delta_max" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsfPerfTable_delta_max"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
30004 }
30005 temp2 = static_cast< double >(val2);
30006 arg2 = &temp2;
30007 ecode3 = SWIG_AsVal_double(obj2, &val3);
30008 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
30009 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfPerfTable_delta_max" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfPerfTable_delta_max"
"', argument " "3"" of type '" "double""'"); goto fail; } while
(0)
;
30010 }
30011 temp3 = static_cast< double >(val3);
30012 arg3 = &temp3;
30013 ecode4 = SWIG_AsVal_double(obj3, &val4);
30014 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
30015 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsfPerfTable_delta_max" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsfPerfTable_delta_max"
"', argument " "4"" of type '" "double""'"); goto fail; } while
(0)
;
30016 }
30017 temp4 = static_cast< double >(val4);
30018 arg4 = &temp4;
30019 {
30020 try {
30021 result = (double)((GCTAPsfPerfTable const *)arg1)->delta_max((double const &)*arg2,(double const &)*arg3,(double const &)*arg4);
30022 }
30023 catch (const GException::out_of_range& e) {
30024 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
30025 }
30026 catch (const GExceptionHandler& e) {
30027 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30028 }
30029 catch (const std::exception& e) {
30030 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30031 }
30032 }
30033 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
30034 return resultobj;
30035fail:
30036 return NULL__null;
30037}
30038
30039
30040SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfPerfTable_delta_max__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30041 PyObject *resultobj = 0;
30042 GCTAPsfPerfTable *arg1 = (GCTAPsfPerfTable *) 0 ;
30043 double *arg2 = 0 ;
30044 double *arg3 = 0 ;
30045 void *argp1 = 0 ;
30046 int res1 = 0 ;
30047 double temp2 ;
30048 double val2 ;
30049 int ecode2 = 0 ;
30050 double temp3 ;
30051 double val3 ;
30052 int ecode3 = 0 ;
30053 PyObject * obj0 = 0 ;
30054 PyObject * obj1 = 0 ;
30055 PyObject * obj2 = 0 ;
30056 double result;
30057
30058 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAPsfPerfTable_delta_max",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
30059 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfPerfTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0 | 0, 0)
;
30060 if (!SWIG_IsOK(res1)(res1 >= 0)) {
30061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfPerfTable_delta_max" "', argument " "1"" of type '" "GCTAPsfPerfTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfPerfTable_delta_max"
"', argument " "1"" of type '" "GCTAPsfPerfTable const *""'"
); goto fail; } while(0)
;
30062 }
30063 arg1 = reinterpret_cast< GCTAPsfPerfTable * >(argp1);
30064 ecode2 = SWIG_AsVal_double(obj1, &val2);
30065 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
30066 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsfPerfTable_delta_max" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsfPerfTable_delta_max"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
30067 }
30068 temp2 = static_cast< double >(val2);
30069 arg2 = &temp2;
30070 ecode3 = SWIG_AsVal_double(obj2, &val3);
30071 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
30072 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfPerfTable_delta_max" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfPerfTable_delta_max"
"', argument " "3"" of type '" "double""'"); goto fail; } while
(0)
;
30073 }
30074 temp3 = static_cast< double >(val3);
30075 arg3 = &temp3;
30076 {
30077 try {
30078 result = (double)((GCTAPsfPerfTable const *)arg1)->delta_max((double const &)*arg2,(double const &)*arg3);
30079 }
30080 catch (const GException::out_of_range& e) {
30081 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
30082 }
30083 catch (const GExceptionHandler& e) {
30084 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30085 }
30086 catch (const std::exception& e) {
30087 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30088 }
30089 }
30090 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
30091 return resultobj;
30092fail:
30093 return NULL__null;
30094}
30095
30096
30097SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfPerfTable_delta_max__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30098 PyObject *resultobj = 0;
30099 GCTAPsfPerfTable *arg1 = (GCTAPsfPerfTable *) 0 ;
30100 double *arg2 = 0 ;
30101 void *argp1 = 0 ;
30102 int res1 = 0 ;
30103 double temp2 ;
30104 double val2 ;
30105 int ecode2 = 0 ;
30106 PyObject * obj0 = 0 ;
30107 PyObject * obj1 = 0 ;
30108 double result;
30109
30110 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAPsfPerfTable_delta_max",&obj0,&obj1)) SWIG_failgoto fail;
30111 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfPerfTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0 | 0, 0)
;
30112 if (!SWIG_IsOK(res1)(res1 >= 0)) {
30113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfPerfTable_delta_max" "', argument " "1"" of type '" "GCTAPsfPerfTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfPerfTable_delta_max"
"', argument " "1"" of type '" "GCTAPsfPerfTable const *""'"
); goto fail; } while(0)
;
30114 }
30115 arg1 = reinterpret_cast< GCTAPsfPerfTable * >(argp1);
30116 ecode2 = SWIG_AsVal_double(obj1, &val2);
30117 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
30118 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsfPerfTable_delta_max" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsfPerfTable_delta_max"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
30119 }
30120 temp2 = static_cast< double >(val2);
30121 arg2 = &temp2;
30122 {
30123 try {
30124 result = (double)((GCTAPsfPerfTable const *)arg1)->delta_max((double const &)*arg2);
30125 }
30126 catch (const GException::out_of_range& e) {
30127 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
30128 }
30129 catch (const GExceptionHandler& e) {
30130 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30131 }
30132 catch (const std::exception& e) {
30133 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30134 }
30135 }
30136 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
30137 return resultobj;
30138fail:
30139 return NULL__null;
30140}
30141
30142
30143SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfPerfTable_delta_max(PyObject *self, PyObject *args) {
30144 int argc;
30145 PyObject *argv[8];
30146 int ii;
30147
30148 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
30149 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
30150 for (ii = 0; (ii < 7) && (ii < argc); ii++) {
30151 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
30152 }
30153 if (argc == 2) {
30154 int _v;
30155 void *vptr = 0;
30156 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfPerfTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[26
], 0, 0)
;
30157 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30158 if (_v) {
30159 {
30160 int res = SWIG_AsVal_double(argv[1], NULL__null);
30161 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30162 }
30163 if (_v) {
30164 return _wrap_GCTAPsfPerfTable_delta_max__SWIG_5(self, args);
30165 }
30166 }
30167 }
30168 if (argc == 3) {
30169 int _v;
30170 void *vptr = 0;
30171 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfPerfTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[26
], 0, 0)
;
30172 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30173 if (_v) {
30174 {
30175 int res = SWIG_AsVal_double(argv[1], NULL__null);
30176 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30177 }
30178 if (_v) {
30179 {
30180 int res = SWIG_AsVal_double(argv[2], NULL__null);
30181 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30182 }
30183 if (_v) {
30184 return _wrap_GCTAPsfPerfTable_delta_max__SWIG_4(self, args);
30185 }
30186 }
30187 }
30188 }
30189 if (argc == 4) {
30190 int _v;
30191 void *vptr = 0;
30192 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfPerfTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[26
], 0, 0)
;
30193 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30194 if (_v) {
30195 {
30196 int res = SWIG_AsVal_double(argv[1], NULL__null);
30197 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30198 }
30199 if (_v) {
30200 {
30201 int res = SWIG_AsVal_double(argv[2], NULL__null);
30202 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30203 }
30204 if (_v) {
30205 {
30206 int res = SWIG_AsVal_double(argv[3], NULL__null);
30207 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30208 }
30209 if (_v) {
30210 return _wrap_GCTAPsfPerfTable_delta_max__SWIG_3(self, args);
30211 }
30212 }
30213 }
30214 }
30215 }
30216 if (argc == 5) {
30217 int _v;
30218 void *vptr = 0;
30219 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfPerfTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[26
], 0, 0)
;
30220 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30221 if (_v) {
30222 {
30223 int res = SWIG_AsVal_double(argv[1], NULL__null);
30224 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30225 }
30226 if (_v) {
30227 {
30228 int res = SWIG_AsVal_double(argv[2], NULL__null);
30229 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30230 }
30231 if (_v) {
30232 {
30233 int res = SWIG_AsVal_double(argv[3], NULL__null);
30234 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30235 }
30236 if (_v) {
30237 {
30238 int res = SWIG_AsVal_double(argv[4], NULL__null);
30239 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30240 }
30241 if (_v) {
30242 return _wrap_GCTAPsfPerfTable_delta_max__SWIG_2(self, args);
30243 }
30244 }
30245 }
30246 }
30247 }
30248 }
30249 if (argc == 6) {
30250 int _v;
30251 void *vptr = 0;
30252 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfPerfTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[26
], 0, 0)
;
30253 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30254 if (_v) {
30255 {
30256 int res = SWIG_AsVal_double(argv[1], NULL__null);
30257 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30258 }
30259 if (_v) {
30260 {
30261 int res = SWIG_AsVal_double(argv[2], NULL__null);
30262 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30263 }
30264 if (_v) {
30265 {
30266 int res = SWIG_AsVal_double(argv[3], NULL__null);
30267 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30268 }
30269 if (_v) {
30270 {
30271 int res = SWIG_AsVal_double(argv[4], NULL__null);
30272 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30273 }
30274 if (_v) {
30275 {
30276 int res = SWIG_AsVal_double(argv[5], NULL__null);
30277 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30278 }
30279 if (_v) {
30280 return _wrap_GCTAPsfPerfTable_delta_max__SWIG_1(self, args);
30281 }
30282 }
30283 }
30284 }
30285 }
30286 }
30287 }
30288 if (argc == 7) {
30289 int _v;
30290 void *vptr = 0;
30291 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfPerfTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[26
], 0, 0)
;
30292 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30293 if (_v) {
30294 {
30295 int res = SWIG_AsVal_double(argv[1], NULL__null);
30296 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30297 }
30298 if (_v) {
30299 {
30300 int res = SWIG_AsVal_double(argv[2], NULL__null);
30301 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30302 }
30303 if (_v) {
30304 {
30305 int res = SWIG_AsVal_double(argv[3], NULL__null);
30306 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30307 }
30308 if (_v) {
30309 {
30310 int res = SWIG_AsVal_double(argv[4], NULL__null);
30311 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30312 }
30313 if (_v) {
30314 {
30315 int res = SWIG_AsVal_double(argv[5], NULL__null);
30316 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30317 }
30318 if (_v) {
30319 {
30320 int res = SWIG_AsVal_bool(argv[6], NULL__null);
30321 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30322 }
30323 if (_v) {
30324 return _wrap_GCTAPsfPerfTable_delta_max__SWIG_0(self, args);
30325 }
30326 }
30327 }
30328 }
30329 }
30330 }
30331 }
30332 }
30333
30334fail:
30335 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAPsfPerfTable_delta_max'.\n"
30336 " Possible C/C++ prototypes are:\n"
30337 " GCTAPsfPerfTable::delta_max(double const &,double const &,double const &,double const &,double const &,bool const &) const\n"
30338 " GCTAPsfPerfTable::delta_max(double const &,double const &,double const &,double const &,double const &) const\n"
30339 " GCTAPsfPerfTable::delta_max(double const &,double const &,double const &,double const &) const\n"
30340 " GCTAPsfPerfTable::delta_max(double const &,double const &,double const &) const\n"
30341 " GCTAPsfPerfTable::delta_max(double const &,double const &) const\n"
30342 " GCTAPsfPerfTable::delta_max(double const &) const\n");
30343 return 0;
30344}
30345
30346
30347SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfPerfTable_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30348 PyObject *resultobj = 0;
30349 GCTAPsfPerfTable *arg1 = (GCTAPsfPerfTable *) 0 ;
30350 void *argp1 = 0 ;
30351 int res1 = 0 ;
30352 PyObject * obj0 = 0 ;
30353 GCTAPsfPerfTable result;
30354
30355 if (!PyArg_ParseTuple(args,(char *)"O:GCTAPsfPerfTable_copy",&obj0)) SWIG_failgoto fail;
30356 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfPerfTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0 | 0, 0)
;
30357 if (!SWIG_IsOK(res1)(res1 >= 0)) {
30358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfPerfTable_copy" "', argument " "1"" of type '" "GCTAPsfPerfTable *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfPerfTable_copy" "', argument "
"1"" of type '" "GCTAPsfPerfTable *""'"); goto fail; } while
(0)
;
30359 }
30360 arg1 = reinterpret_cast< GCTAPsfPerfTable * >(argp1);
30361 {
30362 try {
30363 result = GCTAPsfPerfTable_copy(arg1);
30364 }
30365 catch (const GException::out_of_range& e) {
30366 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
30367 }
30368 catch (const GExceptionHandler& e) {
30369 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30370 }
30371 catch (const std::exception& e) {
30372 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30373 }
30374 }
30375 resultobj = SWIG_NewPointerObj((new GCTAPsfPerfTable(static_cast< const GCTAPsfPerfTable& >(result))), SWIGTYPE_p_GCTAPsfPerfTable, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GCTAPsfPerfTable(static_cast
< const GCTAPsfPerfTable& >(result))), swig_types[26
], 0x1 | 0)
;
30376 return resultobj;
30377fail:
30378 return NULL__null;
30379}
30380
30381
30382SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GCTAPsfPerfTable_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30383 PyObject *obj;
30384 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
30385 SWIG_TypeNewClientData(SWIGTYPE_p_GCTAPsfPerfTableswig_types[26], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
30386 return SWIG_Py_Void();
30387}
30388
30389SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAPsfVector__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30390 PyObject *resultobj = 0;
30391 GCTAPsfVector *result = 0 ;
30392
30393 if (!PyArg_ParseTuple(args,(char *)":new_GCTAPsfVector")) SWIG_failgoto fail;
30394 {
30395 try {
30396 result = (GCTAPsfVector *)new GCTAPsfVector();
30397 }
30398 catch (const GException::out_of_range& e) {
30399 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
30400 }
30401 catch (const GExceptionHandler& e) {
30402 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30403 }
30404 catch (const std::exception& e) {
30405 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30406 }
30407 }
30408 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAPsfVector, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[27], (
(0x1 << 1) | 0x1) | 0)
;
30409 return resultobj;
30410fail:
30411 return NULL__null;
30412}
30413
30414
30415SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAPsfVector__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30416 PyObject *resultobj = 0;
30417 std::string *arg1 = 0 ;
30418 int res1 = SWIG_OLDOBJ((0)) ;
30419 PyObject * obj0 = 0 ;
30420 GCTAPsfVector *result = 0 ;
30421
30422 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAPsfVector",&obj0)) SWIG_failgoto fail;
30423 {
30424 std::string *ptr = (std::string *)0;
30425 res1 = SWIG_AsPtr_std_string(obj0, &ptr);
30426 if (!SWIG_IsOK(res1)(res1 >= 0)) {
30427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAPsfVector" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAPsfVector" "', argument "
"1"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
30428 }
30429 if (!ptr) {
30430 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAPsfVector" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAPsfVector" "', argument " "1"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
30431 }
30432 arg1 = ptr;
30433 }
30434 {
30435 try {
30436 result = (GCTAPsfVector *)new GCTAPsfVector((std::string const &)*arg1);
30437 }
30438 catch (const GException::out_of_range& e) {
30439 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
30440 }
30441 catch (const GExceptionHandler& e) {
30442 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30443 }
30444 catch (const std::exception& e) {
30445 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30446 }
30447 }
30448 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAPsfVector, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[27], (
(0x1 << 1) | 0x1) | 0)
;
30449 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
30450 return resultobj;
30451fail:
30452 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
30453 return NULL__null;
30454}
30455
30456
30457SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAPsfVector__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30458 PyObject *resultobj = 0;
30459 GCTAPsfVector *arg1 = 0 ;
30460 void *argp1 = 0 ;
30461 int res1 = 0 ;
30462 PyObject * obj0 = 0 ;
30463 GCTAPsfVector *result = 0 ;
30464
30465 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAPsfVector",&obj0)) SWIG_failgoto fail;
30466 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GCTAPsfVector, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0 | 0, 0)
;
30467 if (!SWIG_IsOK(res1)(res1 >= 0)) {
30468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAPsfVector" "', argument " "1"" of type '" "GCTAPsfVector const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAPsfVector" "', argument "
"1"" of type '" "GCTAPsfVector const &""'"); goto fail; }
while(0)
;
30469 }
30470 if (!argp1) {
30471 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAPsfVector" "', argument " "1"" of type '" "GCTAPsfVector const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAPsfVector" "', argument " "1"" of type '"
"GCTAPsfVector const &""'"); goto fail; } while(0)
;
30472 }
30473 arg1 = reinterpret_cast< GCTAPsfVector * >(argp1);
30474 {
30475 try {
30476 result = (GCTAPsfVector *)new GCTAPsfVector((GCTAPsfVector const &)*arg1);
30477 }
30478 catch (const GException::out_of_range& e) {
30479 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
30480 }
30481 catch (const GExceptionHandler& e) {
30482 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30483 }
30484 catch (const std::exception& e) {
30485 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30486 }
30487 }
30488 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAPsfVector, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[27], (
(0x1 << 1) | 0x1) | 0)
;
30489 return resultobj;
30490fail:
30491 return NULL__null;
30492}
30493
30494
30495SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAPsfVector(PyObject *self, PyObject *args) {
30496 int argc;
30497 PyObject *argv[2];
30498 int ii;
30499
30500 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
30501 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
30502 for (ii = 0; (ii < 1) && (ii < argc); ii++) {
30503 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
30504 }
30505 if (argc == 0) {
30506 return _wrap_new_GCTAPsfVector__SWIG_0(self, args);
30507 }
30508 if (argc == 1) {
30509 int _v;
30510 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GCTAPsfVector, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[27], 0, 0
)
;
30511 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30512 if (_v) {
30513 return _wrap_new_GCTAPsfVector__SWIG_2(self, args);
30514 }
30515 }
30516 if (argc == 1) {
30517 int _v;
30518 int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
30519 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30520 if (_v) {
30521 return _wrap_new_GCTAPsfVector__SWIG_1(self, args);
30522 }
30523 }
30524
30525fail:
30526 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GCTAPsfVector'.\n"
30527 " Possible C/C++ prototypes are:\n"
30528 " GCTAPsfVector::GCTAPsfVector()\n"
30529 " GCTAPsfVector::GCTAPsfVector(std::string const &)\n"
30530 " GCTAPsfVector::GCTAPsfVector(GCTAPsfVector const &)\n");
30531 return 0;
30532}
30533
30534
30535SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GCTAPsfVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30536 PyObject *resultobj = 0;
30537 GCTAPsfVector *arg1 = (GCTAPsfVector *) 0 ;
30538 void *argp1 = 0 ;
30539 int res1 = 0 ;
30540 PyObject * obj0 = 0 ;
30541
30542 if (!PyArg_ParseTuple(args,(char *)"O:delete_GCTAPsfVector",&obj0)) SWIG_failgoto fail;
30543 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfVector, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0x1 | 0, 0)
;
30544 if (!SWIG_IsOK(res1)(res1 >= 0)) {
30545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GCTAPsfVector" "', argument " "1"" of type '" "GCTAPsfVector *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GCTAPsfVector" "', argument "
"1"" of type '" "GCTAPsfVector *""'"); goto fail; } while(0)
;
30546 }
30547 arg1 = reinterpret_cast< GCTAPsfVector * >(argp1);
30548 {
30549 try {
30550 delete arg1;
30551 }
30552 catch (const GException::out_of_range& e) {
30553 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
30554 }
30555 catch (const GExceptionHandler& e) {
30556 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30557 }
30558 catch (const std::exception& e) {
30559 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30560 }
30561 }
30562 resultobj = SWIG_Py_Void();
30563 return resultobj;
30564fail:
30565 return NULL__null;
30566}
30567
30568
30569SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfVector___call____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30570 PyObject *resultobj = 0;
30571 GCTAPsfVector *arg1 = (GCTAPsfVector *) 0 ;
30572 double *arg2 = 0 ;
30573 double *arg3 = 0 ;
30574 double *arg4 = 0 ;
30575 double *arg5 = 0 ;
30576 double *arg6 = 0 ;
30577 double *arg7 = 0 ;
30578 bool *arg8 = 0 ;
30579 void *argp1 = 0 ;
30580 int res1 = 0 ;
30581 double temp2 ;
30582 double val2 ;
30583 int ecode2 = 0 ;
30584 double temp3 ;
30585 double val3 ;
30586 int ecode3 = 0 ;
30587 double temp4 ;
30588 double val4 ;
30589 int ecode4 = 0 ;
30590 double temp5 ;
30591 double val5 ;
30592 int ecode5 = 0 ;
30593 double temp6 ;
30594 double val6 ;
30595 int ecode6 = 0 ;
30596 double temp7 ;
30597 double val7 ;
30598 int ecode7 = 0 ;
30599 bool temp8 ;
30600 bool val8 ;
30601 int ecode8 = 0 ;
30602 PyObject * obj0 = 0 ;
30603 PyObject * obj1 = 0 ;
30604 PyObject * obj2 = 0 ;
30605 PyObject * obj3 = 0 ;
30606 PyObject * obj4 = 0 ;
30607 PyObject * obj5 = 0 ;
30608 PyObject * obj6 = 0 ;
30609 PyObject * obj7 = 0 ;
30610 double result;
30611
30612 if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:GCTAPsfVector___call__",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_failgoto fail;
30613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfVector, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0 | 0, 0)
;
30614 if (!SWIG_IsOK(res1)(res1 >= 0)) {
30615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfVector___call__" "', argument " "1"" of type '" "GCTAPsfVector const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfVector___call__" "', argument "
"1"" of type '" "GCTAPsfVector const *""'"); goto fail; } while
(0)
;
30616 }
30617 arg1 = reinterpret_cast< GCTAPsfVector * >(argp1);
30618 ecode2 = SWIG_AsVal_double(obj1, &val2);
30619 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
30620 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsfVector___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsfVector___call__"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
30621 }
30622 temp2 = static_cast< double >(val2);
30623 arg2 = &temp2;
30624 ecode3 = SWIG_AsVal_double(obj2, &val3);
30625 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
30626 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfVector___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfVector___call__"
"', argument " "3"" of type '" "double""'"); goto fail; } while
(0)
;
30627 }
30628 temp3 = static_cast< double >(val3);
30629 arg3 = &temp3;
30630 ecode4 = SWIG_AsVal_double(obj3, &val4);
30631 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
30632 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsfVector___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsfVector___call__"
"', argument " "4"" of type '" "double""'"); goto fail; } while
(0)
;
30633 }
30634 temp4 = static_cast< double >(val4);
30635 arg4 = &temp4;
30636 ecode5 = SWIG_AsVal_double(obj4, &val5);
30637 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
30638 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsfVector___call__" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsfVector___call__"
"', argument " "5"" of type '" "double""'"); goto fail; } while
(0)
;
30639 }
30640 temp5 = static_cast< double >(val5);
30641 arg5 = &temp5;
30642 ecode6 = SWIG_AsVal_double(obj5, &val6);
30643 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
30644 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAPsfVector___call__" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAPsfVector___call__"
"', argument " "6"" of type '" "double""'"); goto fail; } while
(0)
;
30645 }
30646 temp6 = static_cast< double >(val6);
30647 arg6 = &temp6;
30648 ecode7 = SWIG_AsVal_double(obj6, &val7);
30649 if (!SWIG_IsOK(ecode7)(ecode7 >= 0)) {
30650 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GCTAPsfVector___call__" "', argument " "7"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode7 !=
(-1)) ? ecode7 : -5)), "in method '" "GCTAPsfVector___call__"
"', argument " "7"" of type '" "double""'"); goto fail; } while
(0)
;
30651 }
30652 temp7 = static_cast< double >(val7);
30653 arg7 = &temp7;
30654 ecode8 = SWIG_AsVal_bool(obj7, &val8);
30655 if (!SWIG_IsOK(ecode8)(ecode8 >= 0)) {
30656 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "GCTAPsfVector___call__" "', argument " "8"" of type '" "bool""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode8 !=
(-1)) ? ecode8 : -5)), "in method '" "GCTAPsfVector___call__"
"', argument " "8"" of type '" "bool""'"); goto fail; } while
(0)
;
30657 }
30658 temp8 = static_cast< bool >(val8);
30659 arg8 = &temp8;
30660 {
30661 try {
30662 result = (double)((GCTAPsfVector const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6,(double const &)*arg7,(bool const &)*arg8);
30663 }
30664 catch (const GException::out_of_range& e) {
30665 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
30666 }
30667 catch (const GExceptionHandler& e) {
30668 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30669 }
30670 catch (const std::exception& e) {
30671 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30672 }
30673 }
30674 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
30675 return resultobj;
30676fail:
30677 return NULL__null;
30678}
30679
30680
30681SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfVector___call____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30682 PyObject *resultobj = 0;
30683 GCTAPsfVector *arg1 = (GCTAPsfVector *) 0 ;
30684 double *arg2 = 0 ;
30685 double *arg3 = 0 ;
30686 double *arg4 = 0 ;
30687 double *arg5 = 0 ;
30688 double *arg6 = 0 ;
30689 double *arg7 = 0 ;
30690 void *argp1 = 0 ;
30691 int res1 = 0 ;
30692 double temp2 ;
30693 double val2 ;
30694 int ecode2 = 0 ;
30695 double temp3 ;
30696 double val3 ;
30697 int ecode3 = 0 ;
30698 double temp4 ;
30699 double val4 ;
30700 int ecode4 = 0 ;
30701 double temp5 ;
30702 double val5 ;
30703 int ecode5 = 0 ;
30704 double temp6 ;
30705 double val6 ;
30706 int ecode6 = 0 ;
30707 double temp7 ;
30708 double val7 ;
30709 int ecode7 = 0 ;
30710 PyObject * obj0 = 0 ;
30711 PyObject * obj1 = 0 ;
30712 PyObject * obj2 = 0 ;
30713 PyObject * obj3 = 0 ;
30714 PyObject * obj4 = 0 ;
30715 PyObject * obj5 = 0 ;
30716 PyObject * obj6 = 0 ;
30717 double result;
30718
30719 if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:GCTAPsfVector___call__",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_failgoto fail;
30720 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfVector, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0 | 0, 0)
;
30721 if (!SWIG_IsOK(res1)(res1 >= 0)) {
30722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfVector___call__" "', argument " "1"" of type '" "GCTAPsfVector const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfVector___call__" "', argument "
"1"" of type '" "GCTAPsfVector const *""'"); goto fail; } while
(0)
;
30723 }
30724 arg1 = reinterpret_cast< GCTAPsfVector * >(argp1);
30725 ecode2 = SWIG_AsVal_double(obj1, &val2);
30726 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
30727 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsfVector___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsfVector___call__"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
30728 }
30729 temp2 = static_cast< double >(val2);
30730 arg2 = &temp2;
30731 ecode3 = SWIG_AsVal_double(obj2, &val3);
30732 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
30733 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfVector___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfVector___call__"
"', argument " "3"" of type '" "double""'"); goto fail; } while
(0)
;
30734 }
30735 temp3 = static_cast< double >(val3);
30736 arg3 = &temp3;
30737 ecode4 = SWIG_AsVal_double(obj3, &val4);
30738 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
30739 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsfVector___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsfVector___call__"
"', argument " "4"" of type '" "double""'"); goto fail; } while
(0)
;
30740 }
30741 temp4 = static_cast< double >(val4);
30742 arg4 = &temp4;
30743 ecode5 = SWIG_AsVal_double(obj4, &val5);
30744 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
30745 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsfVector___call__" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsfVector___call__"
"', argument " "5"" of type '" "double""'"); goto fail; } while
(0)
;
30746 }
30747 temp5 = static_cast< double >(val5);
30748 arg5 = &temp5;
30749 ecode6 = SWIG_AsVal_double(obj5, &val6);
30750 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
30751 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAPsfVector___call__" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAPsfVector___call__"
"', argument " "6"" of type '" "double""'"); goto fail; } while
(0)
;
30752 }
30753 temp6 = static_cast< double >(val6);
30754 arg6 = &temp6;
30755 ecode7 = SWIG_AsVal_double(obj6, &val7);
30756 if (!SWIG_IsOK(ecode7)(ecode7 >= 0)) {
30757 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GCTAPsfVector___call__" "', argument " "7"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode7 !=
(-1)) ? ecode7 : -5)), "in method '" "GCTAPsfVector___call__"
"', argument " "7"" of type '" "double""'"); goto fail; } while
(0)
;
30758 }
30759 temp7 = static_cast< double >(val7);
30760 arg7 = &temp7;
30761 {
30762 try {
30763 result = (double)((GCTAPsfVector const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6,(double const &)*arg7);
30764 }
30765 catch (const GException::out_of_range& e) {
30766 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
30767 }
30768 catch (const GExceptionHandler& e) {
30769 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30770 }
30771 catch (const std::exception& e) {
30772 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30773 }
30774 }
30775 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
30776 return resultobj;
30777fail:
30778 return NULL__null;
30779}
30780
30781
30782SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfVector___call____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30783 PyObject *resultobj = 0;
30784 GCTAPsfVector *arg1 = (GCTAPsfVector *) 0 ;
30785 double *arg2 = 0 ;
30786 double *arg3 = 0 ;
30787 double *arg4 = 0 ;
30788 double *arg5 = 0 ;
30789 double *arg6 = 0 ;
30790 void *argp1 = 0 ;
30791 int res1 = 0 ;
30792 double temp2 ;
30793 double val2 ;
30794 int ecode2 = 0 ;
30795 double temp3 ;
30796 double val3 ;
30797 int ecode3 = 0 ;
30798 double temp4 ;
30799 double val4 ;
30800 int ecode4 = 0 ;
30801 double temp5 ;
30802 double val5 ;
30803 int ecode5 = 0 ;
30804 double temp6 ;
30805 double val6 ;
30806 int ecode6 = 0 ;
30807 PyObject * obj0 = 0 ;
30808 PyObject * obj1 = 0 ;
30809 PyObject * obj2 = 0 ;
30810 PyObject * obj3 = 0 ;
30811 PyObject * obj4 = 0 ;
30812 PyObject * obj5 = 0 ;
30813 double result;
30814
30815 if (!PyArg_ParseTuple(args,(char *)"OOOOOO:GCTAPsfVector___call__",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_failgoto fail;
30816 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfVector, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0 | 0, 0)
;
30817 if (!SWIG_IsOK(res1)(res1 >= 0)) {
30818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfVector___call__" "', argument " "1"" of type '" "GCTAPsfVector const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfVector___call__" "', argument "
"1"" of type '" "GCTAPsfVector const *""'"); goto fail; } while
(0)
;
30819 }
30820 arg1 = reinterpret_cast< GCTAPsfVector * >(argp1);
30821 ecode2 = SWIG_AsVal_double(obj1, &val2);
30822 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
30823 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsfVector___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsfVector___call__"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
30824 }
30825 temp2 = static_cast< double >(val2);
30826 arg2 = &temp2;
30827 ecode3 = SWIG_AsVal_double(obj2, &val3);
30828 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
30829 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfVector___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfVector___call__"
"', argument " "3"" of type '" "double""'"); goto fail; } while
(0)
;
30830 }
30831 temp3 = static_cast< double >(val3);
30832 arg3 = &temp3;
30833 ecode4 = SWIG_AsVal_double(obj3, &val4);
30834 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
30835 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsfVector___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsfVector___call__"
"', argument " "4"" of type '" "double""'"); goto fail; } while
(0)
;
30836 }
30837 temp4 = static_cast< double >(val4);
30838 arg4 = &temp4;
30839 ecode5 = SWIG_AsVal_double(obj4, &val5);
30840 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
30841 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsfVector___call__" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsfVector___call__"
"', argument " "5"" of type '" "double""'"); goto fail; } while
(0)
;
30842 }
30843 temp5 = static_cast< double >(val5);
30844 arg5 = &temp5;
30845 ecode6 = SWIG_AsVal_double(obj5, &val6);
30846 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
30847 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAPsfVector___call__" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAPsfVector___call__"
"', argument " "6"" of type '" "double""'"); goto fail; } while
(0)
;
30848 }
30849 temp6 = static_cast< double >(val6);
30850 arg6 = &temp6;
30851 {
30852 try {
30853 result = (double)((GCTAPsfVector const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6);
30854 }
30855 catch (const GException::out_of_range& e) {
30856 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
30857 }
30858 catch (const GExceptionHandler& e) {
30859 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30860 }
30861 catch (const std::exception& e) {
30862 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30863 }
30864 }
30865 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
30866 return resultobj;
30867fail:
30868 return NULL__null;
30869}
30870
30871
30872SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfVector___call____SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30873 PyObject *resultobj = 0;
30874 GCTAPsfVector *arg1 = (GCTAPsfVector *) 0 ;
30875 double *arg2 = 0 ;
30876 double *arg3 = 0 ;
30877 double *arg4 = 0 ;
30878 double *arg5 = 0 ;
30879 void *argp1 = 0 ;
30880 int res1 = 0 ;
30881 double temp2 ;
30882 double val2 ;
30883 int ecode2 = 0 ;
30884 double temp3 ;
30885 double val3 ;
30886 int ecode3 = 0 ;
30887 double temp4 ;
30888 double val4 ;
30889 int ecode4 = 0 ;
30890 double temp5 ;
30891 double val5 ;
30892 int ecode5 = 0 ;
30893 PyObject * obj0 = 0 ;
30894 PyObject * obj1 = 0 ;
30895 PyObject * obj2 = 0 ;
30896 PyObject * obj3 = 0 ;
30897 PyObject * obj4 = 0 ;
30898 double result;
30899
30900 if (!PyArg_ParseTuple(args,(char *)"OOOOO:GCTAPsfVector___call__",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_failgoto fail;
30901 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfVector, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0 | 0, 0)
;
30902 if (!SWIG_IsOK(res1)(res1 >= 0)) {
30903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfVector___call__" "', argument " "1"" of type '" "GCTAPsfVector const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfVector___call__" "', argument "
"1"" of type '" "GCTAPsfVector const *""'"); goto fail; } while
(0)
;
30904 }
30905 arg1 = reinterpret_cast< GCTAPsfVector * >(argp1);
30906 ecode2 = SWIG_AsVal_double(obj1, &val2);
30907 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
30908 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsfVector___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsfVector___call__"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
30909 }
30910 temp2 = static_cast< double >(val2);
30911 arg2 = &temp2;
30912 ecode3 = SWIG_AsVal_double(obj2, &val3);
30913 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
30914 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfVector___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfVector___call__"
"', argument " "3"" of type '" "double""'"); goto fail; } while
(0)
;
30915 }
30916 temp3 = static_cast< double >(val3);
30917 arg3 = &temp3;
30918 ecode4 = SWIG_AsVal_double(obj3, &val4);
30919 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
30920 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsfVector___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsfVector___call__"
"', argument " "4"" of type '" "double""'"); goto fail; } while
(0)
;
30921 }
30922 temp4 = static_cast< double >(val4);
30923 arg4 = &temp4;
30924 ecode5 = SWIG_AsVal_double(obj4, &val5);
30925 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
30926 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsfVector___call__" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsfVector___call__"
"', argument " "5"" of type '" "double""'"); goto fail; } while
(0)
;
30927 }
30928 temp5 = static_cast< double >(val5);
30929 arg5 = &temp5;
30930 {
30931 try {
30932 result = (double)((GCTAPsfVector const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5);
30933 }
30934 catch (const GException::out_of_range& e) {
30935 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
30936 }
30937 catch (const GExceptionHandler& e) {
30938 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30939 }
30940 catch (const std::exception& e) {
30941 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30942 }
30943 }
30944 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
30945 return resultobj;
30946fail:
30947 return NULL__null;
30948}
30949
30950
30951SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfVector___call____SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30952 PyObject *resultobj = 0;
30953 GCTAPsfVector *arg1 = (GCTAPsfVector *) 0 ;
30954 double *arg2 = 0 ;
30955 double *arg3 = 0 ;
30956 double *arg4 = 0 ;
30957 void *argp1 = 0 ;
30958 int res1 = 0 ;
30959 double temp2 ;
30960 double val2 ;
30961 int ecode2 = 0 ;
30962 double temp3 ;
30963 double val3 ;
30964 int ecode3 = 0 ;
30965 double temp4 ;
30966 double val4 ;
30967 int ecode4 = 0 ;
30968 PyObject * obj0 = 0 ;
30969 PyObject * obj1 = 0 ;
30970 PyObject * obj2 = 0 ;
30971 PyObject * obj3 = 0 ;
30972 double result;
30973
30974 if (!PyArg_ParseTuple(args,(char *)"OOOO:GCTAPsfVector___call__",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
30975 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfVector, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0 | 0, 0)
;
30976 if (!SWIG_IsOK(res1)(res1 >= 0)) {
30977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfVector___call__" "', argument " "1"" of type '" "GCTAPsfVector const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfVector___call__" "', argument "
"1"" of type '" "GCTAPsfVector const *""'"); goto fail; } while
(0)
;
30978 }
30979 arg1 = reinterpret_cast< GCTAPsfVector * >(argp1);
30980 ecode2 = SWIG_AsVal_double(obj1, &val2);
30981 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
30982 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsfVector___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsfVector___call__"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
30983 }
30984 temp2 = static_cast< double >(val2);
30985 arg2 = &temp2;
30986 ecode3 = SWIG_AsVal_double(obj2, &val3);
30987 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
30988 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfVector___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfVector___call__"
"', argument " "3"" of type '" "double""'"); goto fail; } while
(0)
;
30989 }
30990 temp3 = static_cast< double >(val3);
30991 arg3 = &temp3;
30992 ecode4 = SWIG_AsVal_double(obj3, &val4);
30993 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
30994 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsfVector___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsfVector___call__"
"', argument " "4"" of type '" "double""'"); goto fail; } while
(0)
;
30995 }
30996 temp4 = static_cast< double >(val4);
30997 arg4 = &temp4;
30998 {
30999 try {
31000 result = (double)((GCTAPsfVector const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4);
31001 }
31002 catch (const GException::out_of_range& e) {
31003 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
31004 }
31005 catch (const GExceptionHandler& e) {
31006 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31007 }
31008 catch (const std::exception& e) {
31009 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31010 }
31011 }
31012 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
31013 return resultobj;
31014fail:
31015 return NULL__null;
31016}
31017
31018
31019SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfVector___call____SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31020 PyObject *resultobj = 0;
31021 GCTAPsfVector *arg1 = (GCTAPsfVector *) 0 ;
31022 double *arg2 = 0 ;
31023 double *arg3 = 0 ;
31024 void *argp1 = 0 ;
31025 int res1 = 0 ;
31026 double temp2 ;
31027 double val2 ;
31028 int ecode2 = 0 ;
31029 double temp3 ;
31030 double val3 ;
31031 int ecode3 = 0 ;
31032 PyObject * obj0 = 0 ;
31033 PyObject * obj1 = 0 ;
31034 PyObject * obj2 = 0 ;
31035 double result;
31036
31037 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAPsfVector___call__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
31038 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfVector, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0 | 0, 0)
;
31039 if (!SWIG_IsOK(res1)(res1 >= 0)) {
31040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfVector___call__" "', argument " "1"" of type '" "GCTAPsfVector const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfVector___call__" "', argument "
"1"" of type '" "GCTAPsfVector const *""'"); goto fail; } while
(0)
;
31041 }
31042 arg1 = reinterpret_cast< GCTAPsfVector * >(argp1);
31043 ecode2 = SWIG_AsVal_double(obj1, &val2);
31044 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
31045 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsfVector___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsfVector___call__"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
31046 }
31047 temp2 = static_cast< double >(val2);
31048 arg2 = &temp2;
31049 ecode3 = SWIG_AsVal_double(obj2, &val3);
31050 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
31051 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfVector___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfVector___call__"
"', argument " "3"" of type '" "double""'"); goto fail; } while
(0)
;
31052 }
31053 temp3 = static_cast< double >(val3);
31054 arg3 = &temp3;
31055 {
31056 try {
31057 result = (double)((GCTAPsfVector const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3);
31058 }
31059 catch (const GException::out_of_range& e) {
31060 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
31061 }
31062 catch (const GExceptionHandler& e) {
31063 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31064 }
31065 catch (const std::exception& e) {
31066 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31067 }
31068 }
31069 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
31070 return resultobj;
31071fail:
31072 return NULL__null;
31073}
31074
31075
31076SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfVector___call__(PyObject *self, PyObject *args) {
31077 int argc;
31078 PyObject *argv[9];
31079 int ii;
31080
31081 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
31082 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
31083 for (ii = 0; (ii < 8) && (ii < argc); ii++) {
31084 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
31085 }
31086 if (argc == 3) {
31087 int _v;
31088 void *vptr = 0;
31089 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfVector, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[27
], 0, 0)
;
31090 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
31091 if (_v) {
31092 {
31093 int res = SWIG_AsVal_double(argv[1], NULL__null);
31094 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
31095 }
31096 if (_v) {
31097 {
31098 int res = SWIG_AsVal_double(argv[2], NULL__null);
31099 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
31100 }
31101 if (_v) {
31102 return _wrap_GCTAPsfVector___call____SWIG_5(self, args);
31103 }
31104 }
31105 }
31106 }
31107 if (argc == 4) {
31108 int _v;
31109 void *vptr = 0;
31110 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfVector, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[27
], 0, 0)
;
31111 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
31112 if (_v) {
31113 {
31114 int res = SWIG_AsVal_double(argv[1], NULL__null);
31115 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
31116 }
31117 if (_v) {
31118 {
31119 int res = SWIG_AsVal_double(argv[2], NULL__null);
31120 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
31121 }
31122 if (_v) {
31123 {
31124 int res = SWIG_AsVal_double(argv[3], NULL__null);
31125 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
31126 }
31127 if (_v) {
31128 return _wrap_GCTAPsfVector___call____SWIG_4(self, args);
31129 }
31130 }
31131 }
31132 }
31133 }
31134 if (argc == 5) {
31135 int _v;
31136 void *vptr = 0;
31137 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfVector, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[27
], 0, 0)
;
31138 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
31139 if (_v) {
31140 {
31141 int res = SWIG_AsVal_double(argv[1], NULL__null);
31142 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
31143 }
31144 if (_v) {
31145 {
31146 int res = SWIG_AsVal_double(argv[2], NULL__null);
31147 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
31148 }
31149 if (_v) {
31150 {
31151 int res = SWIG_AsVal_double(argv[3], NULL__null);
31152 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
31153 }
31154 if (_v) {
31155 {
31156 int res = SWIG_AsVal_double(argv[4], NULL__null);
31157 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
31158 }
31159 if (_v) {
31160 return _wrap_GCTAPsfVector___call____SWIG_3(self, args);
31161 }
31162 }
31163 }
31164 }
31165 }
31166 }
31167 if (argc == 6) {
31168 int _v;
31169 void *vptr = 0;
31170 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfVector, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[27
], 0, 0)
;
31171 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
31172 if (_v) {
31173 {
31174 int res = SWIG_AsVal_double(argv[1], NULL__null);
31175 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
31176 }
31177 if (_v) {
31178 {
31179 int res = SWIG_AsVal_double(argv[2], NULL__null);
31180 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
31181 }
31182 if (_v) {
31183 {
31184 int res = SWIG_AsVal_double(argv[3], NULL__null);
31185 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
31186 }
31187 if (_v) {
31188 {
31189 int res = SWIG_AsVal_double(argv[4], NULL__null);
31190 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
31191 }
31192 if (_v) {
31193 {
31194 int res = SWIG_AsVal_double(argv[5], NULL__null);
31195 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
31196 }
31197 if (_v) {
31198 return _wrap_GCTAPsfVector___call____SWIG_2(self, args);
31199 }
31200 }
31201 }
31202 }
31203 }
31204 }
31205 }
31206 if (argc == 7) {
31207 int _v;
31208 void *vptr = 0;
31209 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfVector, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[27
], 0, 0)
;
31210 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
31211 if (_v) {
31212 {
31213 int res = SWIG_AsVal_double(argv[1], NULL__null);
31214 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
31215 }
31216 if (_v) {
31217 {
31218 int res = SWIG_AsVal_double(argv[2], NULL__null);
31219 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
31220 }
31221 if (_v) {
31222 {
31223 int res = SWIG_AsVal_double(argv[3], NULL__null);
31224 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
31225 }
31226 if (_v) {
31227 {
31228 int res = SWIG_AsVal_double(argv[4], NULL__null);
31229 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
31230 }
31231 if (_v) {
31232 {
31233 int res = SWIG_AsVal_double(argv[5], NULL__null);
31234 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
31235 }
31236 if (_v) {
31237 {
31238 int res = SWIG_AsVal_double(argv[6], NULL__null);
31239 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
31240 }
31241 if (_v) {
31242 return _wrap_GCTAPsfVector___call____SWIG_1(self, args);
31243 }
31244 }
31245 }
31246 }
31247 }
31248 }
31249 }
31250 }
31251 if (argc == 8) {
31252 int _v;
31253 void *vptr = 0;
31254 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfVector, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[27
], 0, 0)
;
31255 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
31256 if (_v) {
31257 {
31258 int res = SWIG_AsVal_double(argv[1], NULL__null);
31259 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
31260 }
31261 if (_v) {
31262 {
31263 int res = SWIG_AsVal_double(argv[2], NULL__null);
31264 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
31265 }
31266 if (_v) {
31267 {
31268 int res = SWIG_AsVal_double(argv[3], NULL__null);
31269 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
31270 }
31271 if (_v) {
31272 {
31273 int res = SWIG_AsVal_double(argv[4], NULL__null);
31274 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
31275 }
31276 if (_v) {
31277 {
31278 int res = SWIG_AsVal_double(argv[5], NULL__null);
31279 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
31280 }
31281 if (_v) {
31282 {
31283 int res = SWIG_AsVal_double(argv[6], NULL__null);
31284 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
31285 }
31286 if (_v) {
31287 {
31288 int res = SWIG_AsVal_bool(argv[7], NULL__null);
31289 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
31290 }
31291 if (_v) {
31292 return _wrap_GCTAPsfVector___call____SWIG_0(self, args);
31293 }
31294 }
31295 }
31296 }
31297 }
31298 }
31299 }
31300 }
31301 }
31302
31303fail:
31304 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAPsfVector___call__'.\n"
31305 " Possible C/C++ prototypes are:\n"
31306 " GCTAPsfVector::operator ()(double const &,double const &,double const &,double const &,double const &,double const &,bool const &) const\n"
31307 " GCTAPsfVector::operator ()(double const &,double const &,double const &,double const &,double const &,double const &) const\n"
31308 " GCTAPsfVector::operator ()(double const &,double const &,double const &,double const &,double const &) const\n"
31309 " GCTAPsfVector::operator ()(double const &,double const &,double const &,double const &) const\n"
31310 " GCTAPsfVector::operator ()(double const &,double const &,double const &) const\n"
31311 " GCTAPsfVector::operator ()(double const &,double const &) const\n");
31312 return 0;
31313}
31314
31315
31316SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfVector_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31317 PyObject *resultobj = 0;
31318 GCTAPsfVector *arg1 = (GCTAPsfVector *) 0 ;
31319 void *argp1 = 0 ;
31320 int res1 = 0 ;
31321 PyObject * obj0 = 0 ;
31322
31323 if (!PyArg_ParseTuple(args,(char *)"O:GCTAPsfVector_clear",&obj0)) SWIG_failgoto fail;
31324 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfVector, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0 | 0, 0)
;
31325 if (!SWIG_IsOK(res1)(res1 >= 0)) {
31326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfVector_clear" "', argument " "1"" of type '" "GCTAPsfVector *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfVector_clear" "', argument "
"1"" of type '" "GCTAPsfVector *""'"); goto fail; } while(0)
;
31327 }
31328 arg1 = reinterpret_cast< GCTAPsfVector * >(argp1);
31329 {
31330 try {
31331 (arg1)->clear();
31332 }
31333 catch (const GException::out_of_range& e) {
31334 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
31335 }
31336 catch (const GExceptionHandler& e) {
31337 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31338 }
31339 catch (const std::exception& e) {
31340 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31341 }
31342 }
31343 resultobj = SWIG_Py_Void();
31344 return resultobj;
31345fail:
31346 return NULL__null;
31347}
31348
31349
31350SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfVector_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31351 PyObject *resultobj = 0;
31352 GCTAPsfVector *arg1 = (GCTAPsfVector *) 0 ;
31353 void *argp1 = 0 ;
31354 int res1 = 0 ;
31355 PyObject * obj0 = 0 ;
31356 GCTAPsfVector *result = 0 ;
31357
31358 if (!PyArg_ParseTuple(args,(char *)"O:GCTAPsfVector_clone",&obj0)) SWIG_failgoto fail;
31359 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfVector, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0 | 0, 0)
;
31360 if (!SWIG_IsOK(res1)(res1 >= 0)) {
31361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfVector_clone" "', argument " "1"" of type '" "GCTAPsfVector const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfVector_clone" "', argument "
"1"" of type '" "GCTAPsfVector const *""'"); goto fail; } while
(0)
;
31362 }
31363 arg1 = reinterpret_cast< GCTAPsfVector * >(argp1);
31364 {
31365 try {
31366 result = (GCTAPsfVector *)((GCTAPsfVector const *)arg1)->clone();
31367 }
31368 catch (const GException::out_of_range& e) {
31369 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
31370 }
31371 catch (const GExceptionHandler& e) {
31372 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31373 }
31374 catch (const std::exception& e) {
31375 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31376 }
31377 }
31378 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAPsfVector, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[27], 0
| 0)
;
31379 return resultobj;
31380fail:
31381 return NULL__null;
31382}
31383
31384
31385SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfVector_load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31386 PyObject *resultobj = 0;
31387 GCTAPsfVector *arg1 = (GCTAPsfVector *) 0 ;
31388 std::string *arg2 = 0 ;
31389 void *argp1 = 0 ;
31390 int res1 = 0 ;
31391 int res2 = SWIG_OLDOBJ((0)) ;
31392 PyObject * obj0 = 0 ;
31393 PyObject * obj1 = 0 ;
31394
31395 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAPsfVector_load",&obj0,&obj1)) SWIG_failgoto fail;
31396 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfVector, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0 | 0, 0)
;
31397 if (!SWIG_IsOK(res1)(res1 >= 0)) {
31398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfVector_load" "', argument " "1"" of type '" "GCTAPsfVector *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfVector_load" "', argument "
"1"" of type '" "GCTAPsfVector *""'"); goto fail; } while(0)
;
31399 }
31400 arg1 = reinterpret_cast< GCTAPsfVector * >(argp1);
31401 {
31402 std::string *ptr = (std::string *)0;
31403 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
31404 if (!SWIG_IsOK(res2)(res2 >= 0)) {
31405 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAPsfVector_load" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAPsfVector_load" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
31406 }
31407 if (!ptr) {
31408 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAPsfVector_load" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAPsfVector_load" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
31409 }
31410 arg2 = ptr;
31411 }
31412 {
31413 try {
31414 (arg1)->load((std::string const &)*arg2);
31415 }
31416 catch (const GException::out_of_range& e) {
31417 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
31418 }
31419 catch (const GExceptionHandler& e) {
31420 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31421 }
31422 catch (const std::exception& e) {
31423 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31424 }
31425 }
31426 resultobj = SWIG_Py_Void();
31427 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
31428 return resultobj;
31429fail:
31430 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
31431 return NULL__null;
31432}
31433
31434
31435SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfVector_filename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31436 PyObject *resultobj = 0;
31437 GCTAPsfVector *arg1 = (GCTAPsfVector *) 0 ;
31438 void *argp1 = 0 ;
31439 int res1 = 0 ;
31440 PyObject * obj0 = 0 ;
31441 std::string result;
31442
31443 if (!PyArg_ParseTuple(args,(char *)"O:GCTAPsfVector_filename",&obj0)) SWIG_failgoto fail;
31444 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfVector, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0 | 0, 0)
;
31445 if (!SWIG_IsOK(res1)(res1 >= 0)) {
31446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfVector_filename" "', argument " "1"" of type '" "GCTAPsfVector const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfVector_filename" "', argument "
"1"" of type '" "GCTAPsfVector const *""'"); goto fail; } while
(0)
;
31447 }
31448 arg1 = reinterpret_cast< GCTAPsfVector * >(argp1);
31449 {
31450 try {
31451 result = ((GCTAPsfVector const *)arg1)->filename();
31452 }
31453 catch (const GException::out_of_range& e) {
31454 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
31455 }
31456 catch (const GExceptionHandler& e) {
31457 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31458 }
31459 catch (const std::exception& e) {
31460 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31461 }
31462 }
31463 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
31464 return resultobj;
31465fail:
31466 return NULL__null;
31467}
31468
31469
31470SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfVector_mc__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31471 PyObject *resultobj = 0;
31472 GCTAPsfVector *arg1 = (GCTAPsfVector *) 0 ;
31473 GRan *arg2 = 0 ;
31474 double *arg3 = 0 ;
31475 double *arg4 = 0 ;
31476 double *arg5 = 0 ;
31477 double *arg6 = 0 ;
31478 double *arg7 = 0 ;
31479 bool *arg8 = 0 ;
31480 void *argp1 = 0 ;
31481 int res1 = 0 ;
31482 void *argp2 = 0 ;
31483 int res2 = 0 ;
31484 double temp3 ;
31485 double val3 ;
31486 int ecode3 = 0 ;
31487 double temp4 ;
31488 double val4 ;
31489 int ecode4 = 0 ;
31490 double temp5 ;
31491 double val5 ;
31492 int ecode5 = 0 ;
31493 double temp6 ;
31494 double val6 ;
31495 int ecode6 = 0 ;
31496 double temp7 ;
31497 double val7 ;
31498 int ecode7 = 0 ;
31499 bool temp8 ;
31500 bool val8 ;
31501 int ecode8 = 0 ;
31502 PyObject * obj0 = 0 ;
31503 PyObject * obj1 = 0 ;
31504 PyObject * obj2 = 0 ;
31505 PyObject * obj3 = 0 ;
31506 PyObject * obj4 = 0 ;
31507 PyObject * obj5 = 0 ;
31508 PyObject * obj6 = 0 ;
31509 PyObject * obj7 = 0 ;
31510 double result;
31511
31512 if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:GCTAPsfVector_mc",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_failgoto fail;
31513 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfVector, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0 | 0, 0)
;
31514 if (!SWIG_IsOK(res1)(res1 >= 0)) {
31515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfVector_mc" "', argument " "1"" of type '" "GCTAPsfVector const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfVector_mc" "', argument "
"1"" of type '" "GCTAPsfVector const *""'"); goto fail; } while
(0)
;
31516 }
31517 arg1 = reinterpret_cast< GCTAPsfVector * >(argp1);
31518 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GRan, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[55]
, 0, 0)
;
31519 if (!SWIG_IsOK(res2)(res2 >= 0)) {
31520 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAPsfVector_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAPsfVector_mc" "', argument "
"2"" of type '" "GRan &""'"); goto fail; } while(0)
;
31521 }
31522 if (!argp2) {
31523 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAPsfVector_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAPsfVector_mc" "', argument " "2"" of type '"
"GRan &""'"); goto fail; } while(0)
;
31524 }
31525 arg2 = reinterpret_cast< GRan * >(argp2);
31526 ecode3 = SWIG_AsVal_double(obj2, &val3);
31527 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
31528 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfVector_mc" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfVector_mc" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
31529 }
31530 temp3 = static_cast< double >(val3);
31531 arg3 = &temp3;
31532 ecode4 = SWIG_AsVal_double(obj3, &val4);
31533 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
31534 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsfVector_mc" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsfVector_mc" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
31535 }
31536 temp4 = static_cast< double >(val4);
31537 arg4 = &temp4;
31538 ecode5 = SWIG_AsVal_double(obj4, &val5);
31539 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
31540 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsfVector_mc" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsfVector_mc" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
31541 }
31542 temp5 = static_cast< double >(val5);
31543 arg5 = &temp5;
31544 ecode6 = SWIG_AsVal_double(obj5, &val6);
31545 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
31546 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAPsfVector_mc" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAPsfVector_mc" "', argument "
"6"" of type '" "double""'"); goto fail; } while(0)
;
31547 }
31548 temp6 = static_cast< double >(val6);
31549 arg6 = &temp6;
31550 ecode7 = SWIG_AsVal_double(obj6, &val7);
31551 if (!SWIG_IsOK(ecode7)(ecode7 >= 0)) {
31552 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GCTAPsfVector_mc" "', argument " "7"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode7 !=
(-1)) ? ecode7 : -5)), "in method '" "GCTAPsfVector_mc" "', argument "
"7"" of type '" "double""'"); goto fail; } while(0)
;
31553 }
31554 temp7 = static_cast< double >(val7);
31555 arg7 = &temp7;
31556 ecode8 = SWIG_AsVal_bool(obj7, &val8);
31557 if (!SWIG_IsOK(ecode8)(ecode8 >= 0)) {
31558 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "GCTAPsfVector_mc" "', argument " "8"" of type '" "bool""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode8 !=
(-1)) ? ecode8 : -5)), "in method '" "GCTAPsfVector_mc" "', argument "
"8"" of type '" "bool""'"); goto fail; } while(0)
;
31559 }
31560 temp8 = static_cast< bool >(val8);
31561 arg8 = &temp8;
31562 {
31563 try {
31564 result = (double)((GCTAPsfVector const *)arg1)->mc(*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6,(double const &)*arg7,(bool const &)*arg8);
31565 }
31566 catch (const GException::out_of_range& e) {
31567 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
31568 }
31569 catch (const GExceptionHandler& e) {
31570 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31571 }
31572 catch (const std::exception& e) {
31573 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31574 }
31575 }
31576 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
31577 return resultobj;
31578fail:
31579 return NULL__null;
31580}
31581
31582
31583SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfVector_mc__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31584 PyObject *resultobj = 0;
31585 GCTAPsfVector *arg1 = (GCTAPsfVector *) 0 ;
31586 GRan *arg2 = 0 ;
31587 double *arg3 = 0 ;
31588 double *arg4 = 0 ;
31589 double *arg5 = 0 ;
31590 double *arg6 = 0 ;
31591 double *arg7 = 0 ;
31592 void *argp1 = 0 ;
31593 int res1 = 0 ;
31594 void *argp2 = 0 ;
31595 int res2 = 0 ;
31596 double temp3 ;
31597 double val3 ;
31598 int ecode3 = 0 ;
31599 double temp4 ;
31600 double val4 ;
31601 int ecode4 = 0 ;
31602 double temp5 ;
31603 double val5 ;
31604 int ecode5 = 0 ;
31605 double temp6 ;
31606 double val6 ;
31607 int ecode6 = 0 ;
31608 double temp7 ;
31609 double val7 ;
31610 int ecode7 = 0 ;
31611 PyObject * obj0 = 0 ;
31612 PyObject * obj1 = 0 ;
31613 PyObject * obj2 = 0 ;
31614 PyObject * obj3 = 0 ;
31615 PyObject * obj4 = 0 ;
31616 PyObject * obj5 = 0 ;
31617 PyObject * obj6 = 0 ;
31618 double result;
31619
31620 if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:GCTAPsfVector_mc",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_failgoto fail;
31621 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfVector, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0 | 0, 0)
;
31622 if (!SWIG_IsOK(res1)(res1 >= 0)) {
31623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfVector_mc" "', argument " "1"" of type '" "GCTAPsfVector const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfVector_mc" "', argument "
"1"" of type '" "GCTAPsfVector const *""'"); goto fail; } while
(0)
;
31624 }
31625 arg1 = reinterpret_cast< GCTAPsfVector * >(argp1);
31626 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GRan, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[55]
, 0, 0)
;
31627 if (!SWIG_IsOK(res2)(res2 >= 0)) {
31628 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAPsfVector_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAPsfVector_mc" "', argument "
"2"" of type '" "GRan &""'"); goto fail; } while(0)
;
31629 }
31630 if (!argp2) {
31631 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAPsfVector_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAPsfVector_mc" "', argument " "2"" of type '"
"GRan &""'"); goto fail; } while(0)
;
31632 }
31633 arg2 = reinterpret_cast< GRan * >(argp2);
31634 ecode3 = SWIG_AsVal_double(obj2, &val3);
31635 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
31636 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfVector_mc" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfVector_mc" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
31637 }
31638 temp3 = static_cast< double >(val3);
31639 arg3 = &temp3;
31640 ecode4 = SWIG_AsVal_double(obj3, &val4);
31641 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
31642 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsfVector_mc" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsfVector_mc" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
31643 }
31644 temp4 = static_cast< double >(val4);
31645 arg4 = &temp4;
31646 ecode5 = SWIG_AsVal_double(obj4, &val5);
31647 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
31648 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsfVector_mc" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsfVector_mc" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
31649 }
31650 temp5 = static_cast< double >(val5);
31651 arg5 = &temp5;
31652 ecode6 = SWIG_AsVal_double(obj5, &val6);
31653 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
31654 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAPsfVector_mc" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAPsfVector_mc" "', argument "
"6"" of type '" "double""'"); goto fail; } while(0)
;
31655 }
31656 temp6 = static_cast< double >(val6);
31657 arg6 = &temp6;
31658 ecode7 = SWIG_AsVal_double(obj6, &val7);
31659 if (!SWIG_IsOK(ecode7)(ecode7 >= 0)) {
31660 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GCTAPsfVector_mc" "', argument " "7"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode7 !=
(-1)) ? ecode7 : -5)), "in method '" "GCTAPsfVector_mc" "', argument "
"7"" of type '" "double""'"); goto fail; } while(0)
;
31661 }
31662 temp7 = static_cast< double >(val7);
31663 arg7 = &temp7;
31664 {
31665 try {
31666 result = (double)((GCTAPsfVector const *)arg1)->mc(*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6,(double const &)*arg7);
31667 }
31668 catch (const GException::out_of_range& e) {
31669 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
31670 }
31671 catch (const GExceptionHandler& e) {
31672 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31673 }
31674 catch (const std::exception& e) {
31675 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31676 }
31677 }
31678 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
31679 return resultobj;
31680fail:
31681 return NULL__null;
31682}
31683
31684
31685SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfVector_mc__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31686 PyObject *resultobj = 0;
31687 GCTAPsfVector *arg1 = (GCTAPsfVector *) 0 ;
31688 GRan *arg2 = 0 ;
31689 double *arg3 = 0 ;
31690 double *arg4 = 0 ;
31691 double *arg5 = 0 ;
31692 double *arg6 = 0 ;
31693 void *argp1 = 0 ;
31694 int res1 = 0 ;
31695 void *argp2 = 0 ;
31696 int res2 = 0 ;
31697 double temp3 ;
31698 double val3 ;
31699 int ecode3 = 0 ;
31700 double temp4 ;
31701 double val4 ;
31702 int ecode4 = 0 ;
31703 double temp5 ;
31704 double val5 ;
31705 int ecode5 = 0 ;
31706 double temp6 ;
31707 double val6 ;
31708 int ecode6 = 0 ;
31709 PyObject * obj0 = 0 ;
31710 PyObject * obj1 = 0 ;
31711 PyObject * obj2 = 0 ;
31712 PyObject * obj3 = 0 ;
31713 PyObject * obj4 = 0 ;
31714 PyObject * obj5 = 0 ;
31715 double result;
31716
31717 if (!PyArg_ParseTuple(args,(char *)"OOOOOO:GCTAPsfVector_mc",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_failgoto fail;
31718 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfVector, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0 | 0, 0)
;
31719 if (!SWIG_IsOK(res1)(res1 >= 0)) {
31720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfVector_mc" "', argument " "1"" of type '" "GCTAPsfVector const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfVector_mc" "', argument "
"1"" of type '" "GCTAPsfVector const *""'"); goto fail; } while
(0)
;
31721 }
31722 arg1 = reinterpret_cast< GCTAPsfVector * >(argp1);
31723 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GRan, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[55]
, 0, 0)
;
31724 if (!SWIG_IsOK(res2)(res2 >= 0)) {
31725 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAPsfVector_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAPsfVector_mc" "', argument "
"2"" of type '" "GRan &""'"); goto fail; } while(0)
;
31726 }
31727 if (!argp2) {
31728 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAPsfVector_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAPsfVector_mc" "', argument " "2"" of type '"
"GRan &""'"); goto fail; } while(0)
;
31729 }
31730 arg2 = reinterpret_cast< GRan * >(argp2);
31731 ecode3 = SWIG_AsVal_double(obj2, &val3);
31732 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
31733 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfVector_mc" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfVector_mc" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
31734 }
31735 temp3 = static_cast< double >(val3);
31736 arg3 = &temp3;
31737 ecode4 = SWIG_AsVal_double(obj3, &val4);
31738 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
31739 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsfVector_mc" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsfVector_mc" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
31740 }
31741 temp4 = static_cast< double >(val4);
31742 arg4 = &temp4;
31743 ecode5 = SWIG_AsVal_double(obj4, &val5);
31744 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
31745 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsfVector_mc" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsfVector_mc" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
31746 }
31747 temp5 = static_cast< double >(val5);
31748 arg5 = &temp5;
31749 ecode6 = SWIG_AsVal_double(obj5, &val6);
31750 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
31751 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAPsfVector_mc" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAPsfVector_mc" "', argument "
"6"" of type '" "double""'"); goto fail; } while(0)
;
31752 }
31753 temp6 = static_cast< double >(val6);
31754 arg6 = &temp6;
31755 {
31756 try {
31757 result = (double)((GCTAPsfVector const *)arg1)->mc(*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6);
31758 }
31759 catch (const GException::out_of_range& e) {
31760 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
31761 }
31762 catch (const GExceptionHandler& e) {
31763 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31764 }
31765 catch (const std::exception& e) {
31766 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31767 }
31768 }
31769 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
31770 return resultobj;
31771fail:
31772 return NULL__null;
31773}
31774
31775
31776SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfVector_mc__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31777 PyObject *resultobj = 0;
31778 GCTAPsfVector *arg1 = (GCTAPsfVector *) 0 ;
31779 GRan *arg2 = 0 ;
31780 double *arg3 = 0 ;
31781 double *arg4 = 0 ;
31782 double *arg5 = 0 ;
31783 void *argp1 = 0 ;
31784 int res1 = 0 ;
31785 void *argp2 = 0 ;
31786 int res2 = 0 ;
31787 double temp3 ;
31788 double val3 ;
31789 int ecode3 = 0 ;
31790 double temp4 ;
31791 double val4 ;
31792 int ecode4 = 0 ;
31793 double temp5 ;
31794 double val5 ;
31795 int ecode5 = 0 ;
31796 PyObject * obj0 = 0 ;
31797 PyObject * obj1 = 0 ;
31798 PyObject * obj2 = 0 ;
31799 PyObject * obj3 = 0 ;
31800 PyObject * obj4 = 0 ;
31801 double result;
31802
31803 if (!PyArg_ParseTuple(args,(char *)"OOOOO:GCTAPsfVector_mc",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_failgoto fail;
31804 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfVector, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0 | 0, 0)
;
31805 if (!SWIG_IsOK(res1)(res1 >= 0)) {
31806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfVector_mc" "', argument " "1"" of type '" "GCTAPsfVector const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfVector_mc" "', argument "
"1"" of type '" "GCTAPsfVector const *""'"); goto fail; } while
(0)
;
31807 }
31808 arg1 = reinterpret_cast< GCTAPsfVector * >(argp1);
31809 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GRan, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[55]
, 0, 0)
;
31810 if (!SWIG_IsOK(res2)(res2 >= 0)) {
31811 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAPsfVector_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAPsfVector_mc" "', argument "
"2"" of type '" "GRan &""'"); goto fail; } while(0)
;
31812 }
31813 if (!argp2) {
31814 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAPsfVector_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAPsfVector_mc" "', argument " "2"" of type '"
"GRan &""'"); goto fail; } while(0)
;
31815 }
31816 arg2 = reinterpret_cast< GRan * >(argp2);
31817 ecode3 = SWIG_AsVal_double(obj2, &val3);
31818 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
31819 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfVector_mc" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfVector_mc" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
31820 }
31821 temp3 = static_cast< double >(val3);
31822 arg3 = &temp3;
31823 ecode4 = SWIG_AsVal_double(obj3, &val4);
31824 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
31825 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsfVector_mc" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsfVector_mc" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
31826 }
31827 temp4 = static_cast< double >(val4);
31828 arg4 = &temp4;
31829 ecode5 = SWIG_AsVal_double(obj4, &val5);
31830 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
31831 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsfVector_mc" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsfVector_mc" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
31832 }
31833 temp5 = static_cast< double >(val5);
31834 arg5 = &temp5;
31835 {
31836 try {
31837 result = (double)((GCTAPsfVector const *)arg1)->mc(*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5);
31838 }
31839 catch (const GException::out_of_range& e) {
31840 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
31841 }
31842 catch (const GExceptionHandler& e) {
31843 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31844 }
31845 catch (const std::exception& e) {
31846 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31847 }
31848 }
31849 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
31850 return resultobj;
31851fail:
31852 return NULL__null;
31853}
31854
31855
31856SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfVector_mc__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31857 PyObject *resultobj = 0;
31858 GCTAPsfVector *arg1 = (GCTAPsfVector *) 0 ;
31859 GRan *arg2 = 0 ;
31860 double *arg3 = 0 ;
31861 double *arg4 = 0 ;
31862 void *argp1 = 0 ;
31863 int res1 = 0 ;
31864 void *argp2 = 0 ;
31865 int res2 = 0 ;
31866 double temp3 ;
31867 double val3 ;
31868 int ecode3 = 0 ;
31869 double temp4 ;
31870 double val4 ;
31871 int ecode4 = 0 ;
31872 PyObject * obj0 = 0 ;
31873 PyObject * obj1 = 0 ;
31874 PyObject * obj2 = 0 ;
31875 PyObject * obj3 = 0 ;
31876 double result;
31877
31878 if (!PyArg_ParseTuple(args,(char *)"OOOO:GCTAPsfVector_mc",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
31879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfVector, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0 | 0, 0)
;
31880 if (!SWIG_IsOK(res1)(res1 >= 0)) {
31881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfVector_mc" "', argument " "1"" of type '" "GCTAPsfVector const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfVector_mc" "', argument "
"1"" of type '" "GCTAPsfVector const *""'"); goto fail; } while
(0)
;
31882 }
31883 arg1 = reinterpret_cast< GCTAPsfVector * >(argp1);
31884 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GRan, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[55]
, 0, 0)
;
31885 if (!SWIG_IsOK(res2)(res2 >= 0)) {
31886 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAPsfVector_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAPsfVector_mc" "', argument "
"2"" of type '" "GRan &""'"); goto fail; } while(0)
;
31887 }
31888 if (!argp2) {
31889 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAPsfVector_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAPsfVector_mc" "', argument " "2"" of type '"
"GRan &""'"); goto fail; } while(0)
;
31890 }
31891 arg2 = reinterpret_cast< GRan * >(argp2);
31892 ecode3 = SWIG_AsVal_double(obj2, &val3);
31893 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
31894 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfVector_mc" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfVector_mc" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
31895 }
31896 temp3 = static_cast< double >(val3);
31897 arg3 = &temp3;
31898 ecode4 = SWIG_AsVal_double(obj3, &val4);
31899 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
31900 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsfVector_mc" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsfVector_mc" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
31901 }
31902 temp4 = static_cast< double >(val4);
31903 arg4 = &temp4;
31904 {
31905 try {
31906 result = (double)((GCTAPsfVector const *)arg1)->mc(*arg2,(double const &)*arg3,(double const &)*arg4);
31907 }
31908 catch (const GException::out_of_range& e) {
31909 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
31910 }
31911 catch (const GExceptionHandler& e) {
31912 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31913 }
31914 catch (const std::exception& e) {
31915 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31916 }
31917 }
31918 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
31919 return resultobj;
31920fail:
31921 return NULL__null;
31922}
31923
31924
31925SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfVector_mc__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31926 PyObject *resultobj = 0;
31927 GCTAPsfVector *arg1 = (GCTAPsfVector *) 0 ;
31928 GRan *arg2 = 0 ;
31929 double *arg3 = 0 ;
31930 void *argp1 = 0 ;
31931 int res1 = 0 ;
31932 void *argp2 = 0 ;
31933 int res2 = 0 ;
31934 double temp3 ;
31935 double val3 ;
31936 int ecode3 = 0 ;
31937 PyObject * obj0 = 0 ;
31938 PyObject * obj1 = 0 ;
31939 PyObject * obj2 = 0 ;
31940 double result;
31941
31942 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAPsfVector_mc",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
31943 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfVector, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0 | 0, 0)
;
31944 if (!SWIG_IsOK(res1)(res1 >= 0)) {
31945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfVector_mc" "', argument " "1"" of type '" "GCTAPsfVector const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfVector_mc" "', argument "
"1"" of type '" "GCTAPsfVector const *""'"); goto fail; } while
(0)
;
31946 }
31947 arg1 = reinterpret_cast< GCTAPsfVector * >(argp1);
31948 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GRan, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[55]
, 0, 0)
;
31949 if (!SWIG_IsOK(res2)(res2 >= 0)) {
31950 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAPsfVector_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAPsfVector_mc" "', argument "
"2"" of type '" "GRan &""'"); goto fail; } while(0)
;
31951 }
31952 if (!argp2) {
31953 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAPsfVector_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAPsfVector_mc" "', argument " "2"" of type '"
"GRan &""'"); goto fail; } while(0)
;
31954 }
31955 arg2 = reinterpret_cast< GRan * >(argp2);
31956 ecode3 = SWIG_AsVal_double(obj2, &val3);
31957 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
31958 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfVector_mc" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfVector_mc" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
31959 }
31960 temp3 = static_cast< double >(val3);
31961 arg3 = &temp3;
31962 {
31963 try {
31964 result = (double)((GCTAPsfVector const *)arg1)->mc(*arg2,(double const &)*arg3);
31965 }
31966 catch (const GException::out_of_range& e) {
31967 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
31968 }
31969 catch (const GExceptionHandler& e) {
31970 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31971 }
31972 catch (const std::exception& e) {
31973 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31974 }
31975 }
31976 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
31977 return resultobj;
31978fail:
31979 return NULL__null;
31980}
31981
31982
31983SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfVector_mc(PyObject *self, PyObject *args) {
31984 int argc;
31985 PyObject *argv[9];
31986 int ii;
31987
31988 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
31989 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
31990 for (ii = 0; (ii < 8) && (ii < argc); ii++) {
31991 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
31992 }
31993 if (argc == 3) {
31994 int _v;
31995 void *vptr = 0;
31996 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfVector, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[27
], 0, 0)
;
31997 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
31998 if (_v) {
31999 void *vptr = 0;
32000 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_GRan, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[55
], 0, 0)
;
32001 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32002 if (_v) {
32003 {
32004 int res = SWIG_AsVal_double(argv[2], NULL__null);
32005 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32006 }
32007 if (_v) {
32008 return _wrap_GCTAPsfVector_mc__SWIG_5(self, args);
32009 }
32010 }
32011 }
32012 }
32013 if (argc == 4) {
32014 int _v;
32015 void *vptr = 0;
32016 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfVector, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[27
], 0, 0)
;
32017 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32018 if (_v) {
32019 void *vptr = 0;
32020 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_GRan, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[55
], 0, 0)
;
32021 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32022 if (_v) {
32023 {
32024 int res = SWIG_AsVal_double(argv[2], NULL__null);
32025 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32026 }
32027 if (_v) {
32028 {
32029 int res = SWIG_AsVal_double(argv[3], NULL__null);
32030 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32031 }
32032 if (_v) {
32033 return _wrap_GCTAPsfVector_mc__SWIG_4(self, args);
32034 }
32035 }
32036 }
32037 }
32038 }
32039 if (argc == 5) {
32040 int _v;
32041 void *vptr = 0;
32042 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfVector, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[27
], 0, 0)
;
32043 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32044 if (_v) {
32045 void *vptr = 0;
32046 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_GRan, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[55
], 0, 0)
;
32047 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32048 if (_v) {
32049 {
32050 int res = SWIG_AsVal_double(argv[2], NULL__null);
32051 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32052 }
32053 if (_v) {
32054 {
32055 int res = SWIG_AsVal_double(argv[3], NULL__null);
32056 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32057 }
32058 if (_v) {
32059 {
32060 int res = SWIG_AsVal_double(argv[4], NULL__null);
32061 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32062 }
32063 if (_v) {
32064 return _wrap_GCTAPsfVector_mc__SWIG_3(self, args);
32065 }
32066 }
32067 }
32068 }
32069 }
32070 }
32071 if (argc == 6) {
32072 int _v;
32073 void *vptr = 0;
32074 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfVector, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[27
], 0, 0)
;
32075 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32076 if (_v) {
32077 void *vptr = 0;
32078 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_GRan, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[55
], 0, 0)
;
32079 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32080 if (_v) {
32081 {
32082 int res = SWIG_AsVal_double(argv[2], NULL__null);
32083 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32084 }
32085 if (_v) {
32086 {
32087 int res = SWIG_AsVal_double(argv[3], NULL__null);
32088 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32089 }
32090 if (_v) {
32091 {
32092 int res = SWIG_AsVal_double(argv[4], NULL__null);
32093 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32094 }
32095 if (_v) {
32096 {
32097 int res = SWIG_AsVal_double(argv[5], NULL__null);
32098 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32099 }
32100 if (_v) {
32101 return _wrap_GCTAPsfVector_mc__SWIG_2(self, args);
32102 }
32103 }
32104 }
32105 }
32106 }
32107 }
32108 }
32109 if (argc == 7) {
32110 int _v;
32111 void *vptr = 0;
32112 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfVector, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[27
], 0, 0)
;
32113 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32114 if (_v) {
32115 void *vptr = 0;
32116 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_GRan, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[55
], 0, 0)
;
32117 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32118 if (_v) {
32119 {
32120 int res = SWIG_AsVal_double(argv[2], NULL__null);
32121 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32122 }
32123 if (_v) {
32124 {
32125 int res = SWIG_AsVal_double(argv[3], NULL__null);
32126 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32127 }
32128 if (_v) {
32129 {
32130 int res = SWIG_AsVal_double(argv[4], NULL__null);
32131 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32132 }
32133 if (_v) {
32134 {
32135 int res = SWIG_AsVal_double(argv[5], NULL__null);
32136 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32137 }
32138 if (_v) {
32139 {
32140 int res = SWIG_AsVal_double(argv[6], NULL__null);
32141 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32142 }
32143 if (_v) {
32144 return _wrap_GCTAPsfVector_mc__SWIG_1(self, args);
32145 }
32146 }
32147 }
32148 }
32149 }
32150 }
32151 }
32152 }
32153 if (argc == 8) {
32154 int _v;
32155 void *vptr = 0;
32156 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfVector, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[27
], 0, 0)
;
32157 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32158 if (_v) {
32159 void *vptr = 0;
32160 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_GRan, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[55
], 0, 0)
;
32161 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32162 if (_v) {
32163 {
32164 int res = SWIG_AsVal_double(argv[2], NULL__null);
32165 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32166 }
32167 if (_v) {
32168 {
32169 int res = SWIG_AsVal_double(argv[3], NULL__null);
32170 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32171 }
32172 if (_v) {
32173 {
32174 int res = SWIG_AsVal_double(argv[4], NULL__null);
32175 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32176 }
32177 if (_v) {
32178 {
32179 int res = SWIG_AsVal_double(argv[5], NULL__null);
32180 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32181 }
32182 if (_v) {
32183 {
32184 int res = SWIG_AsVal_double(argv[6], NULL__null);
32185 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32186 }
32187 if (_v) {
32188 {
32189 int res = SWIG_AsVal_bool(argv[7], NULL__null);
32190 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32191 }
32192 if (_v) {
32193 return _wrap_GCTAPsfVector_mc__SWIG_0(self, args);
32194 }
32195 }
32196 }
32197 }
32198 }
32199 }
32200 }
32201 }
32202 }
32203
32204fail:
32205 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAPsfVector_mc'.\n"
32206 " Possible C/C++ prototypes are:\n"
32207 " GCTAPsfVector::mc(GRan &,double const &,double const &,double const &,double const &,double const &,bool const &) const\n"
32208 " GCTAPsfVector::mc(GRan &,double const &,double const &,double const &,double const &,double const &) const\n"
32209 " GCTAPsfVector::mc(GRan &,double const &,double const &,double const &,double const &) const\n"
32210 " GCTAPsfVector::mc(GRan &,double const &,double const &,double const &) const\n"
32211 " GCTAPsfVector::mc(GRan &,double const &,double const &) const\n"
32212 " GCTAPsfVector::mc(GRan &,double const &) const\n");
32213 return 0;
32214}
32215
32216
32217SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfVector_delta_max__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32218 PyObject *resultobj = 0;
32219 GCTAPsfVector *arg1 = (GCTAPsfVector *) 0 ;
32220 double *arg2 = 0 ;
32221 double *arg3 = 0 ;
32222 double *arg4 = 0 ;
32223 double *arg5 = 0 ;
32224 double *arg6 = 0 ;
32225 bool *arg7 = 0 ;
32226 void *argp1 = 0 ;
32227 int res1 = 0 ;
32228 double temp2 ;
32229 double val2 ;
32230 int ecode2 = 0 ;
32231 double temp3 ;
32232 double val3 ;
32233 int ecode3 = 0 ;
32234 double temp4 ;
32235 double val4 ;
32236 int ecode4 = 0 ;
32237 double temp5 ;
32238 double val5 ;
32239 int ecode5 = 0 ;
32240 double temp6 ;
32241 double val6 ;
32242 int ecode6 = 0 ;
32243 bool temp7 ;
32244 bool val7 ;
32245 int ecode7 = 0 ;
32246 PyObject * obj0 = 0 ;
32247 PyObject * obj1 = 0 ;
32248 PyObject * obj2 = 0 ;
32249 PyObject * obj3 = 0 ;
32250 PyObject * obj4 = 0 ;
32251 PyObject * obj5 = 0 ;
32252 PyObject * obj6 = 0 ;
32253 double result;
32254
32255 if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:GCTAPsfVector_delta_max",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_failgoto fail;
32256 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfVector, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0 | 0, 0)
;
32257 if (!SWIG_IsOK(res1)(res1 >= 0)) {
32258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfVector_delta_max" "', argument " "1"" of type '" "GCTAPsfVector const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfVector_delta_max" "', argument "
"1"" of type '" "GCTAPsfVector const *""'"); goto fail; } while
(0)
;
32259 }
32260 arg1 = reinterpret_cast< GCTAPsfVector * >(argp1);
32261 ecode2 = SWIG_AsVal_double(obj1, &val2);
32262 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
32263 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsfVector_delta_max" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsfVector_delta_max"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
32264 }
32265 temp2 = static_cast< double >(val2);
32266 arg2 = &temp2;
32267 ecode3 = SWIG_AsVal_double(obj2, &val3);
32268 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
32269 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfVector_delta_max" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfVector_delta_max"
"', argument " "3"" of type '" "double""'"); goto fail; } while
(0)
;
32270 }
32271 temp3 = static_cast< double >(val3);
32272 arg3 = &temp3;
32273 ecode4 = SWIG_AsVal_double(obj3, &val4);
32274 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
32275 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsfVector_delta_max" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsfVector_delta_max"
"', argument " "4"" of type '" "double""'"); goto fail; } while
(0)
;
32276 }
32277 temp4 = static_cast< double >(val4);
32278 arg4 = &temp4;
32279 ecode5 = SWIG_AsVal_double(obj4, &val5);
32280 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
32281 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsfVector_delta_max" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsfVector_delta_max"
"', argument " "5"" of type '" "double""'"); goto fail; } while
(0)
;
32282 }
32283 temp5 = static_cast< double >(val5);
32284 arg5 = &temp5;
32285 ecode6 = SWIG_AsVal_double(obj5, &val6);
32286 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
32287 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAPsfVector_delta_max" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAPsfVector_delta_max"
"', argument " "6"" of type '" "double""'"); goto fail; } while
(0)
;
32288 }
32289 temp6 = static_cast< double >(val6);
32290 arg6 = &temp6;
32291 ecode7 = SWIG_AsVal_bool(obj6, &val7);
32292 if (!SWIG_IsOK(ecode7)(ecode7 >= 0)) {
32293 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GCTAPsfVector_delta_max" "', argument " "7"" of type '" "bool""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode7 !=
(-1)) ? ecode7 : -5)), "in method '" "GCTAPsfVector_delta_max"
"', argument " "7"" of type '" "bool""'"); goto fail; } while
(0)
;
32294 }
32295 temp7 = static_cast< bool >(val7);
32296 arg7 = &temp7;
32297 {
32298 try {
32299 result = (double)((GCTAPsfVector const *)arg1)->delta_max((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6,(bool const &)*arg7);
32300 }
32301 catch (const GException::out_of_range& e) {
32302 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
32303 }
32304 catch (const GExceptionHandler& e) {
32305 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32306 }
32307 catch (const std::exception& e) {
32308 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32309 }
32310 }
32311 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
32312 return resultobj;
32313fail:
32314 return NULL__null;
32315}
32316
32317
32318SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfVector_delta_max__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32319 PyObject *resultobj = 0;
32320 GCTAPsfVector *arg1 = (GCTAPsfVector *) 0 ;
32321 double *arg2 = 0 ;
32322 double *arg3 = 0 ;
32323 double *arg4 = 0 ;
32324 double *arg5 = 0 ;
32325 double *arg6 = 0 ;
32326 void *argp1 = 0 ;
32327 int res1 = 0 ;
32328 double temp2 ;
32329 double val2 ;
32330 int ecode2 = 0 ;
32331 double temp3 ;
32332 double val3 ;
32333 int ecode3 = 0 ;
32334 double temp4 ;
32335 double val4 ;
32336 int ecode4 = 0 ;
32337 double temp5 ;
32338 double val5 ;
32339 int ecode5 = 0 ;
32340 double temp6 ;
32341 double val6 ;
32342 int ecode6 = 0 ;
32343 PyObject * obj0 = 0 ;
32344 PyObject * obj1 = 0 ;
32345 PyObject * obj2 = 0 ;
32346 PyObject * obj3 = 0 ;
32347 PyObject * obj4 = 0 ;
32348 PyObject * obj5 = 0 ;
32349 double result;
32350
32351 if (!PyArg_ParseTuple(args,(char *)"OOOOOO:GCTAPsfVector_delta_max",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_failgoto fail;
32352 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfVector, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0 | 0, 0)
;
32353 if (!SWIG_IsOK(res1)(res1 >= 0)) {
32354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfVector_delta_max" "', argument " "1"" of type '" "GCTAPsfVector const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfVector_delta_max" "', argument "
"1"" of type '" "GCTAPsfVector const *""'"); goto fail; } while
(0)
;
32355 }
32356 arg1 = reinterpret_cast< GCTAPsfVector * >(argp1);
32357 ecode2 = SWIG_AsVal_double(obj1, &val2);
32358 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
32359 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsfVector_delta_max" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsfVector_delta_max"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
32360 }
32361 temp2 = static_cast< double >(val2);
32362 arg2 = &temp2;
32363 ecode3 = SWIG_AsVal_double(obj2, &val3);
32364 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
32365 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfVector_delta_max" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfVector_delta_max"
"', argument " "3"" of type '" "double""'"); goto fail; } while
(0)
;
32366 }
32367 temp3 = static_cast< double >(val3);
32368 arg3 = &temp3;
32369 ecode4 = SWIG_AsVal_double(obj3, &val4);
32370 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
32371 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsfVector_delta_max" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsfVector_delta_max"
"', argument " "4"" of type '" "double""'"); goto fail; } while
(0)
;
32372 }
32373 temp4 = static_cast< double >(val4);
32374 arg4 = &temp4;
32375 ecode5 = SWIG_AsVal_double(obj4, &val5);
32376 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
32377 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsfVector_delta_max" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsfVector_delta_max"
"', argument " "5"" of type '" "double""'"); goto fail; } while
(0)
;
32378 }
32379 temp5 = static_cast< double >(val5);
32380 arg5 = &temp5;
32381 ecode6 = SWIG_AsVal_double(obj5, &val6);
32382 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
32383 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAPsfVector_delta_max" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAPsfVector_delta_max"
"', argument " "6"" of type '" "double""'"); goto fail; } while
(0)
;
32384 }
32385 temp6 = static_cast< double >(val6);
32386 arg6 = &temp6;
32387 {
32388 try {
32389 result = (double)((GCTAPsfVector const *)arg1)->delta_max((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6);
32390 }
32391 catch (const GException::out_of_range& e) {
32392 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
32393 }
32394 catch (const GExceptionHandler& e) {
32395 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32396 }
32397 catch (const std::exception& e) {
32398 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32399 }
32400 }
32401 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
32402 return resultobj;
32403fail:
32404 return NULL__null;
32405}
32406
32407
32408SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfVector_delta_max__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32409 PyObject *resultobj = 0;
32410 GCTAPsfVector *arg1 = (GCTAPsfVector *) 0 ;
32411 double *arg2 = 0 ;
32412 double *arg3 = 0 ;
32413 double *arg4 = 0 ;
32414 double *arg5 = 0 ;
32415 void *argp1 = 0 ;
32416 int res1 = 0 ;
32417 double temp2 ;
32418 double val2 ;
32419 int ecode2 = 0 ;
32420 double temp3 ;
32421 double val3 ;
32422 int ecode3 = 0 ;
32423 double temp4 ;
32424 double val4 ;
32425 int ecode4 = 0 ;
32426 double temp5 ;
32427 double val5 ;
32428 int ecode5 = 0 ;
32429 PyObject * obj0 = 0 ;
32430 PyObject * obj1 = 0 ;
32431 PyObject * obj2 = 0 ;
32432 PyObject * obj3 = 0 ;
32433 PyObject * obj4 = 0 ;
32434 double result;
32435
32436 if (!PyArg_ParseTuple(args,(char *)"OOOOO:GCTAPsfVector_delta_max",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_failgoto fail;
32437 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfVector, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0 | 0, 0)
;
32438 if (!SWIG_IsOK(res1)(res1 >= 0)) {
32439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfVector_delta_max" "', argument " "1"" of type '" "GCTAPsfVector const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfVector_delta_max" "', argument "
"1"" of type '" "GCTAPsfVector const *""'"); goto fail; } while
(0)
;
32440 }
32441 arg1 = reinterpret_cast< GCTAPsfVector * >(argp1);
32442 ecode2 = SWIG_AsVal_double(obj1, &val2);
32443 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
32444 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsfVector_delta_max" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsfVector_delta_max"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
32445 }
32446 temp2 = static_cast< double >(val2);
32447 arg2 = &temp2;
32448 ecode3 = SWIG_AsVal_double(obj2, &val3);
32449 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
32450 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfVector_delta_max" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfVector_delta_max"
"', argument " "3"" of type '" "double""'"); goto fail; } while
(0)
;
32451 }
32452 temp3 = static_cast< double >(val3);
32453 arg3 = &temp3;
32454 ecode4 = SWIG_AsVal_double(obj3, &val4);
32455 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
32456 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsfVector_delta_max" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsfVector_delta_max"
"', argument " "4"" of type '" "double""'"); goto fail; } while
(0)
;
32457 }
32458 temp4 = static_cast< double >(val4);
32459 arg4 = &temp4;
32460 ecode5 = SWIG_AsVal_double(obj4, &val5);
32461 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
32462 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsfVector_delta_max" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsfVector_delta_max"
"', argument " "5"" of type '" "double""'"); goto fail; } while
(0)
;
32463 }
32464 temp5 = static_cast< double >(val5);
32465 arg5 = &temp5;
32466 {
32467 try {
32468 result = (double)((GCTAPsfVector const *)arg1)->delta_max((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5);
32469 }
32470 catch (const GException::out_of_range& e) {
32471 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
32472 }
32473 catch (const GExceptionHandler& e) {
32474 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32475 }
32476 catch (const std::exception& e) {
32477 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32478 }
32479 }
32480 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
32481 return resultobj;
32482fail:
32483 return NULL__null;
32484}
32485
32486
32487SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfVector_delta_max__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32488 PyObject *resultobj = 0;
32489 GCTAPsfVector *arg1 = (GCTAPsfVector *) 0 ;
32490 double *arg2 = 0 ;
32491 double *arg3 = 0 ;
32492 double *arg4 = 0 ;
32493 void *argp1 = 0 ;
32494 int res1 = 0 ;
32495 double temp2 ;
32496 double val2 ;
32497 int ecode2 = 0 ;
32498 double temp3 ;
32499 double val3 ;
32500 int ecode3 = 0 ;
32501 double temp4 ;
32502 double val4 ;
32503 int ecode4 = 0 ;
32504 PyObject * obj0 = 0 ;
32505 PyObject * obj1 = 0 ;
32506 PyObject * obj2 = 0 ;
32507 PyObject * obj3 = 0 ;
32508 double result;
32509
32510 if (!PyArg_ParseTuple(args,(char *)"OOOO:GCTAPsfVector_delta_max",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
32511 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfVector, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0 | 0, 0)
;
32512 if (!SWIG_IsOK(res1)(res1 >= 0)) {
32513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfVector_delta_max" "', argument " "1"" of type '" "GCTAPsfVector const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfVector_delta_max" "', argument "
"1"" of type '" "GCTAPsfVector const *""'"); goto fail; } while
(0)
;
32514 }
32515 arg1 = reinterpret_cast< GCTAPsfVector * >(argp1);
32516 ecode2 = SWIG_AsVal_double(obj1, &val2);
32517 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
32518 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsfVector_delta_max" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsfVector_delta_max"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
32519 }
32520 temp2 = static_cast< double >(val2);
32521 arg2 = &temp2;
32522 ecode3 = SWIG_AsVal_double(obj2, &val3);
32523 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
32524 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfVector_delta_max" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfVector_delta_max"
"', argument " "3"" of type '" "double""'"); goto fail; } while
(0)
;
32525 }
32526 temp3 = static_cast< double >(val3);
32527 arg3 = &temp3;
32528 ecode4 = SWIG_AsVal_double(obj3, &val4);
32529 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
32530 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsfVector_delta_max" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsfVector_delta_max"
"', argument " "4"" of type '" "double""'"); goto fail; } while
(0)
;
32531 }
32532 temp4 = static_cast< double >(val4);
32533 arg4 = &temp4;
32534 {
32535 try {
32536 result = (double)((GCTAPsfVector const *)arg1)->delta_max((double const &)*arg2,(double const &)*arg3,(double const &)*arg4);
32537 }
32538 catch (const GException::out_of_range& e) {
32539 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
32540 }
32541 catch (const GExceptionHandler& e) {
32542 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32543 }
32544 catch (const std::exception& e) {
32545 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32546 }
32547 }
32548 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
32549 return resultobj;
32550fail:
32551 return NULL__null;
32552}
32553
32554
32555SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfVector_delta_max__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32556 PyObject *resultobj = 0;
32557 GCTAPsfVector *arg1 = (GCTAPsfVector *) 0 ;
32558 double *arg2 = 0 ;
32559 double *arg3 = 0 ;
32560 void *argp1 = 0 ;
32561 int res1 = 0 ;
32562 double temp2 ;
32563 double val2 ;
32564 int ecode2 = 0 ;
32565 double temp3 ;
32566 double val3 ;
32567 int ecode3 = 0 ;
32568 PyObject * obj0 = 0 ;
32569 PyObject * obj1 = 0 ;
32570 PyObject * obj2 = 0 ;
32571 double result;
32572
32573 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAPsfVector_delta_max",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
32574 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfVector, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0 | 0, 0)
;
32575 if (!SWIG_IsOK(res1)(res1 >= 0)) {
32576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfVector_delta_max" "', argument " "1"" of type '" "GCTAPsfVector const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfVector_delta_max" "', argument "
"1"" of type '" "GCTAPsfVector const *""'"); goto fail; } while
(0)
;
32577 }
32578 arg1 = reinterpret_cast< GCTAPsfVector * >(argp1);
32579 ecode2 = SWIG_AsVal_double(obj1, &val2);
32580 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
32581 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsfVector_delta_max" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsfVector_delta_max"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
32582 }
32583 temp2 = static_cast< double >(val2);
32584 arg2 = &temp2;
32585 ecode3 = SWIG_AsVal_double(obj2, &val3);
32586 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
32587 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfVector_delta_max" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfVector_delta_max"
"', argument " "3"" of type '" "double""'"); goto fail; } while
(0)
;
32588 }
32589 temp3 = static_cast< double >(val3);
32590 arg3 = &temp3;
32591 {
32592 try {
32593 result = (double)((GCTAPsfVector const *)arg1)->delta_max((double const &)*arg2,(double const &)*arg3);
32594 }
32595 catch (const GException::out_of_range& e) {
32596 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
32597 }
32598 catch (const GExceptionHandler& e) {
32599 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32600 }
32601 catch (const std::exception& e) {
32602 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32603 }
32604 }
32605 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
32606 return resultobj;
32607fail:
32608 return NULL__null;
32609}
32610
32611
32612SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfVector_delta_max__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32613 PyObject *resultobj = 0;
32614 GCTAPsfVector *arg1 = (GCTAPsfVector *) 0 ;
32615 double *arg2 = 0 ;
32616 void *argp1 = 0 ;
32617 int res1 = 0 ;
32618 double temp2 ;
32619 double val2 ;
32620 int ecode2 = 0 ;
32621 PyObject * obj0 = 0 ;
32622 PyObject * obj1 = 0 ;
32623 double result;
32624
32625 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAPsfVector_delta_max",&obj0,&obj1)) SWIG_failgoto fail;
32626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfVector, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0 | 0, 0)
;
32627 if (!SWIG_IsOK(res1)(res1 >= 0)) {
32628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfVector_delta_max" "', argument " "1"" of type '" "GCTAPsfVector const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfVector_delta_max" "', argument "
"1"" of type '" "GCTAPsfVector const *""'"); goto fail; } while
(0)
;
32629 }
32630 arg1 = reinterpret_cast< GCTAPsfVector * >(argp1);
32631 ecode2 = SWIG_AsVal_double(obj1, &val2);
32632 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
32633 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsfVector_delta_max" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsfVector_delta_max"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
32634 }
32635 temp2 = static_cast< double >(val2);
32636 arg2 = &temp2;
32637 {
32638 try {
32639 result = (double)((GCTAPsfVector const *)arg1)->delta_max((double const &)*arg2);
32640 }
32641 catch (const GException::out_of_range& e) {
32642 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
32643 }
32644 catch (const GExceptionHandler& e) {
32645 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32646 }
32647 catch (const std::exception& e) {
32648 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32649 }
32650 }
32651 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
32652 return resultobj;
32653fail:
32654 return NULL__null;
32655}
32656
32657
32658SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfVector_delta_max(PyObject *self, PyObject *args) {
32659 int argc;
32660 PyObject *argv[8];
32661 int ii;
32662
32663 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
32664 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
32665 for (ii = 0; (ii < 7) && (ii < argc); ii++) {
32666 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
32667 }
32668 if (argc == 2) {
32669 int _v;
32670 void *vptr = 0;
32671 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfVector, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[27
], 0, 0)
;
32672 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32673 if (_v) {
32674 {
32675 int res = SWIG_AsVal_double(argv[1], NULL__null);
32676 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32677 }
32678 if (_v) {
32679 return _wrap_GCTAPsfVector_delta_max__SWIG_5(self, args);
32680 }
32681 }
32682 }
32683 if (argc == 3) {
32684 int _v;
32685 void *vptr = 0;
32686 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfVector, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[27
], 0, 0)
;
32687 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32688 if (_v) {
32689 {
32690 int res = SWIG_AsVal_double(argv[1], NULL__null);
32691 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32692 }
32693 if (_v) {
32694 {
32695 int res = SWIG_AsVal_double(argv[2], NULL__null);
32696 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32697 }
32698 if (_v) {
32699 return _wrap_GCTAPsfVector_delta_max__SWIG_4(self, args);
32700 }
32701 }
32702 }
32703 }
32704 if (argc == 4) {
32705 int _v;
32706 void *vptr = 0;
32707 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfVector, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[27
], 0, 0)
;
32708 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32709 if (_v) {
32710 {
32711 int res = SWIG_AsVal_double(argv[1], NULL__null);
32712 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32713 }
32714 if (_v) {
32715 {
32716 int res = SWIG_AsVal_double(argv[2], NULL__null);
32717 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32718 }
32719 if (_v) {
32720 {
32721 int res = SWIG_AsVal_double(argv[3], NULL__null);
32722 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32723 }
32724 if (_v) {
32725 return _wrap_GCTAPsfVector_delta_max__SWIG_3(self, args);
32726 }
32727 }
32728 }
32729 }
32730 }
32731 if (argc == 5) {
32732 int _v;
32733 void *vptr = 0;
32734 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfVector, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[27
], 0, 0)
;
32735 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32736 if (_v) {
32737 {
32738 int res = SWIG_AsVal_double(argv[1], NULL__null);
32739 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32740 }
32741 if (_v) {
32742 {
32743 int res = SWIG_AsVal_double(argv[2], NULL__null);
32744 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32745 }
32746 if (_v) {
32747 {
32748 int res = SWIG_AsVal_double(argv[3], NULL__null);
32749 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32750 }
32751 if (_v) {
32752 {
32753 int res = SWIG_AsVal_double(argv[4], NULL__null);
32754 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32755 }
32756 if (_v) {
32757 return _wrap_GCTAPsfVector_delta_max__SWIG_2(self, args);
32758 }
32759 }
32760 }
32761 }
32762 }
32763 }
32764 if (argc == 6) {
32765 int _v;
32766 void *vptr = 0;
32767 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfVector, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[27
], 0, 0)
;
32768 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32769 if (_v) {
32770 {
32771 int res = SWIG_AsVal_double(argv[1], NULL__null);
32772 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32773 }
32774 if (_v) {
32775 {
32776 int res = SWIG_AsVal_double(argv[2], NULL__null);
32777 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32778 }
32779 if (_v) {
32780 {
32781 int res = SWIG_AsVal_double(argv[3], NULL__null);
32782 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32783 }
32784 if (_v) {
32785 {
32786 int res = SWIG_AsVal_double(argv[4], NULL__null);
32787 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32788 }
32789 if (_v) {
32790 {
32791 int res = SWIG_AsVal_double(argv[5], NULL__null);
32792 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32793 }
32794 if (_v) {
32795 return _wrap_GCTAPsfVector_delta_max__SWIG_1(self, args);
32796 }
32797 }
32798 }
32799 }
32800 }
32801 }
32802 }
32803 if (argc == 7) {
32804 int _v;
32805 void *vptr = 0;
32806 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfVector, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[27
], 0, 0)
;
32807 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32808 if (_v) {
32809 {
32810 int res = SWIG_AsVal_double(argv[1], NULL__null);
32811 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32812 }
32813 if (_v) {
32814 {
32815 int res = SWIG_AsVal_double(argv[2], NULL__null);
32816 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32817 }
32818 if (_v) {
32819 {
32820 int res = SWIG_AsVal_double(argv[3], NULL__null);
32821 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32822 }
32823 if (_v) {
32824 {
32825 int res = SWIG_AsVal_double(argv[4], NULL__null);
32826 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32827 }
32828 if (_v) {
32829 {
32830 int res = SWIG_AsVal_double(argv[5], NULL__null);
32831 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32832 }
32833 if (_v) {
32834 {
32835 int res = SWIG_AsVal_bool(argv[6], NULL__null);
32836 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32837 }
32838 if (_v) {
32839 return _wrap_GCTAPsfVector_delta_max__SWIG_0(self, args);
32840 }
32841 }
32842 }
32843 }
32844 }
32845 }
32846 }
32847 }
32848
32849fail:
32850 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAPsfVector_delta_max'.\n"
32851 " Possible C/C++ prototypes are:\n"
32852 " GCTAPsfVector::delta_max(double const &,double const &,double const &,double const &,double const &,bool const &) const\n"
32853 " GCTAPsfVector::delta_max(double const &,double const &,double const &,double const &,double const &) const\n"
32854 " GCTAPsfVector::delta_max(double const &,double const &,double const &,double const &) const\n"
32855 " GCTAPsfVector::delta_max(double const &,double const &,double const &) const\n"
32856 " GCTAPsfVector::delta_max(double const &,double const &) const\n"
32857 " GCTAPsfVector::delta_max(double const &) const\n");
32858 return 0;
32859}
32860
32861
32862SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfVector_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32863 PyObject *resultobj = 0;
32864 GCTAPsfVector *arg1 = (GCTAPsfVector *) 0 ;
32865 GFitsTable *arg2 = 0 ;
32866 void *argp1 = 0 ;
32867 int res1 = 0 ;
32868 void *argp2 = 0 ;
32869 int res2 = 0 ;
32870 PyObject * obj0 = 0 ;
32871 PyObject * obj1 = 0 ;
32872
32873 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAPsfVector_read",&obj0,&obj1)) SWIG_failgoto fail;
32874 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfVector, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0 | 0, 0)
;
32875 if (!SWIG_IsOK(res1)(res1 >= 0)) {
32876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfVector_read" "', argument " "1"" of type '" "GCTAPsfVector *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfVector_read" "', argument "
"1"" of type '" "GCTAPsfVector *""'"); goto fail; } while(0)
;
32877 }
32878 arg1 = reinterpret_cast< GCTAPsfVector * >(argp1);
32879 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GFitsTable, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[41]
, 0 | 0, 0)
;
32880 if (!SWIG_IsOK(res2)(res2 >= 0)) {
32881 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAPsfVector_read" "', argument " "2"" of type '" "GFitsTable const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAPsfVector_read" "', argument "
"2"" of type '" "GFitsTable const &""'"); goto fail; } while
(0)
;
32882 }
32883 if (!argp2) {
32884 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAPsfVector_read" "', argument " "2"" of type '" "GFitsTable const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAPsfVector_read" "', argument " "2"" of type '"
"GFitsTable const &""'"); goto fail; } while(0)
;
32885 }
32886 arg2 = reinterpret_cast< GFitsTable * >(argp2);
32887 {
32888 try {
32889 (arg1)->read((GFitsTable const &)*arg2);
32890 }
32891 catch (const GException::out_of_range& e) {
32892 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
32893 }
32894 catch (const GExceptionHandler& e) {
32895 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32896 }
32897 catch (const std::exception& e) {
32898 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32899 }
32900 }
32901 resultobj = SWIG_Py_Void();
32902 return resultobj;
32903fail:
32904 return NULL__null;
32905}
32906
32907
32908SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfVector_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32909 PyObject *resultobj = 0;
32910 GCTAPsfVector *arg1 = (GCTAPsfVector *) 0 ;
32911 void *argp1 = 0 ;
32912 int res1 = 0 ;
32913 PyObject * obj0 = 0 ;
32914 GCTAPsfVector result;
32915
32916 if (!PyArg_ParseTuple(args,(char *)"O:GCTAPsfVector_copy",&obj0)) SWIG_failgoto fail;
32917 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfVector, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0 | 0, 0)
;
32918 if (!SWIG_IsOK(res1)(res1 >= 0)) {
32919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfVector_copy" "', argument " "1"" of type '" "GCTAPsfVector *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfVector_copy" "', argument "
"1"" of type '" "GCTAPsfVector *""'"); goto fail; } while(0)
;
32920 }
32921 arg1 = reinterpret_cast< GCTAPsfVector * >(argp1);
32922 {
32923 try {
32924 result = GCTAPsfVector_copy(arg1);
32925 }
32926 catch (const GException::out_of_range& e) {
32927 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
32928 }
32929 catch (const GExceptionHandler& e) {
32930 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32931 }
32932 catch (const std::exception& e) {
32933 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32934 }
32935 }
32936 resultobj = SWIG_NewPointerObj((new GCTAPsfVector(static_cast< const GCTAPsfVector& >(result))), SWIGTYPE_p_GCTAPsfVector, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GCTAPsfVector(static_cast
< const GCTAPsfVector& >(result))), swig_types[27],
0x1 | 0)
;
32937 return resultobj;
32938fail:
32939 return NULL__null;
32940}
32941
32942
32943SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GCTAPsfVector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32944 PyObject *obj;
32945 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
32946 SWIG_TypeNewClientData(SWIGTYPE_p_GCTAPsfVectorswig_types[27], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
32947 return SWIG_Py_Void();
32948}
32949
32950SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAPsf2D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32951 PyObject *resultobj = 0;
32952 GCTAPsf2D *result = 0 ;
32953
32954 if (!PyArg_ParseTuple(args,(char *)":new_GCTAPsf2D")) SWIG_failgoto fail;
32955 {
32956 try {
32957 result = (GCTAPsf2D *)new GCTAPsf2D();
32958 }
32959 catch (const GException::out_of_range& e) {
32960 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
32961 }
32962 catch (const GExceptionHandler& e) {
32963 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32964 }
32965 catch (const std::exception& e) {
32966 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32967 }
32968 }
32969 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAPsf2D, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[24], (
(0x1 << 1) | 0x1) | 0)
;
32970 return resultobj;
32971fail:
32972 return NULL__null;
32973}
32974
32975
32976SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAPsf2D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32977 PyObject *resultobj = 0;
32978 std::string *arg1 = 0 ;
32979 int res1 = SWIG_OLDOBJ((0)) ;
32980 PyObject * obj0 = 0 ;
32981 GCTAPsf2D *result = 0 ;
32982
32983 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAPsf2D",&obj0)) SWIG_failgoto fail;
32984 {
32985 std::string *ptr = (std::string *)0;
32986 res1 = SWIG_AsPtr_std_string(obj0, &ptr);
32987 if (!SWIG_IsOK(res1)(res1 >= 0)) {
32988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAPsf2D" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAPsf2D" "', argument "
"1"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
32989 }
32990 if (!ptr) {
32991 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAPsf2D" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAPsf2D" "', argument " "1"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
32992 }
32993 arg1 = ptr;
32994 }
32995 {
32996 try {
32997 result = (GCTAPsf2D *)new GCTAPsf2D((std::string const &)*arg1);
32998 }
32999 catch (const GException::out_of_range& e) {
33000 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
33001 }
33002 catch (const GExceptionHandler& e) {
33003 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33004 }
33005 catch (const std::exception& e) {
33006 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33007 }
33008 }
33009 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAPsf2D, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[24], (
(0x1 << 1) | 0x1) | 0)
;
33010 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
33011 return resultobj;
33012fail:
33013 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
33014 return NULL__null;
33015}
33016
33017
33018SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAPsf2D__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33019 PyObject *resultobj = 0;
33020 GCTAPsf2D *arg1 = 0 ;
33021 void *argp1 = 0 ;
33022 int res1 = 0 ;
33023 PyObject * obj0 = 0 ;
33024 GCTAPsf2D *result = 0 ;
33025
33026 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAPsf2D",&obj0)) SWIG_failgoto fail;
33027 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GCTAPsf2D, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
33028 if (!SWIG_IsOK(res1)(res1 >= 0)) {
33029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAPsf2D" "', argument " "1"" of type '" "GCTAPsf2D const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAPsf2D" "', argument "
"1"" of type '" "GCTAPsf2D const &""'"); goto fail; } while
(0)
;
33030 }
33031 if (!argp1) {
33032 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAPsf2D" "', argument " "1"" of type '" "GCTAPsf2D const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAPsf2D" "', argument " "1"" of type '"
"GCTAPsf2D const &""'"); goto fail; } while(0)
;
33033 }
33034 arg1 = reinterpret_cast< GCTAPsf2D * >(argp1);
33035 {
33036 try {
33037 result = (GCTAPsf2D *)new GCTAPsf2D((GCTAPsf2D const &)*arg1);
33038 }
33039 catch (const GException::out_of_range& e) {
33040 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
33041 }
33042 catch (const GExceptionHandler& e) {
33043 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33044 }
33045 catch (const std::exception& e) {
33046 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33047 }
33048 }
33049 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAPsf2D, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[24], (
(0x1 << 1) | 0x1) | 0)
;
33050 return resultobj;
33051fail:
33052 return NULL__null;
33053}
33054
33055
33056SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAPsf2D(PyObject *self, PyObject *args) {
33057 int argc;
33058 PyObject *argv[2];
33059 int ii;
33060
33061 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
33062 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
33063 for (ii = 0; (ii < 1) && (ii < argc); ii++) {
33064 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
33065 }
33066 if (argc == 0) {
33067 return _wrap_new_GCTAPsf2D__SWIG_0(self, args);
33068 }
33069 if (argc == 1) {
33070 int _v;
33071 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GCTAPsf2D, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[24], 0, 0
)
;
33072 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33073 if (_v) {
33074 return _wrap_new_GCTAPsf2D__SWIG_2(self, args);
33075 }
33076 }
33077 if (argc == 1) {
33078 int _v;
33079 int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
33080 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33081 if (_v) {
33082 return _wrap_new_GCTAPsf2D__SWIG_1(self, args);
33083 }
33084 }
33085
33086fail:
33087 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GCTAPsf2D'.\n"
33088 " Possible C/C++ prototypes are:\n"
33089 " GCTAPsf2D::GCTAPsf2D()\n"
33090 " GCTAPsf2D::GCTAPsf2D(std::string const &)\n"
33091 " GCTAPsf2D::GCTAPsf2D(GCTAPsf2D const &)\n");
33092 return 0;
33093}
33094
33095
33096SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GCTAPsf2D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33097 PyObject *resultobj = 0;
33098 GCTAPsf2D *arg1 = (GCTAPsf2D *) 0 ;
33099 void *argp1 = 0 ;
33100 int res1 = 0 ;
33101 PyObject * obj0 = 0 ;
33102
33103 if (!PyArg_ParseTuple(args,(char *)"O:delete_GCTAPsf2D",&obj0)) SWIG_failgoto fail;
33104 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf2D, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0x1 | 0, 0)
;
33105 if (!SWIG_IsOK(res1)(res1 >= 0)) {
33106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GCTAPsf2D" "', argument " "1"" of type '" "GCTAPsf2D *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GCTAPsf2D" "', argument "
"1"" of type '" "GCTAPsf2D *""'"); goto fail; } while(0)
;
33107 }
33108 arg1 = reinterpret_cast< GCTAPsf2D * >(argp1);
33109 {
33110 try {
33111 delete arg1;
33112 }
33113 catch (const GException::out_of_range& e) {
33114 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
33115 }
33116 catch (const GExceptionHandler& e) {
33117 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33118 }
33119 catch (const std::exception& e) {
33120 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33121 }
33122 }
33123 resultobj = SWIG_Py_Void();
33124 return resultobj;
33125fail:
33126 return NULL__null;
33127}
33128
33129
33130SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf2D___call____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33131 PyObject *resultobj = 0;
33132 GCTAPsf2D *arg1 = (GCTAPsf2D *) 0 ;
33133 double *arg2 = 0 ;
33134 double *arg3 = 0 ;
33135 double *arg4 = 0 ;
33136 double *arg5 = 0 ;
33137 double *arg6 = 0 ;
33138 double *arg7 = 0 ;
33139 bool *arg8 = 0 ;
33140 void *argp1 = 0 ;
33141 int res1 = 0 ;
33142 double temp2 ;
33143 double val2 ;
33144 int ecode2 = 0 ;
33145 double temp3 ;
33146 double val3 ;
33147 int ecode3 = 0 ;
33148 double temp4 ;
33149 double val4 ;
33150 int ecode4 = 0 ;
33151 double temp5 ;
33152 double val5 ;
33153 int ecode5 = 0 ;
33154 double temp6 ;
33155 double val6 ;
33156 int ecode6 = 0 ;
33157 double temp7 ;
33158 double val7 ;
33159 int ecode7 = 0 ;
33160 bool temp8 ;
33161 bool val8 ;
33162 int ecode8 = 0 ;
33163 PyObject * obj0 = 0 ;
33164 PyObject * obj1 = 0 ;
33165 PyObject * obj2 = 0 ;
33166 PyObject * obj3 = 0 ;
33167 PyObject * obj4 = 0 ;
33168 PyObject * obj5 = 0 ;
33169 PyObject * obj6 = 0 ;
33170 PyObject * obj7 = 0 ;
33171 double result;
33172
33173 if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:GCTAPsf2D___call__",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_failgoto fail;
33174 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf2D, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
33175 if (!SWIG_IsOK(res1)(res1 >= 0)) {
33176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf2D___call__" "', argument " "1"" of type '" "GCTAPsf2D const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf2D___call__" "', argument "
"1"" of type '" "GCTAPsf2D const *""'"); goto fail; } while(
0)
;
33177 }
33178 arg1 = reinterpret_cast< GCTAPsf2D * >(argp1);
33179 ecode2 = SWIG_AsVal_double(obj1, &val2);
33180 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
33181 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsf2D___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsf2D___call__" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
33182 }
33183 temp2 = static_cast< double >(val2);
33184 arg2 = &temp2;
33185 ecode3 = SWIG_AsVal_double(obj2, &val3);
33186 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
33187 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsf2D___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsf2D___call__" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
33188 }
33189 temp3 = static_cast< double >(val3);
33190 arg3 = &temp3;
33191 ecode4 = SWIG_AsVal_double(obj3, &val4);
33192 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
33193 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsf2D___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsf2D___call__" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
33194 }
33195 temp4 = static_cast< double >(val4);
33196 arg4 = &temp4;
33197 ecode5 = SWIG_AsVal_double(obj4, &val5);
33198 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
33199 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsf2D___call__" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsf2D___call__" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
33200 }
33201 temp5 = static_cast< double >(val5);
33202 arg5 = &temp5;
33203 ecode6 = SWIG_AsVal_double(obj5, &val6);
33204 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
33205 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAPsf2D___call__" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAPsf2D___call__" "', argument "
"6"" of type '" "double""'"); goto fail; } while(0)
;
33206 }
33207 temp6 = static_cast< double >(val6);
33208 arg6 = &temp6;
33209 ecode7 = SWIG_AsVal_double(obj6, &val7);
33210 if (!SWIG_IsOK(ecode7)(ecode7 >= 0)) {
33211 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GCTAPsf2D___call__" "', argument " "7"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode7 !=
(-1)) ? ecode7 : -5)), "in method '" "GCTAPsf2D___call__" "', argument "
"7"" of type '" "double""'"); goto fail; } while(0)
;
33212 }
33213 temp7 = static_cast< double >(val7);
33214 arg7 = &temp7;
33215 ecode8 = SWIG_AsVal_bool(obj7, &val8);
33216 if (!SWIG_IsOK(ecode8)(ecode8 >= 0)) {
33217 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "GCTAPsf2D___call__" "', argument " "8"" of type '" "bool""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode8 !=
(-1)) ? ecode8 : -5)), "in method '" "GCTAPsf2D___call__" "', argument "
"8"" of type '" "bool""'"); goto fail; } while(0)
;
33218 }
33219 temp8 = static_cast< bool >(val8);
33220 arg8 = &temp8;
33221 {
33222 try {
33223 result = (double)((GCTAPsf2D const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6,(double const &)*arg7,(bool const &)*arg8);
33224 }
33225 catch (const GException::out_of_range& e) {
33226 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
33227 }
33228 catch (const GExceptionHandler& e) {
33229 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33230 }
33231 catch (const std::exception& e) {
33232 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33233 }
33234 }
33235 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
33236 return resultobj;
33237fail:
33238 return NULL__null;
33239}
33240
33241
33242SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf2D___call____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33243 PyObject *resultobj = 0;
33244 GCTAPsf2D *arg1 = (GCTAPsf2D *) 0 ;
33245 double *arg2 = 0 ;
33246 double *arg3 = 0 ;
33247 double *arg4 = 0 ;
33248 double *arg5 = 0 ;
33249 double *arg6 = 0 ;
33250 double *arg7 = 0 ;
33251 void *argp1 = 0 ;
33252 int res1 = 0 ;
33253 double temp2 ;
33254 double val2 ;
33255 int ecode2 = 0 ;
33256 double temp3 ;
33257 double val3 ;
33258 int ecode3 = 0 ;
33259 double temp4 ;
33260 double val4 ;
33261 int ecode4 = 0 ;
33262 double temp5 ;
33263 double val5 ;
33264 int ecode5 = 0 ;
33265 double temp6 ;
33266 double val6 ;
33267 int ecode6 = 0 ;
33268 double temp7 ;
33269 double val7 ;
33270 int ecode7 = 0 ;
33271 PyObject * obj0 = 0 ;
33272 PyObject * obj1 = 0 ;
33273 PyObject * obj2 = 0 ;
33274 PyObject * obj3 = 0 ;
33275 PyObject * obj4 = 0 ;
33276 PyObject * obj5 = 0 ;
33277 PyObject * obj6 = 0 ;
33278 double result;
33279
33280 if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:GCTAPsf2D___call__",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_failgoto fail;
33281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf2D, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
33282 if (!SWIG_IsOK(res1)(res1 >= 0)) {
33283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf2D___call__" "', argument " "1"" of type '" "GCTAPsf2D const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf2D___call__" "', argument "
"1"" of type '" "GCTAPsf2D const *""'"); goto fail; } while(
0)
;
33284 }
33285 arg1 = reinterpret_cast< GCTAPsf2D * >(argp1);
33286 ecode2 = SWIG_AsVal_double(obj1, &val2);
33287 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
33288 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsf2D___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsf2D___call__" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
33289 }
33290 temp2 = static_cast< double >(val2);
33291 arg2 = &temp2;
33292 ecode3 = SWIG_AsVal_double(obj2, &val3);
33293 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
33294 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsf2D___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsf2D___call__" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
33295 }
33296 temp3 = static_cast< double >(val3);
33297 arg3 = &temp3;
33298 ecode4 = SWIG_AsVal_double(obj3, &val4);
33299 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
33300 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsf2D___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsf2D___call__" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
33301 }
33302 temp4 = static_cast< double >(val4);
33303 arg4 = &temp4;
33304 ecode5 = SWIG_AsVal_double(obj4, &val5);
33305 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
33306 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsf2D___call__" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsf2D___call__" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
33307 }
33308 temp5 = static_cast< double >(val5);
33309 arg5 = &temp5;
33310 ecode6 = SWIG_AsVal_double(obj5, &val6);
33311 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
33312 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAPsf2D___call__" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAPsf2D___call__" "', argument "
"6"" of type '" "double""'"); goto fail; } while(0)
;
33313 }
33314 temp6 = static_cast< double >(val6);
33315 arg6 = &temp6;
33316 ecode7 = SWIG_AsVal_double(obj6, &val7);
33317 if (!SWIG_IsOK(ecode7)(ecode7 >= 0)) {
33318 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GCTAPsf2D___call__" "', argument " "7"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode7 !=
(-1)) ? ecode7 : -5)), "in method '" "GCTAPsf2D___call__" "', argument "
"7"" of type '" "double""'"); goto fail; } while(0)
;
33319 }
33320 temp7 = static_cast< double >(val7);
33321 arg7 = &temp7;
33322 {
33323 try {
33324 result = (double)((GCTAPsf2D const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6,(double const &)*arg7);
33325 }
33326 catch (const GException::out_of_range& e) {
33327 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
33328 }
33329 catch (const GExceptionHandler& e) {
33330 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33331 }
33332 catch (const std::exception& e) {
33333 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33334 }
33335 }
33336 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
33337 return resultobj;
33338fail:
33339 return NULL__null;
33340}
33341
33342
33343SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf2D___call____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33344 PyObject *resultobj = 0;
33345 GCTAPsf2D *arg1 = (GCTAPsf2D *) 0 ;
33346 double *arg2 = 0 ;
33347 double *arg3 = 0 ;
33348 double *arg4 = 0 ;
33349 double *arg5 = 0 ;
33350 double *arg6 = 0 ;
33351 void *argp1 = 0 ;
33352 int res1 = 0 ;
33353 double temp2 ;
33354 double val2 ;
33355 int ecode2 = 0 ;
33356 double temp3 ;
33357 double val3 ;
33358 int ecode3 = 0 ;
33359 double temp4 ;
33360 double val4 ;
33361 int ecode4 = 0 ;
33362 double temp5 ;
33363 double val5 ;
33364 int ecode5 = 0 ;
33365 double temp6 ;
33366 double val6 ;
33367 int ecode6 = 0 ;
33368 PyObject * obj0 = 0 ;
33369 PyObject * obj1 = 0 ;
33370 PyObject * obj2 = 0 ;
33371 PyObject * obj3 = 0 ;
33372 PyObject * obj4 = 0 ;
33373 PyObject * obj5 = 0 ;
33374 double result;
33375
33376 if (!PyArg_ParseTuple(args,(char *)"OOOOOO:GCTAPsf2D___call__",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_failgoto fail;
33377 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf2D, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
33378 if (!SWIG_IsOK(res1)(res1 >= 0)) {
33379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf2D___call__" "', argument " "1"" of type '" "GCTAPsf2D const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf2D___call__" "', argument "
"1"" of type '" "GCTAPsf2D const *""'"); goto fail; } while(
0)
;
33380 }
33381 arg1 = reinterpret_cast< GCTAPsf2D * >(argp1);
33382 ecode2 = SWIG_AsVal_double(obj1, &val2);
33383 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
33384 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsf2D___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsf2D___call__" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
33385 }
33386 temp2 = static_cast< double >(val2);
33387 arg2 = &temp2;
33388 ecode3 = SWIG_AsVal_double(obj2, &val3);
33389 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
33390 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsf2D___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsf2D___call__" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
33391 }
33392 temp3 = static_cast< double >(val3);
33393 arg3 = &temp3;
33394 ecode4 = SWIG_AsVal_double(obj3, &val4);
33395 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
33396 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsf2D___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsf2D___call__" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
33397 }
33398 temp4 = static_cast< double >(val4);
33399 arg4 = &temp4;
33400 ecode5 = SWIG_AsVal_double(obj4, &val5);
33401 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
33402 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsf2D___call__" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsf2D___call__" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
33403 }
33404 temp5 = static_cast< double >(val5);
33405 arg5 = &temp5;
33406 ecode6 = SWIG_AsVal_double(obj5, &val6);
33407 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
33408 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAPsf2D___call__" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAPsf2D___call__" "', argument "
"6"" of type '" "double""'"); goto fail; } while(0)
;
33409 }
33410 temp6 = static_cast< double >(val6);
33411 arg6 = &temp6;
33412 {
33413 try {
33414 result = (double)((GCTAPsf2D const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6);
33415 }
33416 catch (const GException::out_of_range& e) {
33417 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
33418 }
33419 catch (const GExceptionHandler& e) {
33420 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33421 }
33422 catch (const std::exception& e) {
33423 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33424 }
33425 }
33426 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
33427 return resultobj;
33428fail:
33429 return NULL__null;
33430}
33431
33432
33433SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf2D___call____SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33434 PyObject *resultobj = 0;
33435 GCTAPsf2D *arg1 = (GCTAPsf2D *) 0 ;
33436 double *arg2 = 0 ;
33437 double *arg3 = 0 ;
33438 double *arg4 = 0 ;
33439 double *arg5 = 0 ;
33440 void *argp1 = 0 ;
33441 int res1 = 0 ;
33442 double temp2 ;
33443 double val2 ;
33444 int ecode2 = 0 ;
33445 double temp3 ;
33446 double val3 ;
33447 int ecode3 = 0 ;
33448 double temp4 ;
33449 double val4 ;
33450 int ecode4 = 0 ;
33451 double temp5 ;
33452 double val5 ;
33453 int ecode5 = 0 ;
33454 PyObject * obj0 = 0 ;
33455 PyObject * obj1 = 0 ;
33456 PyObject * obj2 = 0 ;
33457 PyObject * obj3 = 0 ;
33458 PyObject * obj4 = 0 ;
33459 double result;
33460
33461 if (!PyArg_ParseTuple(args,(char *)"OOOOO:GCTAPsf2D___call__",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_failgoto fail;
33462 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf2D, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
33463 if (!SWIG_IsOK(res1)(res1 >= 0)) {
33464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf2D___call__" "', argument " "1"" of type '" "GCTAPsf2D const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf2D___call__" "', argument "
"1"" of type '" "GCTAPsf2D const *""'"); goto fail; } while(
0)
;
33465 }
33466 arg1 = reinterpret_cast< GCTAPsf2D * >(argp1);
33467 ecode2 = SWIG_AsVal_double(obj1, &val2);
33468 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
33469 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsf2D___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsf2D___call__" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
33470 }
33471 temp2 = static_cast< double >(val2);
33472 arg2 = &temp2;
33473 ecode3 = SWIG_AsVal_double(obj2, &val3);
33474 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
33475 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsf2D___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsf2D___call__" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
33476 }
33477 temp3 = static_cast< double >(val3);
33478 arg3 = &temp3;
33479 ecode4 = SWIG_AsVal_double(obj3, &val4);
33480 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
33481 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsf2D___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsf2D___call__" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
33482 }
33483 temp4 = static_cast< double >(val4);
33484 arg4 = &temp4;
33485 ecode5 = SWIG_AsVal_double(obj4, &val5);
33486 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
33487 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsf2D___call__" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsf2D___call__" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
33488 }
33489 temp5 = static_cast< double >(val5);
33490 arg5 = &temp5;
33491 {
33492 try {
33493 result = (double)((GCTAPsf2D const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5);
33494 }
33495 catch (const GException::out_of_range& e) {
33496 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
33497 }
33498 catch (const GExceptionHandler& e) {
33499 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33500 }
33501 catch (const std::exception& e) {
33502 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33503 }
33504 }
33505 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
33506 return resultobj;
33507fail:
33508 return NULL__null;
33509}
33510
33511
33512SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf2D___call____SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33513 PyObject *resultobj = 0;
33514 GCTAPsf2D *arg1 = (GCTAPsf2D *) 0 ;
33515 double *arg2 = 0 ;
33516 double *arg3 = 0 ;
33517 double *arg4 = 0 ;
33518 void *argp1 = 0 ;
33519 int res1 = 0 ;
33520 double temp2 ;
33521 double val2 ;
33522 int ecode2 = 0 ;
33523 double temp3 ;
33524 double val3 ;
33525 int ecode3 = 0 ;
33526 double temp4 ;
33527 double val4 ;
33528 int ecode4 = 0 ;
33529 PyObject * obj0 = 0 ;
33530 PyObject * obj1 = 0 ;
33531 PyObject * obj2 = 0 ;
33532 PyObject * obj3 = 0 ;
33533 double result;
33534
33535 if (!PyArg_ParseTuple(args,(char *)"OOOO:GCTAPsf2D___call__",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
33536 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf2D, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
33537 if (!SWIG_IsOK(res1)(res1 >= 0)) {
33538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf2D___call__" "', argument " "1"" of type '" "GCTAPsf2D const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf2D___call__" "', argument "
"1"" of type '" "GCTAPsf2D const *""'"); goto fail; } while(
0)
;
33539 }
33540 arg1 = reinterpret_cast< GCTAPsf2D * >(argp1);
33541 ecode2 = SWIG_AsVal_double(obj1, &val2);
33542 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
33543 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsf2D___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsf2D___call__" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
33544 }
33545 temp2 = static_cast< double >(val2);
33546 arg2 = &temp2;
33547 ecode3 = SWIG_AsVal_double(obj2, &val3);
33548 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
33549 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsf2D___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsf2D___call__" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
33550 }
33551 temp3 = static_cast< double >(val3);
33552 arg3 = &temp3;
33553 ecode4 = SWIG_AsVal_double(obj3, &val4);
33554 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
33555 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsf2D___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsf2D___call__" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
33556 }
33557 temp4 = static_cast< double >(val4);
33558 arg4 = &temp4;
33559 {
33560 try {
33561 result = (double)((GCTAPsf2D const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4);
33562 }
33563 catch (const GException::out_of_range& e) {
33564 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
33565 }
33566 catch (const GExceptionHandler& e) {
33567 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33568 }
33569 catch (const std::exception& e) {
33570 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33571 }
33572 }
33573 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
33574 return resultobj;
33575fail:
33576 return NULL__null;
33577}
33578
33579
33580SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf2D___call____SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33581 PyObject *resultobj = 0;
33582 GCTAPsf2D *arg1 = (GCTAPsf2D *) 0 ;
33583 double *arg2 = 0 ;
33584 double *arg3 = 0 ;
33585 void *argp1 = 0 ;
33586 int res1 = 0 ;
33587 double temp2 ;
33588 double val2 ;
33589 int ecode2 = 0 ;
33590 double temp3 ;
33591 double val3 ;
33592 int ecode3 = 0 ;
33593 PyObject * obj0 = 0 ;
33594 PyObject * obj1 = 0 ;
33595 PyObject * obj2 = 0 ;
33596 double result;
33597
33598 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAPsf2D___call__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
33599 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf2D, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
33600 if (!SWIG_IsOK(res1)(res1 >= 0)) {
33601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf2D___call__" "', argument " "1"" of type '" "GCTAPsf2D const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf2D___call__" "', argument "
"1"" of type '" "GCTAPsf2D const *""'"); goto fail; } while(
0)
;
33602 }
33603 arg1 = reinterpret_cast< GCTAPsf2D * >(argp1);
33604 ecode2 = SWIG_AsVal_double(obj1, &val2);
33605 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
33606 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsf2D___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsf2D___call__" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
33607 }
33608 temp2 = static_cast< double >(val2);
33609 arg2 = &temp2;
33610 ecode3 = SWIG_AsVal_double(obj2, &val3);
33611 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
33612 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsf2D___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsf2D___call__" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
33613 }
33614 temp3 = static_cast< double >(val3);
33615 arg3 = &temp3;
33616 {
33617 try {
33618 result = (double)((GCTAPsf2D const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3);
33619 }
33620 catch (const GException::out_of_range& e) {
33621 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
33622 }
33623 catch (const GExceptionHandler& e) {
33624 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33625 }
33626 catch (const std::exception& e) {
33627 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33628 }
33629 }
33630 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
33631 return resultobj;
33632fail:
33633 return NULL__null;
33634}
33635
33636
33637SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf2D___call__(PyObject *self, PyObject *args) {
33638 int argc;
33639 PyObject *argv[9];
33640 int ii;
33641
33642 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
33643 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
33644 for (ii = 0; (ii < 8) && (ii < argc); ii++) {
33645 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
33646 }
33647 if (argc == 3) {
33648 int _v;
33649 void *vptr = 0;
33650 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsf2D, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
33651 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33652 if (_v) {
33653 {
33654 int res = SWIG_AsVal_double(argv[1], NULL__null);
33655 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33656 }
33657 if (_v) {
33658 {
33659 int res = SWIG_AsVal_double(argv[2], NULL__null);
33660 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33661 }
33662 if (_v) {
33663 return _wrap_GCTAPsf2D___call____SWIG_5(self, args);
33664 }
33665 }
33666 }
33667 }
33668 if (argc == 4) {
33669 int _v;
33670 void *vptr = 0;
33671 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsf2D, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
33672 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33673 if (_v) {
33674 {
33675 int res = SWIG_AsVal_double(argv[1], NULL__null);
33676 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33677 }
33678 if (_v) {
33679 {
33680 int res = SWIG_AsVal_double(argv[2], NULL__null);
33681 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33682 }
33683 if (_v) {
33684 {
33685 int res = SWIG_AsVal_double(argv[3], NULL__null);
33686 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33687 }
33688 if (_v) {
33689 return _wrap_GCTAPsf2D___call____SWIG_4(self, args);
33690 }
33691 }
33692 }
33693 }
33694 }
33695 if (argc == 5) {
33696 int _v;
33697 void *vptr = 0;
33698 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsf2D, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
33699 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33700 if (_v) {
33701 {
33702 int res = SWIG_AsVal_double(argv[1], NULL__null);
33703 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33704 }
33705 if (_v) {
33706 {
33707 int res = SWIG_AsVal_double(argv[2], NULL__null);
33708 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33709 }
33710 if (_v) {
33711 {
33712 int res = SWIG_AsVal_double(argv[3], NULL__null);
33713 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33714 }
33715 if (_v) {
33716 {
33717 int res = SWIG_AsVal_double(argv[4], NULL__null);
33718 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33719 }
33720 if (_v) {
33721 return _wrap_GCTAPsf2D___call____SWIG_3(self, args);
33722 }
33723 }
33724 }
33725 }
33726 }
33727 }
33728 if (argc == 6) {
33729 int _v;
33730 void *vptr = 0;
33731 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsf2D, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
33732 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33733 if (_v) {
33734 {
33735 int res = SWIG_AsVal_double(argv[1], NULL__null);
33736 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33737 }
33738 if (_v) {
33739 {
33740 int res = SWIG_AsVal_double(argv[2], NULL__null);
33741 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33742 }
33743 if (_v) {
33744 {
33745 int res = SWIG_AsVal_double(argv[3], NULL__null);
33746 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33747 }
33748 if (_v) {
33749 {
33750 int res = SWIG_AsVal_double(argv[4], NULL__null);
33751 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33752 }
33753 if (_v) {
33754 {
33755 int res = SWIG_AsVal_double(argv[5], NULL__null);
33756 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33757 }
33758 if (_v) {
33759 return _wrap_GCTAPsf2D___call____SWIG_2(self, args);
33760 }
33761 }
33762 }
33763 }
33764 }
33765 }
33766 }
33767 if (argc == 7) {
33768 int _v;
33769 void *vptr = 0;
33770 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsf2D, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
33771 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33772 if (_v) {
33773 {
33774 int res = SWIG_AsVal_double(argv[1], NULL__null);
33775 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33776 }
33777 if (_v) {
33778 {
33779 int res = SWIG_AsVal_double(argv[2], NULL__null);
33780 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33781 }
33782 if (_v) {
33783 {
33784 int res = SWIG_AsVal_double(argv[3], NULL__null);
33785 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33786 }
33787 if (_v) {
33788 {
33789 int res = SWIG_AsVal_double(argv[4], NULL__null);
33790 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33791 }
33792 if (_v) {
33793 {
33794 int res = SWIG_AsVal_double(argv[5], NULL__null);
33795 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33796 }
33797 if (_v) {
33798 {
33799 int res = SWIG_AsVal_double(argv[6], NULL__null);
33800 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33801 }
33802 if (_v) {
33803 return _wrap_GCTAPsf2D___call____SWIG_1(self, args);
33804 }
33805 }
33806 }
33807 }
33808 }
33809 }
33810 }
33811 }
33812 if (argc == 8) {
33813 int _v;
33814 void *vptr = 0;
33815 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsf2D, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
33816 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33817 if (_v) {
33818 {
33819 int res = SWIG_AsVal_double(argv[1], NULL__null);
33820 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33821 }
33822 if (_v) {
33823 {
33824 int res = SWIG_AsVal_double(argv[2], NULL__null);
33825 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33826 }
33827 if (_v) {
33828 {
33829 int res = SWIG_AsVal_double(argv[3], NULL__null);
33830 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33831 }
33832 if (_v) {
33833 {
33834 int res = SWIG_AsVal_double(argv[4], NULL__null);
33835 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33836 }
33837 if (_v) {
33838 {
33839 int res = SWIG_AsVal_double(argv[5], NULL__null);
33840 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33841 }
33842 if (_v) {
33843 {
33844 int res = SWIG_AsVal_double(argv[6], NULL__null);
33845 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33846 }
33847 if (_v) {
33848 {
33849 int res = SWIG_AsVal_bool(argv[7], NULL__null);
33850 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33851 }
33852 if (_v) {
33853 return _wrap_GCTAPsf2D___call____SWIG_0(self, args);
33854 }
33855 }
33856 }
33857 }
33858 }
33859 }
33860 }
33861 }
33862 }
33863
33864fail:
33865 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAPsf2D___call__'.\n"
33866 " Possible C/C++ prototypes are:\n"
33867 " GCTAPsf2D::operator ()(double const &,double const &,double const &,double const &,double const &,double const &,bool const &) const\n"
33868 " GCTAPsf2D::operator ()(double const &,double const &,double const &,double const &,double const &,double const &) const\n"
33869 " GCTAPsf2D::operator ()(double const &,double const &,double const &,double const &,double const &) const\n"
33870 " GCTAPsf2D::operator ()(double const &,double const &,double const &,double const &) const\n"
33871 " GCTAPsf2D::operator ()(double const &,double const &,double const &) const\n"
33872 " GCTAPsf2D::operator ()(double const &,double const &) const\n");
33873 return 0;
33874}
33875
33876
33877SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf2D_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33878 PyObject *resultobj = 0;
33879 GCTAPsf2D *arg1 = (GCTAPsf2D *) 0 ;
33880 void *argp1 = 0 ;
33881 int res1 = 0 ;
33882 PyObject * obj0 = 0 ;
33883
33884 if (!PyArg_ParseTuple(args,(char *)"O:GCTAPsf2D_clear",&obj0)) SWIG_failgoto fail;
33885 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf2D, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
33886 if (!SWIG_IsOK(res1)(res1 >= 0)) {
33887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf2D_clear" "', argument " "1"" of type '" "GCTAPsf2D *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf2D_clear" "', argument "
"1"" of type '" "GCTAPsf2D *""'"); goto fail; } while(0)
;
33888 }
33889 arg1 = reinterpret_cast< GCTAPsf2D * >(argp1);
33890 {
33891 try {
33892 (arg1)->clear();
33893 }
33894 catch (const GException::out_of_range& e) {
33895 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
33896 }
33897 catch (const GExceptionHandler& e) {
33898 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33899 }
33900 catch (const std::exception& e) {
33901 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33902 }
33903 }
33904 resultobj = SWIG_Py_Void();
33905 return resultobj;
33906fail:
33907 return NULL__null;
33908}
33909
33910
33911SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf2D_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33912 PyObject *resultobj = 0;
33913 GCTAPsf2D *arg1 = (GCTAPsf2D *) 0 ;
33914 void *argp1 = 0 ;
33915 int res1 = 0 ;
33916 PyObject * obj0 = 0 ;
33917 GCTAPsf2D *result = 0 ;
33918
33919 if (!PyArg_ParseTuple(args,(char *)"O:GCTAPsf2D_clone",&obj0)) SWIG_failgoto fail;
33920 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf2D, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
33921 if (!SWIG_IsOK(res1)(res1 >= 0)) {
33922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf2D_clone" "', argument " "1"" of type '" "GCTAPsf2D const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf2D_clone" "', argument "
"1"" of type '" "GCTAPsf2D const *""'"); goto fail; } while(
0)
;
33923 }
33924 arg1 = reinterpret_cast< GCTAPsf2D * >(argp1);
33925 {
33926 try {
33927 result = (GCTAPsf2D *)((GCTAPsf2D const *)arg1)->clone();
33928 }
33929 catch (const GException::out_of_range& e) {
33930 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
33931 }
33932 catch (const GExceptionHandler& e) {
33933 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33934 }
33935 catch (const std::exception& e) {
33936 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33937 }
33938 }
33939 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAPsf2D, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[24], 0
| 0)
;
33940 return resultobj;
33941fail:
33942 return NULL__null;
33943}
33944
33945
33946SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf2D_load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33947 PyObject *resultobj = 0;
33948 GCTAPsf2D *arg1 = (GCTAPsf2D *) 0 ;
33949 std::string *arg2 = 0 ;
33950 void *argp1 = 0 ;
33951 int res1 = 0 ;
33952 int res2 = SWIG_OLDOBJ((0)) ;
33953 PyObject * obj0 = 0 ;
33954 PyObject * obj1 = 0 ;
33955
33956 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAPsf2D_load",&obj0,&obj1)) SWIG_failgoto fail;
33957 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf2D, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
33958 if (!SWIG_IsOK(res1)(res1 >= 0)) {
33959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf2D_load" "', argument " "1"" of type '" "GCTAPsf2D *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf2D_load" "', argument "
"1"" of type '" "GCTAPsf2D *""'"); goto fail; } while(0)
;
33960 }
33961 arg1 = reinterpret_cast< GCTAPsf2D * >(argp1);
33962 {
33963 std::string *ptr = (std::string *)0;
33964 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
33965 if (!SWIG_IsOK(res2)(res2 >= 0)) {
33966 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAPsf2D_load" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAPsf2D_load" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
33967 }
33968 if (!ptr) {
33969 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAPsf2D_load" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAPsf2D_load" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
33970 }
33971 arg2 = ptr;
33972 }
33973 {
33974 try {
33975 (arg1)->load((std::string const &)*arg2);
33976 }
33977 catch (const GException::out_of_range& e) {
33978 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
33979 }
33980 catch (const GExceptionHandler& e) {
33981 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33982 }
33983 catch (const std::exception& e) {
33984 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33985 }
33986 }
33987 resultobj = SWIG_Py_Void();
33988 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
33989 return resultobj;
33990fail:
33991 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
33992 return NULL__null;
33993}
33994
33995
33996SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf2D_filename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33997 PyObject *resultobj = 0;
33998 GCTAPsf2D *arg1 = (GCTAPsf2D *) 0 ;
33999 void *argp1 = 0 ;
34000 int res1 = 0 ;
34001 PyObject * obj0 = 0 ;
34002 std::string result;
34003
34004 if (!PyArg_ParseTuple(args,(char *)"O:GCTAPsf2D_filename",&obj0)) SWIG_failgoto fail;
34005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf2D, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
34006 if (!SWIG_IsOK(res1)(res1 >= 0)) {
34007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf2D_filename" "', argument " "1"" of type '" "GCTAPsf2D const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf2D_filename" "', argument "
"1"" of type '" "GCTAPsf2D const *""'"); goto fail; } while(
0)
;
34008 }
34009 arg1 = reinterpret_cast< GCTAPsf2D * >(argp1);
34010 {
34011 try {
34012 result = ((GCTAPsf2D const *)arg1)->filename();
34013 }
34014 catch (const GException::out_of_range& e) {
34015 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
34016 }
34017 catch (const GExceptionHandler& e) {
34018 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34019 }
34020 catch (const std::exception& e) {
34021 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34022 }
34023 }
34024 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
34025 return resultobj;
34026fail:
34027 return NULL__null;
34028}
34029
34030
34031SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf2D_mc__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34032 PyObject *resultobj = 0;
34033 GCTAPsf2D *arg1 = (GCTAPsf2D *) 0 ;
34034 GRan *arg2 = 0 ;
34035 double *arg3 = 0 ;
34036 double *arg4 = 0 ;
34037 double *arg5 = 0 ;
34038 double *arg6 = 0 ;
34039 double *arg7 = 0 ;
34040 bool *arg8 = 0 ;
34041 void *argp1 = 0 ;
34042 int res1 = 0 ;
34043 void *argp2 = 0 ;
34044 int res2 = 0 ;
34045 double temp3 ;
34046 double val3 ;
34047 int ecode3 = 0 ;
34048 double temp4 ;
34049 double val4 ;
34050 int ecode4 = 0 ;
34051 double temp5 ;
34052 double val5 ;
34053 int ecode5 = 0 ;
34054 double temp6 ;
34055 double val6 ;
34056 int ecode6 = 0 ;
34057 double temp7 ;
34058 double val7 ;
34059 int ecode7 = 0 ;
34060 bool temp8 ;
34061 bool val8 ;
34062 int ecode8 = 0 ;
34063 PyObject * obj0 = 0 ;
34064 PyObject * obj1 = 0 ;
34065 PyObject * obj2 = 0 ;
34066 PyObject * obj3 = 0 ;
34067 PyObject * obj4 = 0 ;
34068 PyObject * obj5 = 0 ;
34069 PyObject * obj6 = 0 ;
34070 PyObject * obj7 = 0 ;
34071 double result;
34072
34073 if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:GCTAPsf2D_mc",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_failgoto fail;
34074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf2D, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
34075 if (!SWIG_IsOK(res1)(res1 >= 0)) {
34076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf2D_mc" "', argument " "1"" of type '" "GCTAPsf2D const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf2D_mc" "', argument "
"1"" of type '" "GCTAPsf2D const *""'"); goto fail; } while(
0)
;
34077 }
34078 arg1 = reinterpret_cast< GCTAPsf2D * >(argp1);
34079 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GRan, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[55]
, 0, 0)
;
34080 if (!SWIG_IsOK(res2)(res2 >= 0)) {
34081 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAPsf2D_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAPsf2D_mc" "', argument "
"2"" of type '" "GRan &""'"); goto fail; } while(0)
;
34082 }
34083 if (!argp2) {
34084 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAPsf2D_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAPsf2D_mc" "', argument " "2"" of type '" "GRan &"
"'"); goto fail; } while(0)
;
34085 }
34086 arg2 = reinterpret_cast< GRan * >(argp2);
34087 ecode3 = SWIG_AsVal_double(obj2, &val3);
34088 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
34089 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsf2D_mc" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsf2D_mc" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
34090 }
34091 temp3 = static_cast< double >(val3);
34092 arg3 = &temp3;
34093 ecode4 = SWIG_AsVal_double(obj3, &val4);
34094 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
34095 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsf2D_mc" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsf2D_mc" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
34096 }
34097 temp4 = static_cast< double >(val4);
34098 arg4 = &temp4;
34099 ecode5 = SWIG_AsVal_double(obj4, &val5);
34100 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
34101 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsf2D_mc" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsf2D_mc" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
34102 }
34103 temp5 = static_cast< double >(val5);
34104 arg5 = &temp5;
34105 ecode6 = SWIG_AsVal_double(obj5, &val6);
34106 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
34107 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAPsf2D_mc" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAPsf2D_mc" "', argument "
"6"" of type '" "double""'"); goto fail; } while(0)
;
34108 }
34109 temp6 = static_cast< double >(val6);
34110 arg6 = &temp6;
34111 ecode7 = SWIG_AsVal_double(obj6, &val7);
34112 if (!SWIG_IsOK(ecode7)(ecode7 >= 0)) {
34113 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GCTAPsf2D_mc" "', argument " "7"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode7 !=
(-1)) ? ecode7 : -5)), "in method '" "GCTAPsf2D_mc" "', argument "
"7"" of type '" "double""'"); goto fail; } while(0)
;
34114 }
34115 temp7 = static_cast< double >(val7);
34116 arg7 = &temp7;
34117 ecode8 = SWIG_AsVal_bool(obj7, &val8);
34118 if (!SWIG_IsOK(ecode8)(ecode8 >= 0)) {
34119 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "GCTAPsf2D_mc" "', argument " "8"" of type '" "bool""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode8 !=
(-1)) ? ecode8 : -5)), "in method '" "GCTAPsf2D_mc" "', argument "
"8"" of type '" "bool""'"); goto fail; } while(0)
;
34120 }
34121 temp8 = static_cast< bool >(val8);
34122 arg8 = &temp8;
34123 {
34124 try {
34125 result = (double)((GCTAPsf2D const *)arg1)->mc(*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6,(double const &)*arg7,(bool const &)*arg8);
34126 }
34127 catch (const GException::out_of_range& e) {
34128 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
34129 }
34130 catch (const GExceptionHandler& e) {
34131 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34132 }
34133 catch (const std::exception& e) {
34134 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34135 }
34136 }
34137 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
34138 return resultobj;
34139fail:
34140 return NULL__null;
34141}
34142
34143
34144SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf2D_mc__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34145 PyObject *resultobj = 0;
34146 GCTAPsf2D *arg1 = (GCTAPsf2D *) 0 ;
34147 GRan *arg2 = 0 ;
34148 double *arg3 = 0 ;
34149 double *arg4 = 0 ;
34150 double *arg5 = 0 ;
34151 double *arg6 = 0 ;
34152 double *arg7 = 0 ;
34153 void *argp1 = 0 ;
34154 int res1 = 0 ;
34155 void *argp2 = 0 ;
34156 int res2 = 0 ;
34157 double temp3 ;
34158 double val3 ;
34159 int ecode3 = 0 ;
34160 double temp4 ;
34161 double val4 ;
34162 int ecode4 = 0 ;
34163 double temp5 ;
34164 double val5 ;
34165 int ecode5 = 0 ;
34166 double temp6 ;
34167 double val6 ;
34168 int ecode6 = 0 ;
34169 double temp7 ;
34170 double val7 ;
34171 int ecode7 = 0 ;
34172 PyObject * obj0 = 0 ;
34173 PyObject * obj1 = 0 ;
34174 PyObject * obj2 = 0 ;
34175 PyObject * obj3 = 0 ;
34176 PyObject * obj4 = 0 ;
34177 PyObject * obj5 = 0 ;
34178 PyObject * obj6 = 0 ;
34179 double result;
34180
34181 if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:GCTAPsf2D_mc",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_failgoto fail;
34182 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf2D, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
34183 if (!SWIG_IsOK(res1)(res1 >= 0)) {
34184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf2D_mc" "', argument " "1"" of type '" "GCTAPsf2D const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf2D_mc" "', argument "
"1"" of type '" "GCTAPsf2D const *""'"); goto fail; } while(
0)
;
34185 }
34186 arg1 = reinterpret_cast< GCTAPsf2D * >(argp1);
34187 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GRan, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[55]
, 0, 0)
;
34188 if (!SWIG_IsOK(res2)(res2 >= 0)) {
34189 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAPsf2D_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAPsf2D_mc" "', argument "
"2"" of type '" "GRan &""'"); goto fail; } while(0)
;
34190 }
34191 if (!argp2) {
34192 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAPsf2D_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAPsf2D_mc" "', argument " "2"" of type '" "GRan &"
"'"); goto fail; } while(0)
;
34193 }
34194 arg2 = reinterpret_cast< GRan * >(argp2);
34195 ecode3 = SWIG_AsVal_double(obj2, &val3);
34196 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
34197 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsf2D_mc" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsf2D_mc" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
34198 }
34199 temp3 = static_cast< double >(val3);
34200 arg3 = &temp3;
34201 ecode4 = SWIG_AsVal_double(obj3, &val4);
34202 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
34203 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsf2D_mc" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsf2D_mc" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
34204 }
34205 temp4 = static_cast< double >(val4);
34206 arg4 = &temp4;
34207 ecode5 = SWIG_AsVal_double(obj4, &val5);
34208 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
34209 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsf2D_mc" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsf2D_mc" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
34210 }
34211 temp5 = static_cast< double >(val5);
34212 arg5 = &temp5;
34213 ecode6 = SWIG_AsVal_double(obj5, &val6);
34214 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
34215 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAPsf2D_mc" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAPsf2D_mc" "', argument "
"6"" of type '" "double""'"); goto fail; } while(0)
;
34216 }
34217 temp6 = static_cast< double >(val6);
34218 arg6 = &temp6;
34219 ecode7 = SWIG_AsVal_double(obj6, &val7);
34220 if (!SWIG_IsOK(ecode7)(ecode7 >= 0)) {
34221 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GCTAPsf2D_mc" "', argument " "7"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode7 !=
(-1)) ? ecode7 : -5)), "in method '" "GCTAPsf2D_mc" "', argument "
"7"" of type '" "double""'"); goto fail; } while(0)
;
34222 }
34223 temp7 = static_cast< double >(val7);
34224 arg7 = &temp7;
34225 {
34226 try {
34227 result = (double)((GCTAPsf2D const *)arg1)->mc(*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6,(double const &)*arg7);
34228 }
34229 catch (const GException::out_of_range& e) {
34230 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
34231 }
34232 catch (const GExceptionHandler& e) {
34233 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34234 }
34235 catch (const std::exception& e) {
34236 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34237 }
34238 }
34239 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
34240 return resultobj;
34241fail:
34242 return NULL__null;
34243}
34244
34245
34246SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf2D_mc__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34247 PyObject *resultobj = 0;
34248 GCTAPsf2D *arg1 = (GCTAPsf2D *) 0 ;
34249 GRan *arg2 = 0 ;
34250 double *arg3 = 0 ;
34251 double *arg4 = 0 ;
34252 double *arg5 = 0 ;
34253 double *arg6 = 0 ;
34254 void *argp1 = 0 ;
34255 int res1 = 0 ;
34256 void *argp2 = 0 ;
34257 int res2 = 0 ;
34258 double temp3 ;
34259 double val3 ;
34260 int ecode3 = 0 ;
34261 double temp4 ;
34262 double val4 ;
34263 int ecode4 = 0 ;
34264 double temp5 ;
34265 double val5 ;
34266 int ecode5 = 0 ;
34267 double temp6 ;
34268 double val6 ;
34269 int ecode6 = 0 ;
34270 PyObject * obj0 = 0 ;
34271 PyObject * obj1 = 0 ;
34272 PyObject * obj2 = 0 ;
34273 PyObject * obj3 = 0 ;
34274 PyObject * obj4 = 0 ;
34275 PyObject * obj5 = 0 ;
34276 double result;
34277
34278 if (!PyArg_ParseTuple(args,(char *)"OOOOOO:GCTAPsf2D_mc",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_failgoto fail;
34279 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf2D, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
34280 if (!SWIG_IsOK(res1)(res1 >= 0)) {
34281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf2D_mc" "', argument " "1"" of type '" "GCTAPsf2D const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf2D_mc" "', argument "
"1"" of type '" "GCTAPsf2D const *""'"); goto fail; } while(
0)
;
34282 }
34283 arg1 = reinterpret_cast< GCTAPsf2D * >(argp1);
34284 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GRan, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[55]
, 0, 0)
;
34285 if (!SWIG_IsOK(res2)(res2 >= 0)) {
34286 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAPsf2D_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAPsf2D_mc" "', argument "
"2"" of type '" "GRan &""'"); goto fail; } while(0)
;
34287 }
34288 if (!argp2) {
34289 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAPsf2D_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAPsf2D_mc" "', argument " "2"" of type '" "GRan &"
"'"); goto fail; } while(0)
;
34290 }
34291 arg2 = reinterpret_cast< GRan * >(argp2);
34292 ecode3 = SWIG_AsVal_double(obj2, &val3);
34293 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
34294 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsf2D_mc" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsf2D_mc" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
34295 }
34296 temp3 = static_cast< double >(val3);
34297 arg3 = &temp3;
34298 ecode4 = SWIG_AsVal_double(obj3, &val4);
34299 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
34300 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsf2D_mc" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsf2D_mc" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
34301 }
34302 temp4 = static_cast< double >(val4);
34303 arg4 = &temp4;
34304 ecode5 = SWIG_AsVal_double(obj4, &val5);
34305 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
34306 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsf2D_mc" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsf2D_mc" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
34307 }
34308 temp5 = static_cast< double >(val5);
34309 arg5 = &temp5;
34310 ecode6 = SWIG_AsVal_double(obj5, &val6);
34311 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
34312 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAPsf2D_mc" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAPsf2D_mc" "', argument "
"6"" of type '" "double""'"); goto fail; } while(0)
;
34313 }
34314 temp6 = static_cast< double >(val6);
34315 arg6 = &temp6;
34316 {
34317 try {
34318 result = (double)((GCTAPsf2D const *)arg1)->mc(*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6);
34319 }
34320 catch (const GException::out_of_range& e) {
34321 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
34322 }
34323 catch (const GExceptionHandler& e) {
34324 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34325 }
34326 catch (const std::exception& e) {
34327 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34328 }
34329 }
34330 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
34331 return resultobj;
34332fail:
34333 return NULL__null;
34334}
34335
34336
34337SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf2D_mc__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34338 PyObject *resultobj = 0;
34339 GCTAPsf2D *arg1 = (GCTAPsf2D *) 0 ;
34340 GRan *arg2 = 0 ;
34341 double *arg3 = 0 ;
34342 double *arg4 = 0 ;
34343 double *arg5 = 0 ;
34344 void *argp1 = 0 ;
34345 int res1 = 0 ;
34346 void *argp2 = 0 ;
34347 int res2 = 0 ;
34348 double temp3 ;
34349 double val3 ;
34350 int ecode3 = 0 ;
34351 double temp4 ;
34352 double val4 ;
34353 int ecode4 = 0 ;
34354 double temp5 ;
34355 double val5 ;
34356 int ecode5 = 0 ;
34357 PyObject * obj0 = 0 ;
34358 PyObject * obj1 = 0 ;
34359 PyObject * obj2 = 0 ;
34360 PyObject * obj3 = 0 ;
34361 PyObject * obj4 = 0 ;
34362 double result;
34363
34364 if (!PyArg_ParseTuple(args,(char *)"OOOOO:GCTAPsf2D_mc",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_failgoto fail;
34365 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf2D, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
34366 if (!SWIG_IsOK(res1)(res1 >= 0)) {
34367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf2D_mc" "', argument " "1"" of type '" "GCTAPsf2D const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf2D_mc" "', argument "
"1"" of type '" "GCTAPsf2D const *""'"); goto fail; } while(
0)
;
34368 }
34369 arg1 = reinterpret_cast< GCTAPsf2D * >(argp1);
34370 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GRan, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[55]
, 0, 0)
;
34371 if (!SWIG_IsOK(res2)(res2 >= 0)) {
34372 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAPsf2D_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAPsf2D_mc" "', argument "
"2"" of type '" "GRan &""'"); goto fail; } while(0)
;
34373 }
34374 if (!argp2) {
34375 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAPsf2D_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAPsf2D_mc" "', argument " "2"" of type '" "GRan &"
"'"); goto fail; } while(0)
;
34376 }
34377 arg2 = reinterpret_cast< GRan * >(argp2);
34378 ecode3 = SWIG_AsVal_double(obj2, &val3);
34379 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
34380 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsf2D_mc" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsf2D_mc" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
34381 }
34382 temp3 = static_cast< double >(val3);
34383 arg3 = &temp3;
34384 ecode4 = SWIG_AsVal_double(obj3, &val4);
34385 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
34386 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsf2D_mc" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsf2D_mc" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
34387 }
34388 temp4 = static_cast< double >(val4);
34389 arg4 = &temp4;
34390 ecode5 = SWIG_AsVal_double(obj4, &val5);
34391 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
34392 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsf2D_mc" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsf2D_mc" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
34393 }
34394 temp5 = static_cast< double >(val5);
34395 arg5 = &temp5;
34396 {
34397 try {
34398 result = (double)((GCTAPsf2D const *)arg1)->mc(*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5);
34399 }
34400 catch (const GException::out_of_range& e) {
34401 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
34402 }
34403 catch (const GExceptionHandler& e) {
34404 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34405 }
34406 catch (const std::exception& e) {
34407 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34408 }
34409 }
34410 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
34411 return resultobj;
34412fail:
34413 return NULL__null;
34414}
34415
34416
34417SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf2D_mc__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34418 PyObject *resultobj = 0;
34419 GCTAPsf2D *arg1 = (GCTAPsf2D *) 0 ;
34420 GRan *arg2 = 0 ;
34421 double *arg3 = 0 ;
34422 double *arg4 = 0 ;
34423 void *argp1 = 0 ;
34424 int res1 = 0 ;
34425 void *argp2 = 0 ;
34426 int res2 = 0 ;
34427 double temp3 ;
34428 double val3 ;
34429 int ecode3 = 0 ;
34430 double temp4 ;
34431 double val4 ;
34432 int ecode4 = 0 ;
34433 PyObject * obj0 = 0 ;
34434 PyObject * obj1 = 0 ;
34435 PyObject * obj2 = 0 ;
34436 PyObject * obj3 = 0 ;
34437 double result;
34438
34439 if (!PyArg_ParseTuple(args,(char *)"OOOO:GCTAPsf2D_mc",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
34440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf2D, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
34441 if (!SWIG_IsOK(res1)(res1 >= 0)) {
34442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf2D_mc" "', argument " "1"" of type '" "GCTAPsf2D const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf2D_mc" "', argument "
"1"" of type '" "GCTAPsf2D const *""'"); goto fail; } while(
0)
;
34443 }
34444 arg1 = reinterpret_cast< GCTAPsf2D * >(argp1);
34445 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GRan, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[55]
, 0, 0)
;
34446 if (!SWIG_IsOK(res2)(res2 >= 0)) {
34447 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAPsf2D_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAPsf2D_mc" "', argument "
"2"" of type '" "GRan &""'"); goto fail; } while(0)
;
34448 }
34449 if (!argp2) {
34450 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAPsf2D_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAPsf2D_mc" "', argument " "2"" of type '" "GRan &"
"'"); goto fail; } while(0)
;
34451 }
34452 arg2 = reinterpret_cast< GRan * >(argp2);
34453 ecode3 = SWIG_AsVal_double(obj2, &val3);
34454 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
34455 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsf2D_mc" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsf2D_mc" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
34456 }
34457 temp3 = static_cast< double >(val3);
34458 arg3 = &temp3;
34459 ecode4 = SWIG_AsVal_double(obj3, &val4);
34460 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
34461 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsf2D_mc" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsf2D_mc" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
34462 }
34463 temp4 = static_cast< double >(val4);
34464 arg4 = &temp4;
34465 {
34466 try {
34467 result = (double)((GCTAPsf2D const *)arg1)->mc(*arg2,(double const &)*arg3,(double const &)*arg4);
34468 }
34469 catch (const GException::out_of_range& e) {
34470 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
34471 }
34472 catch (const GExceptionHandler& e) {
34473 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34474 }
34475 catch (const std::exception& e) {
34476 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34477 }
34478 }
34479 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
34480 return resultobj;
34481fail:
34482 return NULL__null;
34483}
34484
34485
34486SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf2D_mc__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34487 PyObject *resultobj = 0;
34488 GCTAPsf2D *arg1 = (GCTAPsf2D *) 0 ;
34489 GRan *arg2 = 0 ;
34490 double *arg3 = 0 ;
34491 void *argp1 = 0 ;
34492 int res1 = 0 ;
34493 void *argp2 = 0 ;
34494 int res2 = 0 ;
34495 double temp3 ;
34496 double val3 ;
34497 int ecode3 = 0 ;
34498 PyObject * obj0 = 0 ;
34499 PyObject * obj1 = 0 ;
34500 PyObject * obj2 = 0 ;
34501 double result;
34502
34503 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAPsf2D_mc",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
34504 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf2D, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
34505 if (!SWIG_IsOK(res1)(res1 >= 0)) {
34506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf2D_mc" "', argument " "1"" of type '" "GCTAPsf2D const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf2D_mc" "', argument "
"1"" of type '" "GCTAPsf2D const *""'"); goto fail; } while(
0)
;
34507 }
34508 arg1 = reinterpret_cast< GCTAPsf2D * >(argp1);
34509 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GRan, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[55]
, 0, 0)
;
34510 if (!SWIG_IsOK(res2)(res2 >= 0)) {
34511 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAPsf2D_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAPsf2D_mc" "', argument "
"2"" of type '" "GRan &""'"); goto fail; } while(0)
;
34512 }
34513 if (!argp2) {
34514 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAPsf2D_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAPsf2D_mc" "', argument " "2"" of type '" "GRan &"
"'"); goto fail; } while(0)
;
34515 }
34516 arg2 = reinterpret_cast< GRan * >(argp2);
34517 ecode3 = SWIG_AsVal_double(obj2, &val3);
34518 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
34519 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsf2D_mc" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsf2D_mc" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
34520 }
34521 temp3 = static_cast< double >(val3);
34522 arg3 = &temp3;
34523 {
34524 try {
34525 result = (double)((GCTAPsf2D const *)arg1)->mc(*arg2,(double const &)*arg3);
34526 }
34527 catch (const GException::out_of_range& e) {
34528 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
34529 }
34530 catch (const GExceptionHandler& e) {
34531 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34532 }
34533 catch (const std::exception& e) {
34534 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34535 }
34536 }
34537 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
34538 return resultobj;
34539fail:
34540 return NULL__null;
34541}
34542
34543
34544SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf2D_mc(PyObject *self, PyObject *args) {
34545 int argc;
34546 PyObject *argv[9];
34547 int ii;
34548
34549 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
34550 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
34551 for (ii = 0; (ii < 8) && (ii < argc); ii++) {
34552 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
34553 }
34554 if (argc == 3) {
34555 int _v;
34556 void *vptr = 0;
34557 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsf2D, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
34558 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34559 if (_v) {
34560 void *vptr = 0;
34561 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_GRan, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[55
], 0, 0)
;
34562 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34563 if (_v) {
34564 {
34565 int res = SWIG_AsVal_double(argv[2], NULL__null);
34566 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34567 }
34568 if (_v) {
34569 return _wrap_GCTAPsf2D_mc__SWIG_5(self, args);
34570 }
34571 }
34572 }
34573 }
34574 if (argc == 4) {
34575 int _v;
34576 void *vptr = 0;
34577 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsf2D, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
34578 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34579 if (_v) {
34580 void *vptr = 0;
34581 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_GRan, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[55
], 0, 0)
;
34582 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34583 if (_v) {
34584 {
34585 int res = SWIG_AsVal_double(argv[2], NULL__null);
34586 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34587 }
34588 if (_v) {
34589 {
34590 int res = SWIG_AsVal_double(argv[3], NULL__null);
34591 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34592 }
34593 if (_v) {
34594 return _wrap_GCTAPsf2D_mc__SWIG_4(self, args);
34595 }
34596 }
34597 }
34598 }
34599 }
34600 if (argc == 5) {
34601 int _v;
34602 void *vptr = 0;
34603 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsf2D, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
34604 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34605 if (_v) {
34606 void *vptr = 0;
34607 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_GRan, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[55
], 0, 0)
;
34608 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34609 if (_v) {
34610 {
34611 int res = SWIG_AsVal_double(argv[2], NULL__null);
34612 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34613 }
34614 if (_v) {
34615 {
34616 int res = SWIG_AsVal_double(argv[3], NULL__null);
34617 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34618 }
34619 if (_v) {
34620 {
34621 int res = SWIG_AsVal_double(argv[4], NULL__null);
34622 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34623 }
34624 if (_v) {
34625 return _wrap_GCTAPsf2D_mc__SWIG_3(self, args);
34626 }
34627 }
34628 }
34629 }
34630 }
34631 }
34632 if (argc == 6) {
34633 int _v;
34634 void *vptr = 0;
34635 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsf2D, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
34636 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34637 if (_v) {
34638 void *vptr = 0;
34639 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_GRan, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[55
], 0, 0)
;
34640 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34641 if (_v) {
34642 {
34643 int res = SWIG_AsVal_double(argv[2], NULL__null);
34644 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34645 }
34646 if (_v) {
34647 {
34648 int res = SWIG_AsVal_double(argv[3], NULL__null);
34649 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34650 }
34651 if (_v) {
34652 {
34653 int res = SWIG_AsVal_double(argv[4], NULL__null);
34654 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34655 }
34656 if (_v) {
34657 {
34658 int res = SWIG_AsVal_double(argv[5], NULL__null);
34659 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34660 }
34661 if (_v) {
34662 return _wrap_GCTAPsf2D_mc__SWIG_2(self, args);
34663 }
34664 }
34665 }
34666 }
34667 }
34668 }
34669 }
34670 if (argc == 7) {
34671 int _v;
34672 void *vptr = 0;
34673 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsf2D, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
34674 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34675 if (_v) {
34676 void *vptr = 0;
34677 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_GRan, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[55
], 0, 0)
;
34678 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34679 if (_v) {
34680 {
34681 int res = SWIG_AsVal_double(argv[2], NULL__null);
34682 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34683 }
34684 if (_v) {
34685 {
34686 int res = SWIG_AsVal_double(argv[3], NULL__null);
34687 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34688 }
34689 if (_v) {
34690 {
34691 int res = SWIG_AsVal_double(argv[4], NULL__null);
34692 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34693 }
34694 if (_v) {
34695 {
34696 int res = SWIG_AsVal_double(argv[5], NULL__null);
34697 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34698 }
34699 if (_v) {
34700 {
34701 int res = SWIG_AsVal_double(argv[6], NULL__null);
34702 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34703 }
34704 if (_v) {
34705 return _wrap_GCTAPsf2D_mc__SWIG_1(self, args);
34706 }
34707 }
34708 }
34709 }
34710 }
34711 }
34712 }
34713 }
34714 if (argc == 8) {
34715 int _v;
34716 void *vptr = 0;
34717 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsf2D, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
34718 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34719 if (_v) {
34720 void *vptr = 0;
34721 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_GRan, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[55
], 0, 0)
;
34722 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34723 if (_v) {
34724 {
34725 int res = SWIG_AsVal_double(argv[2], NULL__null);
34726 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34727 }
34728 if (_v) {
34729 {
34730 int res = SWIG_AsVal_double(argv[3], NULL__null);
34731 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34732 }
34733 if (_v) {
34734 {
34735 int res = SWIG_AsVal_double(argv[4], NULL__null);
34736 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34737 }
34738 if (_v) {
34739 {
34740 int res = SWIG_AsVal_double(argv[5], NULL__null);
34741 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34742 }
34743 if (_v) {
34744 {
34745 int res = SWIG_AsVal_double(argv[6], NULL__null);
34746 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34747 }
34748 if (_v) {
34749 {
34750 int res = SWIG_AsVal_bool(argv[7], NULL__null);
34751 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34752 }
34753 if (_v) {
34754 return _wrap_GCTAPsf2D_mc__SWIG_0(self, args);
34755 }
34756 }
34757 }
34758 }
34759 }
34760 }
34761 }
34762 }
34763 }
34764
34765fail:
34766 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAPsf2D_mc'.\n"
34767 " Possible C/C++ prototypes are:\n"
34768 " GCTAPsf2D::mc(GRan &,double const &,double const &,double const &,double const &,double const &,bool const &) const\n"
34769 " GCTAPsf2D::mc(GRan &,double const &,double const &,double const &,double const &,double const &) const\n"
34770 " GCTAPsf2D::mc(GRan &,double const &,double const &,double const &,double const &) const\n"
34771 " GCTAPsf2D::mc(GRan &,double const &,double const &,double const &) const\n"
34772 " GCTAPsf2D::mc(GRan &,double const &,double const &) const\n"
34773 " GCTAPsf2D::mc(GRan &,double const &) const\n");
34774 return 0;
34775}
34776
34777
34778SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf2D_delta_max__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34779 PyObject *resultobj = 0;
34780 GCTAPsf2D *arg1 = (GCTAPsf2D *) 0 ;
34781 double *arg2 = 0 ;
34782 double *arg3 = 0 ;
34783 double *arg4 = 0 ;
34784 double *arg5 = 0 ;
34785 double *arg6 = 0 ;
34786 bool *arg7 = 0 ;
34787 void *argp1 = 0 ;
34788 int res1 = 0 ;
34789 double temp2 ;
34790 double val2 ;
34791 int ecode2 = 0 ;
34792 double temp3 ;
34793 double val3 ;
34794 int ecode3 = 0 ;
34795 double temp4 ;
34796 double val4 ;
34797 int ecode4 = 0 ;
34798 double temp5 ;
34799 double val5 ;
34800 int ecode5 = 0 ;
34801 double temp6 ;
34802 double val6 ;
34803 int ecode6 = 0 ;
34804 bool temp7 ;
34805 bool val7 ;
34806 int ecode7 = 0 ;
34807 PyObject * obj0 = 0 ;
34808 PyObject * obj1 = 0 ;
34809 PyObject * obj2 = 0 ;
34810 PyObject * obj3 = 0 ;
34811 PyObject * obj4 = 0 ;
34812 PyObject * obj5 = 0 ;
34813 PyObject * obj6 = 0 ;
34814 double result;
34815
34816 if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:GCTAPsf2D_delta_max",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_failgoto fail;
34817 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf2D, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
34818 if (!SWIG_IsOK(res1)(res1 >= 0)) {
34819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf2D_delta_max" "', argument " "1"" of type '" "GCTAPsf2D const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf2D_delta_max" "', argument "
"1"" of type '" "GCTAPsf2D const *""'"); goto fail; } while(
0)
;
34820 }
34821 arg1 = reinterpret_cast< GCTAPsf2D * >(argp1);
34822 ecode2 = SWIG_AsVal_double(obj1, &val2);
34823 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
34824 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsf2D_delta_max" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsf2D_delta_max" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
34825 }
34826 temp2 = static_cast< double >(val2);
34827 arg2 = &temp2;
34828 ecode3 = SWIG_AsVal_double(obj2, &val3);
34829 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
34830 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsf2D_delta_max" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsf2D_delta_max" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
34831 }
34832 temp3 = static_cast< double >(val3);
34833 arg3 = &temp3;
34834 ecode4 = SWIG_AsVal_double(obj3, &val4);
34835 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
34836 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsf2D_delta_max" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsf2D_delta_max" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
34837 }
34838 temp4 = static_cast< double >(val4);
34839 arg4 = &temp4;
34840 ecode5 = SWIG_AsVal_double(obj4, &val5);
34841 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
34842 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsf2D_delta_max" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsf2D_delta_max" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
34843 }
34844 temp5 = static_cast< double >(val5);
34845 arg5 = &temp5;
34846 ecode6 = SWIG_AsVal_double(obj5, &val6);
34847 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
34848 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAPsf2D_delta_max" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAPsf2D_delta_max" "', argument "
"6"" of type '" "double""'"); goto fail; } while(0)
;
34849 }
34850 temp6 = static_cast< double >(val6);
34851 arg6 = &temp6;
34852 ecode7 = SWIG_AsVal_bool(obj6, &val7);
34853 if (!SWIG_IsOK(ecode7)(ecode7 >= 0)) {
34854 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GCTAPsf2D_delta_max" "', argument " "7"" of type '" "bool""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode7 !=
(-1)) ? ecode7 : -5)), "in method '" "GCTAPsf2D_delta_max" "', argument "
"7"" of type '" "bool""'"); goto fail; } while(0)
;
34855 }
34856 temp7 = static_cast< bool >(val7);
34857 arg7 = &temp7;
34858 {
34859 try {
34860 result = (double)((GCTAPsf2D const *)arg1)->delta_max((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6,(bool const &)*arg7);
34861 }
34862 catch (const GException::out_of_range& e) {
34863 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
34864 }
34865 catch (const GExceptionHandler& e) {
34866 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34867 }
34868 catch (const std::exception& e) {
34869 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34870 }
34871 }
34872 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
34873 return resultobj;
34874fail:
34875 return NULL__null;
34876}
34877
34878
34879SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf2D_delta_max__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34880 PyObject *resultobj = 0;
34881 GCTAPsf2D *arg1 = (GCTAPsf2D *) 0 ;
34882 double *arg2 = 0 ;
34883 double *arg3 = 0 ;
34884 double *arg4 = 0 ;
34885 double *arg5 = 0 ;
34886 double *arg6 = 0 ;
34887 void *argp1 = 0 ;
34888 int res1 = 0 ;
34889 double temp2 ;
34890 double val2 ;
34891 int ecode2 = 0 ;
34892 double temp3 ;
34893 double val3 ;
34894 int ecode3 = 0 ;
34895 double temp4 ;
34896 double val4 ;
34897 int ecode4 = 0 ;
34898 double temp5 ;
34899 double val5 ;
34900 int ecode5 = 0 ;
34901 double temp6 ;
34902 double val6 ;
34903 int ecode6 = 0 ;
34904 PyObject * obj0 = 0 ;
34905 PyObject * obj1 = 0 ;
34906 PyObject * obj2 = 0 ;
34907 PyObject * obj3 = 0 ;
34908 PyObject * obj4 = 0 ;
34909 PyObject * obj5 = 0 ;
34910 double result;
34911
34912 if (!PyArg_ParseTuple(args,(char *)"OOOOOO:GCTAPsf2D_delta_max",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_failgoto fail;
34913 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf2D, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
34914 if (!SWIG_IsOK(res1)(res1 >= 0)) {
34915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf2D_delta_max" "', argument " "1"" of type '" "GCTAPsf2D const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf2D_delta_max" "', argument "
"1"" of type '" "GCTAPsf2D const *""'"); goto fail; } while(
0)
;
34916 }
34917 arg1 = reinterpret_cast< GCTAPsf2D * >(argp1);
34918 ecode2 = SWIG_AsVal_double(obj1, &val2);
34919 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
34920 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsf2D_delta_max" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsf2D_delta_max" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
34921 }
34922 temp2 = static_cast< double >(val2);
34923 arg2 = &temp2;
34924 ecode3 = SWIG_AsVal_double(obj2, &val3);
34925 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
34926 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsf2D_delta_max" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsf2D_delta_max" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
34927 }
34928 temp3 = static_cast< double >(val3);
34929 arg3 = &temp3;
34930 ecode4 = SWIG_AsVal_double(obj3, &val4);
34931 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
34932 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsf2D_delta_max" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsf2D_delta_max" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
34933 }
34934 temp4 = static_cast< double >(val4);
34935 arg4 = &temp4;
34936 ecode5 = SWIG_AsVal_double(obj4, &val5);
34937 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
34938 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsf2D_delta_max" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsf2D_delta_max" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
34939 }
34940 temp5 = static_cast< double >(val5);
34941 arg5 = &temp5;
34942 ecode6 = SWIG_AsVal_double(obj5, &val6);
34943 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
34944 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAPsf2D_delta_max" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAPsf2D_delta_max" "', argument "
"6"" of type '" "double""'"); goto fail; } while(0)
;
34945 }
34946 temp6 = static_cast< double >(val6);
34947 arg6 = &temp6;
34948 {
34949 try {
34950 result = (double)((GCTAPsf2D const *)arg1)->delta_max((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6);
34951 }
34952 catch (const GException::out_of_range& e) {
34953 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
34954 }
34955 catch (const GExceptionHandler& e) {
34956 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34957 }
34958 catch (const std::exception& e) {
34959 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34960 }
34961 }
34962 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
34963 return resultobj;
34964fail:
34965 return NULL__null;
34966}
34967
34968
34969SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf2D_delta_max__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34970 PyObject *resultobj = 0;
34971 GCTAPsf2D *arg1 = (GCTAPsf2D *) 0 ;
34972 double *arg2 = 0 ;
34973 double *arg3 = 0 ;
34974 double *arg4 = 0 ;
34975 double *arg5 = 0 ;
34976 void *argp1 = 0 ;
34977 int res1 = 0 ;
34978 double temp2 ;
34979 double val2 ;
34980 int ecode2 = 0 ;
34981 double temp3 ;
34982 double val3 ;
34983 int ecode3 = 0 ;
34984 double temp4 ;
34985 double val4 ;
34986 int ecode4 = 0 ;
34987 double temp5 ;
34988 double val5 ;
34989 int ecode5 = 0 ;
34990 PyObject * obj0 = 0 ;
34991 PyObject * obj1 = 0 ;
34992 PyObject * obj2 = 0 ;
34993 PyObject * obj3 = 0 ;
34994 PyObject * obj4 = 0 ;
34995 double result;
34996
34997 if (!PyArg_ParseTuple(args,(char *)"OOOOO:GCTAPsf2D_delta_max",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_failgoto fail;
34998 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf2D, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
34999 if (!SWIG_IsOK(res1)(res1 >= 0)) {
35000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf2D_delta_max" "', argument " "1"" of type '" "GCTAPsf2D const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf2D_delta_max" "', argument "
"1"" of type '" "GCTAPsf2D const *""'"); goto fail; } while(
0)
;
35001 }
35002 arg1 = reinterpret_cast< GCTAPsf2D * >(argp1);
35003 ecode2 = SWIG_AsVal_double(obj1, &val2);
35004 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
35005 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsf2D_delta_max" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsf2D_delta_max" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
35006 }
35007 temp2 = static_cast< double >(val2);
35008 arg2 = &temp2;
35009 ecode3 = SWIG_AsVal_double(obj2, &val3);
35010 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
35011 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsf2D_delta_max" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsf2D_delta_max" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
35012 }
35013 temp3 = static_cast< double >(val3);
35014 arg3 = &temp3;
35015 ecode4 = SWIG_AsVal_double(obj3, &val4);
35016 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
35017 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsf2D_delta_max" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsf2D_delta_max" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
35018 }
35019 temp4 = static_cast< double >(val4);
35020 arg4 = &temp4;
35021 ecode5 = SWIG_AsVal_double(obj4, &val5);
35022 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
35023 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsf2D_delta_max" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsf2D_delta_max" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
35024 }
35025 temp5 = static_cast< double >(val5);
35026 arg5 = &temp5;
35027 {
35028 try {
35029 result = (double)((GCTAPsf2D const *)arg1)->delta_max((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5);
35030 }
35031 catch (const GException::out_of_range& e) {
35032 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
35033 }
35034 catch (const GExceptionHandler& e) {
35035 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35036 }
35037 catch (const std::exception& e) {
35038 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35039 }
35040 }
35041 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
35042 return resultobj;
35043fail:
35044 return NULL__null;
35045}
35046
35047
35048SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf2D_delta_max__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35049 PyObject *resultobj = 0;
35050 GCTAPsf2D *arg1 = (GCTAPsf2D *) 0 ;
35051 double *arg2 = 0 ;
35052 double *arg3 = 0 ;
35053 double *arg4 = 0 ;
35054 void *argp1 = 0 ;
35055 int res1 = 0 ;
35056 double temp2 ;
35057 double val2 ;
35058 int ecode2 = 0 ;
35059 double temp3 ;
35060 double val3 ;
35061 int ecode3 = 0 ;
35062 double temp4 ;
35063 double val4 ;
35064 int ecode4 = 0 ;
35065 PyObject * obj0 = 0 ;
35066 PyObject * obj1 = 0 ;
35067 PyObject * obj2 = 0 ;
35068 PyObject * obj3 = 0 ;
35069 double result;
35070
35071 if (!PyArg_ParseTuple(args,(char *)"OOOO:GCTAPsf2D_delta_max",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
35072 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf2D, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
35073 if (!SWIG_IsOK(res1)(res1 >= 0)) {
35074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf2D_delta_max" "', argument " "1"" of type '" "GCTAPsf2D const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf2D_delta_max" "', argument "
"1"" of type '" "GCTAPsf2D const *""'"); goto fail; } while(
0)
;
35075 }
35076 arg1 = reinterpret_cast< GCTAPsf2D * >(argp1);
35077 ecode2 = SWIG_AsVal_double(obj1, &val2);
35078 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
35079 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsf2D_delta_max" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsf2D_delta_max" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
35080 }
35081 temp2 = static_cast< double >(val2);
35082 arg2 = &temp2;
35083 ecode3 = SWIG_AsVal_double(obj2, &val3);
35084 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
35085 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsf2D_delta_max" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsf2D_delta_max" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
35086 }
35087 temp3 = static_cast< double >(val3);
35088 arg3 = &temp3;
35089 ecode4 = SWIG_AsVal_double(obj3, &val4);
35090 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
35091 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsf2D_delta_max" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsf2D_delta_max" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
35092 }
35093 temp4 = static_cast< double >(val4);
35094 arg4 = &temp4;
35095 {
35096 try {
35097 result = (double)((GCTAPsf2D const *)arg1)->delta_max((double const &)*arg2,(double const &)*arg3,(double const &)*arg4);
35098 }
35099 catch (const GException::out_of_range& e) {
35100 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
35101 }
35102 catch (const GExceptionHandler& e) {
35103 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35104 }
35105 catch (const std::exception& e) {
35106 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35107 }
35108 }
35109 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
35110 return resultobj;
35111fail:
35112 return NULL__null;
35113}
35114
35115
35116SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf2D_delta_max__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35117 PyObject *resultobj = 0;
35118 GCTAPsf2D *arg1 = (GCTAPsf2D *) 0 ;
35119 double *arg2 = 0 ;
35120 double *arg3 = 0 ;
35121 void *argp1 = 0 ;
35122 int res1 = 0 ;
35123 double temp2 ;
35124 double val2 ;
35125 int ecode2 = 0 ;
35126 double temp3 ;
35127 double val3 ;
35128 int ecode3 = 0 ;
35129 PyObject * obj0 = 0 ;
35130 PyObject * obj1 = 0 ;
35131 PyObject * obj2 = 0 ;
35132 double result;
35133
35134 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAPsf2D_delta_max",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
35135 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf2D, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
35136 if (!SWIG_IsOK(res1)(res1 >= 0)) {
35137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf2D_delta_max" "', argument " "1"" of type '" "GCTAPsf2D const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf2D_delta_max" "', argument "
"1"" of type '" "GCTAPsf2D const *""'"); goto fail; } while(
0)
;
35138 }
35139 arg1 = reinterpret_cast< GCTAPsf2D * >(argp1);
35140 ecode2 = SWIG_AsVal_double(obj1, &val2);
35141 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
35142 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsf2D_delta_max" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsf2D_delta_max" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
35143 }
35144 temp2 = static_cast< double >(val2);
35145 arg2 = &temp2;
35146 ecode3 = SWIG_AsVal_double(obj2, &val3);
35147 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
35148 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsf2D_delta_max" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsf2D_delta_max" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
35149 }
35150 temp3 = static_cast< double >(val3);
35151 arg3 = &temp3;
35152 {
35153 try {
35154 result = (double)((GCTAPsf2D const *)arg1)->delta_max((double const &)*arg2,(double const &)*arg3);
35155 }
35156 catch (const GException::out_of_range& e) {
35157 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
35158 }
35159 catch (const GExceptionHandler& e) {
35160 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35161 }
35162 catch (const std::exception& e) {
35163 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35164 }
35165 }
35166 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
35167 return resultobj;
35168fail:
35169 return NULL__null;
35170}
35171
35172
35173SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf2D_delta_max__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35174 PyObject *resultobj = 0;
35175 GCTAPsf2D *arg1 = (GCTAPsf2D *) 0 ;
35176 double *arg2 = 0 ;
35177 void *argp1 = 0 ;
35178 int res1 = 0 ;
35179 double temp2 ;
35180 double val2 ;
35181 int ecode2 = 0 ;
35182 PyObject * obj0 = 0 ;
35183 PyObject * obj1 = 0 ;
35184 double result;
35185
35186 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAPsf2D_delta_max",&obj0,&obj1)) SWIG_failgoto fail;
35187 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf2D, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
35188 if (!SWIG_IsOK(res1)(res1 >= 0)) {
35189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf2D_delta_max" "', argument " "1"" of type '" "GCTAPsf2D const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf2D_delta_max" "', argument "
"1"" of type '" "GCTAPsf2D const *""'"); goto fail; } while(
0)
;
35190 }
35191 arg1 = reinterpret_cast< GCTAPsf2D * >(argp1);
35192 ecode2 = SWIG_AsVal_double(obj1, &val2);
35193 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
35194 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsf2D_delta_max" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsf2D_delta_max" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
35195 }
35196 temp2 = static_cast< double >(val2);
35197 arg2 = &temp2;
35198 {
35199 try {
35200 result = (double)((GCTAPsf2D const *)arg1)->delta_max((double const &)*arg2);
35201 }
35202 catch (const GException::out_of_range& e) {
35203 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
35204 }
35205 catch (const GExceptionHandler& e) {
35206 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35207 }
35208 catch (const std::exception& e) {
35209 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35210 }
35211 }
35212 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
35213 return resultobj;
35214fail:
35215 return NULL__null;
35216}
35217
35218
35219SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf2D_delta_max(PyObject *self, PyObject *args) {
35220 int argc;
35221 PyObject *argv[8];
35222 int ii;
35223
35224 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
35225 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
35226 for (ii = 0; (ii < 7) && (ii < argc); ii++) {
35227 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
35228 }
35229 if (argc == 2) {
35230 int _v;
35231 void *vptr = 0;
35232 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsf2D, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
35233 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35234 if (_v) {
35235 {
35236 int res = SWIG_AsVal_double(argv[1], NULL__null);
35237 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35238 }
35239 if (_v) {
35240 return _wrap_GCTAPsf2D_delta_max__SWIG_5(self, args);
35241 }
35242 }
35243 }
35244 if (argc == 3) {
35245 int _v;
35246 void *vptr = 0;
35247 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsf2D, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
35248 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35249 if (_v) {
35250 {
35251 int res = SWIG_AsVal_double(argv[1], NULL__null);
35252 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35253 }
35254 if (_v) {
35255 {
35256 int res = SWIG_AsVal_double(argv[2], NULL__null);
35257 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35258 }
35259 if (_v) {
35260 return _wrap_GCTAPsf2D_delta_max__SWIG_4(self, args);
35261 }
35262 }
35263 }
35264 }
35265 if (argc == 4) {
35266 int _v;
35267 void *vptr = 0;
35268 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsf2D, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
35269 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35270 if (_v) {
35271 {
35272 int res = SWIG_AsVal_double(argv[1], NULL__null);
35273 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35274 }
35275 if (_v) {
35276 {
35277 int res = SWIG_AsVal_double(argv[2], NULL__null);
35278 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35279 }
35280 if (_v) {
35281 {
35282 int res = SWIG_AsVal_double(argv[3], NULL__null);
35283 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35284 }
35285 if (_v) {
35286 return _wrap_GCTAPsf2D_delta_max__SWIG_3(self, args);
35287 }
35288 }
35289 }
35290 }
35291 }
35292 if (argc == 5) {
35293 int _v;
35294 void *vptr = 0;
35295 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsf2D, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
35296 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35297 if (_v) {
35298 {
35299 int res = SWIG_AsVal_double(argv[1], NULL__null);
35300 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35301 }
35302 if (_v) {
35303 {
35304 int res = SWIG_AsVal_double(argv[2], NULL__null);
35305 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35306 }
35307 if (_v) {
35308 {
35309 int res = SWIG_AsVal_double(argv[3], NULL__null);
35310 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35311 }
35312 if (_v) {
35313 {
35314 int res = SWIG_AsVal_double(argv[4], NULL__null);
35315 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35316 }
35317 if (_v) {
35318 return _wrap_GCTAPsf2D_delta_max__SWIG_2(self, args);
35319 }
35320 }
35321 }
35322 }
35323 }
35324 }
35325 if (argc == 6) {
35326 int _v;
35327 void *vptr = 0;
35328 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsf2D, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
35329 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35330 if (_v) {
35331 {
35332 int res = SWIG_AsVal_double(argv[1], NULL__null);
35333 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35334 }
35335 if (_v) {
35336 {
35337 int res = SWIG_AsVal_double(argv[2], NULL__null);
35338 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35339 }
35340 if (_v) {
35341 {
35342 int res = SWIG_AsVal_double(argv[3], NULL__null);
35343 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35344 }
35345 if (_v) {
35346 {
35347 int res = SWIG_AsVal_double(argv[4], NULL__null);
35348 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35349 }
35350 if (_v) {
35351 {
35352 int res = SWIG_AsVal_double(argv[5], NULL__null);
35353 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35354 }
35355 if (_v) {
35356 return _wrap_GCTAPsf2D_delta_max__SWIG_1(self, args);
35357 }
35358 }
35359 }
35360 }
35361 }
35362 }
35363 }
35364 if (argc == 7) {
35365 int _v;
35366 void *vptr = 0;
35367 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsf2D, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
35368 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35369 if (_v) {
35370 {
35371 int res = SWIG_AsVal_double(argv[1], NULL__null);
35372 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35373 }
35374 if (_v) {
35375 {
35376 int res = SWIG_AsVal_double(argv[2], NULL__null);
35377 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35378 }
35379 if (_v) {
35380 {
35381 int res = SWIG_AsVal_double(argv[3], NULL__null);
35382 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35383 }
35384 if (_v) {
35385 {
35386 int res = SWIG_AsVal_double(argv[4], NULL__null);
35387 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35388 }
35389 if (_v) {
35390 {
35391 int res = SWIG_AsVal_double(argv[5], NULL__null);
35392 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35393 }
35394 if (_v) {
35395 {
35396 int res = SWIG_AsVal_bool(argv[6], NULL__null);
35397 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35398 }
35399 if (_v) {
35400 return _wrap_GCTAPsf2D_delta_max__SWIG_0(self, args);
35401 }
35402 }
35403 }
35404 }
35405 }
35406 }
35407 }
35408 }
35409
35410fail:
35411 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAPsf2D_delta_max'.\n"
35412 " Possible C/C++ prototypes are:\n"
35413 " GCTAPsf2D::delta_max(double const &,double const &,double const &,double const &,double const &,bool const &) const\n"
35414 " GCTAPsf2D::delta_max(double const &,double const &,double const &,double const &,double const &) const\n"
35415 " GCTAPsf2D::delta_max(double const &,double const &,double const &,double const &) const\n"
35416 " GCTAPsf2D::delta_max(double const &,double const &,double const &) const\n"
35417 " GCTAPsf2D::delta_max(double const &,double const &) const\n"
35418 " GCTAPsf2D::delta_max(double const &) const\n");
35419 return 0;
35420}
35421
35422
35423SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsf2D_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35424 PyObject *resultobj = 0;
35425 GCTAPsf2D *arg1 = (GCTAPsf2D *) 0 ;
35426 void *argp1 = 0 ;
35427 int res1 = 0 ;
35428 PyObject * obj0 = 0 ;
35429 GCTAPsf2D result;
35430
35431 if (!PyArg_ParseTuple(args,(char *)"O:GCTAPsf2D_copy",&obj0)) SWIG_failgoto fail;
35432 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsf2D, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
35433 if (!SWIG_IsOK(res1)(res1 >= 0)) {
35434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsf2D_copy" "', argument " "1"" of type '" "GCTAPsf2D *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsf2D_copy" "', argument "
"1"" of type '" "GCTAPsf2D *""'"); goto fail; } while(0)
;
35435 }
35436 arg1 = reinterpret_cast< GCTAPsf2D * >(argp1);
35437 {
35438 try {
35439 result = GCTAPsf2D_copy(arg1);
35440 }
35441 catch (const GException::out_of_range& e) {
35442 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
35443 }
35444 catch (const GExceptionHandler& e) {
35445 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35446 }
35447 catch (const std::exception& e) {
35448 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35449 }
35450 }
35451 resultobj = SWIG_NewPointerObj((new GCTAPsf2D(static_cast< const GCTAPsf2D& >(result))), SWIGTYPE_p_GCTAPsf2D, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GCTAPsf2D(static_cast<
const GCTAPsf2D& >(result))), swig_types[24], 0x1 | 0
)
;
35452 return resultobj;
35453fail:
35454 return NULL__null;
35455}
35456
35457
35458SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GCTAPsf2D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35459 PyObject *obj;
35460 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
35461 SWIG_TypeNewClientData(SWIGTYPE_p_GCTAPsf2Dswig_types[24], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
35462 return SWIG_Py_Void();
35463}
35464
35465SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAPsfKing__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35466 PyObject *resultobj = 0;
35467 GCTAPsfKing *result = 0 ;
35468
35469 if (!PyArg_ParseTuple(args,(char *)":new_GCTAPsfKing")) SWIG_failgoto fail;
35470 {
35471 try {
35472 result = (GCTAPsfKing *)new GCTAPsfKing();
35473 }
35474 catch (const GException::out_of_range& e) {
35475 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
35476 }
35477 catch (const GExceptionHandler& e) {
35478 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35479 }
35480 catch (const std::exception& e) {
35481 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35482 }
35483 }
35484 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAPsfKing, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[25], (
(0x1 << 1) | 0x1) | 0)
;
35485 return resultobj;
35486fail:
35487 return NULL__null;
35488}
35489
35490
35491SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAPsfKing__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35492 PyObject *resultobj = 0;
35493 std::string *arg1 = 0 ;
35494 int res1 = SWIG_OLDOBJ((0)) ;
35495 PyObject * obj0 = 0 ;
35496 GCTAPsfKing *result = 0 ;
35497
35498 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAPsfKing",&obj0)) SWIG_failgoto fail;
35499 {
35500 std::string *ptr = (std::string *)0;
35501 res1 = SWIG_AsPtr_std_string(obj0, &ptr);
35502 if (!SWIG_IsOK(res1)(res1 >= 0)) {
35503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAPsfKing" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAPsfKing" "', argument "
"1"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
35504 }
35505 if (!ptr) {
35506 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAPsfKing" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAPsfKing" "', argument " "1"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
35507 }
35508 arg1 = ptr;
35509 }
35510 {
35511 try {
35512 result = (GCTAPsfKing *)new GCTAPsfKing((std::string const &)*arg1);
35513 }
35514 catch (const GException::out_of_range& e) {
35515 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
35516 }
35517 catch (const GExceptionHandler& e) {
35518 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35519 }
35520 catch (const std::exception& e) {
35521 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35522 }
35523 }
35524 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAPsfKing, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[25], (
(0x1 << 1) | 0x1) | 0)
;
35525 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
35526 return resultobj;
35527fail:
35528 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
35529 return NULL__null;
35530}
35531
35532
35533SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAPsfKing__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35534 PyObject *resultobj = 0;
35535 GCTAPsfKing *arg1 = 0 ;
35536 void *argp1 = 0 ;
35537 int res1 = 0 ;
35538 PyObject * obj0 = 0 ;
35539 GCTAPsfKing *result = 0 ;
35540
35541 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAPsfKing",&obj0)) SWIG_failgoto fail;
35542 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GCTAPsfKing, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0 | 0, 0)
;
35543 if (!SWIG_IsOK(res1)(res1 >= 0)) {
35544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAPsfKing" "', argument " "1"" of type '" "GCTAPsfKing const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAPsfKing" "', argument "
"1"" of type '" "GCTAPsfKing const &""'"); goto fail; } while
(0)
;
35545 }
35546 if (!argp1) {
35547 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAPsfKing" "', argument " "1"" of type '" "GCTAPsfKing const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAPsfKing" "', argument " "1"" of type '"
"GCTAPsfKing const &""'"); goto fail; } while(0)
;
35548 }
35549 arg1 = reinterpret_cast< GCTAPsfKing * >(argp1);
35550 {
35551 try {
35552 result = (GCTAPsfKing *)new GCTAPsfKing((GCTAPsfKing const &)*arg1);
35553 }
35554 catch (const GException::out_of_range& e) {
35555 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
35556 }
35557 catch (const GExceptionHandler& e) {
35558 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35559 }
35560 catch (const std::exception& e) {
35561 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35562 }
35563 }
35564 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAPsfKing, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[25], (
(0x1 << 1) | 0x1) | 0)
;
35565 return resultobj;
35566fail:
35567 return NULL__null;
35568}
35569
35570
35571SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAPsfKing(PyObject *self, PyObject *args) {
35572 int argc;
35573 PyObject *argv[2];
35574 int ii;
35575
35576 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
35577 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
35578 for (ii = 0; (ii < 1) && (ii < argc); ii++) {
35579 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
35580 }
35581 if (argc == 0) {
35582 return _wrap_new_GCTAPsfKing__SWIG_0(self, args);
35583 }
35584 if (argc == 1) {
35585 int _v;
35586 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GCTAPsfKing, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[25], 0, 0
)
;
35587 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35588 if (_v) {
35589 return _wrap_new_GCTAPsfKing__SWIG_2(self, args);
35590 }
35591 }
35592 if (argc == 1) {
35593 int _v;
35594 int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
35595 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35596 if (_v) {
35597 return _wrap_new_GCTAPsfKing__SWIG_1(self, args);
35598 }
35599 }
35600
35601fail:
35602 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GCTAPsfKing'.\n"
35603 " Possible C/C++ prototypes are:\n"
35604 " GCTAPsfKing::GCTAPsfKing()\n"
35605 " GCTAPsfKing::GCTAPsfKing(std::string const &)\n"
35606 " GCTAPsfKing::GCTAPsfKing(GCTAPsfKing const &)\n");
35607 return 0;
35608}
35609
35610
35611SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GCTAPsfKing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35612 PyObject *resultobj = 0;
35613 GCTAPsfKing *arg1 = (GCTAPsfKing *) 0 ;
35614 void *argp1 = 0 ;
35615 int res1 = 0 ;
35616 PyObject * obj0 = 0 ;
35617
35618 if (!PyArg_ParseTuple(args,(char *)"O:delete_GCTAPsfKing",&obj0)) SWIG_failgoto fail;
35619 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfKing, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0x1 | 0, 0)
;
35620 if (!SWIG_IsOK(res1)(res1 >= 0)) {
35621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GCTAPsfKing" "', argument " "1"" of type '" "GCTAPsfKing *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GCTAPsfKing" "', argument "
"1"" of type '" "GCTAPsfKing *""'"); goto fail; } while(0)
;
35622 }
35623 arg1 = reinterpret_cast< GCTAPsfKing * >(argp1);
35624 {
35625 try {
35626 delete arg1;
35627 }
35628 catch (const GException::out_of_range& e) {
35629 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
35630 }
35631 catch (const GExceptionHandler& e) {
35632 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35633 }
35634 catch (const std::exception& e) {
35635 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35636 }
35637 }
35638 resultobj = SWIG_Py_Void();
35639 return resultobj;
35640fail:
35641 return NULL__null;
35642}
35643
35644
35645SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfKing___call____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35646 PyObject *resultobj = 0;
35647 GCTAPsfKing *arg1 = (GCTAPsfKing *) 0 ;
35648 double *arg2 = 0 ;
35649 double *arg3 = 0 ;
35650 double *arg4 = 0 ;
35651 double *arg5 = 0 ;
35652 double *arg6 = 0 ;
35653 double *arg7 = 0 ;
35654 bool *arg8 = 0 ;
35655 void *argp1 = 0 ;
35656 int res1 = 0 ;
35657 double temp2 ;
35658 double val2 ;
35659 int ecode2 = 0 ;
35660 double temp3 ;
35661 double val3 ;
35662 int ecode3 = 0 ;
35663 double temp4 ;
35664 double val4 ;
35665 int ecode4 = 0 ;
35666 double temp5 ;
35667 double val5 ;
35668 int ecode5 = 0 ;
35669 double temp6 ;
35670 double val6 ;
35671 int ecode6 = 0 ;
35672 double temp7 ;
35673 double val7 ;
35674 int ecode7 = 0 ;
35675 bool temp8 ;
35676 bool val8 ;
35677 int ecode8 = 0 ;
35678 PyObject * obj0 = 0 ;
35679 PyObject * obj1 = 0 ;
35680 PyObject * obj2 = 0 ;
35681 PyObject * obj3 = 0 ;
35682 PyObject * obj4 = 0 ;
35683 PyObject * obj5 = 0 ;
35684 PyObject * obj6 = 0 ;
35685 PyObject * obj7 = 0 ;
35686 double result;
35687
35688 if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:GCTAPsfKing___call__",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_failgoto fail;
35689 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfKing, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0 | 0, 0)
;
35690 if (!SWIG_IsOK(res1)(res1 >= 0)) {
35691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfKing___call__" "', argument " "1"" of type '" "GCTAPsfKing const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfKing___call__" "', argument "
"1"" of type '" "GCTAPsfKing const *""'"); goto fail; } while
(0)
;
35692 }
35693 arg1 = reinterpret_cast< GCTAPsfKing * >(argp1);
35694 ecode2 = SWIG_AsVal_double(obj1, &val2);
35695 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
35696 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsfKing___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsfKing___call__" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
35697 }
35698 temp2 = static_cast< double >(val2);
35699 arg2 = &temp2;
35700 ecode3 = SWIG_AsVal_double(obj2, &val3);
35701 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
35702 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfKing___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfKing___call__" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
35703 }
35704 temp3 = static_cast< double >(val3);
35705 arg3 = &temp3;
35706 ecode4 = SWIG_AsVal_double(obj3, &val4);
35707 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
35708 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsfKing___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsfKing___call__" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
35709 }
35710 temp4 = static_cast< double >(val4);
35711 arg4 = &temp4;
35712 ecode5 = SWIG_AsVal_double(obj4, &val5);
35713 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
35714 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsfKing___call__" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsfKing___call__" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
35715 }
35716 temp5 = static_cast< double >(val5);
35717 arg5 = &temp5;
35718 ecode6 = SWIG_AsVal_double(obj5, &val6);
35719 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
35720 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAPsfKing___call__" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAPsfKing___call__" "', argument "
"6"" of type '" "double""'"); goto fail; } while(0)
;
35721 }
35722 temp6 = static_cast< double >(val6);
35723 arg6 = &temp6;
35724 ecode7 = SWIG_AsVal_double(obj6, &val7);
35725 if (!SWIG_IsOK(ecode7)(ecode7 >= 0)) {
35726 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GCTAPsfKing___call__" "', argument " "7"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode7 !=
(-1)) ? ecode7 : -5)), "in method '" "GCTAPsfKing___call__" "', argument "
"7"" of type '" "double""'"); goto fail; } while(0)
;
35727 }
35728 temp7 = static_cast< double >(val7);
35729 arg7 = &temp7;
35730 ecode8 = SWIG_AsVal_bool(obj7, &val8);
35731 if (!SWIG_IsOK(ecode8)(ecode8 >= 0)) {
35732 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "GCTAPsfKing___call__" "', argument " "8"" of type '" "bool""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode8 !=
(-1)) ? ecode8 : -5)), "in method '" "GCTAPsfKing___call__" "', argument "
"8"" of type '" "bool""'"); goto fail; } while(0)
;
35733 }
35734 temp8 = static_cast< bool >(val8);
35735 arg8 = &temp8;
35736 {
35737 try {
35738 result = (double)((GCTAPsfKing const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6,(double const &)*arg7,(bool const &)*arg8);
35739 }
35740 catch (const GException::out_of_range& e) {
35741 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
35742 }
35743 catch (const GExceptionHandler& e) {
35744 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35745 }
35746 catch (const std::exception& e) {
35747 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35748 }
35749 }
35750 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
35751 return resultobj;
35752fail:
35753 return NULL__null;
35754}
35755
35756
35757SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfKing___call____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35758 PyObject *resultobj = 0;
35759 GCTAPsfKing *arg1 = (GCTAPsfKing *) 0 ;
35760 double *arg2 = 0 ;
35761 double *arg3 = 0 ;
35762 double *arg4 = 0 ;
35763 double *arg5 = 0 ;
35764 double *arg6 = 0 ;
35765 double *arg7 = 0 ;
35766 void *argp1 = 0 ;
35767 int res1 = 0 ;
35768 double temp2 ;
35769 double val2 ;
35770 int ecode2 = 0 ;
35771 double temp3 ;
35772 double val3 ;
35773 int ecode3 = 0 ;
35774 double temp4 ;
35775 double val4 ;
35776 int ecode4 = 0 ;
35777 double temp5 ;
35778 double val5 ;
35779 int ecode5 = 0 ;
35780 double temp6 ;
35781 double val6 ;
35782 int ecode6 = 0 ;
35783 double temp7 ;
35784 double val7 ;
35785 int ecode7 = 0 ;
35786 PyObject * obj0 = 0 ;
35787 PyObject * obj1 = 0 ;
35788 PyObject * obj2 = 0 ;
35789 PyObject * obj3 = 0 ;
35790 PyObject * obj4 = 0 ;
35791 PyObject * obj5 = 0 ;
35792 PyObject * obj6 = 0 ;
35793 double result;
35794
35795 if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:GCTAPsfKing___call__",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_failgoto fail;
35796 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfKing, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0 | 0, 0)
;
35797 if (!SWIG_IsOK(res1)(res1 >= 0)) {
35798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfKing___call__" "', argument " "1"" of type '" "GCTAPsfKing const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfKing___call__" "', argument "
"1"" of type '" "GCTAPsfKing const *""'"); goto fail; } while
(0)
;
35799 }
35800 arg1 = reinterpret_cast< GCTAPsfKing * >(argp1);
35801 ecode2 = SWIG_AsVal_double(obj1, &val2);
35802 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
35803 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsfKing___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsfKing___call__" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
35804 }
35805 temp2 = static_cast< double >(val2);
35806 arg2 = &temp2;
35807 ecode3 = SWIG_AsVal_double(obj2, &val3);
35808 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
35809 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfKing___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfKing___call__" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
35810 }
35811 temp3 = static_cast< double >(val3);
35812 arg3 = &temp3;
35813 ecode4 = SWIG_AsVal_double(obj3, &val4);
35814 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
35815 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsfKing___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsfKing___call__" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
35816 }
35817 temp4 = static_cast< double >(val4);
35818 arg4 = &temp4;
35819 ecode5 = SWIG_AsVal_double(obj4, &val5);
35820 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
35821 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsfKing___call__" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsfKing___call__" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
35822 }
35823 temp5 = static_cast< double >(val5);
35824 arg5 = &temp5;
35825 ecode6 = SWIG_AsVal_double(obj5, &val6);
35826 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
35827 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAPsfKing___call__" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAPsfKing___call__" "', argument "
"6"" of type '" "double""'"); goto fail; } while(0)
;
35828 }
35829 temp6 = static_cast< double >(val6);
35830 arg6 = &temp6;
35831 ecode7 = SWIG_AsVal_double(obj6, &val7);
35832 if (!SWIG_IsOK(ecode7)(ecode7 >= 0)) {
35833 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GCTAPsfKing___call__" "', argument " "7"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode7 !=
(-1)) ? ecode7 : -5)), "in method '" "GCTAPsfKing___call__" "', argument "
"7"" of type '" "double""'"); goto fail; } while(0)
;
35834 }
35835 temp7 = static_cast< double >(val7);
35836 arg7 = &temp7;
35837 {
35838 try {
35839 result = (double)((GCTAPsfKing const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6,(double const &)*arg7);
35840 }
35841 catch (const GException::out_of_range& e) {
35842 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
35843 }
35844 catch (const GExceptionHandler& e) {
35845 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35846 }
35847 catch (const std::exception& e) {
35848 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35849 }
35850 }
35851 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
35852 return resultobj;
35853fail:
35854 return NULL__null;
35855}
35856
35857
35858SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfKing___call____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35859 PyObject *resultobj = 0;
35860 GCTAPsfKing *arg1 = (GCTAPsfKing *) 0 ;
35861 double *arg2 = 0 ;
35862 double *arg3 = 0 ;
35863 double *arg4 = 0 ;
35864 double *arg5 = 0 ;
35865 double *arg6 = 0 ;
35866 void *argp1 = 0 ;
35867 int res1 = 0 ;
35868 double temp2 ;
35869 double val2 ;
35870 int ecode2 = 0 ;
35871 double temp3 ;
35872 double val3 ;
35873 int ecode3 = 0 ;
35874 double temp4 ;
35875 double val4 ;
35876 int ecode4 = 0 ;
35877 double temp5 ;
35878 double val5 ;
35879 int ecode5 = 0 ;
35880 double temp6 ;
35881 double val6 ;
35882 int ecode6 = 0 ;
35883 PyObject * obj0 = 0 ;
35884 PyObject * obj1 = 0 ;
35885 PyObject * obj2 = 0 ;
35886 PyObject * obj3 = 0 ;
35887 PyObject * obj4 = 0 ;
35888 PyObject * obj5 = 0 ;
35889 double result;
35890
35891 if (!PyArg_ParseTuple(args,(char *)"OOOOOO:GCTAPsfKing___call__",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_failgoto fail;
35892 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfKing, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0 | 0, 0)
;
35893 if (!SWIG_IsOK(res1)(res1 >= 0)) {
35894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfKing___call__" "', argument " "1"" of type '" "GCTAPsfKing const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfKing___call__" "', argument "
"1"" of type '" "GCTAPsfKing const *""'"); goto fail; } while
(0)
;
35895 }
35896 arg1 = reinterpret_cast< GCTAPsfKing * >(argp1);
35897 ecode2 = SWIG_AsVal_double(obj1, &val2);
35898 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
35899 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsfKing___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsfKing___call__" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
35900 }
35901 temp2 = static_cast< double >(val2);
35902 arg2 = &temp2;
35903 ecode3 = SWIG_AsVal_double(obj2, &val3);
35904 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
35905 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfKing___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfKing___call__" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
35906 }
35907 temp3 = static_cast< double >(val3);
35908 arg3 = &temp3;
35909 ecode4 = SWIG_AsVal_double(obj3, &val4);
35910 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
35911 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsfKing___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsfKing___call__" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
35912 }
35913 temp4 = static_cast< double >(val4);
35914 arg4 = &temp4;
35915 ecode5 = SWIG_AsVal_double(obj4, &val5);
35916 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
35917 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsfKing___call__" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsfKing___call__" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
35918 }
35919 temp5 = static_cast< double >(val5);
35920 arg5 = &temp5;
35921 ecode6 = SWIG_AsVal_double(obj5, &val6);
35922 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
35923 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAPsfKing___call__" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAPsfKing___call__" "', argument "
"6"" of type '" "double""'"); goto fail; } while(0)
;
35924 }
35925 temp6 = static_cast< double >(val6);
35926 arg6 = &temp6;
35927 {
35928 try {
35929 result = (double)((GCTAPsfKing const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6);
35930 }
35931 catch (const GException::out_of_range& e) {
35932 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
35933 }
35934 catch (const GExceptionHandler& e) {
35935 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35936 }
35937 catch (const std::exception& e) {
35938 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35939 }
35940 }
35941 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
35942 return resultobj;
35943fail:
35944 return NULL__null;
35945}
35946
35947
35948SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfKing___call____SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35949 PyObject *resultobj = 0;
35950 GCTAPsfKing *arg1 = (GCTAPsfKing *) 0 ;
35951 double *arg2 = 0 ;
35952 double *arg3 = 0 ;
35953 double *arg4 = 0 ;
35954 double *arg5 = 0 ;
35955 void *argp1 = 0 ;
35956 int res1 = 0 ;
35957 double temp2 ;
35958 double val2 ;
35959 int ecode2 = 0 ;
35960 double temp3 ;
35961 double val3 ;
35962 int ecode3 = 0 ;
35963 double temp4 ;
35964 double val4 ;
35965 int ecode4 = 0 ;
35966 double temp5 ;
35967 double val5 ;
35968 int ecode5 = 0 ;
35969 PyObject * obj0 = 0 ;
35970 PyObject * obj1 = 0 ;
35971 PyObject * obj2 = 0 ;
35972 PyObject * obj3 = 0 ;
35973 PyObject * obj4 = 0 ;
35974 double result;
35975
35976 if (!PyArg_ParseTuple(args,(char *)"OOOOO:GCTAPsfKing___call__",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_failgoto fail;
35977 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfKing, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0 | 0, 0)
;
35978 if (!SWIG_IsOK(res1)(res1 >= 0)) {
35979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfKing___call__" "', argument " "1"" of type '" "GCTAPsfKing const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfKing___call__" "', argument "
"1"" of type '" "GCTAPsfKing const *""'"); goto fail; } while
(0)
;
35980 }
35981 arg1 = reinterpret_cast< GCTAPsfKing * >(argp1);
35982 ecode2 = SWIG_AsVal_double(obj1, &val2);
35983 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
35984 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsfKing___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsfKing___call__" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
35985 }
35986 temp2 = static_cast< double >(val2);
35987 arg2 = &temp2;
35988 ecode3 = SWIG_AsVal_double(obj2, &val3);
35989 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
35990 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfKing___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfKing___call__" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
35991 }
35992 temp3 = static_cast< double >(val3);
35993 arg3 = &temp3;
35994 ecode4 = SWIG_AsVal_double(obj3, &val4);
35995 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
35996 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsfKing___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsfKing___call__" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
35997 }
35998 temp4 = static_cast< double >(val4);
35999 arg4 = &temp4;
36000 ecode5 = SWIG_AsVal_double(obj4, &val5);
36001 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
36002 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsfKing___call__" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsfKing___call__" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
36003 }
36004 temp5 = static_cast< double >(val5);
36005 arg5 = &temp5;
36006 {
36007 try {
36008 result = (double)((GCTAPsfKing const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5);
36009 }
36010 catch (const GException::out_of_range& e) {
36011 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
36012 }
36013 catch (const GExceptionHandler& e) {
36014 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36015 }
36016 catch (const std::exception& e) {
36017 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36018 }
36019 }
36020 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
36021 return resultobj;
36022fail:
36023 return NULL__null;
36024}
36025
36026
36027SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfKing___call____SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36028 PyObject *resultobj = 0;
36029 GCTAPsfKing *arg1 = (GCTAPsfKing *) 0 ;
36030 double *arg2 = 0 ;
36031 double *arg3 = 0 ;
36032 double *arg4 = 0 ;
36033 void *argp1 = 0 ;
36034 int res1 = 0 ;
36035 double temp2 ;
36036 double val2 ;
36037 int ecode2 = 0 ;
36038 double temp3 ;
36039 double val3 ;
36040 int ecode3 = 0 ;
36041 double temp4 ;
36042 double val4 ;
36043 int ecode4 = 0 ;
36044 PyObject * obj0 = 0 ;
36045 PyObject * obj1 = 0 ;
36046 PyObject * obj2 = 0 ;
36047 PyObject * obj3 = 0 ;
36048 double result;
36049
36050 if (!PyArg_ParseTuple(args,(char *)"OOOO:GCTAPsfKing___call__",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
36051 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfKing, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0 | 0, 0)
;
36052 if (!SWIG_IsOK(res1)(res1 >= 0)) {
36053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfKing___call__" "', argument " "1"" of type '" "GCTAPsfKing const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfKing___call__" "', argument "
"1"" of type '" "GCTAPsfKing const *""'"); goto fail; } while
(0)
;
36054 }
36055 arg1 = reinterpret_cast< GCTAPsfKing * >(argp1);
36056 ecode2 = SWIG_AsVal_double(obj1, &val2);
36057 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
36058 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsfKing___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsfKing___call__" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
36059 }
36060 temp2 = static_cast< double >(val2);
36061 arg2 = &temp2;
36062 ecode3 = SWIG_AsVal_double(obj2, &val3);
36063 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
36064 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfKing___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfKing___call__" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
36065 }
36066 temp3 = static_cast< double >(val3);
36067 arg3 = &temp3;
36068 ecode4 = SWIG_AsVal_double(obj3, &val4);
36069 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
36070 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsfKing___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsfKing___call__" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
36071 }
36072 temp4 = static_cast< double >(val4);
36073 arg4 = &temp4;
36074 {
36075 try {
36076 result = (double)((GCTAPsfKing const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4);
36077 }
36078 catch (const GException::out_of_range& e) {
36079 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
36080 }
36081 catch (const GExceptionHandler& e) {
36082 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36083 }
36084 catch (const std::exception& e) {
36085 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36086 }
36087 }
36088 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
36089 return resultobj;
36090fail:
36091 return NULL__null;
36092}
36093
36094
36095SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfKing___call____SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36096 PyObject *resultobj = 0;
36097 GCTAPsfKing *arg1 = (GCTAPsfKing *) 0 ;
36098 double *arg2 = 0 ;
36099 double *arg3 = 0 ;
36100 void *argp1 = 0 ;
36101 int res1 = 0 ;
36102 double temp2 ;
36103 double val2 ;
36104 int ecode2 = 0 ;
36105 double temp3 ;
36106 double val3 ;
36107 int ecode3 = 0 ;
36108 PyObject * obj0 = 0 ;
36109 PyObject * obj1 = 0 ;
36110 PyObject * obj2 = 0 ;
36111 double result;
36112
36113 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAPsfKing___call__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
36114 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfKing, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0 | 0, 0)
;
36115 if (!SWIG_IsOK(res1)(res1 >= 0)) {
36116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfKing___call__" "', argument " "1"" of type '" "GCTAPsfKing const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfKing___call__" "', argument "
"1"" of type '" "GCTAPsfKing const *""'"); goto fail; } while
(0)
;
36117 }
36118 arg1 = reinterpret_cast< GCTAPsfKing * >(argp1);
36119 ecode2 = SWIG_AsVal_double(obj1, &val2);
36120 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
36121 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsfKing___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsfKing___call__" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
36122 }
36123 temp2 = static_cast< double >(val2);
36124 arg2 = &temp2;
36125 ecode3 = SWIG_AsVal_double(obj2, &val3);
36126 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
36127 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfKing___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfKing___call__" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
36128 }
36129 temp3 = static_cast< double >(val3);
36130 arg3 = &temp3;
36131 {
36132 try {
36133 result = (double)((GCTAPsfKing const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3);
36134 }
36135 catch (const GException::out_of_range& e) {
36136 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
36137 }
36138 catch (const GExceptionHandler& e) {
36139 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36140 }
36141 catch (const std::exception& e) {
36142 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36143 }
36144 }
36145 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
36146 return resultobj;
36147fail:
36148 return NULL__null;
36149}
36150
36151
36152SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfKing___call__(PyObject *self, PyObject *args) {
36153 int argc;
36154 PyObject *argv[9];
36155 int ii;
36156
36157 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
36158 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
36159 for (ii = 0; (ii < 8) && (ii < argc); ii++) {
36160 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
36161 }
36162 if (argc == 3) {
36163 int _v;
36164 void *vptr = 0;
36165 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfKing, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[25
], 0, 0)
;
36166 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36167 if (_v) {
36168 {
36169 int res = SWIG_AsVal_double(argv[1], NULL__null);
36170 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36171 }
36172 if (_v) {
36173 {
36174 int res = SWIG_AsVal_double(argv[2], NULL__null);
36175 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36176 }
36177 if (_v) {
36178 return _wrap_GCTAPsfKing___call____SWIG_5(self, args);
36179 }
36180 }
36181 }
36182 }
36183 if (argc == 4) {
36184 int _v;
36185 void *vptr = 0;
36186 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfKing, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[25
], 0, 0)
;
36187 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36188 if (_v) {
36189 {
36190 int res = SWIG_AsVal_double(argv[1], NULL__null);
36191 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36192 }
36193 if (_v) {
36194 {
36195 int res = SWIG_AsVal_double(argv[2], NULL__null);
36196 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36197 }
36198 if (_v) {
36199 {
36200 int res = SWIG_AsVal_double(argv[3], NULL__null);
36201 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36202 }
36203 if (_v) {
36204 return _wrap_GCTAPsfKing___call____SWIG_4(self, args);
36205 }
36206 }
36207 }
36208 }
36209 }
36210 if (argc == 5) {
36211 int _v;
36212 void *vptr = 0;
36213 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfKing, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[25
], 0, 0)
;
36214 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36215 if (_v) {
36216 {
36217 int res = SWIG_AsVal_double(argv[1], NULL__null);
36218 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36219 }
36220 if (_v) {
36221 {
36222 int res = SWIG_AsVal_double(argv[2], NULL__null);
36223 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36224 }
36225 if (_v) {
36226 {
36227 int res = SWIG_AsVal_double(argv[3], NULL__null);
36228 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36229 }
36230 if (_v) {
36231 {
36232 int res = SWIG_AsVal_double(argv[4], NULL__null);
36233 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36234 }
36235 if (_v) {
36236 return _wrap_GCTAPsfKing___call____SWIG_3(self, args);
36237 }
36238 }
36239 }
36240 }
36241 }
36242 }
36243 if (argc == 6) {
36244 int _v;
36245 void *vptr = 0;
36246 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfKing, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[25
], 0, 0)
;
36247 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36248 if (_v) {
36249 {
36250 int res = SWIG_AsVal_double(argv[1], NULL__null);
36251 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36252 }
36253 if (_v) {
36254 {
36255 int res = SWIG_AsVal_double(argv[2], NULL__null);
36256 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36257 }
36258 if (_v) {
36259 {
36260 int res = SWIG_AsVal_double(argv[3], NULL__null);
36261 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36262 }
36263 if (_v) {
36264 {
36265 int res = SWIG_AsVal_double(argv[4], NULL__null);
36266 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36267 }
36268 if (_v) {
36269 {
36270 int res = SWIG_AsVal_double(argv[5], NULL__null);
36271 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36272 }
36273 if (_v) {
36274 return _wrap_GCTAPsfKing___call____SWIG_2(self, args);
36275 }
36276 }
36277 }
36278 }
36279 }
36280 }
36281 }
36282 if (argc == 7) {
36283 int _v;
36284 void *vptr = 0;
36285 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfKing, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[25
], 0, 0)
;
36286 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36287 if (_v) {
36288 {
36289 int res = SWIG_AsVal_double(argv[1], NULL__null);
36290 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36291 }
36292 if (_v) {
36293 {
36294 int res = SWIG_AsVal_double(argv[2], NULL__null);
36295 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36296 }
36297 if (_v) {
36298 {
36299 int res = SWIG_AsVal_double(argv[3], NULL__null);
36300 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36301 }
36302 if (_v) {
36303 {
36304 int res = SWIG_AsVal_double(argv[4], NULL__null);
36305 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36306 }
36307 if (_v) {
36308 {
36309 int res = SWIG_AsVal_double(argv[5], NULL__null);
36310 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36311 }
36312 if (_v) {
36313 {
36314 int res = SWIG_AsVal_double(argv[6], NULL__null);
36315 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36316 }
36317 if (_v) {
36318 return _wrap_GCTAPsfKing___call____SWIG_1(self, args);
36319 }
36320 }
36321 }
36322 }
36323 }
36324 }
36325 }
36326 }
36327 if (argc == 8) {
36328 int _v;
36329 void *vptr = 0;
36330 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfKing, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[25
], 0, 0)
;
36331 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36332 if (_v) {
36333 {
36334 int res = SWIG_AsVal_double(argv[1], NULL__null);
36335 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36336 }
36337 if (_v) {
36338 {
36339 int res = SWIG_AsVal_double(argv[2], NULL__null);
36340 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36341 }
36342 if (_v) {
36343 {
36344 int res = SWIG_AsVal_double(argv[3], NULL__null);
36345 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36346 }
36347 if (_v) {
36348 {
36349 int res = SWIG_AsVal_double(argv[4], NULL__null);
36350 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36351 }
36352 if (_v) {
36353 {
36354 int res = SWIG_AsVal_double(argv[5], NULL__null);
36355 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36356 }
36357 if (_v) {
36358 {
36359 int res = SWIG_AsVal_double(argv[6], NULL__null);
36360 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36361 }
36362 if (_v) {
36363 {
36364 int res = SWIG_AsVal_bool(argv[7], NULL__null);
36365 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36366 }
36367 if (_v) {
36368 return _wrap_GCTAPsfKing___call____SWIG_0(self, args);
36369 }
36370 }
36371 }
36372 }
36373 }
36374 }
36375 }
36376 }
36377 }
36378
36379fail:
36380 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAPsfKing___call__'.\n"
36381 " Possible C/C++ prototypes are:\n"
36382 " GCTAPsfKing::operator ()(double const &,double const &,double const &,double const &,double const &,double const &,bool const &) const\n"
36383 " GCTAPsfKing::operator ()(double const &,double const &,double const &,double const &,double const &,double const &) const\n"
36384 " GCTAPsfKing::operator ()(double const &,double const &,double const &,double const &,double const &) const\n"
36385 " GCTAPsfKing::operator ()(double const &,double const &,double const &,double const &) const\n"
36386 " GCTAPsfKing::operator ()(double const &,double const &,double const &) const\n"
36387 " GCTAPsfKing::operator ()(double const &,double const &) const\n");
36388 return 0;
36389}
36390
36391
36392SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfKing_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36393 PyObject *resultobj = 0;
36394 GCTAPsfKing *arg1 = (GCTAPsfKing *) 0 ;
36395 void *argp1 = 0 ;
36396 int res1 = 0 ;
36397 PyObject * obj0 = 0 ;
36398
36399 if (!PyArg_ParseTuple(args,(char *)"O:GCTAPsfKing_clear",&obj0)) SWIG_failgoto fail;
36400 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfKing, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0 | 0, 0)
;
36401 if (!SWIG_IsOK(res1)(res1 >= 0)) {
36402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfKing_clear" "', argument " "1"" of type '" "GCTAPsfKing *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfKing_clear" "', argument "
"1"" of type '" "GCTAPsfKing *""'"); goto fail; } while(0)
;
36403 }
36404 arg1 = reinterpret_cast< GCTAPsfKing * >(argp1);
36405 {
36406 try {
36407 (arg1)->clear();
36408 }
36409 catch (const GException::out_of_range& e) {
36410 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
36411 }
36412 catch (const GExceptionHandler& e) {
36413 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36414 }
36415 catch (const std::exception& e) {
36416 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36417 }
36418 }
36419 resultobj = SWIG_Py_Void();
36420 return resultobj;
36421fail:
36422 return NULL__null;
36423}
36424
36425
36426SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfKing_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36427 PyObject *resultobj = 0;
36428 GCTAPsfKing *arg1 = (GCTAPsfKing *) 0 ;
36429 void *argp1 = 0 ;
36430 int res1 = 0 ;
36431 PyObject * obj0 = 0 ;
36432 GCTAPsfKing *result = 0 ;
36433
36434 if (!PyArg_ParseTuple(args,(char *)"O:GCTAPsfKing_clone",&obj0)) SWIG_failgoto fail;
36435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfKing, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0 | 0, 0)
;
36436 if (!SWIG_IsOK(res1)(res1 >= 0)) {
36437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfKing_clone" "', argument " "1"" of type '" "GCTAPsfKing const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfKing_clone" "', argument "
"1"" of type '" "GCTAPsfKing const *""'"); goto fail; } while
(0)
;
36438 }
36439 arg1 = reinterpret_cast< GCTAPsfKing * >(argp1);
36440 {
36441 try {
36442 result = (GCTAPsfKing *)((GCTAPsfKing const *)arg1)->clone();
36443 }
36444 catch (const GException::out_of_range& e) {
36445 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
36446 }
36447 catch (const GExceptionHandler& e) {
36448 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36449 }
36450 catch (const std::exception& e) {
36451 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36452 }
36453 }
36454 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAPsfKing, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[25], 0
| 0)
;
36455 return resultobj;
36456fail:
36457 return NULL__null;
36458}
36459
36460
36461SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfKing_load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36462 PyObject *resultobj = 0;
36463 GCTAPsfKing *arg1 = (GCTAPsfKing *) 0 ;
36464 std::string *arg2 = 0 ;
36465 void *argp1 = 0 ;
36466 int res1 = 0 ;
36467 int res2 = SWIG_OLDOBJ((0)) ;
36468 PyObject * obj0 = 0 ;
36469 PyObject * obj1 = 0 ;
36470
36471 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAPsfKing_load",&obj0,&obj1)) SWIG_failgoto fail;
36472 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfKing, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0 | 0, 0)
;
36473 if (!SWIG_IsOK(res1)(res1 >= 0)) {
36474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfKing_load" "', argument " "1"" of type '" "GCTAPsfKing *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfKing_load" "', argument "
"1"" of type '" "GCTAPsfKing *""'"); goto fail; } while(0)
;
36475 }
36476 arg1 = reinterpret_cast< GCTAPsfKing * >(argp1);
36477 {
36478 std::string *ptr = (std::string *)0;
36479 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
36480 if (!SWIG_IsOK(res2)(res2 >= 0)) {
36481 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAPsfKing_load" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAPsfKing_load" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
36482 }
36483 if (!ptr) {
36484 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAPsfKing_load" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAPsfKing_load" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
36485 }
36486 arg2 = ptr;
36487 }
36488 {
36489 try {
36490 (arg1)->load((std::string const &)*arg2);
36491 }
36492 catch (const GException::out_of_range& e) {
36493 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
36494 }
36495 catch (const GExceptionHandler& e) {
36496 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36497 }
36498 catch (const std::exception& e) {
36499 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36500 }
36501 }
36502 resultobj = SWIG_Py_Void();
36503 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
36504 return resultobj;
36505fail:
36506 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
36507 return NULL__null;
36508}
36509
36510
36511SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfKing_filename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36512 PyObject *resultobj = 0;
36513 GCTAPsfKing *arg1 = (GCTAPsfKing *) 0 ;
36514 void *argp1 = 0 ;
36515 int res1 = 0 ;
36516 PyObject * obj0 = 0 ;
36517 std::string result;
36518
36519 if (!PyArg_ParseTuple(args,(char *)"O:GCTAPsfKing_filename",&obj0)) SWIG_failgoto fail;
36520 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfKing, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0 | 0, 0)
;
36521 if (!SWIG_IsOK(res1)(res1 >= 0)) {
36522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfKing_filename" "', argument " "1"" of type '" "GCTAPsfKing const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfKing_filename" "', argument "
"1"" of type '" "GCTAPsfKing const *""'"); goto fail; } while
(0)
;
36523 }
36524 arg1 = reinterpret_cast< GCTAPsfKing * >(argp1);
36525 {
36526 try {
36527 result = ((GCTAPsfKing const *)arg1)->filename();
36528 }
36529 catch (const GException::out_of_range& e) {
36530 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
36531 }
36532 catch (const GExceptionHandler& e) {
36533 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36534 }
36535 catch (const std::exception& e) {
36536 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36537 }
36538 }
36539 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
36540 return resultobj;
36541fail:
36542 return NULL__null;
36543}
36544
36545
36546SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfKing_mc__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36547 PyObject *resultobj = 0;
36548 GCTAPsfKing *arg1 = (GCTAPsfKing *) 0 ;
36549 GRan *arg2 = 0 ;
36550 double *arg3 = 0 ;
36551 double *arg4 = 0 ;
36552 double *arg5 = 0 ;
36553 double *arg6 = 0 ;
36554 double *arg7 = 0 ;
36555 bool *arg8 = 0 ;
36556 void *argp1 = 0 ;
36557 int res1 = 0 ;
36558 void *argp2 = 0 ;
36559 int res2 = 0 ;
36560 double temp3 ;
36561 double val3 ;
36562 int ecode3 = 0 ;
36563 double temp4 ;
36564 double val4 ;
36565 int ecode4 = 0 ;
36566 double temp5 ;
36567 double val5 ;
36568 int ecode5 = 0 ;
36569 double temp6 ;
36570 double val6 ;
36571 int ecode6 = 0 ;
36572 double temp7 ;
36573 double val7 ;
36574 int ecode7 = 0 ;
36575 bool temp8 ;
36576 bool val8 ;
36577 int ecode8 = 0 ;
36578 PyObject * obj0 = 0 ;
36579 PyObject * obj1 = 0 ;
36580 PyObject * obj2 = 0 ;
36581 PyObject * obj3 = 0 ;
36582 PyObject * obj4 = 0 ;
36583 PyObject * obj5 = 0 ;
36584 PyObject * obj6 = 0 ;
36585 PyObject * obj7 = 0 ;
36586 double result;
36587
36588 if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:GCTAPsfKing_mc",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_failgoto fail;
36589 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfKing, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0 | 0, 0)
;
36590 if (!SWIG_IsOK(res1)(res1 >= 0)) {
36591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfKing_mc" "', argument " "1"" of type '" "GCTAPsfKing const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfKing_mc" "', argument "
"1"" of type '" "GCTAPsfKing const *""'"); goto fail; } while
(0)
;
36592 }
36593 arg1 = reinterpret_cast< GCTAPsfKing * >(argp1);
36594 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GRan, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[55]
, 0, 0)
;
36595 if (!SWIG_IsOK(res2)(res2 >= 0)) {
36596 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAPsfKing_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAPsfKing_mc" "', argument "
"2"" of type '" "GRan &""'"); goto fail; } while(0)
;
36597 }
36598 if (!argp2) {
36599 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAPsfKing_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAPsfKing_mc" "', argument " "2"" of type '"
"GRan &""'"); goto fail; } while(0)
;
36600 }
36601 arg2 = reinterpret_cast< GRan * >(argp2);
36602 ecode3 = SWIG_AsVal_double(obj2, &val3);
36603 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
36604 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfKing_mc" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfKing_mc" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
36605 }
36606 temp3 = static_cast< double >(val3);
36607 arg3 = &temp3;
36608 ecode4 = SWIG_AsVal_double(obj3, &val4);
36609 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
36610 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsfKing_mc" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsfKing_mc" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
36611 }
36612 temp4 = static_cast< double >(val4);
36613 arg4 = &temp4;
36614 ecode5 = SWIG_AsVal_double(obj4, &val5);
36615 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
36616 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsfKing_mc" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsfKing_mc" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
36617 }
36618 temp5 = static_cast< double >(val5);
36619 arg5 = &temp5;
36620 ecode6 = SWIG_AsVal_double(obj5, &val6);
36621 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
36622 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAPsfKing_mc" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAPsfKing_mc" "', argument "
"6"" of type '" "double""'"); goto fail; } while(0)
;
36623 }
36624 temp6 = static_cast< double >(val6);
36625 arg6 = &temp6;
36626 ecode7 = SWIG_AsVal_double(obj6, &val7);
36627 if (!SWIG_IsOK(ecode7)(ecode7 >= 0)) {
36628 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GCTAPsfKing_mc" "', argument " "7"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode7 !=
(-1)) ? ecode7 : -5)), "in method '" "GCTAPsfKing_mc" "', argument "
"7"" of type '" "double""'"); goto fail; } while(0)
;
36629 }
36630 temp7 = static_cast< double >(val7);
36631 arg7 = &temp7;
36632 ecode8 = SWIG_AsVal_bool(obj7, &val8);
36633 if (!SWIG_IsOK(ecode8)(ecode8 >= 0)) {
36634 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "GCTAPsfKing_mc" "', argument " "8"" of type '" "bool""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode8 !=
(-1)) ? ecode8 : -5)), "in method '" "GCTAPsfKing_mc" "', argument "
"8"" of type '" "bool""'"); goto fail; } while(0)
;
36635 }
36636 temp8 = static_cast< bool >(val8);
36637 arg8 = &temp8;
36638 {
36639 try {
36640 result = (double)((GCTAPsfKing const *)arg1)->mc(*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6,(double const &)*arg7,(bool const &)*arg8);
36641 }
36642 catch (const GException::out_of_range& e) {
36643 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
36644 }
36645 catch (const GExceptionHandler& e) {
36646 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36647 }
36648 catch (const std::exception& e) {
36649 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36650 }
36651 }
36652 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
36653 return resultobj;
36654fail:
36655 return NULL__null;
36656}
36657
36658
36659SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfKing_mc__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36660 PyObject *resultobj = 0;
36661 GCTAPsfKing *arg1 = (GCTAPsfKing *) 0 ;
36662 GRan *arg2 = 0 ;
36663 double *arg3 = 0 ;
36664 double *arg4 = 0 ;
36665 double *arg5 = 0 ;
36666 double *arg6 = 0 ;
36667 double *arg7 = 0 ;
36668 void *argp1 = 0 ;
36669 int res1 = 0 ;
36670 void *argp2 = 0 ;
36671 int res2 = 0 ;
36672 double temp3 ;
36673 double val3 ;
36674 int ecode3 = 0 ;
36675 double temp4 ;
36676 double val4 ;
36677 int ecode4 = 0 ;
36678 double temp5 ;
36679 double val5 ;
36680 int ecode5 = 0 ;
36681 double temp6 ;
36682 double val6 ;
36683 int ecode6 = 0 ;
36684 double temp7 ;
36685 double val7 ;
36686 int ecode7 = 0 ;
36687 PyObject * obj0 = 0 ;
36688 PyObject * obj1 = 0 ;
36689 PyObject * obj2 = 0 ;
36690 PyObject * obj3 = 0 ;
36691 PyObject * obj4 = 0 ;
36692 PyObject * obj5 = 0 ;
36693 PyObject * obj6 = 0 ;
36694 double result;
36695
36696 if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:GCTAPsfKing_mc",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_failgoto fail;
36697 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfKing, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0 | 0, 0)
;
36698 if (!SWIG_IsOK(res1)(res1 >= 0)) {
36699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfKing_mc" "', argument " "1"" of type '" "GCTAPsfKing const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfKing_mc" "', argument "
"1"" of type '" "GCTAPsfKing const *""'"); goto fail; } while
(0)
;
36700 }
36701 arg1 = reinterpret_cast< GCTAPsfKing * >(argp1);
36702 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GRan, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[55]
, 0, 0)
;
36703 if (!SWIG_IsOK(res2)(res2 >= 0)) {
36704 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAPsfKing_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAPsfKing_mc" "', argument "
"2"" of type '" "GRan &""'"); goto fail; } while(0)
;
36705 }
36706 if (!argp2) {
36707 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAPsfKing_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAPsfKing_mc" "', argument " "2"" of type '"
"GRan &""'"); goto fail; } while(0)
;
36708 }
36709 arg2 = reinterpret_cast< GRan * >(argp2);
36710 ecode3 = SWIG_AsVal_double(obj2, &val3);
36711 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
36712 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfKing_mc" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfKing_mc" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
36713 }
36714 temp3 = static_cast< double >(val3);
36715 arg3 = &temp3;
36716 ecode4 = SWIG_AsVal_double(obj3, &val4);
36717 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
36718 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsfKing_mc" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsfKing_mc" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
36719 }
36720 temp4 = static_cast< double >(val4);
36721 arg4 = &temp4;
36722 ecode5 = SWIG_AsVal_double(obj4, &val5);
36723 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
36724 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsfKing_mc" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsfKing_mc" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
36725 }
36726 temp5 = static_cast< double >(val5);
36727 arg5 = &temp5;
36728 ecode6 = SWIG_AsVal_double(obj5, &val6);
36729 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
36730 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAPsfKing_mc" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAPsfKing_mc" "', argument "
"6"" of type '" "double""'"); goto fail; } while(0)
;
36731 }
36732 temp6 = static_cast< double >(val6);
36733 arg6 = &temp6;
36734 ecode7 = SWIG_AsVal_double(obj6, &val7);
36735 if (!SWIG_IsOK(ecode7)(ecode7 >= 0)) {
36736 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GCTAPsfKing_mc" "', argument " "7"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode7 !=
(-1)) ? ecode7 : -5)), "in method '" "GCTAPsfKing_mc" "', argument "
"7"" of type '" "double""'"); goto fail; } while(0)
;
36737 }
36738 temp7 = static_cast< double >(val7);
36739 arg7 = &temp7;
36740 {
36741 try {
36742 result = (double)((GCTAPsfKing const *)arg1)->mc(*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6,(double const &)*arg7);
36743 }
36744 catch (const GException::out_of_range& e) {
36745 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
36746 }
36747 catch (const GExceptionHandler& e) {
36748 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36749 }
36750 catch (const std::exception& e) {
36751 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36752 }
36753 }
36754 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
36755 return resultobj;
36756fail:
36757 return NULL__null;
36758}
36759
36760
36761SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfKing_mc__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36762 PyObject *resultobj = 0;
36763 GCTAPsfKing *arg1 = (GCTAPsfKing *) 0 ;
36764 GRan *arg2 = 0 ;
36765 double *arg3 = 0 ;
36766 double *arg4 = 0 ;
36767 double *arg5 = 0 ;
36768 double *arg6 = 0 ;
36769 void *argp1 = 0 ;
36770 int res1 = 0 ;
36771 void *argp2 = 0 ;
36772 int res2 = 0 ;
36773 double temp3 ;
36774 double val3 ;
36775 int ecode3 = 0 ;
36776 double temp4 ;
36777 double val4 ;
36778 int ecode4 = 0 ;
36779 double temp5 ;
36780 double val5 ;
36781 int ecode5 = 0 ;
36782 double temp6 ;
36783 double val6 ;
36784 int ecode6 = 0 ;
36785 PyObject * obj0 = 0 ;
36786 PyObject * obj1 = 0 ;
36787 PyObject * obj2 = 0 ;
36788 PyObject * obj3 = 0 ;
36789 PyObject * obj4 = 0 ;
36790 PyObject * obj5 = 0 ;
36791 double result;
36792
36793 if (!PyArg_ParseTuple(args,(char *)"OOOOOO:GCTAPsfKing_mc",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_failgoto fail;
36794 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfKing, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0 | 0, 0)
;
36795 if (!SWIG_IsOK(res1)(res1 >= 0)) {
36796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfKing_mc" "', argument " "1"" of type '" "GCTAPsfKing const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfKing_mc" "', argument "
"1"" of type '" "GCTAPsfKing const *""'"); goto fail; } while
(0)
;
36797 }
36798 arg1 = reinterpret_cast< GCTAPsfKing * >(argp1);
36799 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GRan, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[55]
, 0, 0)
;
36800 if (!SWIG_IsOK(res2)(res2 >= 0)) {
36801 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAPsfKing_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAPsfKing_mc" "', argument "
"2"" of type '" "GRan &""'"); goto fail; } while(0)
;
36802 }
36803 if (!argp2) {
36804 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAPsfKing_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAPsfKing_mc" "', argument " "2"" of type '"
"GRan &""'"); goto fail; } while(0)
;
36805 }
36806 arg2 = reinterpret_cast< GRan * >(argp2);
36807 ecode3 = SWIG_AsVal_double(obj2, &val3);
36808 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
36809 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfKing_mc" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfKing_mc" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
36810 }
36811 temp3 = static_cast< double >(val3);
36812 arg3 = &temp3;
36813 ecode4 = SWIG_AsVal_double(obj3, &val4);
36814 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
36815 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsfKing_mc" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsfKing_mc" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
36816 }
36817 temp4 = static_cast< double >(val4);
36818 arg4 = &temp4;
36819 ecode5 = SWIG_AsVal_double(obj4, &val5);
36820 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
36821 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsfKing_mc" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsfKing_mc" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
36822 }
36823 temp5 = static_cast< double >(val5);
36824 arg5 = &temp5;
36825 ecode6 = SWIG_AsVal_double(obj5, &val6);
36826 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
36827 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAPsfKing_mc" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAPsfKing_mc" "', argument "
"6"" of type '" "double""'"); goto fail; } while(0)
;
36828 }
36829 temp6 = static_cast< double >(val6);
36830 arg6 = &temp6;
36831 {
36832 try {
36833 result = (double)((GCTAPsfKing const *)arg1)->mc(*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6);
36834 }
36835 catch (const GException::out_of_range& e) {
36836 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
36837 }
36838 catch (const GExceptionHandler& e) {
36839 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36840 }
36841 catch (const std::exception& e) {
36842 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36843 }
36844 }
36845 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
36846 return resultobj;
36847fail:
36848 return NULL__null;
36849}
36850
36851
36852SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfKing_mc__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36853 PyObject *resultobj = 0;
36854 GCTAPsfKing *arg1 = (GCTAPsfKing *) 0 ;
36855 GRan *arg2 = 0 ;
36856 double *arg3 = 0 ;
36857 double *arg4 = 0 ;
36858 double *arg5 = 0 ;
36859 void *argp1 = 0 ;
36860 int res1 = 0 ;
36861 void *argp2 = 0 ;
36862 int res2 = 0 ;
36863 double temp3 ;
36864 double val3 ;
36865 int ecode3 = 0 ;
36866 double temp4 ;
36867 double val4 ;
36868 int ecode4 = 0 ;
36869 double temp5 ;
36870 double val5 ;
36871 int ecode5 = 0 ;
36872 PyObject * obj0 = 0 ;
36873 PyObject * obj1 = 0 ;
36874 PyObject * obj2 = 0 ;
36875 PyObject * obj3 = 0 ;
36876 PyObject * obj4 = 0 ;
36877 double result;
36878
36879 if (!PyArg_ParseTuple(args,(char *)"OOOOO:GCTAPsfKing_mc",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_failgoto fail;
36880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfKing, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0 | 0, 0)
;
36881 if (!SWIG_IsOK(res1)(res1 >= 0)) {
36882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfKing_mc" "', argument " "1"" of type '" "GCTAPsfKing const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfKing_mc" "', argument "
"1"" of type '" "GCTAPsfKing const *""'"); goto fail; } while
(0)
;
36883 }
36884 arg1 = reinterpret_cast< GCTAPsfKing * >(argp1);
36885 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GRan, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[55]
, 0, 0)
;
36886 if (!SWIG_IsOK(res2)(res2 >= 0)) {
36887 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAPsfKing_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAPsfKing_mc" "', argument "
"2"" of type '" "GRan &""'"); goto fail; } while(0)
;
36888 }
36889 if (!argp2) {
36890 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAPsfKing_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAPsfKing_mc" "', argument " "2"" of type '"
"GRan &""'"); goto fail; } while(0)
;
36891 }
36892 arg2 = reinterpret_cast< GRan * >(argp2);
36893 ecode3 = SWIG_AsVal_double(obj2, &val3);
36894 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
36895 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfKing_mc" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfKing_mc" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
36896 }
36897 temp3 = static_cast< double >(val3);
36898 arg3 = &temp3;
36899 ecode4 = SWIG_AsVal_double(obj3, &val4);
36900 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
36901 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsfKing_mc" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsfKing_mc" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
36902 }
36903 temp4 = static_cast< double >(val4);
36904 arg4 = &temp4;
36905 ecode5 = SWIG_AsVal_double(obj4, &val5);
36906 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
36907 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsfKing_mc" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsfKing_mc" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
36908 }
36909 temp5 = static_cast< double >(val5);
36910 arg5 = &temp5;
36911 {
36912 try {
36913 result = (double)((GCTAPsfKing const *)arg1)->mc(*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5);
36914 }
36915 catch (const GException::out_of_range& e) {
36916 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
36917 }
36918 catch (const GExceptionHandler& e) {
36919 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36920 }
36921 catch (const std::exception& e) {
36922 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36923 }
36924 }
36925 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
36926 return resultobj;
36927fail:
36928 return NULL__null;
36929}
36930
36931
36932SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfKing_mc__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36933 PyObject *resultobj = 0;
36934 GCTAPsfKing *arg1 = (GCTAPsfKing *) 0 ;
36935 GRan *arg2 = 0 ;
36936 double *arg3 = 0 ;
36937 double *arg4 = 0 ;
36938 void *argp1 = 0 ;
36939 int res1 = 0 ;
36940 void *argp2 = 0 ;
36941 int res2 = 0 ;
36942 double temp3 ;
36943 double val3 ;
36944 int ecode3 = 0 ;
36945 double temp4 ;
36946 double val4 ;
36947 int ecode4 = 0 ;
36948 PyObject * obj0 = 0 ;
36949 PyObject * obj1 = 0 ;
36950 PyObject * obj2 = 0 ;
36951 PyObject * obj3 = 0 ;
36952 double result;
36953
36954 if (!PyArg_ParseTuple(args,(char *)"OOOO:GCTAPsfKing_mc",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
36955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfKing, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0 | 0, 0)
;
36956 if (!SWIG_IsOK(res1)(res1 >= 0)) {
36957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfKing_mc" "', argument " "1"" of type '" "GCTAPsfKing const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfKing_mc" "', argument "
"1"" of type '" "GCTAPsfKing const *""'"); goto fail; } while
(0)
;
36958 }
36959 arg1 = reinterpret_cast< GCTAPsfKing * >(argp1);
36960 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GRan, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[55]
, 0, 0)
;
36961 if (!SWIG_IsOK(res2)(res2 >= 0)) {
36962 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAPsfKing_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAPsfKing_mc" "', argument "
"2"" of type '" "GRan &""'"); goto fail; } while(0)
;
36963 }
36964 if (!argp2) {
36965 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAPsfKing_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAPsfKing_mc" "', argument " "2"" of type '"
"GRan &""'"); goto fail; } while(0)
;
36966 }
36967 arg2 = reinterpret_cast< GRan * >(argp2);
36968 ecode3 = SWIG_AsVal_double(obj2, &val3);
36969 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
36970 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfKing_mc" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfKing_mc" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
36971 }
36972 temp3 = static_cast< double >(val3);
36973 arg3 = &temp3;
36974 ecode4 = SWIG_AsVal_double(obj3, &val4);
36975 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
36976 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsfKing_mc" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsfKing_mc" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
36977 }
36978 temp4 = static_cast< double >(val4);
36979 arg4 = &temp4;
36980 {
36981 try {
36982 result = (double)((GCTAPsfKing const *)arg1)->mc(*arg2,(double const &)*arg3,(double const &)*arg4);
36983 }
36984 catch (const GException::out_of_range& e) {
36985 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
36986 }
36987 catch (const GExceptionHandler& e) {
36988 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36989 }
36990 catch (const std::exception& e) {
36991 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36992 }
36993 }
36994 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
36995 return resultobj;
36996fail:
36997 return NULL__null;
36998}
36999
37000
37001SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfKing_mc__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37002 PyObject *resultobj = 0;
37003 GCTAPsfKing *arg1 = (GCTAPsfKing *) 0 ;
37004 GRan *arg2 = 0 ;
37005 double *arg3 = 0 ;
37006 void *argp1 = 0 ;
37007 int res1 = 0 ;
37008 void *argp2 = 0 ;
37009 int res2 = 0 ;
37010 double temp3 ;
37011 double val3 ;
37012 int ecode3 = 0 ;
37013 PyObject * obj0 = 0 ;
37014 PyObject * obj1 = 0 ;
37015 PyObject * obj2 = 0 ;
37016 double result;
37017
37018 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAPsfKing_mc",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
37019 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfKing, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0 | 0, 0)
;
37020 if (!SWIG_IsOK(res1)(res1 >= 0)) {
37021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfKing_mc" "', argument " "1"" of type '" "GCTAPsfKing const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfKing_mc" "', argument "
"1"" of type '" "GCTAPsfKing const *""'"); goto fail; } while
(0)
;
37022 }
37023 arg1 = reinterpret_cast< GCTAPsfKing * >(argp1);
37024 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GRan, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[55]
, 0, 0)
;
37025 if (!SWIG_IsOK(res2)(res2 >= 0)) {
37026 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAPsfKing_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAPsfKing_mc" "', argument "
"2"" of type '" "GRan &""'"); goto fail; } while(0)
;
37027 }
37028 if (!argp2) {
37029 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAPsfKing_mc" "', argument " "2"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAPsfKing_mc" "', argument " "2"" of type '"
"GRan &""'"); goto fail; } while(0)
;
37030 }
37031 arg2 = reinterpret_cast< GRan * >(argp2);
37032 ecode3 = SWIG_AsVal_double(obj2, &val3);
37033 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
37034 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfKing_mc" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfKing_mc" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
37035 }
37036 temp3 = static_cast< double >(val3);
37037 arg3 = &temp3;
37038 {
37039 try {
37040 result = (double)((GCTAPsfKing const *)arg1)->mc(*arg2,(double const &)*arg3);
37041 }
37042 catch (const GException::out_of_range& e) {
37043 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
37044 }
37045 catch (const GExceptionHandler& e) {
37046 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37047 }
37048 catch (const std::exception& e) {
37049 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37050 }
37051 }
37052 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
37053 return resultobj;
37054fail:
37055 return NULL__null;
37056}
37057
37058
37059SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfKing_mc(PyObject *self, PyObject *args) {
37060 int argc;
37061 PyObject *argv[9];
37062 int ii;
37063
37064 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
37065 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
37066 for (ii = 0; (ii < 8) && (ii < argc); ii++) {
37067 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
37068 }
37069 if (argc == 3) {
37070 int _v;
37071 void *vptr = 0;
37072 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfKing, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[25
], 0, 0)
;
37073 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37074 if (_v) {
37075 void *vptr = 0;
37076 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_GRan, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[55
], 0, 0)
;
37077 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37078 if (_v) {
37079 {
37080 int res = SWIG_AsVal_double(argv[2], NULL__null);
37081 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37082 }
37083 if (_v) {
37084 return _wrap_GCTAPsfKing_mc__SWIG_5(self, args);
37085 }
37086 }
37087 }
37088 }
37089 if (argc == 4) {
37090 int _v;
37091 void *vptr = 0;
37092 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfKing, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[25
], 0, 0)
;
37093 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37094 if (_v) {
37095 void *vptr = 0;
37096 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_GRan, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[55
], 0, 0)
;
37097 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37098 if (_v) {
37099 {
37100 int res = SWIG_AsVal_double(argv[2], NULL__null);
37101 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37102 }
37103 if (_v) {
37104 {
37105 int res = SWIG_AsVal_double(argv[3], NULL__null);
37106 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37107 }
37108 if (_v) {
37109 return _wrap_GCTAPsfKing_mc__SWIG_4(self, args);
37110 }
37111 }
37112 }
37113 }
37114 }
37115 if (argc == 5) {
37116 int _v;
37117 void *vptr = 0;
37118 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfKing, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[25
], 0, 0)
;
37119 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37120 if (_v) {
37121 void *vptr = 0;
37122 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_GRan, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[55
], 0, 0)
;
37123 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37124 if (_v) {
37125 {
37126 int res = SWIG_AsVal_double(argv[2], NULL__null);
37127 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37128 }
37129 if (_v) {
37130 {
37131 int res = SWIG_AsVal_double(argv[3], NULL__null);
37132 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37133 }
37134 if (_v) {
37135 {
37136 int res = SWIG_AsVal_double(argv[4], NULL__null);
37137 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37138 }
37139 if (_v) {
37140 return _wrap_GCTAPsfKing_mc__SWIG_3(self, args);
37141 }
37142 }
37143 }
37144 }
37145 }
37146 }
37147 if (argc == 6) {
37148 int _v;
37149 void *vptr = 0;
37150 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfKing, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[25
], 0, 0)
;
37151 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37152 if (_v) {
37153 void *vptr = 0;
37154 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_GRan, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[55
], 0, 0)
;
37155 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37156 if (_v) {
37157 {
37158 int res = SWIG_AsVal_double(argv[2], NULL__null);
37159 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37160 }
37161 if (_v) {
37162 {
37163 int res = SWIG_AsVal_double(argv[3], NULL__null);
37164 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37165 }
37166 if (_v) {
37167 {
37168 int res = SWIG_AsVal_double(argv[4], NULL__null);
37169 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37170 }
37171 if (_v) {
37172 {
37173 int res = SWIG_AsVal_double(argv[5], NULL__null);
37174 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37175 }
37176 if (_v) {
37177 return _wrap_GCTAPsfKing_mc__SWIG_2(self, args);
37178 }
37179 }
37180 }
37181 }
37182 }
37183 }
37184 }
37185 if (argc == 7) {
37186 int _v;
37187 void *vptr = 0;
37188 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfKing, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[25
], 0, 0)
;
37189 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37190 if (_v) {
37191 void *vptr = 0;
37192 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_GRan, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[55
], 0, 0)
;
37193 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37194 if (_v) {
37195 {
37196 int res = SWIG_AsVal_double(argv[2], NULL__null);
37197 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37198 }
37199 if (_v) {
37200 {
37201 int res = SWIG_AsVal_double(argv[3], NULL__null);
37202 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37203 }
37204 if (_v) {
37205 {
37206 int res = SWIG_AsVal_double(argv[4], NULL__null);
37207 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37208 }
37209 if (_v) {
37210 {
37211 int res = SWIG_AsVal_double(argv[5], NULL__null);
37212 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37213 }
37214 if (_v) {
37215 {
37216 int res = SWIG_AsVal_double(argv[6], NULL__null);
37217 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37218 }
37219 if (_v) {
37220 return _wrap_GCTAPsfKing_mc__SWIG_1(self, args);
37221 }
37222 }
37223 }
37224 }
37225 }
37226 }
37227 }
37228 }
37229 if (argc == 8) {
37230 int _v;
37231 void *vptr = 0;
37232 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfKing, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[25
], 0, 0)
;
37233 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37234 if (_v) {
37235 void *vptr = 0;
37236 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_GRan, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[55
], 0, 0)
;
37237 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37238 if (_v) {
37239 {
37240 int res = SWIG_AsVal_double(argv[2], NULL__null);
37241 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37242 }
37243 if (_v) {
37244 {
37245 int res = SWIG_AsVal_double(argv[3], NULL__null);
37246 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37247 }
37248 if (_v) {
37249 {
37250 int res = SWIG_AsVal_double(argv[4], NULL__null);
37251 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37252 }
37253 if (_v) {
37254 {
37255 int res = SWIG_AsVal_double(argv[5], NULL__null);
37256 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37257 }
37258 if (_v) {
37259 {
37260 int res = SWIG_AsVal_double(argv[6], NULL__null);
37261 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37262 }
37263 if (_v) {
37264 {
37265 int res = SWIG_AsVal_bool(argv[7], NULL__null);
37266 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37267 }
37268 if (_v) {
37269 return _wrap_GCTAPsfKing_mc__SWIG_0(self, args);
37270 }
37271 }
37272 }
37273 }
37274 }
37275 }
37276 }
37277 }
37278 }
37279
37280fail:
37281 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAPsfKing_mc'.\n"
37282 " Possible C/C++ prototypes are:\n"
37283 " GCTAPsfKing::mc(GRan &,double const &,double const &,double const &,double const &,double const &,bool const &) const\n"
37284 " GCTAPsfKing::mc(GRan &,double const &,double const &,double const &,double const &,double const &) const\n"
37285 " GCTAPsfKing::mc(GRan &,double const &,double const &,double const &,double const &) const\n"
37286 " GCTAPsfKing::mc(GRan &,double const &,double const &,double const &) const\n"
37287 " GCTAPsfKing::mc(GRan &,double const &,double const &) const\n"
37288 " GCTAPsfKing::mc(GRan &,double const &) const\n");
37289 return 0;
37290}
37291
37292
37293SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfKing_delta_max__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37294 PyObject *resultobj = 0;
37295 GCTAPsfKing *arg1 = (GCTAPsfKing *) 0 ;
37296 double *arg2 = 0 ;
37297 double *arg3 = 0 ;
37298 double *arg4 = 0 ;
37299 double *arg5 = 0 ;
37300 double *arg6 = 0 ;
37301 bool *arg7 = 0 ;
37302 void *argp1 = 0 ;
37303 int res1 = 0 ;
37304 double temp2 ;
37305 double val2 ;
37306 int ecode2 = 0 ;
37307 double temp3 ;
37308 double val3 ;
37309 int ecode3 = 0 ;
37310 double temp4 ;
37311 double val4 ;
37312 int ecode4 = 0 ;
37313 double temp5 ;
37314 double val5 ;
37315 int ecode5 = 0 ;
37316 double temp6 ;
37317 double val6 ;
37318 int ecode6 = 0 ;
37319 bool temp7 ;
37320 bool val7 ;
37321 int ecode7 = 0 ;
37322 PyObject * obj0 = 0 ;
37323 PyObject * obj1 = 0 ;
37324 PyObject * obj2 = 0 ;
37325 PyObject * obj3 = 0 ;
37326 PyObject * obj4 = 0 ;
37327 PyObject * obj5 = 0 ;
37328 PyObject * obj6 = 0 ;
37329 double result;
37330
37331 if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:GCTAPsfKing_delta_max",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_failgoto fail;
37332 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfKing, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0 | 0, 0)
;
37333 if (!SWIG_IsOK(res1)(res1 >= 0)) {
37334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfKing_delta_max" "', argument " "1"" of type '" "GCTAPsfKing const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfKing_delta_max" "', argument "
"1"" of type '" "GCTAPsfKing const *""'"); goto fail; } while
(0)
;
37335 }
37336 arg1 = reinterpret_cast< GCTAPsfKing * >(argp1);
37337 ecode2 = SWIG_AsVal_double(obj1, &val2);
37338 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
37339 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsfKing_delta_max" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsfKing_delta_max"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
37340 }
37341 temp2 = static_cast< double >(val2);
37342 arg2 = &temp2;
37343 ecode3 = SWIG_AsVal_double(obj2, &val3);
37344 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
37345 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfKing_delta_max" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfKing_delta_max"
"', argument " "3"" of type '" "double""'"); goto fail; } while
(0)
;
37346 }
37347 temp3 = static_cast< double >(val3);
37348 arg3 = &temp3;
37349 ecode4 = SWIG_AsVal_double(obj3, &val4);
37350 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
37351 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsfKing_delta_max" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsfKing_delta_max"
"', argument " "4"" of type '" "double""'"); goto fail; } while
(0)
;
37352 }
37353 temp4 = static_cast< double >(val4);
37354 arg4 = &temp4;
37355 ecode5 = SWIG_AsVal_double(obj4, &val5);
37356 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
37357 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsfKing_delta_max" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsfKing_delta_max"
"', argument " "5"" of type '" "double""'"); goto fail; } while
(0)
;
37358 }
37359 temp5 = static_cast< double >(val5);
37360 arg5 = &temp5;
37361 ecode6 = SWIG_AsVal_double(obj5, &val6);
37362 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
37363 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAPsfKing_delta_max" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAPsfKing_delta_max"
"', argument " "6"" of type '" "double""'"); goto fail; } while
(0)
;
37364 }
37365 temp6 = static_cast< double >(val6);
37366 arg6 = &temp6;
37367 ecode7 = SWIG_AsVal_bool(obj6, &val7);
37368 if (!SWIG_IsOK(ecode7)(ecode7 >= 0)) {
37369 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GCTAPsfKing_delta_max" "', argument " "7"" of type '" "bool""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode7 !=
(-1)) ? ecode7 : -5)), "in method '" "GCTAPsfKing_delta_max"
"', argument " "7"" of type '" "bool""'"); goto fail; } while
(0)
;
37370 }
37371 temp7 = static_cast< bool >(val7);
37372 arg7 = &temp7;
37373 {
37374 try {
37375 result = (double)((GCTAPsfKing const *)arg1)->delta_max((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6,(bool const &)*arg7);
37376 }
37377 catch (const GException::out_of_range& e) {
37378 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
37379 }
37380 catch (const GExceptionHandler& e) {
37381 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37382 }
37383 catch (const std::exception& e) {
37384 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37385 }
37386 }
37387 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
37388 return resultobj;
37389fail:
37390 return NULL__null;
37391}
37392
37393
37394SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfKing_delta_max__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37395 PyObject *resultobj = 0;
37396 GCTAPsfKing *arg1 = (GCTAPsfKing *) 0 ;
37397 double *arg2 = 0 ;
37398 double *arg3 = 0 ;
37399 double *arg4 = 0 ;
37400 double *arg5 = 0 ;
37401 double *arg6 = 0 ;
37402 void *argp1 = 0 ;
37403 int res1 = 0 ;
37404 double temp2 ;
37405 double val2 ;
37406 int ecode2 = 0 ;
37407 double temp3 ;
37408 double val3 ;
37409 int ecode3 = 0 ;
37410 double temp4 ;
37411 double val4 ;
37412 int ecode4 = 0 ;
37413 double temp5 ;
37414 double val5 ;
37415 int ecode5 = 0 ;
37416 double temp6 ;
37417 double val6 ;
37418 int ecode6 = 0 ;
37419 PyObject * obj0 = 0 ;
37420 PyObject * obj1 = 0 ;
37421 PyObject * obj2 = 0 ;
37422 PyObject * obj3 = 0 ;
37423 PyObject * obj4 = 0 ;
37424 PyObject * obj5 = 0 ;
37425 double result;
37426
37427 if (!PyArg_ParseTuple(args,(char *)"OOOOOO:GCTAPsfKing_delta_max",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_failgoto fail;
37428 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfKing, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0 | 0, 0)
;
37429 if (!SWIG_IsOK(res1)(res1 >= 0)) {
37430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfKing_delta_max" "', argument " "1"" of type '" "GCTAPsfKing const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfKing_delta_max" "', argument "
"1"" of type '" "GCTAPsfKing const *""'"); goto fail; } while
(0)
;
37431 }
37432 arg1 = reinterpret_cast< GCTAPsfKing * >(argp1);
37433 ecode2 = SWIG_AsVal_double(obj1, &val2);
37434 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
37435 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsfKing_delta_max" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsfKing_delta_max"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
37436 }
37437 temp2 = static_cast< double >(val2);
37438 arg2 = &temp2;
37439 ecode3 = SWIG_AsVal_double(obj2, &val3);
37440 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
37441 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfKing_delta_max" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfKing_delta_max"
"', argument " "3"" of type '" "double""'"); goto fail; } while
(0)
;
37442 }
37443 temp3 = static_cast< double >(val3);
37444 arg3 = &temp3;
37445 ecode4 = SWIG_AsVal_double(obj3, &val4);
37446 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
37447 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsfKing_delta_max" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsfKing_delta_max"
"', argument " "4"" of type '" "double""'"); goto fail; } while
(0)
;
37448 }
37449 temp4 = static_cast< double >(val4);
37450 arg4 = &temp4;
37451 ecode5 = SWIG_AsVal_double(obj4, &val5);
37452 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
37453 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsfKing_delta_max" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsfKing_delta_max"
"', argument " "5"" of type '" "double""'"); goto fail; } while
(0)
;
37454 }
37455 temp5 = static_cast< double >(val5);
37456 arg5 = &temp5;
37457 ecode6 = SWIG_AsVal_double(obj5, &val6);
37458 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
37459 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAPsfKing_delta_max" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAPsfKing_delta_max"
"', argument " "6"" of type '" "double""'"); goto fail; } while
(0)
;
37460 }
37461 temp6 = static_cast< double >(val6);
37462 arg6 = &temp6;
37463 {
37464 try {
37465 result = (double)((GCTAPsfKing const *)arg1)->delta_max((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6);
37466 }
37467 catch (const GException::out_of_range& e) {
37468 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
37469 }
37470 catch (const GExceptionHandler& e) {
37471 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37472 }
37473 catch (const std::exception& e) {
37474 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37475 }
37476 }
37477 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
37478 return resultobj;
37479fail:
37480 return NULL__null;
37481}
37482
37483
37484SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfKing_delta_max__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37485 PyObject *resultobj = 0;
37486 GCTAPsfKing *arg1 = (GCTAPsfKing *) 0 ;
37487 double *arg2 = 0 ;
37488 double *arg3 = 0 ;
37489 double *arg4 = 0 ;
37490 double *arg5 = 0 ;
37491 void *argp1 = 0 ;
37492 int res1 = 0 ;
37493 double temp2 ;
37494 double val2 ;
37495 int ecode2 = 0 ;
37496 double temp3 ;
37497 double val3 ;
37498 int ecode3 = 0 ;
37499 double temp4 ;
37500 double val4 ;
37501 int ecode4 = 0 ;
37502 double temp5 ;
37503 double val5 ;
37504 int ecode5 = 0 ;
37505 PyObject * obj0 = 0 ;
37506 PyObject * obj1 = 0 ;
37507 PyObject * obj2 = 0 ;
37508 PyObject * obj3 = 0 ;
37509 PyObject * obj4 = 0 ;
37510 double result;
37511
37512 if (!PyArg_ParseTuple(args,(char *)"OOOOO:GCTAPsfKing_delta_max",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_failgoto fail;
37513 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfKing, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0 | 0, 0)
;
37514 if (!SWIG_IsOK(res1)(res1 >= 0)) {
37515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfKing_delta_max" "', argument " "1"" of type '" "GCTAPsfKing const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfKing_delta_max" "', argument "
"1"" of type '" "GCTAPsfKing const *""'"); goto fail; } while
(0)
;
37516 }
37517 arg1 = reinterpret_cast< GCTAPsfKing * >(argp1);
37518 ecode2 = SWIG_AsVal_double(obj1, &val2);
37519 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
37520 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsfKing_delta_max" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsfKing_delta_max"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
37521 }
37522 temp2 = static_cast< double >(val2);
37523 arg2 = &temp2;
37524 ecode3 = SWIG_AsVal_double(obj2, &val3);
37525 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
37526 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfKing_delta_max" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfKing_delta_max"
"', argument " "3"" of type '" "double""'"); goto fail; } while
(0)
;
37527 }
37528 temp3 = static_cast< double >(val3);
37529 arg3 = &temp3;
37530 ecode4 = SWIG_AsVal_double(obj3, &val4);
37531 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
37532 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsfKing_delta_max" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsfKing_delta_max"
"', argument " "4"" of type '" "double""'"); goto fail; } while
(0)
;
37533 }
37534 temp4 = static_cast< double >(val4);
37535 arg4 = &temp4;
37536 ecode5 = SWIG_AsVal_double(obj4, &val5);
37537 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
37538 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAPsfKing_delta_max" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAPsfKing_delta_max"
"', argument " "5"" of type '" "double""'"); goto fail; } while
(0)
;
37539 }
37540 temp5 = static_cast< double >(val5);
37541 arg5 = &temp5;
37542 {
37543 try {
37544 result = (double)((GCTAPsfKing const *)arg1)->delta_max((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5);
37545 }
37546 catch (const GException::out_of_range& e) {
37547 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
37548 }
37549 catch (const GExceptionHandler& e) {
37550 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37551 }
37552 catch (const std::exception& e) {
37553 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37554 }
37555 }
37556 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
37557 return resultobj;
37558fail:
37559 return NULL__null;
37560}
37561
37562
37563SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfKing_delta_max__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37564 PyObject *resultobj = 0;
37565 GCTAPsfKing *arg1 = (GCTAPsfKing *) 0 ;
37566 double *arg2 = 0 ;
37567 double *arg3 = 0 ;
37568 double *arg4 = 0 ;
37569 void *argp1 = 0 ;
37570 int res1 = 0 ;
37571 double temp2 ;
37572 double val2 ;
37573 int ecode2 = 0 ;
37574 double temp3 ;
37575 double val3 ;
37576 int ecode3 = 0 ;
37577 double temp4 ;
37578 double val4 ;
37579 int ecode4 = 0 ;
37580 PyObject * obj0 = 0 ;
37581 PyObject * obj1 = 0 ;
37582 PyObject * obj2 = 0 ;
37583 PyObject * obj3 = 0 ;
37584 double result;
37585
37586 if (!PyArg_ParseTuple(args,(char *)"OOOO:GCTAPsfKing_delta_max",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
37587 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfKing, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0 | 0, 0)
;
37588 if (!SWIG_IsOK(res1)(res1 >= 0)) {
37589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfKing_delta_max" "', argument " "1"" of type '" "GCTAPsfKing const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfKing_delta_max" "', argument "
"1"" of type '" "GCTAPsfKing const *""'"); goto fail; } while
(0)
;
37590 }
37591 arg1 = reinterpret_cast< GCTAPsfKing * >(argp1);
37592 ecode2 = SWIG_AsVal_double(obj1, &val2);
37593 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
37594 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsfKing_delta_max" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsfKing_delta_max"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
37595 }
37596 temp2 = static_cast< double >(val2);
37597 arg2 = &temp2;
37598 ecode3 = SWIG_AsVal_double(obj2, &val3);
37599 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
37600 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfKing_delta_max" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfKing_delta_max"
"', argument " "3"" of type '" "double""'"); goto fail; } while
(0)
;
37601 }
37602 temp3 = static_cast< double >(val3);
37603 arg3 = &temp3;
37604 ecode4 = SWIG_AsVal_double(obj3, &val4);
37605 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
37606 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAPsfKing_delta_max" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAPsfKing_delta_max"
"', argument " "4"" of type '" "double""'"); goto fail; } while
(0)
;
37607 }
37608 temp4 = static_cast< double >(val4);
37609 arg4 = &temp4;
37610 {
37611 try {
37612 result = (double)((GCTAPsfKing const *)arg1)->delta_max((double const &)*arg2,(double const &)*arg3,(double const &)*arg4);
37613 }
37614 catch (const GException::out_of_range& e) {
37615 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
37616 }
37617 catch (const GExceptionHandler& e) {
37618 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37619 }
37620 catch (const std::exception& e) {
37621 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37622 }
37623 }
37624 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
37625 return resultobj;
37626fail:
37627 return NULL__null;
37628}
37629
37630
37631SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfKing_delta_max__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37632 PyObject *resultobj = 0;
37633 GCTAPsfKing *arg1 = (GCTAPsfKing *) 0 ;
37634 double *arg2 = 0 ;
37635 double *arg3 = 0 ;
37636 void *argp1 = 0 ;
37637 int res1 = 0 ;
37638 double temp2 ;
37639 double val2 ;
37640 int ecode2 = 0 ;
37641 double temp3 ;
37642 double val3 ;
37643 int ecode3 = 0 ;
37644 PyObject * obj0 = 0 ;
37645 PyObject * obj1 = 0 ;
37646 PyObject * obj2 = 0 ;
37647 double result;
37648
37649 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAPsfKing_delta_max",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
37650 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfKing, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0 | 0, 0)
;
37651 if (!SWIG_IsOK(res1)(res1 >= 0)) {
37652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfKing_delta_max" "', argument " "1"" of type '" "GCTAPsfKing const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfKing_delta_max" "', argument "
"1"" of type '" "GCTAPsfKing const *""'"); goto fail; } while
(0)
;
37653 }
37654 arg1 = reinterpret_cast< GCTAPsfKing * >(argp1);
37655 ecode2 = SWIG_AsVal_double(obj1, &val2);
37656 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
37657 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsfKing_delta_max" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsfKing_delta_max"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
37658 }
37659 temp2 = static_cast< double >(val2);
37660 arg2 = &temp2;
37661 ecode3 = SWIG_AsVal_double(obj2, &val3);
37662 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
37663 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAPsfKing_delta_max" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAPsfKing_delta_max"
"', argument " "3"" of type '" "double""'"); goto fail; } while
(0)
;
37664 }
37665 temp3 = static_cast< double >(val3);
37666 arg3 = &temp3;
37667 {
37668 try {
37669 result = (double)((GCTAPsfKing const *)arg1)->delta_max((double const &)*arg2,(double const &)*arg3);
37670 }
37671 catch (const GException::out_of_range& e) {
37672 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
37673 }
37674 catch (const GExceptionHandler& e) {
37675 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37676 }
37677 catch (const std::exception& e) {
37678 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37679 }
37680 }
37681 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
37682 return resultobj;
37683fail:
37684 return NULL__null;
37685}
37686
37687
37688SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfKing_delta_max__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37689 PyObject *resultobj = 0;
37690 GCTAPsfKing *arg1 = (GCTAPsfKing *) 0 ;
37691 double *arg2 = 0 ;
37692 void *argp1 = 0 ;
37693 int res1 = 0 ;
37694 double temp2 ;
37695 double val2 ;
37696 int ecode2 = 0 ;
37697 PyObject * obj0 = 0 ;
37698 PyObject * obj1 = 0 ;
37699 double result;
37700
37701 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAPsfKing_delta_max",&obj0,&obj1)) SWIG_failgoto fail;
37702 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfKing, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0 | 0, 0)
;
37703 if (!SWIG_IsOK(res1)(res1 >= 0)) {
37704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfKing_delta_max" "', argument " "1"" of type '" "GCTAPsfKing const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfKing_delta_max" "', argument "
"1"" of type '" "GCTAPsfKing const *""'"); goto fail; } while
(0)
;
37705 }
37706 arg1 = reinterpret_cast< GCTAPsfKing * >(argp1);
37707 ecode2 = SWIG_AsVal_double(obj1, &val2);
37708 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
37709 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAPsfKing_delta_max" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAPsfKing_delta_max"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
37710 }
37711 temp2 = static_cast< double >(val2);
37712 arg2 = &temp2;
37713 {
37714 try {
37715 result = (double)((GCTAPsfKing const *)arg1)->delta_max((double const &)*arg2);
37716 }
37717 catch (const GException::out_of_range& e) {
37718 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
37719 }
37720 catch (const GExceptionHandler& e) {
37721 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37722 }
37723 catch (const std::exception& e) {
37724 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37725 }
37726 }
37727 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
37728 return resultobj;
37729fail:
37730 return NULL__null;
37731}
37732
37733
37734SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfKing_delta_max(PyObject *self, PyObject *args) {
37735 int argc;
37736 PyObject *argv[8];
37737 int ii;
37738
37739 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
37740 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
37741 for (ii = 0; (ii < 7) && (ii < argc); ii++) {
37742 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
37743 }
37744 if (argc == 2) {
37745 int _v;
37746 void *vptr = 0;
37747 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfKing, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[25
], 0, 0)
;
37748 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37749 if (_v) {
37750 {
37751 int res = SWIG_AsVal_double(argv[1], NULL__null);
37752 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37753 }
37754 if (_v) {
37755 return _wrap_GCTAPsfKing_delta_max__SWIG_5(self, args);
37756 }
37757 }
37758 }
37759 if (argc == 3) {
37760 int _v;
37761 void *vptr = 0;
37762 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfKing, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[25
], 0, 0)
;
37763 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37764 if (_v) {
37765 {
37766 int res = SWIG_AsVal_double(argv[1], NULL__null);
37767 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37768 }
37769 if (_v) {
37770 {
37771 int res = SWIG_AsVal_double(argv[2], NULL__null);
37772 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37773 }
37774 if (_v) {
37775 return _wrap_GCTAPsfKing_delta_max__SWIG_4(self, args);
37776 }
37777 }
37778 }
37779 }
37780 if (argc == 4) {
37781 int _v;
37782 void *vptr = 0;
37783 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfKing, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[25
], 0, 0)
;
37784 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37785 if (_v) {
37786 {
37787 int res = SWIG_AsVal_double(argv[1], NULL__null);
37788 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37789 }
37790 if (_v) {
37791 {
37792 int res = SWIG_AsVal_double(argv[2], NULL__null);
37793 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37794 }
37795 if (_v) {
37796 {
37797 int res = SWIG_AsVal_double(argv[3], NULL__null);
37798 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37799 }
37800 if (_v) {
37801 return _wrap_GCTAPsfKing_delta_max__SWIG_3(self, args);
37802 }
37803 }
37804 }
37805 }
37806 }
37807 if (argc == 5) {
37808 int _v;
37809 void *vptr = 0;
37810 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfKing, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[25
], 0, 0)
;
37811 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37812 if (_v) {
37813 {
37814 int res = SWIG_AsVal_double(argv[1], NULL__null);
37815 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37816 }
37817 if (_v) {
37818 {
37819 int res = SWIG_AsVal_double(argv[2], NULL__null);
37820 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37821 }
37822 if (_v) {
37823 {
37824 int res = SWIG_AsVal_double(argv[3], NULL__null);
37825 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37826 }
37827 if (_v) {
37828 {
37829 int res = SWIG_AsVal_double(argv[4], NULL__null);
37830 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37831 }
37832 if (_v) {
37833 return _wrap_GCTAPsfKing_delta_max__SWIG_2(self, args);
37834 }
37835 }
37836 }
37837 }
37838 }
37839 }
37840 if (argc == 6) {
37841 int _v;
37842 void *vptr = 0;
37843 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfKing, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[25
], 0, 0)
;
37844 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37845 if (_v) {
37846 {
37847 int res = SWIG_AsVal_double(argv[1], NULL__null);
37848 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37849 }
37850 if (_v) {
37851 {
37852 int res = SWIG_AsVal_double(argv[2], NULL__null);
37853 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37854 }
37855 if (_v) {
37856 {
37857 int res = SWIG_AsVal_double(argv[3], NULL__null);
37858 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37859 }
37860 if (_v) {
37861 {
37862 int res = SWIG_AsVal_double(argv[4], NULL__null);
37863 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37864 }
37865 if (_v) {
37866 {
37867 int res = SWIG_AsVal_double(argv[5], NULL__null);
37868 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37869 }
37870 if (_v) {
37871 return _wrap_GCTAPsfKing_delta_max__SWIG_1(self, args);
37872 }
37873 }
37874 }
37875 }
37876 }
37877 }
37878 }
37879 if (argc == 7) {
37880 int _v;
37881 void *vptr = 0;
37882 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAPsfKing, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[25
], 0, 0)
;
37883 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37884 if (_v) {
37885 {
37886 int res = SWIG_AsVal_double(argv[1], NULL__null);
37887 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37888 }
37889 if (_v) {
37890 {
37891 int res = SWIG_AsVal_double(argv[2], NULL__null);
37892 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37893 }
37894 if (_v) {
37895 {
37896 int res = SWIG_AsVal_double(argv[3], NULL__null);
37897 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37898 }
37899 if (_v) {
37900 {
37901 int res = SWIG_AsVal_double(argv[4], NULL__null);
37902 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37903 }
37904 if (_v) {
37905 {
37906 int res = SWIG_AsVal_double(argv[5], NULL__null);
37907 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37908 }
37909 if (_v) {
37910 {
37911 int res = SWIG_AsVal_bool(argv[6], NULL__null);
37912 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37913 }
37914 if (_v) {
37915 return _wrap_GCTAPsfKing_delta_max__SWIG_0(self, args);
37916 }
37917 }
37918 }
37919 }
37920 }
37921 }
37922 }
37923 }
37924
37925fail:
37926 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAPsfKing_delta_max'.\n"
37927 " Possible C/C++ prototypes are:\n"
37928 " GCTAPsfKing::delta_max(double const &,double const &,double const &,double const &,double const &,bool const &) const\n"
37929 " GCTAPsfKing::delta_max(double const &,double const &,double const &,double const &,double const &) const\n"
37930 " GCTAPsfKing::delta_max(double const &,double const &,double const &,double const &) const\n"
37931 " GCTAPsfKing::delta_max(double const &,double const &,double const &) const\n"
37932 " GCTAPsfKing::delta_max(double const &,double const &) const\n"
37933 " GCTAPsfKing::delta_max(double const &) const\n");
37934 return 0;
37935}
37936
37937
37938SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAPsfKing_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37939 PyObject *resultobj = 0;
37940 GCTAPsfKing *arg1 = (GCTAPsfKing *) 0 ;
37941 void *argp1 = 0 ;
37942 int res1 = 0 ;
37943 PyObject * obj0 = 0 ;
37944 GCTAPsfKing result;
37945
37946 if (!PyArg_ParseTuple(args,(char *)"O:GCTAPsfKing_copy",&obj0)) SWIG_failgoto fail;
37947 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAPsfKing, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0 | 0, 0)
;
37948 if (!SWIG_IsOK(res1)(res1 >= 0)) {
37949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAPsfKing_copy" "', argument " "1"" of type '" "GCTAPsfKing *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAPsfKing_copy" "', argument "
"1"" of type '" "GCTAPsfKing *""'"); goto fail; } while(0)
;
37950 }
37951 arg1 = reinterpret_cast< GCTAPsfKing * >(argp1);
37952 {
37953 try {
37954 result = GCTAPsfKing_copy(arg1);
37955 }
37956 catch (const GException::out_of_range& e) {
37957 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
37958 }
37959 catch (const GExceptionHandler& e) {
37960 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37961 }
37962 catch (const std::exception& e) {
37963 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37964 }
37965 }
37966 resultobj = SWIG_NewPointerObj((new GCTAPsfKing(static_cast< const GCTAPsfKing& >(result))), SWIGTYPE_p_GCTAPsfKing, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GCTAPsfKing(static_cast
< const GCTAPsfKing& >(result))), swig_types[25], 0x1
| 0)
;
37967 return resultobj;
37968fail:
37969 return NULL__null;
37970}
37971
37972
37973SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GCTAPsfKing_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37974 PyObject *obj;
37975 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
37976 SWIG_TypeNewClientData(SWIGTYPE_p_GCTAPsfKingswig_types[25], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
37977 return SWIG_Py_Void();
37978}
37979
37980SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GCTAEdisp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37981 PyObject *resultobj = 0;
37982 GCTAEdisp *arg1 = (GCTAEdisp *) 0 ;
37983 void *argp1 = 0 ;
37984 int res1 = 0 ;
37985 PyObject * obj0 = 0 ;
37986
37987 if (!PyArg_ParseTuple(args,(char *)"O:delete_GCTAEdisp",&obj0)) SWIG_failgoto fail;
37988 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEdisp, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[6],
0x1 | 0, 0)
;
37989 if (!SWIG_IsOK(res1)(res1 >= 0)) {
37990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GCTAEdisp" "', argument " "1"" of type '" "GCTAEdisp *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GCTAEdisp" "', argument "
"1"" of type '" "GCTAEdisp *""'"); goto fail; } while(0)
;
37991 }
37992 arg1 = reinterpret_cast< GCTAEdisp * >(argp1);
37993 {
37994 try {
37995 delete arg1;
37996 }
37997 catch (const GException::out_of_range& e) {
37998 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
37999 }
38000 catch (const GExceptionHandler& e) {
38001 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38002 }
38003 catch (const std::exception& e) {
38004 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38005 }
38006 }
38007 resultobj = SWIG_Py_Void();
38008 return resultobj;
38009fail:
38010 return NULL__null;
38011}
38012
38013
38014SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEdisp___call____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38015 PyObject *resultobj = 0;
38016 GCTAEdisp *arg1 = (GCTAEdisp *) 0 ;
38017 double *arg2 = 0 ;
38018 double *arg3 = 0 ;
38019 double *arg4 = 0 ;
38020 double *arg5 = 0 ;
38021 double *arg6 = 0 ;
38022 double *arg7 = 0 ;
38023 void *argp1 = 0 ;
38024 int res1 = 0 ;
38025 double temp2 ;
38026 double val2 ;
38027 int ecode2 = 0 ;
38028 double temp3 ;
38029 double val3 ;
38030 int ecode3 = 0 ;
38031 double temp4 ;
38032 double val4 ;
38033 int ecode4 = 0 ;
38034 double temp5 ;
38035 double val5 ;
38036 int ecode5 = 0 ;
38037 double temp6 ;
38038 double val6 ;
38039 int ecode6 = 0 ;
38040 double temp7 ;
38041 double val7 ;
38042 int ecode7 = 0 ;
38043 PyObject * obj0 = 0 ;
38044 PyObject * obj1 = 0 ;
38045 PyObject * obj2 = 0 ;
38046 PyObject * obj3 = 0 ;
38047 PyObject * obj4 = 0 ;
38048 PyObject * obj5 = 0 ;
38049 PyObject * obj6 = 0 ;
38050 double result;
38051
38052 if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:GCTAEdisp___call__",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_failgoto fail;
38053 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEdisp, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[6],
0 | 0, 0)
;
38054 if (!SWIG_IsOK(res1)(res1 >= 0)) {
38055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEdisp___call__" "', argument " "1"" of type '" "GCTAEdisp const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEdisp___call__" "', argument "
"1"" of type '" "GCTAEdisp const *""'"); goto fail; } while(
0)
;
38056 }
38057 arg1 = reinterpret_cast< GCTAEdisp * >(argp1);
38058 ecode2 = SWIG_AsVal_double(obj1, &val2);
38059 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
38060 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAEdisp___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAEdisp___call__" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
38061 }
38062 temp2 = static_cast< double >(val2);
38063 arg2 = &temp2;
38064 ecode3 = SWIG_AsVal_double(obj2, &val3);
38065 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
38066 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAEdisp___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAEdisp___call__" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
38067 }
38068 temp3 = static_cast< double >(val3);
38069 arg3 = &temp3;
38070 ecode4 = SWIG_AsVal_double(obj3, &val4);
38071 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
38072 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAEdisp___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAEdisp___call__" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
38073 }
38074 temp4 = static_cast< double >(val4);
38075 arg4 = &temp4;
38076 ecode5 = SWIG_AsVal_double(obj4, &val5);
38077 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
38078 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAEdisp___call__" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAEdisp___call__" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
38079 }
38080 temp5 = static_cast< double >(val5);
38081 arg5 = &temp5;
38082 ecode6 = SWIG_AsVal_double(obj5, &val6);
38083 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
38084 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAEdisp___call__" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAEdisp___call__" "', argument "
"6"" of type '" "double""'"); goto fail; } while(0)
;
38085 }
38086 temp6 = static_cast< double >(val6);
38087 arg6 = &temp6;
38088 ecode7 = SWIG_AsVal_double(obj6, &val7);
38089 if (!SWIG_IsOK(ecode7)(ecode7 >= 0)) {
38090 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GCTAEdisp___call__" "', argument " "7"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode7 !=
(-1)) ? ecode7 : -5)), "in method '" "GCTAEdisp___call__" "', argument "
"7"" of type '" "double""'"); goto fail; } while(0)
;
38091 }
38092 temp7 = static_cast< double >(val7);
38093 arg7 = &temp7;
38094 {
38095 try {
38096 result = (double)((GCTAEdisp const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6,(double const &)*arg7);
38097 }
38098 catch (const GException::out_of_range& e) {
38099 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
38100 }
38101 catch (const GExceptionHandler& e) {
38102 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38103 }
38104 catch (const std::exception& e) {
38105 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38106 }
38107 }
38108 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
38109 return resultobj;
38110fail:
38111 return NULL__null;
38112}
38113
38114
38115SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEdisp___call____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38116 PyObject *resultobj = 0;
38117 GCTAEdisp *arg1 = (GCTAEdisp *) 0 ;
38118 double *arg2 = 0 ;
38119 double *arg3 = 0 ;
38120 double *arg4 = 0 ;
38121 double *arg5 = 0 ;
38122 double *arg6 = 0 ;
38123 void *argp1 = 0 ;
38124 int res1 = 0 ;
38125 double temp2 ;
38126 double val2 ;
38127 int ecode2 = 0 ;
38128 double temp3 ;
38129 double val3 ;
38130 int ecode3 = 0 ;
38131 double temp4 ;
38132 double val4 ;
38133 int ecode4 = 0 ;
38134 double temp5 ;
38135 double val5 ;
38136 int ecode5 = 0 ;
38137 double temp6 ;
38138 double val6 ;
38139 int ecode6 = 0 ;
38140 PyObject * obj0 = 0 ;
38141 PyObject * obj1 = 0 ;
38142 PyObject * obj2 = 0 ;
38143 PyObject * obj3 = 0 ;
38144 PyObject * obj4 = 0 ;
38145 PyObject * obj5 = 0 ;
38146 double result;
38147
38148 if (!PyArg_ParseTuple(args,(char *)"OOOOOO:GCTAEdisp___call__",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_failgoto fail;
38149 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEdisp, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[6],
0 | 0, 0)
;
38150 if (!SWIG_IsOK(res1)(res1 >= 0)) {
38151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEdisp___call__" "', argument " "1"" of type '" "GCTAEdisp const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEdisp___call__" "', argument "
"1"" of type '" "GCTAEdisp const *""'"); goto fail; } while(
0)
;
38152 }
38153 arg1 = reinterpret_cast< GCTAEdisp * >(argp1);
38154 ecode2 = SWIG_AsVal_double(obj1, &val2);
38155 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
38156 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAEdisp___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAEdisp___call__" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
38157 }
38158 temp2 = static_cast< double >(val2);
38159 arg2 = &temp2;
38160 ecode3 = SWIG_AsVal_double(obj2, &val3);
38161 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
38162 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAEdisp___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAEdisp___call__" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
38163 }
38164 temp3 = static_cast< double >(val3);
38165 arg3 = &temp3;
38166 ecode4 = SWIG_AsVal_double(obj3, &val4);
38167 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
38168 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAEdisp___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAEdisp___call__" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
38169 }
38170 temp4 = static_cast< double >(val4);
38171 arg4 = &temp4;
38172 ecode5 = SWIG_AsVal_double(obj4, &val5);
38173 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
38174 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAEdisp___call__" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAEdisp___call__" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
38175 }
38176 temp5 = static_cast< double >(val5);
38177 arg5 = &temp5;
38178 ecode6 = SWIG_AsVal_double(obj5, &val6);
38179 if (!SWIG_IsOK(ecode6)(ecode6 >= 0)) {
38180 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "GCTAEdisp___call__" "', argument " "6"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode6 !=
(-1)) ? ecode6 : -5)), "in method '" "GCTAEdisp___call__" "', argument "
"6"" of type '" "double""'"); goto fail; } while(0)
;
38181 }
38182 temp6 = static_cast< double >(val6);
38183 arg6 = &temp6;
38184 {
38185 try {
38186 result = (double)((GCTAEdisp const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6);
38187 }
38188 catch (const GException::out_of_range& e) {
38189 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
38190 }
38191 catch (const GExceptionHandler& e) {
38192 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38193 }
38194 catch (const std::exception& e) {
38195 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38196 }
38197 }
38198 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
38199 return resultobj;
38200fail:
38201 return NULL__null;
38202}
38203
38204
38205SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEdisp___call____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38206 PyObject *resultobj = 0;
38207 GCTAEdisp *arg1 = (GCTAEdisp *) 0 ;
38208 double *arg2 = 0 ;
38209 double *arg3 = 0 ;
38210 double *arg4 = 0 ;
38211 double *arg5 = 0 ;
38212 void *argp1 = 0 ;
38213 int res1 = 0 ;
38214 double temp2 ;
38215 double val2 ;
38216 int ecode2 = 0 ;
38217 double temp3 ;
38218 double val3 ;
38219 int ecode3 = 0 ;
38220 double temp4 ;
38221 double val4 ;
38222 int ecode4 = 0 ;
38223 double temp5 ;
38224 double val5 ;
38225 int ecode5 = 0 ;
38226 PyObject * obj0 = 0 ;
38227 PyObject * obj1 = 0 ;
38228 PyObject * obj2 = 0 ;
38229 PyObject * obj3 = 0 ;
38230 PyObject * obj4 = 0 ;
38231 double result;
38232
38233 if (!PyArg_ParseTuple(args,(char *)"OOOOO:GCTAEdisp___call__",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_failgoto fail;
38234 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEdisp, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[6],
0 | 0, 0)
;
38235 if (!SWIG_IsOK(res1)(res1 >= 0)) {
38236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEdisp___call__" "', argument " "1"" of type '" "GCTAEdisp const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEdisp___call__" "', argument "
"1"" of type '" "GCTAEdisp const *""'"); goto fail; } while(
0)
;
38237 }
38238 arg1 = reinterpret_cast< GCTAEdisp * >(argp1);
38239 ecode2 = SWIG_AsVal_double(obj1, &val2);
38240 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
38241 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAEdisp___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAEdisp___call__" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
38242 }
38243 temp2 = static_cast< double >(val2);
38244 arg2 = &temp2;
38245 ecode3 = SWIG_AsVal_double(obj2, &val3);
38246 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
38247 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAEdisp___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAEdisp___call__" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
38248 }
38249 temp3 = static_cast< double >(val3);
38250 arg3 = &temp3;
38251 ecode4 = SWIG_AsVal_double(obj3, &val4);
38252 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
38253 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAEdisp___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAEdisp___call__" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
38254 }
38255 temp4 = static_cast< double >(val4);
38256 arg4 = &temp4;
38257 ecode5 = SWIG_AsVal_double(obj4, &val5);
38258 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
38259 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GCTAEdisp___call__" "', argument " "5"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GCTAEdisp___call__" "', argument "
"5"" of type '" "double""'"); goto fail; } while(0)
;
38260 }
38261 temp5 = static_cast< double >(val5);
38262 arg5 = &temp5;
38263 {
38264 try {
38265 result = (double)((GCTAEdisp const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5);
38266 }
38267 catch (const GException::out_of_range& e) {
38268 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
38269 }
38270 catch (const GExceptionHandler& e) {
38271 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38272 }
38273 catch (const std::exception& e) {
38274 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38275 }
38276 }
38277 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
38278 return resultobj;
38279fail:
38280 return NULL__null;
38281}
38282
38283
38284SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEdisp___call____SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38285 PyObject *resultobj = 0;
38286 GCTAEdisp *arg1 = (GCTAEdisp *) 0 ;
38287 double *arg2 = 0 ;
38288 double *arg3 = 0 ;
38289 double *arg4 = 0 ;
38290 void *argp1 = 0 ;
38291 int res1 = 0 ;
38292 double temp2 ;
38293 double val2 ;
38294 int ecode2 = 0 ;
38295 double temp3 ;
38296 double val3 ;
38297 int ecode3 = 0 ;
38298 double temp4 ;
38299 double val4 ;
38300 int ecode4 = 0 ;
38301 PyObject * obj0 = 0 ;
38302 PyObject * obj1 = 0 ;
38303 PyObject * obj2 = 0 ;
38304 PyObject * obj3 = 0 ;
38305 double result;
38306
38307 if (!PyArg_ParseTuple(args,(char *)"OOOO:GCTAEdisp___call__",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
38308 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEdisp, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[6],
0 | 0, 0)
;
38309 if (!SWIG_IsOK(res1)(res1 >= 0)) {
38310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEdisp___call__" "', argument " "1"" of type '" "GCTAEdisp const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEdisp___call__" "', argument "
"1"" of type '" "GCTAEdisp const *""'"); goto fail; } while(
0)
;
38311 }
38312 arg1 = reinterpret_cast< GCTAEdisp * >(argp1);
38313 ecode2 = SWIG_AsVal_double(obj1, &val2);
38314 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
38315 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAEdisp___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAEdisp___call__" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
38316 }
38317 temp2 = static_cast< double >(val2);
38318 arg2 = &temp2;
38319 ecode3 = SWIG_AsVal_double(obj2, &val3);
38320 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
38321 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAEdisp___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAEdisp___call__" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
38322 }
38323 temp3 = static_cast< double >(val3);
38324 arg3 = &temp3;
38325 ecode4 = SWIG_AsVal_double(obj3, &val4);
38326 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
38327 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GCTAEdisp___call__" "', argument " "4"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GCTAEdisp___call__" "', argument "
"4"" of type '" "double""'"); goto fail; } while(0)
;
38328 }
38329 temp4 = static_cast< double >(val4);
38330 arg4 = &temp4;
38331 {
38332 try {
38333 result = (double)((GCTAEdisp const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3,(double const &)*arg4);
38334 }
38335 catch (const GException::out_of_range& e) {
38336 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
38337 }
38338 catch (const GExceptionHandler& e) {
38339 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38340 }
38341 catch (const std::exception& e) {
38342 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38343 }
38344 }
38345 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
38346 return resultobj;
38347fail:
38348 return NULL__null;
38349}
38350
38351
38352SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEdisp___call____SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38353 PyObject *resultobj = 0;
38354 GCTAEdisp *arg1 = (GCTAEdisp *) 0 ;
38355 double *arg2 = 0 ;
38356 double *arg3 = 0 ;
38357 void *argp1 = 0 ;
38358 int res1 = 0 ;
38359 double temp2 ;
38360 double val2 ;
38361 int ecode2 = 0 ;
38362 double temp3 ;
38363 double val3 ;
38364 int ecode3 = 0 ;
38365 PyObject * obj0 = 0 ;
38366 PyObject * obj1 = 0 ;
38367 PyObject * obj2 = 0 ;
38368 double result;
38369
38370 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAEdisp___call__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
38371 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEdisp, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[6],
0 | 0, 0)
;
38372 if (!SWIG_IsOK(res1)(res1 >= 0)) {
38373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEdisp___call__" "', argument " "1"" of type '" "GCTAEdisp const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEdisp___call__" "', argument "
"1"" of type '" "GCTAEdisp const *""'"); goto fail; } while(
0)
;
38374 }
38375 arg1 = reinterpret_cast< GCTAEdisp * >(argp1);
38376 ecode2 = SWIG_AsVal_double(obj1, &val2);
38377 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
38378 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAEdisp___call__" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAEdisp___call__" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
38379 }
38380 temp2 = static_cast< double >(val2);
38381 arg2 = &temp2;
38382 ecode3 = SWIG_AsVal_double(obj2, &val3);
38383 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
38384 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GCTAEdisp___call__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GCTAEdisp___call__" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
38385 }
38386 temp3 = static_cast< double >(val3);
38387 arg3 = &temp3;
38388 {
38389 try {
38390 result = (double)((GCTAEdisp const *)arg1)->operator ()((double const &)*arg2,(double const &)*arg3);
38391 }
38392 catch (const GException::out_of_range& e) {
38393 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
38394 }
38395 catch (const GExceptionHandler& e) {
38396 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38397 }
38398 catch (const std::exception& e) {
38399 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38400 }
38401 }
38402 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
38403 return resultobj;
38404fail:
38405 return NULL__null;
38406}
38407
38408
38409SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEdisp___call__(PyObject *self, PyObject *args) {
38410 int argc;
38411 PyObject *argv[8];
38412 int ii;
38413
38414 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
38415 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
38416 for (ii = 0; (ii < 7) && (ii < argc); ii++) {
38417 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
38418 }
38419 if (argc == 3) {
38420 int _v;
38421 void *vptr = 0;
38422 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAEdisp, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[6
], 0, 0)
;
38423 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38424 if (_v) {
38425 {
38426 int res = SWIG_AsVal_double(argv[1], NULL__null);
38427 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38428 }
38429 if (_v) {
38430 {
38431 int res = SWIG_AsVal_double(argv[2], NULL__null);
38432 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38433 }
38434 if (_v) {
38435 return _wrap_GCTAEdisp___call____SWIG_4(self, args);
38436 }
38437 }
38438 }
38439 }
38440 if (argc == 4) {
38441 int _v;
38442 void *vptr = 0;
38443 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAEdisp, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[6
], 0, 0)
;
38444 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38445 if (_v) {
38446 {
38447 int res = SWIG_AsVal_double(argv[1], NULL__null);
38448 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38449 }
38450 if (_v) {
38451 {
38452 int res = SWIG_AsVal_double(argv[2], NULL__null);
38453 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38454 }
38455 if (_v) {
38456 {
38457 int res = SWIG_AsVal_double(argv[3], NULL__null);
38458 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38459 }
38460 if (_v) {
38461 return _wrap_GCTAEdisp___call____SWIG_3(self, args);
38462 }
38463 }
38464 }
38465 }
38466 }
38467 if (argc == 5) {
38468 int _v;
38469 void *vptr = 0;
38470 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAEdisp, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[6
], 0, 0)
;
38471 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38472 if (_v) {
38473 {
38474 int res = SWIG_AsVal_double(argv[1], NULL__null);
38475 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38476 }
38477 if (_v) {
38478 {
38479 int res = SWIG_AsVal_double(argv[2], NULL__null);
38480 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38481 }
38482 if (_v) {
38483 {
38484 int res = SWIG_AsVal_double(argv[3], NULL__null);
38485 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38486 }
38487 if (_v) {
38488 {
38489 int res = SWIG_AsVal_double(argv[4], NULL__null);
38490 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38491 }
38492 if (_v) {
38493 return _wrap_GCTAEdisp___call____SWIG_2(self, args);
38494 }
38495 }
38496 }
38497 }
38498 }
38499 }
38500 if (argc == 6) {
38501 int _v;
38502 void *vptr = 0;
38503 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAEdisp, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[6
], 0, 0)
;
38504 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38505 if (_v) {
38506 {
38507 int res = SWIG_AsVal_double(argv[1], NULL__null);
38508 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38509 }
38510 if (_v) {
38511 {
38512 int res = SWIG_AsVal_double(argv[2], NULL__null);
38513 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38514 }
38515 if (_v) {
38516 {
38517 int res = SWIG_AsVal_double(argv[3], NULL__null);
38518 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38519 }
38520 if (_v) {
38521 {
38522 int res = SWIG_AsVal_double(argv[4], NULL__null);
38523 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38524 }
38525 if (_v) {
38526 {
38527 int res = SWIG_AsVal_double(argv[5], NULL__null);
38528 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38529 }
38530 if (_v) {
38531 return _wrap_GCTAEdisp___call____SWIG_1(self, args);
38532 }
38533 }
38534 }
38535 }
38536 }
38537 }
38538 }
38539 if (argc == 7) {
38540 int _v;
38541 void *vptr = 0;
38542 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAEdisp, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[6
], 0, 0)
;
38543 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38544 if (_v) {
38545 {
38546 int res = SWIG_AsVal_double(argv[1], NULL__null);
38547 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38548 }
38549 if (_v) {
38550 {
38551 int res = SWIG_AsVal_double(argv[2], NULL__null);
38552 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38553 }
38554 if (_v) {
38555 {
38556 int res = SWIG_AsVal_double(argv[3], NULL__null);
38557 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38558 }
38559 if (_v) {
38560 {
38561 int res = SWIG_AsVal_double(argv[4], NULL__null);
38562 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38563 }
38564 if (_v) {
38565 {
38566 int res = SWIG_AsVal_double(argv[5], NULL__null);
38567 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38568 }
38569 if (_v) {
38570 {
38571 int res = SWIG_AsVal_double(argv[6], NULL__null);
38572 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38573 }
38574 if (_v) {
38575 return _wrap_GCTAEdisp___call____SWIG_0(self, args);
38576 }
38577 }
38578 }
38579 }
38580 }
38581 }
38582 }
38583 }
38584
38585fail:
38586 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAEdisp___call__'.\n"
38587 " Possible C/C++ prototypes are:\n"
38588 " GCTAEdisp::operator ()(double const &,double const &,double const &,double const &,double const &,double const &) const\n"
38589 " GCTAEdisp::operator ()(double const &,double const &,double const &,double const &,double const &) const\n"
38590 " GCTAEdisp::operator ()(double const &,double const &,double const &,double const &) const\n"
38591 " GCTAEdisp::operator ()(double const &,double const &,double const &) const\n"
38592 " GCTAEdisp::operator ()(double const &,double const &) const\n");
38593 return 0;
38594}
38595
38596
38597SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEdisp_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38598 PyObject *resultobj = 0;
38599 GCTAEdisp *arg1 = (GCTAEdisp *) 0 ;
38600 void *argp1 = 0 ;
38601 int res1 = 0 ;
38602 PyObject * obj0 = 0 ;
38603
38604 if (!PyArg_ParseTuple(args,(char *)"O:GCTAEdisp_clear",&obj0)) SWIG_failgoto fail;
38605 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEdisp, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[6],
0 | 0, 0)
;
38606 if (!SWIG_IsOK(res1)(res1 >= 0)) {
38607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEdisp_clear" "', argument " "1"" of type '" "GCTAEdisp *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEdisp_clear" "', argument "
"1"" of type '" "GCTAEdisp *""'"); goto fail; } while(0)
;
38608 }
38609 arg1 = reinterpret_cast< GCTAEdisp * >(argp1);
38610 {
38611 try {
38612 (arg1)->clear();
38613 }
38614 catch (const GException::out_of_range& e) {
38615 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
38616 }
38617 catch (const GExceptionHandler& e) {
38618 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38619 }
38620 catch (const std::exception& e) {
38621 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38622 }
38623 }
38624 resultobj = SWIG_Py_Void();
38625 return resultobj;
38626fail:
38627 return NULL__null;
38628}
38629
38630
38631SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEdisp_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38632 PyObject *resultobj = 0;
38633 GCTAEdisp *arg1 = (GCTAEdisp *) 0 ;
38634 void *argp1 = 0 ;
38635 int res1 = 0 ;
38636 PyObject * obj0 = 0 ;
38637 GCTAEdisp *result = 0 ;
38638
38639 if (!PyArg_ParseTuple(args,(char *)"O:GCTAEdisp_clone",&obj0)) SWIG_failgoto fail;
38640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEdisp, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[6],
0 | 0, 0)
;
38641 if (!SWIG_IsOK(res1)(res1 >= 0)) {
38642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEdisp_clone" "', argument " "1"" of type '" "GCTAEdisp const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEdisp_clone" "', argument "
"1"" of type '" "GCTAEdisp const *""'"); goto fail; } while(
0)
;
38643 }
38644 arg1 = reinterpret_cast< GCTAEdisp * >(argp1);
38645 {
38646 try {
38647 result = (GCTAEdisp *)((GCTAEdisp const *)arg1)->clone();
38648 }
38649 catch (const GException::out_of_range& e) {
38650 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
38651 }
38652 catch (const GExceptionHandler& e) {
38653 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38654 }
38655 catch (const std::exception& e) {
38656 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38657 }
38658 }
38659 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAEdisp, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[6], 0 |
0)
;
38660 return resultobj;
38661fail:
38662 return NULL__null;
38663}
38664
38665
38666SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEdisp_load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38667 PyObject *resultobj = 0;
38668 GCTAEdisp *arg1 = (GCTAEdisp *) 0 ;
38669 std::string *arg2 = 0 ;
38670 void *argp1 = 0 ;
38671 int res1 = 0 ;
38672 int res2 = SWIG_OLDOBJ((0)) ;
38673 PyObject * obj0 = 0 ;
38674 PyObject * obj1 = 0 ;
38675
38676 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAEdisp_load",&obj0,&obj1)) SWIG_failgoto fail;
38677 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEdisp, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[6],
0 | 0, 0)
;
38678 if (!SWIG_IsOK(res1)(res1 >= 0)) {
38679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEdisp_load" "', argument " "1"" of type '" "GCTAEdisp *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEdisp_load" "', argument "
"1"" of type '" "GCTAEdisp *""'"); goto fail; } while(0)
;
38680 }
38681 arg1 = reinterpret_cast< GCTAEdisp * >(argp1);
38682 {
38683 std::string *ptr = (std::string *)0;
38684 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
38685 if (!SWIG_IsOK(res2)(res2 >= 0)) {
38686 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAEdisp_load" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAEdisp_load" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
38687 }
38688 if (!ptr) {
38689 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAEdisp_load" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAEdisp_load" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
38690 }
38691 arg2 = ptr;
38692 }
38693 {
38694 try {
38695 (arg1)->load((std::string const &)*arg2);
38696 }
38697 catch (const GException::out_of_range& e) {
38698 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
38699 }
38700 catch (const GExceptionHandler& e) {
38701 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38702 }
38703 catch (const std::exception& e) {
38704 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38705 }
38706 }
38707 resultobj = SWIG_Py_Void();
38708 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
38709 return resultobj;
38710fail:
38711 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
38712 return NULL__null;
38713}
38714
38715
38716SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAEdisp_filename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38717 PyObject *resultobj = 0;
38718 GCTAEdisp *arg1 = (GCTAEdisp *) 0 ;
38719 void *argp1 = 0 ;
38720 int res1 = 0 ;
38721 PyObject * obj0 = 0 ;
38722 std::string result;
38723
38724 if (!PyArg_ParseTuple(args,(char *)"O:GCTAEdisp_filename",&obj0)) SWIG_failgoto fail;
38725 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAEdisp, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[6],
0 | 0, 0)
;
38726 if (!SWIG_IsOK(res1)(res1 >= 0)) {
38727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAEdisp_filename" "', argument " "1"" of type '" "GCTAEdisp const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAEdisp_filename" "', argument "
"1"" of type '" "GCTAEdisp const *""'"); goto fail; } while(
0)
;
38728 }
38729 arg1 = reinterpret_cast< GCTAEdisp * >(argp1);
38730 {
38731 try {
38732 result = ((GCTAEdisp const *)arg1)->filename();
38733 }
38734 catch (const GException::out_of_range& e) {
38735 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
38736 }
38737 catch (const GExceptionHandler& e) {
38738 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38739 }
38740 catch (const std::exception& e) {
38741 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38742 }
38743 }
38744 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
38745 return resultobj;
38746fail:
38747 return NULL__null;
38748}
38749
38750
38751SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GCTAEdisp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38752 PyObject *obj;
38753 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
38754 SWIG_TypeNewClientData(SWIGTYPE_p_GCTAEdispswig_types[6], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
38755 return SWIG_Py_Void();
38756}
38757
38758SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAInstDir__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38759 PyObject *resultobj = 0;
38760 GCTAInstDir *result = 0 ;
38761
38762 if (!PyArg_ParseTuple(args,(char *)":new_GCTAInstDir")) SWIG_failgoto fail;
38763 {
38764 try {
38765 result = (GCTAInstDir *)new GCTAInstDir();
38766 }
38767 catch (const GException::out_of_range& e) {
38768 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
38769 }
38770 catch (const GExceptionHandler& e) {
38771 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38772 }
38773 catch (const std::exception& e) {
38774 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38775 }
38776 }
38777 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAInstDir, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], (
(0x1 << 1) | 0x1) | 0)
;
38778 return resultobj;
38779fail:
38780 return NULL__null;
38781}
38782
38783
38784SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAInstDir__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38785 PyObject *resultobj = 0;
38786 GSkyDir *arg1 = 0 ;
38787 void *argp1 = 0 ;
38788 int res1 = 0 ;
38789 PyObject * obj0 = 0 ;
38790 GCTAInstDir *result = 0 ;
38791
38792 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAInstDir",&obj0)) SWIG_failgoto fail;
38793 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GSkyDir, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[60]
, 0 | 0, 0)
;
38794 if (!SWIG_IsOK(res1)(res1 >= 0)) {
38795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAInstDir" "', argument " "1"" of type '" "GSkyDir const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAInstDir" "', argument "
"1"" of type '" "GSkyDir const &""'"); goto fail; } while
(0)
;
38796 }
38797 if (!argp1) {
38798 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAInstDir" "', argument " "1"" of type '" "GSkyDir const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAInstDir" "', argument " "1"" of type '"
"GSkyDir const &""'"); goto fail; } while(0)
;
38799 }
38800 arg1 = reinterpret_cast< GSkyDir * >(argp1);
38801 {
38802 try {
38803 result = (GCTAInstDir *)new GCTAInstDir((GSkyDir const &)*arg1);
38804 }
38805 catch (const GException::out_of_range& e) {
38806 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
38807 }
38808 catch (const GExceptionHandler& e) {
38809 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38810 }
38811 catch (const std::exception& e) {
38812 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38813 }
38814 }
38815 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAInstDir, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], (
(0x1 << 1) | 0x1) | 0)
;
38816 return resultobj;
38817fail:
38818 return NULL__null;
38819}
38820
38821
38822SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAInstDir__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38823 PyObject *resultobj = 0;
38824 GCTAInstDir *arg1 = 0 ;
38825 void *argp1 = 0 ;
38826 int res1 = 0 ;
38827 PyObject * obj0 = 0 ;
38828 GCTAInstDir *result = 0 ;
38829
38830 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAInstDir",&obj0)) SWIG_failgoto fail;
38831 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GCTAInstDir, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[11]
, 0 | 0, 0)
;
38832 if (!SWIG_IsOK(res1)(res1 >= 0)) {
38833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAInstDir" "', argument " "1"" of type '" "GCTAInstDir const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAInstDir" "', argument "
"1"" of type '" "GCTAInstDir const &""'"); goto fail; } while
(0)
;
38834 }
38835 if (!argp1) {
38836 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAInstDir" "', argument " "1"" of type '" "GCTAInstDir const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAInstDir" "', argument " "1"" of type '"
"GCTAInstDir const &""'"); goto fail; } while(0)
;
38837 }
38838 arg1 = reinterpret_cast< GCTAInstDir * >(argp1);
38839 {
38840 try {
38841 result = (GCTAInstDir *)new GCTAInstDir((GCTAInstDir const &)*arg1);
38842 }
38843 catch (const GException::out_of_range& e) {
38844 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
38845 }
38846 catch (const GExceptionHandler& e) {
38847 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38848 }
38849 catch (const std::exception& e) {
38850 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38851 }
38852 }
38853 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAInstDir, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], (
(0x1 << 1) | 0x1) | 0)
;
38854 return resultobj;
38855fail:
38856 return NULL__null;
38857}
38858
38859
38860SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GCTAInstDir(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38861 PyObject *resultobj = 0;
38862 GCTAInstDir *arg1 = (GCTAInstDir *) 0 ;
38863 void *argp1 = 0 ;
38864 int res1 = 0 ;
38865 PyObject * obj0 = 0 ;
38866
38867 if (!PyArg_ParseTuple(args,(char *)"O:delete_GCTAInstDir",&obj0)) SWIG_failgoto fail;
38868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAInstDir, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[11]
, 0x1 | 0, 0)
;
38869 if (!SWIG_IsOK(res1)(res1 >= 0)) {
38870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GCTAInstDir" "', argument " "1"" of type '" "GCTAInstDir *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GCTAInstDir" "', argument "
"1"" of type '" "GCTAInstDir *""'"); goto fail; } while(0)
;
38871 }
38872 arg1 = reinterpret_cast< GCTAInstDir * >(argp1);
38873 {
38874 try {
38875 delete arg1;
38876 }
38877 catch (const GException::out_of_range& e) {
38878 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
38879 }
38880 catch (const GExceptionHandler& e) {
38881 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38882 }
38883 catch (const std::exception& e) {
38884 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38885 }
38886 }
38887 resultobj = SWIG_Py_Void();
38888 return resultobj;
38889fail:
38890 return NULL__null;
38891}
38892
38893
38894SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAInstDir_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38895 PyObject *resultobj = 0;
38896 GCTAInstDir *arg1 = (GCTAInstDir *) 0 ;
38897 void *argp1 = 0 ;
38898 int res1 = 0 ;
38899 PyObject * obj0 = 0 ;
38900
38901 if (!PyArg_ParseTuple(args,(char *)"O:GCTAInstDir_clear",&obj0)) SWIG_failgoto fail;
38902 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAInstDir, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[11]
, 0 | 0, 0)
;
38903 if (!SWIG_IsOK(res1)(res1 >= 0)) {
38904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAInstDir_clear" "', argument " "1"" of type '" "GCTAInstDir *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAInstDir_clear" "', argument "
"1"" of type '" "GCTAInstDir *""'"); goto fail; } while(0)
;
38905 }
38906 arg1 = reinterpret_cast< GCTAInstDir * >(argp1);
38907 {
38908 try {
38909 (arg1)->clear();
38910 }
38911 catch (const GException::out_of_range& e) {
38912 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
38913 }
38914 catch (const GExceptionHandler& e) {
38915 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38916 }
38917 catch (const std::exception& e) {
38918 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38919 }
38920 }
38921 resultobj = SWIG_Py_Void();
38922 return resultobj;
38923fail:
38924 return NULL__null;
38925}
38926
38927
38928SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAInstDir_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38929 PyObject *resultobj = 0;
38930 GCTAInstDir *arg1 = (GCTAInstDir *) 0 ;
38931 void *argp1 = 0 ;
38932 int res1 = 0 ;
38933 PyObject * obj0 = 0 ;
38934 GCTAInstDir *result = 0 ;
38935
38936 if (!PyArg_ParseTuple(args,(char *)"O:GCTAInstDir_clone",&obj0)) SWIG_failgoto fail;
38937 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAInstDir, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[11]
, 0 | 0, 0)
;
38938 if (!SWIG_IsOK(res1)(res1 >= 0)) {
38939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAInstDir_clone" "', argument " "1"" of type '" "GCTAInstDir const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAInstDir_clone" "', argument "
"1"" of type '" "GCTAInstDir const *""'"); goto fail; } while
(0)
;
38940 }
38941 arg1 = reinterpret_cast< GCTAInstDir * >(argp1);
38942 {
38943 try {
38944 result = (GCTAInstDir *)((GCTAInstDir const *)arg1)->clone();
38945 }
38946 catch (const GException::out_of_range& e) {
38947 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
38948 }
38949 catch (const GExceptionHandler& e) {
38950 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38951 }
38952 catch (const std::exception& e) {
38953 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38954 }
38955 }
38956 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAInstDir, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], 0
| 0)
;
38957 return resultobj;
38958fail:
38959 return NULL__null;
38960}
38961
38962
38963SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAInstDir_dir__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38964 PyObject *resultobj = 0;
38965 GCTAInstDir *arg1 = (GCTAInstDir *) 0 ;
38966 GSkyDir *arg2 = 0 ;
38967 void *argp1 = 0 ;
38968 int res1 = 0 ;
38969 void *argp2 = 0 ;
38970 int res2 = 0 ;
38971 PyObject * obj0 = 0 ;
38972 PyObject * obj1 = 0 ;
38973
38974 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAInstDir_dir",&obj0,&obj1)) SWIG_failgoto fail;
38975 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAInstDir, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[11]
, 0 | 0, 0)
;
38976 if (!SWIG_IsOK(res1)(res1 >= 0)) {
38977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAInstDir_dir" "', argument " "1"" of type '" "GCTAInstDir *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAInstDir_dir" "', argument "
"1"" of type '" "GCTAInstDir *""'"); goto fail; } while(0)
;
38978 }
38979 arg1 = reinterpret_cast< GCTAInstDir * >(argp1);
38980 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GSkyDir, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[60]
, 0 | 0, 0)
;
38981 if (!SWIG_IsOK(res2)(res2 >= 0)) {
38982 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAInstDir_dir" "', argument " "2"" of type '" "GSkyDir const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAInstDir_dir" "', argument "
"2"" of type '" "GSkyDir const &""'"); goto fail; } while
(0)
;
38983 }
38984 if (!argp2) {
38985 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAInstDir_dir" "', argument " "2"" of type '" "GSkyDir const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAInstDir_dir" "', argument " "2"" of type '"
"GSkyDir const &""'"); goto fail; } while(0)
;
38986 }
38987 arg2 = reinterpret_cast< GSkyDir * >(argp2);
38988 {
38989 try {
38990 (arg1)->dir((GSkyDir const &)*arg2);
38991 }
38992 catch (const GException::out_of_range& e) {
38993 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
38994 }
38995 catch (const GExceptionHandler& e) {
38996 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38997 }
38998 catch (const std::exception& e) {
38999 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39000 }
39001 }
39002 resultobj = SWIG_Py_Void();
39003 return resultobj;
39004fail:
39005 return NULL__null;
39006}
39007
39008
39009SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAInstDir_dir__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39010 PyObject *resultobj = 0;
39011 GCTAInstDir *arg1 = (GCTAInstDir *) 0 ;
39012 void *argp1 = 0 ;
39013 int res1 = 0 ;
39014 PyObject * obj0 = 0 ;
39015 GSkyDir *result = 0 ;
39016
39017 if (!PyArg_ParseTuple(args,(char *)"O:GCTAInstDir_dir",&obj0)) SWIG_failgoto fail;
39018 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAInstDir, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[11]
, 0 | 0, 0)
;
39019 if (!SWIG_IsOK(res1)(res1 >= 0)) {
39020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAInstDir_dir" "', argument " "1"" of type '" "GCTAInstDir *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAInstDir_dir" "', argument "
"1"" of type '" "GCTAInstDir *""'"); goto fail; } while(0)
;
39021 }
39022 arg1 = reinterpret_cast< GCTAInstDir * >(argp1);
39023 {
39024 try {
39025 result = (GSkyDir *) &(arg1)->dir();
39026 }
39027 catch (const GException::out_of_range& e) {
39028 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
39029 }
39030 catch (const GExceptionHandler& e) {
39031 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39032 }
39033 catch (const std::exception& e) {
39034 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39035 }
39036 }
39037 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GSkyDir, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[60], 0
| 0)
;
39038 return resultobj;
39039fail:
39040 return NULL__null;
39041}
39042
39043
39044SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAInstDir_dir(PyObject *self, PyObject *args) {
39045 int argc;
39046 PyObject *argv[3];
39047 int ii;
39048
39049 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
39050 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
39051 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
39052 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
39053 }
39054 if (argc == 1) {
39055 int _v;
39056 void *vptr = 0;
39057 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAInstDir, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[11
], 0, 0)
;
39058 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
39059 if (_v) {
39060 return _wrap_GCTAInstDir_dir__SWIG_1(self, args);
39061 }
39062 }
39063 if (argc == 2) {
39064 int _v;
39065 void *vptr = 0;
39066 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAInstDir, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[11
], 0, 0)
;
39067 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
39068 if (_v) {
39069 int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_GSkyDir, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], 0, swig_types[60], 0, 0
)
;
39070 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
39071 if (_v) {
39072 return _wrap_GCTAInstDir_dir__SWIG_0(self, args);
39073 }
39074 }
39075 }
39076
39077fail:
39078 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAInstDir_dir'.\n"
39079 " Possible C/C++ prototypes are:\n"
39080 " GCTAInstDir::dir(GSkyDir const &)\n"
39081 " GCTAInstDir::dir()\n");
39082 return 0;
39083}
39084
39085
39086SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAInstDir_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39087 PyObject *resultobj = 0;
39088 GCTAInstDir *arg1 = (GCTAInstDir *) 0 ;
39089 void *argp1 = 0 ;
39090 int res1 = 0 ;
39091 PyObject * obj0 = 0 ;
39092 GCTAInstDir result;
39093
39094 if (!PyArg_ParseTuple(args,(char *)"O:GCTAInstDir_copy",&obj0)) SWIG_failgoto fail;
39095 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAInstDir, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[11]
, 0 | 0, 0)
;
39096 if (!SWIG_IsOK(res1)(res1 >= 0)) {
39097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAInstDir_copy" "', argument " "1"" of type '" "GCTAInstDir *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAInstDir_copy" "', argument "
"1"" of type '" "GCTAInstDir *""'"); goto fail; } while(0)
;
39098 }
39099 arg1 = reinterpret_cast< GCTAInstDir * >(argp1);
39100 {
39101 try {
39102 result = GCTAInstDir_copy(arg1);
39103 }
39104 catch (const GException::out_of_range& e) {
39105 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
39106 }
39107 catch (const GExceptionHandler& e) {
39108 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39109 }
39110 catch (const std::exception& e) {
39111 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39112 }
39113 }
39114 resultobj = SWIG_NewPointerObj((new GCTAInstDir(static_cast< const GCTAInstDir& >(result))), SWIGTYPE_p_GCTAInstDir, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GCTAInstDir(static_cast
< const GCTAInstDir& >(result))), swig_types[11], 0x1
| 0)
;
39115 return resultobj;
39116fail:
39117 return NULL__null;
39118}
39119
39120
39121SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAInstDir__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39122 PyObject *resultobj = 0;
39123 GInstDir *arg1 = (GInstDir *) 0 ;
39124 void *argp1 = 0 ;
39125 int res1 = 0 ;
39126 PyObject * obj0 = 0 ;
39127 GCTAInstDir *result = 0 ;
39128
39129 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAInstDir",&obj0)) SWIG_failgoto fail;
39130 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GInstDir, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[43]
, 0 | 0, 0)
;
39131 if (!SWIG_IsOK(res1)(res1 >= 0)) {
39132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAInstDir" "', argument " "1"" of type '" "GInstDir *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAInstDir" "', argument "
"1"" of type '" "GInstDir *""'"); goto fail; } while(0)
;
39133 }
39134 arg1 = reinterpret_cast< GInstDir * >(argp1);
39135 {
39136 try {
39137 result = (GCTAInstDir *)new_GCTAInstDir__SWIG_3(arg1);
39138 }
39139 catch (const GException::out_of_range& e) {
39140 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
39141 }
39142 catch (const GExceptionHandler& e) {
39143 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39144 }
39145 catch (const std::exception& e) {
39146 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39147 }
39148 }
39149 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAInstDir, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], (
(0x1 << 1) | 0x1) | 0)
;
39150 return resultobj;
39151fail:
39152 return NULL__null;
39153}
39154
39155
39156SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAInstDir(PyObject *self, PyObject *args) {
39157 int argc;
39158 PyObject *argv[2];
39159 int ii;
39160
39161 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
39162 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
39163 for (ii = 0; (ii < 1) && (ii < argc); ii++) {
39164 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
39165 }
39166 if (argc == 0) {
39167 return _wrap_new_GCTAInstDir__SWIG_0(self, args);
39168 }
39169 if (argc == 1) {
39170 int _v;
39171 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GSkyDir, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[60], 0, 0
)
;
39172 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
39173 if (_v) {
39174 return _wrap_new_GCTAInstDir__SWIG_1(self, args);
39175 }
39176 }
39177 if (argc == 1) {
39178 int _v;
39179 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GCTAInstDir, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[11], 0, 0
)
;
39180 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
39181 if (_v) {
39182 return _wrap_new_GCTAInstDir__SWIG_2(self, args);
39183 }
39184 }
39185 if (argc == 1) {
39186 int _v;
39187 void *vptr = 0;
39188 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GInstDir, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[43
], 0, 0)
;
39189 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
39190 if (_v) {
39191 return _wrap_new_GCTAInstDir__SWIG_3(self, args);
39192 }
39193 }
39194
39195fail:
39196 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GCTAInstDir'.\n"
39197 " Possible C/C++ prototypes are:\n"
39198 " GCTAInstDir::GCTAInstDir()\n"
39199 " GCTAInstDir::GCTAInstDir(GSkyDir const &)\n"
39200 " GCTAInstDir::GCTAInstDir(GCTAInstDir const &)\n"
39201 " GCTAInstDir::GCTAInstDir(GInstDir *)\n");
39202 return 0;
39203}
39204
39205
39206SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GCTAInstDir_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39207 PyObject *obj;
39208 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
39209 SWIG_TypeNewClientData(SWIGTYPE_p_GCTAInstDirswig_types[11], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
39210 return SWIG_Py_Void();
39211}
39212
39213SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTARoi__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39214 PyObject *resultobj = 0;
39215 GCTARoi *result = 0 ;
39216
39217 if (!PyArg_ParseTuple(args,(char *)":new_GCTARoi")) SWIG_failgoto fail;
39218 {
39219 try {
39220 result = (GCTARoi *)new GCTARoi();
39221 }
39222 catch (const GException::out_of_range& e) {
39223 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
39224 }
39225 catch (const GExceptionHandler& e) {
39226 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39227 }
39228 catch (const std::exception& e) {
39229 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39230 }
39231 }
39232 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTARoi, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[30], (
(0x1 << 1) | 0x1) | 0)
;
39233 return resultobj;
39234fail:
39235 return NULL__null;
39236}
39237
39238
39239SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTARoi__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39240 PyObject *resultobj = 0;
39241 GCTAInstDir *arg1 = 0 ;
39242 double *arg2 = 0 ;
39243 void *argp1 = 0 ;
39244 int res1 = 0 ;
39245 double temp2 ;
39246 double val2 ;
39247 int ecode2 = 0 ;
39248 PyObject * obj0 = 0 ;
39249 PyObject * obj1 = 0 ;
39250 GCTARoi *result = 0 ;
39251
39252 if (!PyArg_ParseTuple(args,(char *)"OO:new_GCTARoi",&obj0,&obj1)) SWIG_failgoto fail;
39253 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GCTAInstDir, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[11]
, 0 | 0, 0)
;
39254 if (!SWIG_IsOK(res1)(res1 >= 0)) {
39255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTARoi" "', argument " "1"" of type '" "GCTAInstDir const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTARoi" "', argument "
"1"" of type '" "GCTAInstDir const &""'"); goto fail; } while
(0)
;
39256 }
39257 if (!argp1) {
39258 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTARoi" "', argument " "1"" of type '" "GCTAInstDir const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTARoi" "', argument " "1"" of type '" "GCTAInstDir const &"
"'"); goto fail; } while(0)
;
39259 }
39260 arg1 = reinterpret_cast< GCTAInstDir * >(argp1);
39261 ecode2 = SWIG_AsVal_double(obj1, &val2);
39262 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
39263 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GCTARoi" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GCTARoi" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
39264 }
39265 temp2 = static_cast< double >(val2);
39266 arg2 = &temp2;
39267 {
39268 try {
39269 result = (GCTARoi *)new GCTARoi((GCTAInstDir const &)*arg1,(double const &)*arg2);
39270 }
39271 catch (const GException::out_of_range& e) {
39272 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
39273 }
39274 catch (const GExceptionHandler& e) {
39275 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39276 }
39277 catch (const std::exception& e) {
39278 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39279 }
39280 }
39281 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTARoi, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[30], (
(0x1 << 1) | 0x1) | 0)
;
39282 return resultobj;
39283fail:
39284 return NULL__null;
39285}
39286
39287
39288SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTARoi__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39289 PyObject *resultobj = 0;
39290 GCTARoi *arg1 = 0 ;
39291 void *argp1 = 0 ;
39292 int res1 = 0 ;
39293 PyObject * obj0 = 0 ;
39294 GCTARoi *result = 0 ;
39295
39296 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTARoi",&obj0)) SWIG_failgoto fail;
39297 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GCTARoi, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[30]
, 0 | 0, 0)
;
39298 if (!SWIG_IsOK(res1)(res1 >= 0)) {
39299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTARoi" "', argument " "1"" of type '" "GCTARoi const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTARoi" "', argument "
"1"" of type '" "GCTARoi const &""'"); goto fail; } while
(0)
;
39300 }
39301 if (!argp1) {
39302 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTARoi" "', argument " "1"" of type '" "GCTARoi const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTARoi" "', argument " "1"" of type '" "GCTARoi const &"
"'"); goto fail; } while(0)
;
39303 }
39304 arg1 = reinterpret_cast< GCTARoi * >(argp1);
39305 {
39306 try {
39307 result = (GCTARoi *)new GCTARoi((GCTARoi const &)*arg1);
39308 }
39309 catch (const GException::out_of_range& e) {
39310 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
39311 }
39312 catch (const GExceptionHandler& e) {
39313 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39314 }
39315 catch (const std::exception& e) {
39316 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39317 }
39318 }
39319 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTARoi, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[30], (
(0x1 << 1) | 0x1) | 0)
;
39320 return resultobj;
39321fail:
39322 return NULL__null;
39323}
39324
39325
39326SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTARoi(PyObject *self, PyObject *args) {
39327 int argc;
39328 PyObject *argv[3];
39329 int ii;
39330
39331 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
39332 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
39333 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
39334 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
39335 }
39336 if (argc == 0) {
39337 return _wrap_new_GCTARoi__SWIG_0(self, args);
39338 }
39339 if (argc == 1) {
39340 int _v;
39341 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GCTARoi, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[30], 0, 0
)
;
39342 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
39343 if (_v) {
39344 return _wrap_new_GCTARoi__SWIG_2(self, args);
39345 }
39346 }
39347 if (argc == 2) {
39348 int _v;
39349 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GCTAInstDir, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[11], 0, 0
)
;
39350 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
39351 if (_v) {
39352 {
39353 int res = SWIG_AsVal_double(argv[1], NULL__null);
39354 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
39355 }
39356 if (_v) {
39357 return _wrap_new_GCTARoi__SWIG_1(self, args);
39358 }
39359 }
39360 }
39361
39362fail:
39363 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GCTARoi'.\n"
39364 " Possible C/C++ prototypes are:\n"
39365 " GCTARoi::GCTARoi()\n"
39366 " GCTARoi::GCTARoi(GCTAInstDir const &,double const &)\n"
39367 " GCTARoi::GCTARoi(GCTARoi const &)\n");
39368 return 0;
39369}
39370
39371
39372SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GCTARoi(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39373 PyObject *resultobj = 0;
39374 GCTARoi *arg1 = (GCTARoi *) 0 ;
39375 void *argp1 = 0 ;
39376 int res1 = 0 ;
39377 PyObject * obj0 = 0 ;
39378
39379 if (!PyArg_ParseTuple(args,(char *)"O:delete_GCTARoi",&obj0)) SWIG_failgoto fail;
39380 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTARoi, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[30]
, 0x1 | 0, 0)
;
39381 if (!SWIG_IsOK(res1)(res1 >= 0)) {
39382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GCTARoi" "', argument " "1"" of type '" "GCTARoi *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GCTARoi" "', argument "
"1"" of type '" "GCTARoi *""'"); goto fail; } while(0)
;
39383 }
39384 arg1 = reinterpret_cast< GCTARoi * >(argp1);
39385 {
39386 try {
39387 delete arg1;
39388 }
39389 catch (const GException::out_of_range& e) {
39390 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
39391 }
39392 catch (const GExceptionHandler& e) {
39393 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39394 }
39395 catch (const std::exception& e) {
39396 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39397 }
39398 }
39399 resultobj = SWIG_Py_Void();
39400 return resultobj;
39401fail:
39402 return NULL__null;
39403}
39404
39405
39406SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTARoi_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39407 PyObject *resultobj = 0;
39408 GCTARoi *arg1 = (GCTARoi *) 0 ;
39409 void *argp1 = 0 ;
39410 int res1 = 0 ;
39411 PyObject * obj0 = 0 ;
39412
39413 if (!PyArg_ParseTuple(args,(char *)"O:GCTARoi_clear",&obj0)) SWIG_failgoto fail;
39414 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTARoi, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[30]
, 0 | 0, 0)
;
39415 if (!SWIG_IsOK(res1)(res1 >= 0)) {
39416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTARoi_clear" "', argument " "1"" of type '" "GCTARoi *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTARoi_clear" "', argument "
"1"" of type '" "GCTARoi *""'"); goto fail; } while(0)
;
39417 }
39418 arg1 = reinterpret_cast< GCTARoi * >(argp1);
39419 {
39420 try {
39421 (arg1)->clear();
39422 }
39423 catch (const GException::out_of_range& e) {
39424 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
39425 }
39426 catch (const GExceptionHandler& e) {
39427 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39428 }
39429 catch (const std::exception& e) {
39430 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39431 }
39432 }
39433 resultobj = SWIG_Py_Void();
39434 return resultobj;
39435fail:
39436 return NULL__null;
39437}
39438
39439
39440SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTARoi_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39441 PyObject *resultobj = 0;
39442 GCTARoi *arg1 = (GCTARoi *) 0 ;
39443 void *argp1 = 0 ;
39444 int res1 = 0 ;
39445 PyObject * obj0 = 0 ;
39446 GCTARoi *result = 0 ;
39447
39448 if (!PyArg_ParseTuple(args,(char *)"O:GCTARoi_clone",&obj0)) SWIG_failgoto fail;
39449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTARoi, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[30]
, 0 | 0, 0)
;
39450 if (!SWIG_IsOK(res1)(res1 >= 0)) {
39451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTARoi_clone" "', argument " "1"" of type '" "GCTARoi const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTARoi_clone" "', argument "
"1"" of type '" "GCTARoi const *""'"); goto fail; } while(0)
;
39452 }
39453 arg1 = reinterpret_cast< GCTARoi * >(argp1);
39454 {
39455 try {
39456 result = (GCTARoi *)((GCTARoi const *)arg1)->clone();
39457 }
39458 catch (const GException::out_of_range& e) {
39459 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
39460 }
39461 catch (const GExceptionHandler& e) {
39462 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39463 }
39464 catch (const std::exception& e) {
39465 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39466 }
39467 }
39468 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTARoi, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[30], 0
| 0)
;
39469 return resultobj;
39470fail:
39471 return NULL__null;
39472}
39473
39474
39475SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTARoi_contains(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39476 PyObject *resultobj = 0;
39477 GCTARoi *arg1 = (GCTARoi *) 0 ;
39478 GEvent *arg2 = 0 ;
39479 void *argp1 = 0 ;
39480 int res1 = 0 ;
39481 void *argp2 = 0 ;
39482 int res2 = 0 ;
39483 PyObject * obj0 = 0 ;
39484 PyObject * obj1 = 0 ;
39485 bool result;
39486
39487 if (!PyArg_ParseTuple(args,(char *)"OO:GCTARoi_contains",&obj0,&obj1)) SWIG_failgoto fail;
39488 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTARoi, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[30]
, 0 | 0, 0)
;
39489 if (!SWIG_IsOK(res1)(res1 >= 0)) {
39490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTARoi_contains" "', argument " "1"" of type '" "GCTARoi const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTARoi_contains" "', argument "
"1"" of type '" "GCTARoi const *""'"); goto fail; } while(0)
;
39491 }
39492 arg1 = reinterpret_cast< GCTARoi * >(argp1);
39493 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GEvent, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[34]
, 0 | 0, 0)
;
39494 if (!SWIG_IsOK(res2)(res2 >= 0)) {
39495 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTARoi_contains" "', argument " "2"" of type '" "GEvent const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTARoi_contains" "', argument "
"2"" of type '" "GEvent const &""'"); goto fail; } while
(0)
;
39496 }
39497 if (!argp2) {
39498 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTARoi_contains" "', argument " "2"" of type '" "GEvent const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTARoi_contains" "', argument " "2"" of type '"
"GEvent const &""'"); goto fail; } while(0)
;
39499 }
39500 arg2 = reinterpret_cast< GEvent * >(argp2);
39501 {
39502 try {
39503 result = (bool)((GCTARoi const *)arg1)->contains((GEvent const &)*arg2);
39504 }
39505 catch (const GException::out_of_range& e) {
39506 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
39507 }
39508 catch (const GExceptionHandler& e) {
39509 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39510 }
39511 catch (const std::exception& e) {
39512 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39513 }
39514 }
39515 resultobj = SWIG_From_bool(static_cast< bool >(result));
39516 return resultobj;
39517fail:
39518 return NULL__null;
39519}
39520
39521
39522SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTARoi_centre__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39523 PyObject *resultobj = 0;
39524 GCTARoi *arg1 = (GCTARoi *) 0 ;
39525 void *argp1 = 0 ;
39526 int res1 = 0 ;
39527 PyObject * obj0 = 0 ;
39528 GCTAInstDir *result = 0 ;
39529
39530 if (!PyArg_ParseTuple(args,(char *)"O:GCTARoi_centre",&obj0)) SWIG_failgoto fail;
39531 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTARoi, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[30]
, 0 | 0, 0)
;
39532 if (!SWIG_IsOK(res1)(res1 >= 0)) {
39533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTARoi_centre" "', argument " "1"" of type '" "GCTARoi const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTARoi_centre" "', argument "
"1"" of type '" "GCTARoi const *""'"); goto fail; } while(0)
;
39534 }
39535 arg1 = reinterpret_cast< GCTARoi * >(argp1);
39536 {
39537 try {
39538 result = (GCTAInstDir *) &((GCTARoi const *)arg1)->centre();
39539 }
39540 catch (const GException::out_of_range& e) {
39541 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
39542 }
39543 catch (const GExceptionHandler& e) {
39544 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39545 }
39546 catch (const std::exception& e) {
39547 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39548 }
39549 }
39550 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAInstDir, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], 0
| 0)
;
39551 return resultobj;
39552fail:
39553 return NULL__null;
39554}
39555
39556
39557SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTARoi_radius__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39558 PyObject *resultobj = 0;
39559 GCTARoi *arg1 = (GCTARoi *) 0 ;
39560 void *argp1 = 0 ;
39561 int res1 = 0 ;
39562 PyObject * obj0 = 0 ;
39563 double *result = 0 ;
39564
39565 if (!PyArg_ParseTuple(args,(char *)"O:GCTARoi_radius",&obj0)) SWIG_failgoto fail;
39566 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTARoi, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[30]
, 0 | 0, 0)
;
39567 if (!SWIG_IsOK(res1)(res1 >= 0)) {
39568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTARoi_radius" "', argument " "1"" of type '" "GCTARoi const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTARoi_radius" "', argument "
"1"" of type '" "GCTARoi const *""'"); goto fail; } while(0)
;
39569 }
39570 arg1 = reinterpret_cast< GCTARoi * >(argp1);
39571 {
39572 try {
39573 result = (double *) &((GCTARoi const *)arg1)->radius();
39574 }
39575 catch (const GException::out_of_range& e) {
39576 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
39577 }
39578 catch (const GExceptionHandler& e) {
39579 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39580 }
39581 catch (const std::exception& e) {
39582 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39583 }
39584 }
39585 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(*result));
39586 return resultobj;
39587fail:
39588 return NULL__null;
39589}
39590
39591
39592SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTARoi_centre__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39593 PyObject *resultobj = 0;
39594 GCTARoi *arg1 = (GCTARoi *) 0 ;
39595 GCTAInstDir *arg2 = 0 ;
39596 void *argp1 = 0 ;
39597 int res1 = 0 ;
39598 void *argp2 = 0 ;
39599 int res2 = 0 ;
39600 PyObject * obj0 = 0 ;
39601 PyObject * obj1 = 0 ;
39602
39603 if (!PyArg_ParseTuple(args,(char *)"OO:GCTARoi_centre",&obj0,&obj1)) SWIG_failgoto fail;
39604 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTARoi, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[30]
, 0 | 0, 0)
;
39605 if (!SWIG_IsOK(res1)(res1 >= 0)) {
39606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTARoi_centre" "', argument " "1"" of type '" "GCTARoi *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTARoi_centre" "', argument "
"1"" of type '" "GCTARoi *""'"); goto fail; } while(0)
;
39607 }
39608 arg1 = reinterpret_cast< GCTARoi * >(argp1);
39609 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GCTAInstDir, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[11]
, 0 | 0, 0)
;
39610 if (!SWIG_IsOK(res2)(res2 >= 0)) {
39611 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTARoi_centre" "', argument " "2"" of type '" "GCTAInstDir const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTARoi_centre" "', argument "
"2"" of type '" "GCTAInstDir const &""'"); goto fail; } while
(0)
;
39612 }
39613 if (!argp2) {
39614 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTARoi_centre" "', argument " "2"" of type '" "GCTAInstDir const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTARoi_centre" "', argument " "2"" of type '"
"GCTAInstDir const &""'"); goto fail; } while(0)
;
39615 }
39616 arg2 = reinterpret_cast< GCTAInstDir * >(argp2);
39617 {
39618 try {
39619 (arg1)->centre((GCTAInstDir const &)*arg2);
39620 }
39621 catch (const GException::out_of_range& e) {
39622 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
39623 }
39624 catch (const GExceptionHandler& e) {
39625 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39626 }
39627 catch (const std::exception& e) {
39628 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39629 }
39630 }
39631 resultobj = SWIG_Py_Void();
39632 return resultobj;
39633fail:
39634 return NULL__null;
39635}
39636
39637
39638SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTARoi_centre(PyObject *self, PyObject *args) {
39639 int argc;
39640 PyObject *argv[3];
39641 int ii;
39642
39643 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
39644 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
39645 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
39646 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
39647 }
39648 if (argc == 1) {
39649 int _v;
39650 void *vptr = 0;
39651 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTARoi, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[30
], 0, 0)
;
39652 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
39653 if (_v) {
39654 return _wrap_GCTARoi_centre__SWIG_0(self, args);
39655 }
39656 }
39657 if (argc == 2) {
39658 int _v;
39659 void *vptr = 0;
39660 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTARoi, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[30
], 0, 0)
;
39661 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
39662 if (_v) {
39663 int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_GCTAInstDir, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], 0, swig_types[11], 0, 0
)
;
39664 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
39665 if (_v) {
39666 return _wrap_GCTARoi_centre__SWIG_1(self, args);
39667 }
39668 }
39669 }
39670
39671fail:
39672 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTARoi_centre'.\n"
39673 " Possible C/C++ prototypes are:\n"
39674 " GCTARoi::centre() const\n"
39675 " GCTARoi::centre(GCTAInstDir const &)\n");
39676 return 0;
39677}
39678
39679
39680SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTARoi_radius__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39681 PyObject *resultobj = 0;
39682 GCTARoi *arg1 = (GCTARoi *) 0 ;
39683 double *arg2 = 0 ;
39684 void *argp1 = 0 ;
39685 int res1 = 0 ;
39686 double temp2 ;
39687 double val2 ;
39688 int ecode2 = 0 ;
39689 PyObject * obj0 = 0 ;
39690 PyObject * obj1 = 0 ;
39691
39692 if (!PyArg_ParseTuple(args,(char *)"OO:GCTARoi_radius",&obj0,&obj1)) SWIG_failgoto fail;
39693 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTARoi, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[30]
, 0 | 0, 0)
;
39694 if (!SWIG_IsOK(res1)(res1 >= 0)) {
39695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTARoi_radius" "', argument " "1"" of type '" "GCTARoi *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTARoi_radius" "', argument "
"1"" of type '" "GCTARoi *""'"); goto fail; } while(0)
;
39696 }
39697 arg1 = reinterpret_cast< GCTARoi * >(argp1);
39698 ecode2 = SWIG_AsVal_double(obj1, &val2);
39699 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
39700 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTARoi_radius" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTARoi_radius" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
39701 }
39702 temp2 = static_cast< double >(val2);
39703 arg2 = &temp2;
39704 {
39705 try {
39706 (arg1)->radius((double const &)*arg2);
39707 }
39708 catch (const GException::out_of_range& e) {
39709 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
39710 }
39711 catch (const GExceptionHandler& e) {
39712 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39713 }
39714 catch (const std::exception& e) {
39715 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39716 }
39717 }
39718 resultobj = SWIG_Py_Void();
39719 return resultobj;
39720fail:
39721 return NULL__null;
39722}
39723
39724
39725SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTARoi_radius(PyObject *self, PyObject *args) {
39726 int argc;
39727 PyObject *argv[3];
39728 int ii;
39729
39730 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
39731 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
39732 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
39733 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
39734 }
39735 if (argc == 1) {
39736 int _v;
39737 void *vptr = 0;
39738 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTARoi, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[30
], 0, 0)
;
39739 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
39740 if (_v) {
39741 return _wrap_GCTARoi_radius__SWIG_0(self, args);
39742 }
39743 }
39744 if (argc == 2) {
39745 int _v;
39746 void *vptr = 0;
39747 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTARoi, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[30
], 0, 0)
;
39748 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
39749 if (_v) {
39750 {
39751 int res = SWIG_AsVal_double(argv[1], NULL__null);
39752 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
39753 }
39754 if (_v) {
39755 return _wrap_GCTARoi_radius__SWIG_1(self, args);
39756 }
39757 }
39758 }
39759
39760fail:
39761 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTARoi_radius'.\n"
39762 " Possible C/C++ prototypes are:\n"
39763 " GCTARoi::radius() const\n"
39764 " GCTARoi::radius(double const &)\n");
39765 return 0;
39766}
39767
39768
39769SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTARoi_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39770 PyObject *resultobj = 0;
39771 GCTARoi *arg1 = (GCTARoi *) 0 ;
39772 void *argp1 = 0 ;
39773 int res1 = 0 ;
39774 PyObject * obj0 = 0 ;
39775 GCTARoi result;
39776
39777 if (!PyArg_ParseTuple(args,(char *)"O:GCTARoi_copy",&obj0)) SWIG_failgoto fail;
39778 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTARoi, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[30]
, 0 | 0, 0)
;
39779 if (!SWIG_IsOK(res1)(res1 >= 0)) {
39780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTARoi_copy" "', argument " "1"" of type '" "GCTARoi *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTARoi_copy" "', argument "
"1"" of type '" "GCTARoi *""'"); goto fail; } while(0)
;
39781 }
39782 arg1 = reinterpret_cast< GCTARoi * >(argp1);
39783 {
39784 try {
39785 result = GCTARoi_copy(arg1);
39786 }
39787 catch (const GException::out_of_range& e) {
39788 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
39789 }
39790 catch (const GExceptionHandler& e) {
39791 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39792 }
39793 catch (const std::exception& e) {
39794 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39795 }
39796 }
39797 resultobj = SWIG_NewPointerObj((new GCTARoi(static_cast< const GCTARoi& >(result))), SWIGTYPE_p_GCTARoi, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GCTARoi(static_cast<
const GCTARoi& >(result))), swig_types[30], 0x1 | 0)
;
39798 return resultobj;
39799fail:
39800 return NULL__null;
39801}
39802
39803
39804SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GCTARoi_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39805 PyObject *obj;
39806 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
39807 SWIG_TypeNewClientData(SWIGTYPE_p_GCTARoiswig_types[30], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
39808 return SWIG_Py_Void();
39809}
39810
39811SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAModelBackground__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39812 PyObject *resultobj = 0;
39813 GCTAModelBackground *result = 0 ;
39814
39815 if (!PyArg_ParseTuple(args,(char *)":new_GCTAModelBackground")) SWIG_failgoto fail;
39816 {
39817 try {
39818 result = (GCTAModelBackground *)new GCTAModelBackground();
39819 }
39820 catch (const GException::out_of_range& e) {
39821 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
39822 }
39823 catch (const GExceptionHandler& e) {
39824 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39825 }
39826 catch (const std::exception& e) {
39827 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39828 }
39829 }
39830 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAModelBackground, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[12], (
(0x1 << 1) | 0x1) | 0)
;
39831 return resultobj;
39832fail:
39833 return NULL__null;
39834}
39835
39836
39837SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAModelBackground__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39838 PyObject *resultobj = 0;
39839 GXmlElement *arg1 = 0 ;
39840 void *argp1 = 0 ;
39841 int res1 = 0 ;
39842 PyObject * obj0 = 0 ;
39843 GCTAModelBackground *result = 0 ;
39844
39845 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAModelBackground",&obj0)) SWIG_failgoto fail;
39846 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GXmlElement, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[66]
, 0 | 0, 0)
;
39847 if (!SWIG_IsOK(res1)(res1 >= 0)) {
39848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAModelBackground" "', argument " "1"" of type '" "GXmlElement const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAModelBackground" "', argument "
"1"" of type '" "GXmlElement const &""'"); goto fail; } while
(0)
;
39849 }
39850 if (!argp1) {
39851 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAModelBackground" "', argument " "1"" of type '" "GXmlElement const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAModelBackground" "', argument " "1"" of type '"
"GXmlElement const &""'"); goto fail; } while(0)
;
39852 }
39853 arg1 = reinterpret_cast< GXmlElement * >(argp1);
39854 {
39855 try {
39856 result = (GCTAModelBackground *)new GCTAModelBackground((GXmlElement const &)*arg1);
39857 }
39858 catch (const GException::out_of_range& e) {
39859 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
39860 }
39861 catch (const GExceptionHandler& e) {
39862 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39863 }
39864 catch (const std::exception& e) {
39865 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39866 }
39867 }
39868 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAModelBackground, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[12], (
(0x1 << 1) | 0x1) | 0)
;
39869 return resultobj;
39870fail:
39871 return NULL__null;
39872}
39873
39874
39875SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAModelBackground__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39876 PyObject *resultobj = 0;
39877 GModelSpatial *arg1 = 0 ;
39878 GModelSpectral *arg2 = 0 ;
39879 void *argp1 = 0 ;
39880 int res1 = 0 ;
39881 void *argp2 = 0 ;
39882 int res2 = 0 ;
39883 PyObject * obj0 = 0 ;
39884 PyObject * obj1 = 0 ;
39885 GCTAModelBackground *result = 0 ;
39886
39887 if (!PyArg_ParseTuple(args,(char *)"OO:new_GCTAModelBackground",&obj0,&obj1)) SWIG_failgoto fail;
39888 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GModelSpatial, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[48]
, 0 | 0, 0)
;
39889 if (!SWIG_IsOK(res1)(res1 >= 0)) {
39890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAModelBackground" "', argument " "1"" of type '" "GModelSpatial const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAModelBackground" "', argument "
"1"" of type '" "GModelSpatial const &""'"); goto fail; }
while(0)
;
39891 }
39892 if (!argp1) {
39893 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAModelBackground" "', argument " "1"" of type '" "GModelSpatial const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAModelBackground" "', argument " "1"" of type '"
"GModelSpatial const &""'"); goto fail; } while(0)
;
39894 }
39895 arg1 = reinterpret_cast< GModelSpatial * >(argp1);
39896 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GModelSpectral, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[49]
, 0 | 0, 0)
;
39897 if (!SWIG_IsOK(res2)(res2 >= 0)) {
39898 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_GCTAModelBackground" "', argument " "2"" of type '" "GModelSpectral const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "new_GCTAModelBackground" "', argument "
"2"" of type '" "GModelSpectral const &""'"); goto fail;
} while(0)
;
39899 }
39900 if (!argp2) {
39901 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAModelBackground" "', argument " "2"" of type '" "GModelSpectral const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAModelBackground" "', argument " "2"" of type '"
"GModelSpectral const &""'"); goto fail; } while(0)
;
39902 }
39903 arg2 = reinterpret_cast< GModelSpectral * >(argp2);
39904 {
39905 try {
39906 result = (GCTAModelBackground *)new GCTAModelBackground((GModelSpatial const &)*arg1,(GModelSpectral const &)*arg2);
39907 }
39908 catch (const GException::out_of_range& e) {
39909 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
39910 }
39911 catch (const GExceptionHandler& e) {
39912 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39913 }
39914 catch (const std::exception& e) {
39915 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39916 }
39917 }
39918 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAModelBackground, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[12], (
(0x1 << 1) | 0x1) | 0)
;
39919 return resultobj;
39920fail:
39921 return NULL__null;
39922}
39923
39924
39925SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAModelBackground__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39926 PyObject *resultobj = 0;
39927 GCTAModelBackground *arg1 = 0 ;
39928 void *argp1 = 0 ;
39929 int res1 = 0 ;
39930 PyObject * obj0 = 0 ;
39931 GCTAModelBackground *result = 0 ;
39932
39933 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAModelBackground",&obj0)) SWIG_failgoto fail;
39934 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GCTAModelBackground, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[12]
, 0 | 0, 0)
;
39935 if (!SWIG_IsOK(res1)(res1 >= 0)) {
39936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAModelBackground" "', argument " "1"" of type '" "GCTAModelBackground const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAModelBackground" "', argument "
"1"" of type '" "GCTAModelBackground const &""'"); goto fail
; } while(0)
;
39937 }
39938 if (!argp1) {
39939 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAModelBackground" "', argument " "1"" of type '" "GCTAModelBackground const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAModelBackground" "', argument " "1"" of type '"
"GCTAModelBackground const &""'"); goto fail; } while(0)
;
39940 }
39941 arg1 = reinterpret_cast< GCTAModelBackground * >(argp1);
39942 {
39943 try {
39944 result = (GCTAModelBackground *)new GCTAModelBackground((GCTAModelBackground const &)*arg1);
39945 }
39946 catch (const GException::out_of_range& e) {
39947 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
39948 }
39949 catch (const GExceptionHandler& e) {
39950 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39951 }
39952 catch (const std::exception& e) {
39953 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39954 }
39955 }
39956 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAModelBackground, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[12], (
(0x1 << 1) | 0x1) | 0)
;
39957 return resultobj;
39958fail:
39959 return NULL__null;
39960}
39961
39962
39963SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAModelBackground(PyObject *self, PyObject *args) {
39964 int argc;
39965 PyObject *argv[3];
39966 int ii;
39967
39968 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
39969 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
39970 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
39971 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
39972 }
39973 if (argc == 0) {
39974 return _wrap_new_GCTAModelBackground__SWIG_0(self, args);
39975 }
39976 if (argc == 1) {
39977 int _v;
39978 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GXmlElement, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[66], 0, 0
)
;
39979 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
39980 if (_v) {
39981 return _wrap_new_GCTAModelBackground__SWIG_1(self, args);
39982 }
39983 }
39984 if (argc == 1) {
39985 int _v;
39986 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GCTAModelBackground, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[12], 0, 0
)
;
39987 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
39988 if (_v) {
39989 return _wrap_new_GCTAModelBackground__SWIG_3(self, args);
39990 }
39991 }
39992 if (argc == 2) {
39993 int _v;
39994 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GModelSpatial, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[48], 0, 0
)
;
39995 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
39996 if (_v) {
39997 int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_GModelSpectral, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], 0, swig_types[49], 0, 0
)
;
39998 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
39999 if (_v) {
40000 return _wrap_new_GCTAModelBackground__SWIG_2(self, args);
40001 }
40002 }
40003 }
40004
40005fail:
40006 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GCTAModelBackground'.\n"
40007 " Possible C/C++ prototypes are:\n"
40008 " GCTAModelBackground::GCTAModelBackground()\n"
40009 " GCTAModelBackground::GCTAModelBackground(GXmlElement const &)\n"
40010 " GCTAModelBackground::GCTAModelBackground(GModelSpatial const &,GModelSpectral const &)\n"
40011 " GCTAModelBackground::GCTAModelBackground(GCTAModelBackground const &)\n");
40012 return 0;
40013}
40014
40015
40016SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GCTAModelBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40017 PyObject *resultobj = 0;
40018 GCTAModelBackground *arg1 = (GCTAModelBackground *) 0 ;
40019 void *argp1 = 0 ;
40020 int res1 = 0 ;
40021 PyObject * obj0 = 0 ;
40022
40023 if (!PyArg_ParseTuple(args,(char *)"O:delete_GCTAModelBackground",&obj0)) SWIG_failgoto fail;
40024 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelBackground, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[12]
, 0x1 | 0, 0)
;
40025 if (!SWIG_IsOK(res1)(res1 >= 0)) {
40026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GCTAModelBackground" "', argument " "1"" of type '" "GCTAModelBackground *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GCTAModelBackground"
"', argument " "1"" of type '" "GCTAModelBackground *""'"); goto
fail; } while(0)
;
40027 }
40028 arg1 = reinterpret_cast< GCTAModelBackground * >(argp1);
40029 {
40030 try {
40031 delete arg1;
40032 }
40033 catch (const GException::out_of_range& e) {
40034 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
40035 }
40036 catch (const GExceptionHandler& e) {
40037 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40038 }
40039 catch (const std::exception& e) {
40040 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40041 }
40042 }
40043 resultobj = SWIG_Py_Void();
40044 return resultobj;
40045fail:
40046 return NULL__null;
40047}
40048
40049
40050SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelBackground_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40051 PyObject *resultobj = 0;
40052 GCTAModelBackground *arg1 = (GCTAModelBackground *) 0 ;
40053 void *argp1 = 0 ;
40054 int res1 = 0 ;
40055 PyObject * obj0 = 0 ;
40056
40057 if (!PyArg_ParseTuple(args,(char *)"O:GCTAModelBackground_clear",&obj0)) SWIG_failgoto fail;
40058 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelBackground, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[12]
, 0 | 0, 0)
;
40059 if (!SWIG_IsOK(res1)(res1 >= 0)) {
40060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelBackground_clear" "', argument " "1"" of type '" "GCTAModelBackground *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelBackground_clear"
"', argument " "1"" of type '" "GCTAModelBackground *""'"); goto
fail; } while(0)
;
40061 }
40062 arg1 = reinterpret_cast< GCTAModelBackground * >(argp1);
40063 {
40064 try {
40065 (arg1)->clear();
40066 }
40067 catch (const GException::out_of_range& e) {
40068 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
40069 }
40070 catch (const GExceptionHandler& e) {
40071 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40072 }
40073 catch (const std::exception& e) {
40074 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40075 }
40076 }
40077 resultobj = SWIG_Py_Void();
40078 return resultobj;
40079fail:
40080 return NULL__null;
40081}
40082
40083
40084SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelBackground_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40085 PyObject *resultobj = 0;
40086 GCTAModelBackground *arg1 = (GCTAModelBackground *) 0 ;
40087 void *argp1 = 0 ;
40088 int res1 = 0 ;
40089 PyObject * obj0 = 0 ;
40090 GCTAModelBackground *result = 0 ;
40091
40092 if (!PyArg_ParseTuple(args,(char *)"O:GCTAModelBackground_clone",&obj0)) SWIG_failgoto fail;
40093 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelBackground, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[12]
, 0 | 0, 0)
;
40094 if (!SWIG_IsOK(res1)(res1 >= 0)) {
40095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelBackground_clone" "', argument " "1"" of type '" "GCTAModelBackground const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelBackground_clone"
"', argument " "1"" of type '" "GCTAModelBackground const *"
"'"); goto fail; } while(0)
;
40096 }
40097 arg1 = reinterpret_cast< GCTAModelBackground * >(argp1);
40098 {
40099 try {
40100 result = (GCTAModelBackground *)((GCTAModelBackground const *)arg1)->clone();
40101 }
40102 catch (const GException::out_of_range& e) {
40103 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
40104 }
40105 catch (const GExceptionHandler& e) {
40106 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40107 }
40108 catch (const std::exception& e) {
40109 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40110 }
40111 }
40112 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAModelBackground, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[12], 0
| 0)
;
40113 return resultobj;
40114fail:
40115 return NULL__null;
40116}
40117
40118
40119SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelBackground_type(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40120 PyObject *resultobj = 0;
40121 GCTAModelBackground *arg1 = (GCTAModelBackground *) 0 ;
40122 void *argp1 = 0 ;
40123 int res1 = 0 ;
40124 PyObject * obj0 = 0 ;
40125 std::string result;
40126
40127 if (!PyArg_ParseTuple(args,(char *)"O:GCTAModelBackground_type",&obj0)) SWIG_failgoto fail;
40128 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelBackground, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[12]
, 0 | 0, 0)
;
40129 if (!SWIG_IsOK(res1)(res1 >= 0)) {
40130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelBackground_type" "', argument " "1"" of type '" "GCTAModelBackground const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelBackground_type" "', argument "
"1"" of type '" "GCTAModelBackground const *""'"); goto fail
; } while(0)
;
40131 }
40132 arg1 = reinterpret_cast< GCTAModelBackground * >(argp1);
40133 {
40134 try {
40135 result = ((GCTAModelBackground const *)arg1)->type();
40136 }
40137 catch (const GException::out_of_range& e) {
40138 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
40139 }
40140 catch (const GExceptionHandler& e) {
40141 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40142 }
40143 catch (const std::exception& e) {
40144 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40145 }
40146 }
40147 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
40148 return resultobj;
40149fail:
40150 return NULL__null;
40151}
40152
40153
40154SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelBackground_isconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40155 PyObject *resultobj = 0;
40156 GCTAModelBackground *arg1 = (GCTAModelBackground *) 0 ;
40157 void *argp1 = 0 ;
40158 int res1 = 0 ;
40159 PyObject * obj0 = 0 ;
40160 bool result;
40161
40162 if (!PyArg_ParseTuple(args,(char *)"O:GCTAModelBackground_isconstant",&obj0)) SWIG_failgoto fail;
40163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelBackground, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[12]
, 0 | 0, 0)
;
40164 if (!SWIG_IsOK(res1)(res1 >= 0)) {
40165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelBackground_isconstant" "', argument " "1"" of type '" "GCTAModelBackground const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelBackground_isconstant"
"', argument " "1"" of type '" "GCTAModelBackground const *"
"'"); goto fail; } while(0)
;
40166 }
40167 arg1 = reinterpret_cast< GCTAModelBackground * >(argp1);
40168 {
40169 try {
40170 result = (bool)((GCTAModelBackground const *)arg1)->isconstant();
40171 }
40172 catch (const GException::out_of_range& e) {
40173 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
40174 }
40175 catch (const GExceptionHandler& e) {
40176 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40177 }
40178 catch (const std::exception& e) {
40179 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40180 }
40181 }
40182 resultobj = SWIG_From_bool(static_cast< bool >(result));
40183 return resultobj;
40184fail:
40185 return NULL__null;
40186}
40187
40188
40189SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelBackground_eval(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40190 PyObject *resultobj = 0;
40191 GCTAModelBackground *arg1 = (GCTAModelBackground *) 0 ;
40192 GEvent *arg2 = 0 ;
40193 GObservation *arg3 = 0 ;
40194 void *argp1 = 0 ;
40195 int res1 = 0 ;
40196 void *argp2 = 0 ;
40197 int res2 = 0 ;
40198 void *argp3 = 0 ;
40199 int res3 = 0 ;
40200 PyObject * obj0 = 0 ;
40201 PyObject * obj1 = 0 ;
40202 PyObject * obj2 = 0 ;
40203 double result;
40204
40205 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAModelBackground_eval",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
40206 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelBackground, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[12]
, 0 | 0, 0)
;
40207 if (!SWIG_IsOK(res1)(res1 >= 0)) {
40208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelBackground_eval" "', argument " "1"" of type '" "GCTAModelBackground const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelBackground_eval" "', argument "
"1"" of type '" "GCTAModelBackground const *""'"); goto fail
; } while(0)
;
40209 }
40210 arg1 = reinterpret_cast< GCTAModelBackground * >(argp1);
40211 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GEvent, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[34]
, 0 | 0, 0)
;
40212 if (!SWIG_IsOK(res2)(res2 >= 0)) {
40213 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAModelBackground_eval" "', argument " "2"" of type '" "GEvent const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAModelBackground_eval" "', argument "
"2"" of type '" "GEvent const &""'"); goto fail; } while
(0)
;
40214 }
40215 if (!argp2) {
40216 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAModelBackground_eval" "', argument " "2"" of type '" "GEvent const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAModelBackground_eval" "', argument " "2"" of type '"
"GEvent const &""'"); goto fail; } while(0)
;
40217 }
40218 arg2 = reinterpret_cast< GEvent * >(argp2);
40219 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GObservation, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[52]
, 0 | 0, 0)
;
40220 if (!SWIG_IsOK(res3)(res3 >= 0)) {
40221 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GCTAModelBackground_eval" "', argument " "3"" of type '" "GObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GCTAModelBackground_eval" "', argument "
"3"" of type '" "GObservation const &""'"); goto fail; }
while(0)
;
40222 }
40223 if (!argp3) {
40224 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAModelBackground_eval" "', argument " "3"" of type '" "GObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAModelBackground_eval" "', argument " "3"" of type '"
"GObservation const &""'"); goto fail; } while(0)
;
40225 }
40226 arg3 = reinterpret_cast< GObservation * >(argp3);
40227 {
40228 try {
40229 result = (double)((GCTAModelBackground const *)arg1)->eval((GEvent const &)*arg2,(GObservation const &)*arg3);
40230 }
40231 catch (const GException::out_of_range& e) {
40232 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
40233 }
40234 catch (const GExceptionHandler& e) {
40235 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40236 }
40237 catch (const std::exception& e) {
40238 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40239 }
40240 }
40241 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
40242 return resultobj;
40243fail:
40244 return NULL__null;
40245}
40246
40247
40248SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelBackground_eval_gradients(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40249 PyObject *resultobj = 0;
40250 GCTAModelBackground *arg1 = (GCTAModelBackground *) 0 ;
40251 GEvent *arg2 = 0 ;
40252 GObservation *arg3 = 0 ;
40253 void *argp1 = 0 ;
40254 int res1 = 0 ;
40255 void *argp2 = 0 ;
40256 int res2 = 0 ;
40257 void *argp3 = 0 ;
40258 int res3 = 0 ;
40259 PyObject * obj0 = 0 ;
40260 PyObject * obj1 = 0 ;
40261 PyObject * obj2 = 0 ;
40262 double result;
40263
40264 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAModelBackground_eval_gradients",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
40265 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelBackground, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[12]
, 0 | 0, 0)
;
40266 if (!SWIG_IsOK(res1)(res1 >= 0)) {
40267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelBackground_eval_gradients" "', argument " "1"" of type '" "GCTAModelBackground const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelBackground_eval_gradients"
"', argument " "1"" of type '" "GCTAModelBackground const *"
"'"); goto fail; } while(0)
;
40268 }
40269 arg1 = reinterpret_cast< GCTAModelBackground * >(argp1);
40270 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GEvent, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[34]
, 0 | 0, 0)
;
40271 if (!SWIG_IsOK(res2)(res2 >= 0)) {
40272 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAModelBackground_eval_gradients" "', argument " "2"" of type '" "GEvent const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAModelBackground_eval_gradients"
"', argument " "2"" of type '" "GEvent const &""'"); goto
fail; } while(0)
;
40273 }
40274 if (!argp2) {
40275 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAModelBackground_eval_gradients" "', argument " "2"" of type '" "GEvent const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAModelBackground_eval_gradients" "', argument "
"2"" of type '" "GEvent const &""'"); goto fail; } while
(0)
;
40276 }
40277 arg2 = reinterpret_cast< GEvent * >(argp2);
40278 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GObservation, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[52]
, 0 | 0, 0)
;
40279 if (!SWIG_IsOK(res3)(res3 >= 0)) {
40280 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GCTAModelBackground_eval_gradients" "', argument " "3"" of type '" "GObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GCTAModelBackground_eval_gradients"
"', argument " "3"" of type '" "GObservation const &""'"
); goto fail; } while(0)
;
40281 }
40282 if (!argp3) {
40283 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAModelBackground_eval_gradients" "', argument " "3"" of type '" "GObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAModelBackground_eval_gradients" "', argument "
"3"" of type '" "GObservation const &""'"); goto fail; }
while(0)
;
40284 }
40285 arg3 = reinterpret_cast< GObservation * >(argp3);
40286 {
40287 try {
40288 result = (double)((GCTAModelBackground const *)arg1)->eval_gradients((GEvent const &)*arg2,(GObservation const &)*arg3);
40289 }
40290 catch (const GException::out_of_range& e) {
40291 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
40292 }
40293 catch (const GExceptionHandler& e) {
40294 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40295 }
40296 catch (const std::exception& e) {
40297 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40298 }
40299 }
40300 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
40301 return resultobj;
40302fail:
40303 return NULL__null;
40304}
40305
40306
40307SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelBackground_npred(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40308 PyObject *resultobj = 0;
40309 GCTAModelBackground *arg1 = (GCTAModelBackground *) 0 ;
40310 GEnergy *arg2 = 0 ;
40311 GTime *arg3 = 0 ;
40312 GObservation *arg4 = 0 ;
40313 void *argp1 = 0 ;
40314 int res1 = 0 ;
40315 void *argp2 = 0 ;
40316 int res2 = 0 ;
40317 void *argp3 = 0 ;
40318 int res3 = 0 ;
40319 void *argp4 = 0 ;
40320 int res4 = 0 ;
40321 PyObject * obj0 = 0 ;
40322 PyObject * obj1 = 0 ;
40323 PyObject * obj2 = 0 ;
40324 PyObject * obj3 = 0 ;
40325 double result;
40326
40327 if (!PyArg_ParseTuple(args,(char *)"OOOO:GCTAModelBackground_npred",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
40328 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelBackground, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[12]
, 0 | 0, 0)
;
40329 if (!SWIG_IsOK(res1)(res1 >= 0)) {
40330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelBackground_npred" "', argument " "1"" of type '" "GCTAModelBackground const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelBackground_npred"
"', argument " "1"" of type '" "GCTAModelBackground const *"
"'"); goto fail; } while(0)
;
40331 }
40332 arg1 = reinterpret_cast< GCTAModelBackground * >(argp1);
40333 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GEnergy, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[33]
, 0 | 0, 0)
;
40334 if (!SWIG_IsOK(res2)(res2 >= 0)) {
40335 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAModelBackground_npred" "', argument " "2"" of type '" "GEnergy const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAModelBackground_npred"
"', argument " "2"" of type '" "GEnergy const &""'"); goto
fail; } while(0)
;
40336 }
40337 if (!argp2) {
40338 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAModelBackground_npred" "', argument " "2"" of type '" "GEnergy const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAModelBackground_npred" "', argument " "2"
" of type '" "GEnergy const &""'"); goto fail; } while(0)
;
40339 }
40340 arg2 = reinterpret_cast< GEnergy * >(argp2);
40341 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GTime, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[64]
, 0 | 0, 0)
;
40342 if (!SWIG_IsOK(res3)(res3 >= 0)) {
40343 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GCTAModelBackground_npred" "', argument " "3"" of type '" "GTime const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GCTAModelBackground_npred"
"', argument " "3"" of type '" "GTime const &""'"); goto
fail; } while(0)
;
40344 }
40345 if (!argp3) {
40346 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAModelBackground_npred" "', argument " "3"" of type '" "GTime const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAModelBackground_npred" "', argument " "3"
" of type '" "GTime const &""'"); goto fail; } while(0)
;
40347 }
40348 arg3 = reinterpret_cast< GTime * >(argp3);
40349 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_GObservation, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj3, &argp4, swig_types[52]
, 0 | 0, 0)
;
40350 if (!SWIG_IsOK(res4)(res4 >= 0)) {
40351 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "GCTAModelBackground_npred" "', argument " "4"" of type '" "GObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res4 != (
-1)) ? res4 : -5)), "in method '" "GCTAModelBackground_npred"
"', argument " "4"" of type '" "GObservation const &""'"
); goto fail; } while(0)
;
40352 }
40353 if (!argp4) {
40354 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAModelBackground_npred" "', argument " "4"" of type '" "GObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAModelBackground_npred" "', argument " "4"
" of type '" "GObservation const &""'"); goto fail; } while
(0)
;
40355 }
40356 arg4 = reinterpret_cast< GObservation * >(argp4);
40357 {
40358 try {
40359 result = (double)((GCTAModelBackground const *)arg1)->npred((GEnergy const &)*arg2,(GTime const &)*arg3,(GObservation const &)*arg4);
40360 }
40361 catch (const GException::out_of_range& e) {
40362 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
40363 }
40364 catch (const GExceptionHandler& e) {
40365 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40366 }
40367 catch (const std::exception& e) {
40368 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40369 }
40370 }
40371 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
40372 return resultobj;
40373fail:
40374 return NULL__null;
40375}
40376
40377
40378SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelBackground_mc(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40379 PyObject *resultobj = 0;
40380 GCTAModelBackground *arg1 = (GCTAModelBackground *) 0 ;
40381 GObservation *arg2 = 0 ;
40382 GRan *arg3 = 0 ;
40383 void *argp1 = 0 ;
40384 int res1 = 0 ;
40385 void *argp2 = 0 ;
40386 int res2 = 0 ;
40387 void *argp3 = 0 ;
40388 int res3 = 0 ;
40389 PyObject * obj0 = 0 ;
40390 PyObject * obj1 = 0 ;
40391 PyObject * obj2 = 0 ;
40392 GCTAEventList *result = 0 ;
40393
40394 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAModelBackground_mc",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
40395 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelBackground, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[12]
, 0 | 0, 0)
;
40396 if (!SWIG_IsOK(res1)(res1 >= 0)) {
40397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelBackground_mc" "', argument " "1"" of type '" "GCTAModelBackground const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelBackground_mc" "', argument "
"1"" of type '" "GCTAModelBackground const *""'"); goto fail
; } while(0)
;
40398 }
40399 arg1 = reinterpret_cast< GCTAModelBackground * >(argp1);
40400 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GObservation, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[52]
, 0 | 0, 0)
;
40401 if (!SWIG_IsOK(res2)(res2 >= 0)) {
40402 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAModelBackground_mc" "', argument " "2"" of type '" "GObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAModelBackground_mc" "', argument "
"2"" of type '" "GObservation const &""'"); goto fail; }
while(0)
;
40403 }
40404 if (!argp2) {
40405 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAModelBackground_mc" "', argument " "2"" of type '" "GObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAModelBackground_mc" "', argument " "2"" of type '"
"GObservation const &""'"); goto fail; } while(0)
;
40406 }
40407 arg2 = reinterpret_cast< GObservation * >(argp2);
40408 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GRan, 0 )SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[55]
, 0, 0)
;
40409 if (!SWIG_IsOK(res3)(res3 >= 0)) {
40410 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GCTAModelBackground_mc" "', argument " "3"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GCTAModelBackground_mc" "', argument "
"3"" of type '" "GRan &""'"); goto fail; } while(0)
;
40411 }
40412 if (!argp3) {
40413 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAModelBackground_mc" "', argument " "3"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAModelBackground_mc" "', argument " "3"" of type '"
"GRan &""'"); goto fail; } while(0)
;
40414 }
40415 arg3 = reinterpret_cast< GRan * >(argp3);
40416 {
40417 try {
40418 result = (GCTAEventList *)((GCTAModelBackground const *)arg1)->mc((GObservation const &)*arg2,*arg3);
40419 }
40420 catch (const GException::out_of_range& e) {
40421 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
40422 }
40423 catch (const GExceptionHandler& e) {
40424 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40425 }
40426 catch (const std::exception& e) {
40427 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40428 }
40429 }
40430 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAEventList, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[10], 0
| 0)
;
40431 return resultobj;
40432fail:
40433 return NULL__null;
40434}
40435
40436
40437SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelBackground_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40438 PyObject *resultobj = 0;
40439 GCTAModelBackground *arg1 = (GCTAModelBackground *) 0 ;
40440 GXmlElement *arg2 = 0 ;
40441 void *argp1 = 0 ;
40442 int res1 = 0 ;
40443 void *argp2 = 0 ;
40444 int res2 = 0 ;
40445 PyObject * obj0 = 0 ;
40446 PyObject * obj1 = 0 ;
40447
40448 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAModelBackground_read",&obj0,&obj1)) SWIG_failgoto fail;
40449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelBackground, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[12]
, 0 | 0, 0)
;
40450 if (!SWIG_IsOK(res1)(res1 >= 0)) {
40451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelBackground_read" "', argument " "1"" of type '" "GCTAModelBackground *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelBackground_read" "', argument "
"1"" of type '" "GCTAModelBackground *""'"); goto fail; } while
(0)
;
40452 }
40453 arg1 = reinterpret_cast< GCTAModelBackground * >(argp1);
40454 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GXmlElement, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[66]
, 0 | 0, 0)
;
40455 if (!SWIG_IsOK(res2)(res2 >= 0)) {
40456 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAModelBackground_read" "', argument " "2"" of type '" "GXmlElement const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAModelBackground_read" "', argument "
"2"" of type '" "GXmlElement const &""'"); goto fail; } while
(0)
;
40457 }
40458 if (!argp2) {
40459 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAModelBackground_read" "', argument " "2"" of type '" "GXmlElement const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAModelBackground_read" "', argument " "2"" of type '"
"GXmlElement const &""'"); goto fail; } while(0)
;
40460 }
40461 arg2 = reinterpret_cast< GXmlElement * >(argp2);
40462 {
40463 try {
40464 (arg1)->read((GXmlElement const &)*arg2);
40465 }
40466 catch (const GException::out_of_range& e) {
40467 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
40468 }
40469 catch (const GExceptionHandler& e) {
40470 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40471 }
40472 catch (const std::exception& e) {
40473 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40474 }
40475 }
40476 resultobj = SWIG_Py_Void();
40477 return resultobj;
40478fail:
40479 return NULL__null;
40480}
40481
40482
40483SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelBackground_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40484 PyObject *resultobj = 0;
40485 GCTAModelBackground *arg1 = (GCTAModelBackground *) 0 ;
40486 GXmlElement *arg2 = 0 ;
40487 void *argp1 = 0 ;
40488 int res1 = 0 ;
40489 void *argp2 = 0 ;
40490 int res2 = 0 ;
40491 PyObject * obj0 = 0 ;
40492 PyObject * obj1 = 0 ;
40493
40494 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAModelBackground_write",&obj0,&obj1)) SWIG_failgoto fail;
40495 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelBackground, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[12]
, 0 | 0, 0)
;
40496 if (!SWIG_IsOK(res1)(res1 >= 0)) {
40497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelBackground_write" "', argument " "1"" of type '" "GCTAModelBackground const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelBackground_write"
"', argument " "1"" of type '" "GCTAModelBackground const *"
"'"); goto fail; } while(0)
;
40498 }
40499 arg1 = reinterpret_cast< GCTAModelBackground * >(argp1);
40500 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GXmlElement, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[66]
, 0, 0)
;
40501 if (!SWIG_IsOK(res2)(res2 >= 0)) {
40502 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAModelBackground_write" "', argument " "2"" of type '" "GXmlElement &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAModelBackground_write"
"', argument " "2"" of type '" "GXmlElement &""'"); goto
fail; } while(0)
;
40503 }
40504 if (!argp2) {
40505 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAModelBackground_write" "', argument " "2"" of type '" "GXmlElement &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAModelBackground_write" "', argument " "2"
" of type '" "GXmlElement &""'"); goto fail; } while(0)
;
40506 }
40507 arg2 = reinterpret_cast< GXmlElement * >(argp2);
40508 {
40509 try {
40510 ((GCTAModelBackground const *)arg1)->write(*arg2);
40511 }
40512 catch (const GException::out_of_range& e) {
40513 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
40514 }
40515 catch (const GExceptionHandler& e) {
40516 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40517 }
40518 catch (const std::exception& e) {
40519 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40520 }
40521 }
40522 resultobj = SWIG_Py_Void();
40523 return resultobj;
40524fail:
40525 return NULL__null;
40526}
40527
40528
40529SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelBackground_spatial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40530 PyObject *resultobj = 0;
40531 GCTAModelBackground *arg1 = (GCTAModelBackground *) 0 ;
40532 void *argp1 = 0 ;
40533 int res1 = 0 ;
40534 PyObject * obj0 = 0 ;
40535 GModelSpatial *result = 0 ;
40536
40537 if (!PyArg_ParseTuple(args,(char *)"O:GCTAModelBackground_spatial",&obj0)) SWIG_failgoto fail;
40538 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelBackground, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[12]
, 0 | 0, 0)
;
40539 if (!SWIG_IsOK(res1)(res1 >= 0)) {
40540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelBackground_spatial" "', argument " "1"" of type '" "GCTAModelBackground const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelBackground_spatial"
"', argument " "1"" of type '" "GCTAModelBackground const *"
"'"); goto fail; } while(0)
;
40541 }
40542 arg1 = reinterpret_cast< GCTAModelBackground * >(argp1);
40543 {
40544 try {
40545 result = (GModelSpatial *)((GCTAModelBackground const *)arg1)->spatial();
40546 }
40547 catch (const GException::out_of_range& e) {
40548 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
40549 }
40550 catch (const GExceptionHandler& e) {
40551 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40552 }
40553 catch (const std::exception& e) {
40554 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40555 }
40556 }
40557 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GModelSpatial, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[48], 0
| 0)
;
40558 return resultobj;
40559fail:
40560 return NULL__null;
40561}
40562
40563
40564SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelBackground_spectral(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40565 PyObject *resultobj = 0;
40566 GCTAModelBackground *arg1 = (GCTAModelBackground *) 0 ;
40567 void *argp1 = 0 ;
40568 int res1 = 0 ;
40569 PyObject * obj0 = 0 ;
40570 GModelSpectral *result = 0 ;
40571
40572 if (!PyArg_ParseTuple(args,(char *)"O:GCTAModelBackground_spectral",&obj0)) SWIG_failgoto fail;
40573 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelBackground, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[12]
, 0 | 0, 0)
;
40574 if (!SWIG_IsOK(res1)(res1 >= 0)) {
40575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelBackground_spectral" "', argument " "1"" of type '" "GCTAModelBackground const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelBackground_spectral"
"', argument " "1"" of type '" "GCTAModelBackground const *"
"'"); goto fail; } while(0)
;
40576 }
40577 arg1 = reinterpret_cast< GCTAModelBackground * >(argp1);
40578 {
40579 try {
40580 result = (GModelSpectral *)((GCTAModelBackground const *)arg1)->spectral();
40581 }
40582 catch (const GException::out_of_range& e) {
40583 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
40584 }
40585 catch (const GExceptionHandler& e) {
40586 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40587 }
40588 catch (const std::exception& e) {
40589 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40590 }
40591 }
40592 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GModelSpectral, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[49], 0
| 0)
;
40593 return resultobj;
40594fail:
40595 return NULL__null;
40596}
40597
40598
40599SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelBackground_temporal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40600 PyObject *resultobj = 0;
40601 GCTAModelBackground *arg1 = (GCTAModelBackground *) 0 ;
40602 void *argp1 = 0 ;
40603 int res1 = 0 ;
40604 PyObject * obj0 = 0 ;
40605 GModelTemporal *result = 0 ;
40606
40607 if (!PyArg_ParseTuple(args,(char *)"O:GCTAModelBackground_temporal",&obj0)) SWIG_failgoto fail;
40608 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelBackground, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[12]
, 0 | 0, 0)
;
40609 if (!SWIG_IsOK(res1)(res1 >= 0)) {
40610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelBackground_temporal" "', argument " "1"" of type '" "GCTAModelBackground const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelBackground_temporal"
"', argument " "1"" of type '" "GCTAModelBackground const *"
"'"); goto fail; } while(0)
;
40611 }
40612 arg1 = reinterpret_cast< GCTAModelBackground * >(argp1);
40613 {
40614 try {
40615 result = (GModelTemporal *)((GCTAModelBackground const *)arg1)->temporal();
40616 }
40617 catch (const GException::out_of_range& e) {
40618 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
40619 }
40620 catch (const GExceptionHandler& e) {
40621 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40622 }
40623 catch (const std::exception& e) {
40624 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40625 }
40626 }
40627 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GModelTemporal, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[50], 0
| 0)
;
40628 return resultobj;
40629fail:
40630 return NULL__null;
40631}
40632
40633
40634SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GCTAModelBackground_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40635 PyObject *obj;
40636 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
40637 SWIG_TypeNewClientData(SWIGTYPE_p_GCTAModelBackgroundswig_types[12], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
40638 return SWIG_Py_Void();
40639}
40640
40641SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GCTAModelRadial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40642 PyObject *resultobj = 0;
40643 GCTAModelRadial *arg1 = (GCTAModelRadial *) 0 ;
40644 void *argp1 = 0 ;
40645 int res1 = 0 ;
40646 PyObject * obj0 = 0 ;
40647
40648 if (!PyArg_ParseTuple(args,(char *)"O:delete_GCTAModelRadial",&obj0)) SWIG_failgoto fail;
40649 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadial, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[13]
, 0x1 | 0, 0)
;
40650 if (!SWIG_IsOK(res1)(res1 >= 0)) {
40651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GCTAModelRadial" "', argument " "1"" of type '" "GCTAModelRadial *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GCTAModelRadial" "', argument "
"1"" of type '" "GCTAModelRadial *""'"); goto fail; } while(
0)
;
40652 }
40653 arg1 = reinterpret_cast< GCTAModelRadial * >(argp1);
40654 {
40655 try {
40656 delete arg1;
40657 }
40658 catch (const GException::out_of_range& e) {
40659 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
40660 }
40661 catch (const GExceptionHandler& e) {
40662 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40663 }
40664 catch (const std::exception& e) {
40665 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40666 }
40667 }
40668 resultobj = SWIG_Py_Void();
40669 return resultobj;
40670fail:
40671 return NULL__null;
40672}
40673
40674
40675SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadial_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40676 PyObject *resultobj = 0;
40677 GCTAModelRadial *arg1 = (GCTAModelRadial *) 0 ;
40678 void *argp1 = 0 ;
40679 int res1 = 0 ;
40680 PyObject * obj0 = 0 ;
40681
40682 if (!PyArg_ParseTuple(args,(char *)"O:GCTAModelRadial_clear",&obj0)) SWIG_failgoto fail;
40683 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadial, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[13]
, 0 | 0, 0)
;
40684 if (!SWIG_IsOK(res1)(res1 >= 0)) {
40685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadial_clear" "', argument " "1"" of type '" "GCTAModelRadial *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadial_clear" "', argument "
"1"" of type '" "GCTAModelRadial *""'"); goto fail; } while(
0)
;
40686 }
40687 arg1 = reinterpret_cast< GCTAModelRadial * >(argp1);
40688 {
40689 try {
40690 (arg1)->clear();
40691 }
40692 catch (const GException::out_of_range& e) {
40693 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
40694 }
40695 catch (const GExceptionHandler& e) {
40696 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40697 }
40698 catch (const std::exception& e) {
40699 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40700 }
40701 }
40702 resultobj = SWIG_Py_Void();
40703 return resultobj;
40704fail:
40705 return NULL__null;
40706}
40707
40708
40709SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadial_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40710 PyObject *resultobj = 0;
40711 GCTAModelRadial *arg1 = (GCTAModelRadial *) 0 ;
40712 void *argp1 = 0 ;
40713 int res1 = 0 ;
40714 PyObject * obj0 = 0 ;
40715 GCTAModelRadial *result = 0 ;
40716
40717 if (!PyArg_ParseTuple(args,(char *)"O:GCTAModelRadial_clone",&obj0)) SWIG_failgoto fail;
40718 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadial, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[13]
, 0 | 0, 0)
;
40719 if (!SWIG_IsOK(res1)(res1 >= 0)) {
40720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadial_clone" "', argument " "1"" of type '" "GCTAModelRadial const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadial_clone" "', argument "
"1"" of type '" "GCTAModelRadial const *""'"); goto fail; } while
(0)
;
40721 }
40722 arg1 = reinterpret_cast< GCTAModelRadial * >(argp1);
40723 {
40724 try {
40725 result = (GCTAModelRadial *)((GCTAModelRadial const *)arg1)->clone();
40726 }
40727 catch (const GException::out_of_range& e) {
40728 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
40729 }
40730 catch (const GExceptionHandler& e) {
40731 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40732 }
40733 catch (const std::exception& e) {
40734 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40735 }
40736 }
40737 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAModelRadial, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[13], 0
| 0)
;
40738 return resultobj;
40739fail:
40740 return NULL__null;
40741}
40742
40743
40744SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadial_type(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40745 PyObject *resultobj = 0;
40746 GCTAModelRadial *arg1 = (GCTAModelRadial *) 0 ;
40747 void *argp1 = 0 ;
40748 int res1 = 0 ;
40749 PyObject * obj0 = 0 ;
40750 std::string result;
40751
40752 if (!PyArg_ParseTuple(args,(char *)"O:GCTAModelRadial_type",&obj0)) SWIG_failgoto fail;
40753 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadial, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[13]
, 0 | 0, 0)
;
40754 if (!SWIG_IsOK(res1)(res1 >= 0)) {
40755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadial_type" "', argument " "1"" of type '" "GCTAModelRadial const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadial_type" "', argument "
"1"" of type '" "GCTAModelRadial const *""'"); goto fail; } while
(0)
;
40756 }
40757 arg1 = reinterpret_cast< GCTAModelRadial * >(argp1);
40758 {
40759 try {
40760 result = ((GCTAModelRadial const *)arg1)->type();
40761 }
40762 catch (const GException::out_of_range& e) {
40763 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
40764 }
40765 catch (const GExceptionHandler& e) {
40766 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40767 }
40768 catch (const std::exception& e) {
40769 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40770 }
40771 }
40772 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
40773 return resultobj;
40774fail:
40775 return NULL__null;
40776}
40777
40778
40779SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadial_eval(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40780 PyObject *resultobj = 0;
40781 GCTAModelRadial *arg1 = (GCTAModelRadial *) 0 ;
40782 double *arg2 = 0 ;
40783 void *argp1 = 0 ;
40784 int res1 = 0 ;
40785 double temp2 ;
40786 double val2 ;
40787 int ecode2 = 0 ;
40788 PyObject * obj0 = 0 ;
40789 PyObject * obj1 = 0 ;
40790 double result;
40791
40792 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAModelRadial_eval",&obj0,&obj1)) SWIG_failgoto fail;
40793 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadial, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[13]
, 0 | 0, 0)
;
40794 if (!SWIG_IsOK(res1)(res1 >= 0)) {
40795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadial_eval" "', argument " "1"" of type '" "GCTAModelRadial const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadial_eval" "', argument "
"1"" of type '" "GCTAModelRadial const *""'"); goto fail; } while
(0)
;
40796 }
40797 arg1 = reinterpret_cast< GCTAModelRadial * >(argp1);
40798 ecode2 = SWIG_AsVal_double(obj1, &val2);
40799 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
40800 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAModelRadial_eval" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAModelRadial_eval" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
40801 }
40802 temp2 = static_cast< double >(val2);
40803 arg2 = &temp2;
40804 {
40805 try {
40806 result = (double)((GCTAModelRadial const *)arg1)->eval((double const &)*arg2);
40807 }
40808 catch (const GException::out_of_range& e) {
40809 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
40810 }
40811 catch (const GExceptionHandler& e) {
40812 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40813 }
40814 catch (const std::exception& e) {
40815 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40816 }
40817 }
40818 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
40819 return resultobj;
40820fail:
40821 return NULL__null;
40822}
40823
40824
40825SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadial_eval_gradients(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40826 PyObject *resultobj = 0;
40827 GCTAModelRadial *arg1 = (GCTAModelRadial *) 0 ;
40828 double *arg2 = 0 ;
40829 void *argp1 = 0 ;
40830 int res1 = 0 ;
40831 double temp2 ;
40832 double val2 ;
40833 int ecode2 = 0 ;
40834 PyObject * obj0 = 0 ;
40835 PyObject * obj1 = 0 ;
40836 double result;
40837
40838 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAModelRadial_eval_gradients",&obj0,&obj1)) SWIG_failgoto fail;
40839 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadial, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[13]
, 0 | 0, 0)
;
40840 if (!SWIG_IsOK(res1)(res1 >= 0)) {
40841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadial_eval_gradients" "', argument " "1"" of type '" "GCTAModelRadial const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadial_eval_gradients"
"', argument " "1"" of type '" "GCTAModelRadial const *""'")
; goto fail; } while(0)
;
40842 }
40843 arg1 = reinterpret_cast< GCTAModelRadial * >(argp1);
40844 ecode2 = SWIG_AsVal_double(obj1, &val2);
40845 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
40846 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAModelRadial_eval_gradients" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAModelRadial_eval_gradients"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
40847 }
40848 temp2 = static_cast< double >(val2);
40849 arg2 = &temp2;
40850 {
40851 try {
40852 result = (double)((GCTAModelRadial const *)arg1)->eval_gradients((double const &)*arg2);
40853 }
40854 catch (const GException::out_of_range& e) {
40855 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
40856 }
40857 catch (const GExceptionHandler& e) {
40858 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40859 }
40860 catch (const std::exception& e) {
40861 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40862 }
40863 }
40864 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
40865 return resultobj;
40866fail:
40867 return NULL__null;
40868}
40869
40870
40871SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadial_mc(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40872 PyObject *resultobj = 0;
40873 GCTAModelRadial *arg1 = (GCTAModelRadial *) 0 ;
40874 GCTAInstDir *arg2 = 0 ;
40875 GRan *arg3 = 0 ;
40876 void *argp1 = 0 ;
40877 int res1 = 0 ;
40878 void *argp2 = 0 ;
40879 int res2 = 0 ;
40880 void *argp3 = 0 ;
40881 int res3 = 0 ;
40882 PyObject * obj0 = 0 ;
40883 PyObject * obj1 = 0 ;
40884 PyObject * obj2 = 0 ;
40885 GCTAInstDir result;
40886
40887 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAModelRadial_mc",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
40888 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadial, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[13]
, 0 | 0, 0)
;
40889 if (!SWIG_IsOK(res1)(res1 >= 0)) {
40890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadial_mc" "', argument " "1"" of type '" "GCTAModelRadial const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadial_mc" "', argument "
"1"" of type '" "GCTAModelRadial const *""'"); goto fail; } while
(0)
;
40891 }
40892 arg1 = reinterpret_cast< GCTAModelRadial * >(argp1);
40893 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GCTAInstDir, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[11]
, 0 | 0, 0)
;
40894 if (!SWIG_IsOK(res2)(res2 >= 0)) {
40895 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAModelRadial_mc" "', argument " "2"" of type '" "GCTAInstDir const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAModelRadial_mc" "', argument "
"2"" of type '" "GCTAInstDir const &""'"); goto fail; } while
(0)
;
40896 }
40897 if (!argp2) {
40898 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAModelRadial_mc" "', argument " "2"" of type '" "GCTAInstDir const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAModelRadial_mc" "', argument " "2"" of type '"
"GCTAInstDir const &""'"); goto fail; } while(0)
;
40899 }
40900 arg2 = reinterpret_cast< GCTAInstDir * >(argp2);
40901 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GRan, 0 )SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[55]
, 0, 0)
;
40902 if (!SWIG_IsOK(res3)(res3 >= 0)) {
40903 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GCTAModelRadial_mc" "', argument " "3"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GCTAModelRadial_mc" "', argument "
"3"" of type '" "GRan &""'"); goto fail; } while(0)
;
40904 }
40905 if (!argp3) {
40906 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAModelRadial_mc" "', argument " "3"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAModelRadial_mc" "', argument " "3"" of type '"
"GRan &""'"); goto fail; } while(0)
;
40907 }
40908 arg3 = reinterpret_cast< GRan * >(argp3);
40909 {
40910 try {
40911 result = ((GCTAModelRadial const *)arg1)->mc((GCTAInstDir const &)*arg2,*arg3);
40912 }
40913 catch (const GException::out_of_range& e) {
40914 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
40915 }
40916 catch (const GExceptionHandler& e) {
40917 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40918 }
40919 catch (const std::exception& e) {
40920 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40921 }
40922 }
40923 resultobj = SWIG_NewPointerObj((new GCTAInstDir(static_cast< const GCTAInstDir& >(result))), SWIGTYPE_p_GCTAInstDir, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GCTAInstDir(static_cast
< const GCTAInstDir& >(result))), swig_types[11], 0x1
| 0)
;
40924 return resultobj;
40925fail:
40926 return NULL__null;
40927}
40928
40929
40930SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadial_omega(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40931 PyObject *resultobj = 0;
40932 GCTAModelRadial *arg1 = (GCTAModelRadial *) 0 ;
40933 void *argp1 = 0 ;
40934 int res1 = 0 ;
40935 PyObject * obj0 = 0 ;
40936 double result;
40937
40938 if (!PyArg_ParseTuple(args,(char *)"O:GCTAModelRadial_omega",&obj0)) SWIG_failgoto fail;
40939 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadial, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[13]
, 0 | 0, 0)
;
40940 if (!SWIG_IsOK(res1)(res1 >= 0)) {
40941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadial_omega" "', argument " "1"" of type '" "GCTAModelRadial const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadial_omega" "', argument "
"1"" of type '" "GCTAModelRadial const *""'"); goto fail; } while
(0)
;
40942 }
40943 arg1 = reinterpret_cast< GCTAModelRadial * >(argp1);
40944 {
40945 try {
40946 result = (double)((GCTAModelRadial const *)arg1)->omega();
40947 }
40948 catch (const GException::out_of_range& e) {
40949 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
40950 }
40951 catch (const GExceptionHandler& e) {
40952 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40953 }
40954 catch (const std::exception& e) {
40955 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40956 }
40957 }
40958 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
40959 return resultobj;
40960fail:
40961 return NULL__null;
40962}
40963
40964
40965SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadial_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40966 PyObject *resultobj = 0;
40967 GCTAModelRadial *arg1 = (GCTAModelRadial *) 0 ;
40968 GXmlElement *arg2 = 0 ;
40969 void *argp1 = 0 ;
40970 int res1 = 0 ;
40971 void *argp2 = 0 ;
40972 int res2 = 0 ;
40973 PyObject * obj0 = 0 ;
40974 PyObject * obj1 = 0 ;
40975
40976 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAModelRadial_read",&obj0,&obj1)) SWIG_failgoto fail;
40977 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadial, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[13]
, 0 | 0, 0)
;
40978 if (!SWIG_IsOK(res1)(res1 >= 0)) {
40979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadial_read" "', argument " "1"" of type '" "GCTAModelRadial *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadial_read" "', argument "
"1"" of type '" "GCTAModelRadial *""'"); goto fail; } while(
0)
;
40980 }
40981 arg1 = reinterpret_cast< GCTAModelRadial * >(argp1);
40982 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GXmlElement, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[66]
, 0 | 0, 0)
;
40983 if (!SWIG_IsOK(res2)(res2 >= 0)) {
40984 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAModelRadial_read" "', argument " "2"" of type '" "GXmlElement const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAModelRadial_read" "', argument "
"2"" of type '" "GXmlElement const &""'"); goto fail; } while
(0)
;
40985 }
40986 if (!argp2) {
40987 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAModelRadial_read" "', argument " "2"" of type '" "GXmlElement const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAModelRadial_read" "', argument " "2"" of type '"
"GXmlElement const &""'"); goto fail; } while(0)
;
40988 }
40989 arg2 = reinterpret_cast< GXmlElement * >(argp2);
40990 {
40991 try {
40992 (arg1)->read((GXmlElement const &)*arg2);
40993 }
40994 catch (const GException::out_of_range& e) {
40995 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
40996 }
40997 catch (const GExceptionHandler& e) {
40998 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40999 }
41000 catch (const std::exception& e) {
41001 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41002 }
41003 }
41004 resultobj = SWIG_Py_Void();
41005 return resultobj;
41006fail:
41007 return NULL__null;
41008}
41009
41010
41011SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadial_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41012 PyObject *resultobj = 0;
41013 GCTAModelRadial *arg1 = (GCTAModelRadial *) 0 ;
41014 GXmlElement *arg2 = 0 ;
41015 void *argp1 = 0 ;
41016 int res1 = 0 ;
41017 void *argp2 = 0 ;
41018 int res2 = 0 ;
41019 PyObject * obj0 = 0 ;
41020 PyObject * obj1 = 0 ;
41021
41022 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAModelRadial_write",&obj0,&obj1)) SWIG_failgoto fail;
41023 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadial, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[13]
, 0 | 0, 0)
;
41024 if (!SWIG_IsOK(res1)(res1 >= 0)) {
41025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadial_write" "', argument " "1"" of type '" "GCTAModelRadial const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadial_write" "', argument "
"1"" of type '" "GCTAModelRadial const *""'"); goto fail; } while
(0)
;
41026 }
41027 arg1 = reinterpret_cast< GCTAModelRadial * >(argp1);
41028 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GXmlElement, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[66]
, 0, 0)
;
41029 if (!SWIG_IsOK(res2)(res2 >= 0)) {
41030 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAModelRadial_write" "', argument " "2"" of type '" "GXmlElement &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAModelRadial_write" "', argument "
"2"" of type '" "GXmlElement &""'"); goto fail; } while(
0)
;
41031 }
41032 if (!argp2) {
41033 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAModelRadial_write" "', argument " "2"" of type '" "GXmlElement &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAModelRadial_write" "', argument " "2"" of type '"
"GXmlElement &""'"); goto fail; } while(0)
;
41034 }
41035 arg2 = reinterpret_cast< GXmlElement * >(argp2);
41036 {
41037 try {
41038 ((GCTAModelRadial const *)arg1)->write(*arg2);
41039 }
41040 catch (const GException::out_of_range& e) {
41041 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
41042 }
41043 catch (const GExceptionHandler& e) {
41044 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41045 }
41046 catch (const std::exception& e) {
41047 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41048 }
41049 }
41050 resultobj = SWIG_Py_Void();
41051 return resultobj;
41052fail:
41053 return NULL__null;
41054}
41055
41056
41057SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadial_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41058 PyObject *resultobj = 0;
41059 GCTAModelRadial *arg1 = (GCTAModelRadial *) 0 ;
41060 void *argp1 = 0 ;
41061 int res1 = 0 ;
41062 PyObject * obj0 = 0 ;
41063 int result;
41064
41065 if (!PyArg_ParseTuple(args,(char *)"O:GCTAModelRadial_size",&obj0)) SWIG_failgoto fail;
41066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadial, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[13]
, 0 | 0, 0)
;
41067 if (!SWIG_IsOK(res1)(res1 >= 0)) {
41068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadial_size" "', argument " "1"" of type '" "GCTAModelRadial const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadial_size" "', argument "
"1"" of type '" "GCTAModelRadial const *""'"); goto fail; } while
(0)
;
41069 }
41070 arg1 = reinterpret_cast< GCTAModelRadial * >(argp1);
41071 {
41072 try {
41073 result = (int)((GCTAModelRadial const *)arg1)->size();
41074 }
41075 catch (const GException::out_of_range& e) {
41076 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
41077 }
41078 catch (const GExceptionHandler& e) {
41079 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41080 }
41081 catch (const std::exception& e) {
41082 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41083 }
41084 }
41085 resultobj = SWIG_From_int(static_cast< int >(result));
41086 return resultobj;
41087fail:
41088 return NULL__null;
41089}
41090
41091
41092SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadial___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41093 PyObject *resultobj = 0;
41094 GCTAModelRadial *arg1 = (GCTAModelRadial *) 0 ;
41095 int *arg2 = 0 ;
41096 void *argp1 = 0 ;
41097 int res1 = 0 ;
41098 int temp2 ;
41099 int val2 ;
41100 int ecode2 = 0 ;
41101 PyObject * obj0 = 0 ;
41102 PyObject * obj1 = 0 ;
41103 GModelPar *result = 0 ;
41104
41105 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAModelRadial___getitem__",&obj0,&obj1)) SWIG_failgoto fail;
41106 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadial, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[13]
, 0 | 0, 0)
;
41107 if (!SWIG_IsOK(res1)(res1 >= 0)) {
41108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadial___getitem__" "', argument " "1"" of type '" "GCTAModelRadial *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadial___getitem__"
"', argument " "1"" of type '" "GCTAModelRadial *""'"); goto
fail; } while(0)
;
41109 }
41110 arg1 = reinterpret_cast< GCTAModelRadial * >(argp1);
41111 ecode2 = SWIG_AsVal_int(obj1, &val2);
41112 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
41113 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAModelRadial___getitem__" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAModelRadial___getitem__"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
41114 }
41115 temp2 = static_cast< int >(val2);
41116 arg2 = &temp2;
41117 {
41118 try {
41119 result = (GModelPar *) &GCTAModelRadial___getitem____SWIG_0(arg1,(int const &)*arg2);
41120 }
41121 catch (const GException::out_of_range& e) {
41122 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
41123 }
41124 catch (const GExceptionHandler& e) {
41125 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41126 }
41127 catch (const std::exception& e) {
41128 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41129 }
41130 }
41131 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GModelPar, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[47], 0
| 0)
;
41132 return resultobj;
41133fail:
41134 return NULL__null;
41135}
41136
41137
41138SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadial___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41139 PyObject *resultobj = 0;
41140 GCTAModelRadial *arg1 = (GCTAModelRadial *) 0 ;
41141 std::string *arg2 = 0 ;
41142 void *argp1 = 0 ;
41143 int res1 = 0 ;
41144 int res2 = SWIG_OLDOBJ((0)) ;
41145 PyObject * obj0 = 0 ;
41146 PyObject * obj1 = 0 ;
41147 GModelPar *result = 0 ;
41148
41149 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAModelRadial___getitem__",&obj0,&obj1)) SWIG_failgoto fail;
41150 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadial, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[13]
, 0 | 0, 0)
;
41151 if (!SWIG_IsOK(res1)(res1 >= 0)) {
41152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadial___getitem__" "', argument " "1"" of type '" "GCTAModelRadial *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadial___getitem__"
"', argument " "1"" of type '" "GCTAModelRadial *""'"); goto
fail; } while(0)
;
41153 }
41154 arg1 = reinterpret_cast< GCTAModelRadial * >(argp1);
41155 {
41156 std::string *ptr = (std::string *)0;
41157 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
41158 if (!SWIG_IsOK(res2)(res2 >= 0)) {
41159 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAModelRadial___getitem__" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAModelRadial___getitem__"
"', argument " "2"" of type '" "std::string const &""'")
; goto fail; } while(0)
;
41160 }
41161 if (!ptr) {
41162 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAModelRadial___getitem__" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAModelRadial___getitem__" "', argument " "2"
" of type '" "std::string const &""'"); goto fail; } while
(0)
;
41163 }
41164 arg2 = ptr;
41165 }
41166 {
41167 try {
41168 result = (GModelPar *) &GCTAModelRadial___getitem____SWIG_1(arg1,(std::string const &)*arg2);
41169 }
41170 catch (const GException::out_of_range& e) {
41171 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
41172 }
41173 catch (const GExceptionHandler& e) {
41174 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41175 }
41176 catch (const std::exception& e) {
41177 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41178 }
41179 }
41180 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GModelPar, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[47], 0
| 0)
;
41181 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
41182 return resultobj;
41183fail:
41184 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
41185 return NULL__null;
41186}
41187
41188
41189SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadial___getitem__(PyObject *self, PyObject *args) {
41190 int argc;
41191 PyObject *argv[3];
41192 int ii;
41193
41194 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
41195 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
41196 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
41197 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
41198 }
41199 if (argc == 2) {
41200 int _v;
41201 void *vptr = 0;
41202 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAModelRadial, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[13
], 0, 0)
;
41203 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
41204 if (_v) {
41205 {
41206 int res = SWIG_AsVal_int(argv[1], NULL__null);
41207 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
41208 }
41209 if (_v) {
41210 return _wrap_GCTAModelRadial___getitem____SWIG_0(self, args);
41211 }
41212 }
41213 }
41214 if (argc == 2) {
41215 int _v;
41216 void *vptr = 0;
41217 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAModelRadial, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[13
], 0, 0)
;
41218 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
41219 if (_v) {
41220 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
41221 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
41222 if (_v) {
41223 return _wrap_GCTAModelRadial___getitem____SWIG_1(self, args);
41224 }
41225 }
41226 }
41227
41228fail:
41229 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAModelRadial___getitem__'.\n"
41230 " Possible C/C++ prototypes are:\n"
41231 " GCTAModelRadial::__getitem__(int const &)\n"
41232 " GCTAModelRadial::__getitem__(std::string const &)\n");
41233 return 0;
41234}
41235
41236
41237SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadial___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41238 PyObject *resultobj = 0;
41239 GCTAModelRadial *arg1 = (GCTAModelRadial *) 0 ;
41240 int *arg2 = 0 ;
41241 GModelPar *arg3 = 0 ;
41242 void *argp1 = 0 ;
41243 int res1 = 0 ;
41244 int temp2 ;
41245 int val2 ;
41246 int ecode2 = 0 ;
41247 void *argp3 = 0 ;
41248 int res3 = 0 ;
41249 PyObject * obj0 = 0 ;
41250 PyObject * obj1 = 0 ;
41251 PyObject * obj2 = 0 ;
41252
41253 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAModelRadial___setitem__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
41254 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadial, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[13]
, 0 | 0, 0)
;
41255 if (!SWIG_IsOK(res1)(res1 >= 0)) {
41256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadial___setitem__" "', argument " "1"" of type '" "GCTAModelRadial *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadial___setitem__"
"', argument " "1"" of type '" "GCTAModelRadial *""'"); goto
fail; } while(0)
;
41257 }
41258 arg1 = reinterpret_cast< GCTAModelRadial * >(argp1);
41259 ecode2 = SWIG_AsVal_int(obj1, &val2);
41260 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
41261 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAModelRadial___setitem__" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAModelRadial___setitem__"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
41262 }
41263 temp2 = static_cast< int >(val2);
41264 arg2 = &temp2;
41265 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GModelPar, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[47]
, 0 | 0, 0)
;
41266 if (!SWIG_IsOK(res3)(res3 >= 0)) {
41267 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GCTAModelRadial___setitem__" "', argument " "3"" of type '" "GModelPar const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GCTAModelRadial___setitem__"
"', argument " "3"" of type '" "GModelPar const &""'"); goto
fail; } while(0)
;
41268 }
41269 if (!argp3) {
41270 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAModelRadial___setitem__" "', argument " "3"" of type '" "GModelPar const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAModelRadial___setitem__" "', argument " "3"
" of type '" "GModelPar const &""'"); goto fail; } while(
0)
;
41271 }
41272 arg3 = reinterpret_cast< GModelPar * >(argp3);
41273 {
41274 try {
41275 GCTAModelRadial___setitem____SWIG_0(arg1,(int const &)*arg2,(GModelPar const &)*arg3);
41276 }
41277 catch (const GException::out_of_range& e) {
41278 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
41279 }
41280 catch (const GExceptionHandler& e) {
41281 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41282 }
41283 catch (const std::exception& e) {
41284 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41285 }
41286 }
41287 resultobj = SWIG_Py_Void();
41288 return resultobj;
41289fail:
41290 return NULL__null;
41291}
41292
41293
41294SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadial___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41295 PyObject *resultobj = 0;
41296 GCTAModelRadial *arg1 = (GCTAModelRadial *) 0 ;
41297 std::string *arg2 = 0 ;
41298 GModelPar *arg3 = 0 ;
41299 void *argp1 = 0 ;
41300 int res1 = 0 ;
41301 int res2 = SWIG_OLDOBJ((0)) ;
41302 void *argp3 = 0 ;
41303 int res3 = 0 ;
41304 PyObject * obj0 = 0 ;
41305 PyObject * obj1 = 0 ;
41306 PyObject * obj2 = 0 ;
41307
41308 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAModelRadial___setitem__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
41309 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadial, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[13]
, 0 | 0, 0)
;
41310 if (!SWIG_IsOK(res1)(res1 >= 0)) {
41311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadial___setitem__" "', argument " "1"" of type '" "GCTAModelRadial *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadial___setitem__"
"', argument " "1"" of type '" "GCTAModelRadial *""'"); goto
fail; } while(0)
;
41312 }
41313 arg1 = reinterpret_cast< GCTAModelRadial * >(argp1);
41314 {
41315 std::string *ptr = (std::string *)0;
41316 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
41317 if (!SWIG_IsOK(res2)(res2 >= 0)) {
41318 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAModelRadial___setitem__" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAModelRadial___setitem__"
"', argument " "2"" of type '" "std::string const &""'")
; goto fail; } while(0)
;
41319 }
41320 if (!ptr) {
41321 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAModelRadial___setitem__" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAModelRadial___setitem__" "', argument " "2"
" of type '" "std::string const &""'"); goto fail; } while
(0)
;
41322 }
41323 arg2 = ptr;
41324 }
41325 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GModelPar, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[47]
, 0 | 0, 0)
;
41326 if (!SWIG_IsOK(res3)(res3 >= 0)) {
41327 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GCTAModelRadial___setitem__" "', argument " "3"" of type '" "GModelPar const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GCTAModelRadial___setitem__"
"', argument " "3"" of type '" "GModelPar const &""'"); goto
fail; } while(0)
;
41328 }
41329 if (!argp3) {
41330 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAModelRadial___setitem__" "', argument " "3"" of type '" "GModelPar const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAModelRadial___setitem__" "', argument " "3"
" of type '" "GModelPar const &""'"); goto fail; } while(
0)
;
41331 }
41332 arg3 = reinterpret_cast< GModelPar * >(argp3);
41333 {
41334 try {
41335 GCTAModelRadial___setitem____SWIG_1(arg1,(std::string const &)*arg2,(GModelPar const &)*arg3);
41336 }
41337 catch (const GException::out_of_range& e) {
41338 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
41339 }
41340 catch (const GExceptionHandler& e) {
41341 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41342 }
41343 catch (const std::exception& e) {
41344 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41345 }
41346 }
41347 resultobj = SWIG_Py_Void();
41348 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
41349 return resultobj;
41350fail:
41351 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
41352 return NULL__null;
41353}
41354
41355
41356SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadial___setitem__(PyObject *self, PyObject *args) {
41357 int argc;
41358 PyObject *argv[4];
41359 int ii;
41360
41361 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
41362 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
41363 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
41364 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
41365 }
41366 if (argc == 3) {
41367 int _v;
41368 void *vptr = 0;
41369 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAModelRadial, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[13
], 0, 0)
;
41370 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
41371 if (_v) {
41372 {
41373 int res = SWIG_AsVal_int(argv[1], NULL__null);
41374 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
41375 }
41376 if (_v) {
41377 int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_GModelPar, 0)SWIG_Python_ConvertPtrAndOwn(argv[2], 0, swig_types[47], 0, 0
)
;
41378 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
41379 if (_v) {
41380 return _wrap_GCTAModelRadial___setitem____SWIG_0(self, args);
41381 }
41382 }
41383 }
41384 }
41385 if (argc == 3) {
41386 int _v;
41387 void *vptr = 0;
41388 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAModelRadial, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[13
], 0, 0)
;
41389 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
41390 if (_v) {
41391 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
41392 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
41393 if (_v) {
41394 int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_GModelPar, 0)SWIG_Python_ConvertPtrAndOwn(argv[2], 0, swig_types[47], 0, 0
)
;
41395 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
41396 if (_v) {
41397 return _wrap_GCTAModelRadial___setitem____SWIG_1(self, args);
41398 }
41399 }
41400 }
41401 }
41402
41403fail:
41404 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAModelRadial___setitem__'.\n"
41405 " Possible C/C++ prototypes are:\n"
41406 " GCTAModelRadial::__setitem__(int const &,GModelPar const &)\n"
41407 " GCTAModelRadial::__setitem__(std::string const &,GModelPar const &)\n");
41408 return 0;
41409}
41410
41411
41412SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GCTAModelRadial_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41413 PyObject *obj;
41414 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
41415 SWIG_TypeNewClientData(SWIGTYPE_p_GCTAModelRadialswig_types[13], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
41416 return SWIG_Py_Void();
41417}
41418
41419SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAModelRadialRegistry__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41420 PyObject *resultobj = 0;
41421 GCTAModelRadialRegistry *result = 0 ;
41422
41423 if (!PyArg_ParseTuple(args,(char *)":new_GCTAModelRadialRegistry")) SWIG_failgoto fail;
41424 {
41425 try {
41426 result = (GCTAModelRadialRegistry *)new GCTAModelRadialRegistry();
41427 }
41428 catch (const GException::out_of_range& e) {
41429 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
41430 }
41431 catch (const GExceptionHandler& e) {
41432 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41433 }
41434 catch (const std::exception& e) {
41435 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41436 }
41437 }
41438 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAModelRadialRegistry, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[18], (
(0x1 << 1) | 0x1) | 0)
;
41439 return resultobj;
41440fail:
41441 return NULL__null;
41442}
41443
41444
41445SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAModelRadialRegistry__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41446 PyObject *resultobj = 0;
41447 GCTAModelRadial *arg1 = (GCTAModelRadial *) 0 ;
41448 void *argp1 = 0 ;
41449 int res1 = 0 ;
41450 PyObject * obj0 = 0 ;
41451 GCTAModelRadialRegistry *result = 0 ;
41452
41453 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAModelRadialRegistry",&obj0)) SWIG_failgoto fail;
41454 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadial, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[13]
, 0 | 0, 0)
;
41455 if (!SWIG_IsOK(res1)(res1 >= 0)) {
41456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAModelRadialRegistry" "', argument " "1"" of type '" "GCTAModelRadial const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAModelRadialRegistry"
"', argument " "1"" of type '" "GCTAModelRadial const *""'")
; goto fail; } while(0)
;
41457 }
41458 arg1 = reinterpret_cast< GCTAModelRadial * >(argp1);
41459 {
41460 try {
41461 result = (GCTAModelRadialRegistry *)new GCTAModelRadialRegistry((GCTAModelRadial const *)arg1);
41462 }
41463 catch (const GException::out_of_range& e) {
41464 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
41465 }
41466 catch (const GExceptionHandler& e) {
41467 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41468 }
41469 catch (const std::exception& e) {
41470 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41471 }
41472 }
41473 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAModelRadialRegistry, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[18], (
(0x1 << 1) | 0x1) | 0)
;
41474 return resultobj;
41475fail:
41476 return NULL__null;
41477}
41478
41479
41480SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAModelRadialRegistry__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41481 PyObject *resultobj = 0;
41482 GCTAModelRadialRegistry *arg1 = 0 ;
41483 void *argp1 = 0 ;
41484 int res1 = 0 ;
41485 PyObject * obj0 = 0 ;
41486 GCTAModelRadialRegistry *result = 0 ;
41487
41488 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAModelRadialRegistry",&obj0)) SWIG_failgoto fail;
41489 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GCTAModelRadialRegistry, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[18]
, 0 | 0, 0)
;
41490 if (!SWIG_IsOK(res1)(res1 >= 0)) {
41491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAModelRadialRegistry" "', argument " "1"" of type '" "GCTAModelRadialRegistry const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAModelRadialRegistry"
"', argument " "1"" of type '" "GCTAModelRadialRegistry const &"
"'"); goto fail; } while(0)
;
41492 }
41493 if (!argp1) {
41494 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAModelRadialRegistry" "', argument " "1"" of type '" "GCTAModelRadialRegistry const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAModelRadialRegistry" "', argument " "1"
" of type '" "GCTAModelRadialRegistry const &""'"); goto fail
; } while(0)
;
41495 }
41496 arg1 = reinterpret_cast< GCTAModelRadialRegistry * >(argp1);
41497 {
41498 try {
41499 result = (GCTAModelRadialRegistry *)new GCTAModelRadialRegistry((GCTAModelRadialRegistry const &)*arg1);
41500 }
41501 catch (const GException::out_of_range& e) {
41502 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
41503 }
41504 catch (const GExceptionHandler& e) {
41505 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41506 }
41507 catch (const std::exception& e) {
41508 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41509 }
41510 }
41511 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAModelRadialRegistry, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[18], (
(0x1 << 1) | 0x1) | 0)
;
41512 return resultobj;
41513fail:
41514 return NULL__null;
41515}
41516
41517
41518SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAModelRadialRegistry(PyObject *self, PyObject *args) {
41519 int argc;
41520 PyObject *argv[2];
41521 int ii;
41522
41523 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
41524 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
41525 for (ii = 0; (ii < 1) && (ii < argc); ii++) {
41526 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
41527 }
41528 if (argc == 0) {
41529 return _wrap_new_GCTAModelRadialRegistry__SWIG_0(self, args);
41530 }
41531 if (argc == 1) {
41532 int _v;
41533 void *vptr = 0;
41534 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAModelRadial, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[13
], 0, 0)
;
41535 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
41536 if (_v) {
41537 return _wrap_new_GCTAModelRadialRegistry__SWIG_1(self, args);
41538 }
41539 }
41540 if (argc == 1) {
41541 int _v;
41542 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GCTAModelRadialRegistry, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[18], 0, 0
)
;
41543 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
41544 if (_v) {
41545 return _wrap_new_GCTAModelRadialRegistry__SWIG_2(self, args);
41546 }
41547 }
41548
41549fail:
41550 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GCTAModelRadialRegistry'.\n"
41551 " Possible C/C++ prototypes are:\n"
41552 " GCTAModelRadialRegistry::GCTAModelRadialRegistry()\n"
41553 " GCTAModelRadialRegistry::GCTAModelRadialRegistry(GCTAModelRadial const *)\n"
41554 " GCTAModelRadialRegistry::GCTAModelRadialRegistry(GCTAModelRadialRegistry const &)\n");
41555 return 0;
41556}
41557
41558
41559SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GCTAModelRadialRegistry(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41560 PyObject *resultobj = 0;
41561 GCTAModelRadialRegistry *arg1 = (GCTAModelRadialRegistry *) 0 ;
41562 void *argp1 = 0 ;
41563 int res1 = 0 ;
41564 PyObject * obj0 = 0 ;
41565
41566 if (!PyArg_ParseTuple(args,(char *)"O:delete_GCTAModelRadialRegistry",&obj0)) SWIG_failgoto fail;
41567 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialRegistry, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[18]
, 0x1 | 0, 0)
;
41568 if (!SWIG_IsOK(res1)(res1 >= 0)) {
41569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GCTAModelRadialRegistry" "', argument " "1"" of type '" "GCTAModelRadialRegistry *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GCTAModelRadialRegistry"
"', argument " "1"" of type '" "GCTAModelRadialRegistry *""'"
); goto fail; } while(0)
;
41570 }
41571 arg1 = reinterpret_cast< GCTAModelRadialRegistry * >(argp1);
41572 {
41573 try {
41574 delete arg1;
41575 }
41576 catch (const GException::out_of_range& e) {
41577 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
41578 }
41579 catch (const GExceptionHandler& e) {
41580 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41581 }
41582 catch (const std::exception& e) {
41583 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41584 }
41585 }
41586 resultobj = SWIG_Py_Void();
41587 return resultobj;
41588fail:
41589 return NULL__null;
41590}
41591
41592
41593SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialRegistry_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41594 PyObject *resultobj = 0;
41595 GCTAModelRadialRegistry *arg1 = (GCTAModelRadialRegistry *) 0 ;
41596 void *argp1 = 0 ;
41597 int res1 = 0 ;
41598 PyObject * obj0 = 0 ;
41599 int result;
41600
41601 if (!PyArg_ParseTuple(args,(char *)"O:GCTAModelRadialRegistry_size",&obj0)) SWIG_failgoto fail;
41602 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialRegistry, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[18]
, 0 | 0, 0)
;
41603 if (!SWIG_IsOK(res1)(res1 >= 0)) {
41604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialRegistry_size" "', argument " "1"" of type '" "GCTAModelRadialRegistry const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialRegistry_size"
"', argument " "1"" of type '" "GCTAModelRadialRegistry const *"
"'"); goto fail; } while(0)
;
41605 }
41606 arg1 = reinterpret_cast< GCTAModelRadialRegistry * >(argp1);
41607 {
41608 try {
41609 result = (int)((GCTAModelRadialRegistry const *)arg1)->size();
41610 }
41611 catch (const GException::out_of_range& e) {
41612 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
41613 }
41614 catch (const GExceptionHandler& e) {
41615 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41616 }
41617 catch (const std::exception& e) {
41618 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41619 }
41620 }
41621 resultobj = SWIG_From_int(static_cast< int >(result));
41622 return resultobj;
41623fail:
41624 return NULL__null;
41625}
41626
41627
41628SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialRegistry_alloc(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41629 PyObject *resultobj = 0;
41630 GCTAModelRadialRegistry *arg1 = (GCTAModelRadialRegistry *) 0 ;
41631 std::string *arg2 = 0 ;
41632 void *argp1 = 0 ;
41633 int res1 = 0 ;
41634 int res2 = SWIG_OLDOBJ((0)) ;
41635 PyObject * obj0 = 0 ;
41636 PyObject * obj1 = 0 ;
41637 GCTAModelRadial *result = 0 ;
41638
41639 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAModelRadialRegistry_alloc",&obj0,&obj1)) SWIG_failgoto fail;
41640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialRegistry, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[18]
, 0 | 0, 0)
;
41641 if (!SWIG_IsOK(res1)(res1 >= 0)) {
41642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialRegistry_alloc" "', argument " "1"" of type '" "GCTAModelRadialRegistry const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialRegistry_alloc"
"', argument " "1"" of type '" "GCTAModelRadialRegistry const *"
"'"); goto fail; } while(0)
;
41643 }
41644 arg1 = reinterpret_cast< GCTAModelRadialRegistry * >(argp1);
41645 {
41646 std::string *ptr = (std::string *)0;
41647 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
41648 if (!SWIG_IsOK(res2)(res2 >= 0)) {
41649 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAModelRadialRegistry_alloc" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAModelRadialRegistry_alloc"
"', argument " "2"" of type '" "std::string const &""'")
; goto fail; } while(0)
;
41650 }
41651 if (!ptr) {
41652 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAModelRadialRegistry_alloc" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAModelRadialRegistry_alloc" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
41653 }
41654 arg2 = ptr;
41655 }
41656 {
41657 try {
41658 result = (GCTAModelRadial *)((GCTAModelRadialRegistry const *)arg1)->alloc((std::string const &)*arg2);
41659 }
41660 catch (const GException::out_of_range& e) {
41661 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
41662 }
41663 catch (const GExceptionHandler& e) {
41664 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41665 }
41666 catch (const std::exception& e) {
41667 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41668 }
41669 }
41670 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAModelRadial, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[13], 0
| 0)
;
41671 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
41672 return resultobj;
41673fail:
41674 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
41675 return NULL__null;
41676}
41677
41678
41679SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialRegistry_name(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41680 PyObject *resultobj = 0;
41681 GCTAModelRadialRegistry *arg1 = (GCTAModelRadialRegistry *) 0 ;
41682 int *arg2 = 0 ;
41683 void *argp1 = 0 ;
41684 int res1 = 0 ;
41685 int temp2 ;
41686 int val2 ;
41687 int ecode2 = 0 ;
41688 PyObject * obj0 = 0 ;
41689 PyObject * obj1 = 0 ;
41690 std::string result;
41691
41692 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAModelRadialRegistry_name",&obj0,&obj1)) SWIG_failgoto fail;
41693 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialRegistry, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[18]
, 0 | 0, 0)
;
41694 if (!SWIG_IsOK(res1)(res1 >= 0)) {
41695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialRegistry_name" "', argument " "1"" of type '" "GCTAModelRadialRegistry const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialRegistry_name"
"', argument " "1"" of type '" "GCTAModelRadialRegistry const *"
"'"); goto fail; } while(0)
;
41696 }
41697 arg1 = reinterpret_cast< GCTAModelRadialRegistry * >(argp1);
41698 ecode2 = SWIG_AsVal_int(obj1, &val2);
41699 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
41700 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAModelRadialRegistry_name" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAModelRadialRegistry_name"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
41701 }
41702 temp2 = static_cast< int >(val2);
41703 arg2 = &temp2;
41704 {
41705 try {
41706 result = ((GCTAModelRadialRegistry const *)arg1)->name((int const &)*arg2);
41707 }
41708 catch (const GException::out_of_range& e) {
41709 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
41710 }
41711 catch (const GExceptionHandler& e) {
41712 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41713 }
41714 catch (const std::exception& e) {
41715 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41716 }
41717 }
41718 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
41719 return resultobj;
41720fail:
41721 return NULL__null;
41722}
41723
41724
41725SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GCTAModelRadialRegistry_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41726 PyObject *obj;
41727 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
41728 SWIG_TypeNewClientData(SWIGTYPE_p_GCTAModelRadialRegistryswig_types[18], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
41729 return SWIG_Py_Void();
41730}
41731
41732SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAModelRadialGauss__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41733 PyObject *resultobj = 0;
41734 GCTAModelRadialGauss *result = 0 ;
41735
41736 if (!PyArg_ParseTuple(args,(char *)":new_GCTAModelRadialGauss")) SWIG_failgoto fail;
41737 {
41738 try {
41739 result = (GCTAModelRadialGauss *)new GCTAModelRadialGauss();
41740 }
41741 catch (const GException::out_of_range& e) {
41742 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
41743 }
41744 catch (const GExceptionHandler& e) {
41745 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41746 }
41747 catch (const std::exception& e) {
41748 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41749 }
41750 }
41751 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAModelRadialGauss, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[15], (
(0x1 << 1) | 0x1) | 0)
;
41752 return resultobj;
41753fail:
41754 return NULL__null;
41755}
41756
41757
41758SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAModelRadialGauss__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41759 PyObject *resultobj = 0;
41760 double *arg1 = 0 ;
41761 double temp1 ;
41762 double val1 ;
41763 int ecode1 = 0 ;
41764 PyObject * obj0 = 0 ;
41765 GCTAModelRadialGauss *result = 0 ;
41766
41767 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAModelRadialGauss",&obj0)) SWIG_failgoto fail;
41768 ecode1 = SWIG_AsVal_double(obj0, &val1);
41769 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
41770 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GCTAModelRadialGauss" "', argument " "1"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GCTAModelRadialGauss"
"', argument " "1"" of type '" "double""'"); goto fail; } while
(0)
;
41771 }
41772 temp1 = static_cast< double >(val1);
41773 arg1 = &temp1;
41774 {
41775 try {
41776 result = (GCTAModelRadialGauss *)new GCTAModelRadialGauss((double const &)*arg1);
41777 }
41778 catch (const GException::out_of_range& e) {
41779 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
41780 }
41781 catch (const GExceptionHandler& e) {
41782 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41783 }
41784 catch (const std::exception& e) {
41785 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41786 }
41787 }
41788 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAModelRadialGauss, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[15], (
(0x1 << 1) | 0x1) | 0)
;
41789 return resultobj;
41790fail:
41791 return NULL__null;
41792}
41793
41794
41795SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAModelRadialGauss__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41796 PyObject *resultobj = 0;
41797 GXmlElement *arg1 = 0 ;
41798 void *argp1 = 0 ;
41799 int res1 = 0 ;
41800 PyObject * obj0 = 0 ;
41801 GCTAModelRadialGauss *result = 0 ;
41802
41803 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAModelRadialGauss",&obj0)) SWIG_failgoto fail;
41804 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GXmlElement, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[66]
, 0 | 0, 0)
;
41805 if (!SWIG_IsOK(res1)(res1 >= 0)) {
41806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAModelRadialGauss" "', argument " "1"" of type '" "GXmlElement const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAModelRadialGauss" "', argument "
"1"" of type '" "GXmlElement const &""'"); goto fail; } while
(0)
;
41807 }
41808 if (!argp1) {
41809 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAModelRadialGauss" "', argument " "1"" of type '" "GXmlElement const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAModelRadialGauss" "', argument " "1"" of type '"
"GXmlElement const &""'"); goto fail; } while(0)
;
41810 }
41811 arg1 = reinterpret_cast< GXmlElement * >(argp1);
41812 {
41813 try {
41814 result = (GCTAModelRadialGauss *)new GCTAModelRadialGauss((GXmlElement const &)*arg1);
41815 }
41816 catch (const GException::out_of_range& e) {
41817 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
41818 }
41819 catch (const GExceptionHandler& e) {
41820 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41821 }
41822 catch (const std::exception& e) {
41823 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41824 }
41825 }
41826 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAModelRadialGauss, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[15], (
(0x1 << 1) | 0x1) | 0)
;
41827 return resultobj;
41828fail:
41829 return NULL__null;
41830}
41831
41832
41833SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAModelRadialGauss__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41834 PyObject *resultobj = 0;
41835 GCTAModelRadialGauss *arg1 = 0 ;
41836 void *argp1 = 0 ;
41837 int res1 = 0 ;
41838 PyObject * obj0 = 0 ;
41839 GCTAModelRadialGauss *result = 0 ;
41840
41841 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAModelRadialGauss",&obj0)) SWIG_failgoto fail;
41842 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GCTAModelRadialGauss, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[15]
, 0 | 0, 0)
;
41843 if (!SWIG_IsOK(res1)(res1 >= 0)) {
41844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAModelRadialGauss" "', argument " "1"" of type '" "GCTAModelRadialGauss const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAModelRadialGauss" "', argument "
"1"" of type '" "GCTAModelRadialGauss const &""'"); goto
fail; } while(0)
;
41845 }
41846 if (!argp1) {
41847 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAModelRadialGauss" "', argument " "1"" of type '" "GCTAModelRadialGauss const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAModelRadialGauss" "', argument " "1"" of type '"
"GCTAModelRadialGauss const &""'"); goto fail; } while(0
)
;
41848 }
41849 arg1 = reinterpret_cast< GCTAModelRadialGauss * >(argp1);
41850 {
41851 try {
41852 result = (GCTAModelRadialGauss *)new GCTAModelRadialGauss((GCTAModelRadialGauss const &)*arg1);
41853 }
41854 catch (const GException::out_of_range& e) {
41855 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
41856 }
41857 catch (const GExceptionHandler& e) {
41858 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41859 }
41860 catch (const std::exception& e) {
41861 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41862 }
41863 }
41864 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAModelRadialGauss, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[15], (
(0x1 << 1) | 0x1) | 0)
;
41865 return resultobj;
41866fail:
41867 return NULL__null;
41868}
41869
41870
41871SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAModelRadialGauss(PyObject *self, PyObject *args) {
41872 int argc;
41873 PyObject *argv[2];
41874 int ii;
41875
41876 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
41877 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
41878 for (ii = 0; (ii < 1) && (ii < argc); ii++) {
41879 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
41880 }
41881 if (argc == 0) {
41882 return _wrap_new_GCTAModelRadialGauss__SWIG_0(self, args);
41883 }
41884 if (argc == 1) {
41885 int _v;
41886 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GXmlElement, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[66], 0, 0
)
;
41887 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
41888 if (_v) {
41889 return _wrap_new_GCTAModelRadialGauss__SWIG_2(self, args);
41890 }
41891 }
41892 if (argc == 1) {
41893 int _v;
41894 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GCTAModelRadialGauss, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[15], 0, 0
)
;
41895 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
41896 if (_v) {
41897 return _wrap_new_GCTAModelRadialGauss__SWIG_3(self, args);
41898 }
41899 }
41900 if (argc == 1) {
41901 int _v;
41902 {
41903 int res = SWIG_AsVal_double(argv[0], NULL__null);
41904 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
41905 }
41906 if (_v) {
41907 return _wrap_new_GCTAModelRadialGauss__SWIG_1(self, args);
41908 }
41909 }
41910
41911fail:
41912 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GCTAModelRadialGauss'.\n"
41913 " Possible C/C++ prototypes are:\n"
41914 " GCTAModelRadialGauss::GCTAModelRadialGauss()\n"
41915 " GCTAModelRadialGauss::GCTAModelRadialGauss(double const &)\n"
41916 " GCTAModelRadialGauss::GCTAModelRadialGauss(GXmlElement const &)\n"
41917 " GCTAModelRadialGauss::GCTAModelRadialGauss(GCTAModelRadialGauss const &)\n");
41918 return 0;
41919}
41920
41921
41922SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GCTAModelRadialGauss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41923 PyObject *resultobj = 0;
41924 GCTAModelRadialGauss *arg1 = (GCTAModelRadialGauss *) 0 ;
41925 void *argp1 = 0 ;
41926 int res1 = 0 ;
41927 PyObject * obj0 = 0 ;
41928
41929 if (!PyArg_ParseTuple(args,(char *)"O:delete_GCTAModelRadialGauss",&obj0)) SWIG_failgoto fail;
41930 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialGauss, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[15]
, 0x1 | 0, 0)
;
41931 if (!SWIG_IsOK(res1)(res1 >= 0)) {
41932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GCTAModelRadialGauss" "', argument " "1"" of type '" "GCTAModelRadialGauss *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GCTAModelRadialGauss"
"', argument " "1"" of type '" "GCTAModelRadialGauss *""'");
goto fail; } while(0)
;
41933 }
41934 arg1 = reinterpret_cast< GCTAModelRadialGauss * >(argp1);
41935 {
41936 try {
41937 delete arg1;
41938 }
41939 catch (const GException::out_of_range& e) {
41940 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
41941 }
41942 catch (const GExceptionHandler& e) {
41943 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41944 }
41945 catch (const std::exception& e) {
41946 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41947 }
41948 }
41949 resultobj = SWIG_Py_Void();
41950 return resultobj;
41951fail:
41952 return NULL__null;
41953}
41954
41955
41956SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialGauss_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41957 PyObject *resultobj = 0;
41958 GCTAModelRadialGauss *arg1 = (GCTAModelRadialGauss *) 0 ;
41959 void *argp1 = 0 ;
41960 int res1 = 0 ;
41961 PyObject * obj0 = 0 ;
41962
41963 if (!PyArg_ParseTuple(args,(char *)"O:GCTAModelRadialGauss_clear",&obj0)) SWIG_failgoto fail;
41964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialGauss, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[15]
, 0 | 0, 0)
;
41965 if (!SWIG_IsOK(res1)(res1 >= 0)) {
41966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialGauss_clear" "', argument " "1"" of type '" "GCTAModelRadialGauss *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialGauss_clear"
"', argument " "1"" of type '" "GCTAModelRadialGauss *""'");
goto fail; } while(0)
;
41967 }
41968 arg1 = reinterpret_cast< GCTAModelRadialGauss * >(argp1);
41969 {
41970 try {
41971 (arg1)->clear();
41972 }
41973 catch (const GException::out_of_range& e) {
41974 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
41975 }
41976 catch (const GExceptionHandler& e) {
41977 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41978 }
41979 catch (const std::exception& e) {
41980 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41981 }
41982 }
41983 resultobj = SWIG_Py_Void();
41984 return resultobj;
41985fail:
41986 return NULL__null;
41987}
41988
41989
41990SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialGauss_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41991 PyObject *resultobj = 0;
41992 GCTAModelRadialGauss *arg1 = (GCTAModelRadialGauss *) 0 ;
41993 void *argp1 = 0 ;
41994 int res1 = 0 ;
41995 PyObject * obj0 = 0 ;
41996 GCTAModelRadialGauss *result = 0 ;
41997
41998 if (!PyArg_ParseTuple(args,(char *)"O:GCTAModelRadialGauss_clone",&obj0)) SWIG_failgoto fail;
41999 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialGauss, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[15]
, 0 | 0, 0)
;
42000 if (!SWIG_IsOK(res1)(res1 >= 0)) {
42001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialGauss_clone" "', argument " "1"" of type '" "GCTAModelRadialGauss const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialGauss_clone"
"', argument " "1"" of type '" "GCTAModelRadialGauss const *"
"'"); goto fail; } while(0)
;
42002 }
42003 arg1 = reinterpret_cast< GCTAModelRadialGauss * >(argp1);
42004 {
42005 try {
42006 result = (GCTAModelRadialGauss *)((GCTAModelRadialGauss const *)arg1)->clone();
42007 }
42008 catch (const GException::out_of_range& e) {
42009 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
42010 }
42011 catch (const GExceptionHandler& e) {
42012 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42013 }
42014 catch (const std::exception& e) {
42015 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42016 }
42017 }
42018 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAModelRadialGauss, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[15], 0
| 0)
;
42019 return resultobj;
42020fail:
42021 return NULL__null;
42022}
42023
42024
42025SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialGauss_type(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42026 PyObject *resultobj = 0;
42027 GCTAModelRadialGauss *arg1 = (GCTAModelRadialGauss *) 0 ;
42028 void *argp1 = 0 ;
42029 int res1 = 0 ;
42030 PyObject * obj0 = 0 ;
42031 std::string result;
42032
42033 if (!PyArg_ParseTuple(args,(char *)"O:GCTAModelRadialGauss_type",&obj0)) SWIG_failgoto fail;
42034 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialGauss, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[15]
, 0 | 0, 0)
;
42035 if (!SWIG_IsOK(res1)(res1 >= 0)) {
42036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialGauss_type" "', argument " "1"" of type '" "GCTAModelRadialGauss const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialGauss_type"
"', argument " "1"" of type '" "GCTAModelRadialGauss const *"
"'"); goto fail; } while(0)
;
42037 }
42038 arg1 = reinterpret_cast< GCTAModelRadialGauss * >(argp1);
42039 {
42040 try {
42041 result = ((GCTAModelRadialGauss const *)arg1)->type();
42042 }
42043 catch (const GException::out_of_range& e) {
42044 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
42045 }
42046 catch (const GExceptionHandler& e) {
42047 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42048 }
42049 catch (const std::exception& e) {
42050 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42051 }
42052 }
42053 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
42054 return resultobj;
42055fail:
42056 return NULL__null;
42057}
42058
42059
42060SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialGauss_eval(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42061 PyObject *resultobj = 0;
42062 GCTAModelRadialGauss *arg1 = (GCTAModelRadialGauss *) 0 ;
42063 double *arg2 = 0 ;
42064 void *argp1 = 0 ;
42065 int res1 = 0 ;
42066 double temp2 ;
42067 double val2 ;
42068 int ecode2 = 0 ;
42069 PyObject * obj0 = 0 ;
42070 PyObject * obj1 = 0 ;
42071 double result;
42072
42073 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAModelRadialGauss_eval",&obj0,&obj1)) SWIG_failgoto fail;
42074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialGauss, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[15]
, 0 | 0, 0)
;
42075 if (!SWIG_IsOK(res1)(res1 >= 0)) {
42076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialGauss_eval" "', argument " "1"" of type '" "GCTAModelRadialGauss const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialGauss_eval"
"', argument " "1"" of type '" "GCTAModelRadialGauss const *"
"'"); goto fail; } while(0)
;
42077 }
42078 arg1 = reinterpret_cast< GCTAModelRadialGauss * >(argp1);
42079 ecode2 = SWIG_AsVal_double(obj1, &val2);
42080 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
42081 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAModelRadialGauss_eval" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAModelRadialGauss_eval"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
42082 }
42083 temp2 = static_cast< double >(val2);
42084 arg2 = &temp2;
42085 {
42086 try {
42087 result = (double)((GCTAModelRadialGauss const *)arg1)->eval((double const &)*arg2);
42088 }
42089 catch (const GException::out_of_range& e) {
42090 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
42091 }
42092 catch (const GExceptionHandler& e) {
42093 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42094 }
42095 catch (const std::exception& e) {
42096 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42097 }
42098 }
42099 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
42100 return resultobj;
42101fail:
42102 return NULL__null;
42103}
42104
42105
42106SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialGauss_eval_gradients(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42107 PyObject *resultobj = 0;
42108 GCTAModelRadialGauss *arg1 = (GCTAModelRadialGauss *) 0 ;
42109 double *arg2 = 0 ;
42110 void *argp1 = 0 ;
42111 int res1 = 0 ;
42112 double temp2 ;
42113 double val2 ;
42114 int ecode2 = 0 ;
42115 PyObject * obj0 = 0 ;
42116 PyObject * obj1 = 0 ;
42117 double result;
42118
42119 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAModelRadialGauss_eval_gradients",&obj0,&obj1)) SWIG_failgoto fail;
42120 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialGauss, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[15]
, 0 | 0, 0)
;
42121 if (!SWIG_IsOK(res1)(res1 >= 0)) {
42122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialGauss_eval_gradients" "', argument " "1"" of type '" "GCTAModelRadialGauss const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialGauss_eval_gradients"
"', argument " "1"" of type '" "GCTAModelRadialGauss const *"
"'"); goto fail; } while(0)
;
42123 }
42124 arg1 = reinterpret_cast< GCTAModelRadialGauss * >(argp1);
42125 ecode2 = SWIG_AsVal_double(obj1, &val2);
42126 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
42127 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAModelRadialGauss_eval_gradients" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAModelRadialGauss_eval_gradients"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
42128 }
42129 temp2 = static_cast< double >(val2);
42130 arg2 = &temp2;
42131 {
42132 try {
42133 result = (double)((GCTAModelRadialGauss const *)arg1)->eval_gradients((double const &)*arg2);
42134 }
42135 catch (const GException::out_of_range& e) {
42136 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
42137 }
42138 catch (const GExceptionHandler& e) {
42139 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42140 }
42141 catch (const std::exception& e) {
42142 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42143 }
42144 }
42145 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
42146 return resultobj;
42147fail:
42148 return NULL__null;
42149}
42150
42151
42152SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialGauss_mc(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42153 PyObject *resultobj = 0;
42154 GCTAModelRadialGauss *arg1 = (GCTAModelRadialGauss *) 0 ;
42155 GCTAInstDir *arg2 = 0 ;
42156 GRan *arg3 = 0 ;
42157 void *argp1 = 0 ;
42158 int res1 = 0 ;
42159 void *argp2 = 0 ;
42160 int res2 = 0 ;
42161 void *argp3 = 0 ;
42162 int res3 = 0 ;
42163 PyObject * obj0 = 0 ;
42164 PyObject * obj1 = 0 ;
42165 PyObject * obj2 = 0 ;
42166 GCTAInstDir result;
42167
42168 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAModelRadialGauss_mc",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
42169 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialGauss, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[15]
, 0 | 0, 0)
;
42170 if (!SWIG_IsOK(res1)(res1 >= 0)) {
42171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialGauss_mc" "', argument " "1"" of type '" "GCTAModelRadialGauss const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialGauss_mc" "', argument "
"1"" of type '" "GCTAModelRadialGauss const *""'"); goto fail
; } while(0)
;
42172 }
42173 arg1 = reinterpret_cast< GCTAModelRadialGauss * >(argp1);
42174 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GCTAInstDir, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[11]
, 0 | 0, 0)
;
42175 if (!SWIG_IsOK(res2)(res2 >= 0)) {
42176 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAModelRadialGauss_mc" "', argument " "2"" of type '" "GCTAInstDir const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAModelRadialGauss_mc" "', argument "
"2"" of type '" "GCTAInstDir const &""'"); goto fail; } while
(0)
;
42177 }
42178 if (!argp2) {
42179 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAModelRadialGauss_mc" "', argument " "2"" of type '" "GCTAInstDir const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAModelRadialGauss_mc" "', argument " "2"" of type '"
"GCTAInstDir const &""'"); goto fail; } while(0)
;
42180 }
42181 arg2 = reinterpret_cast< GCTAInstDir * >(argp2);
42182 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GRan, 0 )SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[55]
, 0, 0)
;
42183 if (!SWIG_IsOK(res3)(res3 >= 0)) {
42184 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GCTAModelRadialGauss_mc" "', argument " "3"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GCTAModelRadialGauss_mc" "', argument "
"3"" of type '" "GRan &""'"); goto fail; } while(0)
;
42185 }
42186 if (!argp3) {
42187 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAModelRadialGauss_mc" "', argument " "3"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAModelRadialGauss_mc" "', argument " "3"" of type '"
"GRan &""'"); goto fail; } while(0)
;
42188 }
42189 arg3 = reinterpret_cast< GRan * >(argp3);
42190 {
42191 try {
42192 result = ((GCTAModelRadialGauss const *)arg1)->mc((GCTAInstDir const &)*arg2,*arg3);
42193 }
42194 catch (const GException::out_of_range& e) {
42195 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
42196 }
42197 catch (const GExceptionHandler& e) {
42198 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42199 }
42200 catch (const std::exception& e) {
42201 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42202 }
42203 }
42204 resultobj = SWIG_NewPointerObj((new GCTAInstDir(static_cast< const GCTAInstDir& >(result))), SWIGTYPE_p_GCTAInstDir, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GCTAInstDir(static_cast
< const GCTAInstDir& >(result))), swig_types[11], 0x1
| 0)
;
42205 return resultobj;
42206fail:
42207 return NULL__null;
42208}
42209
42210
42211SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialGauss_omega(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42212 PyObject *resultobj = 0;
42213 GCTAModelRadialGauss *arg1 = (GCTAModelRadialGauss *) 0 ;
42214 void *argp1 = 0 ;
42215 int res1 = 0 ;
42216 PyObject * obj0 = 0 ;
42217 double result;
42218
42219 if (!PyArg_ParseTuple(args,(char *)"O:GCTAModelRadialGauss_omega",&obj0)) SWIG_failgoto fail;
42220 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialGauss, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[15]
, 0 | 0, 0)
;
42221 if (!SWIG_IsOK(res1)(res1 >= 0)) {
42222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialGauss_omega" "', argument " "1"" of type '" "GCTAModelRadialGauss const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialGauss_omega"
"', argument " "1"" of type '" "GCTAModelRadialGauss const *"
"'"); goto fail; } while(0)
;
42223 }
42224 arg1 = reinterpret_cast< GCTAModelRadialGauss * >(argp1);
42225 {
42226 try {
42227 result = (double)((GCTAModelRadialGauss const *)arg1)->omega();
42228 }
42229 catch (const GException::out_of_range& e) {
42230 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
42231 }
42232 catch (const GExceptionHandler& e) {
42233 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42234 }
42235 catch (const std::exception& e) {
42236 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42237 }
42238 }
42239 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
42240 return resultobj;
42241fail:
42242 return NULL__null;
42243}
42244
42245
42246SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialGauss_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42247 PyObject *resultobj = 0;
42248 GCTAModelRadialGauss *arg1 = (GCTAModelRadialGauss *) 0 ;
42249 GXmlElement *arg2 = 0 ;
42250 void *argp1 = 0 ;
42251 int res1 = 0 ;
42252 void *argp2 = 0 ;
42253 int res2 = 0 ;
42254 PyObject * obj0 = 0 ;
42255 PyObject * obj1 = 0 ;
42256
42257 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAModelRadialGauss_read",&obj0,&obj1)) SWIG_failgoto fail;
42258 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialGauss, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[15]
, 0 | 0, 0)
;
42259 if (!SWIG_IsOK(res1)(res1 >= 0)) {
42260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialGauss_read" "', argument " "1"" of type '" "GCTAModelRadialGauss *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialGauss_read"
"', argument " "1"" of type '" "GCTAModelRadialGauss *""'");
goto fail; } while(0)
;
42261 }
42262 arg1 = reinterpret_cast< GCTAModelRadialGauss * >(argp1);
42263 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GXmlElement, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[66]
, 0 | 0, 0)
;
42264 if (!SWIG_IsOK(res2)(res2 >= 0)) {
42265 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAModelRadialGauss_read" "', argument " "2"" of type '" "GXmlElement const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAModelRadialGauss_read"
"', argument " "2"" of type '" "GXmlElement const &""'")
; goto fail; } while(0)
;
42266 }
42267 if (!argp2) {
42268 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAModelRadialGauss_read" "', argument " "2"" of type '" "GXmlElement const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAModelRadialGauss_read" "', argument " "2"
" of type '" "GXmlElement const &""'"); goto fail; } while
(0)
;
42269 }
42270 arg2 = reinterpret_cast< GXmlElement * >(argp2);
42271 {
42272 try {
42273 (arg1)->read((GXmlElement const &)*arg2);
42274 }
42275 catch (const GException::out_of_range& e) {
42276 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
42277 }
42278 catch (const GExceptionHandler& e) {
42279 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42280 }
42281 catch (const std::exception& e) {
42282 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42283 }
42284 }
42285 resultobj = SWIG_Py_Void();
42286 return resultobj;
42287fail:
42288 return NULL__null;
42289}
42290
42291
42292SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialGauss_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42293 PyObject *resultobj = 0;
42294 GCTAModelRadialGauss *arg1 = (GCTAModelRadialGauss *) 0 ;
42295 GXmlElement *arg2 = 0 ;
42296 void *argp1 = 0 ;
42297 int res1 = 0 ;
42298 void *argp2 = 0 ;
42299 int res2 = 0 ;
42300 PyObject * obj0 = 0 ;
42301 PyObject * obj1 = 0 ;
42302
42303 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAModelRadialGauss_write",&obj0,&obj1)) SWIG_failgoto fail;
42304 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialGauss, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[15]
, 0 | 0, 0)
;
42305 if (!SWIG_IsOK(res1)(res1 >= 0)) {
42306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialGauss_write" "', argument " "1"" of type '" "GCTAModelRadialGauss const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialGauss_write"
"', argument " "1"" of type '" "GCTAModelRadialGauss const *"
"'"); goto fail; } while(0)
;
42307 }
42308 arg1 = reinterpret_cast< GCTAModelRadialGauss * >(argp1);
42309 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GXmlElement, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[66]
, 0, 0)
;
42310 if (!SWIG_IsOK(res2)(res2 >= 0)) {
42311 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAModelRadialGauss_write" "', argument " "2"" of type '" "GXmlElement &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAModelRadialGauss_write"
"', argument " "2"" of type '" "GXmlElement &""'"); goto
fail; } while(0)
;
42312 }
42313 if (!argp2) {
42314 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAModelRadialGauss_write" "', argument " "2"" of type '" "GXmlElement &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAModelRadialGauss_write" "', argument " "2"
" of type '" "GXmlElement &""'"); goto fail; } while(0)
;
42315 }
42316 arg2 = reinterpret_cast< GXmlElement * >(argp2);
42317 {
42318 try {
42319 ((GCTAModelRadialGauss const *)arg1)->write(*arg2);
42320 }
42321 catch (const GException::out_of_range& e) {
42322 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
42323 }
42324 catch (const GExceptionHandler& e) {
42325 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42326 }
42327 catch (const std::exception& e) {
42328 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42329 }
42330 }
42331 resultobj = SWIG_Py_Void();
42332 return resultobj;
42333fail:
42334 return NULL__null;
42335}
42336
42337
42338SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialGauss_sigma__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42339 PyObject *resultobj = 0;
42340 GCTAModelRadialGauss *arg1 = (GCTAModelRadialGauss *) 0 ;
42341 void *argp1 = 0 ;
42342 int res1 = 0 ;
42343 PyObject * obj0 = 0 ;
42344 double result;
42345
42346 if (!PyArg_ParseTuple(args,(char *)"O:GCTAModelRadialGauss_sigma",&obj0)) SWIG_failgoto fail;
42347 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialGauss, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[15]
, 0 | 0, 0)
;
42348 if (!SWIG_IsOK(res1)(res1 >= 0)) {
42349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialGauss_sigma" "', argument " "1"" of type '" "GCTAModelRadialGauss const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialGauss_sigma"
"', argument " "1"" of type '" "GCTAModelRadialGauss const *"
"'"); goto fail; } while(0)
;
42350 }
42351 arg1 = reinterpret_cast< GCTAModelRadialGauss * >(argp1);
42352 {
42353 try {
42354 result = (double)((GCTAModelRadialGauss const *)arg1)->sigma();
42355 }
42356 catch (const GException::out_of_range& e) {
42357 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
42358 }
42359 catch (const GExceptionHandler& e) {
42360 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42361 }
42362 catch (const std::exception& e) {
42363 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42364 }
42365 }
42366 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
42367 return resultobj;
42368fail:
42369 return NULL__null;
42370}
42371
42372
42373SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialGauss_sigma__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42374 PyObject *resultobj = 0;
42375 GCTAModelRadialGauss *arg1 = (GCTAModelRadialGauss *) 0 ;
42376 double *arg2 = 0 ;
42377 void *argp1 = 0 ;
42378 int res1 = 0 ;
42379 double temp2 ;
42380 double val2 ;
42381 int ecode2 = 0 ;
42382 PyObject * obj0 = 0 ;
42383 PyObject * obj1 = 0 ;
42384
42385 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAModelRadialGauss_sigma",&obj0,&obj1)) SWIG_failgoto fail;
42386 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialGauss, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[15]
, 0 | 0, 0)
;
42387 if (!SWIG_IsOK(res1)(res1 >= 0)) {
42388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialGauss_sigma" "', argument " "1"" of type '" "GCTAModelRadialGauss *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialGauss_sigma"
"', argument " "1"" of type '" "GCTAModelRadialGauss *""'");
goto fail; } while(0)
;
42389 }
42390 arg1 = reinterpret_cast< GCTAModelRadialGauss * >(argp1);
42391 ecode2 = SWIG_AsVal_double(obj1, &val2);
42392 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
42393 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAModelRadialGauss_sigma" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAModelRadialGauss_sigma"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
42394 }
42395 temp2 = static_cast< double >(val2);
42396 arg2 = &temp2;
42397 {
42398 try {
42399 (arg1)->sigma((double const &)*arg2);
42400 }
42401 catch (const GException::out_of_range& e) {
42402 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
42403 }
42404 catch (const GExceptionHandler& e) {
42405 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42406 }
42407 catch (const std::exception& e) {
42408 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42409 }
42410 }
42411 resultobj = SWIG_Py_Void();
42412 return resultobj;
42413fail:
42414 return NULL__null;
42415}
42416
42417
42418SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialGauss_sigma(PyObject *self, PyObject *args) {
42419 int argc;
42420 PyObject *argv[3];
42421 int ii;
42422
42423 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
42424 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
42425 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
42426 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
42427 }
42428 if (argc == 1) {
42429 int _v;
42430 void *vptr = 0;
42431 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAModelRadialGauss, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[15
], 0, 0)
;
42432 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
42433 if (_v) {
42434 return _wrap_GCTAModelRadialGauss_sigma__SWIG_0(self, args);
42435 }
42436 }
42437 if (argc == 2) {
42438 int _v;
42439 void *vptr = 0;
42440 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAModelRadialGauss, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[15
], 0, 0)
;
42441 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
42442 if (_v) {
42443 {
42444 int res = SWIG_AsVal_double(argv[1], NULL__null);
42445 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
42446 }
42447 if (_v) {
42448 return _wrap_GCTAModelRadialGauss_sigma__SWIG_1(self, args);
42449 }
42450 }
42451 }
42452
42453fail:
42454 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAModelRadialGauss_sigma'.\n"
42455 " Possible C/C++ prototypes are:\n"
42456 " GCTAModelRadialGauss::sigma() const\n"
42457 " GCTAModelRadialGauss::sigma(double const &)\n");
42458 return 0;
42459}
42460
42461
42462SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GCTAModelRadialGauss_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42463 PyObject *obj;
42464 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
42465 SWIG_TypeNewClientData(SWIGTYPE_p_GCTAModelRadialGaussswig_types[15], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
42466 return SWIG_Py_Void();
42467}
42468
42469SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAModelRadialPolynom__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42470 PyObject *resultobj = 0;
42471 GCTAModelRadialPolynom *result = 0 ;
42472
42473 if (!PyArg_ParseTuple(args,(char *)":new_GCTAModelRadialPolynom")) SWIG_failgoto fail;
42474 {
42475 try {
42476 result = (GCTAModelRadialPolynom *)new GCTAModelRadialPolynom();
42477 }
42478 catch (const GException::out_of_range& e) {
42479 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
42480 }
42481 catch (const GExceptionHandler& e) {
42482 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42483 }
42484 catch (const std::exception& e) {
42485 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42486 }
42487 }
42488 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAModelRadialPolynom, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[16], (
(0x1 << 1) | 0x1) | 0)
;
42489 return resultobj;
42490fail:
42491 return NULL__null;
42492}
42493
42494
42495SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAModelRadialPolynom__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42496 PyObject *resultobj = 0;
42497 std::vector< double,std::allocator< double > > *arg1 = 0 ;
42498 int res1 = SWIG_OLDOBJ((0)) ;
42499 PyObject * obj0 = 0 ;
42500 GCTAModelRadialPolynom *result = 0 ;
42501
42502 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAModelRadialPolynom",&obj0)) SWIG_failgoto fail;
42503 {
42504 std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0;
42505 res1 = swig::asptr(obj0, &ptr);
42506 if (!SWIG_IsOK(res1)(res1 >= 0)) {
42507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAModelRadialPolynom" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAModelRadialPolynom"
"', argument " "1"" of type '" "std::vector< double,std::allocator< double > > const &"
"'"); goto fail; } while(0)
;
42508 }
42509 if (!ptr) {
42510 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAModelRadialPolynom" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAModelRadialPolynom" "', argument " "1"
" of type '" "std::vector< double,std::allocator< double > > const &"
"'"); goto fail; } while(0)
;
42511 }
42512 arg1 = ptr;
42513 }
42514 {
42515 try {
42516 result = (GCTAModelRadialPolynom *)new GCTAModelRadialPolynom((std::vector< double,std::allocator< double > > const &)*arg1);
42517 }
42518 catch (const GException::out_of_range& e) {
42519 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
42520 }
42521 catch (const GExceptionHandler& e) {
42522 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42523 }
42524 catch (const std::exception& e) {
42525 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42526 }
42527 }
42528 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAModelRadialPolynom, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[16], (
(0x1 << 1) | 0x1) | 0)
;
42529 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
42530 return resultobj;
42531fail:
42532 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
42533 return NULL__null;
42534}
42535
42536
42537SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAModelRadialPolynom__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42538 PyObject *resultobj = 0;
42539 GXmlElement *arg1 = 0 ;
42540 void *argp1 = 0 ;
42541 int res1 = 0 ;
42542 PyObject * obj0 = 0 ;
42543 GCTAModelRadialPolynom *result = 0 ;
42544
42545 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAModelRadialPolynom",&obj0)) SWIG_failgoto fail;
42546 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GXmlElement, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[66]
, 0 | 0, 0)
;
42547 if (!SWIG_IsOK(res1)(res1 >= 0)) {
42548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAModelRadialPolynom" "', argument " "1"" of type '" "GXmlElement const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAModelRadialPolynom"
"', argument " "1"" of type '" "GXmlElement const &""'")
; goto fail; } while(0)
;
42549 }
42550 if (!argp1) {
42551 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAModelRadialPolynom" "', argument " "1"" of type '" "GXmlElement const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAModelRadialPolynom" "', argument " "1"
" of type '" "GXmlElement const &""'"); goto fail; } while
(0)
;
42552 }
42553 arg1 = reinterpret_cast< GXmlElement * >(argp1);
42554 {
42555 try {
42556 result = (GCTAModelRadialPolynom *)new GCTAModelRadialPolynom((GXmlElement const &)*arg1);
42557 }
42558 catch (const GException::out_of_range& e) {
42559 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
42560 }
42561 catch (const GExceptionHandler& e) {
42562 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42563 }
42564 catch (const std::exception& e) {
42565 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42566 }
42567 }
42568 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAModelRadialPolynom, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[16], (
(0x1 << 1) | 0x1) | 0)
;
42569 return resultobj;
42570fail:
42571 return NULL__null;
42572}
42573
42574
42575SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAModelRadialPolynom__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42576 PyObject *resultobj = 0;
42577 GCTAModelRadialPolynom *arg1 = 0 ;
42578 void *argp1 = 0 ;
42579 int res1 = 0 ;
42580 PyObject * obj0 = 0 ;
42581 GCTAModelRadialPolynom *result = 0 ;
42582
42583 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAModelRadialPolynom",&obj0)) SWIG_failgoto fail;
42584 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GCTAModelRadialPolynom, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[16]
, 0 | 0, 0)
;
42585 if (!SWIG_IsOK(res1)(res1 >= 0)) {
42586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAModelRadialPolynom" "', argument " "1"" of type '" "GCTAModelRadialPolynom const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAModelRadialPolynom"
"', argument " "1"" of type '" "GCTAModelRadialPolynom const &"
"'"); goto fail; } while(0)
;
42587 }
42588 if (!argp1) {
42589 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAModelRadialPolynom" "', argument " "1"" of type '" "GCTAModelRadialPolynom const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAModelRadialPolynom" "', argument " "1"
" of type '" "GCTAModelRadialPolynom const &""'"); goto fail
; } while(0)
;
42590 }
42591 arg1 = reinterpret_cast< GCTAModelRadialPolynom * >(argp1);
42592 {
42593 try {
42594 result = (GCTAModelRadialPolynom *)new GCTAModelRadialPolynom((GCTAModelRadialPolynom const &)*arg1);
42595 }
42596 catch (const GException::out_of_range& e) {
42597 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
42598 }
42599 catch (const GExceptionHandler& e) {
42600 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42601 }
42602 catch (const std::exception& e) {
42603 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42604 }
42605 }
42606 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAModelRadialPolynom, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[16], (
(0x1 << 1) | 0x1) | 0)
;
42607 return resultobj;
42608fail:
42609 return NULL__null;
42610}
42611
42612
42613SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAModelRadialPolynom(PyObject *self, PyObject *args) {
42614 int argc;
42615 PyObject *argv[2];
42616 int ii;
42617
42618 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
42619 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
42620 for (ii = 0; (ii < 1) && (ii < argc); ii++) {
42621 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
42622 }
42623 if (argc == 0) {
42624 return _wrap_new_GCTAModelRadialPolynom__SWIG_0(self, args);
42625 }
42626 if (argc == 1) {
42627 int _v;
42628 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GXmlElement, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[66], 0, 0
)
;
42629 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
42630 if (_v) {
42631 return _wrap_new_GCTAModelRadialPolynom__SWIG_2(self, args);
42632 }
42633 }
42634 if (argc == 1) {
42635 int _v;
42636 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GCTAModelRadialPolynom, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[16], 0, 0
)
;
42637 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
42638 if (_v) {
42639 return _wrap_new_GCTAModelRadialPolynom__SWIG_3(self, args);
42640 }
42641 }
42642 if (argc == 1) {
42643 int _v;
42644 int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0));
42645 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
42646 if (_v) {
42647 return _wrap_new_GCTAModelRadialPolynom__SWIG_1(self, args);
42648 }
42649 }
42650
42651fail:
42652 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GCTAModelRadialPolynom'.\n"
42653 " Possible C/C++ prototypes are:\n"
42654 " GCTAModelRadialPolynom::GCTAModelRadialPolynom()\n"
42655 " GCTAModelRadialPolynom::GCTAModelRadialPolynom(std::vector< double,std::allocator< double > > const &)\n"
42656 " GCTAModelRadialPolynom::GCTAModelRadialPolynom(GXmlElement const &)\n"
42657 " GCTAModelRadialPolynom::GCTAModelRadialPolynom(GCTAModelRadialPolynom const &)\n");
42658 return 0;
42659}
42660
42661
42662SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GCTAModelRadialPolynom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42663 PyObject *resultobj = 0;
42664 GCTAModelRadialPolynom *arg1 = (GCTAModelRadialPolynom *) 0 ;
42665 void *argp1 = 0 ;
42666 int res1 = 0 ;
42667 PyObject * obj0 = 0 ;
42668
42669 if (!PyArg_ParseTuple(args,(char *)"O:delete_GCTAModelRadialPolynom",&obj0)) SWIG_failgoto fail;
42670 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialPolynom, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[16]
, 0x1 | 0, 0)
;
42671 if (!SWIG_IsOK(res1)(res1 >= 0)) {
42672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GCTAModelRadialPolynom" "', argument " "1"" of type '" "GCTAModelRadialPolynom *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GCTAModelRadialPolynom"
"', argument " "1"" of type '" "GCTAModelRadialPolynom *""'"
); goto fail; } while(0)
;
42673 }
42674 arg1 = reinterpret_cast< GCTAModelRadialPolynom * >(argp1);
42675 {
42676 try {
42677 delete arg1;
42678 }
42679 catch (const GException::out_of_range& e) {
42680 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
42681 }
42682 catch (const GExceptionHandler& e) {
42683 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42684 }
42685 catch (const std::exception& e) {
42686 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42687 }
42688 }
42689 resultobj = SWIG_Py_Void();
42690 return resultobj;
42691fail:
42692 return NULL__null;
42693}
42694
42695
42696SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialPolynom_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42697 PyObject *resultobj = 0;
42698 GCTAModelRadialPolynom *arg1 = (GCTAModelRadialPolynom *) 0 ;
42699 void *argp1 = 0 ;
42700 int res1 = 0 ;
42701 PyObject * obj0 = 0 ;
42702
42703 if (!PyArg_ParseTuple(args,(char *)"O:GCTAModelRadialPolynom_clear",&obj0)) SWIG_failgoto fail;
42704 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialPolynom, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[16]
, 0 | 0, 0)
;
42705 if (!SWIG_IsOK(res1)(res1 >= 0)) {
42706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialPolynom_clear" "', argument " "1"" of type '" "GCTAModelRadialPolynom *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialPolynom_clear"
"', argument " "1"" of type '" "GCTAModelRadialPolynom *""'"
); goto fail; } while(0)
;
42707 }
42708 arg1 = reinterpret_cast< GCTAModelRadialPolynom * >(argp1);
42709 {
42710 try {
42711 (arg1)->clear();
42712 }
42713 catch (const GException::out_of_range& e) {
42714 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
42715 }
42716 catch (const GExceptionHandler& e) {
42717 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42718 }
42719 catch (const std::exception& e) {
42720 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42721 }
42722 }
42723 resultobj = SWIG_Py_Void();
42724 return resultobj;
42725fail:
42726 return NULL__null;
42727}
42728
42729
42730SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialPolynom_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42731 PyObject *resultobj = 0;
42732 GCTAModelRadialPolynom *arg1 = (GCTAModelRadialPolynom *) 0 ;
42733 void *argp1 = 0 ;
42734 int res1 = 0 ;
42735 PyObject * obj0 = 0 ;
42736 GCTAModelRadialPolynom *result = 0 ;
42737
42738 if (!PyArg_ParseTuple(args,(char *)"O:GCTAModelRadialPolynom_clone",&obj0)) SWIG_failgoto fail;
42739 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialPolynom, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[16]
, 0 | 0, 0)
;
42740 if (!SWIG_IsOK(res1)(res1 >= 0)) {
42741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialPolynom_clone" "', argument " "1"" of type '" "GCTAModelRadialPolynom const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialPolynom_clone"
"', argument " "1"" of type '" "GCTAModelRadialPolynom const *"
"'"); goto fail; } while(0)
;
42742 }
42743 arg1 = reinterpret_cast< GCTAModelRadialPolynom * >(argp1);
42744 {
42745 try {
42746 result = (GCTAModelRadialPolynom *)((GCTAModelRadialPolynom const *)arg1)->clone();
42747 }
42748 catch (const GException::out_of_range& e) {
42749 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
42750 }
42751 catch (const GExceptionHandler& e) {
42752 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42753 }
42754 catch (const std::exception& e) {
42755 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42756 }
42757 }
42758 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAModelRadialPolynom, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[16], 0
| 0)
;
42759 return resultobj;
42760fail:
42761 return NULL__null;
42762}
42763
42764
42765SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialPolynom_type(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42766 PyObject *resultobj = 0;
42767 GCTAModelRadialPolynom *arg1 = (GCTAModelRadialPolynom *) 0 ;
42768 void *argp1 = 0 ;
42769 int res1 = 0 ;
42770 PyObject * obj0 = 0 ;
42771 std::string result;
42772
42773 if (!PyArg_ParseTuple(args,(char *)"O:GCTAModelRadialPolynom_type",&obj0)) SWIG_failgoto fail;
42774 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialPolynom, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[16]
, 0 | 0, 0)
;
42775 if (!SWIG_IsOK(res1)(res1 >= 0)) {
42776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialPolynom_type" "', argument " "1"" of type '" "GCTAModelRadialPolynom const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialPolynom_type"
"', argument " "1"" of type '" "GCTAModelRadialPolynom const *"
"'"); goto fail; } while(0)
;
42777 }
42778 arg1 = reinterpret_cast< GCTAModelRadialPolynom * >(argp1);
42779 {
42780 try {
42781 result = ((GCTAModelRadialPolynom const *)arg1)->type();
42782 }
42783 catch (const GException::out_of_range& e) {
42784 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
42785 }
42786 catch (const GExceptionHandler& e) {
42787 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42788 }
42789 catch (const std::exception& e) {
42790 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42791 }
42792 }
42793 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
42794 return resultobj;
42795fail:
42796 return NULL__null;
42797}
42798
42799
42800SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialPolynom_eval(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42801 PyObject *resultobj = 0;
42802 GCTAModelRadialPolynom *arg1 = (GCTAModelRadialPolynom *) 0 ;
42803 double *arg2 = 0 ;
42804 void *argp1 = 0 ;
42805 int res1 = 0 ;
42806 double temp2 ;
42807 double val2 ;
42808 int ecode2 = 0 ;
42809 PyObject * obj0 = 0 ;
42810 PyObject * obj1 = 0 ;
42811 double result;
42812
42813 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAModelRadialPolynom_eval",&obj0,&obj1)) SWIG_failgoto fail;
42814 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialPolynom, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[16]
, 0 | 0, 0)
;
42815 if (!SWIG_IsOK(res1)(res1 >= 0)) {
42816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialPolynom_eval" "', argument " "1"" of type '" "GCTAModelRadialPolynom const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialPolynom_eval"
"', argument " "1"" of type '" "GCTAModelRadialPolynom const *"
"'"); goto fail; } while(0)
;
42817 }
42818 arg1 = reinterpret_cast< GCTAModelRadialPolynom * >(argp1);
42819 ecode2 = SWIG_AsVal_double(obj1, &val2);
42820 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
42821 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAModelRadialPolynom_eval" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAModelRadialPolynom_eval"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
42822 }
42823 temp2 = static_cast< double >(val2);
42824 arg2 = &temp2;
42825 {
42826 try {
42827 result = (double)((GCTAModelRadialPolynom const *)arg1)->eval((double const &)*arg2);
42828 }
42829 catch (const GException::out_of_range& e) {
42830 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
42831 }
42832 catch (const GExceptionHandler& e) {
42833 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42834 }
42835 catch (const std::exception& e) {
42836 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42837 }
42838 }
42839 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
42840 return resultobj;
42841fail:
42842 return NULL__null;
42843}
42844
42845
42846SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialPolynom_eval_gradients(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42847 PyObject *resultobj = 0;
42848 GCTAModelRadialPolynom *arg1 = (GCTAModelRadialPolynom *) 0 ;
42849 double *arg2 = 0 ;
42850 void *argp1 = 0 ;
42851 int res1 = 0 ;
42852 double temp2 ;
42853 double val2 ;
42854 int ecode2 = 0 ;
42855 PyObject * obj0 = 0 ;
42856 PyObject * obj1 = 0 ;
42857 double result;
42858
42859 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAModelRadialPolynom_eval_gradients",&obj0,&obj1)) SWIG_failgoto fail;
42860 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialPolynom, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[16]
, 0 | 0, 0)
;
42861 if (!SWIG_IsOK(res1)(res1 >= 0)) {
42862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialPolynom_eval_gradients" "', argument " "1"" of type '" "GCTAModelRadialPolynom const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialPolynom_eval_gradients"
"', argument " "1"" of type '" "GCTAModelRadialPolynom const *"
"'"); goto fail; } while(0)
;
42863 }
42864 arg1 = reinterpret_cast< GCTAModelRadialPolynom * >(argp1);
42865 ecode2 = SWIG_AsVal_double(obj1, &val2);
42866 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
42867 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAModelRadialPolynom_eval_gradients" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAModelRadialPolynom_eval_gradients"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
42868 }
42869 temp2 = static_cast< double >(val2);
42870 arg2 = &temp2;
42871 {
42872 try {
42873 result = (double)((GCTAModelRadialPolynom const *)arg1)->eval_gradients((double const &)*arg2);
42874 }
42875 catch (const GException::out_of_range& e) {
42876 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
42877 }
42878 catch (const GExceptionHandler& e) {
42879 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42880 }
42881 catch (const std::exception& e) {
42882 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42883 }
42884 }
42885 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
42886 return resultobj;
42887fail:
42888 return NULL__null;
42889}
42890
42891
42892SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialPolynom_mc(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42893 PyObject *resultobj = 0;
42894 GCTAModelRadialPolynom *arg1 = (GCTAModelRadialPolynom *) 0 ;
42895 GCTAInstDir *arg2 = 0 ;
42896 GRan *arg3 = 0 ;
42897 void *argp1 = 0 ;
42898 int res1 = 0 ;
42899 void *argp2 = 0 ;
42900 int res2 = 0 ;
42901 void *argp3 = 0 ;
42902 int res3 = 0 ;
42903 PyObject * obj0 = 0 ;
42904 PyObject * obj1 = 0 ;
42905 PyObject * obj2 = 0 ;
42906 GCTAInstDir result;
42907
42908 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAModelRadialPolynom_mc",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
42909 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialPolynom, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[16]
, 0 | 0, 0)
;
42910 if (!SWIG_IsOK(res1)(res1 >= 0)) {
42911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialPolynom_mc" "', argument " "1"" of type '" "GCTAModelRadialPolynom const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialPolynom_mc"
"', argument " "1"" of type '" "GCTAModelRadialPolynom const *"
"'"); goto fail; } while(0)
;
42912 }
42913 arg1 = reinterpret_cast< GCTAModelRadialPolynom * >(argp1);
42914 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GCTAInstDir, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[11]
, 0 | 0, 0)
;
42915 if (!SWIG_IsOK(res2)(res2 >= 0)) {
42916 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAModelRadialPolynom_mc" "', argument " "2"" of type '" "GCTAInstDir const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAModelRadialPolynom_mc"
"', argument " "2"" of type '" "GCTAInstDir const &""'")
; goto fail; } while(0)
;
42917 }
42918 if (!argp2) {
42919 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAModelRadialPolynom_mc" "', argument " "2"" of type '" "GCTAInstDir const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAModelRadialPolynom_mc" "', argument " "2"
" of type '" "GCTAInstDir const &""'"); goto fail; } while
(0)
;
42920 }
42921 arg2 = reinterpret_cast< GCTAInstDir * >(argp2);
42922 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GRan, 0 )SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[55]
, 0, 0)
;
42923 if (!SWIG_IsOK(res3)(res3 >= 0)) {
42924 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GCTAModelRadialPolynom_mc" "', argument " "3"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GCTAModelRadialPolynom_mc"
"', argument " "3"" of type '" "GRan &""'"); goto fail; }
while(0)
;
42925 }
42926 if (!argp3) {
42927 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAModelRadialPolynom_mc" "', argument " "3"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAModelRadialPolynom_mc" "', argument " "3"
" of type '" "GRan &""'"); goto fail; } while(0)
;
42928 }
42929 arg3 = reinterpret_cast< GRan * >(argp3);
42930 {
42931 try {
42932 result = ((GCTAModelRadialPolynom const *)arg1)->mc((GCTAInstDir const &)*arg2,*arg3);
42933 }
42934 catch (const GException::out_of_range& e) {
42935 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
42936 }
42937 catch (const GExceptionHandler& e) {
42938 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42939 }
42940 catch (const std::exception& e) {
42941 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42942 }
42943 }
42944 resultobj = SWIG_NewPointerObj((new GCTAInstDir(static_cast< const GCTAInstDir& >(result))), SWIGTYPE_p_GCTAInstDir, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GCTAInstDir(static_cast
< const GCTAInstDir& >(result))), swig_types[11], 0x1
| 0)
;
42945 return resultobj;
42946fail:
42947 return NULL__null;
42948}
42949
42950
42951SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialPolynom_omega(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42952 PyObject *resultobj = 0;
42953 GCTAModelRadialPolynom *arg1 = (GCTAModelRadialPolynom *) 0 ;
42954 void *argp1 = 0 ;
42955 int res1 = 0 ;
42956 PyObject * obj0 = 0 ;
42957 double result;
42958
42959 if (!PyArg_ParseTuple(args,(char *)"O:GCTAModelRadialPolynom_omega",&obj0)) SWIG_failgoto fail;
42960 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialPolynom, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[16]
, 0 | 0, 0)
;
42961 if (!SWIG_IsOK(res1)(res1 >= 0)) {
42962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialPolynom_omega" "', argument " "1"" of type '" "GCTAModelRadialPolynom const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialPolynom_omega"
"', argument " "1"" of type '" "GCTAModelRadialPolynom const *"
"'"); goto fail; } while(0)
;
42963 }
42964 arg1 = reinterpret_cast< GCTAModelRadialPolynom * >(argp1);
42965 {
42966 try {
42967 result = (double)((GCTAModelRadialPolynom const *)arg1)->omega();
42968 }
42969 catch (const GException::out_of_range& e) {
42970 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
42971 }
42972 catch (const GExceptionHandler& e) {
42973 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42974 }
42975 catch (const std::exception& e) {
42976 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42977 }
42978 }
42979 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
42980 return resultobj;
42981fail:
42982 return NULL__null;
42983}
42984
42985
42986SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialPolynom_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42987 PyObject *resultobj = 0;
42988 GCTAModelRadialPolynom *arg1 = (GCTAModelRadialPolynom *) 0 ;
42989 GXmlElement *arg2 = 0 ;
42990 void *argp1 = 0 ;
42991 int res1 = 0 ;
42992 void *argp2 = 0 ;
42993 int res2 = 0 ;
42994 PyObject * obj0 = 0 ;
42995 PyObject * obj1 = 0 ;
42996
42997 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAModelRadialPolynom_read",&obj0,&obj1)) SWIG_failgoto fail;
42998 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialPolynom, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[16]
, 0 | 0, 0)
;
42999 if (!SWIG_IsOK(res1)(res1 >= 0)) {
43000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialPolynom_read" "', argument " "1"" of type '" "GCTAModelRadialPolynom *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialPolynom_read"
"', argument " "1"" of type '" "GCTAModelRadialPolynom *""'"
); goto fail; } while(0)
;
43001 }
43002 arg1 = reinterpret_cast< GCTAModelRadialPolynom * >(argp1);
43003 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GXmlElement, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[66]
, 0 | 0, 0)
;
43004 if (!SWIG_IsOK(res2)(res2 >= 0)) {
43005 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAModelRadialPolynom_read" "', argument " "2"" of type '" "GXmlElement const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAModelRadialPolynom_read"
"', argument " "2"" of type '" "GXmlElement const &""'")
; goto fail; } while(0)
;
43006 }
43007 if (!argp2) {
43008 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAModelRadialPolynom_read" "', argument " "2"" of type '" "GXmlElement const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAModelRadialPolynom_read" "', argument " "2"
" of type '" "GXmlElement const &""'"); goto fail; } while
(0)
;
43009 }
43010 arg2 = reinterpret_cast< GXmlElement * >(argp2);
43011 {
43012 try {
43013 (arg1)->read((GXmlElement const &)*arg2);
43014 }
43015 catch (const GException::out_of_range& e) {
43016 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
43017 }
43018 catch (const GExceptionHandler& e) {
43019 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43020 }
43021 catch (const std::exception& e) {
43022 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43023 }
43024 }
43025 resultobj = SWIG_Py_Void();
43026 return resultobj;
43027fail:
43028 return NULL__null;
43029}
43030
43031
43032SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialPolynom_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43033 PyObject *resultobj = 0;
43034 GCTAModelRadialPolynom *arg1 = (GCTAModelRadialPolynom *) 0 ;
43035 GXmlElement *arg2 = 0 ;
43036 void *argp1 = 0 ;
43037 int res1 = 0 ;
43038 void *argp2 = 0 ;
43039 int res2 = 0 ;
43040 PyObject * obj0 = 0 ;
43041 PyObject * obj1 = 0 ;
43042
43043 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAModelRadialPolynom_write",&obj0,&obj1)) SWIG_failgoto fail;
43044 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialPolynom, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[16]
, 0 | 0, 0)
;
43045 if (!SWIG_IsOK(res1)(res1 >= 0)) {
43046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialPolynom_write" "', argument " "1"" of type '" "GCTAModelRadialPolynom const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialPolynom_write"
"', argument " "1"" of type '" "GCTAModelRadialPolynom const *"
"'"); goto fail; } while(0)
;
43047 }
43048 arg1 = reinterpret_cast< GCTAModelRadialPolynom * >(argp1);
43049 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GXmlElement, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[66]
, 0, 0)
;
43050 if (!SWIG_IsOK(res2)(res2 >= 0)) {
43051 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAModelRadialPolynom_write" "', argument " "2"" of type '" "GXmlElement &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAModelRadialPolynom_write"
"', argument " "2"" of type '" "GXmlElement &""'"); goto
fail; } while(0)
;
43052 }
43053 if (!argp2) {
43054 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAModelRadialPolynom_write" "', argument " "2"" of type '" "GXmlElement &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAModelRadialPolynom_write" "', argument " "2"
" of type '" "GXmlElement &""'"); goto fail; } while(0)
;
43055 }
43056 arg2 = reinterpret_cast< GXmlElement * >(argp2);
43057 {
43058 try {
43059 ((GCTAModelRadialPolynom const *)arg1)->write(*arg2);
43060 }
43061 catch (const GException::out_of_range& e) {
43062 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
43063 }
43064 catch (const GExceptionHandler& e) {
43065 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43066 }
43067 catch (const std::exception& e) {
43068 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43069 }
43070 }
43071 resultobj = SWIG_Py_Void();
43072 return resultobj;
43073fail:
43074 return NULL__null;
43075}
43076
43077
43078SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialPolynom_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43079 PyObject *resultobj = 0;
43080 GCTAModelRadialPolynom *arg1 = (GCTAModelRadialPolynom *) 0 ;
43081 void *argp1 = 0 ;
43082 int res1 = 0 ;
43083 PyObject * obj0 = 0 ;
43084 int result;
43085
43086 if (!PyArg_ParseTuple(args,(char *)"O:GCTAModelRadialPolynom_size",&obj0)) SWIG_failgoto fail;
43087 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialPolynom, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[16]
, 0 | 0, 0)
;
43088 if (!SWIG_IsOK(res1)(res1 >= 0)) {
43089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialPolynom_size" "', argument " "1"" of type '" "GCTAModelRadialPolynom const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialPolynom_size"
"', argument " "1"" of type '" "GCTAModelRadialPolynom const *"
"'"); goto fail; } while(0)
;
43090 }
43091 arg1 = reinterpret_cast< GCTAModelRadialPolynom * >(argp1);
43092 {
43093 try {
43094 result = (int)((GCTAModelRadialPolynom const *)arg1)->size();
43095 }
43096 catch (const GException::out_of_range& e) {
43097 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
43098 }
43099 catch (const GExceptionHandler& e) {
43100 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43101 }
43102 catch (const std::exception& e) {
43103 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43104 }
43105 }
43106 resultobj = SWIG_From_int(static_cast< int >(result));
43107 return resultobj;
43108fail:
43109 return NULL__null;
43110}
43111
43112
43113SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GCTAModelRadialPolynom_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43114 PyObject *obj;
43115 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
43116 SWIG_TypeNewClientData(SWIGTYPE_p_GCTAModelRadialPolynomswig_types[16], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
43117 return SWIG_Py_Void();
43118}
43119
43120SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAModelRadialProfile__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43121 PyObject *resultobj = 0;
43122 GCTAModelRadialProfile *result = 0 ;
43123
43124 if (!PyArg_ParseTuple(args,(char *)":new_GCTAModelRadialProfile")) SWIG_failgoto fail;
43125 {
43126 try {
43127 result = (GCTAModelRadialProfile *)new GCTAModelRadialProfile();
43128 }
43129 catch (const GException::out_of_range& e) {
43130 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
43131 }
43132 catch (const GExceptionHandler& e) {
43133 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43134 }
43135 catch (const std::exception& e) {
43136 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43137 }
43138 }
43139 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAModelRadialProfile, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[17], (
(0x1 << 1) | 0x1) | 0)
;
43140 return resultobj;
43141fail:
43142 return NULL__null;
43143}
43144
43145
43146SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAModelRadialProfile__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43147 PyObject *resultobj = 0;
43148 double *arg1 = 0 ;
43149 double *arg2 = 0 ;
43150 double *arg3 = 0 ;
43151 double temp1 ;
43152 double val1 ;
43153 int ecode1 = 0 ;
43154 double temp2 ;
43155 double val2 ;
43156 int ecode2 = 0 ;
43157 double temp3 ;
43158 double val3 ;
43159 int ecode3 = 0 ;
43160 PyObject * obj0 = 0 ;
43161 PyObject * obj1 = 0 ;
43162 PyObject * obj2 = 0 ;
43163 GCTAModelRadialProfile *result = 0 ;
43164
43165 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GCTAModelRadialProfile",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
43166 ecode1 = SWIG_AsVal_double(obj0, &val1);
43167 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
43168 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GCTAModelRadialProfile" "', argument " "1"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GCTAModelRadialProfile"
"', argument " "1"" of type '" "double""'"); goto fail; } while
(0)
;
43169 }
43170 temp1 = static_cast< double >(val1);
43171 arg1 = &temp1;
43172 ecode2 = SWIG_AsVal_double(obj1, &val2);
43173 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
43174 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GCTAModelRadialProfile" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GCTAModelRadialProfile"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
43175 }
43176 temp2 = static_cast< double >(val2);
43177 arg2 = &temp2;
43178 ecode3 = SWIG_AsVal_double(obj2, &val3);
43179 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
43180 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GCTAModelRadialProfile" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GCTAModelRadialProfile"
"', argument " "3"" of type '" "double""'"); goto fail; } while
(0)
;
43181 }
43182 temp3 = static_cast< double >(val3);
43183 arg3 = &temp3;
43184 {
43185 try {
43186 result = (GCTAModelRadialProfile *)new GCTAModelRadialProfile((double const &)*arg1,(double const &)*arg2,(double const &)*arg3);
43187 }
43188 catch (const GException::out_of_range& e) {
43189 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
43190 }
43191 catch (const GExceptionHandler& e) {
43192 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43193 }
43194 catch (const std::exception& e) {
43195 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43196 }
43197 }
43198 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAModelRadialProfile, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[17], (
(0x1 << 1) | 0x1) | 0)
;
43199 return resultobj;
43200fail:
43201 return NULL__null;
43202}
43203
43204
43205SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAModelRadialProfile__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43206 PyObject *resultobj = 0;
43207 GXmlElement *arg1 = 0 ;
43208 void *argp1 = 0 ;
43209 int res1 = 0 ;
43210 PyObject * obj0 = 0 ;
43211 GCTAModelRadialProfile *result = 0 ;
43212
43213 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAModelRadialProfile",&obj0)) SWIG_failgoto fail;
43214 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GXmlElement, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[66]
, 0 | 0, 0)
;
43215 if (!SWIG_IsOK(res1)(res1 >= 0)) {
43216 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAModelRadialProfile" "', argument " "1"" of type '" "GXmlElement const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAModelRadialProfile"
"', argument " "1"" of type '" "GXmlElement const &""'")
; goto fail; } while(0)
;
43217 }
43218 if (!argp1) {
43219 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAModelRadialProfile" "', argument " "1"" of type '" "GXmlElement const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAModelRadialProfile" "', argument " "1"
" of type '" "GXmlElement const &""'"); goto fail; } while
(0)
;
43220 }
43221 arg1 = reinterpret_cast< GXmlElement * >(argp1);
43222 {
43223 try {
43224 result = (GCTAModelRadialProfile *)new GCTAModelRadialProfile((GXmlElement const &)*arg1);
43225 }
43226 catch (const GException::out_of_range& e) {
43227 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
43228 }
43229 catch (const GExceptionHandler& e) {
43230 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43231 }
43232 catch (const std::exception& e) {
43233 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43234 }
43235 }
43236 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAModelRadialProfile, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[17], (
(0x1 << 1) | 0x1) | 0)
;
43237 return resultobj;
43238fail:
43239 return NULL__null;
43240}
43241
43242
43243SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAModelRadialProfile__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43244 PyObject *resultobj = 0;
43245 GCTAModelRadialProfile *arg1 = 0 ;
43246 void *argp1 = 0 ;
43247 int res1 = 0 ;
43248 PyObject * obj0 = 0 ;
43249 GCTAModelRadialProfile *result = 0 ;
43250
43251 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAModelRadialProfile",&obj0)) SWIG_failgoto fail;
43252 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GCTAModelRadialProfile, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[17]
, 0 | 0, 0)
;
43253 if (!SWIG_IsOK(res1)(res1 >= 0)) {
43254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAModelRadialProfile" "', argument " "1"" of type '" "GCTAModelRadialProfile const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAModelRadialProfile"
"', argument " "1"" of type '" "GCTAModelRadialProfile const &"
"'"); goto fail; } while(0)
;
43255 }
43256 if (!argp1) {
43257 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAModelRadialProfile" "', argument " "1"" of type '" "GCTAModelRadialProfile const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAModelRadialProfile" "', argument " "1"
" of type '" "GCTAModelRadialProfile const &""'"); goto fail
; } while(0)
;
43258 }
43259 arg1 = reinterpret_cast< GCTAModelRadialProfile * >(argp1);
43260 {
43261 try {
43262 result = (GCTAModelRadialProfile *)new GCTAModelRadialProfile((GCTAModelRadialProfile const &)*arg1);
43263 }
43264 catch (const GException::out_of_range& e) {
43265 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
43266 }
43267 catch (const GExceptionHandler& e) {
43268 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43269 }
43270 catch (const std::exception& e) {
43271 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43272 }
43273 }
43274 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAModelRadialProfile, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[17], (
(0x1 << 1) | 0x1) | 0)
;
43275 return resultobj;
43276fail:
43277 return NULL__null;
43278}
43279
43280
43281SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAModelRadialProfile(PyObject *self, PyObject *args) {
43282 int argc;
43283 PyObject *argv[4];
43284 int ii;
43285
43286 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
43287 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
43288 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
43289 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
43290 }
43291 if (argc == 0) {
43292 return _wrap_new_GCTAModelRadialProfile__SWIG_0(self, args);
43293 }
43294 if (argc == 1) {
43295 int _v;
43296 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GXmlElement, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[66], 0, 0
)
;
43297 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
43298 if (_v) {
43299 return _wrap_new_GCTAModelRadialProfile__SWIG_2(self, args);
43300 }
43301 }
43302 if (argc == 1) {
43303 int _v;
43304 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GCTAModelRadialProfile, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[17], 0, 0
)
;
43305 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
43306 if (_v) {
43307 return _wrap_new_GCTAModelRadialProfile__SWIG_3(self, args);
43308 }
43309 }
43310 if (argc == 3) {
43311 int _v;
43312 {
43313 int res = SWIG_AsVal_double(argv[0], NULL__null);
43314 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
43315 }
43316 if (_v) {
43317 {
43318 int res = SWIG_AsVal_double(argv[1], NULL__null);
43319 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
43320 }
43321 if (_v) {
43322 {
43323 int res = SWIG_AsVal_double(argv[2], NULL__null);
43324 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
43325 }
43326 if (_v) {
43327 return _wrap_new_GCTAModelRadialProfile__SWIG_1(self, args);
43328 }
43329 }
43330 }
43331 }
43332
43333fail:
43334 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GCTAModelRadialProfile'.\n"
43335 " Possible C/C++ prototypes are:\n"
43336 " GCTAModelRadialProfile::GCTAModelRadialProfile()\n"
43337 " GCTAModelRadialProfile::GCTAModelRadialProfile(double const &,double const &,double const &)\n"
43338 " GCTAModelRadialProfile::GCTAModelRadialProfile(GXmlElement const &)\n"
43339 " GCTAModelRadialProfile::GCTAModelRadialProfile(GCTAModelRadialProfile const &)\n");
43340 return 0;
43341}
43342
43343
43344SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GCTAModelRadialProfile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43345 PyObject *resultobj = 0;
43346 GCTAModelRadialProfile *arg1 = (GCTAModelRadialProfile *) 0 ;
43347 void *argp1 = 0 ;
43348 int res1 = 0 ;
43349 PyObject * obj0 = 0 ;
43350
43351 if (!PyArg_ParseTuple(args,(char *)"O:delete_GCTAModelRadialProfile",&obj0)) SWIG_failgoto fail;
43352 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialProfile, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[17]
, 0x1 | 0, 0)
;
43353 if (!SWIG_IsOK(res1)(res1 >= 0)) {
43354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GCTAModelRadialProfile" "', argument " "1"" of type '" "GCTAModelRadialProfile *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GCTAModelRadialProfile"
"', argument " "1"" of type '" "GCTAModelRadialProfile *""'"
); goto fail; } while(0)
;
43355 }
43356 arg1 = reinterpret_cast< GCTAModelRadialProfile * >(argp1);
43357 {
43358 try {
43359 delete arg1;
43360 }
43361 catch (const GException::out_of_range& e) {
43362 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
43363 }
43364 catch (const GExceptionHandler& e) {
43365 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43366 }
43367 catch (const std::exception& e) {
43368 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43369 }
43370 }
43371 resultobj = SWIG_Py_Void();
43372 return resultobj;
43373fail:
43374 return NULL__null;
43375}
43376
43377
43378SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialProfile_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43379 PyObject *resultobj = 0;
43380 GCTAModelRadialProfile *arg1 = (GCTAModelRadialProfile *) 0 ;
43381 void *argp1 = 0 ;
43382 int res1 = 0 ;
43383 PyObject * obj0 = 0 ;
43384
43385 if (!PyArg_ParseTuple(args,(char *)"O:GCTAModelRadialProfile_clear",&obj0)) SWIG_failgoto fail;
43386 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialProfile, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[17]
, 0 | 0, 0)
;
43387 if (!SWIG_IsOK(res1)(res1 >= 0)) {
43388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialProfile_clear" "', argument " "1"" of type '" "GCTAModelRadialProfile *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialProfile_clear"
"', argument " "1"" of type '" "GCTAModelRadialProfile *""'"
); goto fail; } while(0)
;
43389 }
43390 arg1 = reinterpret_cast< GCTAModelRadialProfile * >(argp1);
43391 {
43392 try {
43393 (arg1)->clear();
43394 }
43395 catch (const GException::out_of_range& e) {
43396 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
43397 }
43398 catch (const GExceptionHandler& e) {
43399 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43400 }
43401 catch (const std::exception& e) {
43402 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43403 }
43404 }
43405 resultobj = SWIG_Py_Void();
43406 return resultobj;
43407fail:
43408 return NULL__null;
43409}
43410
43411
43412SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialProfile_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43413 PyObject *resultobj = 0;
43414 GCTAModelRadialProfile *arg1 = (GCTAModelRadialProfile *) 0 ;
43415 void *argp1 = 0 ;
43416 int res1 = 0 ;
43417 PyObject * obj0 = 0 ;
43418 GCTAModelRadialProfile *result = 0 ;
43419
43420 if (!PyArg_ParseTuple(args,(char *)"O:GCTAModelRadialProfile_clone",&obj0)) SWIG_failgoto fail;
43421 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialProfile, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[17]
, 0 | 0, 0)
;
43422 if (!SWIG_IsOK(res1)(res1 >= 0)) {
43423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialProfile_clone" "', argument " "1"" of type '" "GCTAModelRadialProfile const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialProfile_clone"
"', argument " "1"" of type '" "GCTAModelRadialProfile const *"
"'"); goto fail; } while(0)
;
43424 }
43425 arg1 = reinterpret_cast< GCTAModelRadialProfile * >(argp1);
43426 {
43427 try {
43428 result = (GCTAModelRadialProfile *)((GCTAModelRadialProfile const *)arg1)->clone();
43429 }
43430 catch (const GException::out_of_range& e) {
43431 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
43432 }
43433 catch (const GExceptionHandler& e) {
43434 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43435 }
43436 catch (const std::exception& e) {
43437 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43438 }
43439 }
43440 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAModelRadialProfile, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[17], 0
| 0)
;
43441 return resultobj;
43442fail:
43443 return NULL__null;
43444}
43445
43446
43447SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialProfile_type(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43448 PyObject *resultobj = 0;
43449 GCTAModelRadialProfile *arg1 = (GCTAModelRadialProfile *) 0 ;
43450 void *argp1 = 0 ;
43451 int res1 = 0 ;
43452 PyObject * obj0 = 0 ;
43453 std::string result;
43454
43455 if (!PyArg_ParseTuple(args,(char *)"O:GCTAModelRadialProfile_type",&obj0)) SWIG_failgoto fail;
43456 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialProfile, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[17]
, 0 | 0, 0)
;
43457 if (!SWIG_IsOK(res1)(res1 >= 0)) {
43458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialProfile_type" "', argument " "1"" of type '" "GCTAModelRadialProfile const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialProfile_type"
"', argument " "1"" of type '" "GCTAModelRadialProfile const *"
"'"); goto fail; } while(0)
;
43459 }
43460 arg1 = reinterpret_cast< GCTAModelRadialProfile * >(argp1);
43461 {
43462 try {
43463 result = ((GCTAModelRadialProfile const *)arg1)->type();
43464 }
43465 catch (const GException::out_of_range& e) {
43466 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
43467 }
43468 catch (const GExceptionHandler& e) {
43469 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43470 }
43471 catch (const std::exception& e) {
43472 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43473 }
43474 }
43475 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
43476 return resultobj;
43477fail:
43478 return NULL__null;
43479}
43480
43481
43482SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialProfile_eval(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43483 PyObject *resultobj = 0;
43484 GCTAModelRadialProfile *arg1 = (GCTAModelRadialProfile *) 0 ;
43485 double *arg2 = 0 ;
43486 void *argp1 = 0 ;
43487 int res1 = 0 ;
43488 double temp2 ;
43489 double val2 ;
43490 int ecode2 = 0 ;
43491 PyObject * obj0 = 0 ;
43492 PyObject * obj1 = 0 ;
43493 double result;
43494
43495 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAModelRadialProfile_eval",&obj0,&obj1)) SWIG_failgoto fail;
43496 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialProfile, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[17]
, 0 | 0, 0)
;
43497 if (!SWIG_IsOK(res1)(res1 >= 0)) {
43498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialProfile_eval" "', argument " "1"" of type '" "GCTAModelRadialProfile const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialProfile_eval"
"', argument " "1"" of type '" "GCTAModelRadialProfile const *"
"'"); goto fail; } while(0)
;
43499 }
43500 arg1 = reinterpret_cast< GCTAModelRadialProfile * >(argp1);
43501 ecode2 = SWIG_AsVal_double(obj1, &val2);
43502 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
43503 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAModelRadialProfile_eval" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAModelRadialProfile_eval"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
43504 }
43505 temp2 = static_cast< double >(val2);
43506 arg2 = &temp2;
43507 {
43508 try {
43509 result = (double)((GCTAModelRadialProfile const *)arg1)->eval((double const &)*arg2);
43510 }
43511 catch (const GException::out_of_range& e) {
43512 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
43513 }
43514 catch (const GExceptionHandler& e) {
43515 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43516 }
43517 catch (const std::exception& e) {
43518 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43519 }
43520 }
43521 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
43522 return resultobj;
43523fail:
43524 return NULL__null;
43525}
43526
43527
43528SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialProfile_eval_gradients(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43529 PyObject *resultobj = 0;
43530 GCTAModelRadialProfile *arg1 = (GCTAModelRadialProfile *) 0 ;
43531 double *arg2 = 0 ;
43532 void *argp1 = 0 ;
43533 int res1 = 0 ;
43534 double temp2 ;
43535 double val2 ;
43536 int ecode2 = 0 ;
43537 PyObject * obj0 = 0 ;
43538 PyObject * obj1 = 0 ;
43539 double result;
43540
43541 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAModelRadialProfile_eval_gradients",&obj0,&obj1)) SWIG_failgoto fail;
43542 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialProfile, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[17]
, 0 | 0, 0)
;
43543 if (!SWIG_IsOK(res1)(res1 >= 0)) {
43544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialProfile_eval_gradients" "', argument " "1"" of type '" "GCTAModelRadialProfile const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialProfile_eval_gradients"
"', argument " "1"" of type '" "GCTAModelRadialProfile const *"
"'"); goto fail; } while(0)
;
43545 }
43546 arg1 = reinterpret_cast< GCTAModelRadialProfile * >(argp1);
43547 ecode2 = SWIG_AsVal_double(obj1, &val2);
43548 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
43549 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAModelRadialProfile_eval_gradients" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAModelRadialProfile_eval_gradients"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
43550 }
43551 temp2 = static_cast< double >(val2);
43552 arg2 = &temp2;
43553 {
43554 try {
43555 result = (double)((GCTAModelRadialProfile const *)arg1)->eval_gradients((double const &)*arg2);
43556 }
43557 catch (const GException::out_of_range& e) {
43558 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
43559 }
43560 catch (const GExceptionHandler& e) {
43561 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43562 }
43563 catch (const std::exception& e) {
43564 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43565 }
43566 }
43567 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
43568 return resultobj;
43569fail:
43570 return NULL__null;
43571}
43572
43573
43574SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialProfile_mc(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43575 PyObject *resultobj = 0;
43576 GCTAModelRadialProfile *arg1 = (GCTAModelRadialProfile *) 0 ;
43577 GCTAInstDir *arg2 = 0 ;
43578 GRan *arg3 = 0 ;
43579 void *argp1 = 0 ;
43580 int res1 = 0 ;
43581 void *argp2 = 0 ;
43582 int res2 = 0 ;
43583 void *argp3 = 0 ;
43584 int res3 = 0 ;
43585 PyObject * obj0 = 0 ;
43586 PyObject * obj1 = 0 ;
43587 PyObject * obj2 = 0 ;
43588 GCTAInstDir result;
43589
43590 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAModelRadialProfile_mc",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
43591 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialProfile, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[17]
, 0 | 0, 0)
;
43592 if (!SWIG_IsOK(res1)(res1 >= 0)) {
43593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialProfile_mc" "', argument " "1"" of type '" "GCTAModelRadialProfile const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialProfile_mc"
"', argument " "1"" of type '" "GCTAModelRadialProfile const *"
"'"); goto fail; } while(0)
;
43594 }
43595 arg1 = reinterpret_cast< GCTAModelRadialProfile * >(argp1);
43596 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GCTAInstDir, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[11]
, 0 | 0, 0)
;
43597 if (!SWIG_IsOK(res2)(res2 >= 0)) {
43598 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAModelRadialProfile_mc" "', argument " "2"" of type '" "GCTAInstDir const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAModelRadialProfile_mc"
"', argument " "2"" of type '" "GCTAInstDir const &""'")
; goto fail; } while(0)
;
43599 }
43600 if (!argp2) {
43601 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAModelRadialProfile_mc" "', argument " "2"" of type '" "GCTAInstDir const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAModelRadialProfile_mc" "', argument " "2"
" of type '" "GCTAInstDir const &""'"); goto fail; } while
(0)
;
43602 }
43603 arg2 = reinterpret_cast< GCTAInstDir * >(argp2);
43604 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GRan, 0 )SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[55]
, 0, 0)
;
43605 if (!SWIG_IsOK(res3)(res3 >= 0)) {
43606 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GCTAModelRadialProfile_mc" "', argument " "3"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GCTAModelRadialProfile_mc"
"', argument " "3"" of type '" "GRan &""'"); goto fail; }
while(0)
;
43607 }
43608 if (!argp3) {
43609 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAModelRadialProfile_mc" "', argument " "3"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAModelRadialProfile_mc" "', argument " "3"
" of type '" "GRan &""'"); goto fail; } while(0)
;
43610 }
43611 arg3 = reinterpret_cast< GRan * >(argp3);
43612 {
43613 try {
43614 result = ((GCTAModelRadialProfile const *)arg1)->mc((GCTAInstDir const &)*arg2,*arg3);
43615 }
43616 catch (const GException::out_of_range& e) {
43617 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
43618 }
43619 catch (const GExceptionHandler& e) {
43620 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43621 }
43622 catch (const std::exception& e) {
43623 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43624 }
43625 }
43626 resultobj = SWIG_NewPointerObj((new GCTAInstDir(static_cast< const GCTAInstDir& >(result))), SWIGTYPE_p_GCTAInstDir, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GCTAInstDir(static_cast
< const GCTAInstDir& >(result))), swig_types[11], 0x1
| 0)
;
43627 return resultobj;
43628fail:
43629 return NULL__null;
43630}
43631
43632
43633SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialProfile_omega(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43634 PyObject *resultobj = 0;
43635 GCTAModelRadialProfile *arg1 = (GCTAModelRadialProfile *) 0 ;
43636 void *argp1 = 0 ;
43637 int res1 = 0 ;
43638 PyObject * obj0 = 0 ;
43639 double result;
43640
43641 if (!PyArg_ParseTuple(args,(char *)"O:GCTAModelRadialProfile_omega",&obj0)) SWIG_failgoto fail;
43642 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialProfile, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[17]
, 0 | 0, 0)
;
43643 if (!SWIG_IsOK(res1)(res1 >= 0)) {
43644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialProfile_omega" "', argument " "1"" of type '" "GCTAModelRadialProfile const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialProfile_omega"
"', argument " "1"" of type '" "GCTAModelRadialProfile const *"
"'"); goto fail; } while(0)
;
43645 }
43646 arg1 = reinterpret_cast< GCTAModelRadialProfile * >(argp1);
43647 {
43648 try {
43649 result = (double)((GCTAModelRadialProfile const *)arg1)->omega();
43650 }
43651 catch (const GException::out_of_range& e) {
43652 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
43653 }
43654 catch (const GExceptionHandler& e) {
43655 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43656 }
43657 catch (const std::exception& e) {
43658 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43659 }
43660 }
43661 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
43662 return resultobj;
43663fail:
43664 return NULL__null;
43665}
43666
43667
43668SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialProfile_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43669 PyObject *resultobj = 0;
43670 GCTAModelRadialProfile *arg1 = (GCTAModelRadialProfile *) 0 ;
43671 GXmlElement *arg2 = 0 ;
43672 void *argp1 = 0 ;
43673 int res1 = 0 ;
43674 void *argp2 = 0 ;
43675 int res2 = 0 ;
43676 PyObject * obj0 = 0 ;
43677 PyObject * obj1 = 0 ;
43678
43679 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAModelRadialProfile_read",&obj0,&obj1)) SWIG_failgoto fail;
43680 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialProfile, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[17]
, 0 | 0, 0)
;
43681 if (!SWIG_IsOK(res1)(res1 >= 0)) {
43682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialProfile_read" "', argument " "1"" of type '" "GCTAModelRadialProfile *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialProfile_read"
"', argument " "1"" of type '" "GCTAModelRadialProfile *""'"
); goto fail; } while(0)
;
43683 }
43684 arg1 = reinterpret_cast< GCTAModelRadialProfile * >(argp1);
43685 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GXmlElement, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[66]
, 0 | 0, 0)
;
43686 if (!SWIG_IsOK(res2)(res2 >= 0)) {
43687 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAModelRadialProfile_read" "', argument " "2"" of type '" "GXmlElement const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAModelRadialProfile_read"
"', argument " "2"" of type '" "GXmlElement const &""'")
; goto fail; } while(0)
;
43688 }
43689 if (!argp2) {
43690 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAModelRadialProfile_read" "', argument " "2"" of type '" "GXmlElement const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAModelRadialProfile_read" "', argument " "2"
" of type '" "GXmlElement const &""'"); goto fail; } while
(0)
;
43691 }
43692 arg2 = reinterpret_cast< GXmlElement * >(argp2);
43693 {
43694 try {
43695 (arg1)->read((GXmlElement const &)*arg2);
43696 }
43697 catch (const GException::out_of_range& e) {
43698 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
43699 }
43700 catch (const GExceptionHandler& e) {
43701 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43702 }
43703 catch (const std::exception& e) {
43704 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43705 }
43706 }
43707 resultobj = SWIG_Py_Void();
43708 return resultobj;
43709fail:
43710 return NULL__null;
43711}
43712
43713
43714SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialProfile_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43715 PyObject *resultobj = 0;
43716 GCTAModelRadialProfile *arg1 = (GCTAModelRadialProfile *) 0 ;
43717 GXmlElement *arg2 = 0 ;
43718 void *argp1 = 0 ;
43719 int res1 = 0 ;
43720 void *argp2 = 0 ;
43721 int res2 = 0 ;
43722 PyObject * obj0 = 0 ;
43723 PyObject * obj1 = 0 ;
43724
43725 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAModelRadialProfile_write",&obj0,&obj1)) SWIG_failgoto fail;
43726 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialProfile, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[17]
, 0 | 0, 0)
;
43727 if (!SWIG_IsOK(res1)(res1 >= 0)) {
43728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialProfile_write" "', argument " "1"" of type '" "GCTAModelRadialProfile const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialProfile_write"
"', argument " "1"" of type '" "GCTAModelRadialProfile const *"
"'"); goto fail; } while(0)
;
43729 }
43730 arg1 = reinterpret_cast< GCTAModelRadialProfile * >(argp1);
43731 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GXmlElement, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[66]
, 0, 0)
;
43732 if (!SWIG_IsOK(res2)(res2 >= 0)) {
43733 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAModelRadialProfile_write" "', argument " "2"" of type '" "GXmlElement &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAModelRadialProfile_write"
"', argument " "2"" of type '" "GXmlElement &""'"); goto
fail; } while(0)
;
43734 }
43735 if (!argp2) {
43736 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAModelRadialProfile_write" "', argument " "2"" of type '" "GXmlElement &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAModelRadialProfile_write" "', argument " "2"
" of type '" "GXmlElement &""'"); goto fail; } while(0)
;
43737 }
43738 arg2 = reinterpret_cast< GXmlElement * >(argp2);
43739 {
43740 try {
43741 ((GCTAModelRadialProfile const *)arg1)->write(*arg2);
43742 }
43743 catch (const GException::out_of_range& e) {
43744 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
43745 }
43746 catch (const GExceptionHandler& e) {
43747 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43748 }
43749 catch (const std::exception& e) {
43750 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43751 }
43752 }
43753 resultobj = SWIG_Py_Void();
43754 return resultobj;
43755fail:
43756 return NULL__null;
43757}
43758
43759
43760SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialProfile_width__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43761 PyObject *resultobj = 0;
43762 GCTAModelRadialProfile *arg1 = (GCTAModelRadialProfile *) 0 ;
43763 void *argp1 = 0 ;
43764 int res1 = 0 ;
43765 PyObject * obj0 = 0 ;
43766 double result;
43767
43768 if (!PyArg_ParseTuple(args,(char *)"O:GCTAModelRadialProfile_width",&obj0)) SWIG_failgoto fail;
43769 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialProfile, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[17]
, 0 | 0, 0)
;
43770 if (!SWIG_IsOK(res1)(res1 >= 0)) {
43771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialProfile_width" "', argument " "1"" of type '" "GCTAModelRadialProfile const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialProfile_width"
"', argument " "1"" of type '" "GCTAModelRadialProfile const *"
"'"); goto fail; } while(0)
;
43772 }
43773 arg1 = reinterpret_cast< GCTAModelRadialProfile * >(argp1);
43774 {
43775 try {
43776 result = (double)((GCTAModelRadialProfile const *)arg1)->width();
43777 }
43778 catch (const GException::out_of_range& e) {
43779 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
43780 }
43781 catch (const GExceptionHandler& e) {
43782 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43783 }
43784 catch (const std::exception& e) {
43785 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43786 }
43787 }
43788 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
43789 return resultobj;
43790fail:
43791 return NULL__null;
43792}
43793
43794
43795SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialProfile_core__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43796 PyObject *resultobj = 0;
43797 GCTAModelRadialProfile *arg1 = (GCTAModelRadialProfile *) 0 ;
43798 void *argp1 = 0 ;
43799 int res1 = 0 ;
43800 PyObject * obj0 = 0 ;
43801 double result;
43802
43803 if (!PyArg_ParseTuple(args,(char *)"O:GCTAModelRadialProfile_core",&obj0)) SWIG_failgoto fail;
43804 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialProfile, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[17]
, 0 | 0, 0)
;
43805 if (!SWIG_IsOK(res1)(res1 >= 0)) {
43806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialProfile_core" "', argument " "1"" of type '" "GCTAModelRadialProfile const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialProfile_core"
"', argument " "1"" of type '" "GCTAModelRadialProfile const *"
"'"); goto fail; } while(0)
;
43807 }
43808 arg1 = reinterpret_cast< GCTAModelRadialProfile * >(argp1);
43809 {
43810 try {
43811 result = (double)((GCTAModelRadialProfile const *)arg1)->core();
43812 }
43813 catch (const GException::out_of_range& e) {
43814 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
43815 }
43816 catch (const GExceptionHandler& e) {
43817 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43818 }
43819 catch (const std::exception& e) {
43820 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43821 }
43822 }
43823 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
43824 return resultobj;
43825fail:
43826 return NULL__null;
43827}
43828
43829
43830SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialProfile_tail__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43831 PyObject *resultobj = 0;
43832 GCTAModelRadialProfile *arg1 = (GCTAModelRadialProfile *) 0 ;
43833 void *argp1 = 0 ;
43834 int res1 = 0 ;
43835 PyObject * obj0 = 0 ;
43836 double result;
43837
43838 if (!PyArg_ParseTuple(args,(char *)"O:GCTAModelRadialProfile_tail",&obj0)) SWIG_failgoto fail;
43839 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialProfile, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[17]
, 0 | 0, 0)
;
43840 if (!SWIG_IsOK(res1)(res1 >= 0)) {
43841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialProfile_tail" "', argument " "1"" of type '" "GCTAModelRadialProfile const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialProfile_tail"
"', argument " "1"" of type '" "GCTAModelRadialProfile const *"
"'"); goto fail; } while(0)
;
43842 }
43843 arg1 = reinterpret_cast< GCTAModelRadialProfile * >(argp1);
43844 {
43845 try {
43846 result = (double)((GCTAModelRadialProfile const *)arg1)->tail();
43847 }
43848 catch (const GException::out_of_range& e) {
43849 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
43850 }
43851 catch (const GExceptionHandler& e) {
43852 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43853 }
43854 catch (const std::exception& e) {
43855 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43856 }
43857 }
43858 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
43859 return resultobj;
43860fail:
43861 return NULL__null;
43862}
43863
43864
43865SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialProfile_width__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43866 PyObject *resultobj = 0;
43867 GCTAModelRadialProfile *arg1 = (GCTAModelRadialProfile *) 0 ;
43868 double *arg2 = 0 ;
43869 void *argp1 = 0 ;
43870 int res1 = 0 ;
43871 double temp2 ;
43872 double val2 ;
43873 int ecode2 = 0 ;
43874 PyObject * obj0 = 0 ;
43875 PyObject * obj1 = 0 ;
43876
43877 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAModelRadialProfile_width",&obj0,&obj1)) SWIG_failgoto fail;
43878 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialProfile, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[17]
, 0 | 0, 0)
;
43879 if (!SWIG_IsOK(res1)(res1 >= 0)) {
43880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialProfile_width" "', argument " "1"" of type '" "GCTAModelRadialProfile *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialProfile_width"
"', argument " "1"" of type '" "GCTAModelRadialProfile *""'"
); goto fail; } while(0)
;
43881 }
43882 arg1 = reinterpret_cast< GCTAModelRadialProfile * >(argp1);
43883 ecode2 = SWIG_AsVal_double(obj1, &val2);
43884 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
43885 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAModelRadialProfile_width" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAModelRadialProfile_width"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
43886 }
43887 temp2 = static_cast< double >(val2);
43888 arg2 = &temp2;
43889 {
43890 try {
43891 (arg1)->width((double const &)*arg2);
43892 }
43893 catch (const GException::out_of_range& e) {
43894 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
43895 }
43896 catch (const GExceptionHandler& e) {
43897 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43898 }
43899 catch (const std::exception& e) {
43900 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43901 }
43902 }
43903 resultobj = SWIG_Py_Void();
43904 return resultobj;
43905fail:
43906 return NULL__null;
43907}
43908
43909
43910SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialProfile_width(PyObject *self, PyObject *args) {
43911 int argc;
43912 PyObject *argv[3];
43913 int ii;
43914
43915 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
43916 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
43917 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
43918 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
43919 }
43920 if (argc == 1) {
43921 int _v;
43922 void *vptr = 0;
43923 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAModelRadialProfile, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[17
], 0, 0)
;
43924 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
43925 if (_v) {
43926 return _wrap_GCTAModelRadialProfile_width__SWIG_0(self, args);
43927 }
43928 }
43929 if (argc == 2) {
43930 int _v;
43931 void *vptr = 0;
43932 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAModelRadialProfile, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[17
], 0, 0)
;
43933 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
43934 if (_v) {
43935 {
43936 int res = SWIG_AsVal_double(argv[1], NULL__null);
43937 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
43938 }
43939 if (_v) {
43940 return _wrap_GCTAModelRadialProfile_width__SWIG_1(self, args);
43941 }
43942 }
43943 }
43944
43945fail:
43946 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAModelRadialProfile_width'.\n"
43947 " Possible C/C++ prototypes are:\n"
43948 " GCTAModelRadialProfile::width() const\n"
43949 " GCTAModelRadialProfile::width(double const &)\n");
43950 return 0;
43951}
43952
43953
43954SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialProfile_core__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43955 PyObject *resultobj = 0;
43956 GCTAModelRadialProfile *arg1 = (GCTAModelRadialProfile *) 0 ;
43957 double *arg2 = 0 ;
43958 void *argp1 = 0 ;
43959 int res1 = 0 ;
43960 double temp2 ;
43961 double val2 ;
43962 int ecode2 = 0 ;
43963 PyObject * obj0 = 0 ;
43964 PyObject * obj1 = 0 ;
43965
43966 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAModelRadialProfile_core",&obj0,&obj1)) SWIG_failgoto fail;
43967 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialProfile, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[17]
, 0 | 0, 0)
;
43968 if (!SWIG_IsOK(res1)(res1 >= 0)) {
43969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialProfile_core" "', argument " "1"" of type '" "GCTAModelRadialProfile *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialProfile_core"
"', argument " "1"" of type '" "GCTAModelRadialProfile *""'"
); goto fail; } while(0)
;
43970 }
43971 arg1 = reinterpret_cast< GCTAModelRadialProfile * >(argp1);
43972 ecode2 = SWIG_AsVal_double(obj1, &val2);
43973 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
43974 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAModelRadialProfile_core" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAModelRadialProfile_core"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
43975 }
43976 temp2 = static_cast< double >(val2);
43977 arg2 = &temp2;
43978 {
43979 try {
43980 (arg1)->core((double const &)*arg2);
43981 }
43982 catch (const GException::out_of_range& e) {
43983 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
43984 }
43985 catch (const GExceptionHandler& e) {
43986 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43987 }
43988 catch (const std::exception& e) {
43989 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43990 }
43991 }
43992 resultobj = SWIG_Py_Void();
43993 return resultobj;
43994fail:
43995 return NULL__null;
43996}
43997
43998
43999SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialProfile_core(PyObject *self, PyObject *args) {
44000 int argc;
44001 PyObject *argv[3];
44002 int ii;
44003
44004 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
44005 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
44006 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
44007 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
44008 }
44009 if (argc == 1) {
44010 int _v;
44011 void *vptr = 0;
44012 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAModelRadialProfile, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[17
], 0, 0)
;
44013 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
44014 if (_v) {
44015 return _wrap_GCTAModelRadialProfile_core__SWIG_0(self, args);
44016 }
44017 }
44018 if (argc == 2) {
44019 int _v;
44020 void *vptr = 0;
44021 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAModelRadialProfile, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[17
], 0, 0)
;
44022 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
44023 if (_v) {
44024 {
44025 int res = SWIG_AsVal_double(argv[1], NULL__null);
44026 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
44027 }
44028 if (_v) {
44029 return _wrap_GCTAModelRadialProfile_core__SWIG_1(self, args);
44030 }
44031 }
44032 }
44033
44034fail:
44035 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAModelRadialProfile_core'.\n"
44036 " Possible C/C++ prototypes are:\n"
44037 " GCTAModelRadialProfile::core() const\n"
44038 " GCTAModelRadialProfile::core(double const &)\n");
44039 return 0;
44040}
44041
44042
44043SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialProfile_tail__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44044 PyObject *resultobj = 0;
44045 GCTAModelRadialProfile *arg1 = (GCTAModelRadialProfile *) 0 ;
44046 double *arg2 = 0 ;
44047 void *argp1 = 0 ;
44048 int res1 = 0 ;
44049 double temp2 ;
44050 double val2 ;
44051 int ecode2 = 0 ;
44052 PyObject * obj0 = 0 ;
44053 PyObject * obj1 = 0 ;
44054
44055 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAModelRadialProfile_tail",&obj0,&obj1)) SWIG_failgoto fail;
44056 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialProfile, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[17]
, 0 | 0, 0)
;
44057 if (!SWIG_IsOK(res1)(res1 >= 0)) {
44058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialProfile_tail" "', argument " "1"" of type '" "GCTAModelRadialProfile *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialProfile_tail"
"', argument " "1"" of type '" "GCTAModelRadialProfile *""'"
); goto fail; } while(0)
;
44059 }
44060 arg1 = reinterpret_cast< GCTAModelRadialProfile * >(argp1);
44061 ecode2 = SWIG_AsVal_double(obj1, &val2);
44062 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
44063 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GCTAModelRadialProfile_tail" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GCTAModelRadialProfile_tail"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
44064 }
44065 temp2 = static_cast< double >(val2);
44066 arg2 = &temp2;
44067 {
44068 try {
44069 (arg1)->tail((double const &)*arg2);
44070 }
44071 catch (const GException::out_of_range& e) {
44072 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
44073 }
44074 catch (const GExceptionHandler& e) {
44075 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44076 }
44077 catch (const std::exception& e) {
44078 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44079 }
44080 }
44081 resultobj = SWIG_Py_Void();
44082 return resultobj;
44083fail:
44084 return NULL__null;
44085}
44086
44087
44088SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialProfile_tail(PyObject *self, PyObject *args) {
44089 int argc;
44090 PyObject *argv[3];
44091 int ii;
44092
44093 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
44094 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
44095 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
44096 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
44097 }
44098 if (argc == 1) {
44099 int _v;
44100 void *vptr = 0;
44101 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAModelRadialProfile, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[17
], 0, 0)
;
44102 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
44103 if (_v) {
44104 return _wrap_GCTAModelRadialProfile_tail__SWIG_0(self, args);
44105 }
44106 }
44107 if (argc == 2) {
44108 int _v;
44109 void *vptr = 0;
44110 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GCTAModelRadialProfile, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[17
], 0, 0)
;
44111 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
44112 if (_v) {
44113 {
44114 int res = SWIG_AsVal_double(argv[1], NULL__null);
44115 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
44116 }
44117 if (_v) {
44118 return _wrap_GCTAModelRadialProfile_tail__SWIG_1(self, args);
44119 }
44120 }
44121 }
44122
44123fail:
44124 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GCTAModelRadialProfile_tail'.\n"
44125 " Possible C/C++ prototypes are:\n"
44126 " GCTAModelRadialProfile::tail() const\n"
44127 " GCTAModelRadialProfile::tail(double const &)\n");
44128 return 0;
44129}
44130
44131
44132SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GCTAModelRadialProfile_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44133 PyObject *obj;
44134 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
44135 SWIG_TypeNewClientData(SWIGTYPE_p_GCTAModelRadialProfileswig_types[17], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
44136 return SWIG_Py_Void();
44137}
44138
44139SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAModelRadialAcceptance__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44140 PyObject *resultobj = 0;
44141 GCTAModelRadialAcceptance *result = 0 ;
44142
44143 if (!PyArg_ParseTuple(args,(char *)":new_GCTAModelRadialAcceptance")) SWIG_failgoto fail;
44144 {
44145 try {
44146 result = (GCTAModelRadialAcceptance *)new GCTAModelRadialAcceptance();
44147 }
44148 catch (const GException::out_of_range& e) {
44149 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
44150 }
44151 catch (const GExceptionHandler& e) {
44152 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44153 }
44154 catch (const std::exception& e) {
44155 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44156 }
44157 }
44158 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAModelRadialAcceptance, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[14], (
(0x1 << 1) | 0x1) | 0)
;
44159 return resultobj;
44160fail:
44161 return NULL__null;
44162}
44163
44164
44165SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAModelRadialAcceptance__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44166 PyObject *resultobj = 0;
44167 GXmlElement *arg1 = 0 ;
44168 void *argp1 = 0 ;
44169 int res1 = 0 ;
44170 PyObject * obj0 = 0 ;
44171 GCTAModelRadialAcceptance *result = 0 ;
44172
44173 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAModelRadialAcceptance",&obj0)) SWIG_failgoto fail;
44174 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GXmlElement, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[66]
, 0 | 0, 0)
;
44175 if (!SWIG_IsOK(res1)(res1 >= 0)) {
44176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAModelRadialAcceptance" "', argument " "1"" of type '" "GXmlElement const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAModelRadialAcceptance"
"', argument " "1"" of type '" "GXmlElement const &""'")
; goto fail; } while(0)
;
44177 }
44178 if (!argp1) {
44179 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAModelRadialAcceptance" "', argument " "1"" of type '" "GXmlElement const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAModelRadialAcceptance" "', argument "
"1"" of type '" "GXmlElement const &""'"); goto fail; } while
(0)
;
44180 }
44181 arg1 = reinterpret_cast< GXmlElement * >(argp1);
44182 {
44183 try {
44184 result = (GCTAModelRadialAcceptance *)new GCTAModelRadialAcceptance((GXmlElement const &)*arg1);
44185 }
44186 catch (const GException::out_of_range& e) {
44187 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
44188 }
44189 catch (const GExceptionHandler& e) {
44190 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44191 }
44192 catch (const std::exception& e) {
44193 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44194 }
44195 }
44196 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAModelRadialAcceptance, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[14], (
(0x1 << 1) | 0x1) | 0)
;
44197 return resultobj;
44198fail:
44199 return NULL__null;
44200}
44201
44202
44203SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAModelRadialAcceptance__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44204 PyObject *resultobj = 0;
44205 GCTAModelRadial *arg1 = 0 ;
44206 GModelSpectral *arg2 = 0 ;
44207 void *argp1 = 0 ;
44208 int res1 = 0 ;
44209 void *argp2 = 0 ;
44210 int res2 = 0 ;
44211 PyObject * obj0 = 0 ;
44212 PyObject * obj1 = 0 ;
44213 GCTAModelRadialAcceptance *result = 0 ;
44214
44215 if (!PyArg_ParseTuple(args,(char *)"OO:new_GCTAModelRadialAcceptance",&obj0,&obj1)) SWIG_failgoto fail;
44216 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GCTAModelRadial, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[13]
, 0 | 0, 0)
;
44217 if (!SWIG_IsOK(res1)(res1 >= 0)) {
44218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAModelRadialAcceptance" "', argument " "1"" of type '" "GCTAModelRadial const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAModelRadialAcceptance"
"', argument " "1"" of type '" "GCTAModelRadial const &"
"'"); goto fail; } while(0)
;
44219 }
44220 if (!argp1) {
44221 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAModelRadialAcceptance" "', argument " "1"" of type '" "GCTAModelRadial const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAModelRadialAcceptance" "', argument "
"1"" of type '" "GCTAModelRadial const &""'"); goto fail
; } while(0)
;
44222 }
44223 arg1 = reinterpret_cast< GCTAModelRadial * >(argp1);
44224 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GModelSpectral, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[49]
, 0 | 0, 0)
;
44225 if (!SWIG_IsOK(res2)(res2 >= 0)) {
44226 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_GCTAModelRadialAcceptance" "', argument " "2"" of type '" "GModelSpectral const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "new_GCTAModelRadialAcceptance"
"', argument " "2"" of type '" "GModelSpectral const &""'"
); goto fail; } while(0)
;
44227 }
44228 if (!argp2) {
44229 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAModelRadialAcceptance" "', argument " "2"" of type '" "GModelSpectral const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAModelRadialAcceptance" "', argument "
"2"" of type '" "GModelSpectral const &""'"); goto fail;
} while(0)
;
44230 }
44231 arg2 = reinterpret_cast< GModelSpectral * >(argp2);
44232 {
44233 try {
44234 result = (GCTAModelRadialAcceptance *)new GCTAModelRadialAcceptance((GCTAModelRadial const &)*arg1,(GModelSpectral const &)*arg2);
44235 }
44236 catch (const GException::out_of_range& e) {
44237 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
44238 }
44239 catch (const GExceptionHandler& e) {
44240 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44241 }
44242 catch (const std::exception& e) {
44243 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44244 }
44245 }
44246 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAModelRadialAcceptance, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[14], (
(0x1 << 1) | 0x1) | 0)
;
44247 return resultobj;
44248fail:
44249 return NULL__null;
44250}
44251
44252
44253SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAModelRadialAcceptance__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44254 PyObject *resultobj = 0;
44255 GCTAModelRadialAcceptance *arg1 = 0 ;
44256 void *argp1 = 0 ;
44257 int res1 = 0 ;
44258 PyObject * obj0 = 0 ;
44259 GCTAModelRadialAcceptance *result = 0 ;
44260
44261 if (!PyArg_ParseTuple(args,(char *)"O:new_GCTAModelRadialAcceptance",&obj0)) SWIG_failgoto fail;
44262 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GCTAModelRadialAcceptance, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[14]
, 0 | 0, 0)
;
44263 if (!SWIG_IsOK(res1)(res1 >= 0)) {
44264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GCTAModelRadialAcceptance" "', argument " "1"" of type '" "GCTAModelRadialAcceptance const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GCTAModelRadialAcceptance"
"', argument " "1"" of type '" "GCTAModelRadialAcceptance const &"
"'"); goto fail; } while(0)
;
44265 }
44266 if (!argp1) {
44267 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GCTAModelRadialAcceptance" "', argument " "1"" of type '" "GCTAModelRadialAcceptance const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GCTAModelRadialAcceptance" "', argument "
"1"" of type '" "GCTAModelRadialAcceptance const &""'");
goto fail; } while(0)
;
44268 }
44269 arg1 = reinterpret_cast< GCTAModelRadialAcceptance * >(argp1);
44270 {
44271 try {
44272 result = (GCTAModelRadialAcceptance *)new GCTAModelRadialAcceptance((GCTAModelRadialAcceptance const &)*arg1);
44273 }
44274 catch (const GException::out_of_range& e) {
44275 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
44276 }
44277 catch (const GExceptionHandler& e) {
44278 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44279 }
44280 catch (const std::exception& e) {
44281 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44282 }
44283 }
44284 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAModelRadialAcceptance, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[14], (
(0x1 << 1) | 0x1) | 0)
;
44285 return resultobj;
44286fail:
44287 return NULL__null;
44288}
44289
44290
44291SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GCTAModelRadialAcceptance(PyObject *self, PyObject *args) {
44292 int argc;
44293 PyObject *argv[3];
44294 int ii;
44295
44296 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
44297 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
44298 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
44299 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
44300 }
44301 if (argc == 0) {
44302 return _wrap_new_GCTAModelRadialAcceptance__SWIG_0(self, args);
44303 }
44304 if (argc == 1) {
44305 int _v;
44306 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GXmlElement, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[66], 0, 0
)
;
44307 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
44308 if (_v) {
44309 return _wrap_new_GCTAModelRadialAcceptance__SWIG_1(self, args);
44310 }
44311 }
44312 if (argc == 1) {
44313 int _v;
44314 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GCTAModelRadialAcceptance, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[14], 0, 0
)
;
44315 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
44316 if (_v) {
44317 return _wrap_new_GCTAModelRadialAcceptance__SWIG_3(self, args);
44318 }
44319 }
44320 if (argc == 2) {
44321 int _v;
44322 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GCTAModelRadial, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[13], 0, 0
)
;
44323 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
44324 if (_v) {
44325 int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_GModelSpectral, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], 0, swig_types[49], 0, 0
)
;
44326 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
44327 if (_v) {
44328 return _wrap_new_GCTAModelRadialAcceptance__SWIG_2(self, args);
44329 }
44330 }
44331 }
44332
44333fail:
44334 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GCTAModelRadialAcceptance'.\n"
44335 " Possible C/C++ prototypes are:\n"
44336 " GCTAModelRadialAcceptance::GCTAModelRadialAcceptance()\n"
44337 " GCTAModelRadialAcceptance::GCTAModelRadialAcceptance(GXmlElement const &)\n"
44338 " GCTAModelRadialAcceptance::GCTAModelRadialAcceptance(GCTAModelRadial const &,GModelSpectral const &)\n"
44339 " GCTAModelRadialAcceptance::GCTAModelRadialAcceptance(GCTAModelRadialAcceptance const &)\n");
44340 return 0;
44341}
44342
44343
44344SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GCTAModelRadialAcceptance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44345 PyObject *resultobj = 0;
44346 GCTAModelRadialAcceptance *arg1 = (GCTAModelRadialAcceptance *) 0 ;
44347 void *argp1 = 0 ;
44348 int res1 = 0 ;
44349 PyObject * obj0 = 0 ;
44350
44351 if (!PyArg_ParseTuple(args,(char *)"O:delete_GCTAModelRadialAcceptance",&obj0)) SWIG_failgoto fail;
44352 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialAcceptance, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[14]
, 0x1 | 0, 0)
;
44353 if (!SWIG_IsOK(res1)(res1 >= 0)) {
44354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GCTAModelRadialAcceptance" "', argument " "1"" of type '" "GCTAModelRadialAcceptance *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GCTAModelRadialAcceptance"
"', argument " "1"" of type '" "GCTAModelRadialAcceptance *"
"'"); goto fail; } while(0)
;
44355 }
44356 arg1 = reinterpret_cast< GCTAModelRadialAcceptance * >(argp1);
44357 {
44358 try {
44359 delete arg1;
44360 }
44361 catch (const GException::out_of_range& e) {
44362 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
44363 }
44364 catch (const GExceptionHandler& e) {
44365 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44366 }
44367 catch (const std::exception& e) {
44368 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44369 }
44370 }
44371 resultobj = SWIG_Py_Void();
44372 return resultobj;
44373fail:
44374 return NULL__null;
44375}
44376
44377
44378SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialAcceptance_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44379 PyObject *resultobj = 0;
44380 GCTAModelRadialAcceptance *arg1 = (GCTAModelRadialAcceptance *) 0 ;
44381 void *argp1 = 0 ;
44382 int res1 = 0 ;
44383 PyObject * obj0 = 0 ;
44384
44385 if (!PyArg_ParseTuple(args,(char *)"O:GCTAModelRadialAcceptance_clear",&obj0)) SWIG_failgoto fail;
44386 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialAcceptance, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[14]
, 0 | 0, 0)
;
44387 if (!SWIG_IsOK(res1)(res1 >= 0)) {
44388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialAcceptance_clear" "', argument " "1"" of type '" "GCTAModelRadialAcceptance *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialAcceptance_clear"
"', argument " "1"" of type '" "GCTAModelRadialAcceptance *"
"'"); goto fail; } while(0)
;
44389 }
44390 arg1 = reinterpret_cast< GCTAModelRadialAcceptance * >(argp1);
44391 {
44392 try {
44393 (arg1)->clear();
44394 }
44395 catch (const GException::out_of_range& e) {
44396 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
44397 }
44398 catch (const GExceptionHandler& e) {
44399 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44400 }
44401 catch (const std::exception& e) {
44402 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44403 }
44404 }
44405 resultobj = SWIG_Py_Void();
44406 return resultobj;
44407fail:
44408 return NULL__null;
44409}
44410
44411
44412SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialAcceptance_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44413 PyObject *resultobj = 0;
44414 GCTAModelRadialAcceptance *arg1 = (GCTAModelRadialAcceptance *) 0 ;
44415 void *argp1 = 0 ;
44416 int res1 = 0 ;
44417 PyObject * obj0 = 0 ;
44418 GCTAModelRadialAcceptance *result = 0 ;
44419
44420 if (!PyArg_ParseTuple(args,(char *)"O:GCTAModelRadialAcceptance_clone",&obj0)) SWIG_failgoto fail;
44421 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialAcceptance, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[14]
, 0 | 0, 0)
;
44422 if (!SWIG_IsOK(res1)(res1 >= 0)) {
44423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialAcceptance_clone" "', argument " "1"" of type '" "GCTAModelRadialAcceptance const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialAcceptance_clone"
"', argument " "1"" of type '" "GCTAModelRadialAcceptance const *"
"'"); goto fail; } while(0)
;
44424 }
44425 arg1 = reinterpret_cast< GCTAModelRadialAcceptance * >(argp1);
44426 {
44427 try {
44428 result = (GCTAModelRadialAcceptance *)((GCTAModelRadialAcceptance const *)arg1)->clone();
44429 }
44430 catch (const GException::out_of_range& e) {
44431 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
44432 }
44433 catch (const GExceptionHandler& e) {
44434 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44435 }
44436 catch (const std::exception& e) {
44437 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44438 }
44439 }
44440 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAModelRadialAcceptance, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[14], 0
| 0)
;
44441 return resultobj;
44442fail:
44443 return NULL__null;
44444}
44445
44446
44447SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialAcceptance_type(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44448 PyObject *resultobj = 0;
44449 GCTAModelRadialAcceptance *arg1 = (GCTAModelRadialAcceptance *) 0 ;
44450 void *argp1 = 0 ;
44451 int res1 = 0 ;
44452 PyObject * obj0 = 0 ;
44453 std::string result;
44454
44455 if (!PyArg_ParseTuple(args,(char *)"O:GCTAModelRadialAcceptance_type",&obj0)) SWIG_failgoto fail;
44456 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialAcceptance, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[14]
, 0 | 0, 0)
;
44457 if (!SWIG_IsOK(res1)(res1 >= 0)) {
44458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialAcceptance_type" "', argument " "1"" of type '" "GCTAModelRadialAcceptance const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialAcceptance_type"
"', argument " "1"" of type '" "GCTAModelRadialAcceptance const *"
"'"); goto fail; } while(0)
;
44459 }
44460 arg1 = reinterpret_cast< GCTAModelRadialAcceptance * >(argp1);
44461 {
44462 try {
44463 result = ((GCTAModelRadialAcceptance const *)arg1)->type();
44464 }
44465 catch (const GException::out_of_range& e) {
44466 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
44467 }
44468 catch (const GExceptionHandler& e) {
44469 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44470 }
44471 catch (const std::exception& e) {
44472 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44473 }
44474 }
44475 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
44476 return resultobj;
44477fail:
44478 return NULL__null;
44479}
44480
44481
44482SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialAcceptance_isconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44483 PyObject *resultobj = 0;
44484 GCTAModelRadialAcceptance *arg1 = (GCTAModelRadialAcceptance *) 0 ;
44485 void *argp1 = 0 ;
44486 int res1 = 0 ;
44487 PyObject * obj0 = 0 ;
44488 bool result;
44489
44490 if (!PyArg_ParseTuple(args,(char *)"O:GCTAModelRadialAcceptance_isconstant",&obj0)) SWIG_failgoto fail;
44491 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialAcceptance, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[14]
, 0 | 0, 0)
;
44492 if (!SWIG_IsOK(res1)(res1 >= 0)) {
44493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialAcceptance_isconstant" "', argument " "1"" of type '" "GCTAModelRadialAcceptance const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialAcceptance_isconstant"
"', argument " "1"" of type '" "GCTAModelRadialAcceptance const *"
"'"); goto fail; } while(0)
;
44494 }
44495 arg1 = reinterpret_cast< GCTAModelRadialAcceptance * >(argp1);
44496 {
44497 try {
44498 result = (bool)((GCTAModelRadialAcceptance const *)arg1)->isconstant();
44499 }
44500 catch (const GException::out_of_range& e) {
44501 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
44502 }
44503 catch (const GExceptionHandler& e) {
44504 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44505 }
44506 catch (const std::exception& e) {
44507 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44508 }
44509 }
44510 resultobj = SWIG_From_bool(static_cast< bool >(result));
44511 return resultobj;
44512fail:
44513 return NULL__null;
44514}
44515
44516
44517SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialAcceptance_eval(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44518 PyObject *resultobj = 0;
44519 GCTAModelRadialAcceptance *arg1 = (GCTAModelRadialAcceptance *) 0 ;
44520 GEvent *arg2 = 0 ;
44521 GObservation *arg3 = 0 ;
44522 void *argp1 = 0 ;
44523 int res1 = 0 ;
44524 void *argp2 = 0 ;
44525 int res2 = 0 ;
44526 void *argp3 = 0 ;
44527 int res3 = 0 ;
44528 PyObject * obj0 = 0 ;
44529 PyObject * obj1 = 0 ;
44530 PyObject * obj2 = 0 ;
44531 double result;
44532
44533 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAModelRadialAcceptance_eval",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
44534 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialAcceptance, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[14]
, 0 | 0, 0)
;
44535 if (!SWIG_IsOK(res1)(res1 >= 0)) {
44536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialAcceptance_eval" "', argument " "1"" of type '" "GCTAModelRadialAcceptance const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialAcceptance_eval"
"', argument " "1"" of type '" "GCTAModelRadialAcceptance const *"
"'"); goto fail; } while(0)
;
44537 }
44538 arg1 = reinterpret_cast< GCTAModelRadialAcceptance * >(argp1);
44539 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GEvent, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[34]
, 0 | 0, 0)
;
44540 if (!SWIG_IsOK(res2)(res2 >= 0)) {
44541 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAModelRadialAcceptance_eval" "', argument " "2"" of type '" "GEvent const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAModelRadialAcceptance_eval"
"', argument " "2"" of type '" "GEvent const &""'"); goto
fail; } while(0)
;
44542 }
44543 if (!argp2) {
44544 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAModelRadialAcceptance_eval" "', argument " "2"" of type '" "GEvent const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAModelRadialAcceptance_eval" "', argument "
"2"" of type '" "GEvent const &""'"); goto fail; } while
(0)
;
44545 }
44546 arg2 = reinterpret_cast< GEvent * >(argp2);
44547 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GObservation, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[52]
, 0 | 0, 0)
;
44548 if (!SWIG_IsOK(res3)(res3 >= 0)) {
44549 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GCTAModelRadialAcceptance_eval" "', argument " "3"" of type '" "GObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GCTAModelRadialAcceptance_eval"
"', argument " "3"" of type '" "GObservation const &""'"
); goto fail; } while(0)
;
44550 }
44551 if (!argp3) {
44552 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAModelRadialAcceptance_eval" "', argument " "3"" of type '" "GObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAModelRadialAcceptance_eval" "', argument "
"3"" of type '" "GObservation const &""'"); goto fail; }
while(0)
;
44553 }
44554 arg3 = reinterpret_cast< GObservation * >(argp3);
44555 {
44556 try {
44557 result = (double)((GCTAModelRadialAcceptance const *)arg1)->eval((GEvent const &)*arg2,(GObservation const &)*arg3);
44558 }
44559 catch (const GException::out_of_range& e) {
44560 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
44561 }
44562 catch (const GExceptionHandler& e) {
44563 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44564 }
44565 catch (const std::exception& e) {
44566 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44567 }
44568 }
44569 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
44570 return resultobj;
44571fail:
44572 return NULL__null;
44573}
44574
44575
44576SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialAcceptance_eval_gradients(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44577 PyObject *resultobj = 0;
44578 GCTAModelRadialAcceptance *arg1 = (GCTAModelRadialAcceptance *) 0 ;
44579 GEvent *arg2 = 0 ;
44580 GObservation *arg3 = 0 ;
44581 void *argp1 = 0 ;
44582 int res1 = 0 ;
44583 void *argp2 = 0 ;
44584 int res2 = 0 ;
44585 void *argp3 = 0 ;
44586 int res3 = 0 ;
44587 PyObject * obj0 = 0 ;
44588 PyObject * obj1 = 0 ;
44589 PyObject * obj2 = 0 ;
44590 double result;
44591
44592 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAModelRadialAcceptance_eval_gradients",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
44593 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialAcceptance, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[14]
, 0 | 0, 0)
;
44594 if (!SWIG_IsOK(res1)(res1 >= 0)) {
44595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialAcceptance_eval_gradients" "', argument " "1"" of type '" "GCTAModelRadialAcceptance const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialAcceptance_eval_gradients"
"', argument " "1"" of type '" "GCTAModelRadialAcceptance const *"
"'"); goto fail; } while(0)
;
44596 }
44597 arg1 = reinterpret_cast< GCTAModelRadialAcceptance * >(argp1);
44598 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GEvent, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[34]
, 0 | 0, 0)
;
44599 if (!SWIG_IsOK(res2)(res2 >= 0)) {
44600 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAModelRadialAcceptance_eval_gradients" "', argument " "2"" of type '" "GEvent const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAModelRadialAcceptance_eval_gradients"
"', argument " "2"" of type '" "GEvent const &""'"); goto
fail; } while(0)
;
44601 }
44602 if (!argp2) {
44603 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAModelRadialAcceptance_eval_gradients" "', argument " "2"" of type '" "GEvent const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAModelRadialAcceptance_eval_gradients" "', argument "
"2"" of type '" "GEvent const &""'"); goto fail; } while
(0)
;
44604 }
44605 arg2 = reinterpret_cast< GEvent * >(argp2);
44606 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GObservation, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[52]
, 0 | 0, 0)
;
44607 if (!SWIG_IsOK(res3)(res3 >= 0)) {
44608 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GCTAModelRadialAcceptance_eval_gradients" "', argument " "3"" of type '" "GObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GCTAModelRadialAcceptance_eval_gradients"
"', argument " "3"" of type '" "GObservation const &""'"
); goto fail; } while(0)
;
44609 }
44610 if (!argp3) {
44611 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAModelRadialAcceptance_eval_gradients" "', argument " "3"" of type '" "GObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAModelRadialAcceptance_eval_gradients" "', argument "
"3"" of type '" "GObservation const &""'"); goto fail; }
while(0)
;
44612 }
44613 arg3 = reinterpret_cast< GObservation * >(argp3);
44614 {
44615 try {
44616 result = (double)((GCTAModelRadialAcceptance const *)arg1)->eval_gradients((GEvent const &)*arg2,(GObservation const &)*arg3);
44617 }
44618 catch (const GException::out_of_range& e) {
44619 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
44620 }
44621 catch (const GExceptionHandler& e) {
44622 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44623 }
44624 catch (const std::exception& e) {
44625 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44626 }
44627 }
44628 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
44629 return resultobj;
44630fail:
44631 return NULL__null;
44632}
44633
44634
44635SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialAcceptance_npred(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44636 PyObject *resultobj = 0;
44637 GCTAModelRadialAcceptance *arg1 = (GCTAModelRadialAcceptance *) 0 ;
44638 GEnergy *arg2 = 0 ;
44639 GTime *arg3 = 0 ;
44640 GObservation *arg4 = 0 ;
44641 void *argp1 = 0 ;
44642 int res1 = 0 ;
44643 void *argp2 = 0 ;
44644 int res2 = 0 ;
44645 void *argp3 = 0 ;
44646 int res3 = 0 ;
44647 void *argp4 = 0 ;
44648 int res4 = 0 ;
44649 PyObject * obj0 = 0 ;
44650 PyObject * obj1 = 0 ;
44651 PyObject * obj2 = 0 ;
44652 PyObject * obj3 = 0 ;
44653 double result;
44654
44655 if (!PyArg_ParseTuple(args,(char *)"OOOO:GCTAModelRadialAcceptance_npred",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
44656 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialAcceptance, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[14]
, 0 | 0, 0)
;
44657 if (!SWIG_IsOK(res1)(res1 >= 0)) {
44658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialAcceptance_npred" "', argument " "1"" of type '" "GCTAModelRadialAcceptance const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialAcceptance_npred"
"', argument " "1"" of type '" "GCTAModelRadialAcceptance const *"
"'"); goto fail; } while(0)
;
44659 }
44660 arg1 = reinterpret_cast< GCTAModelRadialAcceptance * >(argp1);
44661 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GEnergy, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[33]
, 0 | 0, 0)
;
44662 if (!SWIG_IsOK(res2)(res2 >= 0)) {
44663 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAModelRadialAcceptance_npred" "', argument " "2"" of type '" "GEnergy const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAModelRadialAcceptance_npred"
"', argument " "2"" of type '" "GEnergy const &""'"); goto
fail; } while(0)
;
44664 }
44665 if (!argp2) {
44666 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAModelRadialAcceptance_npred" "', argument " "2"" of type '" "GEnergy const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAModelRadialAcceptance_npred" "', argument "
"2"" of type '" "GEnergy const &""'"); goto fail; } while
(0)
;
44667 }
44668 arg2 = reinterpret_cast< GEnergy * >(argp2);
44669 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GTime, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[64]
, 0 | 0, 0)
;
44670 if (!SWIG_IsOK(res3)(res3 >= 0)) {
44671 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GCTAModelRadialAcceptance_npred" "', argument " "3"" of type '" "GTime const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GCTAModelRadialAcceptance_npred"
"', argument " "3"" of type '" "GTime const &""'"); goto
fail; } while(0)
;
44672 }
44673 if (!argp3) {
44674 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAModelRadialAcceptance_npred" "', argument " "3"" of type '" "GTime const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAModelRadialAcceptance_npred" "', argument "
"3"" of type '" "GTime const &""'"); goto fail; } while(
0)
;
44675 }
44676 arg3 = reinterpret_cast< GTime * >(argp3);
44677 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_GObservation, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj3, &argp4, swig_types[52]
, 0 | 0, 0)
;
44678 if (!SWIG_IsOK(res4)(res4 >= 0)) {
44679 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "GCTAModelRadialAcceptance_npred" "', argument " "4"" of type '" "GObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res4 != (
-1)) ? res4 : -5)), "in method '" "GCTAModelRadialAcceptance_npred"
"', argument " "4"" of type '" "GObservation const &""'"
); goto fail; } while(0)
;
44680 }
44681 if (!argp4) {
44682 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAModelRadialAcceptance_npred" "', argument " "4"" of type '" "GObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAModelRadialAcceptance_npred" "', argument "
"4"" of type '" "GObservation const &""'"); goto fail; }
while(0)
;
44683 }
44684 arg4 = reinterpret_cast< GObservation * >(argp4);
44685 {
44686 try {
44687 result = (double)((GCTAModelRadialAcceptance const *)arg1)->npred((GEnergy const &)*arg2,(GTime const &)*arg3,(GObservation const &)*arg4);
44688 }
44689 catch (const GException::out_of_range& e) {
44690 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
44691 }
44692 catch (const GExceptionHandler& e) {
44693 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44694 }
44695 catch (const std::exception& e) {
44696 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44697 }
44698 }
44699 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
44700 return resultobj;
44701fail:
44702 return NULL__null;
44703}
44704
44705
44706SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialAcceptance_mc(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44707 PyObject *resultobj = 0;
44708 GCTAModelRadialAcceptance *arg1 = (GCTAModelRadialAcceptance *) 0 ;
44709 GObservation *arg2 = 0 ;
44710 GRan *arg3 = 0 ;
44711 void *argp1 = 0 ;
44712 int res1 = 0 ;
44713 void *argp2 = 0 ;
44714 int res2 = 0 ;
44715 void *argp3 = 0 ;
44716 int res3 = 0 ;
44717 PyObject * obj0 = 0 ;
44718 PyObject * obj1 = 0 ;
44719 PyObject * obj2 = 0 ;
44720 GCTAEventList *result = 0 ;
44721
44722 if (!PyArg_ParseTuple(args,(char *)"OOO:GCTAModelRadialAcceptance_mc",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
44723 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialAcceptance, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[14]
, 0 | 0, 0)
;
44724 if (!SWIG_IsOK(res1)(res1 >= 0)) {
44725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialAcceptance_mc" "', argument " "1"" of type '" "GCTAModelRadialAcceptance const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialAcceptance_mc"
"', argument " "1"" of type '" "GCTAModelRadialAcceptance const *"
"'"); goto fail; } while(0)
;
44726 }
44727 arg1 = reinterpret_cast< GCTAModelRadialAcceptance * >(argp1);
44728 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GObservation, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[52]
, 0 | 0, 0)
;
44729 if (!SWIG_IsOK(res2)(res2 >= 0)) {
44730 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAModelRadialAcceptance_mc" "', argument " "2"" of type '" "GObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAModelRadialAcceptance_mc"
"', argument " "2"" of type '" "GObservation const &""'"
); goto fail; } while(0)
;
44731 }
44732 if (!argp2) {
44733 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAModelRadialAcceptance_mc" "', argument " "2"" of type '" "GObservation const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAModelRadialAcceptance_mc" "', argument " "2"
" of type '" "GObservation const &""'"); goto fail; } while
(0)
;
44734 }
44735 arg2 = reinterpret_cast< GObservation * >(argp2);
44736 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GRan, 0 )SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[55]
, 0, 0)
;
44737 if (!SWIG_IsOK(res3)(res3 >= 0)) {
44738 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GCTAModelRadialAcceptance_mc" "', argument " "3"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GCTAModelRadialAcceptance_mc"
"', argument " "3"" of type '" "GRan &""'"); goto fail; }
while(0)
;
44739 }
44740 if (!argp3) {
44741 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAModelRadialAcceptance_mc" "', argument " "3"" of type '" "GRan &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAModelRadialAcceptance_mc" "', argument " "3"
" of type '" "GRan &""'"); goto fail; } while(0)
;
44742 }
44743 arg3 = reinterpret_cast< GRan * >(argp3);
44744 {
44745 try {
44746 result = (GCTAEventList *)((GCTAModelRadialAcceptance const *)arg1)->mc((GObservation const &)*arg2,*arg3);
44747 }
44748 catch (const GException::out_of_range& e) {
44749 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
44750 }
44751 catch (const GExceptionHandler& e) {
44752 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44753 }
44754 catch (const std::exception& e) {
44755 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44756 }
44757 }
44758 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAEventList, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[10], 0
| 0)
;
44759 return resultobj;
44760fail:
44761 return NULL__null;
44762}
44763
44764
44765SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialAcceptance_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44766 PyObject *resultobj = 0;
44767 GCTAModelRadialAcceptance *arg1 = (GCTAModelRadialAcceptance *) 0 ;
44768 GXmlElement *arg2 = 0 ;
44769 void *argp1 = 0 ;
44770 int res1 = 0 ;
44771 void *argp2 = 0 ;
44772 int res2 = 0 ;
44773 PyObject * obj0 = 0 ;
44774 PyObject * obj1 = 0 ;
44775
44776 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAModelRadialAcceptance_read",&obj0,&obj1)) SWIG_failgoto fail;
44777 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialAcceptance, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[14]
, 0 | 0, 0)
;
44778 if (!SWIG_IsOK(res1)(res1 >= 0)) {
44779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialAcceptance_read" "', argument " "1"" of type '" "GCTAModelRadialAcceptance *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialAcceptance_read"
"', argument " "1"" of type '" "GCTAModelRadialAcceptance *"
"'"); goto fail; } while(0)
;
44780 }
44781 arg1 = reinterpret_cast< GCTAModelRadialAcceptance * >(argp1);
44782 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GXmlElement, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[66]
, 0 | 0, 0)
;
44783 if (!SWIG_IsOK(res2)(res2 >= 0)) {
44784 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAModelRadialAcceptance_read" "', argument " "2"" of type '" "GXmlElement const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAModelRadialAcceptance_read"
"', argument " "2"" of type '" "GXmlElement const &""'")
; goto fail; } while(0)
;
44785 }
44786 if (!argp2) {
44787 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAModelRadialAcceptance_read" "', argument " "2"" of type '" "GXmlElement const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAModelRadialAcceptance_read" "', argument "
"2"" of type '" "GXmlElement const &""'"); goto fail; } while
(0)
;
44788 }
44789 arg2 = reinterpret_cast< GXmlElement * >(argp2);
44790 {
44791 try {
44792 (arg1)->read((GXmlElement const &)*arg2);
44793 }
44794 catch (const GException::out_of_range& e) {
44795 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
44796 }
44797 catch (const GExceptionHandler& e) {
44798 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44799 }
44800 catch (const std::exception& e) {
44801 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44802 }
44803 }
44804 resultobj = SWIG_Py_Void();
44805 return resultobj;
44806fail:
44807 return NULL__null;
44808}
44809
44810
44811SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialAcceptance_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44812 PyObject *resultobj = 0;
44813 GCTAModelRadialAcceptance *arg1 = (GCTAModelRadialAcceptance *) 0 ;
44814 GXmlElement *arg2 = 0 ;
44815 void *argp1 = 0 ;
44816 int res1 = 0 ;
44817 void *argp2 = 0 ;
44818 int res2 = 0 ;
44819 PyObject * obj0 = 0 ;
44820 PyObject * obj1 = 0 ;
44821
44822 if (!PyArg_ParseTuple(args,(char *)"OO:GCTAModelRadialAcceptance_write",&obj0,&obj1)) SWIG_failgoto fail;
44823 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialAcceptance, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[14]
, 0 | 0, 0)
;
44824 if (!SWIG_IsOK(res1)(res1 >= 0)) {
44825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialAcceptance_write" "', argument " "1"" of type '" "GCTAModelRadialAcceptance const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialAcceptance_write"
"', argument " "1"" of type '" "GCTAModelRadialAcceptance const *"
"'"); goto fail; } while(0)
;
44826 }
44827 arg1 = reinterpret_cast< GCTAModelRadialAcceptance * >(argp1);
44828 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GXmlElement, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[66]
, 0, 0)
;
44829 if (!SWIG_IsOK(res2)(res2 >= 0)) {
44830 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GCTAModelRadialAcceptance_write" "', argument " "2"" of type '" "GXmlElement &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GCTAModelRadialAcceptance_write"
"', argument " "2"" of type '" "GXmlElement &""'"); goto
fail; } while(0)
;
44831 }
44832 if (!argp2) {
44833 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GCTAModelRadialAcceptance_write" "', argument " "2"" of type '" "GXmlElement &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GCTAModelRadialAcceptance_write" "', argument "
"2"" of type '" "GXmlElement &""'"); goto fail; } while(
0)
;
44834 }
44835 arg2 = reinterpret_cast< GXmlElement * >(argp2);
44836 {
44837 try {
44838 ((GCTAModelRadialAcceptance const *)arg1)->write(*arg2);
44839 }
44840 catch (const GException::out_of_range& e) {
44841 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
44842 }
44843 catch (const GExceptionHandler& e) {
44844 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44845 }
44846 catch (const std::exception& e) {
44847 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44848 }
44849 }
44850 resultobj = SWIG_Py_Void();
44851 return resultobj;
44852fail:
44853 return NULL__null;
44854}
44855
44856
44857SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialAcceptance_radial(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44858 PyObject *resultobj = 0;
44859 GCTAModelRadialAcceptance *arg1 = (GCTAModelRadialAcceptance *) 0 ;
44860 void *argp1 = 0 ;
44861 int res1 = 0 ;
44862 PyObject * obj0 = 0 ;
44863 GCTAModelRadial *result = 0 ;
44864
44865 if (!PyArg_ParseTuple(args,(char *)"O:GCTAModelRadialAcceptance_radial",&obj0)) SWIG_failgoto fail;
44866 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialAcceptance, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[14]
, 0 | 0, 0)
;
44867 if (!SWIG_IsOK(res1)(res1 >= 0)) {
44868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialAcceptance_radial" "', argument " "1"" of type '" "GCTAModelRadialAcceptance const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialAcceptance_radial"
"', argument " "1"" of type '" "GCTAModelRadialAcceptance const *"
"'"); goto fail; } while(0)
;
44869 }
44870 arg1 = reinterpret_cast< GCTAModelRadialAcceptance * >(argp1);
44871 {
44872 try {
44873 result = (GCTAModelRadial *)((GCTAModelRadialAcceptance const *)arg1)->radial();
44874 }
44875 catch (const GException::out_of_range& e) {
44876 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
44877 }
44878 catch (const GExceptionHandler& e) {
44879 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44880 }
44881 catch (const std::exception& e) {
44882 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44883 }
44884 }
44885 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GCTAModelRadial, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[13], 0
| 0)
;
44886 return resultobj;
44887fail:
44888 return NULL__null;
44889}
44890
44891
44892SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialAcceptance_spectral(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44893 PyObject *resultobj = 0;
44894 GCTAModelRadialAcceptance *arg1 = (GCTAModelRadialAcceptance *) 0 ;
44895 void *argp1 = 0 ;
44896 int res1 = 0 ;
44897 PyObject * obj0 = 0 ;
44898 GModelSpectral *result = 0 ;
44899
44900 if (!PyArg_ParseTuple(args,(char *)"O:GCTAModelRadialAcceptance_spectral",&obj0)) SWIG_failgoto fail;
44901 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialAcceptance, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[14]
, 0 | 0, 0)
;
44902 if (!SWIG_IsOK(res1)(res1 >= 0)) {
44903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialAcceptance_spectral" "', argument " "1"" of type '" "GCTAModelRadialAcceptance const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialAcceptance_spectral"
"', argument " "1"" of type '" "GCTAModelRadialAcceptance const *"
"'"); goto fail; } while(0)
;
44904 }
44905 arg1 = reinterpret_cast< GCTAModelRadialAcceptance * >(argp1);
44906 {
44907 try {
44908 result = (GModelSpectral *)((GCTAModelRadialAcceptance const *)arg1)->spectral();
44909 }
44910 catch (const GException::out_of_range& e) {
44911 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
44912 }
44913 catch (const GExceptionHandler& e) {
44914 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44915 }
44916 catch (const std::exception& e) {
44917 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44918 }
44919 }
44920 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GModelSpectral, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[49], 0
| 0)
;
44921 return resultobj;
44922fail:
44923 return NULL__null;
44924}
44925
44926
44927SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GCTAModelRadialAcceptance_temporal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44928 PyObject *resultobj = 0;
44929 GCTAModelRadialAcceptance *arg1 = (GCTAModelRadialAcceptance *) 0 ;
44930 void *argp1 = 0 ;
44931 int res1 = 0 ;
44932 PyObject * obj0 = 0 ;
44933 GModelTemporal *result = 0 ;
44934
44935 if (!PyArg_ParseTuple(args,(char *)"O:GCTAModelRadialAcceptance_temporal",&obj0)) SWIG_failgoto fail;
44936 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GCTAModelRadialAcceptance, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[14]
, 0 | 0, 0)
;
44937 if (!SWIG_IsOK(res1)(res1 >= 0)) {
44938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GCTAModelRadialAcceptance_temporal" "', argument " "1"" of type '" "GCTAModelRadialAcceptance const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GCTAModelRadialAcceptance_temporal"
"', argument " "1"" of type '" "GCTAModelRadialAcceptance const *"
"'"); goto fail; } while(0)
;
44939 }
44940 arg1 = reinterpret_cast< GCTAModelRadialAcceptance * >(argp1);
44941 {
44942 try {
44943 result = (GModelTemporal *)((GCTAModelRadialAcceptance const *)arg1)->temporal();
44944 }
44945 catch (const GException::out_of_range& e) {
44946 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
44947 }
44948 catch (const GExceptionHandler& e) {
44949 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44950 }
44951 catch (const std::exception& e) {
44952 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44953 }
44954 }
44955 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GModelTemporal, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[50], 0
| 0)
;
44956 return resultobj;
44957fail:
44958 return NULL__null;
44959}
44960
44961
44962SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GCTAModelRadialAcceptance_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44963 PyObject *obj;
44964 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
44965 SWIG_TypeNewClientData(SWIGTYPE_p_GCTAModelRadialAcceptanceswig_types[14], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
44966 return SWIG_Py_Void();
44967}
44968
44969static PyMethodDef SwigMethods[] = {
44970 { (char *)"SWIG_PyInstanceMethod_New", (PyCFunction)SWIG_PyInstanceMethod_New, METH_O0x0008, NULL__null},
44971 { (char *)"delete_SwigPyIterator", _wrap_delete_SwigPyIterator, METH_VARARGS0x0001, (char *)"delete_SwigPyIterator(SwigPyIterator self)"},
44972 { (char *)"SwigPyIterator_value", _wrap_SwigPyIterator_value, METH_VARARGS0x0001, (char *)"SwigPyIterator_value(SwigPyIterator self) -> PyObject *"},
44973 { (char *)"SwigPyIterator_incr", _wrap_SwigPyIterator_incr, METH_VARARGS0x0001, (char *)"\n"
44974 "incr(size_t n=1) -> SwigPyIterator\n"
44975 "SwigPyIterator_incr(SwigPyIterator self) -> SwigPyIterator\n"
44976 ""},
44977 { (char *)"SwigPyIterator_decr", _wrap_SwigPyIterator_decr, METH_VARARGS0x0001, (char *)"\n"
44978 "decr(size_t n=1) -> SwigPyIterator\n"
44979 "SwigPyIterator_decr(SwigPyIterator self) -> SwigPyIterator\n"
44980 ""},
44981 { (char *)"SwigPyIterator_distance", _wrap_SwigPyIterator_distance, METH_VARARGS0x0001, (char *)"SwigPyIterator_distance(SwigPyIterator self, SwigPyIterator x) -> ptrdiff_t"},
44982 { (char *)"SwigPyIterator_equal", _wrap_SwigPyIterator_equal, METH_VARARGS0x0001, (char *)"SwigPyIterator_equal(SwigPyIterator self, SwigPyIterator x) -> bool"},
44983 { (char *)"SwigPyIterator_copy", _wrap_SwigPyIterator_copy, METH_VARARGS0x0001, (char *)"SwigPyIterator_copy(SwigPyIterator self) -> SwigPyIterator"},
44984 { (char *)"SwigPyIterator_next", _wrap_SwigPyIterator_next, METH_VARARGS0x0001, (char *)"SwigPyIterator_next(SwigPyIterator self) -> PyObject *"},
44985 { (char *)"SwigPyIterator___next__", _wrap_SwigPyIterator___next__, METH_VARARGS0x0001, (char *)"SwigPyIterator___next__(SwigPyIterator self) -> PyObject *"},
44986 { (char *)"SwigPyIterator_previous", _wrap_SwigPyIterator_previous, METH_VARARGS0x0001, (char *)"SwigPyIterator_previous(SwigPyIterator self) -> PyObject *"},
44987 { (char *)"SwigPyIterator_advance", _wrap_SwigPyIterator_advance, METH_VARARGS0x0001, (char *)"SwigPyIterator_advance(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"},
44988 { (char *)"SwigPyIterator___eq__", _wrap_SwigPyIterator___eq__, METH_VARARGS0x0001, (char *)"SwigPyIterator___eq__(SwigPyIterator self, SwigPyIterator x) -> bool"},
44989 { (char *)"SwigPyIterator___ne__", _wrap_SwigPyIterator___ne__, METH_VARARGS0x0001, (char *)"SwigPyIterator___ne__(SwigPyIterator self, SwigPyIterator x) -> bool"},
44990 { (char *)"SwigPyIterator___iadd__", _wrap_SwigPyIterator___iadd__, METH_VARARGS0x0001, (char *)"SwigPyIterator___iadd__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"},
44991 { (char *)"SwigPyIterator___isub__", _wrap_SwigPyIterator___isub__, METH_VARARGS0x0001, (char *)"SwigPyIterator___isub__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"},
44992 { (char *)"SwigPyIterator___add__", _wrap_SwigPyIterator___add__, METH_VARARGS0x0001, (char *)"SwigPyIterator___add__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"},
44993 { (char *)"SwigPyIterator___sub__", _wrap_SwigPyIterator___sub__, METH_VARARGS0x0001, (char *)"\n"
44994 "__sub__(ptrdiff_t n) -> SwigPyIterator\n"
44995 "SwigPyIterator___sub__(SwigPyIterator self, SwigPyIterator x) -> ptrdiff_t\n"
44996 ""},
44997 { (char *)"SwigPyIterator_swigregister", SwigPyIterator_swigregister, METH_VARARGS0x0001, NULL__null},
44998 { (char *)"new_GCTAObservation", _wrap_new_GCTAObservation, METH_VARARGS0x0001, (char *)"\n"
44999 "GCTAObservation()\n"
45000 "GCTAObservation(std::string const & instrument)\n"
45001 "new_GCTAObservation(GCTAObservation obs) -> GCTAObservation\n"
45002 ""},
45003 { (char *)"delete_GCTAObservation", _wrap_delete_GCTAObservation, METH_VARARGS0x0001, (char *)"delete_GCTAObservation(GCTAObservation self)"},
45004 { (char *)"GCTAObservation_clear", _wrap_GCTAObservation_clear, METH_VARARGS0x0001, (char *)"GCTAObservation_clear(GCTAObservation self)"},
45005 { (char *)"GCTAObservation_clone", _wrap_GCTAObservation_clone, METH_VARARGS0x0001, (char *)"GCTAObservation_clone(GCTAObservation self) -> GCTAObservation"},
45006 { (char *)"GCTAObservation_instrument", _wrap_GCTAObservation_instrument, METH_VARARGS0x0001, (char *)"GCTAObservation_instrument(GCTAObservation self) -> std::string"},
45007 { (char *)"GCTAObservation_read", _wrap_GCTAObservation_read, METH_VARARGS0x0001, (char *)"GCTAObservation_read(GCTAObservation self, GXmlElement const & xml)"},
45008 { (char *)"GCTAObservation_write", _wrap_GCTAObservation_write, METH_VARARGS0x0001, (char *)"GCTAObservation_write(GCTAObservation self, GXmlElement & xml)"},
45009 { (char *)"GCTAObservation_load_unbinned", _wrap_GCTAObservation_load_unbinned, METH_VARARGS0x0001, (char *)"GCTAObservation_load_unbinned(GCTAObservation self, std::string const & filename)"},
45010 { (char *)"GCTAObservation_load_binned", _wrap_GCTAObservation_load_binned, METH_VARARGS0x0001, (char *)"GCTAObservation_load_binned(GCTAObservation self, std::string const & filename)"},
45011 { (char *)"GCTAObservation_save", _wrap_GCTAObservation_save, METH_VARARGS0x0001, (char *)"\n"
45012 "save(std::string const & filename, bool const & clobber=False)\n"
45013 "GCTAObservation_save(GCTAObservation self, std::string const & filename)\n"
45014 ""},
45015 { (char *)"GCTAObservation_response", _wrap_GCTAObservation_response, METH_VARARGS0x0001, (char *)"\n"
45016 "response(GResponse rsp)\n"
45017 "response() -> GCTAResponse\n"
45018 "response(std::string const & irfname, std::string const & caldb=\"\")\n"
45019 "GCTAObservation_response(GCTAObservation self, std::string const & irfname)\n"
45020 ""},
45021 { (char *)"GCTAObservation_pointing", _wrap_GCTAObservation_pointing, METH_VARARGS0x0001, (char *)"\n"
45022 "pointing(GCTAPointing pointing)\n"
45023 "GCTAObservation_pointing(GCTAObservation self) -> GCTAPointing\n"
45024 ""},
45025 { (char *)"GCTAObservation_obs_id", _wrap_GCTAObservation_obs_id, METH_VARARGS0x0001, (char *)"\n"
45026 "obs_id(int const & id)\n"
45027 "GCTAObservation_obs_id(GCTAObservation self) -> int const &\n"
45028 ""},
45029 { (char *)"GCTAObservation_ra_obj", _wrap_GCTAObservation_ra_obj, METH_VARARGS0x0001, (char *)"\n"
45030 "ra_obj(double const & ra)\n"
45031 "GCTAObservation_ra_obj(GCTAObservation self) -> double const &\n"
45032 ""},
45033 { (char *)"GCTAObservation_dec_obj", _wrap_GCTAObservation_dec_obj, METH_VARARGS0x0001, (char *)"\n"
45034 "dec_obj(double const & dec)\n"
45035 "GCTAObservation_dec_obj(GCTAObservation self) -> double const &\n"
45036 ""},
45037 { (char *)"GCTAObservation_ontime", _wrap_GCTAObservation_ontime, METH_VARARGS0x0001, (char *)"\n"
45038 "ontime() -> double\n"
45039 "GCTAObservation_ontime(GCTAObservation self, double const & ontime)\n"
45040 ""},
45041 { (char *)"GCTAObservation_livetime", _wrap_GCTAObservation_livetime, METH_VARARGS0x0001, (char *)"\n"
45042 "livetime() -> double\n"
45043 "GCTAObservation_livetime(GCTAObservation self, double const & livetime)\n"
45044 ""},
45045 { (char *)"GCTAObservation_deadc", _wrap_GCTAObservation_deadc, METH_VARARGS0x0001, (char *)"\n"
45046 "deadc(GTime const & time) -> double\n"
45047 "GCTAObservation_deadc(GCTAObservation self, double const & deadc)\n"
45048 ""},
45049 { (char *)"GCTAObservation_eventfile", _wrap_GCTAObservation_eventfile, METH_VARARGS0x0001, (char *)"\n"
45050 "eventfile(std::string const & filename)\n"
45051 "GCTAObservation_eventfile(GCTAObservation self) -> std::string const &\n"
45052 ""},
45053 { (char *)"GCTAObservation_copy", _wrap_GCTAObservation_copy, METH_VARARGS0x0001, (char *)"GCTAObservation_copy(GCTAObservation self) -> GCTAObservation"},
45054 { (char *)"GCTAObservation_swigregister", GCTAObservation_swigregister, METH_VARARGS0x0001, NULL__null},
45055 { (char *)"new_GCTAOnOffObservation", _wrap_new_GCTAOnOffObservation, METH_VARARGS0x0001, (char *)"\n"
45056 "GCTAOnOffObservation()\n"
45057 "GCTAOnOffObservation(GEbounds const & ereco, GSkyRegions const & on, GSkyRegions const & off)\n"
45058 "new_GCTAOnOffObservation(GCTAOnOffObservation obs) -> GCTAOnOffObservation\n"
45059 ""},
45060 { (char *)"delete_GCTAOnOffObservation", _wrap_delete_GCTAOnOffObservation, METH_VARARGS0x0001, (char *)"delete_GCTAOnOffObservation(GCTAOnOffObservation self)"},
45061 { (char *)"GCTAOnOffObservation_clear", _wrap_GCTAOnOffObservation_clear, METH_VARARGS0x0001, (char *)"GCTAOnOffObservation_clear(GCTAOnOffObservation self)"},
45062 { (char *)"GCTAOnOffObservation_clone", _wrap_GCTAOnOffObservation_clone, METH_VARARGS0x0001, (char *)"GCTAOnOffObservation_clone(GCTAOnOffObservation self) -> GCTAOnOffObservation"},
45063 { (char *)"GCTAOnOffObservation_on_regions", _wrap_GCTAOnOffObservation_on_regions, METH_VARARGS0x0001, (char *)"GCTAOnOffObservation_on_regions(GCTAOnOffObservation self, GSkyRegions const & regions)"},
45064 { (char *)"GCTAOnOffObservation_off_regions", _wrap_GCTAOnOffObservation_off_regions, METH_VARARGS0x0001, (char *)"GCTAOnOffObservation_off_regions(GCTAOnOffObservation self, GSkyRegions const & regions)"},
45065 { (char *)"GCTAOnOffObservation_name", _wrap_GCTAOnOffObservation_name, METH_VARARGS0x0001, (char *)"\n"
45066 "name(std::string const & name)\n"
45067 "GCTAOnOffObservation_name(GCTAOnOffObservation self) -> std::string const &\n"
45068 ""},
45069 { (char *)"GCTAOnOffObservation_instrument", _wrap_GCTAOnOffObservation_instrument, METH_VARARGS0x0001, (char *)"\n"
45070 "instrument(std::string const & instrument)\n"
45071 "GCTAOnOffObservation_instrument(GCTAOnOffObservation self) -> std::string const &\n"
45072 ""},
45073 { (char *)"GCTAOnOffObservation_id", _wrap_GCTAOnOffObservation_id, METH_VARARGS0x0001, (char *)"\n"
45074 "id(std::string const & id)\n"
45075 "GCTAOnOffObservation_id(GCTAOnOffObservation self) -> std::string const &\n"
45076 ""},
45077 { (char *)"GCTAOnOffObservation_on_spec", _wrap_GCTAOnOffObservation_on_spec, METH_VARARGS0x0001, (char *)"GCTAOnOffObservation_on_spec(GCTAOnOffObservation self) -> GPha const &"},
45078 { (char *)"GCTAOnOffObservation_off_spec", _wrap_GCTAOnOffObservation_off_spec, METH_VARARGS0x0001, (char *)"GCTAOnOffObservation_off_spec(GCTAOnOffObservation self) -> GPha const &"},
45079 { (char *)"GCTAOnOffObservation_arf", _wrap_GCTAOnOffObservation_arf, METH_VARARGS0x0001, (char *)"GCTAOnOffObservation_arf(GCTAOnOffObservation self) -> GArf const &"},
45080 { (char *)"GCTAOnOffObservation_rmf", _wrap_GCTAOnOffObservation_rmf, METH_VARARGS0x0001, (char *)"GCTAOnOffObservation_rmf(GCTAOnOffObservation self) -> GRmf const &"},
45081 { (char *)"GCTAOnOffObservation_fill", _wrap_GCTAOnOffObservation_fill, METH_VARARGS0x0001, (char *)"GCTAOnOffObservation_fill(GCTAOnOffObservation self, GCTAObservation obs)"},
45082 { (char *)"GCTAOnOffObservation_compute_response", _wrap_GCTAOnOffObservation_compute_response, METH_VARARGS0x0001, (char *)"GCTAOnOffObservation_compute_response(GCTAOnOffObservation self, GCTAObservation obs, GEbounds const & etrue)"},
45083 { (char *)"GCTAOnOffObservation_read", _wrap_GCTAOnOffObservation_read, METH_VARARGS0x0001, (char *)"GCTAOnOffObservation_read(GCTAOnOffObservation self, GXmlElement const & xml)"},
45084 { (char *)"GCTAOnOffObservation_write", _wrap_GCTAOnOffObservation_write, METH_VARARGS0x0001, (char *)"GCTAOnOffObservation_write(GCTAOnOffObservation self, GXmlElement & xml)"},
45085 { (char *)"GCTAOnOffObservation_copy", _wrap_GCTAOnOffObservation_copy, METH_VARARGS0x0001, (char *)"GCTAOnOffObservation_copy(GCTAOnOffObservation self) -> GCTAOnOffObservation"},
45086 { (char *)"GCTAOnOffObservation_swigregister", GCTAOnOffObservation_swigregister, METH_VARARGS0x0001, NULL__null},
45087 { (char *)"new_GCTAOnOffObservations", _wrap_new_GCTAOnOffObservations, METH_VARARGS0x0001, (char *)"\n"
45088 "GCTAOnOffObservations()\n"
45089 "GCTAOnOffObservations(GCTAOnOffObservations obs)\n"
45090 "new_GCTAOnOffObservations(std::string const & filename) -> GCTAOnOffObservations\n"
45091 ""},
45092 { (char *)"delete_GCTAOnOffObservations", _wrap_delete_GCTAOnOffObservations, METH_VARARGS0x0001, (char *)"delete_GCTAOnOffObservations(GCTAOnOffObservations self)"},
45093 { (char *)"GCTAOnOffObservations_clear", _wrap_GCTAOnOffObservations_clear, METH_VARARGS0x0001, (char *)"GCTAOnOffObservations_clear(GCTAOnOffObservations self)"},
45094 { (char *)"GCTAOnOffObservations_clone", _wrap_GCTAOnOffObservations_clone, METH_VARARGS0x0001, (char *)"GCTAOnOffObservations_clone(GCTAOnOffObservations self) -> GCTAOnOffObservations"},
45095 { (char *)"GCTAOnOffObservations_at", _wrap_GCTAOnOffObservations_at, METH_VARARGS0x0001, (char *)"GCTAOnOffObservations_at(GCTAOnOffObservations self, int const & index) -> GCTAOnOffObservation"},
45096 { (char *)"GCTAOnOffObservations_size", _wrap_GCTAOnOffObservations_size, METH_VARARGS0x0001, (char *)"GCTAOnOffObservations_size(GCTAOnOffObservations self) -> int"},
45097 { (char *)"GCTAOnOffObservations_isempty", _wrap_GCTAOnOffObservations_isempty, METH_VARARGS0x0001, (char *)"GCTAOnOffObservations_isempty(GCTAOnOffObservations self) -> bool"},
45098 { (char *)"GCTAOnOffObservations_set", _wrap_GCTAOnOffObservations_set, METH_VARARGS0x0001, (char *)"GCTAOnOffObservations_set(GCTAOnOffObservations self, int const & index, GCTAOnOffObservation obs) -> GCTAOnOffObservation"},
45099 { (char *)"GCTAOnOffObservations_append", _wrap_GCTAOnOffObservations_append, METH_VARARGS0x0001, (char *)"GCTAOnOffObservations_append(GCTAOnOffObservations self, GCTAOnOffObservation obs) -> GCTAOnOffObservation"},
45100 { (char *)"GCTAOnOffObservations_insert", _wrap_GCTAOnOffObservations_insert, METH_VARARGS0x0001, (char *)"GCTAOnOffObservations_insert(GCTAOnOffObservations self, int const & index, GCTAOnOffObservation obs) -> GCTAOnOffObservation"},
45101 { (char *)"GCTAOnOffObservations_remove", _wrap_GCTAOnOffObservations_remove, METH_VARARGS0x0001, (char *)"GCTAOnOffObservations_remove(GCTAOnOffObservations self, int const & index)"},
45102 { (char *)"GCTAOnOffObservations_reserve", _wrap_GCTAOnOffObservations_reserve, METH_VARARGS0x0001, (char *)"GCTAOnOffObservations_reserve(GCTAOnOffObservations self, int const & num)"},
45103 { (char *)"GCTAOnOffObservations_extend", _wrap_GCTAOnOffObservations_extend, METH_VARARGS0x0001, (char *)"GCTAOnOffObservations_extend(GCTAOnOffObservations self, GCTAOnOffObservations obs)"},
45104 { (char *)"GCTAOnOffObservations_contains", _wrap_GCTAOnOffObservations_contains, METH_VARARGS0x0001, (char *)"GCTAOnOffObservations_contains(GCTAOnOffObservations self, std::string const & instrument, std::string const & id) -> bool"},
45105 { (char *)"GCTAOnOffObservations_load", _wrap_GCTAOnOffObservations_load, METH_VARARGS0x0001, (char *)"GCTAOnOffObservations_load(GCTAOnOffObservations self, std::string const & filename)"},
45106 { (char *)"GCTAOnOffObservations_save", _wrap_GCTAOnOffObservations_save, METH_VARARGS0x0001, (char *)"GCTAOnOffObservations_save(GCTAOnOffObservations self, std::string const & filename)"},
45107 { (char *)"GCTAOnOffObservations_read", _wrap_GCTAOnOffObservations_read, METH_VARARGS0x0001, (char *)"GCTAOnOffObservations_read(GCTAOnOffObservations self, GXml const & xml)"},
45108 { (char *)"GCTAOnOffObservations_write", _wrap_GCTAOnOffObservations_write, METH_VARARGS0x0001, (char *)"GCTAOnOffObservations_write(GCTAOnOffObservations self, GXml & xml)"},
45109 { (char *)"GCTAOnOffObservations_models", _wrap_GCTAOnOffObservations_models, METH_VARARGS0x0001, (char *)"\n"
45110 "models(GModels const & models)\n"
45111 "models(std::string const & filename)\n"
45112 "GCTAOnOffObservations_models(GCTAOnOffObservations self) -> GModels const &\n"
45113 ""},
45114 { (char *)"GCTAOnOffObservations___getitem__", _wrap_GCTAOnOffObservations___getitem__, METH_VARARGS0x0001, (char *)"GCTAOnOffObservations___getitem__(GCTAOnOffObservations self, int const & index) -> GCTAOnOffObservation"},
45115 { (char *)"GCTAOnOffObservations___setitem__", _wrap_GCTAOnOffObservations___setitem__, METH_VARARGS0x0001, (char *)"GCTAOnOffObservations___setitem__(GCTAOnOffObservations self, int const & index, GCTAOnOffObservation val)"},
45116 { (char *)"GCTAOnOffObservations___len__", _wrap_GCTAOnOffObservations___len__, METH_VARARGS0x0001, (char *)"GCTAOnOffObservations___len__(GCTAOnOffObservations self) -> int"},
45117 { (char *)"GCTAOnOffObservations_copy", _wrap_GCTAOnOffObservations_copy, METH_VARARGS0x0001, (char *)"GCTAOnOffObservations_copy(GCTAOnOffObservations self) -> GCTAOnOffObservations"},
45118 { (char *)"GCTAOnOffObservations_swigregister", GCTAOnOffObservations_swigregister, METH_VARARGS0x0001, NULL__null},
45119 { (char *)"new_GCTAEventCube", _wrap_new_GCTAEventCube, METH_VARARGS0x0001, (char *)"\n"
45120 "GCTAEventCube()\n"
45121 "GCTAEventCube(GSkymap const & map, GEbounds const & ebds, GGti const & gti)\n"
45122 "new_GCTAEventCube(GCTAEventCube cube) -> GCTAEventCube\n"
45123 ""},
45124 { (char *)"delete_GCTAEventCube", _wrap_delete_GCTAEventCube, METH_VARARGS0x0001, (char *)"delete_GCTAEventCube(GCTAEventCube self)"},
45125 { (char *)"GCTAEventCube_clear", _wrap_GCTAEventCube_clear, METH_VARARGS0x0001, (char *)"GCTAEventCube_clear(GCTAEventCube self)"},
45126 { (char *)"GCTAEventCube_clone", _wrap_GCTAEventCube_clone, METH_VARARGS0x0001, (char *)"GCTAEventCube_clone(GCTAEventCube self) -> GCTAEventCube"},
45127 { (char *)"GCTAEventCube_size", _wrap_GCTAEventCube_size, METH_VARARGS0x0001, (char *)"GCTAEventCube_size(GCTAEventCube self) -> int"},
45128 { (char *)"GCTAEventCube_dim", _wrap_GCTAEventCube_dim, METH_VARARGS0x0001, (char *)"GCTAEventCube_dim(GCTAEventCube self) -> int"},
45129 { (char *)"GCTAEventCube_naxis", _wrap_GCTAEventCube_naxis, METH_VARARGS0x0001, (char *)"GCTAEventCube_naxis(GCTAEventCube self, int const & axis) -> int"},
45130 { (char *)"GCTAEventCube_load", _wrap_GCTAEventCube_load, METH_VARARGS0x0001, (char *)"GCTAEventCube_load(GCTAEventCube self, std::string const & filename)"},
45131 { (char *)"GCTAEventCube_save", _wrap_GCTAEventCube_save, METH_VARARGS0x0001, (char *)"\n"
45132 "save(std::string const & filename, bool const & clobber=False)\n"
45133 "GCTAEventCube_save(GCTAEventCube self, std::string const & filename)\n"
45134 ""},
45135 { (char *)"GCTAEventCube_read", _wrap_GCTAEventCube_read, METH_VARARGS0x0001, (char *)"GCTAEventCube_read(GCTAEventCube self, GFits const & file)"},
45136 { (char *)"GCTAEventCube_write", _wrap_GCTAEventCube_write, METH_VARARGS0x0001, (char *)"GCTAEventCube_write(GCTAEventCube self, GFits & file)"},
45137 { (char *)"GCTAEventCube_number", _wrap_GCTAEventCube_number, METH_VARARGS0x0001, (char *)"GCTAEventCube_number(GCTAEventCube self) -> int"},
45138 { (char *)"GCTAEventCube_map", _wrap_GCTAEventCube_map, METH_VARARGS0x0001, (char *)"\n"
45139 "map(GSkymap const & map)\n"
45140 "GCTAEventCube_map(GCTAEventCube self) -> GSkymap const &\n"
45141 ""},
45142 { (char *)"GCTAEventCube_nx", _wrap_GCTAEventCube_nx, METH_VARARGS0x0001, (char *)"GCTAEventCube_nx(GCTAEventCube self) -> int"},
45143 { (char *)"GCTAEventCube_ny", _wrap_GCTAEventCube_ny, METH_VARARGS0x0001, (char *)"GCTAEventCube_ny(GCTAEventCube self) -> int"},
45144 { (char *)"GCTAEventCube_npix", _wrap_GCTAEventCube_npix, METH_VARARGS0x0001, (char *)"GCTAEventCube_npix(GCTAEventCube self) -> int"},
45145 { (char *)"GCTAEventCube_ebins", _wrap_GCTAEventCube_ebins, METH_VARARGS0x0001, (char *)"GCTAEventCube_ebins(GCTAEventCube self) -> int"},
45146 { (char *)"GCTAEventCube_copy", _wrap_GCTAEventCube_copy, METH_VARARGS0x0001, (char *)"GCTAEventCube_copy(GCTAEventCube self) -> GCTAEventCube"},
45147 { (char *)"GCTAEventCube___getitem__", _wrap_GCTAEventCube___getitem__, METH_VARARGS0x0001, (char *)"GCTAEventCube___getitem__(GCTAEventCube self, int index) -> GCTAEventBin"},
45148 { (char *)"GCTAEventCube___setitem__", _wrap_GCTAEventCube___setitem__, METH_VARARGS0x0001, (char *)"GCTAEventCube___setitem__(GCTAEventCube self, int index, GCTAEventBin val)"},
45149 { (char *)"GCTAEventCube_swigregister", GCTAEventCube_swigregister, METH_VARARGS0x0001, NULL__null},
45150 { (char *)"new_GCTAEventList", _wrap_new_GCTAEventList, METH_VARARGS0x0001, (char *)"\n"
45151 "GCTAEventList()\n"
45152 "new_GCTAEventList(GCTAEventList list) -> GCTAEventList\n"
45153 ""},
45154 { (char *)"delete_GCTAEventList", _wrap_delete_GCTAEventList, METH_VARARGS0x0001, (char *)"delete_GCTAEventList(GCTAEventList self)"},
45155 { (char *)"GCTAEventList_clear", _wrap_GCTAEventList_clear, METH_VARARGS0x0001, (char *)"GCTAEventList_clear(GCTAEventList self)"},
45156 { (char *)"GCTAEventList_clone", _wrap_GCTAEventList_clone, METH_VARARGS0x0001, (char *)"GCTAEventList_clone(GCTAEventList self) -> GCTAEventList"},
45157 { (char *)"GCTAEventList_size", _wrap_GCTAEventList_size, METH_VARARGS0x0001, (char *)"GCTAEventList_size(GCTAEventList self) -> int"},
45158 { (char *)"GCTAEventList_load", _wrap_GCTAEventList_load, METH_VARARGS0x0001, (char *)"GCTAEventList_load(GCTAEventList self, std::string const & filename)"},
45159 { (char *)"GCTAEventList_save", _wrap_GCTAEventList_save, METH_VARARGS0x0001, (char *)"\n"
45160 "save(std::string const & filename, bool const & clobber=False)\n"
45161 "GCTAEventList_save(GCTAEventList self, std::string const & filename)\n"
45162 ""},
45163 { (char *)"GCTAEventList_read", _wrap_GCTAEventList_read, METH_VARARGS0x0001, (char *)"GCTAEventList_read(GCTAEventList self, GFits const & file)"},
45164 { (char *)"GCTAEventList_write", _wrap_GCTAEventList_write, METH_VARARGS0x0001, (char *)"GCTAEventList_write(GCTAEventList self, GFits & file)"},
45165 { (char *)"GCTAEventList_number", _wrap_GCTAEventList_number, METH_VARARGS0x0001, (char *)"GCTAEventList_number(GCTAEventList self) -> int"},
45166 { (char *)"GCTAEventList_roi", _wrap_GCTAEventList_roi, METH_VARARGS0x0001, (char *)"\n"
45167 "roi(GRoi roi)\n"
45168 "GCTAEventList_roi(GCTAEventList self) -> GCTARoi\n"
45169 ""},
45170 { (char *)"GCTAEventList_append", _wrap_GCTAEventList_append, METH_VARARGS0x0001, (char *)"GCTAEventList_append(GCTAEventList self, GCTAEventAtom event)"},
45171 { (char *)"GCTAEventList_reserve", _wrap_GCTAEventList_reserve, METH_VARARGS0x0001, (char *)"GCTAEventList_reserve(GCTAEventList self, int const & number)"},
45172 { (char *)"GCTAEventList_irf_cache", _wrap_GCTAEventList_irf_cache, METH_VARARGS0x0001, (char *)"\n"
45173 "irf_cache(std::string const & name, int const & index) -> double\n"
45174 "GCTAEventList_irf_cache(GCTAEventList self, std::string const & name, int const & index, double const & irf)\n"
45175 ""},
45176 { (char *)"GCTAEventList_copy", _wrap_GCTAEventList_copy, METH_VARARGS0x0001, (char *)"GCTAEventList_copy(GCTAEventList self) -> GCTAEventList"},
45177 { (char *)"GCTAEventList___getitem__", _wrap_GCTAEventList___getitem__, METH_VARARGS0x0001, (char *)"GCTAEventList___getitem__(GCTAEventList self, int index) -> GCTAEventAtom"},
45178 { (char *)"GCTAEventList___setitem__", _wrap_GCTAEventList___setitem__, METH_VARARGS0x0001, (char *)"GCTAEventList___setitem__(GCTAEventList self, int index, GCTAEventAtom val)"},
45179 { (char *)"GCTAEventList_swigregister", GCTAEventList_swigregister, METH_VARARGS0x0001, NULL__null},
45180 { (char *)"new_GCTAEventBin", _wrap_new_GCTAEventBin, METH_VARARGS0x0001, (char *)"\n"
45181 "GCTAEventBin()\n"
45182 "new_GCTAEventBin(GCTAEventBin bin) -> GCTAEventBin\n"
45183 ""},
45184 { (char *)"delete_GCTAEventBin", _wrap_delete_GCTAEventBin, METH_VARARGS0x0001, (char *)"delete_GCTAEventBin(GCTAEventBin self)"},
45185 { (char *)"GCTAEventBin_clear", _wrap_GCTAEventBin_clear, METH_VARARGS0x0001, (char *)"GCTAEventBin_clear(GCTAEventBin self)"},
45186 { (char *)"GCTAEventBin_clone", _wrap_GCTAEventBin_clone, METH_VARARGS0x0001, (char *)"GCTAEventBin_clone(GCTAEventBin self) -> GCTAEventBin"},
45187 { (char *)"GCTAEventBin_size", _wrap_GCTAEventBin_size, METH_VARARGS0x0001, (char *)"GCTAEventBin_size(GCTAEventBin self) -> double"},
45188 { (char *)"GCTAEventBin_dir", _wrap_GCTAEventBin_dir, METH_VARARGS0x0001, (char *)"GCTAEventBin_dir(GCTAEventBin self) -> GCTAInstDir"},
45189 { (char *)"GCTAEventBin_energy", _wrap_GCTAEventBin_energy, METH_VARARGS0x0001, (char *)"GCTAEventBin_energy(GCTAEventBin self) -> GEnergy const &"},
45190 { (char *)"GCTAEventBin_time", _wrap_GCTAEventBin_time, METH_VARARGS0x0001, (char *)"GCTAEventBin_time(GCTAEventBin self) -> GTime const &"},
45191 { (char *)"GCTAEventBin_error", _wrap_GCTAEventBin_error, METH_VARARGS0x0001, (char *)"GCTAEventBin_error(GCTAEventBin self) -> double"},
45192 { (char *)"GCTAEventBin_counts", _wrap_GCTAEventBin_counts, METH_VARARGS0x0001, (char *)"\n"
45193 "counts() -> double\n"
45194 "GCTAEventBin_counts(GCTAEventBin self, double const & counts)\n"
45195 ""},
45196 { (char *)"GCTAEventBin_solidangle", _wrap_GCTAEventBin_solidangle, METH_VARARGS0x0001, (char *)"GCTAEventBin_solidangle(GCTAEventBin self) -> double const &"},
45197 { (char *)"GCTAEventBin_ewidth", _wrap_GCTAEventBin_ewidth, METH_VARARGS0x0001, (char *)"GCTAEventBin_ewidth(GCTAEventBin self) -> GEnergy const &"},
45198 { (char *)"GCTAEventBin_ontime", _wrap_GCTAEventBin_ontime, METH_VARARGS0x0001, (char *)"GCTAEventBin_ontime(GCTAEventBin self) -> double const &"},
45199 { (char *)"GCTAEventBin_copy", _wrap_GCTAEventBin_copy, METH_VARARGS0x0001, (char *)"GCTAEventBin_copy(GCTAEventBin self) -> GCTAEventBin"},
45200 { (char *)"GCTAEventBin_swigregister", GCTAEventBin_swigregister, METH_VARARGS0x0001, NULL__null},
45201 { (char *)"new_GCTAEventAtom", _wrap_new_GCTAEventAtom, METH_VARARGS0x0001, (char *)"\n"
45202 "GCTAEventAtom()\n"
45203 "new_GCTAEventAtom(GCTAEventAtom atom) -> GCTAEventAtom\n"
45204 ""},
45205 { (char *)"delete_GCTAEventAtom", _wrap_delete_GCTAEventAtom, METH_VARARGS0x0001, (char *)"delete_GCTAEventAtom(GCTAEventAtom self)"},
45206 { (char *)"GCTAEventAtom_clear", _wrap_GCTAEventAtom_clear, METH_VARARGS0x0001, (char *)"GCTAEventAtom_clear(GCTAEventAtom self)"},
45207 { (char *)"GCTAEventAtom_clone", _wrap_GCTAEventAtom_clone, METH_VARARGS0x0001, (char *)"GCTAEventAtom_clone(GCTAEventAtom self) -> GCTAEventAtom"},
45208 { (char *)"GCTAEventAtom_dir", _wrap_GCTAEventAtom_dir, METH_VARARGS0x0001, (char *)"\n"
45209 "dir() -> GCTAInstDir\n"
45210 "GCTAEventAtom_dir(GCTAEventAtom self, GCTAInstDir dir)\n"
45211 ""},
45212 { (char *)"GCTAEventAtom_energy", _wrap_GCTAEventAtom_energy, METH_VARARGS0x0001, (char *)"\n"
45213 "energy() -> GEnergy const\n"
45214 "GCTAEventAtom_energy(GCTAEventAtom self, GEnergy const & energy)\n"
45215 ""},
45216 { (char *)"GCTAEventAtom_time", _wrap_GCTAEventAtom_time, METH_VARARGS0x0001, (char *)"\n"
45217 "time() -> GTime const\n"
45218 "GCTAEventAtom_time(GCTAEventAtom self, GTime const & time)\n"
45219 ""},
45220 { (char *)"GCTAEventAtom_index", _wrap_GCTAEventAtom_index, METH_VARARGS0x0001, (char *)"GCTAEventAtom_index(GCTAEventAtom self) -> int const &"},
45221 { (char *)"GCTAEventAtom_event_id", _wrap_GCTAEventAtom_event_id, METH_VARARGS0x0001, (char *)"\n"
45222 "event_id() -> unsigned long const\n"
45223 "GCTAEventAtom_event_id(GCTAEventAtom self, unsigned long const & id)\n"
45224 ""},
45225 { (char *)"GCTAEventAtom_obs_id", _wrap_GCTAEventAtom_obs_id, METH_VARARGS0x0001, (char *)"\n"
45226 "obs_id() -> unsigned long const\n"
45227 "GCTAEventAtom_obs_id(GCTAEventAtom self, unsigned long const & id)\n"
45228 ""},
45229 { (char *)"GCTAEventAtom_copy", _wrap_GCTAEventAtom_copy, METH_VARARGS0x0001, (char *)"GCTAEventAtom_copy(GCTAEventAtom self) -> GCTAEventAtom"},
45230 { (char *)"GCTAEventAtom_swigregister", GCTAEventAtom_swigregister, METH_VARARGS0x0001, NULL__null},
45231 { (char *)"new_GCTAPointing", _wrap_new_GCTAPointing, METH_VARARGS0x0001, (char *)"\n"
45232 "GCTAPointing()\n"
45233 "new_GCTAPointing(GCTAPointing pnt) -> GCTAPointing\n"
45234 ""},
45235 { (char *)"delete_GCTAPointing", _wrap_delete_GCTAPointing, METH_VARARGS0x0001, (char *)"delete_GCTAPointing(GCTAPointing self)"},
45236 { (char *)"GCTAPointing_clear", _wrap_GCTAPointing_clear, METH_VARARGS0x0001, (char *)"GCTAPointing_clear(GCTAPointing self)"},
45237 { (char *)"GCTAPointing_clone", _wrap_GCTAPointing_clone, METH_VARARGS0x0001, (char *)"GCTAPointing_clone(GCTAPointing self) -> GCTAPointing"},
45238 { (char *)"GCTAPointing_dir", _wrap_GCTAPointing_dir, METH_VARARGS0x0001, (char *)"\n"
45239 "dir() -> GSkyDir const\n"
45240 "GCTAPointing_dir(GCTAPointing self, GSkyDir const & dir)\n"
45241 ""},
45242 { (char *)"GCTAPointing_rot", _wrap_GCTAPointing_rot, METH_VARARGS0x0001, (char *)"GCTAPointing_rot(GCTAPointing self) -> GMatrix const &"},
45243 { (char *)"GCTAPointing_zenith", _wrap_GCTAPointing_zenith, METH_VARARGS0x0001, (char *)"GCTAPointing_zenith(GCTAPointing self) -> double const &"},
45244 { (char *)"GCTAPointing_azimuth", _wrap_GCTAPointing_azimuth, METH_VARARGS0x0001, (char *)"GCTAPointing_azimuth(GCTAPointing self) -> double const &"},
45245 { (char *)"GCTAPointing_copy", _wrap_GCTAPointing_copy, METH_VARARGS0x0001, (char *)"GCTAPointing_copy(GCTAPointing self) -> GCTAPointing"},
45246 { (char *)"GCTAPointing_swigregister", GCTAPointing_swigregister, METH_VARARGS0x0001, NULL__null},
45247 { (char *)"new_GCTAResponse", _wrap_new_GCTAResponse, METH_VARARGS0x0001, (char *)"\n"
45248 "GCTAResponse()\n"
45249 "GCTAResponse(GCTAResponse rsp)\n"
45250 "GCTAResponse(std::string const & rspname, std::string const & caldb=\"\")\n"
45251 "new_GCTAResponse(std::string const & rspname) -> GCTAResponse\n"
45252 ""},
45253 { (char *)"delete_GCTAResponse", _wrap_delete_GCTAResponse, METH_VARARGS0x0001, (char *)"delete_GCTAResponse(GCTAResponse self)"},
45254 { (char *)"GCTAResponse_clear", _wrap_GCTAResponse_clear, METH_VARARGS0x0001, (char *)"GCTAResponse_clear(GCTAResponse self)"},
45255 { (char *)"GCTAResponse_clone", _wrap_GCTAResponse_clone, METH_VARARGS0x0001, (char *)"GCTAResponse_clone(GCTAResponse self) -> GCTAResponse"},
45256 { (char *)"GCTAResponse_hasedisp", _wrap_GCTAResponse_hasedisp, METH_VARARGS0x0001, (char *)"GCTAResponse_hasedisp(GCTAResponse self) -> bool"},
45257 { (char *)"GCTAResponse_hastdisp", _wrap_GCTAResponse_hastdisp, METH_VARARGS0x0001, (char *)"GCTAResponse_hastdisp(GCTAResponse self) -> bool"},
45258 { (char *)"GCTAResponse_irf", _wrap_GCTAResponse_irf, METH_VARARGS0x0001, (char *)"GCTAResponse_irf(GCTAResponse self, GEvent event, GPhoton const & photon, GObservation obs) -> double"},
45259 { (char *)"GCTAResponse_npred", _wrap_GCTAResponse_npred, METH_VARARGS0x0001, (char *)"GCTAResponse_npred(GCTAResponse self, GPhoton const & photon, GObservation obs) -> double"},
45260 { (char *)"GCTAResponse_irf_radial", _wrap_GCTAResponse_irf_radial, METH_VARARGS0x0001, (char *)"GCTAResponse_irf_radial(GCTAResponse self, GEvent event, GSource const & source, GObservation obs) -> double"},
45261 { (char *)"GCTAResponse_irf_diffuse", _wrap_GCTAResponse_irf_diffuse, METH_VARARGS0x0001, (char *)"GCTAResponse_irf_diffuse(GCTAResponse self, GEvent event, GSource const & source, GObservation obs) -> double"},
45262 { (char *)"GCTAResponse_npred_radial", _wrap_GCTAResponse_npred_radial, METH_VARARGS0x0001, (char *)"GCTAResponse_npred_radial(GCTAResponse self, GSource const & source, GObservation obs) -> double"},
45263 { (char *)"GCTAResponse_npred_diffuse", _wrap_GCTAResponse_npred_diffuse, METH_VARARGS0x0001, (char *)"GCTAResponse_npred_diffuse(GCTAResponse self, GSource const & source, GObservation obs) -> double"},
45264 { (char *)"GCTAResponse_mc", _wrap_GCTAResponse_mc, METH_VARARGS0x0001, (char *)"\n"
45265 "GCTAResponse_mc(GCTAResponse self, double const & area, GPhoton const & photon, GObservation obs, \n"
45266 " GRan & ran) -> GCTAEventAtom\n"
45267 ""},
45268 { (char *)"GCTAResponse_caldb", _wrap_GCTAResponse_caldb, METH_VARARGS0x0001, (char *)"\n"
45269 "caldb(std::string const & caldb)\n"
45270 "GCTAResponse_caldb(GCTAResponse self) -> std::string const &\n"
45271 ""},
45272 { (char *)"GCTAResponse_load", _wrap_GCTAResponse_load, METH_VARARGS0x0001, (char *)"GCTAResponse_load(GCTAResponse self, std::string const & rspname)"},
45273 { (char *)"GCTAResponse_eps", _wrap_GCTAResponse_eps, METH_VARARGS0x0001, (char *)"\n"
45274 "eps(double const & eps)\n"
45275 "GCTAResponse_eps(GCTAResponse self) -> double const &\n"
45276 ""},
45277 { (char *)"GCTAResponse_rmffile", _wrap_GCTAResponse_rmffile, METH_VARARGS0x0001, (char *)"GCTAResponse_rmffile(GCTAResponse self) -> std::string const &"},
45278 { (char *)"GCTAResponse_load_aeff", _wrap_GCTAResponse_load_aeff, METH_VARARGS0x0001, (char *)"GCTAResponse_load_aeff(GCTAResponse self, std::string const & filename)"},
45279 { (char *)"GCTAResponse_load_psf", _wrap_GCTAResponse_load_psf, METH_VARARGS0x0001, (char *)"GCTAResponse_load_psf(GCTAResponse self, std::string const & filename)"},
45280 { (char *)"GCTAResponse_load_edisp", _wrap_GCTAResponse_load_edisp, METH_VARARGS0x0001, (char *)"GCTAResponse_load_edisp(GCTAResponse self, std::string const & filename)"},
45281 { (char *)"GCTAResponse_offset_sigma", _wrap_GCTAResponse_offset_sigma, METH_VARARGS0x0001, (char *)"\n"
45282 "offset_sigma(double const & sigma)\n"
45283 "GCTAResponse_offset_sigma(GCTAResponse self) -> double\n"
45284 ""},
45285 { (char *)"GCTAResponse_aeff", _wrap_GCTAResponse_aeff, METH_VARARGS0x0001, (char *)"\n"
45286 "aeff() -> GCTAAeff\n"
45287 "aeff(GCTAAeff aeff)\n"
45288 "GCTAResponse_aeff(GCTAResponse self, double const & theta, double const & phi, double const & zenith, \n"
45289 " double const & azimuth, double const & srcLogEng) -> double\n"
45290 ""},
45291 { (char *)"GCTAResponse_psf", _wrap_GCTAResponse_psf, METH_VARARGS0x0001, (char *)"\n"
45292 "psf() -> GCTAPsf\n"
45293 "psf(GCTAPsf psf)\n"
45294 "GCTAResponse_psf(GCTAResponse self, double const & delta, double const & theta, double const & phi, \n"
45295 " double const & zenith, double const & azimuth, double const & srcLogEng) -> double\n"
45296 ""},
45297 { (char *)"GCTAResponse_psf_delta_max", _wrap_GCTAResponse_psf_delta_max, METH_VARARGS0x0001, (char *)"\n"
45298 "GCTAResponse_psf_delta_max(GCTAResponse self, double const & theta, double const & phi, double const & zenith, \n"
45299 " double const & azimuth, double const & srcLogEng) -> double\n"
45300 ""},
45301 { (char *)"GCTAResponse_edisp", _wrap_GCTAResponse_edisp, METH_VARARGS0x0001, (char *)"\n"
45302 "edisp() -> GCTAEdisp\n"
45303 "edisp(GCTAEdisp edisp)\n"
45304 "GCTAResponse_edisp(GCTAResponse self, double const & obsLogEng, double const & theta, double const & phi, \n"
45305 " double const & zenith, double const & azimuth, double const & srcLogEng) -> double\n"
45306 ""},
45307 { (char *)"GCTAResponse_npsf", _wrap_GCTAResponse_npsf, METH_VARARGS0x0001, (char *)"\n"
45308 "GCTAResponse_npsf(GCTAResponse self, GSkyDir const & srcDir, double const & srcLogEng, GTime const & srcTime, \n"
45309 " GCTAPointing pnt, GCTARoi roi) -> double\n"
45310 ""},
45311 { (char *)"GCTAResponse_nedisp", _wrap_GCTAResponse_nedisp, METH_VARARGS0x0001, (char *)"\n"
45312 "GCTAResponse_nedisp(GCTAResponse self, GSkyDir const & srcDir, GEnergy const & srcEng, GTime const & srcTime, \n"
45313 " GCTAPointing pnt, GEbounds const & ebds) -> double\n"
45314 ""},
45315 { (char *)"GCTAResponse_copy", _wrap_GCTAResponse_copy, METH_VARARGS0x0001, (char *)"GCTAResponse_copy(GCTAResponse self) -> GCTAResponse"},
45316 { (char *)"GCTAResponse_swigregister", GCTAResponse_swigregister, METH_VARARGS0x0001, NULL__null},
45317 { (char *)"VecDouble_iterator", _wrap_VecDouble_iterator, METH_VARARGS0x0001, (char *)"VecDouble_iterator(VecDouble self) -> SwigPyIterator"},
45318 { (char *)"VecDouble___nonzero__", _wrap_VecDouble___nonzero__, METH_VARARGS0x0001, (char *)"VecDouble___nonzero__(VecDouble self) -> bool"},
45319 { (char *)"VecDouble___bool__", _wrap_VecDouble___bool__, METH_VARARGS0x0001, (char *)"VecDouble___bool__(VecDouble self) -> bool"},
45320 { (char *)"VecDouble___len__", _wrap_VecDouble___len__, METH_VARARGS0x0001, (char *)"VecDouble___len__(VecDouble self) -> std::vector< double >::size_type"},
45321 { (char *)"VecDouble_pop", _wrap_VecDouble_pop, METH_VARARGS0x0001, (char *)"VecDouble_pop(VecDouble self) -> std::vector< double >::value_type"},
45322 { (char *)"VecDouble___getslice__", _wrap_VecDouble___getslice__, METH_VARARGS0x0001, (char *)"VecDouble___getslice__(VecDouble self, std::vector< double >::difference_type i, std::vector< double >::difference_type j) -> VecDouble"},
45323 { (char *)"VecDouble___setslice__", _wrap_VecDouble___setslice__, METH_VARARGS0x0001, (char *)"\n"
45324 "__setslice__(std::vector< double >::difference_type i, std::vector< double >::difference_type j, \n"
45325 " VecDouble v=std::vector< double,std::allocator< double > >())\n"
45326 "VecDouble___setslice__(VecDouble self, std::vector< double >::difference_type i, std::vector< double >::difference_type j)\n"
45327 ""},
45328 { (char *)"VecDouble___delslice__", _wrap_VecDouble___delslice__, METH_VARARGS0x0001, (char *)"VecDouble___delslice__(VecDouble self, std::vector< double >::difference_type i, std::vector< double >::difference_type j)"},
45329 { (char *)"VecDouble___delitem__", _wrap_VecDouble___delitem__, METH_VARARGS0x0001, (char *)"\n"
45330 "__delitem__(std::vector< double >::difference_type i)\n"
45331 "VecDouble___delitem__(VecDouble self, PySliceObject * slice)\n"
45332 ""},
45333 { (char *)"VecDouble___getitem__", _wrap_VecDouble___getitem__, METH_VARARGS0x0001, (char *)"\n"
45334 "__getitem__(PySliceObject * slice) -> VecDouble\n"
45335 "VecDouble___getitem__(VecDouble self, std::vector< double >::difference_type i) -> std::vector< double >::value_type const &\n"
45336 ""},
45337 { (char *)"VecDouble___setitem__", _wrap_VecDouble___setitem__, METH_VARARGS0x0001, (char *)"\n"
45338 "__setitem__(PySliceObject * slice, VecDouble v)\n"
45339 "__setitem__(PySliceObject * slice)\n"
45340 "VecDouble___setitem__(VecDouble self, std::vector< double >::difference_type i, std::vector< double >::value_type const & x)\n"
45341 ""},
45342 { (char *)"VecDouble_append", _wrap_VecDouble_append, METH_VARARGS0x0001, (char *)"VecDouble_append(VecDouble self, std::vector< double >::value_type const & x)"},
45343 { (char *)"VecDouble_empty", _wrap_VecDouble_empty, METH_VARARGS0x0001, (char *)"VecDouble_empty(VecDouble self) -> bool"},
45344 { (char *)"VecDouble_size", _wrap_VecDouble_size, METH_VARARGS0x0001, (char *)"VecDouble_size(VecDouble self) -> std::vector< double >::size_type"},
45345 { (char *)"VecDouble_clear", _wrap_VecDouble_clear, METH_VARARGS0x0001, (char *)"VecDouble_clear(VecDouble self)"},
45346 { (char *)"VecDouble_swap", _wrap_VecDouble_swap, METH_VARARGS0x0001, (char *)"VecDouble_swap(VecDouble self, VecDouble v)"},
45347 { (char *)"VecDouble_get_allocator", _wrap_VecDouble_get_allocator, METH_VARARGS0x0001, (char *)"VecDouble_get_allocator(VecDouble self) -> std::vector< double >::allocator_type"},
45348 { (char *)"VecDouble_begin", _wrap_VecDouble_begin, METH_VARARGS0x0001, (char *)"VecDouble_begin(VecDouble self) -> std::vector< double >::iterator"},
45349 { (char *)"VecDouble_end", _wrap_VecDouble_end, METH_VARARGS0x0001, (char *)"VecDouble_end(VecDouble self) -> std::vector< double >::iterator"},
45350 { (char *)"VecDouble_rbegin", _wrap_VecDouble_rbegin, METH_VARARGS0x0001, (char *)"VecDouble_rbegin(VecDouble self) -> std::vector< double >::reverse_iterator"},
45351 { (char *)"VecDouble_rend", _wrap_VecDouble_rend, METH_VARARGS0x0001, (char *)"VecDouble_rend(VecDouble self) -> std::vector< double >::reverse_iterator"},
45352 { (char *)"VecDouble_pop_back", _wrap_VecDouble_pop_back, METH_VARARGS0x0001, (char *)"VecDouble_pop_back(VecDouble self)"},
45353 { (char *)"VecDouble_erase", _wrap_VecDouble_erase, METH_VARARGS0x0001, (char *)"\n"
45354 "erase(std::vector< double >::iterator pos) -> std::vector< double >::iterator\n"
45355 "VecDouble_erase(VecDouble self, std::vector< double >::iterator first, std::vector< double >::iterator last) -> std::vector< double >::iterator\n"
45356 ""},
45357 { (char *)"new_VecDouble", _wrap_new_VecDouble, METH_VARARGS0x0001, (char *)"\n"
45358 "VecDouble()\n"
45359 "VecDouble(VecDouble arg2)\n"
45360 "VecDouble(std::vector< double >::size_type size)\n"
45361 "new_VecDouble(std::vector< double >::size_type size, std::vector< double >::value_type const & value) -> VecDouble\n"
45362 ""},
45363 { (char *)"VecDouble_push_back", _wrap_VecDouble_push_back, METH_VARARGS0x0001, (char *)"VecDouble_push_back(VecDouble self, std::vector< double >::value_type const & x)"},
45364 { (char *)"VecDouble_front", _wrap_VecDouble_front, METH_VARARGS0x0001, (char *)"VecDouble_front(VecDouble self) -> std::vector< double >::value_type const &"},
45365 { (char *)"VecDouble_back", _wrap_VecDouble_back, METH_VARARGS0x0001, (char *)"VecDouble_back(VecDouble self) -> std::vector< double >::value_type const &"},
45366 { (char *)"VecDouble_assign", _wrap_VecDouble_assign, METH_VARARGS0x0001, (char *)"VecDouble_assign(VecDouble self, std::vector< double >::size_type n, std::vector< double >::value_type const & x)"},
45367 { (char *)"VecDouble_resize", _wrap_VecDouble_resize, METH_VARARGS0x0001, (char *)"\n"
45368 "resize(std::vector< double >::size_type new_size)\n"
45369 "VecDouble_resize(VecDouble self, std::vector< double >::size_type new_size, std::vector< double >::value_type const & x)\n"
45370 ""},
45371 { (char *)"VecDouble_insert", _wrap_VecDouble_insert, METH_VARARGS0x0001, (char *)"\n"
45372 "insert(std::vector< double >::iterator pos, std::vector< double >::value_type const & x) -> std::vector< double >::iterator\n"
45373 "VecDouble_insert(VecDouble self, std::vector< double >::iterator pos, std::vector< double >::size_type n, \n"
45374 " std::vector< double >::value_type const & x)\n"
45375 ""},
45376 { (char *)"VecDouble_reserve", _wrap_VecDouble_reserve, METH_VARARGS0x0001, (char *)"VecDouble_reserve(VecDouble self, std::vector< double >::size_type n)"},
45377 { (char *)"VecDouble_capacity", _wrap_VecDouble_capacity, METH_VARARGS0x0001, (char *)"VecDouble_capacity(VecDouble self) -> std::vector< double >::size_type"},
45378 { (char *)"delete_VecDouble", _wrap_delete_VecDouble, METH_VARARGS0x0001, (char *)"delete_VecDouble(VecDouble self)"},
45379 { (char *)"VecDouble_swigregister", VecDouble_swigregister, METH_VARARGS0x0001, NULL__null},
45380 { (char *)"new_GCTAResponseTable", _wrap_new_GCTAResponseTable, METH_VARARGS0x0001, (char *)"\n"
45381 "GCTAResponseTable()\n"
45382 "GCTAResponseTable(GCTAResponseTable table)\n"
45383 "new_GCTAResponseTable(GFitsTable const & hdu) -> GCTAResponseTable\n"
45384 ""},
45385 { (char *)"delete_GCTAResponseTable", _wrap_delete_GCTAResponseTable, METH_VARARGS0x0001, (char *)"delete_GCTAResponseTable(GCTAResponseTable self)"},
45386 { (char *)"GCTAResponseTable___call__", _wrap_GCTAResponseTable___call__, METH_VARARGS0x0001, (char *)"\n"
45387 "__call__(double const & arg) -> VecDouble\n"
45388 "__call__(double const & arg1, double const & arg2) -> VecDouble\n"
45389 "__call__(int const & index, double const & arg) -> double\n"
45390 "GCTAResponseTable___call__(GCTAResponseTable self, int const & index, double const & arg1, double const & arg2) -> double\n"
45391 ""},
45392 { (char *)"GCTAResponseTable_clear", _wrap_GCTAResponseTable_clear, METH_VARARGS0x0001, (char *)"GCTAResponseTable_clear(GCTAResponseTable self)"},
45393 { (char *)"GCTAResponseTable_clone", _wrap_GCTAResponseTable_clone, METH_VARARGS0x0001, (char *)"GCTAResponseTable_clone(GCTAResponseTable self) -> GCTAResponseTable"},
45394 { (char *)"GCTAResponseTable_size", _wrap_GCTAResponseTable_size, METH_VARARGS0x0001, (char *)"GCTAResponseTable_size(GCTAResponseTable self) -> int"},
45395 { (char *)"GCTAResponseTable_elements", _wrap_GCTAResponseTable_elements, METH_VARARGS0x0001, (char *)"GCTAResponseTable_elements(GCTAResponseTable self) -> int const &"},
45396 { (char *)"GCTAResponseTable_axes", _wrap_GCTAResponseTable_axes, METH_VARARGS0x0001, (char *)"GCTAResponseTable_axes(GCTAResponseTable self) -> int const &"},
45397 { (char *)"GCTAResponseTable_axis", _wrap_GCTAResponseTable_axis, METH_VARARGS0x0001, (char *)"GCTAResponseTable_axis(GCTAResponseTable self, int const & index) -> int"},
45398 { (char *)"GCTAResponseTable_axis_lo", _wrap_GCTAResponseTable_axis_lo, METH_VARARGS0x0001, (char *)"GCTAResponseTable_axis_lo(GCTAResponseTable self, int const & index, int const & bin) -> double"},
45399 { (char *)"GCTAResponseTable_axis_hi", _wrap_GCTAResponseTable_axis_hi, METH_VARARGS0x0001, (char *)"GCTAResponseTable_axis_hi(GCTAResponseTable self, int const & index, int const & bin) -> double"},
45400 { (char *)"GCTAResponseTable_axis_linear", _wrap_GCTAResponseTable_axis_linear, METH_VARARGS0x0001, (char *)"GCTAResponseTable_axis_linear(GCTAResponseTable self, int const & index)"},
45401 { (char *)"GCTAResponseTable_axis_log10", _wrap_GCTAResponseTable_axis_log10, METH_VARARGS0x0001, (char *)"GCTAResponseTable_axis_log10(GCTAResponseTable self, int const & index)"},
45402 { (char *)"GCTAResponseTable_axis_radians", _wrap_GCTAResponseTable_axis_radians, METH_VARARGS0x0001, (char *)"GCTAResponseTable_axis_radians(GCTAResponseTable self, int const & index)"},
45403 { (char *)"GCTAResponseTable_scale", _wrap_GCTAResponseTable_scale, METH_VARARGS0x0001, (char *)"GCTAResponseTable_scale(GCTAResponseTable self, int const & index, double const & scale)"},
45404 { (char *)"GCTAResponseTable_read", _wrap_GCTAResponseTable_read, METH_VARARGS0x0001, (char *)"GCTAResponseTable_read(GCTAResponseTable self, GFitsTable const & hdu)"},
45405 { (char *)"GCTAResponseTable_write", _wrap_GCTAResponseTable_write, METH_VARARGS0x0001, (char *)"GCTAResponseTable_write(GCTAResponseTable self, GFitsTable & hdu)"},
45406 { (char *)"GCTAResponseTable_copy", _wrap_GCTAResponseTable_copy, METH_VARARGS0x0001, (char *)"GCTAResponseTable_copy(GCTAResponseTable self) -> GCTAResponseTable"},
45407 { (char *)"GCTAResponseTable_swigregister", GCTAResponseTable_swigregister, METH_VARARGS0x0001, NULL__null},
45408 { (char *)"delete_GCTAAeff", _wrap_delete_GCTAAeff, METH_VARARGS0x0001, (char *)"delete_GCTAAeff(GCTAAeff self)"},
45409 { (char *)"GCTAAeff___call__", _wrap_GCTAAeff___call__, METH_VARARGS0x0001, (char *)"\n"
45410 "__call__(double const & logE, double const & theta=0.0, double const & phi=0.0, double const & zenith=0.0, \n"
45411 " double const & azimuth=0.0, bool const & etrue=True) -> double\n"
45412 "__call__(double const & logE, double const & theta=0.0, double const & phi=0.0, double const & zenith=0.0, \n"
45413 " double const & azimuth=0.0) -> double\n"
45414 "__call__(double const & logE, double const & theta=0.0, double const & phi=0.0, double const & zenith=0.0) -> double\n"
45415 "__call__(double const & logE, double const & theta=0.0, double const & phi=0.0) -> double\n"
45416 "__call__(double const & logE, double const & theta=0.0) -> double\n"
45417 "GCTAAeff___call__(GCTAAeff self, double const & logE) -> double\n"
45418 ""},
45419 { (char *)"GCTAAeff_clear", _wrap_GCTAAeff_clear, METH_VARARGS0x0001, (char *)"GCTAAeff_clear(GCTAAeff self)"},
45420 { (char *)"GCTAAeff_clone", _wrap_GCTAAeff_clone, METH_VARARGS0x0001, (char *)"GCTAAeff_clone(GCTAAeff self) -> GCTAAeff"},
45421 { (char *)"GCTAAeff_load", _wrap_GCTAAeff_load, METH_VARARGS0x0001, (char *)"GCTAAeff_load(GCTAAeff self, std::string const & filename)"},
45422 { (char *)"GCTAAeff_filename", _wrap_GCTAAeff_filename, METH_VARARGS0x0001, (char *)"GCTAAeff_filename(GCTAAeff self) -> std::string"},
45423 { (char *)"GCTAAeff_swigregister", GCTAAeff_swigregister, METH_VARARGS0x0001, NULL__null},
45424 { (char *)"new_GCTAAeffPerfTable", _wrap_new_GCTAAeffPerfTable, METH_VARARGS0x0001, (char *)"\n"
45425 "GCTAAeffPerfTable()\n"
45426 "GCTAAeffPerfTable(std::string const & filename)\n"
45427 "new_GCTAAeffPerfTable(GCTAAeffPerfTable cta) -> GCTAAeffPerfTable\n"
45428 ""},
45429 { (char *)"delete_GCTAAeffPerfTable", _wrap_delete_GCTAAeffPerfTable, METH_VARARGS0x0001, (char *)"delete_GCTAAeffPerfTable(GCTAAeffPerfTable self)"},
45430 { (char *)"GCTAAeffPerfTable___call__", _wrap_GCTAAeffPerfTable___call__, METH_VARARGS0x0001, (char *)"\n"
45431 "__call__(double const & logE, double const & theta=0.0, double const & phi=0.0, double const & zenith=0.0, \n"
45432 " double const & azimuth=0.0, bool const & etrue=True) -> double\n"
45433 "__call__(double const & logE, double const & theta=0.0, double const & phi=0.0, double const & zenith=0.0, \n"
45434 " double const & azimuth=0.0) -> double\n"
45435 "__call__(double const & logE, double const & theta=0.0, double const & phi=0.0, double const & zenith=0.0) -> double\n"
45436 "__call__(double const & logE, double const & theta=0.0, double const & phi=0.0) -> double\n"
45437 "__call__(double const & logE, double const & theta=0.0) -> double\n"
45438 "GCTAAeffPerfTable___call__(GCTAAeffPerfTable self, double const & logE) -> double\n"
45439 ""},
45440 { (char *)"GCTAAeffPerfTable_clear", _wrap_GCTAAeffPerfTable_clear, METH_VARARGS0x0001, (char *)"GCTAAeffPerfTable_clear(GCTAAeffPerfTable self)"},
45441 { (char *)"GCTAAeffPerfTable_clone", _wrap_GCTAAeffPerfTable_clone, METH_VARARGS0x0001, (char *)"GCTAAeffPerfTable_clone(GCTAAeffPerfTable self) -> GCTAAeffPerfTable"},
45442 { (char *)"GCTAAeffPerfTable_load", _wrap_GCTAAeffPerfTable_load, METH_VARARGS0x0001, (char *)"GCTAAeffPerfTable_load(GCTAAeffPerfTable self, std::string const & filename)"},
45443 { (char *)"GCTAAeffPerfTable_filename", _wrap_GCTAAeffPerfTable_filename, METH_VARARGS0x0001, (char *)"GCTAAeffPerfTable_filename(GCTAAeffPerfTable self) -> std::string"},
45444 { (char *)"GCTAAeffPerfTable_size", _wrap_GCTAAeffPerfTable_size, METH_VARARGS0x0001, (char *)"GCTAAeffPerfTable_size(GCTAAeffPerfTable self) -> int"},
45445 { (char *)"GCTAAeffPerfTable_sigma", _wrap_GCTAAeffPerfTable_sigma, METH_VARARGS0x0001, (char *)"\n"
45446 "sigma(double const & sigma)\n"
45447 "GCTAAeffPerfTable_sigma(GCTAAeffPerfTable self) -> double const &\n"
45448 ""},
45449 { (char *)"GCTAAeffPerfTable_copy", _wrap_GCTAAeffPerfTable_copy, METH_VARARGS0x0001, (char *)"GCTAAeffPerfTable_copy(GCTAAeffPerfTable self) -> GCTAAeffPerfTable"},
45450 { (char *)"GCTAAeffPerfTable_swigregister", GCTAAeffPerfTable_swigregister, METH_VARARGS0x0001, NULL__null},
45451 { (char *)"new_GCTAAeffArf", _wrap_new_GCTAAeffArf, METH_VARARGS0x0001, (char *)"\n"
45452 "GCTAAeffArf()\n"
45453 "GCTAAeffArf(std::string const & filename)\n"
45454 "new_GCTAAeffArf(GCTAAeffArf cta) -> GCTAAeffArf\n"
45455 ""},
45456 { (char *)"delete_GCTAAeffArf", _wrap_delete_GCTAAeffArf, METH_VARARGS0x0001, (char *)"delete_GCTAAeffArf(GCTAAeffArf self)"},
45457 { (char *)"GCTAAeffArf___call__", _wrap_GCTAAeffArf___call__, METH_VARARGS0x0001, (char *)"\n"
45458 "__call__(double const & logE, double const & theta=0.0, double const & phi=0.0, double const & zenith=0.0, \n"
45459 " double const & azimuth=0.0, bool const & etrue=True) -> double\n"
45460 "__call__(double const & logE, double const & theta=0.0, double const & phi=0.0, double const & zenith=0.0, \n"
45461 " double const & azimuth=0.0) -> double\n"
45462 "__call__(double const & logE, double const & theta=0.0, double const & phi=0.0, double const & zenith=0.0) -> double\n"
45463 "__call__(double const & logE, double const & theta=0.0, double const & phi=0.0) -> double\n"
45464 "__call__(double const & logE, double const & theta=0.0) -> double\n"
45465 "GCTAAeffArf___call__(GCTAAeffArf self, double const & logE) -> double\n"
45466 ""},
45467 { (char *)"GCTAAeffArf_clear", _wrap_GCTAAeffArf_clear, METH_VARARGS0x0001, (char *)"GCTAAeffArf_clear(GCTAAeffArf self)"},
45468 { (char *)"GCTAAeffArf_clone", _wrap_GCTAAeffArf_clone, METH_VARARGS0x0001, (char *)"GCTAAeffArf_clone(GCTAAeffArf self) -> GCTAAeffArf"},
45469 { (char *)"GCTAAeffArf_load", _wrap_GCTAAeffArf_load, METH_VARARGS0x0001, (char *)"GCTAAeffArf_load(GCTAAeffArf self, std::string const & filename)"},
45470 { (char *)"GCTAAeffArf_filename", _wrap_GCTAAeffArf_filename, METH_VARARGS0x0001, (char *)"GCTAAeffArf_filename(GCTAAeffArf self) -> std::string"},
45471 { (char *)"GCTAAeffArf_size", _wrap_GCTAAeffArf_size, METH_VARARGS0x0001, (char *)"GCTAAeffArf_size(GCTAAeffArf self) -> int"},
45472 { (char *)"GCTAAeffArf_sigma", _wrap_GCTAAeffArf_sigma, METH_VARARGS0x0001, (char *)"\n"
45473 "sigma(double const & sigma)\n"
45474 "GCTAAeffArf_sigma(GCTAAeffArf self) -> double const &\n"
45475 ""},
45476 { (char *)"GCTAAeffArf_thetacut", _wrap_GCTAAeffArf_thetacut, METH_VARARGS0x0001, (char *)"\n"
45477 "thetacut(double const & thetacut)\n"
45478 "GCTAAeffArf_thetacut(GCTAAeffArf self) -> double const &\n"
45479 ""},
45480 { (char *)"GCTAAeffArf_scale", _wrap_GCTAAeffArf_scale, METH_VARARGS0x0001, (char *)"\n"
45481 "scale(double const & scale)\n"
45482 "GCTAAeffArf_scale(GCTAAeffArf self) -> double const &\n"
45483 ""},
45484 { (char *)"GCTAAeffArf_read", _wrap_GCTAAeffArf_read, METH_VARARGS0x0001, (char *)"GCTAAeffArf_read(GCTAAeffArf self, GFitsTable const & hdu)"},
45485 { (char *)"GCTAAeffArf_remove_thetacut", _wrap_GCTAAeffArf_remove_thetacut, METH_VARARGS0x0001, (char *)"GCTAAeffArf_remove_thetacut(GCTAAeffArf self, GCTAResponse rsp)"},
45486 { (char *)"GCTAAeffArf_copy", _wrap_GCTAAeffArf_copy, METH_VARARGS0x0001, (char *)"GCTAAeffArf_copy(GCTAAeffArf self) -> GCTAAeffArf"},
45487 { (char *)"GCTAAeffArf_swigregister", GCTAAeffArf_swigregister, METH_VARARGS0x0001, NULL__null},
45488 { (char *)"new_GCTAAeff2D", _wrap_new_GCTAAeff2D, METH_VARARGS0x0001, (char *)"\n"
45489 "GCTAAeff2D()\n"
45490 "GCTAAeff2D(std::string const & filename)\n"
45491 "new_GCTAAeff2D(GCTAAeff2D cta) -> GCTAAeff2D\n"
45492 ""},
45493 { (char *)"delete_GCTAAeff2D", _wrap_delete_GCTAAeff2D, METH_VARARGS0x0001, (char *)"delete_GCTAAeff2D(GCTAAeff2D self)"},
45494 { (char *)"GCTAAeff2D___call__", _wrap_GCTAAeff2D___call__, METH_VARARGS0x0001, (char *)"\n"
45495 "__call__(double const & logE, double const & theta=0.0, double const & phi=0.0, double const & zenith=0.0, \n"
45496 " double const & azimuth=0.0, bool const & etrue=True) -> double\n"
45497 "__call__(double const & logE, double const & theta=0.0, double const & phi=0.0, double const & zenith=0.0, \n"
45498 " double const & azimuth=0.0) -> double\n"
45499 "__call__(double const & logE, double const & theta=0.0, double const & phi=0.0, double const & zenith=0.0) -> double\n"
45500 "__call__(double const & logE, double const & theta=0.0, double const & phi=0.0) -> double\n"
45501 "__call__(double const & logE, double const & theta=0.0) -> double\n"
45502 "GCTAAeff2D___call__(GCTAAeff2D self, double const & logE) -> double\n"
45503 ""},
45504 { (char *)"GCTAAeff2D_clear", _wrap_GCTAAeff2D_clear, METH_VARARGS0x0001, (char *)"GCTAAeff2D_clear(GCTAAeff2D self)"},
45505 { (char *)"GCTAAeff2D_clone", _wrap_GCTAAeff2D_clone, METH_VARARGS0x0001, (char *)"GCTAAeff2D_clone(GCTAAeff2D self) -> GCTAAeff2D"},
45506 { (char *)"GCTAAeff2D_load", _wrap_GCTAAeff2D_load, METH_VARARGS0x0001, (char *)"GCTAAeff2D_load(GCTAAeff2D self, std::string const & filename)"},
45507 { (char *)"GCTAAeff2D_filename", _wrap_GCTAAeff2D_filename, METH_VARARGS0x0001, (char *)"GCTAAeff2D_filename(GCTAAeff2D self) -> std::string"},
45508 { (char *)"GCTAAeff2D_read", _wrap_GCTAAeff2D_read, METH_VARARGS0x0001, (char *)"GCTAAeff2D_read(GCTAAeff2D self, GFits const & file)"},
45509 { (char *)"GCTAAeff2D_copy", _wrap_GCTAAeff2D_copy, METH_VARARGS0x0001, (char *)"GCTAAeff2D_copy(GCTAAeff2D self) -> GCTAAeff2D"},
45510 { (char *)"GCTAAeff2D_swigregister", GCTAAeff2D_swigregister, METH_VARARGS0x0001, NULL__null},
45511 { (char *)"delete_GCTAPsf", _wrap_delete_GCTAPsf, METH_VARARGS0x0001, (char *)"delete_GCTAPsf(GCTAPsf self)"},
45512 { (char *)"GCTAPsf___call__", _wrap_GCTAPsf___call__, METH_VARARGS0x0001, (char *)"\n"
45513 "__call__(double const & delta, double const & logE, double const & theta=0.0, double const & phi=0.0, \n"
45514 " double const & zenith=0.0, double const & azimuth=0.0, bool const & etrue=True) -> double\n"
45515 "__call__(double const & delta, double const & logE, double const & theta=0.0, double const & phi=0.0, \n"
45516 " double const & zenith=0.0, double const & azimuth=0.0) -> double\n"
45517 "__call__(double const & delta, double const & logE, double const & theta=0.0, double const & phi=0.0, \n"
45518 " double const & zenith=0.0) -> double\n"
45519 "__call__(double const & delta, double const & logE, double const & theta=0.0, double const & phi=0.0) -> double\n"
45520 "__call__(double const & delta, double const & logE, double const & theta=0.0) -> double\n"
45521 "GCTAPsf___call__(GCTAPsf self, double const & delta, double const & logE) -> double\n"
45522 ""},
45523 { (char *)"GCTAPsf_clear", _wrap_GCTAPsf_clear, METH_VARARGS0x0001, (char *)"GCTAPsf_clear(GCTAPsf self)"},
45524 { (char *)"GCTAPsf_clone", _wrap_GCTAPsf_clone, METH_VARARGS0x0001, (char *)"GCTAPsf_clone(GCTAPsf self) -> GCTAPsf"},
45525 { (char *)"GCTAPsf_load", _wrap_GCTAPsf_load, METH_VARARGS0x0001, (char *)"GCTAPsf_load(GCTAPsf self, std::string const & filename)"},
45526 { (char *)"GCTAPsf_filename", _wrap_GCTAPsf_filename, METH_VARARGS0x0001, (char *)"GCTAPsf_filename(GCTAPsf self) -> std::string"},
45527 { (char *)"GCTAPsf_mc", _wrap_GCTAPsf_mc, METH_VARARGS0x0001, (char *)"\n"
45528 "mc(GRan & ran, double const & logE, double const & theta=0.0, double const & phi=0.0, \n"
45529 " double const & zenith=0.0, double const & azimuth=0.0, bool const & etrue=True) -> double\n"
45530 "mc(GRan & ran, double const & logE, double const & theta=0.0, double const & phi=0.0, \n"
45531 " double const & zenith=0.0, double const & azimuth=0.0) -> double\n"
45532 "mc(GRan & ran, double const & logE, double const & theta=0.0, double const & phi=0.0, \n"
45533 " double const & zenith=0.0) -> double\n"
45534 "mc(GRan & ran, double const & logE, double const & theta=0.0, double const & phi=0.0) -> double\n"
45535 "mc(GRan & ran, double const & logE, double const & theta=0.0) -> double\n"
45536 "GCTAPsf_mc(GCTAPsf self, GRan & ran, double const & logE) -> double\n"
45537 ""},
45538 { (char *)"GCTAPsf_delta_max", _wrap_GCTAPsf_delta_max, METH_VARARGS0x0001, (char *)"\n"
45539 "delta_max(double const & logE, double const & theta=0.0, double const & phi=0.0, double const & zenith=0.0, \n"
45540 " double const & azimuth=0.0, bool const & etrue=True) -> double\n"
45541 "delta_max(double const & logE, double const & theta=0.0, double const & phi=0.0, double const & zenith=0.0, \n"
45542 " double const & azimuth=0.0) -> double\n"
45543 "delta_max(double const & logE, double const & theta=0.0, double const & phi=0.0, double const & zenith=0.0) -> double\n"
45544 "delta_max(double const & logE, double const & theta=0.0, double const & phi=0.0) -> double\n"
45545 "delta_max(double const & logE, double const & theta=0.0) -> double\n"
45546 "GCTAPsf_delta_max(GCTAPsf self, double const & logE) -> double\n"
45547 ""},
45548 { (char *)"GCTAPsf_swigregister", GCTAPsf_swigregister, METH_VARARGS0x0001, NULL__null},
45549 { (char *)"new_GCTAPsfPerfTable", _wrap_new_GCTAPsfPerfTable, METH_VARARGS0x0001, (char *)"\n"
45550 "GCTAPsfPerfTable()\n"
45551 "GCTAPsfPerfTable(std::string const & filename)\n"
45552 "new_GCTAPsfPerfTable(GCTAPsfPerfTable psf) -> GCTAPsfPerfTable\n"
45553 ""},
45554 { (char *)"delete_GCTAPsfPerfTable", _wrap_delete_GCTAPsfPerfTable, METH_VARARGS0x0001, (char *)"delete_GCTAPsfPerfTable(GCTAPsfPerfTable self)"},
45555 { (char *)"GCTAPsfPerfTable___call__", _wrap_GCTAPsfPerfTable___call__, METH_VARARGS0x0001, (char *)"\n"
45556 "__call__(double const & delta, double const & logE, double const & theta=0.0, double const & phi=0.0, \n"
45557 " double const & zenith=0.0, double const & azimuth=0.0, bool const & etrue=True) -> double\n"
45558 "__call__(double const & delta, double const & logE, double const & theta=0.0, double const & phi=0.0, \n"
45559 " double const & zenith=0.0, double const & azimuth=0.0) -> double\n"
45560 "__call__(double const & delta, double const & logE, double const & theta=0.0, double const & phi=0.0, \n"
45561 " double const & zenith=0.0) -> double\n"
45562 "__call__(double const & delta, double const & logE, double const & theta=0.0, double const & phi=0.0) -> double\n"
45563 "__call__(double const & delta, double const & logE, double const & theta=0.0) -> double\n"
45564 "GCTAPsfPerfTable___call__(GCTAPsfPerfTable self, double const & delta, double const & logE) -> double\n"
45565 ""},
45566 { (char *)"GCTAPsfPerfTable_clear", _wrap_GCTAPsfPerfTable_clear, METH_VARARGS0x0001, (char *)"GCTAPsfPerfTable_clear(GCTAPsfPerfTable self)"},
45567 { (char *)"GCTAPsfPerfTable_clone", _wrap_GCTAPsfPerfTable_clone, METH_VARARGS0x0001, (char *)"GCTAPsfPerfTable_clone(GCTAPsfPerfTable self) -> GCTAPsfPerfTable"},
45568 { (char *)"GCTAPsfPerfTable_load", _wrap_GCTAPsfPerfTable_load, METH_VARARGS0x0001, (char *)"GCTAPsfPerfTable_load(GCTAPsfPerfTable self, std::string const & filename)"},
45569 { (char *)"GCTAPsfPerfTable_filename", _wrap_GCTAPsfPerfTable_filename, METH_VARARGS0x0001, (char *)"GCTAPsfPerfTable_filename(GCTAPsfPerfTable self) -> std::string"},
45570 { (char *)"GCTAPsfPerfTable_mc", _wrap_GCTAPsfPerfTable_mc, METH_VARARGS0x0001, (char *)"\n"
45571 "mc(GRan & ran, double const & logE, double const & theta=0.0, double const & phi=0.0, \n"
45572 " double const & zenith=0.0, double const & azimuth=0.0, bool const & etrue=True) -> double\n"
45573 "mc(GRan & ran, double const & logE, double const & theta=0.0, double const & phi=0.0, \n"
45574 " double const & zenith=0.0, double const & azimuth=0.0) -> double\n"
45575 "mc(GRan & ran, double const & logE, double const & theta=0.0, double const & phi=0.0, \n"
45576 " double const & zenith=0.0) -> double\n"
45577 "mc(GRan & ran, double const & logE, double const & theta=0.0, double const & phi=0.0) -> double\n"
45578 "mc(GRan & ran, double const & logE, double const & theta=0.0) -> double\n"
45579 "GCTAPsfPerfTable_mc(GCTAPsfPerfTable self, GRan & ran, double const & logE) -> double\n"
45580 ""},
45581 { (char *)"GCTAPsfPerfTable_delta_max", _wrap_GCTAPsfPerfTable_delta_max, METH_VARARGS0x0001, (char *)"\n"
45582 "delta_max(double const & logE, double const & theta=0.0, double const & phi=0.0, double const & zenith=0.0, \n"
45583 " double const & azimuth=0.0, bool const & etrue=True) -> double\n"
45584 "delta_max(double const & logE, double const & theta=0.0, double const & phi=0.0, double const & zenith=0.0, \n"
45585 " double const & azimuth=0.0) -> double\n"
45586 "delta_max(double const & logE, double const & theta=0.0, double const & phi=0.0, double const & zenith=0.0) -> double\n"
45587 "delta_max(double const & logE, double const & theta=0.0, double const & phi=0.0) -> double\n"
45588 "delta_max(double const & logE, double const & theta=0.0) -> double\n"
45589 "GCTAPsfPerfTable_delta_max(GCTAPsfPerfTable self, double const & logE) -> double\n"
45590 ""},
45591 { (char *)"GCTAPsfPerfTable_copy", _wrap_GCTAPsfPerfTable_copy, METH_VARARGS0x0001, (char *)"GCTAPsfPerfTable_copy(GCTAPsfPerfTable self) -> GCTAPsfPerfTable"},
45592 { (char *)"GCTAPsfPerfTable_swigregister", GCTAPsfPerfTable_swigregister, METH_VARARGS0x0001, NULL__null},
45593 { (char *)"new_GCTAPsfVector", _wrap_new_GCTAPsfVector, METH_VARARGS0x0001, (char *)"\n"
45594 "GCTAPsfVector()\n"
45595 "GCTAPsfVector(std::string const & filename)\n"
45596 "new_GCTAPsfVector(GCTAPsfVector psf) -> GCTAPsfVector\n"
45597 ""},
45598 { (char *)"delete_GCTAPsfVector", _wrap_delete_GCTAPsfVector, METH_VARARGS0x0001, (char *)"delete_GCTAPsfVector(GCTAPsfVector self)"},
45599 { (char *)"GCTAPsfVector___call__", _wrap_GCTAPsfVector___call__, METH_VARARGS0x0001, (char *)"\n"
45600 "__call__(double const & delta, double const & logE, double const & theta=0.0, double const & phi=0.0, \n"
45601 " double const & zenith=0.0, double const & azimuth=0.0, bool const & etrue=True) -> double\n"
45602 "__call__(double const & delta, double const & logE, double const & theta=0.0, double const & phi=0.0, \n"
45603 " double const & zenith=0.0, double const & azimuth=0.0) -> double\n"
45604 "__call__(double const & delta, double const & logE, double const & theta=0.0, double const & phi=0.0, \n"
45605 " double const & zenith=0.0) -> double\n"
45606 "__call__(double const & delta, double const & logE, double const & theta=0.0, double const & phi=0.0) -> double\n"
45607 "__call__(double const & delta, double const & logE, double const & theta=0.0) -> double\n"
45608 "GCTAPsfVector___call__(GCTAPsfVector self, double const & delta, double const & logE) -> double\n"
45609 ""},
45610 { (char *)"GCTAPsfVector_clear", _wrap_GCTAPsfVector_clear, METH_VARARGS0x0001, (char *)"GCTAPsfVector_clear(GCTAPsfVector self)"},
45611 { (char *)"GCTAPsfVector_clone", _wrap_GCTAPsfVector_clone, METH_VARARGS0x0001, (char *)"GCTAPsfVector_clone(GCTAPsfVector self) -> GCTAPsfVector"},
45612 { (char *)"GCTAPsfVector_load", _wrap_GCTAPsfVector_load, METH_VARARGS0x0001, (char *)"GCTAPsfVector_load(GCTAPsfVector self, std::string const & filename)"},
45613 { (char *)"GCTAPsfVector_filename", _wrap_GCTAPsfVector_filename, METH_VARARGS0x0001, (char *)"GCTAPsfVector_filename(GCTAPsfVector self) -> std::string"},
45614 { (char *)"GCTAPsfVector_mc", _wrap_GCTAPsfVector_mc, METH_VARARGS0x0001, (char *)"\n"
45615 "mc(GRan & ran, double const & logE, double const & theta=0.0, double const & phi=0.0, \n"
45616 " double const & zenith=0.0, double const & azimuth=0.0, bool const & etrue=True) -> double\n"
45617 "mc(GRan & ran, double const & logE, double const & theta=0.0, double const & phi=0.0, \n"
45618 " double const & zenith=0.0, double const & azimuth=0.0) -> double\n"
45619 "mc(GRan & ran, double const & logE, double const & theta=0.0, double const & phi=0.0, \n"
45620 " double const & zenith=0.0) -> double\n"
45621 "mc(GRan & ran, double const & logE, double const & theta=0.0, double const & phi=0.0) -> double\n"
45622 "mc(GRan & ran, double const & logE, double const & theta=0.0) -> double\n"
45623 "GCTAPsfVector_mc(GCTAPsfVector self, GRan & ran, double const & logE) -> double\n"
45624 ""},
45625 { (char *)"GCTAPsfVector_delta_max", _wrap_GCTAPsfVector_delta_max, METH_VARARGS0x0001, (char *)"\n"
45626 "delta_max(double const & logE, double const & theta=0.0, double const & phi=0.0, double const & zenith=0.0, \n"
45627 " double const & azimuth=0.0, bool const & etrue=True) -> double\n"
45628 "delta_max(double const & logE, double const & theta=0.0, double const & phi=0.0, double const & zenith=0.0, \n"
45629 " double const & azimuth=0.0) -> double\n"
45630 "delta_max(double const & logE, double const & theta=0.0, double const & phi=0.0, double const & zenith=0.0) -> double\n"
45631 "delta_max(double const & logE, double const & theta=0.0, double const & phi=0.0) -> double\n"
45632 "delta_max(double const & logE, double const & theta=0.0) -> double\n"
45633 "GCTAPsfVector_delta_max(GCTAPsfVector self, double const & logE) -> double\n"
45634 ""},
45635 { (char *)"GCTAPsfVector_read", _wrap_GCTAPsfVector_read, METH_VARARGS0x0001, (char *)"GCTAPsfVector_read(GCTAPsfVector self, GFitsTable const & table)"},
45636 { (char *)"GCTAPsfVector_copy", _wrap_GCTAPsfVector_copy, METH_VARARGS0x0001, (char *)"GCTAPsfVector_copy(GCTAPsfVector self) -> GCTAPsfVector"},
45637 { (char *)"GCTAPsfVector_swigregister", GCTAPsfVector_swigregister, METH_VARARGS0x0001, NULL__null},
45638 { (char *)"new_GCTAPsf2D", _wrap_new_GCTAPsf2D, METH_VARARGS0x0001, (char *)"\n"
45639 "GCTAPsf2D()\n"
45640 "GCTAPsf2D(std::string const & filename)\n"
45641 "new_GCTAPsf2D(GCTAPsf2D psf) -> GCTAPsf2D\n"
45642 ""},
45643 { (char *)"delete_GCTAPsf2D", _wrap_delete_GCTAPsf2D, METH_VARARGS0x0001, (char *)"delete_GCTAPsf2D(GCTAPsf2D self)"},
45644 { (char *)"GCTAPsf2D___call__", _wrap_GCTAPsf2D___call__, METH_VARARGS0x0001, (char *)"\n"
45645 "__call__(double const & delta, double const & logE, double const & theta=0.0, double const & phi=0.0, \n"
45646 " double const & zenith=0.0, double const & azimuth=0.0, bool const & etrue=True) -> double\n"
45647 "__call__(double const & delta, double const & logE, double const & theta=0.0, double const & phi=0.0, \n"
45648 " double const & zenith=0.0, double const & azimuth=0.0) -> double\n"
45649 "__call__(double const & delta, double const & logE, double const & theta=0.0, double const & phi=0.0, \n"
45650 " double const & zenith=0.0) -> double\n"
45651 "__call__(double const & delta, double const & logE, double const & theta=0.0, double const & phi=0.0) -> double\n"
45652 "__call__(double const & delta, double const & logE, double const & theta=0.0) -> double\n"
45653 "GCTAPsf2D___call__(GCTAPsf2D self, double const & delta, double const & logE) -> double\n"
45654 ""},
45655 { (char *)"GCTAPsf2D_clear", _wrap_GCTAPsf2D_clear, METH_VARARGS0x0001, (char *)"GCTAPsf2D_clear(GCTAPsf2D self)"},
45656 { (char *)"GCTAPsf2D_clone", _wrap_GCTAPsf2D_clone, METH_VARARGS0x0001, (char *)"GCTAPsf2D_clone(GCTAPsf2D self) -> GCTAPsf2D"},
45657 { (char *)"GCTAPsf2D_load", _wrap_GCTAPsf2D_load, METH_VARARGS0x0001, (char *)"GCTAPsf2D_load(GCTAPsf2D self, std::string const & filename)"},
45658 { (char *)"GCTAPsf2D_filename", _wrap_GCTAPsf2D_filename, METH_VARARGS0x0001, (char *)"GCTAPsf2D_filename(GCTAPsf2D self) -> std::string"},
45659 { (char *)"GCTAPsf2D_mc", _wrap_GCTAPsf2D_mc, METH_VARARGS0x0001, (char *)"\n"
45660 "mc(GRan & ran, double const & logE, double const & theta=0.0, double const & phi=0.0, \n"
45661 " double const & zenith=0.0, double const & azimuth=0.0, bool const & etrue=True) -> double\n"
45662 "mc(GRan & ran, double const & logE, double const & theta=0.0, double const & phi=0.0, \n"
45663 " double const & zenith=0.0, double const & azimuth=0.0) -> double\n"
45664 "mc(GRan & ran, double const & logE, double const & theta=0.0, double const & phi=0.0, \n"
45665 " double const & zenith=0.0) -> double\n"
45666 "mc(GRan & ran, double const & logE, double const & theta=0.0, double const & phi=0.0) -> double\n"
45667 "mc(GRan & ran, double const & logE, double const & theta=0.0) -> double\n"
45668 "GCTAPsf2D_mc(GCTAPsf2D self, GRan & ran, double const & logE) -> double\n"
45669 ""},
45670 { (char *)"GCTAPsf2D_delta_max", _wrap_GCTAPsf2D_delta_max, METH_VARARGS0x0001, (char *)"\n"
45671 "delta_max(double const & logE, double const & theta=0.0, double const & phi=0.0, double const & zenith=0.0, \n"
45672 " double const & azimuth=0.0, bool const & etrue=True) -> double\n"
45673 "delta_max(double const & logE, double const & theta=0.0, double const & phi=0.0, double const & zenith=0.0, \n"
45674 " double const & azimuth=0.0) -> double\n"
45675 "delta_max(double const & logE, double const & theta=0.0, double const & phi=0.0, double const & zenith=0.0) -> double\n"
45676 "delta_max(double const & logE, double const & theta=0.0, double const & phi=0.0) -> double\n"
45677 "delta_max(double const & logE, double const & theta=0.0) -> double\n"
45678 "GCTAPsf2D_delta_max(GCTAPsf2D self, double const & logE) -> double\n"
45679 ""},
45680 { (char *)"GCTAPsf2D_copy", _wrap_GCTAPsf2D_copy, METH_VARARGS0x0001, (char *)"GCTAPsf2D_copy(GCTAPsf2D self) -> GCTAPsf2D"},
45681 { (char *)"GCTAPsf2D_swigregister", GCTAPsf2D_swigregister, METH_VARARGS0x0001, NULL__null},
45682 { (char *)"new_GCTAPsfKing", _wrap_new_GCTAPsfKing, METH_VARARGS0x0001, (char *)"\n"
45683 "GCTAPsfKing()\n"
45684 "GCTAPsfKing(std::string const & filename)\n"
45685 "new_GCTAPsfKing(GCTAPsfKing psf) -> GCTAPsfKing\n"
45686 ""},
45687 { (char *)"delete_GCTAPsfKing", _wrap_delete_GCTAPsfKing, METH_VARARGS0x0001, (char *)"delete_GCTAPsfKing(GCTAPsfKing self)"},
45688 { (char *)"GCTAPsfKing___call__", _wrap_GCTAPsfKing___call__, METH_VARARGS0x0001, (char *)"\n"
45689 "__call__(double const & delta, double const & logE, double const & theta=0.0, double const & phi=0.0, \n"
45690 " double const & zenith=0.0, double const & azimuth=0.0, bool const & etrue=True) -> double\n"
45691 "__call__(double const & delta, double const & logE, double const & theta=0.0, double const & phi=0.0, \n"
45692 " double const & zenith=0.0, double const & azimuth=0.0) -> double\n"
45693 "__call__(double const & delta, double const & logE, double const & theta=0.0, double const & phi=0.0, \n"
45694 " double const & zenith=0.0) -> double\n"
45695 "__call__(double const & delta, double const & logE, double const & theta=0.0, double const & phi=0.0) -> double\n"
45696 "__call__(double const & delta, double const & logE, double const & theta=0.0) -> double\n"
45697 "GCTAPsfKing___call__(GCTAPsfKing self, double const & delta, double const & logE) -> double\n"
45698 ""},
45699 { (char *)"GCTAPsfKing_clear", _wrap_GCTAPsfKing_clear, METH_VARARGS0x0001, (char *)"GCTAPsfKing_clear(GCTAPsfKing self)"},
45700 { (char *)"GCTAPsfKing_clone", _wrap_GCTAPsfKing_clone, METH_VARARGS0x0001, (char *)"GCTAPsfKing_clone(GCTAPsfKing self) -> GCTAPsfKing"},
45701 { (char *)"GCTAPsfKing_load", _wrap_GCTAPsfKing_load, METH_VARARGS0x0001, (char *)"GCTAPsfKing_load(GCTAPsfKing self, std::string const & filename)"},
45702 { (char *)"GCTAPsfKing_filename", _wrap_GCTAPsfKing_filename, METH_VARARGS0x0001, (char *)"GCTAPsfKing_filename(GCTAPsfKing self) -> std::string"},
45703 { (char *)"GCTAPsfKing_mc", _wrap_GCTAPsfKing_mc, METH_VARARGS0x0001, (char *)"\n"
45704 "mc(GRan & ran, double const & logE, double const & theta=0.0, double const & phi=0.0, \n"
45705 " double const & zenith=0.0, double const & azimuth=0.0, bool const & etrue=True) -> double\n"
45706 "mc(GRan & ran, double const & logE, double const & theta=0.0, double const & phi=0.0, \n"
45707 " double const & zenith=0.0, double const & azimuth=0.0) -> double\n"
45708 "mc(GRan & ran, double const & logE, double const & theta=0.0, double const & phi=0.0, \n"
45709 " double const & zenith=0.0) -> double\n"
45710 "mc(GRan & ran, double const & logE, double const & theta=0.0, double const & phi=0.0) -> double\n"
45711 "mc(GRan & ran, double const & logE, double const & theta=0.0) -> double\n"
45712 "GCTAPsfKing_mc(GCTAPsfKing self, GRan & ran, double const & logE) -> double\n"
45713 ""},
45714 { (char *)"GCTAPsfKing_delta_max", _wrap_GCTAPsfKing_delta_max, METH_VARARGS0x0001, (char *)"\n"
45715 "delta_max(double const & logE, double const & theta=0.0, double const & phi=0.0, double const & zenith=0.0, \n"
45716 " double const & azimuth=0.0, bool const & etrue=True) -> double\n"
45717 "delta_max(double const & logE, double const & theta=0.0, double const & phi=0.0, double const & zenith=0.0, \n"
45718 " double const & azimuth=0.0) -> double\n"
45719 "delta_max(double const & logE, double const & theta=0.0, double const & phi=0.0, double const & zenith=0.0) -> double\n"
45720 "delta_max(double const & logE, double const & theta=0.0, double const & phi=0.0) -> double\n"
45721 "delta_max(double const & logE, double const & theta=0.0) -> double\n"
45722 "GCTAPsfKing_delta_max(GCTAPsfKing self, double const & logE) -> double\n"
45723 ""},
45724 { (char *)"GCTAPsfKing_copy", _wrap_GCTAPsfKing_copy, METH_VARARGS0x0001, (char *)"GCTAPsfKing_copy(GCTAPsfKing self) -> GCTAPsfKing"},
45725 { (char *)"GCTAPsfKing_swigregister", GCTAPsfKing_swigregister, METH_VARARGS0x0001, NULL__null},
45726 { (char *)"delete_GCTAEdisp", _wrap_delete_GCTAEdisp, METH_VARARGS0x0001, (char *)"delete_GCTAEdisp(GCTAEdisp self)"},
45727 { (char *)"GCTAEdisp___call__", _wrap_GCTAEdisp___call__, METH_VARARGS0x0001, (char *)"\n"
45728 "__call__(double const & logEobs, double const & logEsrc, double const & theta=0.0, double const & phi=0.0, \n"
45729 " double const & zenith=0.0, double const & azimuth=0.0) -> double\n"
45730 "__call__(double const & logEobs, double const & logEsrc, double const & theta=0.0, double const & phi=0.0, \n"
45731 " double const & zenith=0.0) -> double\n"
45732 "__call__(double const & logEobs, double const & logEsrc, double const & theta=0.0, double const & phi=0.0) -> double\n"
45733 "__call__(double const & logEobs, double const & logEsrc, double const & theta=0.0) -> double\n"
45734 "GCTAEdisp___call__(GCTAEdisp self, double const & logEobs, double const & logEsrc) -> double\n"
45735 ""},
45736 { (char *)"GCTAEdisp_clear", _wrap_GCTAEdisp_clear, METH_VARARGS0x0001, (char *)"GCTAEdisp_clear(GCTAEdisp self)"},
45737 { (char *)"GCTAEdisp_clone", _wrap_GCTAEdisp_clone, METH_VARARGS0x0001, (char *)"GCTAEdisp_clone(GCTAEdisp self) -> GCTAEdisp"},
45738 { (char *)"GCTAEdisp_load", _wrap_GCTAEdisp_load, METH_VARARGS0x0001, (char *)"GCTAEdisp_load(GCTAEdisp self, std::string const & filename)"},
45739 { (char *)"GCTAEdisp_filename", _wrap_GCTAEdisp_filename, METH_VARARGS0x0001, (char *)"GCTAEdisp_filename(GCTAEdisp self) -> std::string"},
45740 { (char *)"GCTAEdisp_swigregister", GCTAEdisp_swigregister, METH_VARARGS0x0001, NULL__null},
45741 { (char *)"delete_GCTAInstDir", _wrap_delete_GCTAInstDir, METH_VARARGS0x0001, (char *)"delete_GCTAInstDir(GCTAInstDir self)"},
45742 { (char *)"GCTAInstDir_clear", _wrap_GCTAInstDir_clear, METH_VARARGS0x0001, (char *)"GCTAInstDir_clear(GCTAInstDir self)"},
45743 { (char *)"GCTAInstDir_clone", _wrap_GCTAInstDir_clone, METH_VARARGS0x0001, (char *)"GCTAInstDir_clone(GCTAInstDir self) -> GCTAInstDir"},
45744 { (char *)"GCTAInstDir_dir", _wrap_GCTAInstDir_dir, METH_VARARGS0x0001, (char *)"\n"
45745 "dir(GSkyDir const & dir)\n"
45746 "GCTAInstDir_dir(GCTAInstDir self) -> GSkyDir &\n"
45747 ""},
45748 { (char *)"GCTAInstDir_copy", _wrap_GCTAInstDir_copy, METH_VARARGS0x0001, (char *)"GCTAInstDir_copy(GCTAInstDir self) -> GCTAInstDir"},
45749 { (char *)"new_GCTAInstDir", _wrap_new_GCTAInstDir, METH_VARARGS0x0001, (char *)"\n"
45750 "GCTAInstDir()\n"
45751 "GCTAInstDir(GSkyDir const & dir)\n"
45752 "GCTAInstDir(GCTAInstDir dir)\n"
45753 "new_GCTAInstDir(GInstDir dir) -> GCTAInstDir\n"
45754 ""},
45755 { (char *)"GCTAInstDir_swigregister", GCTAInstDir_swigregister, METH_VARARGS0x0001, NULL__null},
45756 { (char *)"new_GCTARoi", _wrap_new_GCTARoi, METH_VARARGS0x0001, (char *)"\n"
45757 "GCTARoi()\n"
45758 "GCTARoi(GCTAInstDir centre, double const & radius)\n"
45759 "new_GCTARoi(GCTARoi roi) -> GCTARoi\n"
45760 ""},
45761 { (char *)"delete_GCTARoi", _wrap_delete_GCTARoi, METH_VARARGS0x0001, (char *)"delete_GCTARoi(GCTARoi self)"},
45762 { (char *)"GCTARoi_clear", _wrap_GCTARoi_clear, METH_VARARGS0x0001, (char *)"GCTARoi_clear(GCTARoi self)"},
45763 { (char *)"GCTARoi_clone", _wrap_GCTARoi_clone, METH_VARARGS0x0001, (char *)"GCTARoi_clone(GCTARoi self) -> GCTARoi"},
45764 { (char *)"GCTARoi_contains", _wrap_GCTARoi_contains, METH_VARARGS0x0001, (char *)"GCTARoi_contains(GCTARoi self, GEvent event) -> bool"},
45765 { (char *)"GCTARoi_centre", _wrap_GCTARoi_centre, METH_VARARGS0x0001, (char *)"\n"
45766 "centre() -> GCTAInstDir\n"
45767 "GCTARoi_centre(GCTARoi self, GCTAInstDir centre)\n"
45768 ""},
45769 { (char *)"GCTARoi_radius", _wrap_GCTARoi_radius, METH_VARARGS0x0001, (char *)"\n"
45770 "radius() -> double const\n"
45771 "GCTARoi_radius(GCTARoi self, double const & radius)\n"
45772 ""},
45773 { (char *)"GCTARoi_copy", _wrap_GCTARoi_copy, METH_VARARGS0x0001, (char *)"GCTARoi_copy(GCTARoi self) -> GCTARoi"},
45774 { (char *)"GCTARoi_swigregister", GCTARoi_swigregister, METH_VARARGS0x0001, NULL__null},
45775 { (char *)"new_GCTAModelBackground", _wrap_new_GCTAModelBackground, METH_VARARGS0x0001, (char *)"\n"
45776 "GCTAModelBackground()\n"
45777 "GCTAModelBackground(GXmlElement const & xml)\n"
45778 "GCTAModelBackground(GModelSpatial const & spatial, GModelSpectral const & spectral)\n"
45779 "new_GCTAModelBackground(GCTAModelBackground model) -> GCTAModelBackground\n"
45780 ""},
45781 { (char *)"delete_GCTAModelBackground", _wrap_delete_GCTAModelBackground, METH_VARARGS0x0001, (char *)"delete_GCTAModelBackground(GCTAModelBackground self)"},
45782 { (char *)"GCTAModelBackground_clear", _wrap_GCTAModelBackground_clear, METH_VARARGS0x0001, (char *)"GCTAModelBackground_clear(GCTAModelBackground self)"},
45783 { (char *)"GCTAModelBackground_clone", _wrap_GCTAModelBackground_clone, METH_VARARGS0x0001, (char *)"GCTAModelBackground_clone(GCTAModelBackground self) -> GCTAModelBackground"},
45784 { (char *)"GCTAModelBackground_type", _wrap_GCTAModelBackground_type, METH_VARARGS0x0001, (char *)"GCTAModelBackground_type(GCTAModelBackground self) -> std::string"},
45785 { (char *)"GCTAModelBackground_isconstant", _wrap_GCTAModelBackground_isconstant, METH_VARARGS0x0001, (char *)"GCTAModelBackground_isconstant(GCTAModelBackground self) -> bool"},
45786 { (char *)"GCTAModelBackground_eval", _wrap_GCTAModelBackground_eval, METH_VARARGS0x0001, (char *)"GCTAModelBackground_eval(GCTAModelBackground self, GEvent event, GObservation obs) -> double"},
45787 { (char *)"GCTAModelBackground_eval_gradients", _wrap_GCTAModelBackground_eval_gradients, METH_VARARGS0x0001, (char *)"GCTAModelBackground_eval_gradients(GCTAModelBackground self, GEvent event, GObservation obs) -> double"},
45788 { (char *)"GCTAModelBackground_npred", _wrap_GCTAModelBackground_npred, METH_VARARGS0x0001, (char *)"GCTAModelBackground_npred(GCTAModelBackground self, GEnergy const & obsEng, GTime const & obsTime, GObservation obs) -> double"},
45789 { (char *)"GCTAModelBackground_mc", _wrap_GCTAModelBackground_mc, METH_VARARGS0x0001, (char *)"GCTAModelBackground_mc(GCTAModelBackground self, GObservation obs, GRan & ran) -> GCTAEventList"},
45790 { (char *)"GCTAModelBackground_read", _wrap_GCTAModelBackground_read, METH_VARARGS0x0001, (char *)"GCTAModelBackground_read(GCTAModelBackground self, GXmlElement const & xml)"},
45791 { (char *)"GCTAModelBackground_write", _wrap_GCTAModelBackground_write, METH_VARARGS0x0001, (char *)"GCTAModelBackground_write(GCTAModelBackground self, GXmlElement & xml)"},
45792 { (char *)"GCTAModelBackground_spatial", _wrap_GCTAModelBackground_spatial, METH_VARARGS0x0001, (char *)"GCTAModelBackground_spatial(GCTAModelBackground self) -> GModelSpatial *"},
45793 { (char *)"GCTAModelBackground_spectral", _wrap_GCTAModelBackground_spectral, METH_VARARGS0x0001, (char *)"GCTAModelBackground_spectral(GCTAModelBackground self) -> GModelSpectral *"},
45794 { (char *)"GCTAModelBackground_temporal", _wrap_GCTAModelBackground_temporal, METH_VARARGS0x0001, (char *)"GCTAModelBackground_temporal(GCTAModelBackground self) -> GModelTemporal *"},
45795 { (char *)"GCTAModelBackground_swigregister", GCTAModelBackground_swigregister, METH_VARARGS0x0001, NULL__null},
45796 { (char *)"delete_GCTAModelRadial", _wrap_delete_GCTAModelRadial, METH_VARARGS0x0001, (char *)"delete_GCTAModelRadial(GCTAModelRadial self)"},
45797 { (char *)"GCTAModelRadial_clear", _wrap_GCTAModelRadial_clear, METH_VARARGS0x0001, (char *)"GCTAModelRadial_clear(GCTAModelRadial self)"},
45798 { (char *)"GCTAModelRadial_clone", _wrap_GCTAModelRadial_clone, METH_VARARGS0x0001, (char *)"GCTAModelRadial_clone(GCTAModelRadial self) -> GCTAModelRadial"},
45799 { (char *)"GCTAModelRadial_type", _wrap_GCTAModelRadial_type, METH_VARARGS0x0001, (char *)"GCTAModelRadial_type(GCTAModelRadial self) -> std::string"},
45800 { (char *)"GCTAModelRadial_eval", _wrap_GCTAModelRadial_eval, METH_VARARGS0x0001, (char *)"GCTAModelRadial_eval(GCTAModelRadial self, double const & offset) -> double"},
45801 { (char *)"GCTAModelRadial_eval_gradients", _wrap_GCTAModelRadial_eval_gradients, METH_VARARGS0x0001, (char *)"GCTAModelRadial_eval_gradients(GCTAModelRadial self, double const & offset) -> double"},
45802 { (char *)"GCTAModelRadial_mc", _wrap_GCTAModelRadial_mc, METH_VARARGS0x0001, (char *)"GCTAModelRadial_mc(GCTAModelRadial self, GCTAInstDir dir, GRan & ran) -> GCTAInstDir"},
45803 { (char *)"GCTAModelRadial_omega", _wrap_GCTAModelRadial_omega, METH_VARARGS0x0001, (char *)"GCTAModelRadial_omega(GCTAModelRadial self) -> double"},
45804 { (char *)"GCTAModelRadial_read", _wrap_GCTAModelRadial_read, METH_VARARGS0x0001, (char *)"GCTAModelRadial_read(GCTAModelRadial self, GXmlElement const & xml)"},
45805 { (char *)"GCTAModelRadial_write", _wrap_GCTAModelRadial_write, METH_VARARGS0x0001, (char *)"GCTAModelRadial_write(GCTAModelRadial self, GXmlElement & xml)"},
45806 { (char *)"GCTAModelRadial_size", _wrap_GCTAModelRadial_size, METH_VARARGS0x0001, (char *)"GCTAModelRadial_size(GCTAModelRadial self) -> int"},
45807 { (char *)"GCTAModelRadial___getitem__", _wrap_GCTAModelRadial___getitem__, METH_VARARGS0x0001, (char *)"\n"
45808 "__getitem__(int const & index) -> GModelPar\n"
45809 "GCTAModelRadial___getitem__(GCTAModelRadial self, std::string const & name) -> GModelPar &\n"
45810 ""},
45811 { (char *)"GCTAModelRadial___setitem__", _wrap_GCTAModelRadial___setitem__, METH_VARARGS0x0001, (char *)"\n"
45812 "__setitem__(int const & index, GModelPar const & val)\n"
45813 "GCTAModelRadial___setitem__(GCTAModelRadial self, std::string const & name, GModelPar const & val)\n"
45814 ""},
45815 { (char *)"GCTAModelRadial_swigregister", GCTAModelRadial_swigregister, METH_VARARGS0x0001, NULL__null},
45816 { (char *)"new_GCTAModelRadialRegistry", _wrap_new_GCTAModelRadialRegistry, METH_VARARGS0x0001, (char *)"\n"
45817 "GCTAModelRadialRegistry()\n"
45818 "GCTAModelRadialRegistry(GCTAModelRadial model)\n"
45819 "new_GCTAModelRadialRegistry(GCTAModelRadialRegistry registry) -> GCTAModelRadialRegistry\n"
45820 ""},
45821 { (char *)"delete_GCTAModelRadialRegistry", _wrap_delete_GCTAModelRadialRegistry, METH_VARARGS0x0001, (char *)"delete_GCTAModelRadialRegistry(GCTAModelRadialRegistry self)"},
45822 { (char *)"GCTAModelRadialRegistry_size", _wrap_GCTAModelRadialRegistry_size, METH_VARARGS0x0001, (char *)"GCTAModelRadialRegistry_size(GCTAModelRadialRegistry self) -> int"},
45823 { (char *)"GCTAModelRadialRegistry_alloc", _wrap_GCTAModelRadialRegistry_alloc, METH_VARARGS0x0001, (char *)"GCTAModelRadialRegistry_alloc(GCTAModelRadialRegistry self, std::string const & name) -> GCTAModelRadial"},
45824 { (char *)"GCTAModelRadialRegistry_name", _wrap_GCTAModelRadialRegistry_name, METH_VARARGS0x0001, (char *)"GCTAModelRadialRegistry_name(GCTAModelRadialRegistry self, int const & index) -> std::string"},
45825 { (char *)"GCTAModelRadialRegistry_swigregister", GCTAModelRadialRegistry_swigregister, METH_VARARGS0x0001, NULL__null},
45826 { (char *)"new_GCTAModelRadialGauss", _wrap_new_GCTAModelRadialGauss, METH_VARARGS0x0001, (char *)"\n"
45827 "GCTAModelRadialGauss()\n"
45828 "GCTAModelRadialGauss(double const & sigma)\n"
45829 "GCTAModelRadialGauss(GXmlElement const & xml)\n"
45830 "new_GCTAModelRadialGauss(GCTAModelRadialGauss model) -> GCTAModelRadialGauss\n"
45831 ""},
45832 { (char *)"delete_GCTAModelRadialGauss", _wrap_delete_GCTAModelRadialGauss, METH_VARARGS0x0001, (char *)"delete_GCTAModelRadialGauss(GCTAModelRadialGauss self)"},
45833 { (char *)"GCTAModelRadialGauss_clear", _wrap_GCTAModelRadialGauss_clear, METH_VARARGS0x0001, (char *)"GCTAModelRadialGauss_clear(GCTAModelRadialGauss self)"},
45834 { (char *)"GCTAModelRadialGauss_clone", _wrap_GCTAModelRadialGauss_clone, METH_VARARGS0x0001, (char *)"GCTAModelRadialGauss_clone(GCTAModelRadialGauss self) -> GCTAModelRadialGauss"},
45835 { (char *)"GCTAModelRadialGauss_type", _wrap_GCTAModelRadialGauss_type, METH_VARARGS0x0001, (char *)"GCTAModelRadialGauss_type(GCTAModelRadialGauss self) -> std::string"},
45836 { (char *)"GCTAModelRadialGauss_eval", _wrap_GCTAModelRadialGauss_eval, METH_VARARGS0x0001, (char *)"GCTAModelRadialGauss_eval(GCTAModelRadialGauss self, double const & offset) -> double"},
45837 { (char *)"GCTAModelRadialGauss_eval_gradients", _wrap_GCTAModelRadialGauss_eval_gradients, METH_VARARGS0x0001, (char *)"GCTAModelRadialGauss_eval_gradients(GCTAModelRadialGauss self, double const & offset) -> double"},
45838 { (char *)"GCTAModelRadialGauss_mc", _wrap_GCTAModelRadialGauss_mc, METH_VARARGS0x0001, (char *)"GCTAModelRadialGauss_mc(GCTAModelRadialGauss self, GCTAInstDir dir, GRan & ran) -> GCTAInstDir"},
45839 { (char *)"GCTAModelRadialGauss_omega", _wrap_GCTAModelRadialGauss_omega, METH_VARARGS0x0001, (char *)"GCTAModelRadialGauss_omega(GCTAModelRadialGauss self) -> double"},
45840 { (char *)"GCTAModelRadialGauss_read", _wrap_GCTAModelRadialGauss_read, METH_VARARGS0x0001, (char *)"GCTAModelRadialGauss_read(GCTAModelRadialGauss self, GXmlElement const & xml)"},
45841 { (char *)"GCTAModelRadialGauss_write", _wrap_GCTAModelRadialGauss_write, METH_VARARGS0x0001, (char *)"GCTAModelRadialGauss_write(GCTAModelRadialGauss self, GXmlElement & xml)"},
45842 { (char *)"GCTAModelRadialGauss_sigma", _wrap_GCTAModelRadialGauss_sigma, METH_VARARGS0x0001, (char *)"\n"
45843 "sigma() -> double\n"
45844 "GCTAModelRadialGauss_sigma(GCTAModelRadialGauss self, double const & sigma)\n"
45845 ""},
45846 { (char *)"GCTAModelRadialGauss_swigregister", GCTAModelRadialGauss_swigregister, METH_VARARGS0x0001, NULL__null},
45847 { (char *)"new_GCTAModelRadialPolynom", _wrap_new_GCTAModelRadialPolynom, METH_VARARGS0x0001, (char *)"\n"
45848 "GCTAModelRadialPolynom()\n"
45849 "GCTAModelRadialPolynom(VecDouble coeffs)\n"
45850 "GCTAModelRadialPolynom(GXmlElement const & xml)\n"
45851 "new_GCTAModelRadialPolynom(GCTAModelRadialPolynom model) -> GCTAModelRadialPolynom\n"
45852 ""},
45853 { (char *)"delete_GCTAModelRadialPolynom", _wrap_delete_GCTAModelRadialPolynom, METH_VARARGS0x0001, (char *)"delete_GCTAModelRadialPolynom(GCTAModelRadialPolynom self)"},
45854 { (char *)"GCTAModelRadialPolynom_clear", _wrap_GCTAModelRadialPolynom_clear, METH_VARARGS0x0001, (char *)"GCTAModelRadialPolynom_clear(GCTAModelRadialPolynom self)"},
45855 { (char *)"GCTAModelRadialPolynom_clone", _wrap_GCTAModelRadialPolynom_clone, METH_VARARGS0x0001, (char *)"GCTAModelRadialPolynom_clone(GCTAModelRadialPolynom self) -> GCTAModelRadialPolynom"},
45856 { (char *)"GCTAModelRadialPolynom_type", _wrap_GCTAModelRadialPolynom_type, METH_VARARGS0x0001, (char *)"GCTAModelRadialPolynom_type(GCTAModelRadialPolynom self) -> std::string"},
45857 { (char *)"GCTAModelRadialPolynom_eval", _wrap_GCTAModelRadialPolynom_eval, METH_VARARGS0x0001, (char *)"GCTAModelRadialPolynom_eval(GCTAModelRadialPolynom self, double const & offset) -> double"},
45858 { (char *)"GCTAModelRadialPolynom_eval_gradients", _wrap_GCTAModelRadialPolynom_eval_gradients, METH_VARARGS0x0001, (char *)"GCTAModelRadialPolynom_eval_gradients(GCTAModelRadialPolynom self, double const & offset) -> double"},
45859 { (char *)"GCTAModelRadialPolynom_mc", _wrap_GCTAModelRadialPolynom_mc, METH_VARARGS0x0001, (char *)"GCTAModelRadialPolynom_mc(GCTAModelRadialPolynom self, GCTAInstDir dir, GRan & ran) -> GCTAInstDir"},
45860 { (char *)"GCTAModelRadialPolynom_omega", _wrap_GCTAModelRadialPolynom_omega, METH_VARARGS0x0001, (char *)"GCTAModelRadialPolynom_omega(GCTAModelRadialPolynom self) -> double"},
45861 { (char *)"GCTAModelRadialPolynom_read", _wrap_GCTAModelRadialPolynom_read, METH_VARARGS0x0001, (char *)"GCTAModelRadialPolynom_read(GCTAModelRadialPolynom self, GXmlElement const & xml)"},
45862 { (char *)"GCTAModelRadialPolynom_write", _wrap_GCTAModelRadialPolynom_write, METH_VARARGS0x0001, (char *)"GCTAModelRadialPolynom_write(GCTAModelRadialPolynom self, GXmlElement & xml)"},
45863 { (char *)"GCTAModelRadialPolynom_size", _wrap_GCTAModelRadialPolynom_size, METH_VARARGS0x0001, (char *)"GCTAModelRadialPolynom_size(GCTAModelRadialPolynom self) -> int"},
45864 { (char *)"GCTAModelRadialPolynom_swigregister", GCTAModelRadialPolynom_swigregister, METH_VARARGS0x0001, NULL__null},
45865 { (char *)"new_GCTAModelRadialProfile", _wrap_new_GCTAModelRadialProfile, METH_VARARGS0x0001, (char *)"\n"
45866 "GCTAModelRadialProfile()\n"
45867 "GCTAModelRadialProfile(double const & width, double const & core, double const & tail)\n"
45868 "GCTAModelRadialProfile(GXmlElement const & xml)\n"
45869 "new_GCTAModelRadialProfile(GCTAModelRadialProfile model) -> GCTAModelRadialProfile\n"
45870 ""},
45871 { (char *)"delete_GCTAModelRadialProfile", _wrap_delete_GCTAModelRadialProfile, METH_VARARGS0x0001, (char *)"delete_GCTAModelRadialProfile(GCTAModelRadialProfile self)"},
45872 { (char *)"GCTAModelRadialProfile_clear", _wrap_GCTAModelRadialProfile_clear, METH_VARARGS0x0001, (char *)"GCTAModelRadialProfile_clear(GCTAModelRadialProfile self)"},
45873 { (char *)"GCTAModelRadialProfile_clone", _wrap_GCTAModelRadialProfile_clone, METH_VARARGS0x0001, (char *)"GCTAModelRadialProfile_clone(GCTAModelRadialProfile self) -> GCTAModelRadialProfile"},
45874 { (char *)"GCTAModelRadialProfile_type", _wrap_GCTAModelRadialProfile_type, METH_VARARGS0x0001, (char *)"GCTAModelRadialProfile_type(GCTAModelRadialProfile self) -> std::string"},
45875 { (char *)"GCTAModelRadialProfile_eval", _wrap_GCTAModelRadialProfile_eval, METH_VARARGS0x0001, (char *)"GCTAModelRadialProfile_eval(GCTAModelRadialProfile self, double const & offset) -> double"},
45876 { (char *)"GCTAModelRadialProfile_eval_gradients", _wrap_GCTAModelRadialProfile_eval_gradients, METH_VARARGS0x0001, (char *)"GCTAModelRadialProfile_eval_gradients(GCTAModelRadialProfile self, double const & offset) -> double"},
45877 { (char *)"GCTAModelRadialProfile_mc", _wrap_GCTAModelRadialProfile_mc, METH_VARARGS0x0001, (char *)"GCTAModelRadialProfile_mc(GCTAModelRadialProfile self, GCTAInstDir dir, GRan & ran) -> GCTAInstDir"},
45878 { (char *)"GCTAModelRadialProfile_omega", _wrap_GCTAModelRadialProfile_omega, METH_VARARGS0x0001, (char *)"GCTAModelRadialProfile_omega(GCTAModelRadialProfile self) -> double"},
45879 { (char *)"GCTAModelRadialProfile_read", _wrap_GCTAModelRadialProfile_read, METH_VARARGS0x0001, (char *)"GCTAModelRadialProfile_read(GCTAModelRadialProfile self, GXmlElement const & xml)"},
45880 { (char *)"GCTAModelRadialProfile_write", _wrap_GCTAModelRadialProfile_write, METH_VARARGS0x0001, (char *)"GCTAModelRadialProfile_write(GCTAModelRadialProfile self, GXmlElement & xml)"},
45881 { (char *)"GCTAModelRadialProfile_width", _wrap_GCTAModelRadialProfile_width, METH_VARARGS0x0001, (char *)"\n"
45882 "width() -> double\n"
45883 "GCTAModelRadialProfile_width(GCTAModelRadialProfile self, double const & width)\n"
45884 ""},
45885 { (char *)"GCTAModelRadialProfile_core", _wrap_GCTAModelRadialProfile_core, METH_VARARGS0x0001, (char *)"\n"
45886 "core() -> double\n"
45887 "GCTAModelRadialProfile_core(GCTAModelRadialProfile self, double const & core)\n"
45888 ""},
45889 { (char *)"GCTAModelRadialProfile_tail", _wrap_GCTAModelRadialProfile_tail, METH_VARARGS0x0001, (char *)"\n"
45890 "tail() -> double\n"
45891 "GCTAModelRadialProfile_tail(GCTAModelRadialProfile self, double const & tail)\n"
45892 ""},
45893 { (char *)"GCTAModelRadialProfile_swigregister", GCTAModelRadialProfile_swigregister, METH_VARARGS0x0001, NULL__null},
45894 { (char *)"new_GCTAModelRadialAcceptance", _wrap_new_GCTAModelRadialAcceptance, METH_VARARGS0x0001, (char *)"\n"
45895 "GCTAModelRadialAcceptance()\n"
45896 "GCTAModelRadialAcceptance(GXmlElement const & xml)\n"
45897 "GCTAModelRadialAcceptance(GCTAModelRadial radial, GModelSpectral const & spectral)\n"
45898 "new_GCTAModelRadialAcceptance(GCTAModelRadialAcceptance model) -> GCTAModelRadialAcceptance\n"
45899 ""},
45900 { (char *)"delete_GCTAModelRadialAcceptance", _wrap_delete_GCTAModelRadialAcceptance, METH_VARARGS0x0001, (char *)"delete_GCTAModelRadialAcceptance(GCTAModelRadialAcceptance self)"},
45901 { (char *)"GCTAModelRadialAcceptance_clear", _wrap_GCTAModelRadialAcceptance_clear, METH_VARARGS0x0001, (char *)"GCTAModelRadialAcceptance_clear(GCTAModelRadialAcceptance self)"},
45902 { (char *)"GCTAModelRadialAcceptance_clone", _wrap_GCTAModelRadialAcceptance_clone, METH_VARARGS0x0001, (char *)"GCTAModelRadialAcceptance_clone(GCTAModelRadialAcceptance self) -> GCTAModelRadialAcceptance"},
45903 { (char *)"GCTAModelRadialAcceptance_type", _wrap_GCTAModelRadialAcceptance_type, METH_VARARGS0x0001, (char *)"GCTAModelRadialAcceptance_type(GCTAModelRadialAcceptance self) -> std::string"},
45904 { (char *)"GCTAModelRadialAcceptance_isconstant", _wrap_GCTAModelRadialAcceptance_isconstant, METH_VARARGS0x0001, (char *)"GCTAModelRadialAcceptance_isconstant(GCTAModelRadialAcceptance self) -> bool"},
45905 { (char *)"GCTAModelRadialAcceptance_eval", _wrap_GCTAModelRadialAcceptance_eval, METH_VARARGS0x0001, (char *)"GCTAModelRadialAcceptance_eval(GCTAModelRadialAcceptance self, GEvent event, GObservation obs) -> double"},
45906 { (char *)"GCTAModelRadialAcceptance_eval_gradients", _wrap_GCTAModelRadialAcceptance_eval_gradients, METH_VARARGS0x0001, (char *)"GCTAModelRadialAcceptance_eval_gradients(GCTAModelRadialAcceptance self, GEvent event, GObservation obs) -> double"},
45907 { (char *)"GCTAModelRadialAcceptance_npred", _wrap_GCTAModelRadialAcceptance_npred, METH_VARARGS0x0001, (char *)"GCTAModelRadialAcceptance_npred(GCTAModelRadialAcceptance self, GEnergy const & obsEng, GTime const & obsTime, GObservation obs) -> double"},
45908 { (char *)"GCTAModelRadialAcceptance_mc", _wrap_GCTAModelRadialAcceptance_mc, METH_VARARGS0x0001, (char *)"GCTAModelRadialAcceptance_mc(GCTAModelRadialAcceptance self, GObservation obs, GRan & ran) -> GCTAEventList"},
45909 { (char *)"GCTAModelRadialAcceptance_read", _wrap_GCTAModelRadialAcceptance_read, METH_VARARGS0x0001, (char *)"GCTAModelRadialAcceptance_read(GCTAModelRadialAcceptance self, GXmlElement const & xml)"},
45910 { (char *)"GCTAModelRadialAcceptance_write", _wrap_GCTAModelRadialAcceptance_write, METH_VARARGS0x0001, (char *)"GCTAModelRadialAcceptance_write(GCTAModelRadialAcceptance self, GXmlElement & xml)"},
45911 { (char *)"GCTAModelRadialAcceptance_radial", _wrap_GCTAModelRadialAcceptance_radial, METH_VARARGS0x0001, (char *)"GCTAModelRadialAcceptance_radial(GCTAModelRadialAcceptance self) -> GCTAModelRadial"},
45912 { (char *)"GCTAModelRadialAcceptance_spectral", _wrap_GCTAModelRadialAcceptance_spectral, METH_VARARGS0x0001, (char *)"GCTAModelRadialAcceptance_spectral(GCTAModelRadialAcceptance self) -> GModelSpectral *"},
45913 { (char *)"GCTAModelRadialAcceptance_temporal", _wrap_GCTAModelRadialAcceptance_temporal, METH_VARARGS0x0001, (char *)"GCTAModelRadialAcceptance_temporal(GCTAModelRadialAcceptance self) -> GModelTemporal *"},
45914 { (char *)"GCTAModelRadialAcceptance_swigregister", GCTAModelRadialAcceptance_swigregister, METH_VARARGS0x0001, NULL__null},
45915 { NULL__null, NULL__null, 0, NULL__null }
45916};
45917
45918
45919/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
45920
45921static void *_p_GCTAPsfVectorTo_p_GCTAPsf(void *x, int *SWIGUNUSEDPARM(newmemory)) {
45922 return (void *)((GCTAPsf *) ((GCTAPsfVector *) x));
45923}
45924static void *_p_GCTAPsfKingTo_p_GCTAPsf(void *x, int *SWIGUNUSEDPARM(newmemory)) {
45925 return (void *)((GCTAPsf *) ((GCTAPsfKing *) x));
45926}
45927static void *_p_GCTAPsfPerfTableTo_p_GCTAPsf(void *x, int *SWIGUNUSEDPARM(newmemory)) {
45928 return (void *)((GCTAPsf *) ((GCTAPsfPerfTable *) x));
45929}
45930static void *_p_GCTAPsf2DTo_p_GCTAPsf(void *x, int *SWIGUNUSEDPARM(newmemory)) {
45931 return (void *)((GCTAPsf *) ((GCTAPsf2D *) x));
45932}
45933static void *_p_GCTAModelRadialRegistryTo_p_GRegistry(void *x, int *SWIGUNUSEDPARM(newmemory)) {
45934 return (void *)((GRegistry *) ((GCTAModelRadialRegistry *) x));
45935}
45936static void *_p_GCTAModelRadialAcceptanceTo_p_GModelData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
45937 return (void *)((GModelData *) ((GCTAModelRadialAcceptance *) x));
45938}
45939static void *_p_GCTAModelBackgroundTo_p_GModelData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
45940 return (void *)((GModelData *) ((GCTAModelBackground *) x));
45941}
45942static void *_p_GCTARoiTo_p_GRoi(void *x, int *SWIGUNUSEDPARM(newmemory)) {
45943 return (void *)((GRoi *) ((GCTARoi *) x));
45944}
45945static void *_p_GEventBinTo_p_GEvent(void *x, int *SWIGUNUSEDPARM(newmemory)) {
45946 return (void *)((GEvent *) ((GEventBin *) x));
45947}
45948static void *_p_GCTAEventBinTo_p_GEvent(void *x, int *SWIGUNUSEDPARM(newmemory)) {
45949 return (void *)((GEvent *) (GEventBin *) ((GCTAEventBin *) x));
45950}
45951static void *_p_GEventAtomTo_p_GEvent(void *x, int *SWIGUNUSEDPARM(newmemory)) {
45952 return (void *)((GEvent *) ((GEventAtom *) x));
45953}
45954static void *_p_GCTAEventAtomTo_p_GEvent(void *x, int *SWIGUNUSEDPARM(newmemory)) {
45955 return (void *)((GEvent *) (GEventAtom *) ((GCTAEventAtom *) x));
45956}
45957static void *_p_GCTAEventAtomTo_p_GEventAtom(void *x, int *SWIGUNUSEDPARM(newmemory)) {
45958 return (void *)((GEventAtom *) ((GCTAEventAtom *) x));
45959}
45960static void *_p_GCTAOnOffObservationsTo_p_GContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) {
45961 return (void *)((GContainer *) ((GCTAOnOffObservations *) x));
45962}
45963static void *_p_GCTAObservationTo_p_GObservation(void *x, int *SWIGUNUSEDPARM(newmemory)) {
45964 return (void *)((GObservation *) ((GCTAObservation *) x));
45965}
45966static void *_p_GCTAEventCubeTo_p_GEventCube(void *x, int *SWIGUNUSEDPARM(newmemory)) {
45967 return (void *)((GEventCube *) ((GCTAEventCube *) x));
45968}
45969static void *_p_GCTAInstDirTo_p_GInstDir(void *x, int *SWIGUNUSEDPARM(newmemory)) {
45970 return (void *)((GInstDir *) ((GCTAInstDir *) x));
45971}
45972static void *_p_GCTAPsfKingTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
45973 return (void *)((GBase *) (GCTAPsf *) ((GCTAPsfKing *) x));
45974}
45975static void *_p_GModelDataTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
45976 return (void *)((GBase *) (GModel *) ((GModelData *) x));
45977}
45978static void *_p_GCTAInstDirTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
45979 return (void *)((GBase *) (GInstDir *) ((GCTAInstDir *) x));
45980}
45981static void *_p_GInstDirTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
45982 return (void *)((GBase *) ((GInstDir *) x));
45983}
45984static void *_p_GCTAModelRadialAcceptanceTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
45985 return (void *)((GBase *) (GModel *)(GModelData *) ((GCTAModelRadialAcceptance *) x));
45986}
45987static void *_p_GCTAPsfPerfTableTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
45988 return (void *)((GBase *) (GCTAPsf *) ((GCTAPsfPerfTable *) x));
45989}
45990static void *_p_GCTAAeffPerfTableTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
45991 return (void *)((GBase *) (GCTAAeff *) ((GCTAAeffPerfTable *) x));
45992}
45993static void *_p_GCTAModelRadialTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
45994 return (void *)((GBase *) ((GCTAModelRadial *) x));
45995}
45996static void *_p_GEventTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
45997 return (void *)((GBase *) ((GEvent *) x));
45998}
45999static void *_p_GCTAEventCubeTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46000 return (void *)((GBase *) (GEvents *)(GEventCube *) ((GCTAEventCube *) x));
46001}
46002static void *_p_GEventCubeTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46003 return (void *)((GBase *) (GEvents *) ((GEventCube *) x));
46004}
46005static void *_p_GCTAModelRadialPolynomTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46006 return (void *)((GBase *) (GCTAModelRadial *) ((GCTAModelRadialPolynom *) x));
46007}
46008static void *_p_GCTAResponseTableTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46009 return (void *)((GBase *) ((GCTAResponseTable *) x));
46010}
46011static void *_p_GModelTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46012 return (void *)((GBase *) ((GModel *) x));
46013}
46014static void *_p_GCTAAeff2DTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46015 return (void *)((GBase *) (GCTAAeff *) ((GCTAAeff2D *) x));
46016}
46017static void *_p_GCTAAeffArfTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46018 return (void *)((GBase *) (GCTAAeff *) ((GCTAAeffArf *) x));
46019}
46020static void *_p_GCTAModelBackgroundTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46021 return (void *)((GBase *) (GModel *)(GModelData *) ((GCTAModelBackground *) x));
46022}
46023static void *_p_GCTAPsf2DTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46024 return (void *)((GBase *) (GCTAPsf *) ((GCTAPsf2D *) x));
46025}
46026static void *_p_GRoiTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46027 return (void *)((GBase *) ((GRoi *) x));
46028}
46029static void *_p_GCTARoiTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46030 return (void *)((GBase *) (GRoi *) ((GCTARoi *) x));
46031}
46032static void *_p_GCTAPsfTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46033 return (void *)((GBase *) ((GCTAPsf *) x));
46034}
46035static void *_p_GCTAModelRadialProfileTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46036 return (void *)((GBase *) (GCTAModelRadial *) ((GCTAModelRadialProfile *) x));
46037}
46038static void *_p_GCTAEventBinTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46039 return (void *)((GBase *) (GEvent *)(GEventBin *) ((GCTAEventBin *) x));
46040}
46041static void *_p_GEventBinTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46042 return (void *)((GBase *) (GEvent *) ((GEventBin *) x));
46043}
46044static void *_p_GContainerTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46045 return (void *)((GBase *) ((GContainer *) x));
46046}
46047static void *_p_GCTAEdispTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46048 return (void *)((GBase *) ((GCTAEdisp *) x));
46049}
46050static void *_p_GCTAResponseTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46051 return (void *)((GBase *) (GResponse *) ((GCTAResponse *) x));
46052}
46053static void *_p_GResponseTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46054 return (void *)((GBase *) ((GResponse *) x));
46055}
46056static void *_p_GCTAAeffTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46057 return (void *)((GBase *) ((GCTAAeff *) x));
46058}
46059static void *_p_GCTAOnOffObservationTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46060 return (void *)((GBase *) ((GCTAOnOffObservation *) x));
46061}
46062static void *_p_GObservationTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46063 return (void *)((GBase *) ((GObservation *) x));
46064}
46065static void *_p_GCTAObservationTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46066 return (void *)((GBase *) (GObservation *) ((GCTAObservation *) x));
46067}
46068static void *_p_GCTAModelRadialGaussTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46069 return (void *)((GBase *) (GCTAModelRadial *) ((GCTAModelRadialGauss *) x));
46070}
46071static void *_p_GCTAEventAtomTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46072 return (void *)((GBase *) (GEvent *)(GEventAtom *) ((GCTAEventAtom *) x));
46073}
46074static void *_p_GEventAtomTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46075 return (void *)((GBase *) (GEvent *) ((GEventAtom *) x));
46076}
46077static void *_p_GEventsTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46078 return (void *)((GBase *) ((GEvents *) x));
46079}
46080static void *_p_GCTAOnOffObservationsTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46081 return (void *)((GBase *) (GContainer *) ((GCTAOnOffObservations *) x));
46082}
46083static void *_p_GCTAEventListTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46084 return (void *)((GBase *) (GEvents *)(GEventList *) ((GCTAEventList *) x));
46085}
46086static void *_p_GEventListTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46087 return (void *)((GBase *) (GEvents *) ((GEventList *) x));
46088}
46089static void *_p_GCTAPsfVectorTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46090 return (void *)((GBase *) (GCTAPsf *) ((GCTAPsfVector *) x));
46091}
46092static void *_p_GCTAAeff2DTo_p_GCTAAeff(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46093 return (void *)((GCTAAeff *) ((GCTAAeff2D *) x));
46094}
46095static void *_p_GCTAAeffArfTo_p_GCTAAeff(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46096 return (void *)((GCTAAeff *) ((GCTAAeffArf *) x));
46097}
46098static void *_p_GCTAAeffPerfTableTo_p_GCTAAeff(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46099 return (void *)((GCTAAeff *) ((GCTAAeffPerfTable *) x));
46100}
46101static void *_p_GCTAResponseTo_p_GResponse(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46102 return (void *)((GResponse *) ((GCTAResponse *) x));
46103}
46104static void *_p_GCTAModelRadialGaussTo_p_GCTAModelRadial(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46105 return (void *)((GCTAModelRadial *) ((GCTAModelRadialGauss *) x));
46106}
46107static void *_p_GCTAModelRadialProfileTo_p_GCTAModelRadial(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46108 return (void *)((GCTAModelRadial *) ((GCTAModelRadialProfile *) x));
46109}
46110static void *_p_GCTAModelRadialPolynomTo_p_GCTAModelRadial(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46111 return (void *)((GCTAModelRadial *) ((GCTAModelRadialPolynom *) x));
46112}
46113static void *_p_GEventListTo_p_GEvents(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46114 return (void *)((GEvents *) ((GEventList *) x));
46115}
46116static void *_p_GCTAEventListTo_p_GEvents(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46117 return (void *)((GEvents *) (GEventList *) ((GCTAEventList *) x));
46118}
46119static void *_p_GEventCubeTo_p_GEvents(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46120 return (void *)((GEvents *) ((GEventCube *) x));
46121}
46122static void *_p_GCTAEventCubeTo_p_GEvents(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46123 return (void *)((GEvents *) (GEventCube *) ((GCTAEventCube *) x));
46124}
46125static void *_p_GCTAEventBinTo_p_GEventBin(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46126 return (void *)((GEventBin *) ((GCTAEventBin *) x));
46127}
46128static void *_p_GCTAModelRadialAcceptanceTo_p_GModel(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46129 return (void *)((GModel *) (GModelData *) ((GCTAModelRadialAcceptance *) x));
46130}
46131static void *_p_GCTAModelBackgroundTo_p_GModel(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46132 return (void *)((GModel *) (GModelData *) ((GCTAModelBackground *) x));
46133}
46134static void *_p_GModelDataTo_p_GModel(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46135 return (void *)((GModel *) ((GModelData *) x));
46136}
46137static void *_p_GCTAEventListTo_p_GEventList(void *x, int *SWIGUNUSEDPARM(newmemory)) {
46138 return (void *)((GEventList *) ((GCTAEventList *) x));
46139}
46140static swig_type_info _swigt__p_GArf = {"_p_GArf", "GArf *", 0, 0, (void*)0, 0};
46141static swig_type_info _swigt__p_GBase = {"_p_GBase", "GBase *", 0, 0, (void*)0, 0};
46142static swig_type_info _swigt__p_GCTAAeff = {"_p_GCTAAeff", "GCTAAeff *", 0, 0, (void*)0, 0};
46143static swig_type_info _swigt__p_GCTAAeff2D = {"_p_GCTAAeff2D", "GCTAAeff2D *", 0, 0, (void*)0, 0};
46144static swig_type_info _swigt__p_GCTAAeffArf = {"_p_GCTAAeffArf", "GCTAAeffArf *", 0, 0, (void*)0, 0};
46145static swig_type_info _swigt__p_GCTAAeffPerfTable = {"_p_GCTAAeffPerfTable", "GCTAAeffPerfTable *", 0, 0, (void*)0, 0};
46146static swig_type_info _swigt__p_GCTAEdisp = {"_p_GCTAEdisp", "GCTAEdisp *", 0, 0, (void*)0, 0};
46147static swig_type_info _swigt__p_GCTAEventAtom = {"_p_GCTAEventAtom", "GCTAEventAtom *", 0, 0, (void*)0, 0};
46148static swig_type_info _swigt__p_GCTAEventBin = {"_p_GCTAEventBin", "GCTAEventBin *", 0, 0, (void*)0, 0};
46149static swig_type_info _swigt__p_GCTAEventCube = {"_p_GCTAEventCube", "GCTAEventCube *", 0, 0, (void*)0, 0};
46150static swig_type_info _swigt__p_GCTAEventList = {"_p_GCTAEventList", "GCTAEventList *", 0, 0, (void*)0, 0};
46151static swig_type_info _swigt__p_GCTAInstDir = {"_p_GCTAInstDir", "GCTAInstDir *", 0, 0, (void*)0, 0};
46152static swig_type_info _swigt__p_GCTAModelBackground = {"_p_GCTAModelBackground", "GCTAModelBackground *", 0, 0, (void*)0, 0};
46153static swig_type_info _swigt__p_GCTAModelRadial = {"_p_GCTAModelRadial", "GCTAModelRadial *", 0, 0, (void*)0, 0};
46154static swig_type_info _swigt__p_GCTAModelRadialAcceptance = {"_p_GCTAModelRadialAcceptance", "GCTAModelRadialAcceptance *", 0, 0, (void*)0, 0};
46155static swig_type_info _swigt__p_GCTAModelRadialGauss = {"_p_GCTAModelRadialGauss", "GCTAModelRadialGauss *", 0, 0, (void*)0, 0};
46156static swig_type_info _swigt__p_GCTAModelRadialPolynom = {"_p_GCTAModelRadialPolynom", "GCTAModelRadialPolynom *", 0, 0, (void*)0, 0};
46157static swig_type_info _swigt__p_GCTAModelRadialProfile = {"_p_GCTAModelRadialProfile", "GCTAModelRadialProfile *", 0, 0, (void*)0, 0};
46158static swig_type_info _swigt__p_GCTAModelRadialRegistry = {"_p_GCTAModelRadialRegistry", "GCTAModelRadialRegistry *", 0, 0, (void*)0, 0};
46159static swig_type_info _swigt__p_GCTAObservation = {"_p_GCTAObservation", "GCTAObservation *", 0, 0, (void*)0, 0};
46160static swig_type_info _swigt__p_GCTAOnOffObservation = {"_p_GCTAOnOffObservation", "GCTAOnOffObservation *", 0, 0, (void*)0, 0};
46161static swig_type_info _swigt__p_GCTAOnOffObservations = {"_p_GCTAOnOffObservations", "GCTAOnOffObservations *", 0, 0, (void*)0, 0};
46162static swig_type_info _swigt__p_GCTAPointing = {"_p_GCTAPointing", "GCTAPointing *", 0, 0, (void*)0, 0};
46163static swig_type_info _swigt__p_GCTAPsf = {"_p_GCTAPsf", "GCTAPsf *", 0, 0, (void*)0, 0};
46164static swig_type_info _swigt__p_GCTAPsf2D = {"_p_GCTAPsf2D", "GCTAPsf2D *", 0, 0, (void*)0, 0};
46165static swig_type_info _swigt__p_GCTAPsfKing = {"_p_GCTAPsfKing", "GCTAPsfKing *", 0, 0, (void*)0, 0};
46166static swig_type_info _swigt__p_GCTAPsfPerfTable = {"_p_GCTAPsfPerfTable", "GCTAPsfPerfTable *", 0, 0, (void*)0, 0};
46167static swig_type_info _swigt__p_GCTAPsfVector = {"_p_GCTAPsfVector", "GCTAPsfVector *", 0, 0, (void*)0, 0};
46168static swig_type_info _swigt__p_GCTAResponse = {"_p_GCTAResponse", "GCTAResponse *", 0, 0, (void*)0, 0};
46169static swig_type_info _swigt__p_GCTAResponseTable = {"_p_GCTAResponseTable", "GCTAResponseTable *", 0, 0, (void*)0, 0};
46170static swig_type_info _swigt__p_GCTARoi = {"_p_GCTARoi", "GCTARoi *", 0, 0, (void*)0, 0};
46171static swig_type_info _swigt__p_GContainer = {"_p_GContainer", "GContainer *", 0, 0, (void*)0, 0};
46172static swig_type_info _swigt__p_GEbounds = {"_p_GEbounds", "GEbounds *", 0, 0, (void*)0, 0};
46173static swig_type_info _swigt__p_GEnergy = {"_p_GEnergy", "GEnergy *", 0, 0, (void*)0, 0};
46174static swig_type_info _swigt__p_GEvent = {"_p_GEvent", "GEvent *", 0, 0, (void*)0, 0};
46175static swig_type_info _swigt__p_GEventAtom = {"_p_GEventAtom", "GEventAtom *", 0, 0, (void*)0, 0};
46176static swig_type_info _swigt__p_GEventBin = {"_p_GEventBin", "GEventBin *", 0, 0, (void*)0, 0};
46177static swig_type_info _swigt__p_GEventCube = {"_p_GEventCube", "GEventCube *", 0, 0, (void*)0, 0};
46178static swig_type_info _swigt__p_GEventList = {"_p_GEventList", "GEventList *", 0, 0, (void*)0, 0};
46179static swig_type_info _swigt__p_GEvents = {"_p_GEvents", "GEvents *", 0, 0, (void*)0, 0};
46180static swig_type_info _swigt__p_GFits = {"_p_GFits", "GFits *", 0, 0, (void*)0, 0};
46181static swig_type_info _swigt__p_GFitsTable = {"_p_GFitsTable", "GFitsTable *", 0, 0, (void*)0, 0};
46182static swig_type_info _swigt__p_GGti = {"_p_GGti", "GGti *", 0, 0, (void*)0, 0};
46183static swig_type_info _swigt__p_GInstDir = {"_p_GInstDir", "GInstDir *", 0, 0, (void*)0, 0};
46184static swig_type_info _swigt__p_GMatrix = {"_p_GMatrix", "GMatrix *", 0, 0, (void*)0, 0};
46185static swig_type_info _swigt__p_GModel = {"_p_GModel", "GModel *", 0, 0, (void*)0, 0};
46186static swig_type_info _swigt__p_GModelData = {"_p_GModelData", "GModelData *", 0, 0, (void*)0, 0};
46187static swig_type_info _swigt__p_GModelPar = {"_p_GModelPar", "GModelPar *", 0, 0, (void*)0, 0};
46188static swig_type_info _swigt__p_GModelSpatial = {"_p_GModelSpatial", "GModelSpatial *", 0, 0, (void*)0, 0};
46189static swig_type_info _swigt__p_GModelSpectral = {"_p_GModelSpectral", "GModelSpectral *", 0, 0, (void*)0, 0};
46190static swig_type_info _swigt__p_GModelTemporal = {"_p_GModelTemporal", "GModelTemporal *", 0, 0, (void*)0, 0};
46191static swig_type_info _swigt__p_GModels = {"_p_GModels", "GModels *", 0, 0, (void*)0, 0};
46192static swig_type_info _swigt__p_GObservation = {"_p_GObservation", "GObservation *", 0, 0, (void*)0, 0};
46193static swig_type_info _swigt__p_GPha = {"_p_GPha", "GPha *", 0, 0, (void*)0, 0};
46194static swig_type_info _swigt__p_GPhoton = {"_p_GPhoton", "GPhoton *", 0, 0, (void*)0, 0};
46195static swig_type_info _swigt__p_GRan = {"_p_GRan", "GRan *", 0, 0, (void*)0, 0};
46196static swig_type_info _swigt__p_GRegistry = {"_p_GRegistry", "GRegistry *", 0, 0, (void*)0, 0};
46197static swig_type_info _swigt__p_GResponse = {"_p_GResponse", "GResponse *", 0, 0, (void*)0, 0};
46198static swig_type_info _swigt__p_GRmf = {"_p_GRmf", "GRmf *", 0, 0, (void*)0, 0};
46199static swig_type_info _swigt__p_GRoi = {"_p_GRoi", "GRoi *", 0, 0, (void*)0, 0};
46200static swig_type_info _swigt__p_GSkyDir = {"_p_GSkyDir", "GSkyDir *", 0, 0, (void*)0, 0};
46201static swig_type_info _swigt__p_GSkyRegions = {"_p_GSkyRegions", "GSkyRegions *", 0, 0, (void*)0, 0};
46202static swig_type_info _swigt__p_GSkymap = {"_p_GSkymap", "GSkymap *", 0, 0, (void*)0, 0};
46203static swig_type_info _swigt__p_GSource = {"_p_GSource", "GSource *", 0, 0, (void*)0, 0};
46204static swig_type_info _swigt__p_GTime = {"_p_GTime", "GTime *", 0, 0, (void*)0, 0};
46205static swig_type_info _swigt__p_GXml = {"_p_GXml", "GXml *", 0, 0, (void*)0, 0};
46206static swig_type_info _swigt__p_GXmlElement = {"_p_GXmlElement", "GXmlElement *", 0, 0, (void*)0, 0};
46207static swig_type_info _swigt__p_allocator_type = {"_p_allocator_type", "allocator_type *", 0, 0, (void*)0, 0};
46208static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
46209static swig_type_info _swigt__p_difference_type = {"_p_difference_type", "difference_type *", 0, 0, (void*)0, 0};
46210static swig_type_info _swigt__p_p_PyObject = {"_p_p_PyObject", "PyObject **", 0, 0, (void*)0, 0};
46211static swig_type_info _swigt__p_size_type = {"_p_size_type", "size_type *", 0, 0, (void*)0, 0};
46212static 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};
46213static swig_type_info _swigt__p_std__invalid_argument = {"_p_std__invalid_argument", "std::invalid_argument *", 0, 0, (void*)0, 0};
46214static swig_type_info _swigt__p_std__vectorT__Tp__Alloc_t = {"_p_std__vectorT__Tp__Alloc_t", "std::vector< _Tp,_Alloc > *", 0, 0, (void*)0, 0};
46215static 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};
46216static swig_type_info _swigt__p_swig__SwigPyIterator = {"_p_swig__SwigPyIterator", "swig::SwigPyIterator *", 0, 0, (void*)0, 0};
46217static swig_type_info _swigt__p_value_type = {"_p_value_type", "value_type *", 0, 0, (void*)0, 0};
46218
46219static swig_type_info *swig_type_initial[] = {
46220 &_swigt__p_GArf,
46221 &_swigt__p_GBase,
46222 &_swigt__p_GCTAAeff,
46223 &_swigt__p_GCTAAeff2D,
46224 &_swigt__p_GCTAAeffArf,
46225 &_swigt__p_GCTAAeffPerfTable,
46226 &_swigt__p_GCTAEdisp,
46227 &_swigt__p_GCTAEventAtom,
46228 &_swigt__p_GCTAEventBin,
46229 &_swigt__p_GCTAEventCube,
46230 &_swigt__p_GCTAEventList,
46231 &_swigt__p_GCTAInstDir,
46232 &_swigt__p_GCTAModelBackground,
46233 &_swigt__p_GCTAModelRadial,
46234 &_swigt__p_GCTAModelRadialAcceptance,
46235 &_swigt__p_GCTAModelRadialGauss,
46236 &_swigt__p_GCTAModelRadialPolynom,
46237 &_swigt__p_GCTAModelRadialProfile,
46238 &_swigt__p_GCTAModelRadialRegistry,
46239 &_swigt__p_GCTAObservation,
46240 &_swigt__p_GCTAOnOffObservation,
46241 &_swigt__p_GCTAOnOffObservations,
46242 &_swigt__p_GCTAPointing,
46243 &_swigt__p_GCTAPsf,
46244 &_swigt__p_GCTAPsf2D,
46245 &_swigt__p_GCTAPsfKing,
46246 &_swigt__p_GCTAPsfPerfTable,
46247 &_swigt__p_GCTAPsfVector,
46248 &_swigt__p_GCTAResponse,
46249 &_swigt__p_GCTAResponseTable,
46250 &_swigt__p_GCTARoi,
46251 &_swigt__p_GContainer,
46252 &_swigt__p_GEbounds,
46253 &_swigt__p_GEnergy,
46254 &_swigt__p_GEvent,
46255 &_swigt__p_GEventAtom,
46256 &_swigt__p_GEventBin,
46257 &_swigt__p_GEventCube,
46258 &_swigt__p_GEventList,
46259 &_swigt__p_GEvents,
46260 &_swigt__p_GFits,
46261 &_swigt__p_GFitsTable,
46262 &_swigt__p_GGti,
46263 &_swigt__p_GInstDir,
46264 &_swigt__p_GMatrix,
46265 &_swigt__p_GModel,
46266 &_swigt__p_GModelData,
46267 &_swigt__p_GModelPar,
46268 &_swigt__p_GModelSpatial,
46269 &_swigt__p_GModelSpectral,
46270 &_swigt__p_GModelTemporal,
46271 &_swigt__p_GModels,
46272 &_swigt__p_GObservation,
46273 &_swigt__p_GPha,
46274 &_swigt__p_GPhoton,
46275 &_swigt__p_GRan,
46276 &_swigt__p_GRegistry,
46277 &_swigt__p_GResponse,
46278 &_swigt__p_GRmf,
46279 &_swigt__p_GRoi,
46280 &_swigt__p_GSkyDir,
46281 &_swigt__p_GSkyRegions,
46282 &_swigt__p_GSkymap,
46283 &_swigt__p_GSource,
46284 &_swigt__p_GTime,
46285 &_swigt__p_GXml,
46286 &_swigt__p_GXmlElement,
46287 &_swigt__p_allocator_type,
46288 &_swigt__p_char,
46289 &_swigt__p_difference_type,
46290 &_swigt__p_p_PyObject,
46291 &_swigt__p_size_type,
46292 &_swigt__p_std__allocatorT_double_t,
46293 &_swigt__p_std__invalid_argument,
46294 &_swigt__p_std__vectorT__Tp__Alloc_t,
46295 &_swigt__p_std__vectorT_double_std__allocatorT_double_t_t,
46296 &_swigt__p_swig__SwigPyIterator,
46297 &_swigt__p_value_type,
46298};
46299
46300static swig_cast_info _swigc__p_GArf[] = { {&_swigt__p_GArf, 0, 0, 0},{0, 0, 0, 0}};
46301static swig_cast_info _swigc__p_GBase[] = { {&_swigt__p_GCTAPsfKing, _p_GCTAPsfKingTo_p_GBase, 0, 0}, {&_swigt__p_GModelData, _p_GModelDataTo_p_GBase, 0, 0}, {&_swigt__p_GCTAInstDir, _p_GCTAInstDirTo_p_GBase, 0, 0}, {&_swigt__p_GInstDir, _p_GInstDirTo_p_GBase, 0, 0}, {&_swigt__p_GCTAModelRadialAcceptance, _p_GCTAModelRadialAcceptanceTo_p_GBase, 0, 0}, {&_swigt__p_GCTAPsfPerfTable, _p_GCTAPsfPerfTableTo_p_GBase, 0, 0}, {&_swigt__p_GCTAAeffPerfTable, _p_GCTAAeffPerfTableTo_p_GBase, 0, 0}, {&_swigt__p_GCTAModelRadial, _p_GCTAModelRadialTo_p_GBase, 0, 0}, {&_swigt__p_GCTAModelRadialPolynom, _p_GCTAModelRadialPolynomTo_p_GBase, 0, 0}, {&_swigt__p_GEventCube, _p_GEventCubeTo_p_GBase, 0, 0}, {&_swigt__p_GCTAEventCube, _p_GCTAEventCubeTo_p_GBase, 0, 0}, {&_swigt__p_GCTAResponseTable, _p_GCTAResponseTableTo_p_GBase, 0, 0}, {&_swigt__p_GCTAAeff2D, _p_GCTAAeff2DTo_p_GBase, 0, 0}, {&_swigt__p_GCTAAeffArf, _p_GCTAAeffArfTo_p_GBase, 0, 0}, {&_swigt__p_GCTAModelBackground, _p_GCTAModelBackgroundTo_p_GBase, 0, 0}, {&_swigt__p_GCTAPsf2D, _p_GCTAPsf2DTo_p_GBase, 0, 0}, {&_swigt__p_GEvent, _p_GEventTo_p_GBase, 0, 0}, {&_swigt__p_GCTARoi, _p_GCTARoiTo_p_GBase, 0, 0}, {&_swigt__p_GCTAPsf, _p_GCTAPsfTo_p_GBase, 0, 0}, {&_swigt__p_GCTAModelRadialProfile, _p_GCTAModelRadialProfileTo_p_GBase, 0, 0}, {&_swigt__p_GCTAEventBin, _p_GCTAEventBinTo_p_GBase, 0, 0}, {&_swigt__p_GEventBin, _p_GEventBinTo_p_GBase, 0, 0}, {&_swigt__p_GModel, _p_GModelTo_p_GBase, 0, 0}, {&_swigt__p_GContainer, _p_GContainerTo_p_GBase, 0, 0}, {&_swigt__p_GCTAEdisp, _p_GCTAEdispTo_p_GBase, 0, 0}, {&_swigt__p_GCTAResponse, _p_GCTAResponseTo_p_GBase, 0, 0}, {&_swigt__p_GResponse, _p_GResponseTo_p_GBase, 0, 0}, {&_swigt__p_GCTAAeff, _p_GCTAAeffTo_p_GBase, 0, 0}, {&_swigt__p_GCTAModelRadialGauss, _p_GCTAModelRadialGaussTo_p_GBase, 0, 0}, {&_swigt__p_GCTAObservation, _p_GCTAObservationTo_p_GBase, 0, 0}, {&_swigt__p_GObservation, _p_GObservationTo_p_GBase, 0, 0}, {&_swigt__p_GCTAOnOffObservation, _p_GCTAOnOffObservationTo_p_GBase, 0, 0}, {&_swigt__p_GCTAEventAtom, _p_GCTAEventAtomTo_p_GBase, 0, 0}, {&_swigt__p_GEventAtom, _p_GEventAtomTo_p_GBase, 0, 0}, {&_swigt__p_GRoi, _p_GRoiTo_p_GBase, 0, 0}, {&_swigt__p_GEvents, _p_GEventsTo_p_GBase, 0, 0}, {&_swigt__p_GCTAOnOffObservations, _p_GCTAOnOffObservationsTo_p_GBase, 0, 0}, {&_swigt__p_GEventList, _p_GEventListTo_p_GBase, 0, 0}, {&_swigt__p_GCTAEventList, _p_GCTAEventListTo_p_GBase, 0, 0}, {&_swigt__p_GBase, 0, 0, 0}, {&_swigt__p_GCTAPsfVector, _p_GCTAPsfVectorTo_p_GBase, 0, 0},{0, 0, 0, 0}};
46302static swig_cast_info _swigc__p_GCTAAeff[] = { {&_swigt__p_GCTAAeff, 0, 0, 0}, {&_swigt__p_GCTAAeff2D, _p_GCTAAeff2DTo_p_GCTAAeff, 0, 0}, {&_swigt__p_GCTAAeffArf, _p_GCTAAeffArfTo_p_GCTAAeff, 0, 0}, {&_swigt__p_GCTAAeffPerfTable, _p_GCTAAeffPerfTableTo_p_GCTAAeff, 0, 0},{0, 0, 0, 0}};
46303static swig_cast_info _swigc__p_GCTAAeff2D[] = { {&_swigt__p_GCTAAeff2D, 0, 0, 0},{0, 0, 0, 0}};
46304static swig_cast_info _swigc__p_GCTAAeffArf[] = { {&_swigt__p_GCTAAeffArf, 0, 0, 0},{0, 0, 0, 0}};
46305static swig_cast_info _swigc__p_GCTAAeffPerfTable[] = { {&_swigt__p_GCTAAeffPerfTable, 0, 0, 0},{0, 0, 0, 0}};
46306static swig_cast_info _swigc__p_GCTAEdisp[] = { {&_swigt__p_GCTAEdisp, 0, 0, 0},{0, 0, 0, 0}};
46307static swig_cast_info _swigc__p_GCTAEventAtom[] = { {&_swigt__p_GCTAEventAtom, 0, 0, 0},{0, 0, 0, 0}};
46308static swig_cast_info _swigc__p_GCTAEventBin[] = { {&_swigt__p_GCTAEventBin, 0, 0, 0},{0, 0, 0, 0}};
46309static swig_cast_info _swigc__p_GCTAEventCube[] = { {&_swigt__p_GCTAEventCube, 0, 0, 0},{0, 0, 0, 0}};
46310static swig_cast_info _swigc__p_GCTAEventList[] = { {&_swigt__p_GCTAEventList, 0, 0, 0},{0, 0, 0, 0}};
46311static swig_cast_info _swigc__p_GCTAInstDir[] = { {&_swigt__p_GCTAInstDir, 0, 0, 0},{0, 0, 0, 0}};
46312static swig_cast_info _swigc__p_GCTAModelBackground[] = { {&_swigt__p_GCTAModelBackground, 0, 0, 0},{0, 0, 0, 0}};
46313static swig_cast_info _swigc__p_GCTAModelRadial[] = { {&_swigt__p_GCTAModelRadialGauss, _p_GCTAModelRadialGaussTo_p_GCTAModelRadial, 0, 0}, {&_swigt__p_GCTAModelRadialProfile, _p_GCTAModelRadialProfileTo_p_GCTAModelRadial, 0, 0}, {&_swigt__p_GCTAModelRadial, 0, 0, 0}, {&_swigt__p_GCTAModelRadialPolynom, _p_GCTAModelRadialPolynomTo_p_GCTAModelRadial, 0, 0},{0, 0, 0, 0}};
46314static swig_cast_info _swigc__p_GCTAModelRadialAcceptance[] = { {&_swigt__p_GCTAModelRadialAcceptance, 0, 0, 0},{0, 0, 0, 0}};
46315static swig_cast_info _swigc__p_GCTAModelRadialGauss[] = { {&_swigt__p_GCTAModelRadialGauss, 0, 0, 0},{0, 0, 0, 0}};
46316static swig_cast_info _swigc__p_GCTAModelRadialPolynom[] = { {&_swigt__p_GCTAModelRadialPolynom, 0, 0, 0},{0, 0, 0, 0}};
46317static swig_cast_info _swigc__p_GCTAModelRadialProfile[] = { {&_swigt__p_GCTAModelRadialProfile, 0, 0, 0},{0, 0, 0, 0}};
46318static swig_cast_info _swigc__p_GCTAModelRadialRegistry[] = { {&_swigt__p_GCTAModelRadialRegistry, 0, 0, 0},{0, 0, 0, 0}};
46319static swig_cast_info _swigc__p_GCTAObservation[] = { {&_swigt__p_GCTAObservation, 0, 0, 0},{0, 0, 0, 0}};
46320static swig_cast_info _swigc__p_GCTAOnOffObservation[] = { {&_swigt__p_GCTAOnOffObservation, 0, 0, 0},{0, 0, 0, 0}};
46321static swig_cast_info _swigc__p_GCTAOnOffObservations[] = { {&_swigt__p_GCTAOnOffObservations, 0, 0, 0},{0, 0, 0, 0}};
46322static swig_cast_info _swigc__p_GCTAPointing[] = { {&_swigt__p_GCTAPointing, 0, 0, 0},{0, 0, 0, 0}};
46323static swig_cast_info _swigc__p_GCTAPsf[] = { {&_swigt__p_GCTAPsfVector, _p_GCTAPsfVectorTo_p_GCTAPsf, 0, 0}, {&_swigt__p_GCTAPsfKing, _p_GCTAPsfKingTo_p_GCTAPsf, 0, 0}, {&_swigt__p_GCTAPsf, 0, 0, 0}, {&_swigt__p_GCTAPsfPerfTable, _p_GCTAPsfPerfTableTo_p_GCTAPsf, 0, 0}, {&_swigt__p_GCTAPsf2D, _p_GCTAPsf2DTo_p_GCTAPsf, 0, 0},{0, 0, 0, 0}};
46324static swig_cast_info _swigc__p_GCTAPsf2D[] = { {&_swigt__p_GCTAPsf2D, 0, 0, 0},{0, 0, 0, 0}};
46325static swig_cast_info _swigc__p_GCTAPsfKing[] = { {&_swigt__p_GCTAPsfKing, 0, 0, 0},{0, 0, 0, 0}};
46326static swig_cast_info _swigc__p_GCTAPsfPerfTable[] = { {&_swigt__p_GCTAPsfPerfTable, 0, 0, 0},{0, 0, 0, 0}};
46327static swig_cast_info _swigc__p_GCTAPsfVector[] = { {&_swigt__p_GCTAPsfVector, 0, 0, 0},{0, 0, 0, 0}};
46328static swig_cast_info _swigc__p_GCTAResponse[] = { {&_swigt__p_GCTAResponse, 0, 0, 0},{0, 0, 0, 0}};
46329static swig_cast_info _swigc__p_GCTAResponseTable[] = { {&_swigt__p_GCTAResponseTable, 0, 0, 0},{0, 0, 0, 0}};
46330static swig_cast_info _swigc__p_GCTARoi[] = { {&_swigt__p_GCTARoi, 0, 0, 0},{0, 0, 0, 0}};
46331static swig_cast_info _swigc__p_GContainer[] = { {&_swigt__p_GContainer, 0, 0, 0}, {&_swigt__p_GCTAOnOffObservations, _p_GCTAOnOffObservationsTo_p_GContainer, 0, 0},{0, 0, 0, 0}};
46332static swig_cast_info _swigc__p_GEbounds[] = { {&_swigt__p_GEbounds, 0, 0, 0},{0, 0, 0, 0}};
46333static swig_cast_info _swigc__p_GEnergy[] = { {&_swigt__p_GEnergy, 0, 0, 0},{0, 0, 0, 0}};
46334static swig_cast_info _swigc__p_GEvent[] = { {&_swigt__p_GEventBin, _p_GEventBinTo_p_GEvent, 0, 0}, {&_swigt__p_GCTAEventBin, _p_GCTAEventBinTo_p_GEvent, 0, 0}, {&_swigt__p_GEvent, 0, 0, 0}, {&_swigt__p_GEventAtom, _p_GEventAtomTo_p_GEvent, 0, 0}, {&_swigt__p_GCTAEventAtom, _p_GCTAEventAtomTo_p_GEvent, 0, 0},{0, 0, 0, 0}};
46335static swig_cast_info _swigc__p_GEventAtom[] = { {&_swigt__p_GEventAtom, 0, 0, 0}, {&_swigt__p_GCTAEventAtom, _p_GCTAEventAtomTo_p_GEventAtom, 0, 0},{0, 0, 0, 0}};
46336static swig_cast_info _swigc__p_GEventBin[] = { {&_swigt__p_GEventBin, 0, 0, 0}, {&_swigt__p_GCTAEventBin, _p_GCTAEventBinTo_p_GEventBin, 0, 0},{0, 0, 0, 0}};
46337static swig_cast_info _swigc__p_GEventCube[] = { {&_swigt__p_GEventCube, 0, 0, 0}, {&_swigt__p_GCTAEventCube, _p_GCTAEventCubeTo_p_GEventCube, 0, 0},{0, 0, 0, 0}};
46338static swig_cast_info _swigc__p_GEventList[] = { {&_swigt__p_GEventList, 0, 0, 0}, {&_swigt__p_GCTAEventList, _p_GCTAEventListTo_p_GEventList, 0, 0},{0, 0, 0, 0}};
46339static swig_cast_info _swigc__p_GEvents[] = { {&_swigt__p_GEventList, _p_GEventListTo_p_GEvents, 0, 0}, {&_swigt__p_GCTAEventList, _p_GCTAEventListTo_p_GEvents, 0, 0}, {&_swigt__p_GEvents, 0, 0, 0}, {&_swigt__p_GEventCube, _p_GEventCubeTo_p_GEvents, 0, 0}, {&_swigt__p_GCTAEventCube, _p_GCTAEventCubeTo_p_GEvents, 0, 0},{0, 0, 0, 0}};
46340static swig_cast_info _swigc__p_GFits[] = { {&_swigt__p_GFits, 0, 0, 0},{0, 0, 0, 0}};
46341static swig_cast_info _swigc__p_GFitsTable[] = { {&_swigt__p_GFitsTable, 0, 0, 0},{0, 0, 0, 0}};
46342static swig_cast_info _swigc__p_GGti[] = { {&_swigt__p_GGti, 0, 0, 0},{0, 0, 0, 0}};
46343static swig_cast_info _swigc__p_GInstDir[] = { {&_swigt__p_GInstDir, 0, 0, 0}, {&_swigt__p_GCTAInstDir, _p_GCTAInstDirTo_p_GInstDir, 0, 0},{0, 0, 0, 0}};
46344static swig_cast_info _swigc__p_GMatrix[] = { {&_swigt__p_GMatrix, 0, 0, 0},{0, 0, 0, 0}};
46345static swig_cast_info _swigc__p_GModel[] = { {&_swigt__p_GCTAModelRadialAcceptance, _p_GCTAModelRadialAcceptanceTo_p_GModel, 0, 0}, {&_swigt__p_GCTAModelBackground, _p_GCTAModelBackgroundTo_p_GModel, 0, 0}, {&_swigt__p_GModel, 0, 0, 0}, {&_swigt__p_GModelData, _p_GModelDataTo_p_GModel, 0, 0},{0, 0, 0, 0}};
46346static swig_cast_info _swigc__p_GModelData[] = { {&_swigt__p_GCTAModelRadialAcceptance, _p_GCTAModelRadialAcceptanceTo_p_GModelData, 0, 0}, {&_swigt__p_GCTAModelBackground, _p_GCTAModelBackgroundTo_p_GModelData, 0, 0}, {&_swigt__p_GModelData, 0, 0, 0},{0, 0, 0, 0}};
46347static swig_cast_info _swigc__p_GModelPar[] = { {&_swigt__p_GModelPar, 0, 0, 0},{0, 0, 0, 0}};
46348static swig_cast_info _swigc__p_GModelSpatial[] = { {&_swigt__p_GModelSpatial, 0, 0, 0},{0, 0, 0, 0}};
46349static swig_cast_info _swigc__p_GModelSpectral[] = { {&_swigt__p_GModelSpectral, 0, 0, 0},{0, 0, 0, 0}};
46350static swig_cast_info _swigc__p_GModelTemporal[] = { {&_swigt__p_GModelTemporal, 0, 0, 0},{0, 0, 0, 0}};
46351static swig_cast_info _swigc__p_GModels[] = { {&_swigt__p_GModels, 0, 0, 0},{0, 0, 0, 0}};
46352static swig_cast_info _swigc__p_GObservation[] = { {&_swigt__p_GObservation, 0, 0, 0}, {&_swigt__p_GCTAObservation, _p_GCTAObservationTo_p_GObservation, 0, 0},{0, 0, 0, 0}};
46353static swig_cast_info _swigc__p_GPha[] = { {&_swigt__p_GPha, 0, 0, 0},{0, 0, 0, 0}};
46354static swig_cast_info _swigc__p_GPhoton[] = { {&_swigt__p_GPhoton, 0, 0, 0},{0, 0, 0, 0}};
46355static swig_cast_info _swigc__p_GRan[] = { {&_swigt__p_GRan, 0, 0, 0},{0, 0, 0, 0}};
46356static swig_cast_info _swigc__p_GRegistry[] = { {&_swigt__p_GRegistry, 0, 0, 0}, {&_swigt__p_GCTAModelRadialRegistry, _p_GCTAModelRadialRegistryTo_p_GRegistry, 0, 0},{0, 0, 0, 0}};
46357static swig_cast_info _swigc__p_GResponse[] = { {&_swigt__p_GResponse, 0, 0, 0}, {&_swigt__p_GCTAResponse, _p_GCTAResponseTo_p_GResponse, 0, 0},{0, 0, 0, 0}};
46358static swig_cast_info _swigc__p_GRmf[] = { {&_swigt__p_GRmf, 0, 0, 0},{0, 0, 0, 0}};
46359static swig_cast_info _swigc__p_GRoi[] = { {&_swigt__p_GCTARoi, _p_GCTARoiTo_p_GRoi, 0, 0}, {&_swigt__p_GRoi, 0, 0, 0},{0, 0, 0, 0}};
46360static swig_cast_info _swigc__p_GSkyDir[] = { {&_swigt__p_GSkyDir, 0, 0, 0},{0, 0, 0, 0}};
46361static swig_cast_info _swigc__p_GSkyRegions[] = { {&_swigt__p_GSkyRegions, 0, 0, 0},{0, 0, 0, 0}};
46362static swig_cast_info _swigc__p_GSkymap[] = { {&_swigt__p_GSkymap, 0, 0, 0},{0, 0, 0, 0}};
46363static swig_cast_info _swigc__p_GSource[] = { {&_swigt__p_GSource, 0, 0, 0},{0, 0, 0, 0}};
46364static swig_cast_info _swigc__p_GTime[] = { {&_swigt__p_GTime, 0, 0, 0},{0, 0, 0, 0}};
46365static swig_cast_info _swigc__p_GXml[] = { {&_swigt__p_GXml, 0, 0, 0},{0, 0, 0, 0}};
46366static swig_cast_info _swigc__p_GXmlElement[] = { {&_swigt__p_GXmlElement, 0, 0, 0},{0, 0, 0, 0}};
46367static swig_cast_info _swigc__p_allocator_type[] = { {&_swigt__p_allocator_type, 0, 0, 0},{0, 0, 0, 0}};
46368static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
46369static swig_cast_info _swigc__p_difference_type[] = { {&_swigt__p_difference_type, 0, 0, 0},{0, 0, 0, 0}};
46370static swig_cast_info _swigc__p_p_PyObject[] = { {&_swigt__p_p_PyObject, 0, 0, 0},{0, 0, 0, 0}};
46371static swig_cast_info _swigc__p_size_type[] = { {&_swigt__p_size_type, 0, 0, 0},{0, 0, 0, 0}};
46372static swig_cast_info _swigc__p_std__allocatorT_double_t[] = { {&_swigt__p_std__allocatorT_double_t, 0, 0, 0},{0, 0, 0, 0}};
46373static swig_cast_info _swigc__p_std__invalid_argument[] = { {&_swigt__p_std__invalid_argument, 0, 0, 0},{0, 0, 0, 0}};
46374static swig_cast_info _swigc__p_std__vectorT__Tp__Alloc_t[] = { {&_swigt__p_std__vectorT__Tp__Alloc_t, 0, 0, 0},{0, 0, 0, 0}};
46375static swig_cast_info _swigc__p_std__vectorT_double_std__allocatorT_double_t_t[] = { {&_swigt__p_std__vectorT_double_std__allocatorT_double_t_t, 0, 0, 0},{0, 0, 0, 0}};
46376static swig_cast_info _swigc__p_swig__SwigPyIterator[] = { {&_swigt__p_swig__SwigPyIterator, 0, 0, 0},{0, 0, 0, 0}};
46377static swig_cast_info _swigc__p_value_type[] = { {&_swigt__p_value_type, 0, 0, 0},{0, 0, 0, 0}};
46378
46379static swig_cast_info *swig_cast_initial[] = {
46380 _swigc__p_GArf,
46381 _swigc__p_GBase,
46382 _swigc__p_GCTAAeff,
46383 _swigc__p_GCTAAeff2D,
46384 _swigc__p_GCTAAeffArf,
46385 _swigc__p_GCTAAeffPerfTable,
46386 _swigc__p_GCTAEdisp,
46387 _swigc__p_GCTAEventAtom,
46388 _swigc__p_GCTAEventBin,
46389 _swigc__p_GCTAEventCube,
46390 _swigc__p_GCTAEventList,
46391 _swigc__p_GCTAInstDir,
46392 _swigc__p_GCTAModelBackground,
46393 _swigc__p_GCTAModelRadial,
46394 _swigc__p_GCTAModelRadialAcceptance,
46395 _swigc__p_GCTAModelRadialGauss,
46396 _swigc__p_GCTAModelRadialPolynom,
46397 _swigc__p_GCTAModelRadialProfile,
46398 _swigc__p_GCTAModelRadialRegistry,
46399 _swigc__p_GCTAObservation,
46400 _swigc__p_GCTAOnOffObservation,
46401 _swigc__p_GCTAOnOffObservations,
46402 _swigc__p_GCTAPointing,
46403 _swigc__p_GCTAPsf,
46404 _swigc__p_GCTAPsf2D,
46405 _swigc__p_GCTAPsfKing,
46406 _swigc__p_GCTAPsfPerfTable,
46407 _swigc__p_GCTAPsfVector,
46408 _swigc__p_GCTAResponse,
46409 _swigc__p_GCTAResponseTable,
46410 _swigc__p_GCTARoi,
46411 _swigc__p_GContainer,
46412 _swigc__p_GEbounds,
46413 _swigc__p_GEnergy,
46414 _swigc__p_GEvent,
46415 _swigc__p_GEventAtom,
46416 _swigc__p_GEventBin,
46417 _swigc__p_GEventCube,
46418 _swigc__p_GEventList,
46419 _swigc__p_GEvents,
46420 _swigc__p_GFits,
46421 _swigc__p_GFitsTable,
46422 _swigc__p_GGti,
46423 _swigc__p_GInstDir,
46424 _swigc__p_GMatrix,
46425 _swigc__p_GModel,
46426 _swigc__p_GModelData,
46427 _swigc__p_GModelPar,
46428 _swigc__p_GModelSpatial,
46429 _swigc__p_GModelSpectral,
46430 _swigc__p_GModelTemporal,
46431 _swigc__p_GModels,
46432 _swigc__p_GObservation,
46433 _swigc__p_GPha,
46434 _swigc__p_GPhoton,
46435 _swigc__p_GRan,
46436 _swigc__p_GRegistry,
46437 _swigc__p_GResponse,
46438 _swigc__p_GRmf,
46439 _swigc__p_GRoi,
46440 _swigc__p_GSkyDir,
46441 _swigc__p_GSkyRegions,
46442 _swigc__p_GSkymap,
46443 _swigc__p_GSource,
46444 _swigc__p_GTime,
46445 _swigc__p_GXml,
46446 _swigc__p_GXmlElement,
46447 _swigc__p_allocator_type,
46448 _swigc__p_char,
46449 _swigc__p_difference_type,
46450 _swigc__p_p_PyObject,
46451 _swigc__p_size_type,
46452 _swigc__p_std__allocatorT_double_t,
46453 _swigc__p_std__invalid_argument,
46454 _swigc__p_std__vectorT__Tp__Alloc_t,
46455 _swigc__p_std__vectorT_double_std__allocatorT_double_t_t,
46456 _swigc__p_swig__SwigPyIterator,
46457 _swigc__p_value_type,
46458};
46459
46460
46461/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
46462
46463static swig_const_info swig_const_table[] = {
46464{0, 0, 0, 0.0, 0, 0}};
46465
46466#ifdef __cplusplus199711L
46467}
46468#endif
46469/* -----------------------------------------------------------------------------
46470 * Type initialization:
46471 * This problem is tough by the requirement that no dynamic
46472 * memory is used. Also, since swig_type_info structures store pointers to
46473 * swig_cast_info structures and swig_cast_info structures store pointers back
46474 * to swig_type_info structures, we need some lookup code at initialization.
46475 * The idea is that swig generates all the structures that are needed.
46476 * The runtime then collects these partially filled structures.
46477 * The SWIG_InitializeModule function takes these initial arrays out of
46478 * swig_module, and does all the lookup, filling in the swig_module.types
46479 * array with the correct data and linking the correct swig_cast_info
46480 * structures together.
46481 *
46482 * The generated swig_type_info structures are assigned staticly to an initial
46483 * array. We just loop through that array, and handle each type individually.
46484 * First we lookup if this type has been already loaded, and if so, use the
46485 * loaded structure instead of the generated one. Then we have to fill in the
46486 * cast linked list. The cast data is initially stored in something like a
46487 * two-dimensional array. Each row corresponds to a type (there are the same
46488 * number of rows as there are in the swig_type_initial array). Each entry in
46489 * a column is one of the swig_cast_info structures for that type.
46490 * The cast_initial array is actually an array of arrays, because each row has
46491 * a variable number of columns. So to actually build the cast linked list,
46492 * we find the array of casts associated with the type, and loop through it
46493 * adding the casts to the list. The one last trick we need to do is making
46494 * sure the type pointer in the swig_cast_info struct is correct.
46495 *
46496 * First off, we lookup the cast->type name to see if it is already loaded.
46497 * There are three cases to handle:
46498 * 1) If the cast->type has already been loaded AND the type we are adding
46499 * casting info to has not been loaded (it is in this module), THEN we
46500 * replace the cast->type pointer with the type pointer that has already
46501 * been loaded.
46502 * 2) If BOTH types (the one we are adding casting info to, and the
46503 * cast->type) are loaded, THEN the cast info has already been loaded by
46504 * the previous module so we just ignore it.
46505 * 3) Finally, if cast->type has not already been loaded, then we add that
46506 * swig_cast_info to the linked list (because the cast->type) pointer will
46507 * be correct.
46508 * ----------------------------------------------------------------------------- */
46509
46510#ifdef __cplusplus199711L
46511extern "C" {
46512#if 0
46513} /* c-mode */
46514#endif
46515#endif
46516
46517#if 0
46518#define SWIGRUNTIME_DEBUG
46519#endif
46520
46521
46522SWIGRUNTIMEstatic __attribute__ ((__unused__)) void
46523SWIG_InitializeModule(void *clientdata) {
46524 size_t i;
46525 swig_module_info *module_head, *iter;
46526 int found, init;
46527
46528 /* check to see if the circular list has been setup, if not, set it up */
46529 if (swig_module.next==0) {
46530 /* Initialize the swig_module */
46531 swig_module.type_initial = swig_type_initial;
46532 swig_module.cast_initial = swig_cast_initial;
46533 swig_module.next = &swig_module;
46534 init = 1;
46535 } else {
46536 init = 0;
46537 }
46538
46539 /* Try and load any already created modules */
46540 module_head = SWIG_GetModule(clientdata)SWIG_Python_GetModule(clientdata);
46541 if (!module_head) {
46542 /* This is the first module loaded for this interpreter */
46543 /* so set the swig module into the interpreter */
46544 SWIG_SetModule(clientdata, &swig_module)SWIG_Python_SetModule(&swig_module);
46545 module_head = &swig_module;
Value stored to 'module_head' is never read
46546 } else {
46547 /* the interpreter has loaded a SWIG module, but has it loaded this one? */
46548 found=0;
46549 iter=module_head;
46550 do {
46551 if (iter==&swig_module) {
46552 found=1;
46553 break;
46554 }
46555 iter=iter->next;
46556 } while (iter!= module_head);
46557
46558 /* if the is found in the list, then all is done and we may leave */
46559 if (found) return;
46560 /* otherwise we must add out module into the list */
46561 swig_module.next = module_head->next;
46562 module_head->next = &swig_module;
46563 }
46564
46565 /* When multiple interpreters are used, a module could have already been initialized in
46566 a different interpreter, but not yet have a pointer in this interpreter.
46567 In this case, we do not want to continue adding types... everything should be
46568 set up already */
46569 if (init == 0) return;
46570
46571 /* Now work on filling in swig_module.types */
46572#ifdef SWIGRUNTIME_DEBUG
46573 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
46574#endif
46575 for (i = 0; i < swig_module.size; ++i) {
46576 swig_type_info *type = 0;
46577 swig_type_info *ret;
46578 swig_cast_info *cast;
46579
46580#ifdef SWIGRUNTIME_DEBUG
46581 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
46582#endif
46583
46584 /* if there is another module already loaded */
46585 if (swig_module.next != &swig_module) {
46586 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
46587 }
46588 if (type) {
46589 /* Overwrite clientdata field */
46590#ifdef SWIGRUNTIME_DEBUG
46591 printf("SWIG_InitializeModule: found type %s\n", type->name);
46592#endif
46593 if (swig_module.type_initial[i]->clientdata) {
46594 type->clientdata = swig_module.type_initial[i]->clientdata;
46595#ifdef SWIGRUNTIME_DEBUG
46596 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
46597#endif
46598 }
46599 } else {
46600 type = swig_module.type_initial[i];
46601 }
46602
46603 /* Insert casting types */
46604 cast = swig_module.cast_initial[i];
46605 while (cast->type) {
46606 /* Don't need to add information already in the list */
46607 ret = 0;
46608#ifdef SWIGRUNTIME_DEBUG
46609 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
46610#endif
46611 if (swig_module.next != &swig_module) {
46612 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
46613#ifdef SWIGRUNTIME_DEBUG
46614 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
46615#endif
46616 }
46617 if (ret) {
46618 if (type == swig_module.type_initial[i]) {
46619#ifdef SWIGRUNTIME_DEBUG
46620 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
46621#endif
46622 cast->type = ret;
46623 ret = 0;
46624 } else {
46625 /* Check for casting already in the list */
46626 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
46627#ifdef SWIGRUNTIME_DEBUG
46628 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
46629#endif
46630 if (!ocast) ret = 0;
46631 }
46632 }
46633
46634 if (!ret) {
46635#ifdef SWIGRUNTIME_DEBUG
46636 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
46637#endif
46638 if (type->cast) {
46639 type->cast->prev = cast;
46640 cast->next = type->cast;
46641 }
46642 type->cast = cast;
46643 }
46644 cast++;
46645 }
46646 /* Set entry in modules->types array equal to the type */
46647 swig_module.types[i] = type;
46648 }
46649 swig_module.types[i] = 0;
46650
46651#ifdef SWIGRUNTIME_DEBUG
46652 printf("**** SWIG_InitializeModule: Cast List ******\n");
46653 for (i = 0; i < swig_module.size; ++i) {
46654 int j = 0;
46655 swig_cast_info *cast = swig_module.cast_initial[i];
46656 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
46657 while (cast->type) {
46658 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
46659 cast++;
46660 ++j;
46661 }
46662 printf("---- Total casts: %d\n",j);
46663 }
46664 printf("**** SWIG_InitializeModule: Cast List ******\n");
46665#endif
46666}
46667
46668/* This function will propagate the clientdata field of type to
46669* any new swig_type_info structures that have been added into the list
46670* of equivalent types. It is like calling
46671* SWIG_TypeClientData(type, clientdata) a second time.
46672*/
46673SWIGRUNTIMEstatic __attribute__ ((__unused__)) void
46674SWIG_PropagateClientData(void) {
46675 size_t i;
46676 swig_cast_info *equiv;
46677 static int init_run = 0;
46678
46679 if (init_run) return;
46680 init_run = 1;
46681
46682 for (i = 0; i < swig_module.size; i++) {
46683 if (swig_module.types[i]->clientdata) {
46684 equiv = swig_module.types[i]->cast;
46685 while (equiv) {
46686 if (!equiv->converter) {
46687 if (equiv->type && !equiv->type->clientdata)
46688 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
46689 }
46690 equiv = equiv->next;
46691 }
46692 }
46693 }
46694}
46695
46696#ifdef __cplusplus199711L
46697#if 0
46698{
46699 /* c-mode */
46700#endif
46701}
46702#endif
46703
46704
46705
46706#ifdef __cplusplus199711L
46707extern "C" {
46708#endif
46709
46710 /* Python-specific SWIG API */
46711#define SWIG_newvarlink()SWIG_Python_newvarlink() SWIG_Python_newvarlink()
46712#define SWIG_addvarlink(p, name, get_attr, set_attr)SWIG_Python_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
46713#define SWIG_InstallConstants(d, constants)SWIG_Python_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
46714
46715 /* -----------------------------------------------------------------------------
46716 * global variable support code.
46717 * ----------------------------------------------------------------------------- */
46718
46719 typedef struct swig_globalvar {
46720 char *name; /* Name of global variable */
46721 PyObject *(*get_attr)(void); /* Return the current value */
46722 int (*set_attr)(PyObject *); /* Set the value */
46723 struct swig_globalvar *next;
46724 } swig_globalvar;
46725
46726 typedef struct swig_varlinkobject {
46727 PyObject_HEADPy_ssize_t ob_refcnt; struct _typeobject *ob_type;
46728 swig_globalvar *vars;
46729 } swig_varlinkobject;
46730
46731 SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *
46732 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
46733#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x03000000
46734 return PyUnicode_InternFromString("<Swig global variables>");
46735#else
46736 return PyString_FromString("<Swig global variables>");
46737#endif
46738 }
46739
46740 SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *
46741 swig_varlink_str(swig_varlinkobject *v) {
46742#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x03000000
46743 PyObject *str = PyUnicode_InternFromString("(");
46744 PyObject *tail;
46745 PyObject *joined;
46746 swig_globalvar *var;
46747 for (var = v->vars; var; var=var->next) {
46748 tail = PyUnicode_FromStringPyUnicodeUCS2_FromString(var->name);
46749 joined = PyUnicode_ConcatPyUnicodeUCS2_Concat(str, tail);
46750 Py_DecRef(str);
46751 Py_DecRef(tail);
46752 str = joined;
46753 if (var->next) {
46754 tail = PyUnicode_InternFromString(", ");
46755 joined = PyUnicode_ConcatPyUnicodeUCS2_Concat(str, tail);
46756 Py_DecRef(str);
46757 Py_DecRef(tail);
46758 str = joined;
46759 }
46760 }
46761 tail = PyUnicode_InternFromString(")");
46762 joined = PyUnicode_ConcatPyUnicodeUCS2_Concat(str, tail);
46763 Py_DecRef(str);
46764 Py_DecRef(tail);
46765 str = joined;
46766#else
46767 PyObject *str = PyString_FromString("(");
46768 swig_globalvar *var;
46769 for (var = v->vars; var; var=var->next) {
46770 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
46771 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
46772 }
46773 PyString_ConcatAndDel(&str,PyString_FromString(")"));
46774#endif
46775 return str;
46776 }
46777
46778 SWIGINTERNstatic __attribute__ ((__unused__)) int
46779 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
46780 char *tmp;
46781 PyObject *str = swig_varlink_str(v);
46782 fprintf(fp,"Swig global variables ");
46783 fprintf(fp,"%s\n", tmp = SWIG_Python_str_AsChar(str));
46784 SWIG_Python_str_DelForPy3(tmp);
46785 Py_DECREF(str)do { if ( --((PyObject*)(str))->ob_refcnt != 0) ; else ( (
*(((PyObject*)((PyObject *)(str)))->ob_type)->tp_dealloc
)((PyObject *)((PyObject *)(str)))); } while (0)
;
46786 return 0;
46787 }
46788
46789 SWIGINTERNstatic __attribute__ ((__unused__)) void
46790 swig_varlink_dealloc(swig_varlinkobject *v) {
46791 swig_globalvar *var = v->vars;
46792 while (var) {
46793 swig_globalvar *n = var->next;
46794 free(var->name);
46795 free(var);
46796 var = n;
46797 }
46798 }
46799
46800 SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *
46801 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
46802 PyObject *res = NULL__null;
46803 swig_globalvar *var = v->vars;
46804 while (var) {
46805 if (strcmp(var->name,n) == 0) {
46806 res = (*var->get_attr)();
46807 break;
46808 }
46809 var = var->next;
46810 }
46811 if (res == NULL__null && !PyErr_Occurred()) {
46812 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
46813 }
46814 return res;
46815 }
46816
46817 SWIGINTERNstatic __attribute__ ((__unused__)) int
46818 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
46819 int res = 1;
46820 swig_globalvar *var = v->vars;
46821 while (var) {
46822 if (strcmp(var->name,n) == 0) {
46823 res = (*var->set_attr)(p);
46824 break;
46825 }
46826 var = var->next;
46827 }
46828 if (res == 1 && !PyErr_Occurred()) {
46829 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
46830 }
46831 return res;
46832 }
46833
46834 SWIGINTERNstatic __attribute__ ((__unused__)) PyTypeObject*
46835 swig_varlink_type(void) {
46836 static char varlink__doc__[] = "Swig var link object";
46837 static PyTypeObject varlink_type;
46838 static int type_init = 0;
46839 if (!type_init) {
46840 const PyTypeObject tmp = {
46841 /* PyObject header changed in Python 3 */
46842#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x03000000
46843 PyVarObject_HEAD_INIT(NULL, 0)1, __null, 0,
46844#else
46845 PyObject_HEAD_INIT(NULL)1, __null,
46846 0, /* ob_size */
46847#endif
46848 (char *)"swigvarlink", /* tp_name */
46849 sizeof(swig_varlinkobject), /* tp_basicsize */
46850 0, /* tp_itemsize */
46851 (destructor) swig_varlink_dealloc, /* tp_dealloc */
46852 (printfunc) swig_varlink_print, /* tp_print */
46853 (getattrfunc) swig_varlink_getattr, /* tp_getattr */
46854 (setattrfunc) swig_varlink_setattr, /* tp_setattr */
46855 0, /* tp_compare */
46856 (reprfunc) swig_varlink_repr, /* tp_repr */
46857 0, /* tp_as_number */
46858 0, /* tp_as_sequence */
46859 0, /* tp_as_mapping */
46860 0, /* tp_hash */
46861 0, /* tp_call */
46862 (reprfunc) swig_varlink_str, /* tp_str */
46863 0, /* tp_getattro */
46864 0, /* tp_setattro */
46865 0, /* tp_as_buffer */
46866 0, /* tp_flags */
46867 varlink__doc__, /* tp_doc */
46868 0, /* tp_traverse */
46869 0, /* tp_clear */
46870 0, /* tp_richcompare */
46871 0, /* tp_weaklistoffset */
46872#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x02020000
46873 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
46874#endif
46875#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x02030000
46876 0, /* tp_del */
46877#endif
46878#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x02060000
46879 0, /* tp_version */
46880#endif
46881#ifdef COUNT_ALLOCS
46882 0,0,0,0 /* tp_alloc -> tp_next */
46883#endif
46884 };
46885 varlink_type = tmp;
46886 type_init = 1;
46887#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
< 0x02020000
46888 varlink_type.ob_type = &PyType_Type;
46889#else
46890 if (PyType_Ready(&varlink_type) < 0)
46891 return NULL__null;
46892#endif
46893 }
46894 return &varlink_type;
46895 }
46896
46897 /* Create a variable linking object for use later */
46898 SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *
46899 SWIG_Python_newvarlink(void) {
46900 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type())( (swig_varlinkobject *) PyObject_Init( (PyObject *) PyObject_Malloc
( ( (swig_varlink_type())->tp_basicsize ) ), (swig_varlink_type
())) )
;
46901 if (result) {
46902 result->vars = 0;
46903 }
46904 return ((PyObject*) result);
46905 }
46906
46907 SWIGINTERNstatic __attribute__ ((__unused__)) void
46908 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
46909 swig_varlinkobject *v = (swig_varlinkobject *) p;
46910 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
46911 if (gv) {
46912 size_t size = strlen(name)+1;
46913 gv->name = (char *)malloc(size);
46914 if (gv->name) {
46915 strncpy(gv->name,name,size);
46916 gv->get_attr = get_attr;
46917 gv->set_attr = set_attr;
46918 gv->next = v->vars;
46919 }
46920 }
46921 v->vars = gv;
46922 }
46923
46924 SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *
46925 SWIG_globals(void) {
46926 static PyObject *_SWIG_globals = 0;
46927 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink()SWIG_Python_newvarlink();
46928 return _SWIG_globals;
46929 }
46930
46931 /* -----------------------------------------------------------------------------
46932 * constants/methods manipulation
46933 * ----------------------------------------------------------------------------- */
46934
46935 /* Install Constants */
46936 SWIGINTERNstatic __attribute__ ((__unused__)) void
46937 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
46938 PyObject *obj = 0;
46939 size_t i;
46940 for (i = 0; constants[i].type; ++i) {
46941 switch(constants[i].type) {
46942 case SWIG_PY_POINTER4:
46943 obj = SWIG_InternalNewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0)SWIG_Python_NewPointerObj(__null, constants[i].pvalue, *(constants
[i]).ptype, 0)
;
46944 break;
46945 case SWIG_PY_BINARY5:
46946 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype))SWIG_Python_NewPackedObj(constants[i].pvalue, constants[i].lvalue
, *(constants[i].ptype))
;
46947 break;
46948 default:
46949 obj = 0;
46950 break;
46951 }
46952 if (obj) {
46953 PyDict_SetItemString(d, constants[i].name, obj);
46954 Py_DECREF(obj)do { if ( --((PyObject*)(obj))->ob_refcnt != 0) ; else ( (
*(((PyObject*)((PyObject *)(obj)))->ob_type)->tp_dealloc
)((PyObject *)((PyObject *)(obj)))); } while (0)
;
46955 }
46956 }
46957 }
46958
46959 /* -----------------------------------------------------------------------------*/
46960 /* Fix SwigMethods to carry the callback ptrs when needed */
46961 /* -----------------------------------------------------------------------------*/
46962
46963 SWIGINTERNstatic __attribute__ ((__unused__)) void
46964 SWIG_Python_FixMethods(PyMethodDef *methods,
46965 swig_const_info *const_table,
46966 swig_type_info **types,
46967 swig_type_info **types_initial) {
46968 size_t i;
46969 for (i = 0; methods[i].ml_name; ++i) {
46970 const char *c = methods[i].ml_doc;
46971 if (c && (c = strstr(c, "swig_ptr: "))) {
46972 int j;
46973 swig_const_info *ci = 0;
46974 const char *name = c + 10;
46975 for (j = 0; const_table[j].type; ++j) {
46976 if (strncmp(const_table[j].name, name,
46977 strlen(const_table[j].name)) == 0) {
46978 ci = &(const_table[j]);
46979 break;
46980 }
46981 }
46982 if (ci) {
46983 void *ptr = (ci->type == SWIG_PY_POINTER4) ? ci->pvalue : 0;
46984 if (ptr) {
46985 size_t shift = (ci->ptype) - types;
46986 swig_type_info *ty = types_initial[shift];
46987 size_t ldoc = (c - methods[i].ml_doc);
46988 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
46989 char *ndoc = (char*)malloc(ldoc + lptr + 10);
46990 if (ndoc) {
46991 char *buff = ndoc;
46992 strncpy(buff, methods[i].ml_doc, ldoc);
46993 buff += ldoc;
46994 strncpy(buff, "swig_ptr: ", 10);
46995 buff += 10;
46996 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
46997 methods[i].ml_doc = ndoc;
46998 }
46999 }
47000 }
47001 }
47002 }
47003 }
47004
47005#ifdef __cplusplus199711L
47006}
47007#endif
47008
47009/* -----------------------------------------------------------------------------*
47010 * Partial Init method
47011 * -----------------------------------------------------------------------------*/
47012
47013#ifdef __cplusplus199711L
47014extern "C"
47015#endif
47016
47017SWIGEXPORT__attribute__ ((visibility("default")))
47018#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x03000000
47019PyObject*
47020#else
47021void
47022#endif
47023SWIG_initinit_cta(void) {
47024 PyObject *m, *d, *md;
47025#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x03000000
47026 static struct PyModuleDef SWIG_module = {
47027# if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x03020000
47028 PyModuleDef_HEAD_INIT,
47029# else
47030 {
47031 PyObject_HEAD_INIT(NULL)1, __null,
47032 NULL__null, /* m_init */
47033 0, /* m_index */
47034 NULL__null, /* m_copy */
47035 },
47036# endif
47037 (char *) SWIG_name"_cta",
47038 NULL__null,
47039 -1,
47040 SwigMethods,
47041 NULL__null,
47042 NULL__null,
47043 NULL__null,
47044 NULL__null
47045 };
47046#endif
47047
47048#if defined(SWIGPYTHON_BUILTIN)
47049 static SwigPyClientData SwigPyObject_clientdata = {
47050 0, 0, 0, 0, 0, 0, 0
47051 };
47052 static PyGetSetDef this_getset_def = {
47053 (char *)"this", &SwigPyBuiltin_ThisClosure, NULL__null, NULL__null, NULL__null
47054 };
47055 static SwigPyGetSet thisown_getset_closure = {
47056 (PyCFunction) SwigPyObject_own,
47057 (PyCFunction) SwigPyObject_own
47058 };
47059 static PyGetSetDef thisown_getset_def = {
47060 (char *)"thisown", SwigPyBuiltin_GetterClosure, SwigPyBuiltin_SetterClosure, NULL__null, &thisown_getset_closure
47061 };
47062 PyObject *metatype_args;
47063 PyTypeObject *builtin_pytype;
47064 int builtin_base_count;
47065 swig_type_info *builtin_basetype;
47066 PyObject *tuple;
47067 PyGetSetDescrObject *static_getset;
47068 PyTypeObject *metatype;
47069 SwigPyClientData *cd;
47070 PyObject *public_interface, *public_symbol;
47071 PyObject *this_descr;
47072 PyObject *thisown_descr;
47073 int i;
47074
47075 (void)builtin_pytype;
47076 (void)builtin_base_count;
47077 (void)builtin_basetype;
47078 (void)tuple;
47079 (void)static_getset;
47080
47081 /* metatype is used to implement static member variables. */
47082 metatype_args = Py_BuildValue("(s(O){})", "SwigPyObjectType", &PyType_Type);
47083 assert(metatype_args)((void)0);
47084 metatype = (PyTypeObject *) PyType_Type.tp_call((PyObject *) &PyType_Type, metatype_args, NULL__null);
47085 assert(metatype)((void)0);
47086 Py_DECREF(metatype_args)do { if ( --((PyObject*)(metatype_args))->ob_refcnt != 0) ;
else ( (*(((PyObject*)((PyObject *)(metatype_args)))->ob_type
)->tp_dealloc)((PyObject *)((PyObject *)(metatype_args))))
; } while (0)
;
47087 metatype->tp_setattro = (setattrofunc) &SwigPyObjectType_setattro;
47088 assert(PyType_Ready(metatype) >= 0)((void)0);
47089#endif
47090
47091 /* Fix SwigMethods to carry the callback ptrs when needed */
47092 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
47093
47094#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x03000000
47095 m = PyModule_Create(&SWIG_module);
47096#else
47097 m = Py_InitModule((char *) SWIG_name, SwigMethods)Py_InitModule4_64((char *) "_cta", SwigMethods, (char *)__null
, (PyObject *)__null, 1013)
;
47098#endif
47099 md = d = PyModule_GetDict(m);
47100 (void)md;
47101
47102 SWIG_InitializeModule(0);
47103
47104#ifdef SWIGPYTHON_BUILTIN
47105 SwigPyObject_stype = SWIG_MangledTypeQuery("_p_SwigPyObject")SWIG_MangledTypeQueryModule(&swig_module, &swig_module
, "_p_SwigPyObject")
;
47106 assert(SwigPyObject_stype)((void)0);
47107 cd = (SwigPyClientData*) SwigPyObject_stype->clientdata;
47108 if (!cd) {
47109 SwigPyObject_stype->clientdata = &SwigPyObject_clientdata;
47110 SwigPyObject_clientdata.pytype = SwigPyObject_TypeOnce();
47111 } else if (SwigPyObject_TypeOnce()->tp_basicsize != cd->pytype->tp_basicsize) {
47112 PyErr_SetString(PyExc_RuntimeError, "Import error: attempted to load two incompatible swig-generated modules.");
47113# if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x03000000
47114 return NULL__null;
47115# else
47116 return;
47117# endif
47118 }
47119
47120 /* All objects have a 'this' attribute */
47121 this_descr = PyDescr_NewGetSet(SwigPyObject_type(), &this_getset_def);
47122 (void)this_descr;
47123
47124 /* All objects have a 'thisown' attribute */
47125 thisown_descr = PyDescr_NewGetSet(SwigPyObject_type(), &thisown_getset_def);
47126 (void)thisown_descr;
47127
47128 public_interface = PyList_New(0);
47129 public_symbol = 0;
47130 (void)public_symbol;
47131
47132 PyDict_SetItemString(md, "__all__", public_interface);
47133 Py_DECREF(public_interface)do { if ( --((PyObject*)(public_interface))->ob_refcnt != 0
) ; else ( (*(((PyObject*)((PyObject *)(public_interface)))->
ob_type)->tp_dealloc)((PyObject *)((PyObject *)(public_interface
)))); } while (0)
;
47134 for (i = 0; SwigMethods[i].ml_name != NULL__null; ++i)
47135 SwigPyBuiltin_AddPublicSymbol(public_interface, SwigMethods[i].ml_name);
47136 for (i = 0; swig_const_table[i].name != 0; ++i)
47137 SwigPyBuiltin_AddPublicSymbol(public_interface, swig_const_table[i].name);
47138#endif
47139
47140 SWIG_InstallConstants(d,swig_const_table)SWIG_Python_InstallConstants(d, swig_const_table);
47141
47142#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x03000000
47143 return m;
47144#else
47145 return;
47146#endif
47147}
47148