Bug Summary

File:pyext/gammalib/fits_wrap.cpp
Location:line 54838, 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_GBaseswig_types[0] swig_types[0]
2941#define SWIGTYPE_p_GContainerswig_types[1] swig_types[1]
2942#define SWIGTYPE_p_GFitsswig_types[2] swig_types[2]
2943#define SWIGTYPE_p_GFitsAsciiTableswig_types[3] swig_types[3]
2944#define SWIGTYPE_p_GFitsBinTableswig_types[4] swig_types[4]
2945#define SWIGTYPE_p_GFitsHDUswig_types[5] swig_types[5]
2946#define SWIGTYPE_p_GFitsHeaderswig_types[6] swig_types[6]
2947#define SWIGTYPE_p_GFitsHeaderCardswig_types[7] swig_types[7]
2948#define SWIGTYPE_p_GFitsImageswig_types[8] swig_types[8]
2949#define SWIGTYPE_p_GFitsImageByteswig_types[9] swig_types[9]
2950#define SWIGTYPE_p_GFitsImageDoubleswig_types[10] swig_types[10]
2951#define SWIGTYPE_p_GFitsImageFloatswig_types[11] swig_types[11]
2952#define SWIGTYPE_p_GFitsImageLongswig_types[12] swig_types[12]
2953#define SWIGTYPE_p_GFitsImageLongLongswig_types[13] swig_types[13]
2954#define SWIGTYPE_p_GFitsImageSByteswig_types[14] swig_types[14]
2955#define SWIGTYPE_p_GFitsImageShortswig_types[15] swig_types[15]
2956#define SWIGTYPE_p_GFitsImageULongswig_types[16] swig_types[16]
2957#define SWIGTYPE_p_GFitsImageUShortswig_types[17] swig_types[17]
2958#define SWIGTYPE_p_GFitsTableswig_types[18] swig_types[18]
2959#define SWIGTYPE_p_GFitsTableBitColswig_types[19] swig_types[19]
2960#define SWIGTYPE_p_GFitsTableBoolColswig_types[20] swig_types[20]
2961#define SWIGTYPE_p_GFitsTableByteColswig_types[21] swig_types[21]
2962#define SWIGTYPE_p_GFitsTableCDoubleColswig_types[22] swig_types[22]
2963#define SWIGTYPE_p_GFitsTableCFloatColswig_types[23] swig_types[23]
2964#define SWIGTYPE_p_GFitsTableColswig_types[24] swig_types[24]
2965#define SWIGTYPE_p_GFitsTableDoubleColswig_types[25] swig_types[25]
2966#define SWIGTYPE_p_GFitsTableFloatColswig_types[26] swig_types[26]
2967#define SWIGTYPE_p_GFitsTableLongColswig_types[27] swig_types[27]
2968#define SWIGTYPE_p_GFitsTableLongLongColswig_types[28] swig_types[28]
2969#define SWIGTYPE_p_GFitsTableShortColswig_types[29] swig_types[29]
2970#define SWIGTYPE_p_GFitsTableStringColswig_types[30] swig_types[30]
2971#define SWIGTYPE_p_GFitsTableULongColswig_types[31] swig_types[31]
2972#define SWIGTYPE_p_GFitsTableUShortColswig_types[32] swig_types[32]
2973#define SWIGTYPE_p_GFits__cdoubleswig_types[33] swig_types[33]
2974#define SWIGTYPE_p_GFits__cfloatswig_types[34] swig_types[34]
2975#define SWIGTYPE_p_allocator_typeswig_types[35] swig_types[35]
2976#define SWIGTYPE_p_boolswig_types[36] swig_types[36]
2977#define SWIGTYPE_p_charswig_types[37] swig_types[37]
2978#define SWIGTYPE_p_difference_typeswig_types[38] swig_types[38]
2979#define SWIGTYPE_p_doubleswig_types[39] swig_types[39]
2980#define SWIGTYPE_p_floatswig_types[40] swig_types[40]
2981#define SWIGTYPE_p_intswig_types[41] swig_types[41]
2982#define SWIGTYPE_p_longswig_types[42] swig_types[42]
2983#define SWIGTYPE_p_long_longswig_types[43] swig_types[43]
2984#define SWIGTYPE_p_p_PyObjectswig_types[44] swig_types[44]
2985#define SWIGTYPE_p_shortswig_types[45] swig_types[45]
2986#define SWIGTYPE_p_size_typeswig_types[46] swig_types[46]
2987#define SWIGTYPE_p_std__allocatorT_int_tswig_types[47] swig_types[47]
2988#define SWIGTYPE_p_std__invalid_argumentswig_types[48] swig_types[48]
2989#define SWIGTYPE_p_std__stringswig_types[49] swig_types[49]
2990#define SWIGTYPE_p_std__vectorT__Tp__Alloc_tswig_types[50] swig_types[50]
2991#define SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_tswig_types[51] swig_types[51]
2992#define SWIGTYPE_p_swig__SwigPyIteratorswig_types[52] swig_types[52]
2993#define SWIGTYPE_p_unsigned_charswig_types[53] swig_types[53]
2994#define SWIGTYPE_p_unsigned_longswig_types[54] swig_types[54]
2995#define SWIGTYPE_p_unsigned_shortswig_types[55] swig_types[55]
2996#define SWIGTYPE_p_value_typeswig_types[56] swig_types[56]
2997#define SWIGTYPE_p_voidswig_types[57] swig_types[57]
2998static swig_type_info *swig_types[59];
2999static swig_module_info swig_module = {swig_types, 58, 0, 0, 0, 0};
3000#define SWIG_TypeQuery(name)SWIG_TypeQueryModule(&swig_module, &swig_module, name
)
SWIG_TypeQueryModule(&swig_module, &swig_module, name)
3001#define SWIG_MangledTypeQuery(name)SWIG_MangledTypeQueryModule(&swig_module, &swig_module
, name)
SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
3002
3003/* -------- TYPES TABLE (END) -------- */
3004
3005#if (PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
<= 0x02000000)
3006# if !defined(SWIG_PYTHON_CLASSIC)
3007# error "This python version requires swig to be run with the '-classic' option"
3008# endif
3009#endif
3010
3011/*-----------------------------------------------
3012 @(target):= _fits.so
3013 ------------------------------------------------*/
3014#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x03000000
3015# define SWIG_initinit_fits PyInit__fits
3016
3017#else
3018# define SWIG_initinit_fits init_fits
3019
3020#endif
3021#define SWIG_name"_fits" "_fits"
3022
3023#define SWIGVERSION0x020011 0x020011
3024#define SWIG_VERSION0x020011 SWIGVERSION0x020011
3025
3026
3027#define SWIG_as_voidptr(a)const_cast< void * >(static_cast< const void * >(
a))
const_cast< void * >(static_cast< const void * >(a))
3028#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))
3029
3030
3031#include <stdexcept>
3032
3033
3034namespace swig {
3035 class SwigPtr_PyObject {
3036 protected:
3037 PyObject *_obj;
3038
3039 public:
3040 SwigPtr_PyObject() :_obj(0)
3041 {
3042 }
3043
3044 SwigPtr_PyObject(const SwigPtr_PyObject& item) : _obj(item._obj)
3045 {
3046 Py_XINCREF(_obj)do { if ((_obj) == __null) ; else ( ((PyObject*)(_obj))->ob_refcnt
++); } while (0)
;
3047 }
3048
3049 SwigPtr_PyObject(PyObject *obj, bool initial_ref = true) :_obj(obj)
3050 {
3051 if (initial_ref) {
3052 Py_XINCREF(_obj)do { if ((_obj) == __null) ; else ( ((PyObject*)(_obj))->ob_refcnt
++); } while (0)
;
3053 }
3054 }
3055
3056 SwigPtr_PyObject & operator=(const SwigPtr_PyObject& item)
3057 {
3058 Py_XINCREF(item._obj)do { if ((item._obj) == __null) ; else ( ((PyObject*)(item._obj
))->ob_refcnt++); } while (0)
;
3059 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)
;
3060 _obj = item._obj;
3061 return *this;
3062 }
3063
3064 ~SwigPtr_PyObject()
3065 {
3066 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)
;
3067 }
3068
3069 operator PyObject *() const
3070 {
3071 return _obj;
3072 }
3073
3074 PyObject *operator->() const
3075 {
3076 return _obj;
3077 }
3078 };
3079}
3080
3081
3082namespace swig {
3083 struct SwigVar_PyObject : SwigPtr_PyObject {
3084 SwigVar_PyObject(PyObject* obj = 0) : SwigPtr_PyObject(obj, false) { }
3085
3086 SwigVar_PyObject & operator = (PyObject* obj)
3087 {
3088 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)
;
3089 _obj = obj;
3090 return *this;
3091 }
3092 };
3093}
3094
3095
3096#include <stddef.h>
3097#include "GException.hpp"
3098#include "GTools.hpp"
3099
3100
3101#include <stdexcept>
3102
3103
3104#if defined(__GNUC__4)
3105# if __GNUC__4 == 2 && __GNUC_MINOR <= 96
3106# define SWIG_STD_NOMODERN_STL
3107# endif
3108#endif
3109
3110
3111#include <string>
3112#include <stdexcept>
3113#include <stddef.h>
3114
3115
3116#include <string>
3117
3118
3119#include <iostream>
3120
3121#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x03020000
3122# define SWIGPY_SLICE_ARG(obj)((PySliceObject*) (obj)) ((PyObject*) (obj))
3123#else
3124# define SWIGPY_SLICE_ARG(obj)((PySliceObject*) (obj)) ((PySliceObject*) (obj))
3125#endif
3126
3127
3128 #include <stddef.h>
3129
3130
3131namespace swig {
3132 struct stop_iteration {
3133 };
3134
3135 struct SwigPyIterator {
3136 private:
3137 SwigPtr_PyObject _seq;
3138
3139 protected:
3140 SwigPyIterator(PyObject *seq) : _seq(seq)
3141 {
3142 }
3143
3144 public:
3145 virtual ~SwigPyIterator() {}
3146
3147 // Access iterator method, required by Python
3148 virtual PyObject *value() const = 0;
3149
3150 // Forward iterator method, required by Python
3151 virtual SwigPyIterator *incr(size_t n = 1) = 0;
3152
3153 // Backward iterator method, very common in C++, but not required in Python
3154 virtual SwigPyIterator *decr(size_t /*n*/ = 1)
3155 {
3156 throw stop_iteration();
3157 }
3158
3159 // Random access iterator methods, but not required in Python
3160 virtual ptrdiff_t distance(const SwigPyIterator &/*x*/) const
3161 {
3162 throw std::invalid_argument("operation not supported");
3163 }
3164
3165 virtual bool equal (const SwigPyIterator &/*x*/) const
3166 {
3167 throw std::invalid_argument("operation not supported");
3168 }
3169
3170 // C++ common/needed methods
3171 virtual SwigPyIterator *copy() const = 0;
3172
3173 PyObject *next()
3174 {
3175 SWIG_PYTHON_THREAD_BEGIN_BLOCK; // disable threads
3176 PyObject *obj = value();
3177 incr();
3178 SWIG_PYTHON_THREAD_END_BLOCK; // re-enable threads
3179 return obj;
3180 }
3181
3182 /* Make an alias for Python 3.x */
3183 PyObject *__next__()
3184 {
3185 return next();
3186 }
3187
3188 PyObject *previous()
3189 {
3190 SWIG_PYTHON_THREAD_BEGIN_BLOCK; // disable threads
3191 decr();
3192 PyObject *obj = value();
3193 SWIG_PYTHON_THREAD_END_BLOCK; // re-enable threads
3194 return obj;
3195 }
3196
3197 SwigPyIterator *advance(ptrdiff_t n)
3198 {
3199 return (n > 0) ? incr(n) : decr(-n);
3200 }
3201
3202 bool operator == (const SwigPyIterator& x) const
3203 {
3204 return equal(x);
3205 }
3206
3207 bool operator != (const SwigPyIterator& x) const
3208 {
3209 return ! operator==(x);
3210 }
3211
3212 SwigPyIterator& operator += (ptrdiff_t n)
3213 {
3214 return *advance(n);
3215 }
3216
3217 SwigPyIterator& operator -= (ptrdiff_t n)
3218 {
3219 return *advance(-n);
3220 }
3221
3222 SwigPyIterator* operator + (ptrdiff_t n) const
3223 {
3224 return copy()->advance(n);
3225 }
3226
3227 SwigPyIterator* operator - (ptrdiff_t n) const
3228 {
3229 return copy()->advance(-n);
3230 }
3231
3232 ptrdiff_t operator - (const SwigPyIterator& x) const
3233 {
3234 return x.distance(*this);
3235 }
3236
3237 static swig_type_info* descriptor() {
3238 static int init = 0;
3239 static swig_type_info* desc = 0;
3240 if (!init) {
3241 desc = SWIG_TypeQuery("swig::SwigPyIterator *")SWIG_TypeQueryModule(&swig_module, &swig_module, "swig::SwigPyIterator *"
)
;
3242 init = 1;
3243 }
3244 return desc;
3245 }
3246 };
3247
3248#if defined(SWIGPYTHON_BUILTIN)
3249 inline PyObject* make_output_iterator_builtin (PyObject *pyself)
3250 {
3251 Py_INCREF(pyself)( ((PyObject*)(pyself))->ob_refcnt++);
3252 return pyself;
3253 }
3254#endif
3255}
3256
3257
3258SWIGINTERNstatic __attribute__ ((__unused__)) int
3259SWIG_AsVal_double (PyObject *obj, double *val)
3260{
3261 int res = SWIG_TypeError-5;
3262 if (PyFloat_Check(obj)((((PyObject*)(obj))->ob_type) == (&PyFloat_Type) || PyType_IsSubtype
((((PyObject*)(obj))->ob_type), (&PyFloat_Type)))
) {
3263 if (val) *val = PyFloat_AsDouble(obj);
3264 return SWIG_OK(0);
3265 } else if (PyInt_Check(obj)((((obj)->ob_type)->tp_flags & ((1L<<23))) !=
0)
) {
3266 if (val) *val = PyInt_AsLong(obj);
3267 return SWIG_OK(0);
3268 } else if (PyLong_Check(obj)((((((PyObject*)(obj))->ob_type))->tp_flags & ((1L<<
24))) != 0)
) {
3269 double v = PyLong_AsDouble(obj);
3270 if (!PyErr_Occurred()) {
3271 if (val) *val = v;
3272 return SWIG_OK(0);
3273 } else {
3274 PyErr_Clear();
3275 }
3276 }
3277#ifdef SWIG_PYTHON_CAST_MODE
3278 {
3279 int dispatch = 0;
3280 double d = PyFloat_AsDouble(obj);
3281 if (!PyErr_Occurred()) {
3282 if (val) *val = d;
3283 return SWIG_AddCast(SWIG_OK)((0));
3284 } else {
3285 PyErr_Clear();
3286 }
3287 if (!dispatch) {
3288 long v = PyLong_AsLong(obj);
3289 if (!PyErr_Occurred()) {
3290 if (val) *val = v;
3291 return SWIG_AddCast(SWIG_AddCast(SWIG_OK))(((0)));
3292 } else {
3293 PyErr_Clear();
3294 }
3295 }
3296 }
3297#endif
3298 return res;
3299}
3300
3301
3302#include <float.h>
3303
3304
3305#include <math.h>
3306
3307
3308SWIGINTERNINLINEstatic __attribute__ ((__unused__)) inline int
3309SWIG_CanCastAsInteger(double *d, double min, double max) {
3310 double x = *d;
3311 if ((min <= x && x <= max)) {
3312 double fx = floor(x);
3313 double cx = ceil(x);
3314 double rd = ((x - fx) < 0.5) ? fx : cx; /* simple rint */
3315 if ((errno(*__error()) == EDOM33) || (errno(*__error()) == ERANGE34)) {
3316 errno(*__error()) = 0;
3317 } else {
3318 double summ, reps, diff;
3319 if (rd < x) {
3320 diff = x - rd;
3321 } else if (rd > x) {
3322 diff = rd - x;
3323 } else {
3324 return 1;
3325 }
3326 summ = rd + x;
3327 reps = diff/summ;
3328 if (reps < 8*DBL_EPSILON2.2204460492503131e-16) {
3329 *d = rd;
3330 return 1;
3331 }
3332 }
3333 }
3334 return 0;
3335}
3336
3337
3338SWIGINTERNstatic __attribute__ ((__unused__)) int
3339SWIG_AsVal_unsigned_SS_long (PyObject *obj, unsigned long *val)
3340{
3341#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
< 0x03000000
3342 if (PyInt_Check(obj)((((obj)->ob_type)->tp_flags & ((1L<<23))) !=
0)
) {
3343 long v = PyInt_AsLong(obj);
3344 if (v >= 0) {
3345 if (val) *val = v;
3346 return SWIG_OK(0);
3347 } else {
3348 return SWIG_OverflowError-7;
3349 }
3350 } else
3351#endif
3352 if (PyLong_Check(obj)((((((PyObject*)(obj))->ob_type))->tp_flags & ((1L<<
24))) != 0)
) {
3353 unsigned long v = PyLong_AsUnsignedLong(obj);
3354 if (!PyErr_Occurred()) {
3355 if (val) *val = v;
3356 return SWIG_OK(0);
3357 } else {
3358 PyErr_Clear();
3359#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x03000000
3360 {
3361 long v = PyLong_AsLong(obj);
3362 if (!PyErr_Occurred()) {
3363 if (v < 0) {
3364 return SWIG_OverflowError-7;
3365 }
3366 } else {
3367 PyErr_Clear();
3368 }
3369 }
3370#endif
3371 }
3372 }
3373#ifdef SWIG_PYTHON_CAST_MODE
3374 {
3375 int dispatch = 0;
3376 unsigned long v = PyLong_AsUnsignedLong(obj);
3377 if (!PyErr_Occurred()) {
3378 if (val) *val = v;
3379 return SWIG_AddCast(SWIG_OK)((0));
3380 } else {
3381 PyErr_Clear();
3382 }
3383 if (!dispatch) {
3384 double d;
3385 int res = SWIG_AddCast(SWIG_AsVal_double (obj,&d))(SWIG_AsVal_double (obj,&d));
3386 if (SWIG_IsOK(res)(res >= 0) && SWIG_CanCastAsInteger(&d, 0, ULONG_MAX(9223372036854775807L *2UL+1UL))) {
3387 if (val) *val = (unsigned long)(d);
3388 return res;
3389 }
3390 }
3391 }
3392#endif
3393 return SWIG_TypeError-5;
3394}
3395
3396
3397SWIGINTERNINLINEstatic __attribute__ ((__unused__)) inline int
3398SWIG_AsVal_size_t (PyObject * obj, size_t *val)
3399{
3400 unsigned long v;
3401 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
3402 if (SWIG_IsOK(res)(res >= 0) && val) *val = static_cast< size_t >(v);
3403 return res;
3404}
3405
3406
3407 #define SWIG_From_longPyLong_FromLong PyLong_FromLong
3408
3409
3410SWIGINTERNINLINEstatic __attribute__ ((__unused__)) inline PyObject *
3411SWIG_From_ptrdiff_t (ptrdiff_t value)
3412{
3413 return SWIG_From_longPyLong_FromLong (static_cast< long >(value));
3414}
3415
3416
3417SWIGINTERNINLINEstatic __attribute__ ((__unused__)) inline PyObject*
3418 SWIG_From_bool (bool value)
3419{
3420 return PyBool_FromLong(value ? 1 : 0);
3421}
3422
3423
3424SWIGINTERNstatic __attribute__ ((__unused__)) int
3425SWIG_AsVal_long (PyObject *obj, long* val)
3426{
3427 if (PyInt_Check(obj)((((obj)->ob_type)->tp_flags & ((1L<<23))) !=
0)
) {
3428 if (val) *val = PyInt_AsLong(obj);
3429 return SWIG_OK(0);
3430 } else if (PyLong_Check(obj)((((((PyObject*)(obj))->ob_type))->tp_flags & ((1L<<
24))) != 0)
) {
3431 long v = PyLong_AsLong(obj);
3432 if (!PyErr_Occurred()) {
3433 if (val) *val = v;
3434 return SWIG_OK(0);
3435 } else {
3436 PyErr_Clear();
3437 }
3438 }
3439#ifdef SWIG_PYTHON_CAST_MODE
3440 {
3441 int dispatch = 0;
3442 long v = PyInt_AsLong(obj);
3443 if (!PyErr_Occurred()) {
3444 if (val) *val = v;
3445 return SWIG_AddCast(SWIG_OK)((0));
3446 } else {
3447 PyErr_Clear();
3448 }
3449 if (!dispatch) {
3450 double d;
3451 int res = SWIG_AddCast(SWIG_AsVal_double (obj,&d))(SWIG_AsVal_double (obj,&d));
3452 if (SWIG_IsOK(res)(res >= 0) && SWIG_CanCastAsInteger(&d, LONG_MIN(-9223372036854775807L -1L), LONG_MAX9223372036854775807L)) {
3453 if (val) *val = (long)(d);
3454 return res;
3455 }
3456 }
3457 }
3458#endif
3459 return SWIG_TypeError-5;
3460}
3461
3462
3463SWIGINTERNINLINEstatic __attribute__ ((__unused__)) inline int
3464SWIG_AsVal_ptrdiff_t (PyObject * obj, ptrdiff_t *val)
3465{
3466 long v;
3467 int res = SWIG_AsVal_long (obj, val ? &v : 0);
3468 if (SWIG_IsOK(res)(res >= 0) && val) *val = static_cast< ptrdiff_t >(v);
3469 return res;
3470}
3471
3472
3473#include <stdexcept>
3474
3475
3476#include <algorithm>
3477
3478
3479#include <vector>
3480
3481
3482#include <utility>
3483
3484
3485#include <map>
3486#include <algorithm>
3487#include <stdexcept>
3488
3489
3490/* Put headers and other declarations here that are needed for compilation */
3491#include "GTools.hpp"
3492#include "GFits.hpp"
3493#include "GFitsHDU.hpp"
3494#include "GFitsImage.hpp"
3495#include "GFitsImageByte.hpp"
3496#include "GFitsImageDouble.hpp"
3497#include "GFitsImageFloat.hpp"
3498#include "GFitsImageLong.hpp"
3499#include "GFitsImageLongLong.hpp"
3500#include "GFitsImageSByte.hpp"
3501#include "GFitsImageShort.hpp"
3502#include "GFitsImageULong.hpp"
3503#include "GFitsImageUShort.hpp"
3504#include "GFitsTable.hpp"
3505#include "GFitsBinTable.hpp"
3506#include "GFitsAsciiTable.hpp"
3507
3508
3509SWIGINTERNstatic __attribute__ ((__unused__)) swig_type_info*
3510SWIG_pchar_descriptor(void)
3511{
3512 static int init = 0;
3513 static swig_type_info* info = 0;
3514 if (!init) {
3515 info = SWIG_TypeQuery("_p_char")SWIG_TypeQueryModule(&swig_module, &swig_module, "_p_char"
)
;
3516 init = 1;
3517 }
3518 return info;
3519}
3520
3521
3522SWIGINTERNstatic __attribute__ ((__unused__)) int
3523SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize, int *alloc)
3524{
3525#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>=0x03000000
3526 if (PyUnicode_Check(obj)((((((PyObject*)(obj))->ob_type))->tp_flags & ((1L<<
28))) != 0)
)
3527#else
3528 if (PyString_Check(obj)((((((PyObject*)(obj))->ob_type))->tp_flags & ((1L<<
27))) != 0)
)
3529#endif
3530 {
3531 char *cstr; Py_ssize_t len;
3532#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>=0x03000000
3533 if (!alloc && cptr) {
3534 /* We can't allow converting without allocation, since the internal
3535 representation of string in Python 3 is UCS-2/UCS-4 but we require
3536 a UTF-8 representation.
3537 TODO(bhy) More detailed explanation */
3538 return SWIG_RuntimeError-3;
3539 }
3540 obj = PyUnicode_AsUTF8StringPyUnicodeUCS2_AsUTF8String(obj);
3541 PyBytes_AsStringAndSizePyString_AsStringAndSize(obj, &cstr, &len);
3542 if(alloc) *alloc = SWIG_NEWOBJ((0) | ((1 << 8) << 1));
3543#else
3544 PyString_AsStringAndSize(obj, &cstr, &len);
3545#endif
3546 if (cptr) {
3547 if (alloc) {
3548 /*
3549 In python the user should not be able to modify the inner
3550 string representation. To warranty that, if you define
3551 SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string
3552 buffer is always returned.
3553
3554 The default behavior is just to return the pointer value,
3555 so, be careful.
3556 */
3557#if defined(SWIG_PYTHON_SAFE_CSTRINGS)
3558 if (*alloc != SWIG_OLDOBJ((0)))
3559#else
3560 if (*alloc == SWIG_NEWOBJ((0) | ((1 << 8) << 1)))
3561#endif
3562 {
3563 *cptr = reinterpret_cast< char* >(memcpy((new char[len + 1]), cstr, sizeof(char)*(len + 1)));
3564 *alloc = SWIG_NEWOBJ((0) | ((1 << 8) << 1));
3565 }
3566 else {
3567 *cptr = cstr;
3568 *alloc = SWIG_OLDOBJ((0));
3569 }
3570 } else {
3571 #if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>=0x03000000
3572 assert(0)((void)0); /* Should never reach here in Python 3 */
3573 #endif
3574 *cptr = SWIG_Python_str_AsChar(obj);
3575 }
3576 }
3577 if (psize) *psize = len + 1;
3578#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>=0x03000000
3579 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)
;
3580#endif
3581 return SWIG_OK(0);
3582 } else {
3583 swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
3584 if (pchar_descriptor) {
3585 void* vptr = 0;
3586 if (SWIG_ConvertPtr(obj, &vptr, pchar_descriptor, 0)SWIG_Python_ConvertPtrAndOwn(obj, &vptr, pchar_descriptor
, 0, 0)
== SWIG_OK(0)) {
3587 if (cptr) *cptr = (char *) vptr;
3588 if (psize) *psize = vptr ? (strlen((char *)vptr) + 1) : 0;
3589 if (alloc) *alloc = SWIG_OLDOBJ((0));
3590 return SWIG_OK(0);
3591 }
3592 }
3593 }
3594 return SWIG_TypeError-5;
3595}
3596
3597
3598SWIGINTERNstatic __attribute__ ((__unused__)) int
3599SWIG_AsPtr_std_string (PyObject * obj, std::string **val)
3600{
3601 char* buf = 0 ; size_t size = 0; int alloc = SWIG_OLDOBJ((0));
3602 if (SWIG_IsOK((SWIG_AsCharPtrAndSize(obj, &buf, &size, &alloc)))((SWIG_AsCharPtrAndSize(obj, &buf, &size, &alloc)
) >= 0)
) {
3603 if (buf) {
3604 if (val) *val = new std::string(buf, size - 1);
3605 if (alloc == SWIG_NEWOBJ((0) | ((1 << 8) << 1))) delete[] buf;
3606 return SWIG_NEWOBJ((0) | ((1 << 8) << 1));
3607 } else {
3608 if (val) *val = 0;
3609 return SWIG_OLDOBJ((0));
3610 }
3611 } else {
3612 static int init = 0;
3613 static swig_type_info* descriptor = 0;
3614 if (!init) {
3615 descriptor = SWIG_TypeQuery("std::string" " *")SWIG_TypeQueryModule(&swig_module, &swig_module, "std::string"
" *")
;
3616 init = 1;
3617 }
3618 if (descriptor) {
3619 std::string *vptr;
3620 int res = SWIG_ConvertPtr(obj, (void**)&vptr, descriptor, 0)SWIG_Python_ConvertPtrAndOwn(obj, (void**)&vptr, descriptor
, 0, 0)
;
3621 if (SWIG_IsOK(res)(res >= 0) && val) *val = vptr;
3622 return res;
3623 }
3624 }
3625 return SWIG_ERROR(-1);
3626}
3627
3628
3629SWIGINTERNstatic __attribute__ ((__unused__)) int
3630SWIG_AsVal_bool (PyObject *obj, bool *val)
3631{
3632 int r = PyObject_IsTrue(obj);
3633 if (r == -1)
3634 return SWIG_ERROR(-1);
3635 if (val) *val = r ? true : false;
3636 return SWIG_OK(0);
3637}
3638
3639
3640#include <limits.h>
3641#if !defined(SWIG_NO_LLONG_MAX)
3642# if !defined(LLONG_MAX0x7fffffffffffffffLL) && defined(__GNUC__4) && defined (__LONG_LONG_MAX__9223372036854775807LL)
3643# define LLONG_MAX0x7fffffffffffffffLL __LONG_LONG_MAX__9223372036854775807LL
3644# define LLONG_MIN(-0x7fffffffffffffffLL-1) (-LLONG_MAX0x7fffffffffffffffLL - 1LL)
3645# define ULLONG_MAX0xffffffffffffffffULL (LLONG_MAX0x7fffffffffffffffLL * 2ULL + 1ULL)
3646# endif
3647#endif
3648
3649
3650SWIGINTERNstatic __attribute__ ((__unused__)) int
3651SWIG_AsVal_int (PyObject * obj, int *val)
3652{
3653 long v;
3654 int res = SWIG_AsVal_long (obj, &v);
3655 if (SWIG_IsOK(res)(res >= 0)) {
3656 if ((v < INT_MIN(-2147483647 -1) || v > INT_MAX2147483647)) {
3657 return SWIG_OverflowError-7;
3658 } else {
3659 if (val) *val = static_cast< int >(v);
3660 }
3661 }
3662 return res;
3663}
3664
3665
3666SWIGINTERNINLINEstatic __attribute__ ((__unused__)) inline PyObject*
3667 SWIG_From_int (int value)
3668{
3669 return PyInt_FromLong((long) value);
3670}
3671
3672
3673SWIGINTERNINLINEstatic __attribute__ ((__unused__)) inline PyObject *
3674SWIG_FromCharPtrAndSize(const char* carray, size_t size)
3675{
3676 if (carray) {
3677 if (size > INT_MAX2147483647) {
3678 swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
3679 return pchar_descriptor ?
3680 SWIG_InternalNewPointerObj(const_cast< char * >(carray), pchar_descriptor, 0)SWIG_Python_NewPointerObj(__null, const_cast< char * >(
carray), pchar_descriptor, 0)
: SWIG_Py_Void();
3681 } else {
3682#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x03000000
3683 return PyUnicode_FromStringAndSizePyUnicodeUCS2_FromStringAndSize(carray, static_cast< int >(size));
3684#else
3685 return PyString_FromStringAndSize(carray, static_cast< int >(size));
3686#endif
3687 }
3688 } else {
3689 return SWIG_Py_Void();
3690 }
3691}
3692
3693
3694SWIGINTERNINLINEstatic __attribute__ ((__unused__)) inline PyObject *
3695SWIG_From_std_string (const std::string& s)
3696{
3697 return SWIG_FromCharPtrAndSize(s.data(), s.size());
3698}
3699
3700SWIGINTERNstatic __attribute__ ((__unused__)) GFitsHDU *GFits___getitem____SWIG_0(GFits *self,int const &extno){
3701 if (extno >= 0 && extno < self->size()) {
3702 return (*self)[extno];
3703 }
3704 else {
3705 throw GException::out_of_range("__getitem__(int)",
3706 "Extension number",
3707 extno, self->size());
3708 }
3709 }
3710SWIGINTERNstatic __attribute__ ((__unused__)) GFitsHDU *GFits___getitem____SWIG_1(GFits *self,std::string const &extname){
3711 return (*self)[extname];
3712 }
3713SWIGINTERNstatic __attribute__ ((__unused__)) void GFits___setitem____SWIG_0(GFits *self,int const &extno,GFitsHDU const &hdu){
3714 if (extno >= 0 && extno < self->size()) {
3715 self->set(extno, hdu);
3716 return;
3717 }
3718 else {
3719 throw GException::out_of_range("__setitem__(int)",
3720 "Extension number",
3721 extno, self->size());
3722 }
3723 }
3724SWIGINTERNstatic __attribute__ ((__unused__)) void GFits___setitem____SWIG_1(GFits *self,std::string const &extname,GFitsHDU const &hdu){
3725 self->set(extname, hdu);
3726 return;
3727 }
3728SWIGINTERNstatic __attribute__ ((__unused__)) GFits GFits_copy(GFits *self){
3729 return (*self);
3730 }
3731
3732/* Put headers and other declarations here that are needed for compilation */
3733#include "GFitsHDU.hpp"
3734#include "GTools.hpp"
3735
3736
3737 #define SWIG_From_doublePyFloat_FromDouble PyFloat_FromDouble
3738
3739
3740/* Put headers and other declarations here that are needed for compilation */
3741#include "GFitsHeader.hpp"
3742#include "GTools.hpp"
3743
3744SWIGINTERNstatic __attribute__ ((__unused__)) GFitsHeaderCard &GFitsHeader___getitem____SWIG_0(GFitsHeader *self,int const &cardno){
3745 if (cardno >= 0 && cardno < self->size()) {
3746 return (*self)[cardno];
3747 }
3748 else {
3749 throw GException::out_of_range("__getitem__(int)",
3750 "Header card number",
3751 cardno, self->size());
3752 }
3753 }
3754SWIGINTERNstatic __attribute__ ((__unused__)) GFitsHeaderCard &GFitsHeader___getitem____SWIG_1(GFitsHeader *self,std::string const &keyname){
3755 return (*self)[keyname];
3756 }
3757SWIGINTERNstatic __attribute__ ((__unused__)) void GFitsHeader___setitem____SWIG_0(GFitsHeader *self,int const &cardno,GFitsHeaderCard const &card){
3758 if (cardno >= 0 && cardno < self->size()) {
3759 (*self)[cardno] = card;
3760 return;
3761 }
3762 else {
3763 throw GException::out_of_range("__setitem__(int)",
3764 "Header card number",
3765 cardno, self->size());
3766 }
3767 }
3768SWIGINTERNstatic __attribute__ ((__unused__)) void GFitsHeader___setitem____SWIG_1(GFitsHeader *self,std::string const &keyname,GFitsHeaderCard const &card){
3769 (*self)[keyname] = card;
3770 return;
3771 }
3772SWIGINTERNstatic __attribute__ ((__unused__)) GFitsHeader GFitsHeader_copy(GFitsHeader *self){
3773 return (*self);
3774 }
3775
3776/* Put headers and other declarations here that are needed for compilation */
3777#include "GFitsHeaderCard.hpp"
3778#include "GTools.hpp"
3779
3780
3781/* Getting isfinite working pre C99 across multiple platforms is non-trivial. Users can provide SWIG_isfinite on older platforms. */
3782#ifndef SWIG_isfinite
3783# if defined(isfinite)
3784# define SWIG_isfinite(X) (isfinite(X))
3785# elif defined(_MSC_VER)
3786# define SWIG_isfinite(X) (_finite(X))
3787# elif defined(__sun) && defined(__SVR4)
3788# include <ieeefp.h>
3789# define SWIG_isfinite(X) (finite(X))
3790# endif
3791#endif
3792
3793
3794/* Accept infinite as a valid float value unless we are unable to check if a value is finite */
3795#ifdef SWIG_isfinite
3796# define SWIG_Float_Overflow_Check(X)((X < -3.40282347e+38F || X > 3.40282347e+38F)) ((X < -FLT_MAX3.40282347e+38F || X > FLT_MAX3.40282347e+38F) && SWIG_isfinite(X))
3797#else
3798# define SWIG_Float_Overflow_Check(X)((X < -3.40282347e+38F || X > 3.40282347e+38F)) ((X < -FLT_MAX3.40282347e+38F || X > FLT_MAX3.40282347e+38F))
3799#endif
3800
3801
3802SWIGINTERNstatic __attribute__ ((__unused__)) int
3803SWIG_AsVal_float (PyObject * obj, float *val)
3804{
3805 double v;
3806 int res = SWIG_AsVal_double (obj, &v);
3807 if (SWIG_IsOK(res)(res >= 0)) {
3808 if (SWIG_Float_Overflow_Check(v)((v < -3.40282347e+38F || v > 3.40282347e+38F))) {
3809 return SWIG_OverflowError-7;
3810 } else {
3811 if (val) *val = static_cast< float >(v);
3812 }
3813 }
3814 return res;
3815}
3816
3817
3818SWIGINTERNstatic __attribute__ ((__unused__)) int
3819SWIG_AsVal_unsigned_SS_short (PyObject * obj, unsigned short *val)
3820{
3821 unsigned long v;
3822 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
3823 if (SWIG_IsOK(res)(res >= 0)) {
3824 if ((v > USHRT_MAX(32767 *2 +1))) {
3825 return SWIG_OverflowError-7;
3826 } else {
3827 if (val) *val = static_cast< unsigned short >(v);
3828 }
3829 }
3830 return res;
3831}
3832
3833
3834SWIGINTERNstatic __attribute__ ((__unused__)) int
3835SWIG_AsVal_short (PyObject * obj, short *val)
3836{
3837 long v;
3838 int res = SWIG_AsVal_long (obj, &v);
3839 if (SWIG_IsOK(res)(res >= 0)) {
3840 if ((v < SHRT_MIN(-32767 -1) || v > SHRT_MAX32767)) {
3841 return SWIG_OverflowError-7;
3842 } else {
3843 if (val) *val = static_cast< short >(v);
3844 }
3845 }
3846 return res;
3847}
3848
3849
3850SWIGINTERNstatic __attribute__ ((__unused__)) int
3851SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
3852{
3853 unsigned long v;
3854 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
3855 if (SWIG_IsOK(res)(res >= 0)) {
3856 if ((v > UINT_MAX(2147483647 *2U +1U))) {
3857 return SWIG_OverflowError-7;
3858 } else {
3859 if (val) *val = static_cast< unsigned int >(v);
3860 }
3861 }
3862 return res;
3863}
3864
3865
3866SWIGINTERNstatic __attribute__ ((__unused__)) int
3867SWIG_AsVal_long_SS_long (PyObject *obj, long long *val)
3868{
3869 int res = SWIG_TypeError-5;
3870 if (PyLong_Check(obj)((((((PyObject*)(obj))->ob_type))->tp_flags & ((1L<<
24))) != 0)
) {
3871 long long v = PyLong_AsLongLong(obj);
3872 if (!PyErr_Occurred()) {
3873 if (val) *val = v;
3874 return SWIG_OK(0);
3875 } else {
3876 PyErr_Clear();
3877 }
3878 } else {
3879 long v;
3880 res = SWIG_AsVal_long (obj,&v);
3881 if (SWIG_IsOK(res)(res >= 0)) {
3882 if (val) *val = v;
3883 return res;
3884 }
3885 }
3886#ifdef SWIG_PYTHON_CAST_MODE
3887 {
3888 const double mant_max = 1LL << DBL_MANT_DIG53;
3889 const double mant_min = -mant_max;
3890 double d;
3891 res = SWIG_AsVal_double (obj,&d);
3892 if (SWIG_IsOK(res)(res >= 0) && SWIG_CanCastAsInteger(&d, mant_min, mant_max)) {
3893 if (val) *val = (long long)(d);
3894 return SWIG_AddCast(res)(res);
3895 }
3896 res = SWIG_TypeError-5;
3897 }
3898#endif
3899 return res;
3900}
3901
3902SWIGINTERNstatic __attribute__ ((__unused__)) GFitsHeaderCard GFitsHeaderCard_copy(GFitsHeaderCard *self){
3903 return (*self);
3904 }
3905
3906/* Put headers and other declarations here that are needed for compilation */
3907#include "GFitsImage.hpp"
3908#include "GFitsImageByte.hpp"
3909#include "GFitsImageDouble.hpp"
3910#include "GFitsImageFloat.hpp"
3911#include "GFitsImageLong.hpp"
3912#include "GFitsImageLongLong.hpp"
3913#include "GFitsImageSByte.hpp"
3914#include "GFitsImageShort.hpp"
3915#include "GFitsImageULong.hpp"
3916#include "GFitsImageUShort.hpp"
3917#include "GTools.hpp"
3918
3919
3920static int image_pixel_tuple(PyObject *input, int *ptr) {
3921 if (PySequence_Check(input)) {
3922 int size = PyObject_LengthPyObject_Size(input);
3923 if (size > 4) {
3924 PyErr_SetString(PyExc_ValueError,"Too many arguments in tuple");
3925 return 0;
3926 }
3927 ptr[0] = size;
3928 for (int i = 0; i < size; i++) {
3929 PyObject *o = PySequence_GetItem(input,i);
3930 if (!PyInt_Check(o)((((o)->ob_type)->tp_flags & ((1L<<23))) != 0
)
) {
3931 Py_XDECREF(o)do { if ((o) == __null) ; else do { if ( --((PyObject*)(o))->
ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(o)))->
ob_type)->tp_dealloc)((PyObject *)((PyObject *)(o)))); } while
(0); } while (0)
;
3932 PyErr_SetString(PyExc_ValueError,"Expecting a tuple of integers");
3933 return 0;
3934 }
3935 ptr[i+1] = (int)PyInt_AsLong(o);
3936 Py_DECREF(o)do { if ( --((PyObject*)(o))->ob_refcnt != 0) ; else ( (*(
((PyObject*)((PyObject *)(o)))->ob_type)->tp_dealloc)((
PyObject *)((PyObject *)(o)))); } while (0)
;
3937 }
3938 return 1;
3939 }
3940 else {
3941 ptr[0] = 1;
3942 if (!PyInt_Check(input)((((input)->ob_type)->tp_flags & ((1L<<23))) !=
0)
) {
3943 PyErr_SetString(PyExc_ValueError,"Expecting an integer");
3944 return 0;
3945 }
3946 ptr[1] = (int)PyInt_AsLong(input);
3947 return 1;
3948 }
3949}
3950
3951
3952/* Put headers and other declarations here that are needed for compilation */
3953#include "GFitsImageByte.hpp"
3954#include "GException.hpp"
3955
3956SWIGINTERNstatic __attribute__ ((__unused__)) unsigned char GFitsImageByte___getitem__(GFitsImageByte *self,int GFitsImageInx[]){
3957 if (GFitsImageInx[0] == 1)
3958 return self->at(GFitsImageInx[1]);
3959 else if (GFitsImageInx[0] == 2)
3960 return self->at(GFitsImageInx[1], GFitsImageInx[2]);
3961 else if (GFitsImageInx[0] == 3)
3962 return self->at(GFitsImageInx[1], GFitsImageInx[2], GFitsImageInx[3]);
3963 else if (GFitsImageInx[0] == 4)
3964 return self->at(GFitsImageInx[1], GFitsImageInx[2], GFitsImageInx[3], GFitsImageInx[4]);
3965 else
3966 throw GException::fits_wrong_image_operator("__getitem__(int)",
3967 self->naxis(), GFitsImageInx[0]);
3968 }
3969
3970SWIGINTERNINLINEstatic __attribute__ ((__unused__)) inline PyObject*
3971SWIG_From_unsigned_SS_long (unsigned long value)
3972{
3973 return (value > LONG_MAX9223372036854775807L) ?
3974 PyLong_FromUnsignedLong(value) : PyLong_FromLong(static_cast< long >(value));
3975}
3976
3977
3978SWIGINTERNINLINEstatic __attribute__ ((__unused__)) inline PyObject *
3979SWIG_From_unsigned_SS_char (unsigned char value)
3980{
3981 return SWIG_From_unsigned_SS_long (value);
3982}
3983
3984
3985SWIGINTERNstatic __attribute__ ((__unused__)) int
3986SWIG_AsVal_unsigned_SS_char (PyObject * obj, unsigned char *val)
3987{
3988 unsigned long v;
3989 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
3990 if (SWIG_IsOK(res)(res >= 0)) {
3991 if ((v > UCHAR_MAX(127*2 +1))) {
3992 return SWIG_OverflowError-7;
3993 } else {
3994 if (val) *val = static_cast< unsigned char >(v);
3995 }
3996 }
3997 return res;
3998}
3999
4000SWIGINTERNstatic __attribute__ ((__unused__)) void GFitsImageByte___setitem__(GFitsImageByte *self,int GFitsImageInx[],unsigned char value){
4001 if (GFitsImageInx[0] == 1)
4002 self->at(GFitsImageInx[1]) = value;
4003 else if (GFitsImageInx[0] == 2)
4004 self->at(GFitsImageInx[1], GFitsImageInx[2]) = value;
4005 else if (GFitsImageInx[0] == 3)
4006 self->at(GFitsImageInx[1], GFitsImageInx[2], GFitsImageInx[3]) = value;
4007 else if (GFitsImageInx[0] == 4)
4008 self->at(GFitsImageInx[1], GFitsImageInx[2], GFitsImageInx[3], GFitsImageInx[4]) = value;
4009 else
4010 throw GException::fits_wrong_image_operator("__setitem__(int)",
4011 self->naxis(), GFitsImageInx[0]);
4012 }
4013SWIGINTERNstatic __attribute__ ((__unused__)) GFitsImageByte GFitsImageByte_copy(GFitsImageByte *self){
4014 return (*self);
4015 }
4016
4017/* Put headers and other declarations here that are needed for compilation */
4018#include "GFitsImageSByte.hpp"
4019#include "GException.hpp"
4020
4021
4022
4023
4024SWIGINTERNstatic __attribute__ ((__unused__)) char GFitsImageSByte___getitem__(GFitsImageSByte *self,int GFitsImageInx[]){
4025 if (GFitsImageInx[0] == 1)
4026 return self->at(GFitsImageInx[1]);
4027 else if (GFitsImageInx[0] == 2)
4028 return self->at(GFitsImageInx[1], GFitsImageInx[2]);
4029 else if (GFitsImageInx[0] == 3)
4030 return self->at(GFitsImageInx[1], GFitsImageInx[2], GFitsImageInx[3]);
4031 else if (GFitsImageInx[0] == 4)
4032 return self->at(GFitsImageInx[1], GFitsImageInx[2], GFitsImageInx[3], GFitsImageInx[4]);
4033 else
4034 throw GException::fits_wrong_image_operator("__getitem__(int)",
4035 self->naxis(), GFitsImageInx[0]);
4036 }
4037
4038SWIGINTERNINLINEstatic __attribute__ ((__unused__)) inline PyObject *
4039SWIG_From_char (char c)
4040{
4041 return SWIG_FromCharPtrAndSize(&c,1);
4042}
4043
4044
4045SWIGINTERNstatic __attribute__ ((__unused__)) int
4046SWIG_AsCharArray(PyObject * obj, char *val, size_t size)
4047{
4048 char* cptr = 0; size_t csize = 0; int alloc = SWIG_OLDOBJ((0));
4049 int res = SWIG_AsCharPtrAndSize(obj, &cptr, &csize, &alloc);
4050 if (SWIG_IsOK(res)(res >= 0)) {
4051 if ((csize == size + 1) && cptr && !(cptr[csize-1])) --csize;
4052 if (csize <= size) {
4053 if (val) {
4054 if (csize) memcpy(val, cptr, csize*sizeof(char));
4055 if (csize < size) memset(val + csize, 0, (size - csize)*sizeof(char));
4056 }
4057 if (alloc == SWIG_NEWOBJ((0) | ((1 << 8) << 1))) {
4058 delete[] cptr;
4059 res = SWIG_DelNewMask(res)((res >= 0) ? (res & ~((1 << 8) << 1)) : res
)
;
4060 }
4061 return res;
4062 }
4063 if (alloc == SWIG_NEWOBJ((0) | ((1 << 8) << 1))) delete[] cptr;
4064 }
4065 return SWIG_TypeError-5;
4066}
4067
4068
4069SWIGINTERNstatic __attribute__ ((__unused__)) int
4070SWIG_AsVal_char (PyObject * obj, char *val)
4071{
4072 int res = SWIG_AsCharArray(obj, val, 1);
4073 if (!SWIG_IsOK(res)(res >= 0)) {
4074 long v;
4075 res = SWIG_AddCast(SWIG_AsVal_long (obj, &v))(SWIG_AsVal_long (obj, &v));
4076 if (SWIG_IsOK(res)(res >= 0)) {
4077 if ((CHAR_MIN(-127 -1) <= v) && (v <= CHAR_MAX127)) {
4078 if (val) *val = static_cast< char >(v);
4079 } else {
4080 res = SWIG_OverflowError-7;
4081 }
4082 }
4083 }
4084 return res;
4085}
4086
4087SWIGINTERNstatic __attribute__ ((__unused__)) void GFitsImageSByte___setitem__(GFitsImageSByte *self,int GFitsImageInx[],char value){
4088 if (GFitsImageInx[0] == 1)
4089 self->at(GFitsImageInx[1]) = value;
4090 else if (GFitsImageInx[0] == 2)
4091 self->at(GFitsImageInx[1], GFitsImageInx[2]) = value;
4092 else if (GFitsImageInx[0] == 3)
4093 self->at(GFitsImageInx[1], GFitsImageInx[2], GFitsImageInx[3]) = value;
4094 else if (GFitsImageInx[0] == 4)
4095 self->at(GFitsImageInx[1], GFitsImageInx[2], GFitsImageInx[3], GFitsImageInx[4]) = value;
4096 else
4097 throw GException::fits_wrong_image_operator("__setitem__(int)",
4098 self->naxis(), GFitsImageInx[0]);
4099 }
4100SWIGINTERNstatic __attribute__ ((__unused__)) GFitsImageSByte GFitsImageSByte_copy(GFitsImageSByte *self){
4101 return (*self);
4102 }
4103
4104/* Put headers and other declarations here that are needed for compilation */
4105#include "GFitsImageUShort.hpp"
4106#include "GException.hpp"
4107
4108SWIGINTERNstatic __attribute__ ((__unused__)) unsigned short GFitsImageUShort___getitem__(GFitsImageUShort *self,int GFitsImageInx[]){
4109 if (GFitsImageInx[0] == 1)
4110 return self->at(GFitsImageInx[1]);
4111 else if (GFitsImageInx[0] == 2)
4112 return self->at(GFitsImageInx[1], GFitsImageInx[2]);
4113 else if (GFitsImageInx[0] == 3)
4114 return self->at(GFitsImageInx[1], GFitsImageInx[2], GFitsImageInx[3]);
4115 else if (GFitsImageInx[0] == 4)
4116 return self->at(GFitsImageInx[1], GFitsImageInx[2], GFitsImageInx[3], GFitsImageInx[4]);
4117 else
4118 throw GException::fits_wrong_image_operator("__getitem__(int)",
4119 self->naxis(), GFitsImageInx[0]);
4120 }
4121
4122SWIGINTERNINLINEstatic __attribute__ ((__unused__)) inline PyObject *
4123SWIG_From_unsigned_SS_short (unsigned short value)
4124{
4125 return SWIG_From_unsigned_SS_long (value);
4126}
4127
4128SWIGINTERNstatic __attribute__ ((__unused__)) void GFitsImageUShort___setitem__(GFitsImageUShort *self,int GFitsImageInx[],unsigned short value){
4129 if (GFitsImageInx[0] == 1)
4130 self->at(GFitsImageInx[1]) = value;
4131 else if (GFitsImageInx[0] == 2)
4132 self->at(GFitsImageInx[1], GFitsImageInx[2]) = value;
4133 else if (GFitsImageInx[0] == 3)
4134 self->at(GFitsImageInx[1], GFitsImageInx[2], GFitsImageInx[3]) = value;
4135 else if (GFitsImageInx[0] == 4)
4136 self->at(GFitsImageInx[1], GFitsImageInx[2], GFitsImageInx[3], GFitsImageInx[4]) = value;
4137 else
4138 throw GException::fits_wrong_image_operator("__setitem__(int)",
4139 self->naxis(), GFitsImageInx[0]);
4140 }
4141SWIGINTERNstatic __attribute__ ((__unused__)) GFitsImageUShort GFitsImageUShort_copy(GFitsImageUShort *self){
4142 return (*self);
4143 }
4144
4145/* Put headers and other declarations here that are needed for compilation */
4146#include "GFitsImageShort.hpp"
4147#include "GException.hpp"
4148
4149SWIGINTERNstatic __attribute__ ((__unused__)) short GFitsImageShort___getitem__(GFitsImageShort *self,int GFitsImageInx[]){
4150 if (GFitsImageInx[0] == 1)
4151 return self->at(GFitsImageInx[1]);
4152 else if (GFitsImageInx[0] == 2)
4153 return self->at(GFitsImageInx[1], GFitsImageInx[2]);
4154 else if (GFitsImageInx[0] == 3)
4155 return self->at(GFitsImageInx[1], GFitsImageInx[2], GFitsImageInx[3]);
4156 else if (GFitsImageInx[0] == 4)
4157 return self->at(GFitsImageInx[1], GFitsImageInx[2], GFitsImageInx[3], GFitsImageInx[4]);
4158 else
4159 throw GException::fits_wrong_image_operator("__getitem__(int)",
4160 self->naxis(), GFitsImageInx[0]);
4161 }
4162
4163SWIGINTERNINLINEstatic __attribute__ ((__unused__)) inline PyObject *
4164SWIG_From_short (short value)
4165{
4166 return SWIG_From_longPyLong_FromLong (value);
4167}
4168
4169SWIGINTERNstatic __attribute__ ((__unused__)) void GFitsImageShort___setitem__(GFitsImageShort *self,int GFitsImageInx[],short value){
4170 if (GFitsImageInx[0] == 1)
4171 self->at(GFitsImageInx[1]) = value;
4172 else if (GFitsImageInx[0] == 2)
4173 self->at(GFitsImageInx[1], GFitsImageInx[2]) = value;
4174 else if (GFitsImageInx[0] == 3)
4175 self->at(GFitsImageInx[1], GFitsImageInx[2], GFitsImageInx[3]) = value;
4176 else if (GFitsImageInx[0] == 4)
4177 self->at(GFitsImageInx[1], GFitsImageInx[2], GFitsImageInx[3], GFitsImageInx[4]) = value;
4178 else
4179 throw GException::fits_wrong_image_operator("__setitem__(int)",
4180 self->naxis(), GFitsImageInx[0]);
4181 }
4182SWIGINTERNstatic __attribute__ ((__unused__)) GFitsImageShort GFitsImageShort_copy(GFitsImageShort *self){
4183 return (*self);
4184 }
4185
4186/* Put headers and other declarations here that are needed for compilation */
4187#include "GFitsImageULong.hpp"
4188#include "GException.hpp"
4189
4190SWIGINTERNstatic __attribute__ ((__unused__)) unsigned long GFitsImageULong___getitem__(GFitsImageULong *self,int GFitsImageInx[]){
4191 if (GFitsImageInx[0] == 1)
4192 return self->at(GFitsImageInx[1]);
4193 else if (GFitsImageInx[0] == 2)
4194 return self->at(GFitsImageInx[1], GFitsImageInx[2]);
4195 else if (GFitsImageInx[0] == 3)
4196 return self->at(GFitsImageInx[1], GFitsImageInx[2], GFitsImageInx[3]);
4197 else if (GFitsImageInx[0] == 4)
4198 return self->at(GFitsImageInx[1], GFitsImageInx[2], GFitsImageInx[3], GFitsImageInx[4]);
4199 else
4200 throw GException::fits_wrong_image_operator("__getitem__(int)",
4201 self->naxis(), GFitsImageInx[0]);
4202 }
4203SWIGINTERNstatic __attribute__ ((__unused__)) void GFitsImageULong___setitem__(GFitsImageULong *self,int GFitsImageInx[],unsigned long value){
4204 if (GFitsImageInx[0] == 1)
4205 self->at(GFitsImageInx[1]) = value;
4206 else if (GFitsImageInx[0] == 2)
4207 self->at(GFitsImageInx[1], GFitsImageInx[2]) = value;
4208 else if (GFitsImageInx[0] == 3)
4209 self->at(GFitsImageInx[1], GFitsImageInx[2], GFitsImageInx[3]) = value;
4210 else if (GFitsImageInx[0] == 4)
4211 self->at(GFitsImageInx[1], GFitsImageInx[2], GFitsImageInx[3], GFitsImageInx[4]) = value;
4212 else
4213 throw GException::fits_wrong_image_operator("__setitem__(int)",
4214 self->naxis(), GFitsImageInx[0]);
4215 }
4216SWIGINTERNstatic __attribute__ ((__unused__)) GFitsImageULong GFitsImageULong_copy(GFitsImageULong *self){
4217 return (*self);
4218 }
4219
4220/* Put headers and other declarations here that are needed for compilation */
4221#include "GFitsImageLong.hpp"
4222#include "GException.hpp"
4223
4224SWIGINTERNstatic __attribute__ ((__unused__)) long GFitsImageLong___getitem__(GFitsImageLong *self,int GFitsImageInx[]){
4225 if (GFitsImageInx[0] == 1)
4226 return self->at(GFitsImageInx[1]);
4227 else if (GFitsImageInx[0] == 2)
4228 return self->at(GFitsImageInx[1], GFitsImageInx[2]);
4229 else if (GFitsImageInx[0] == 3)
4230 return self->at(GFitsImageInx[1], GFitsImageInx[2], GFitsImageInx[3]);
4231 else if (GFitsImageInx[0] == 4)
4232 return self->at(GFitsImageInx[1], GFitsImageInx[2], GFitsImageInx[3], GFitsImageInx[4]);
4233 else
4234 throw GException::fits_wrong_image_operator("__getitem__(int)",
4235 self->naxis(), GFitsImageInx[0]);
4236 }
4237SWIGINTERNstatic __attribute__ ((__unused__)) void GFitsImageLong___setitem__(GFitsImageLong *self,int GFitsImageInx[],long value){
4238 if (GFitsImageInx[0] == 1)
4239 self->at(GFitsImageInx[1]) = value;
4240 else if (GFitsImageInx[0] == 2)
4241 self->at(GFitsImageInx[1], GFitsImageInx[2]) = value;
4242 else if (GFitsImageInx[0] == 3)
4243 self->at(GFitsImageInx[1], GFitsImageInx[2], GFitsImageInx[3]) = value;
4244 else if (GFitsImageInx[0] == 4)
4245 self->at(GFitsImageInx[1], GFitsImageInx[2], GFitsImageInx[3], GFitsImageInx[4]) = value;
4246 else
4247 throw GException::fits_wrong_image_operator("__setitem__(int)",
4248 self->naxis(), GFitsImageInx[0]);
4249 }
4250SWIGINTERNstatic __attribute__ ((__unused__)) GFitsImageLong GFitsImageLong_copy(GFitsImageLong *self){
4251 return (*self);
4252 }
4253
4254/* Put headers and other declarations here that are needed for compilation */
4255#include "GFitsImageLongLong.hpp"
4256#include "GException.hpp"
4257
4258SWIGINTERNstatic __attribute__ ((__unused__)) long long GFitsImageLongLong___getitem__(GFitsImageLongLong *self,int GFitsImageInx[]){
4259 if (GFitsImageInx[0] == 1)
4260 return self->at(GFitsImageInx[1]);
4261 else if (GFitsImageInx[0] == 2)
4262 return self->at(GFitsImageInx[1], GFitsImageInx[2]);
4263 else if (GFitsImageInx[0] == 3)
4264 return self->at(GFitsImageInx[1], GFitsImageInx[2], GFitsImageInx[3]);
4265 else if (GFitsImageInx[0] == 4)
4266 return self->at(GFitsImageInx[1], GFitsImageInx[2], GFitsImageInx[3], GFitsImageInx[4]);
4267 else
4268 throw GException::fits_wrong_image_operator("__getitem__(int)",
4269 self->naxis(), GFitsImageInx[0]);
4270 }
4271
4272SWIGINTERNINLINEstatic __attribute__ ((__unused__)) inline PyObject*
4273SWIG_From_long_SS_long (long long value)
4274{
4275 return ((value < LONG_MIN(-9223372036854775807L -1L)) || (value > LONG_MAX9223372036854775807L)) ?
4276 PyLong_FromLongLong(value) : PyLong_FromLong(static_cast< long >(value));
4277}
4278
4279SWIGINTERNstatic __attribute__ ((__unused__)) void GFitsImageLongLong___setitem__(GFitsImageLongLong *self,int GFitsImageInx[],long long value){
4280 if (GFitsImageInx[0] == 1)
4281 self->at(GFitsImageInx[1]) = value;
4282 else if (GFitsImageInx[0] == 2)
4283 self->at(GFitsImageInx[1], GFitsImageInx[2]) = value;
4284 else if (GFitsImageInx[0] == 3)
4285 self->at(GFitsImageInx[1], GFitsImageInx[2], GFitsImageInx[3]) = value;
4286 else if (GFitsImageInx[0] == 4)
4287 self->at(GFitsImageInx[1], GFitsImageInx[2], GFitsImageInx[3], GFitsImageInx[4]) = value;
4288 else
4289 throw GException::fits_wrong_image_operator("__setitem__(int)",
4290 self->naxis(), GFitsImageInx[0]);
4291 }
4292SWIGINTERNstatic __attribute__ ((__unused__)) GFitsImageLongLong GFitsImageLongLong_copy(GFitsImageLongLong *self){
4293 return (*self);
4294 }
4295
4296/* Put headers and other declarations here that are needed for compilation */
4297#include "GFitsImageFloat.hpp"
4298#include "GException.hpp"
4299
4300SWIGINTERNstatic __attribute__ ((__unused__)) float GFitsImageFloat___getitem__(GFitsImageFloat *self,int GFitsImageInx[]){
4301 if (GFitsImageInx[0] == 1)
4302 return self->at(GFitsImageInx[1]);
4303 else if (GFitsImageInx[0] == 2)
4304 return self->at(GFitsImageInx[1], GFitsImageInx[2]);
4305 else if (GFitsImageInx[0] == 3)
4306 return self->at(GFitsImageInx[1], GFitsImageInx[2], GFitsImageInx[3]);
4307 else if (GFitsImageInx[0] == 4)
4308 return self->at(GFitsImageInx[1], GFitsImageInx[2], GFitsImageInx[3], GFitsImageInx[4]);
4309 else
4310 throw GException::fits_wrong_image_operator("__getitem__(int)",
4311 self->naxis(), GFitsImageInx[0]);
4312 }
4313
4314SWIGINTERNINLINEstatic __attribute__ ((__unused__)) inline PyObject *
4315SWIG_From_float (float value)
4316{
4317 return SWIG_From_doublePyFloat_FromDouble (value);
4318}
4319
4320SWIGINTERNstatic __attribute__ ((__unused__)) void GFitsImageFloat___setitem__(GFitsImageFloat *self,int GFitsImageInx[],float value){
4321 if (GFitsImageInx[0] == 1)
4322 self->at(GFitsImageInx[1]) = value;
4323 else if (GFitsImageInx[0] == 2)
4324 self->at(GFitsImageInx[1], GFitsImageInx[2]) = value;
4325 else if (GFitsImageInx[0] == 3)
4326 self->at(GFitsImageInx[1], GFitsImageInx[2], GFitsImageInx[3]) = value;
4327 else if (GFitsImageInx[0] == 4)
4328 self->at(GFitsImageInx[1], GFitsImageInx[2], GFitsImageInx[3], GFitsImageInx[4]) = value;
4329 else
4330 throw GException::fits_wrong_image_operator("__setitem__(int)",
4331 self->naxis(), GFitsImageInx[0]);
4332 }
4333SWIGINTERNstatic __attribute__ ((__unused__)) GFitsImageFloat GFitsImageFloat_copy(GFitsImageFloat *self){
4334 return (*self);
4335 }
4336
4337/* Put headers and other declarations here that are needed for compilation */
4338#include "GFitsImageDouble.hpp"
4339#include "GException.hpp"
4340
4341SWIGINTERNstatic __attribute__ ((__unused__)) double GFitsImageDouble___getitem__(GFitsImageDouble *self,int GFitsImageInx[]){
4342 if (GFitsImageInx[0] == 1)
4343 return self->at(GFitsImageInx[1]);
4344 else if (GFitsImageInx[0] == 2)
4345 return self->at(GFitsImageInx[1], GFitsImageInx[2]);
4346 else if (GFitsImageInx[0] == 3)
4347 return self->at(GFitsImageInx[1], GFitsImageInx[2], GFitsImageInx[3]);
4348 else if (GFitsImageInx[0] == 4)
4349 return self->at(GFitsImageInx[1], GFitsImageInx[2], GFitsImageInx[3], GFitsImageInx[4]);
4350 else
4351 throw GException::fits_wrong_image_operator("__getitem__(int)",
4352 self->naxis(), GFitsImageInx[0]);
4353 }
4354SWIGINTERNstatic __attribute__ ((__unused__)) void GFitsImageDouble___setitem__(GFitsImageDouble *self,int GFitsImageInx[],double value){
4355 if (GFitsImageInx[0] == 1)
4356 self->at(GFitsImageInx[1]) = value;
4357 else if (GFitsImageInx[0] == 2)
4358 self->at(GFitsImageInx[1], GFitsImageInx[2]) = value;
4359 else if (GFitsImageInx[0] == 3)
4360 self->at(GFitsImageInx[1], GFitsImageInx[2], GFitsImageInx[3]) = value;
4361 else if (GFitsImageInx[0] == 4)
4362 self->at(GFitsImageInx[1], GFitsImageInx[2], GFitsImageInx[3], GFitsImageInx[4]) = value;
4363 else
4364 throw GException::fits_wrong_image_operator("__setitem__(int)",
4365 self->naxis(), GFitsImageInx[0]);
4366 }
4367SWIGINTERNstatic __attribute__ ((__unused__)) GFitsImageDouble GFitsImageDouble_copy(GFitsImageDouble *self){
4368 return (*self);
4369 }
4370
4371/* Put headers and other declarations here that are needed for compilation */
4372#include "GFitsTable.hpp"
4373#include "GTools.hpp"
4374
4375
4376static int table_column_tuple(PyObject *input, int *ptr) {
4377 if (PySequence_Check(input)) {
4378 int size = PyObject_LengthPyObject_Size(input);
4379 if (size > 2) {
4380 PyErr_SetString(PyExc_ValueError,"Too many arguments in tuple");
4381 return 0;
4382 }
4383 ptr[0] = size;
4384 for (int i = 0; i < size; i++) {
4385 PyObject *o = PySequence_GetItem(input,i);
4386 if (!PyInt_Check(o)((((o)->ob_type)->tp_flags & ((1L<<23))) != 0
)
) {
4387 Py_XDECREF(o)do { if ((o) == __null) ; else do { if ( --((PyObject*)(o))->
ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(o)))->
ob_type)->tp_dealloc)((PyObject *)((PyObject *)(o)))); } while
(0); } while (0)
;
4388 PyErr_SetString(PyExc_ValueError,"Expecting a tuple of integers");
4389 return 0;
4390 }
4391 ptr[i+1] = (int)PyInt_AsLong(o);
4392 Py_DECREF(o)do { if ( --((PyObject*)(o))->ob_refcnt != 0) ; else ( (*(
((PyObject*)((PyObject *)(o)))->ob_type)->tp_dealloc)((
PyObject *)((PyObject *)(o)))); } while (0)
;
4393 }
4394 return 1;
4395 }
4396 else {
4397 ptr[0] = 1;
4398 if (!PyInt_Check(input)((((input)->ob_type)->tp_flags & ((1L<<23))) !=
0)
) {
4399 PyErr_SetString(PyExc_ValueError,"Expecting an integer");
4400 return 0;
4401 }
4402 ptr[1] = (int)PyInt_AsLong(input);
4403 return 1;
4404 }
4405}
4406
4407SWIGINTERNstatic __attribute__ ((__unused__)) GFitsTableCol *GFitsTable___getitem____SWIG_0(GFitsTable *self,int const &colnum){
4408 return (*self)[colnum];
4409 }
4410SWIGINTERNstatic __attribute__ ((__unused__)) GFitsTableCol *GFitsTable___getitem____SWIG_1(GFitsTable *self,std::string const &colname){
4411 return (*self)[colname];
4412 }
4413SWIGINTERNstatic __attribute__ ((__unused__)) void GFitsTable___setitem____SWIG_0(GFitsTable *self,int const &colnum,GFitsTableCol const &col){
4414 self->set(colnum, col);
4415 return;
4416 }
4417SWIGINTERNstatic __attribute__ ((__unused__)) void GFitsTable___setitem____SWIG_1(GFitsTable *self,std::string const &colname,GFitsTableCol const &col){
4418 self->set(colname, col);
4419 return;
4420 }
4421
4422/* Put headers and other declarations here that are needed for compilation */
4423#include "GFitsAsciiTable.hpp"
4424
4425SWIGINTERNstatic __attribute__ ((__unused__)) GFitsAsciiTable GFitsAsciiTable_copy(GFitsAsciiTable *self){
4426 return (*self);
4427 }
4428
4429/* Put headers and other declarations here that are needed for compilation */
4430#include "GFitsBinTable.hpp"
4431
4432SWIGINTERNstatic __attribute__ ((__unused__)) GFitsBinTable GFitsBinTable_copy(GFitsBinTable *self){
4433 return (*self);
4434 }
4435
4436/* Put headers and other declarations here that are needed for compilation */
4437#include "GFitsTableCol.hpp"
4438#include "GFitsTableBitCol.hpp"
4439#include "GFitsTableBoolCol.hpp"
4440#include "GFitsTableByteCol.hpp"
4441#include "GFitsTableDoubleCol.hpp"
4442#include "GFitsTableFloatCol.hpp"
4443#include "GFitsTableLongCol.hpp"
4444#include "GFitsTableLongLongCol.hpp"
4445#include "GFitsTableShortCol.hpp"
4446#include "GFitsTableStringCol.hpp"
4447#include "GFitsTableULongCol.hpp"
4448#include "GFitsTableUShortCol.hpp"
4449#include "GTools.hpp"
4450#include "GException.hpp"
4451
4452
4453namespace swig {
4454 template <class Type>
4455 struct noconst_traits {
4456 typedef Type noconst_type;
4457 };
4458
4459 template <class Type>
4460 struct noconst_traits<const Type> {
4461 typedef Type noconst_type;
4462 };
4463
4464 /*
4465 type categories
4466 */
4467 struct pointer_category { };
4468 struct value_category { };
4469
4470 /*
4471 General traits that provides type_name and type_info
4472 */
4473 template <class Type> struct traits { };
4474
4475 template <class Type>
4476 inline const char* type_name() {
4477 return traits<typename noconst_traits<Type >::noconst_type >::type_name();
4478 }
4479
4480 template <class Type>
4481 struct traits_info {
4482 static swig_type_info *type_query(std::string name) {
4483 name += " *";
4484 return SWIG_TypeQuery(name.c_str())SWIG_TypeQueryModule(&swig_module, &swig_module, name
.c_str())
;
4485 }
4486 static swig_type_info *type_info() {
4487 static swig_type_info *info = type_query(type_name<Type>());
4488 return info;
4489 }
4490 };
4491
4492 template <class Type>
4493 inline swig_type_info *type_info() {
4494 return traits_info<Type>::type_info();
4495 }
4496
4497 /*
4498 Partial specialization for pointers
4499 */
4500 template <class Type> struct traits <Type *> {
4501 typedef pointer_category category;
4502 static std::string make_ptr_name(const char* name) {
4503 std::string ptrname = name;
4504 ptrname += " *";
4505 return ptrname;
4506 }
4507 static const char* type_name() {
4508 static std::string name = make_ptr_name(swig::type_name<Type>());
4509 return name.c_str();
4510 }
4511 };
4512
4513 template <class Type, class Category>
4514 struct traits_as { };
4515
4516 template <class Type, class Category>
4517 struct traits_check { };
4518
4519}
4520
4521
4522namespace swig {
4523 /*
4524 Traits that provides the from method
4525 */
4526 template <class Type> struct traits_from_ptr {
4527 static PyObject *from(Type *val, int owner = 0) {
4528 return SWIG_InternalNewPointerObj(val, type_info<Type>(), owner)SWIG_Python_NewPointerObj(__null, val, type_info<Type>(
), owner)
;
4529 }
4530 };
4531
4532 template <class Type> struct traits_from {
4533 static PyObject *from(const Type& val) {
4534 return traits_from_ptr<Type>::from(new Type(val), 1);
4535 }
4536 };
4537
4538 template <class Type> struct traits_from<Type *> {
4539 static PyObject *from(Type* val) {
4540 return traits_from_ptr<Type>::from(val, 0);
4541 }
4542 };
4543
4544 template <class Type> struct traits_from<const Type *> {
4545 static PyObject *from(const Type* val) {
4546 return traits_from_ptr<Type>::from(const_cast<Type*>(val), 0);
4547 }
4548 };
4549
4550
4551 template <class Type>
4552 inline PyObject *from(const Type& val) {
4553 return traits_from<Type>::from(val);
4554 }
4555
4556 template <class Type>
4557 inline PyObject *from_ptr(Type* val, int owner) {
4558 return traits_from_ptr<Type>::from(val, owner);
4559 }
4560
4561 /*
4562 Traits that provides the asval/as/check method
4563 */
4564 template <class Type>
4565 struct traits_asptr {
4566 static int asptr(PyObject *obj, Type **val) {
4567 Type *p;
4568 int res = SWIG_ConvertPtr(obj, (void**)&p, type_info<Type>(), 0)SWIG_Python_ConvertPtrAndOwn(obj, (void**)&p, type_info<
Type>(), 0, 0)
;
4569 if (SWIG_IsOK(res)(res >= 0)) {
4570 if (val) *val = p;
4571 }
4572 return res;
4573 }
4574 };
4575
4576 template <class Type>
4577 inline int asptr(PyObject *obj, Type **vptr) {
4578 return traits_asptr<Type>::asptr(obj, vptr);
4579 }
4580
4581 template <class Type>
4582 struct traits_asval {
4583 static int asval(PyObject *obj, Type *val) {
4584 if (val) {
4585 Type *p = 0;
4586 int res = traits_asptr<Type>::asptr(obj, &p);
4587 if (!SWIG_IsOK(res)(res >= 0)) return res;
4588 if (p) {
4589 typedef typename noconst_traits<Type>::noconst_type noconst_type;
4590 *(const_cast<noconst_type*>(val)) = *p;
4591 if (SWIG_IsNewObj(res)((res >= 0) && (res & ((1 << 8) <<
1)))
){
4592 delete p;
4593 res = SWIG_DelNewMask(res)((res >= 0) ? (res & ~((1 << 8) << 1)) : res
)
;
4594 }
4595 return res;
4596 } else {
4597 return SWIG_ERROR(-1);
4598 }
4599 } else {
4600 return traits_asptr<Type>::asptr(obj, (Type **)(0));
4601 }
4602 }
4603 };
4604
4605 template <class Type> struct traits_asval<Type*> {
4606 static int asval(PyObject *obj, Type **val) {
4607 if (val) {
4608 typedef typename noconst_traits<Type>::noconst_type noconst_type;
4609 noconst_type *p = 0;
4610 int res = traits_asptr<noconst_type>::asptr(obj, &p);
4611 if (SWIG_IsOK(res)(res >= 0)) {
4612 *(const_cast<noconst_type**>(val)) = p;
4613 }
4614 return res;
4615 } else {
4616 return traits_asptr<Type>::asptr(obj, (Type **)(0));
4617 }
4618 }
4619 };
4620
4621 template <class Type>
4622 inline int asval(PyObject *obj, Type *val) {
4623 return traits_asval<Type>::asval(obj, val);
4624 }
4625
4626 template <class Type>
4627 struct traits_as<Type, value_category> {
4628 static Type as(PyObject *obj, bool throw_error) {
4629 Type v;
4630 int res = asval(obj, &v);
4631 if (!obj || !SWIG_IsOK(res)(res >= 0)) {
4632 if (!PyErr_Occurred()) {
4633 ::SWIG_Error(SWIG_TypeError, swig::type_name<Type>())SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-5), swig::type_name
<Type>())
;
4634 }
4635 if (throw_error) throw std::invalid_argument("bad type");
4636 }
4637 return v;
4638 }
4639 };
4640
4641 template <class Type>
4642 struct traits_as<Type, pointer_category> {
4643 static Type as(PyObject *obj, bool throw_error) {
4644 Type *v = 0;
4645 int res = (obj ? traits_asptr<Type>::asptr(obj, &v) : SWIG_ERROR(-1));
4646 if (SWIG_IsOK(res)(res >= 0) && v) {
4647 if (SWIG_IsNewObj(res)((res >= 0) && (res & ((1 << 8) <<
1)))
) {
4648 Type r(*v);
4649 delete v;
4650 return r;
4651 } else {
4652 return *v;
4653 }
4654 } else {
4655 // Uninitialized return value, no Type() constructor required.
4656 static Type *v_def = (Type*) malloc(sizeof(Type));
4657 if (!PyErr_Occurred()) {
4658 SWIG_Error(SWIG_TypeError, swig::type_name<Type>())SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-5), swig::type_name
<Type>())
;
4659 }
4660 if (throw_error) throw std::invalid_argument("bad type");
4661 memset(v_def,0,sizeof(Type));
4662 return *v_def;
4663 }
4664 }
4665 };
4666
4667 template <class Type>
4668 struct traits_as<Type*, pointer_category> {
4669 static Type* as(PyObject *obj, bool throw_error) {
4670 Type *v = 0;
4671 int res = (obj ? traits_asptr<Type>::asptr(obj, &v) : SWIG_ERROR(-1));
4672 if (SWIG_IsOK(res)(res >= 0)) {
4673 return v;
4674 } else {
4675 if (!PyErr_Occurred()) {
4676 SWIG_Error(SWIG_TypeError, swig::type_name<Type>())SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-5), swig::type_name
<Type>())
;
4677 }
4678 if (throw_error) throw std::invalid_argument("bad type");
4679 return 0;
4680 }
4681 }
4682 };
4683
4684 template <class Type>
4685 inline Type as(PyObject *obj, bool te = false) {
4686 return traits_as<Type, typename traits<Type>::category>::as(obj, te);
4687 }
4688
4689 template <class Type>
4690 struct traits_check<Type, value_category> {
4691 static bool check(PyObject *obj) {
4692 int res = obj ? asval(obj, (Type *)(0)) : SWIG_ERROR(-1);
4693 return SWIG_IsOK(res)(res >= 0) ? true : false;
4694 }
4695 };
4696
4697 template <class Type>
4698 struct traits_check<Type, pointer_category> {
4699 static bool check(PyObject *obj) {
4700 int res = obj ? asptr(obj, (Type **)(0)) : SWIG_ERROR(-1);
4701 return SWIG_IsOK(res)(res >= 0) ? true : false;
4702 }
4703 };
4704
4705 template <class Type>
4706 inline bool check(PyObject *obj) {
4707 return traits_check<Type, typename traits<Type>::category>::check(obj);
4708 }
4709}
4710
4711
4712#include <functional>
4713
4714namespace std {
4715 template <>
4716 struct less <PyObject *>: public binary_function<PyObject *, PyObject *, bool>
4717 {
4718 bool
4719 operator()(PyObject * v, PyObject *w) const
4720 {
4721 bool res;
4722 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
4723 res = PyObject_RichCompareBool(v, w, Py_LT0) ? true : false;
4724 /* This may fall into a case of inconsistent
4725 eg. ObjA > ObjX > ObjB
4726 but ObjA < ObjB
4727 */
4728 if( PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_TypeError) )
4729 {
4730 /* Objects can't be compared, this mostly occurred in Python 3.0 */
4731 /* Compare their ptr directly for a workaround */
4732 res = (v < w);
4733 PyErr_Clear();
4734 }
4735 SWIG_PYTHON_THREAD_END_BLOCK;
4736 return res;
4737 }
4738 };
4739
4740 template <>
4741 struct less <swig::SwigPtr_PyObject>: public binary_function<swig::SwigPtr_PyObject, swig::SwigPtr_PyObject, bool>
4742 {
4743 bool
4744 operator()(const swig::SwigPtr_PyObject& v, const swig::SwigPtr_PyObject& w) const
4745 {
4746 return std::less<PyObject *>()(v, w);
4747 }
4748 };
4749
4750 template <>
4751 struct less <swig::SwigVar_PyObject>: public binary_function<swig::SwigVar_PyObject, swig::SwigVar_PyObject, bool>
4752 {
4753 bool
4754 operator()(const swig::SwigVar_PyObject& v, const swig::SwigVar_PyObject& w) const
4755 {
4756 return std::less<PyObject *>()(v, w);
4757 }
4758 };
4759
4760}
4761
4762namespace swig {
4763 template <> struct traits<PyObject *> {
4764 typedef value_category category;
4765 static const char* type_name() { return "PyObject *"; }
4766 };
4767
4768 template <> struct traits_asval<PyObject * > {
4769 typedef PyObject * value_type;
4770 static int asval(PyObject *obj, value_type *val) {
4771 if (val) *val = obj;
4772 return SWIG_OK(0);
4773 }
4774 };
4775
4776 template <>
4777 struct traits_check<PyObject *, value_category> {
4778 static bool check(PyObject *) {
4779 return true;
4780 }
4781 };
4782
4783 template <> struct traits_from<PyObject *> {
4784 typedef PyObject * value_type;
4785 static PyObject *from(const value_type& val) {
4786 Py_XINCREF(val)do { if ((val) == __null) ; else ( ((PyObject*)(val))->ob_refcnt
++); } while (0)
;
4787 return val;
4788 }
4789 };
4790
4791}
4792
4793namespace swig {
4794 template <class Difference>
4795 inline size_t
4796 check_index(Difference i, size_t size, bool insert = false) {
4797 if ( i < 0 ) {
4798 if ((size_t) (-i) <= size)
4799 return (size_t) (i + size);
4800 } else if ( (size_t) i < size ) {
4801 return (size_t) i;
4802 } else if (insert && ((size_t) i == size)) {
4803 return size;
4804 }
4805 throw std::out_of_range("index out of range");
4806 }
4807
4808 template <class Difference>
4809 void
4810 slice_adjust(Difference i, Difference j, Py_ssize_t step, size_t size, Difference &ii, Difference &jj, bool insert = false) {
4811 if (step == 0) {
4812 throw std::invalid_argument("slice step cannot be zero");
4813 } else if (step > 0) {
4814 // Required range: 0 <= i < size, 0 <= j < size
4815 if (i < 0) {
4816 ii = 0;
4817 } else if (i < (Difference)size) {
4818 ii = i;
4819 } else if (insert && (i >= (Difference)size)) {
4820 ii = (Difference)size;
4821 }
4822 if ( j < 0 ) {
4823 jj = 0;
4824 } else {
4825 jj = (j < (Difference)size) ? j : (Difference)size;
4826 }
4827 } else {
4828 // Required range: -1 <= i < size-1, -1 <= j < size-1
4829 if (i < -1) {
4830 ii = -1;
4831 } else if (i < (Difference) size) {
4832 ii = i;
4833 } else if (i >= (Difference)(size-1)) {
4834 ii = (Difference)(size-1);
4835 }
4836 if (j < -1) {
4837 jj = -1;
4838 } else {
4839 jj = (j < (Difference)size ) ? j : (Difference)(size-1);
4840 }
4841 }
4842 }
4843
4844 template <class Sequence, class Difference>
4845 inline typename Sequence::iterator
4846 getpos(Sequence* self, Difference i) {
4847 typename Sequence::iterator pos = self->begin();
4848 std::advance(pos, check_index(i,self->size()));
4849 return pos;
4850 }
4851
4852 template <class Sequence, class Difference>
4853 inline typename Sequence::const_iterator
4854 cgetpos(const Sequence* self, Difference i) {
4855 typename Sequence::const_iterator pos = self->begin();
4856 std::advance(pos, check_index(i,self->size()));
4857 return pos;
4858 }
4859
4860 template <class Sequence, class Difference>
4861 inline Sequence*
4862 getslice(const Sequence* self, Difference i, Difference j, Py_ssize_t step) {
4863 typename Sequence::size_type size = self->size();
4864 Difference ii = 0;
4865 Difference jj = 0;
4866 swig::slice_adjust(i, j, step, size, ii, jj);
4867
4868 if (step > 0) {
4869 typename Sequence::const_iterator sb = self->begin();
4870 typename Sequence::const_iterator se = self->begin();
4871 std::advance(sb,ii);
4872 std::advance(se,jj);
4873 if (step == 1) {
4874 return new Sequence(sb, se);
4875 } else {
4876 Sequence *sequence = new Sequence();
4877 typename Sequence::const_iterator it = sb;
4878 while (it!=se) {
4879 sequence->push_back(*it);
4880 for (Py_ssize_t c=0; c<step && it!=se; ++c)
4881 it++;
4882 }
4883 return sequence;
4884 }
4885 } else {
4886 Sequence *sequence = new Sequence();
4887 if (ii > jj) {
4888 typename Sequence::const_reverse_iterator sb = self->rbegin();
4889 typename Sequence::const_reverse_iterator se = self->rbegin();
4890 std::advance(sb,size-ii-1);
4891 std::advance(se,size-jj-1);
4892 typename Sequence::const_reverse_iterator it = sb;
4893 while (it!=se) {
4894 sequence->push_back(*it);
4895 for (Py_ssize_t c=0; c<-step && it!=se; ++c)
4896 it++;
4897 }
4898 }
4899 return sequence;
4900 }
4901 }
4902
4903 template <class Sequence, class Difference, class InputSeq>
4904 inline void
4905 setslice(Sequence* self, Difference i, Difference j, Py_ssize_t step, const InputSeq& is = InputSeq()) {
4906 typename Sequence::size_type size = self->size();
4907 Difference ii = 0;
4908 Difference jj = 0;
4909 swig::slice_adjust(i, j, step, size, ii, jj, true);
4910 if (step > 0) {
4911 if (jj < ii)
4912 jj = ii;
4913 if (step == 1) {
4914 size_t ssize = jj - ii;
4915 if (ssize <= is.size()) {
4916 // expanding/staying the same size
4917 typename Sequence::iterator sb = self->begin();
4918 typename InputSeq::const_iterator isit = is.begin();
4919 std::advance(sb,ii);
4920 std::advance(isit, jj - ii);
4921 self->insert(std::copy(is.begin(), isit, sb), isit, is.end());
4922 } else {
4923 // shrinking
4924 typename Sequence::iterator sb = self->begin();
4925 typename Sequence::iterator se = self->begin();
4926 std::advance(sb,ii);
4927 std::advance(se,jj);
4928 self->erase(sb,se);
4929 sb = self->begin();
4930 std::advance(sb,ii);
4931 self->insert(sb, is.begin(), is.end());
4932 }
4933 } else {
4934 size_t replacecount = (jj - ii + step - 1) / step;
4935 if (is.size() != replacecount) {
4936 char msg[1024];
4937 sprintf(msg, "attempt to assign sequence of size %lu to extended slice of size %lu", (unsigned long)is.size(), (unsigned long)replacecount);
4938 throw std::invalid_argument(msg);
4939 }
4940 typename Sequence::const_iterator isit = is.begin();
4941 typename Sequence::iterator it = self->begin();
4942 std::advance(it,ii);
4943 for (size_t rc=0; rc<replacecount; ++rc) {
4944 *it++ = *isit++;
4945 for (Py_ssize_t c=0; c<(step-1) && it != self->end(); ++c)
4946 it++;
4947 }
4948 }
4949 } else {
4950 if (jj > ii)
4951 jj = ii;
4952 size_t replacecount = (ii - jj - step - 1) / -step;
4953 if (is.size() != replacecount) {
4954 char msg[1024];
4955 sprintf(msg, "attempt to assign sequence of size %lu to extended slice of size %lu", (unsigned long)is.size(), (unsigned long)replacecount);
4956 throw std::invalid_argument(msg);
4957 }
4958 typename Sequence::const_iterator isit = is.begin();
4959 typename Sequence::reverse_iterator it = self->rbegin();
4960 std::advance(it,size-ii-1);
4961 for (size_t rc=0; rc<replacecount; ++rc) {
4962 *it++ = *isit++;
4963 for (Py_ssize_t c=0; c<(-step-1) && it != self->rend(); ++c)
4964 it++;
4965 }
4966 }
4967 }
4968
4969 template <class Sequence, class Difference>
4970 inline void
4971 delslice(Sequence* self, Difference i, Difference j, Py_ssize_t step) {
4972 typename Sequence::size_type size = self->size();
4973 Difference ii = 0;
4974 Difference jj = 0;
4975 swig::slice_adjust(i, j, step, size, ii, jj, true);
4976 if (step > 0) {
4977 if (jj > ii) {
4978 typename Sequence::iterator sb = self->begin();
4979 std::advance(sb,ii);
4980 if (step == 1) {
4981 typename Sequence::iterator se = self->begin();
4982 std::advance(se,jj);
4983 self->erase(sb,se);
4984 } else {
4985 typename Sequence::iterator it = sb;
4986 size_t delcount = (jj - ii + step - 1) / step;
4987 while (delcount) {
4988 it = self->erase(it);
4989 for (Py_ssize_t c=0; c<(step-1) && it != self->end(); ++c)
4990 it++;
4991 delcount--;
4992 }
4993 }
4994 }
4995 } else {
4996 if (ii > jj) {
4997 typename Sequence::reverse_iterator sb = self->rbegin();
4998 std::advance(sb,size-ii-1);
4999 typename Sequence::reverse_iterator it = sb;
5000 size_t delcount = (ii - jj - step - 1) / -step;
5001 while (delcount) {
5002 it = typename Sequence::reverse_iterator(self->erase((++it).base()));
5003 for (Py_ssize_t c=0; c<(-step-1) && it != self->rend(); ++c)
5004 it++;
5005 delcount--;
5006 }
5007 }
5008 }
5009 }
5010}
5011
5012
5013#if defined(__SUNPRO_CC) && defined(_RWSTD_VER)
5014# if !defined(SWIG_NO_STD_NOITERATOR_TRAITS_STL)
5015# define SWIG_STD_NOITERATOR_TRAITS_STL
5016# endif
5017#endif
5018
5019#if !defined(SWIG_STD_NOITERATOR_TRAITS_STL)
5020#include <iterator>
5021#else
5022namespace std {
5023 template <class Iterator>
5024 struct iterator_traits {
5025 typedef ptrdiff_t difference_type;
5026 typedef typename Iterator::value_type value_type;
5027 };
5028
5029 template <class Iterator, class Category,class T, class Reference, class Pointer, class Distance>
5030 struct iterator_traits<__reverse_bi_iterator<Iterator,Category,T,Reference,Pointer,Distance> > {
5031 typedef Distance difference_type;
5032 typedef T value_type;
5033 };
5034
5035 template <class T>
5036 struct iterator_traits<T*> {
5037 typedef T value_type;
5038 typedef ptrdiff_t difference_type;
5039 };
5040
5041 template<typename _InputIterator>
5042 inline typename iterator_traits<_InputIterator>::difference_type
5043 distance(_InputIterator __first, _InputIterator __last)
5044 {
5045 typename iterator_traits<_InputIterator>::difference_type __n = 0;
5046 while (__first != __last) {
5047 ++__first; ++__n;
5048 }
5049 return __n;
5050 }
5051}
5052#endif
5053
5054
5055namespace swig {
5056 template<typename OutIterator>
5057 class SwigPyIterator_T : public SwigPyIterator
5058 {
5059 public:
5060 typedef OutIterator out_iterator;
5061 typedef typename std::iterator_traits<out_iterator>::value_type value_type;
5062 typedef SwigPyIterator_T<out_iterator> self_type;
5063
5064 SwigPyIterator_T(out_iterator curr, PyObject *seq)
5065 : SwigPyIterator(seq), current(curr)
5066 {
5067 }
5068
5069 const out_iterator& get_current() const
5070 {
5071 return current;
5072 }
5073
5074
5075 bool equal (const SwigPyIterator &iter) const
5076 {
5077 const self_type *iters = dynamic_cast<const self_type *>(&iter);
5078 if (iters) {
5079 return (current == iters->get_current());
5080 } else {
5081 throw std::invalid_argument("bad iterator type");
5082 }
5083 }
5084
5085 ptrdiff_t distance(const SwigPyIterator &iter) const
5086 {
5087 const self_type *iters = dynamic_cast<const self_type *>(&iter);
5088 if (iters) {
5089 return std::distance(current, iters->get_current());
5090 } else {
5091 throw std::invalid_argument("bad iterator type");
5092 }
5093 }
5094
5095 protected:
5096 out_iterator current;
5097 };
5098
5099 template <class ValueType>
5100 struct from_oper
5101 {
5102 typedef const ValueType& argument_type;
5103 typedef PyObject *result_type;
5104 result_type operator()(argument_type v) const
5105 {
5106 return swig::from(v);
5107 }
5108 };
5109
5110 template<typename OutIterator,
5111 typename ValueType = typename std::iterator_traits<OutIterator>::value_type,
5112 typename FromOper = from_oper<ValueType> >
5113 class SwigPyIteratorOpen_T : public SwigPyIterator_T<OutIterator>
5114 {
5115 public:
5116 FromOper from;
5117 typedef OutIterator out_iterator;
5118 typedef ValueType value_type;
5119 typedef SwigPyIterator_T<out_iterator> base;
5120 typedef SwigPyIteratorOpen_T<OutIterator, ValueType, FromOper> self_type;
5121
5122 SwigPyIteratorOpen_T(out_iterator curr, PyObject *seq)
5123 : SwigPyIterator_T<OutIterator>(curr, seq)
5124 {
5125 }
5126
5127 PyObject *value() const {
5128 return from(static_cast<const value_type&>(*(base::current)));
5129 }
5130
5131 SwigPyIterator *copy() const
5132 {
5133 return new self_type(*this);
5134 }
5135
5136 SwigPyIterator *incr(size_t n = 1)
5137 {
5138 while (n--) {
5139 ++base::current;
5140 }
5141 return this;
5142 }
5143
5144 SwigPyIterator *decr(size_t n = 1)
5145 {
5146 while (n--) {
5147 --base::current;
5148 }
5149 return this;
5150 }
5151 };
5152
5153 template<typename OutIterator,
5154 typename ValueType = typename std::iterator_traits<OutIterator>::value_type,
5155 typename FromOper = from_oper<ValueType> >
5156 class SwigPyIteratorClosed_T : public SwigPyIterator_T<OutIterator>
5157 {
5158 public:
5159 FromOper from;
5160 typedef OutIterator out_iterator;
5161 typedef ValueType value_type;
5162 typedef SwigPyIterator_T<out_iterator> base;
5163 typedef SwigPyIteratorClosed_T<OutIterator, ValueType, FromOper> self_type;
5164
5165 SwigPyIteratorClosed_T(out_iterator curr, out_iterator first, out_iterator last, PyObject *seq)
5166 : SwigPyIterator_T<OutIterator>(curr, seq), begin(first), end(last)
5167 {
5168 }
5169
5170 PyObject *value() const {
5171 if (base::current == end) {
5172 throw stop_iteration();
5173 } else {
5174 return from(static_cast<const value_type&>(*(base::current)));
5175 }
5176 }
5177
5178 SwigPyIterator *copy() const
5179 {
5180 return new self_type(*this);
5181 }
5182
5183 SwigPyIterator *incr(size_t n = 1)
5184 {
5185 while (n--) {
5186 if (base::current == end) {
5187 throw stop_iteration();
5188 } else {
5189 ++base::current;
5190 }
5191 }
5192 return this;
5193 }
5194
5195 SwigPyIterator *decr(size_t n = 1)
5196 {
5197 while (n--) {
5198 if (base::current == begin) {
5199 throw stop_iteration();
5200 } else {
5201 --base::current;
5202 }
5203 }
5204 return this;
5205 }
5206
5207 private:
5208 out_iterator begin;
5209 out_iterator end;
5210 };
5211
5212 template<typename OutIter>
5213 inline SwigPyIterator*
5214 make_output_iterator(const OutIter& current, const OutIter& begin,const OutIter& end, PyObject *seq = 0)
5215 {
5216 return new SwigPyIteratorClosed_T<OutIter>(current, begin, end, seq);
5217 }
5218
5219 template<typename OutIter>
5220 inline SwigPyIterator*
5221 make_output_iterator(const OutIter& current, PyObject *seq = 0)
5222 {
5223 return new SwigPyIteratorOpen_T<OutIter>(current, seq);
5224 }
5225
5226}
5227
5228
5229namespace swig
5230{
5231 template <class T>
5232 struct SwigPySequence_Ref
5233 {
5234 SwigPySequence_Ref(PyObject* seq, int index)
5235 : _seq(seq), _index(index)
5236 {
5237 }
5238
5239 operator T () const
5240 {
5241 swig::SwigVar_PyObject item = PySequence_GetItem(_seq, _index);
5242 try {
5243 return swig::as<T>(item, true);
5244 } catch (std::exception& e) {
5245 char msg[1024];
5246 sprintf(msg, "in sequence element %d ", _index);
5247 if (!PyErr_Occurred()) {
5248 ::SWIG_Error(SWIG_TypeError, swig::type_name<T>())SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-5), swig::type_name
<T>())
;
5249 }
5250 SWIG_Python_AddErrorMsg(msg);
5251 SWIG_Python_AddErrorMsg(e.what());
5252 throw;
5253 }
5254 }
5255
5256 SwigPySequence_Ref& operator=(const T& v)
5257 {
5258 PySequence_SetItem(_seq, _index, swig::from<T>(v));
5259 return *this;
5260 }
5261
5262 private:
5263 PyObject* _seq;
5264 int _index;
5265 };
5266
5267 template <class T>
5268 struct SwigPySequence_ArrowProxy
5269 {
5270 SwigPySequence_ArrowProxy(const T& x): m_value(x) {}
5271 const T* operator->() const { return &m_value; }
5272 operator const T*() const { return &m_value; }
5273 T m_value;
5274 };
5275
5276 template <class T, class Reference >
5277 struct SwigPySequence_InputIterator
5278 {
5279 typedef SwigPySequence_InputIterator<T, Reference > self;
5280
5281 typedef std::random_access_iterator_tag iterator_category;
5282 typedef Reference reference;
5283 typedef T value_type;
5284 typedef T* pointer;
5285 typedef int difference_type;
5286
5287 SwigPySequence_InputIterator()
5288 {
5289 }
5290
5291 SwigPySequence_InputIterator(PyObject* seq, int index)
5292 : _seq(seq), _index(index)
5293 {
5294 }
5295
5296 reference operator*() const
5297 {
5298 return reference(_seq, _index);
5299 }
5300
5301 SwigPySequence_ArrowProxy<T>
5302 operator->() const {
5303 return SwigPySequence_ArrowProxy<T>(operator*());
5304 }
5305
5306 bool operator==(const self& ri) const
5307 {
5308 return (_index == ri._index) && (_seq == ri._seq);
5309 }
5310
5311 bool operator!=(const self& ri) const
5312 {
5313 return !(operator==(ri));
5314 }
5315
5316 self& operator ++ ()
5317 {
5318 ++_index;
5319 return *this;
5320 }
5321
5322 self& operator -- ()
5323 {
5324 --_index;
5325 return *this;
5326 }
5327
5328 self& operator += (difference_type n)
5329 {
5330 _index += n;
5331 return *this;
5332 }
5333
5334 self operator +(difference_type n) const
5335 {
5336 return self(_seq, _index + n);
5337 }
5338
5339 self& operator -= (difference_type n)
5340 {
5341 _index -= n;
5342 return *this;
5343 }
5344
5345 self operator -(difference_type n) const
5346 {
5347 return self(_seq, _index - n);
5348 }
5349
5350 difference_type operator - (const self& ri) const
5351 {
5352 return _index - ri._index;
5353 }
5354
5355 bool operator < (const self& ri) const
5356 {
5357 return _index < ri._index;
5358 }
5359
5360 reference
5361 operator[](difference_type n) const
5362 {
5363 return reference(_seq, _index + n);
5364 }
5365
5366 private:
5367 PyObject* _seq;
5368 difference_type _index;
5369 };
5370
5371 template <class T>
5372 struct SwigPySequence_Cont
5373 {
5374 typedef SwigPySequence_Ref<T> reference;
5375 typedef const SwigPySequence_Ref<T> const_reference;
5376 typedef T value_type;
5377 typedef T* pointer;
5378 typedef int difference_type;
5379 typedef int size_type;
5380 typedef const pointer const_pointer;
5381 typedef SwigPySequence_InputIterator<T, reference> iterator;
5382 typedef SwigPySequence_InputIterator<T, const_reference> const_iterator;
5383
5384 SwigPySequence_Cont(PyObject* seq) : _seq(0)
5385 {
5386 if (!PySequence_Check(seq)) {
5387 throw std::invalid_argument("a sequence is expected");
5388 }
5389 _seq = seq;
5390 Py_INCREF(_seq)( ((PyObject*)(_seq))->ob_refcnt++);
5391 }
5392
5393 ~SwigPySequence_Cont()
5394 {
5395 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)
;
5396 }
5397
5398 size_type size() const
5399 {
5400 return static_cast<size_type>(PySequence_Size(_seq));
5401 }
5402
5403 bool empty() const
5404 {
5405 return size() == 0;
5406 }
5407
5408 iterator begin()
5409 {
5410 return iterator(_seq, 0);
5411 }
5412
5413 const_iterator begin() const
5414 {
5415 return const_iterator(_seq, 0);
5416 }
5417
5418 iterator end()
5419 {
5420 return iterator(_seq, size());
5421 }
5422
5423 const_iterator end() const
5424 {
5425 return const_iterator(_seq, size());
5426 }
5427
5428 reference operator[](difference_type n)
5429 {
5430 return reference(_seq, n);
5431 }
5432
5433 const_reference operator[](difference_type n) const
5434 {
5435 return const_reference(_seq, n);
5436 }
5437
5438 bool check(bool set_err = true) const
5439 {
5440 int s = size();
5441 for (int i = 0; i < s; ++i) {
5442 swig::SwigVar_PyObject item = PySequence_GetItem(_seq, i);
5443 if (!swig::check<value_type>(item)) {
5444 if (set_err) {
5445 char msg[1024];
5446 sprintf(msg, "in sequence element %d", i);
5447 SWIG_Error(SWIG_RuntimeError, msg)SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), msg);
5448 }
5449 return false;
5450 }
5451 }
5452 return true;
5453 }
5454
5455 private:
5456 PyObject* _seq;
5457 };
5458
5459}
5460
5461
5462namespace swig {
5463 template <> struct traits<int > {
5464 typedef value_category category;
5465 static const char* type_name() { return"int"; }
5466 };
5467 template <> struct traits_asval<int > {
5468 typedef int value_type;
5469 static int asval(PyObject *obj, value_type *val) {
5470 return SWIG_AsVal_int (obj, val);
5471 }
5472 };
5473 template <> struct traits_from<int > {
5474 typedef int value_type;
5475 static PyObject *from(const value_type& val) {
5476 return SWIG_From_int (val);
5477 }
5478 };
5479}
5480
5481
5482namespace swig {
5483 template <class SwigPySeq, class Seq>
5484 inline void
5485 assign(const SwigPySeq& swigpyseq, Seq* seq) {
5486 // seq->assign(swigpyseq.begin(), swigpyseq.end()); // not used as not always implemented
5487 typedef typename SwigPySeq::value_type value_type;
5488 typename SwigPySeq::const_iterator it = swigpyseq.begin();
5489 for (;it != swigpyseq.end(); ++it) {
5490 seq->insert(seq->end(),(value_type)(*it));
5491 }
5492 }
5493
5494 template <class Seq, class T = typename Seq::value_type >
5495 struct traits_asptr_stdseq {
5496 typedef Seq sequence;
5497 typedef T value_type;
5498
5499 static int asptr(PyObject *obj, sequence **seq) {
5500 if (obj == Py_None(&_Py_NoneStruct) || SWIG_Python_GetSwigThis(obj)) {
5501 sequence *p;
5502 if (::SWIG_ConvertPtr(obj,(void**)&p,SWIG_Python_ConvertPtrAndOwn(obj, (void**)&p, swig::type_info
<sequence>(), 0, 0)
5503 swig::type_info<sequence>(),0)SWIG_Python_ConvertPtrAndOwn(obj, (void**)&p, swig::type_info
<sequence>(), 0, 0)
== SWIG_OK(0)) {
5504 if (seq) *seq = p;
5505 return SWIG_OLDOBJ((0));
5506 }
5507 } else if (PySequence_Check(obj)) {
5508 try {
5509 SwigPySequence_Cont<value_type> swigpyseq(obj);
5510 if (seq) {
5511 sequence *pseq = new sequence();
5512 assign(swigpyseq, pseq);
5513 *seq = pseq;
5514 return SWIG_NEWOBJ((0) | ((1 << 8) << 1));
5515 } else {
5516 return swigpyseq.check() ? SWIG_OK(0) : SWIG_ERROR(-1);
5517 }
5518 } catch (std::exception& e) {
5519 if (seq) {
5520 if (!PyErr_Occurred()) {
5521 PyErr_SetString(PyExc_TypeError, e.what());
5522 }
5523 }
5524 return SWIG_ERROR(-1);
5525 }
5526 }
5527 return SWIG_ERROR(-1);
5528 }
5529 };
5530
5531 template <class Seq, class T = typename Seq::value_type >
5532 struct traits_from_stdseq {
5533 typedef Seq sequence;
5534 typedef T value_type;
5535 typedef typename Seq::size_type size_type;
5536 typedef typename sequence::const_iterator const_iterator;
5537
5538 static PyObject *from(const sequence& seq) {
5539#ifdef SWIG_PYTHON_EXTRA_NATIVE_CONTAINERS
5540 swig_type_info *desc = swig::type_info<sequence>();
5541 if (desc && desc->clientdata) {
5542 return SWIG_NewPointerObj(new sequence(seq), desc, SWIG_POINTER_OWN)SWIG_Python_NewPointerObj(__null, new sequence(seq), desc, 0x1
)
;
5543 }
5544#endif
5545 size_type size = seq.size();
5546 if (size <= (size_type)INT_MAX2147483647) {
5547 PyObject *obj = PyTuple_New((int)size);
5548 int i = 0;
5549 for (const_iterator it = seq.begin();
5550 it != seq.end(); ++it, ++i) {
5551 PyTuple_SetItem(obj,i,swig::from<value_type>(*it));
5552 }
5553 return obj;
5554 } else {
5555 PyErr_SetString(PyExc_OverflowError,"sequence size not valid in python");
5556 return NULL__null;
5557 }
5558 }
5559 };
5560}
5561
5562
5563 namespace swig {
5564 template <class T>
5565 struct traits_asptr<std::vector<T> > {
5566 static int asptr(PyObject *obj, std::vector<T> **vec) {
5567 return traits_asptr_stdseq<std::vector<T> >::asptr(obj, vec);
5568 }
5569 };
5570
5571 template <class T>
5572 struct traits_from<std::vector<T> > {
5573 static PyObject *from(const std::vector<T>& vec) {
5574 return traits_from_stdseq<std::vector<T> >::from(vec);
5575 }
5576 };
5577 }
5578
5579
5580 namespace swig {
5581 template <> struct traits<std::vector<int, std::allocator< int > > > {
5582 typedef pointer_category category;
5583 static const char* type_name() {
5584 return "std::vector<" "int" "," "std::allocator< int >" " >";
5585 }
5586 };
5587 }
5588
5589SWIGINTERNstatic __attribute__ ((__unused__)) swig::SwigPyIterator *std_vector_Sl_int_Sg__iterator(std::vector< int > *self,PyObject **PYTHON_SELF){
5590 return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF);
5591 }
5592SWIGINTERNstatic __attribute__ ((__unused__)) bool std_vector_Sl_int_Sg____nonzero__(std::vector< int > const *self){
5593 return !(self->empty());
5594 }
5595SWIGINTERNstatic __attribute__ ((__unused__)) bool std_vector_Sl_int_Sg____bool__(std::vector< int > const *self){
5596 return !(self->empty());
5597 }
5598SWIGINTERNstatic __attribute__ ((__unused__)) std::vector< int >::size_type std_vector_Sl_int_Sg____len__(std::vector< int > const *self){
5599 return self->size();
5600 }
5601
5602SWIGINTERNINLINEstatic __attribute__ ((__unused__)) inline PyObject *
5603SWIG_From_size_t (size_t value)
5604{
5605 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
5606}
5607
5608SWIGINTERNstatic __attribute__ ((__unused__)) std::vector< int >::value_type std_vector_Sl_int_Sg__pop(std::vector< int > *self){
5609 if (self->size() == 0)
5610 throw std::out_of_range("pop from empty container");
5611 std::vector<int,std::allocator< int > >::value_type x = self->back();
5612 self->pop_back();
5613 return x;
5614 }
5615SWIGINTERNstatic __attribute__ ((__unused__)) std::vector< int,std::allocator< int > > *std_vector_Sl_int_Sg____getslice__(std::vector< int > *self,std::vector< int >::difference_type i,std::vector< int >::difference_type j){
5616 return swig::getslice(self, i, j, 1);
5617 }
5618SWIGINTERNstatic __attribute__ ((__unused__)) void std_vector_Sl_int_Sg____setslice____SWIG_0(std::vector< int > *self,std::vector< int >::difference_type i,std::vector< int >::difference_type j,std::vector< int,std::allocator< int > > const &v=std::vector< int,std::allocator< int > >()){
5619 swig::setslice(self, i, j, 1, v);
5620 }
5621SWIGINTERNstatic __attribute__ ((__unused__)) void std_vector_Sl_int_Sg____delslice__(std::vector< int > *self,std::vector< int >::difference_type i,std::vector< int >::difference_type j){
5622 swig::delslice(self, i, j, 1);
5623 }
5624SWIGINTERNstatic __attribute__ ((__unused__)) void std_vector_Sl_int_Sg____delitem____SWIG_0(std::vector< int > *self,std::vector< int >::difference_type i){
5625 self->erase(swig::getpos(self,i));
5626 }
5627SWIGINTERNstatic __attribute__ ((__unused__)) std::vector< int,std::allocator< int > > *std_vector_Sl_int_Sg____getitem____SWIG_0(std::vector< int > *self,PySliceObject *slice){
5628 Py_ssize_t i, j, step;
5629 if( !PySlice_Check(slice)((((PyObject*)(slice))->ob_type) == &PySlice_Type) ) {
5630 SWIG_Error(SWIG_TypeError, "Slice object expected.")SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-5), "Slice object expected."
)
;
5631 return NULL__null;
5632 }
5633 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice)((PySliceObject*) (slice)), (Py_ssize_t)self->size(), &i, &j, &step);
5634 std::vector<int,std::allocator< int > >::difference_type id = i;
5635 std::vector<int,std::allocator< int > >::difference_type jd = j;
5636 return swig::getslice(self, id, jd, step);
5637 }
5638SWIGINTERNstatic __attribute__ ((__unused__)) void std_vector_Sl_int_Sg____setitem____SWIG_0(std::vector< int > *self,PySliceObject *slice,std::vector< int,std::allocator< int > > const &v){
5639 Py_ssize_t i, j, step;
5640 if( !PySlice_Check(slice)((((PyObject*)(slice))->ob_type) == &PySlice_Type) ) {
5641 SWIG_Error(SWIG_TypeError, "Slice object expected.")SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-5), "Slice object expected."
)
;
5642 return;
5643 }
5644 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice)((PySliceObject*) (slice)), (Py_ssize_t)self->size(), &i, &j, &step);
5645 std::vector<int,std::allocator< int > >::difference_type id = i;
5646 std::vector<int,std::allocator< int > >::difference_type jd = j;
5647 swig::setslice(self, id, jd, step, v);
5648 }
5649SWIGINTERNstatic __attribute__ ((__unused__)) void std_vector_Sl_int_Sg____setitem____SWIG_1(std::vector< int > *self,PySliceObject *slice){
5650 Py_ssize_t i, j, step;
5651 if( !PySlice_Check(slice)((((PyObject*)(slice))->ob_type) == &PySlice_Type) ) {
5652 SWIG_Error(SWIG_TypeError, "Slice object expected.")SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-5), "Slice object expected."
)
;
5653 return;
5654 }
5655 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice)((PySliceObject*) (slice)), (Py_ssize_t)self->size(), &i, &j, &step);
5656 std::vector<int,std::allocator< int > >::difference_type id = i;
5657 std::vector<int,std::allocator< int > >::difference_type jd = j;
5658 swig::delslice(self, id, jd, step);
5659 }
5660SWIGINTERNstatic __attribute__ ((__unused__)) void std_vector_Sl_int_Sg____delitem____SWIG_1(std::vector< int > *self,PySliceObject *slice){
5661 Py_ssize_t i, j, step;
5662 if( !PySlice_Check(slice)((((PyObject*)(slice))->ob_type) == &PySlice_Type) ) {
5663 SWIG_Error(SWIG_TypeError, "Slice object expected.")SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-5), "Slice object expected."
)
;
5664 return;
5665 }
5666 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice)((PySliceObject*) (slice)), (Py_ssize_t)self->size(), &i, &j, &step);
5667 std::vector<int,std::allocator< int > >::difference_type id = i;
5668 std::vector<int,std::allocator< int > >::difference_type jd = j;
5669 swig::delslice(self, id, jd, step);
5670 }
5671SWIGINTERNstatic __attribute__ ((__unused__)) std::vector< int >::value_type const &std_vector_Sl_int_Sg____getitem____SWIG_1(std::vector< int > const *self,std::vector< int >::difference_type i){
5672 return *(swig::cgetpos(self, i));
5673 }
5674SWIGINTERNstatic __attribute__ ((__unused__)) void std_vector_Sl_int_Sg____setitem____SWIG_2(std::vector< int > *self,std::vector< int >::difference_type i,std::vector< int >::value_type const &x){
5675 *(swig::getpos(self,i)) = x;
5676 }
5677SWIGINTERNstatic __attribute__ ((__unused__)) void std_vector_Sl_int_Sg__append(std::vector< int > *self,std::vector< int >::value_type const &x){
5678 self->push_back(x);
5679 }
5680SWIGINTERNstatic __attribute__ ((__unused__)) void GFitsTableCol___setitem____SWIG_0(GFitsTableCol *self,int GFitsTableColInx[],std::string value){
5681 if (dynamic_cast<GFitsTableStringCol*>(self) != NULL__null) {
5682 GFitsTableStringCol* col = dynamic_cast<GFitsTableStringCol*>(self);
5683 if (GFitsTableColInx[0] == 1)
5684 (*col)(GFitsTableColInx[1]) = value;
5685 else
5686 (*col)(GFitsTableColInx[1], GFitsTableColInx[2]) = value;
5687 }
5688 else {
5689 throw GException::bad_type("GFitsTableCol::__setitem__",
5690 "Column type does not support string setting.");
5691 }
5692 }
5693SWIGINTERNstatic __attribute__ ((__unused__)) void GFitsTableCol___setitem____SWIG_1(GFitsTableCol *self,int GFitsTableColInx[],int value){
5694 if (dynamic_cast<GFitsTableBitCol*>(self) != NULL__null) {
5695 GFitsTableBitCol* col = dynamic_cast<GFitsTableBitCol*>(self);
5696 if (GFitsTableColInx[0] == 1)
5697 (*col)(GFitsTableColInx[1]) = (bool)value;
5698 else
5699 (*col)(GFitsTableColInx[1], GFitsTableColInx[2]) = (bool)value;
5700 }
5701 else if (dynamic_cast<GFitsTableBoolCol*>(self) != NULL__null) {
5702 GFitsTableBoolCol* col = dynamic_cast<GFitsTableBoolCol*>(self);
5703 if (GFitsTableColInx[0] == 1)
5704 (*col)(GFitsTableColInx[1]) = (bool)value;
5705 else
5706 (*col)(GFitsTableColInx[1], GFitsTableColInx[2]) = (bool)value;
5707 }
5708 else if (dynamic_cast<GFitsTableByteCol*>(self) != NULL__null) {
5709 GFitsTableByteCol* col = dynamic_cast<GFitsTableByteCol*>(self);
5710 if (GFitsTableColInx[0] == 1)
5711 (*col)(GFitsTableColInx[1]) = (unsigned char)value;
5712 else
5713 (*col)(GFitsTableColInx[1], GFitsTableColInx[2]) = (unsigned char)value;
5714 }
5715 else if (dynamic_cast<GFitsTableLongCol*>(self) != NULL__null) {
5716 GFitsTableLongCol* col = dynamic_cast<GFitsTableLongCol*>(self);
5717 if (GFitsTableColInx[0] == 1)
5718 (*col)(GFitsTableColInx[1]) = (long)value;
5719 else
5720 (*col)(GFitsTableColInx[1], GFitsTableColInx[2]) = (long)value;
5721 }
5722 else if (dynamic_cast<GFitsTableLongLongCol*>(self) != NULL__null) {
5723 GFitsTableLongLongCol* col = dynamic_cast<GFitsTableLongLongCol*>(self);
5724 if (GFitsTableColInx[0] == 1)
5725 (*col)(GFitsTableColInx[1]) = (long long)value;
5726 else
5727 (*col)(GFitsTableColInx[1], GFitsTableColInx[2]) = (long long)value;
5728 }
5729 else if (dynamic_cast<GFitsTableShortCol*>(self) != NULL__null) {
5730 GFitsTableShortCol* col = dynamic_cast<GFitsTableShortCol*>(self);
5731 if (GFitsTableColInx[0] == 1)
5732 (*col)(GFitsTableColInx[1]) = (short)value;
5733 else
5734 (*col)(GFitsTableColInx[1], GFitsTableColInx[2]) = (short)value;
5735 }
5736 else if (dynamic_cast<GFitsTableULongCol*>(self) != NULL__null) {
5737 GFitsTableULongCol* col = dynamic_cast<GFitsTableULongCol*>(self);
5738 if (GFitsTableColInx[0] == 1)
5739 (*col)(GFitsTableColInx[1]) = (unsigned long)value;
5740 else
5741 (*col)(GFitsTableColInx[1], GFitsTableColInx[2]) = (unsigned long)value;
5742 }
5743 else if (dynamic_cast<GFitsTableUShortCol*>(self) != NULL__null) {
5744 GFitsTableUShortCol* col = dynamic_cast<GFitsTableUShortCol*>(self);
5745 if (GFitsTableColInx[0] == 1)
5746 (*col)(GFitsTableColInx[1]) = (unsigned short)value;
5747 else
5748 (*col)(GFitsTableColInx[1], GFitsTableColInx[2]) = (unsigned short)value;
5749 }
5750 else if (dynamic_cast<GFitsTableDoubleCol*>(self) != NULL__null) {
5751 GFitsTableDoubleCol* col = dynamic_cast<GFitsTableDoubleCol*>(self);
5752 if (GFitsTableColInx[0] == 1)
5753 (*col)(GFitsTableColInx[1]) = (double)value;
5754 else
5755 (*col)(GFitsTableColInx[1], GFitsTableColInx[2]) = (double)value;
5756 }
5757 else if (dynamic_cast<GFitsTableFloatCol*>(self) != NULL__null) {
5758 GFitsTableFloatCol* col = dynamic_cast<GFitsTableFloatCol*>(self);
5759 if (GFitsTableColInx[0] == 1)
5760 (*col)(GFitsTableColInx[1]) = (float)value;
5761 else
5762 (*col)(GFitsTableColInx[1], GFitsTableColInx[2]) = (float)value;
5763 }
5764 else {
5765 throw GException::bad_type("GFitsTableCol::__setitem__",
5766 "Column type does not support integer setting.");
5767 }
5768 }
5769SWIGINTERNstatic __attribute__ ((__unused__)) void GFitsTableCol___setitem____SWIG_2(GFitsTableCol *self,int GFitsTableColInx[],double value){
5770 if (dynamic_cast<GFitsTableDoubleCol*>(self) != NULL__null) {
5771 GFitsTableDoubleCol* col = dynamic_cast<GFitsTableDoubleCol*>(self);
5772 if (GFitsTableColInx[0] == 1)
5773 (*col)(GFitsTableColInx[1]) = value;
5774 else
5775 (*col)(GFitsTableColInx[1], GFitsTableColInx[2]) = value;
5776 }
5777 else if (dynamic_cast<GFitsTableFloatCol*>(self) != NULL__null) {
5778 GFitsTableFloatCol* col = dynamic_cast<GFitsTableFloatCol*>(self);
5779 if (GFitsTableColInx[0] == 1)
5780 (*col)(GFitsTableColInx[1]) = (float)value;
5781 else
5782 (*col)(GFitsTableColInx[1], GFitsTableColInx[2]) = (float)value;
5783 }
5784
5785 else {
5786 throw GException::bad_type("GFitsTableCol::__setitem__",
5787 "Column type does not support floating point setting.");
5788 }
5789 }
5790
5791/* Put headers and other declarations here that are needed for compilation */
5792#include "GFitsTableBitCol.hpp"
5793
5794SWIGINTERNstatic __attribute__ ((__unused__)) bool GFitsTableBitCol___getitem__(GFitsTableBitCol *self,int GFitsTableColInx[]){
5795 if (GFitsTableColInx[0] == 1)
5796 return (*self)(GFitsTableColInx[1]);
5797 else
5798 return (*self)(GFitsTableColInx[1], GFitsTableColInx[2]);
5799 }
5800SWIGINTERNstatic __attribute__ ((__unused__)) void GFitsTableBitCol___setitem__(GFitsTableBitCol *self,int GFitsTableColInx[],bool value){
5801 if (GFitsTableColInx[0] == 1)
5802 (*self)(GFitsTableColInx[1]) = value;
5803 else
5804 (*self)(GFitsTableColInx[1], GFitsTableColInx[2]) = value;
5805 }
5806SWIGINTERNstatic __attribute__ ((__unused__)) GFitsTableBitCol GFitsTableBitCol_copy(GFitsTableBitCol *self){
5807 return (*self);
5808 }
5809
5810/* Put headers and other declarations here that are needed for compilation */
5811#include "GFitsTableByteCol.hpp"
5812
5813SWIGINTERNstatic __attribute__ ((__unused__)) unsigned char GFitsTableByteCol___getitem__(GFitsTableByteCol *self,int GFitsTableColInx[]){
5814 if (GFitsTableColInx[0] == 1)
5815 return (*self)(GFitsTableColInx[1]);
5816 else
5817 return (*self)(GFitsTableColInx[1], GFitsTableColInx[2]);
5818 }
5819SWIGINTERNstatic __attribute__ ((__unused__)) void GFitsTableByteCol___setitem__(GFitsTableByteCol *self,int GFitsTableColInx[],unsigned char value){
5820 if (GFitsTableColInx[0] == 1)
5821 (*self)(GFitsTableColInx[1]) = value;
5822 else
5823 (*self)(GFitsTableColInx[1], GFitsTableColInx[2]) = value;
5824 }
5825SWIGINTERNstatic __attribute__ ((__unused__)) GFitsTableByteCol GFitsTableByteCol_copy(GFitsTableByteCol *self){
5826 return (*self);
5827 }
5828
5829/* Put headers and other declarations here that are needed for compilation */
5830#include "GFitsTableBoolCol.hpp"
5831
5832SWIGINTERNstatic __attribute__ ((__unused__)) bool GFitsTableBoolCol___getitem__(GFitsTableBoolCol *self,int GFitsTableColInx[]){
5833 if (GFitsTableColInx[0] == 1)
5834 return (*self)(GFitsTableColInx[1]);
5835 else
5836 return (*self)(GFitsTableColInx[1], GFitsTableColInx[2]);
5837 }
5838SWIGINTERNstatic __attribute__ ((__unused__)) void GFitsTableBoolCol___setitem__(GFitsTableBoolCol *self,int GFitsTableColInx[],bool value){
5839 if (GFitsTableColInx[0] == 1)
5840 (*self)(GFitsTableColInx[1]) = value;
5841 else
5842 (*self)(GFitsTableColInx[1], GFitsTableColInx[2]) = value;
5843 }
5844SWIGINTERNstatic __attribute__ ((__unused__)) GFitsTableBoolCol GFitsTableBoolCol_copy(GFitsTableBoolCol *self){
5845 return (*self);
5846 }
5847
5848/* Put headers and other declarations here that are needed for compilation */
5849#include "GFitsTableStringCol.hpp"
5850
5851
5852SWIGINTERNINLINEstatic __attribute__ ((__unused__)) inline PyObject *
5853SWIG_FromCharPtr(const char *cptr)
5854{
5855 return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0));
5856}
5857
5858SWIGINTERNstatic __attribute__ ((__unused__)) std::string GFitsTableStringCol___getitem__(GFitsTableStringCol *self,int GFitsTableColInx[]){
5859 if (GFitsTableColInx[0] == 1)
5860 return (*self)(GFitsTableColInx[1]);
5861 else
5862 return (*self)(GFitsTableColInx[1], GFitsTableColInx[2]);
5863 }
5864SWIGINTERNstatic __attribute__ ((__unused__)) void GFitsTableStringCol___setitem__(GFitsTableStringCol *self,int GFitsTableColInx[],std::string value){
5865 if (GFitsTableColInx[0] == 1)
5866 (*self)(GFitsTableColInx[1]) = value;
5867 else
5868 (*self)(GFitsTableColInx[1], GFitsTableColInx[2]) = value;
5869 }
5870SWIGINTERNstatic __attribute__ ((__unused__)) GFitsTableStringCol GFitsTableStringCol_copy(GFitsTableStringCol *self){
5871 return (*self);
5872 }
5873
5874/* Put headers and other declarations here that are needed for compilation */
5875#include "GFitsTableUShortCol.hpp"
5876
5877SWIGINTERNstatic __attribute__ ((__unused__)) unsigned short GFitsTableUShortCol___getitem__(GFitsTableUShortCol *self,int GFitsTableColInx[]){
5878 if (GFitsTableColInx[0] == 1)
5879 return (*self)(GFitsTableColInx[1]);
5880 else
5881 return (*self)(GFitsTableColInx[1], GFitsTableColInx[2]);
5882 }
5883SWIGINTERNstatic __attribute__ ((__unused__)) void GFitsTableUShortCol___setitem__(GFitsTableUShortCol *self,int GFitsTableColInx[],unsigned short value){
5884 if (GFitsTableColInx[0] == 1)
5885 (*self)(GFitsTableColInx[1]) = value;
5886 else
5887 (*self)(GFitsTableColInx[1], GFitsTableColInx[2]) = value;
5888 }
5889SWIGINTERNstatic __attribute__ ((__unused__)) GFitsTableUShortCol GFitsTableUShortCol_copy(GFitsTableUShortCol *self){
5890 return (*self);
5891 }
5892
5893/* Put headers and other declarations here that are needed for compilation */
5894#include "GFitsTableShortCol.hpp"
5895
5896SWIGINTERNstatic __attribute__ ((__unused__)) short GFitsTableShortCol___getitem__(GFitsTableShortCol *self,int GFitsTableColInx[]){
5897 if (GFitsTableColInx[0] == 1)
5898 return (*self)(GFitsTableColInx[1]);
5899 else
5900 return (*self)(GFitsTableColInx[1], GFitsTableColInx[2]);
5901 }
5902SWIGINTERNstatic __attribute__ ((__unused__)) void GFitsTableShortCol___setitem__(GFitsTableShortCol *self,int GFitsTableColInx[],short value){
5903 if (GFitsTableColInx[0] == 1)
5904 (*self)(GFitsTableColInx[1]) = value;
5905 else
5906 (*self)(GFitsTableColInx[1], GFitsTableColInx[2]) = value;
5907 }
5908SWIGINTERNstatic __attribute__ ((__unused__)) GFitsTableShortCol GFitsTableShortCol_copy(GFitsTableShortCol *self){
5909 return (*self);
5910 }
5911
5912/* Put headers and other declarations here that are needed for compilation */
5913#include "GFitsTableULongCol.hpp"
5914
5915SWIGINTERNstatic __attribute__ ((__unused__)) unsigned long GFitsTableULongCol___getitem__(GFitsTableULongCol *self,int GFitsTableColInx[]){
5916 if (GFitsTableColInx[0] == 1)
5917 return (*self)(GFitsTableColInx[1]);
5918 else
5919 return (*self)(GFitsTableColInx[1], GFitsTableColInx[2]);
5920 }
5921SWIGINTERNstatic __attribute__ ((__unused__)) void GFitsTableULongCol___setitem__(GFitsTableULongCol *self,int GFitsTableColInx[],unsigned long value){
5922 if (GFitsTableColInx[0] == 1)
5923 (*self)(GFitsTableColInx[1]) = value;
5924 else
5925 (*self)(GFitsTableColInx[1], GFitsTableColInx[2]) = value;
5926 }
5927SWIGINTERNstatic __attribute__ ((__unused__)) GFitsTableULongCol GFitsTableULongCol_copy(GFitsTableULongCol *self){
5928 return (*self);
5929 }
5930
5931/* Put headers and other declarations here that are needed for compilation */
5932#include "GFitsTableLongCol.hpp"
5933
5934SWIGINTERNstatic __attribute__ ((__unused__)) long GFitsTableLongCol___getitem__(GFitsTableLongCol *self,int GFitsTableColInx[]){
5935 if (GFitsTableColInx[0] == 1)
5936 return (*self)(GFitsTableColInx[1]);
5937 else
5938 return (*self)(GFitsTableColInx[1], GFitsTableColInx[2]);
5939 }
5940SWIGINTERNstatic __attribute__ ((__unused__)) void GFitsTableLongCol___setitem__(GFitsTableLongCol *self,int GFitsTableColInx[],long value){
5941 if (GFitsTableColInx[0] == 1)
5942 (*self)(GFitsTableColInx[1]) = value;
5943 else
5944 (*self)(GFitsTableColInx[1], GFitsTableColInx[2]) = value;
5945 }
5946SWIGINTERNstatic __attribute__ ((__unused__)) GFitsTableLongCol GFitsTableLongCol_copy(GFitsTableLongCol *self){
5947 return (*self);
5948 }
5949
5950/* Put headers and other declarations here that are needed for compilation */
5951#include "GFitsTableLongLongCol.hpp"
5952
5953SWIGINTERNstatic __attribute__ ((__unused__)) long long GFitsTableLongLongCol___getitem__(GFitsTableLongLongCol *self,int GFitsTableColInx[]){
5954 if (GFitsTableColInx[0] == 1)
5955 return (*self)(GFitsTableColInx[1]);
5956 else
5957 return (*self)(GFitsTableColInx[1], GFitsTableColInx[2]);
5958 }
5959SWIGINTERNstatic __attribute__ ((__unused__)) void GFitsTableLongLongCol___setitem__(GFitsTableLongLongCol *self,int GFitsTableColInx[],long long value){
5960 if (GFitsTableColInx[0] == 1)
5961 (*self)(GFitsTableColInx[1]) = value;
5962 else
5963 (*self)(GFitsTableColInx[1], GFitsTableColInx[2]) = value;
5964 }
5965SWIGINTERNstatic __attribute__ ((__unused__)) GFitsTableLongLongCol GFitsTableLongLongCol_copy(GFitsTableLongLongCol *self){
5966 return (*self);
5967 }
5968
5969/* Put headers and other declarations here that are needed for compilation */
5970#include "GFitsTableFloatCol.hpp"
5971
5972SWIGINTERNstatic __attribute__ ((__unused__)) float GFitsTableFloatCol___getitem__(GFitsTableFloatCol *self,int GFitsTableColInx[]){
5973 if (GFitsTableColInx[0] == 1)
5974 return (*self)(GFitsTableColInx[1]);
5975 else
5976 return (*self)(GFitsTableColInx[1], GFitsTableColInx[2]);
5977 }
5978SWIGINTERNstatic __attribute__ ((__unused__)) void GFitsTableFloatCol___setitem__(GFitsTableFloatCol *self,int GFitsTableColInx[],float value){
5979 if (GFitsTableColInx[0] == 1)
5980 (*self)(GFitsTableColInx[1]) = value;
5981 else
5982 (*self)(GFitsTableColInx[1], GFitsTableColInx[2]) = value;
5983 }
5984SWIGINTERNstatic __attribute__ ((__unused__)) GFitsTableFloatCol GFitsTableFloatCol_copy(GFitsTableFloatCol *self){
5985 return (*self);
5986 }
5987
5988/* Put headers and other declarations here that are needed for compilation */
5989#include "GFitsTableDoubleCol.hpp"
5990
5991SWIGINTERNstatic __attribute__ ((__unused__)) double GFitsTableDoubleCol___getitem__(GFitsTableDoubleCol *self,int GFitsTableColInx[]){
5992 if (GFitsTableColInx[0] == 1)
5993 return (*self)(GFitsTableColInx[1]);
5994 else
5995 return (*self)(GFitsTableColInx[1], GFitsTableColInx[2]);
5996 }
5997SWIGINTERNstatic __attribute__ ((__unused__)) void GFitsTableDoubleCol___setitem__(GFitsTableDoubleCol *self,int GFitsTableColInx[],double value){
5998 if (GFitsTableColInx[0] == 1)
5999 (*self)(GFitsTableColInx[1]) = value;
6000 else
6001 (*self)(GFitsTableColInx[1], GFitsTableColInx[2]) = value;
6002 }
6003SWIGINTERNstatic __attribute__ ((__unused__)) GFitsTableDoubleCol GFitsTableDoubleCol_copy(GFitsTableDoubleCol *self){
6004 return (*self);
6005 }
6006
6007/* Put headers and other declarations here that are needed for compilation */
6008#include "GFitsTableCFloatCol.hpp"
6009
6010SWIGINTERNstatic __attribute__ ((__unused__)) void GFitsTableCFloatCol___setitem__(GFitsTableCFloatCol *self,int GFitsTableColInx[],GFits::cfloat value){
6011 if (GFitsTableColInx[0] == 1)
6012 (*self)(GFitsTableColInx[1]) = value;
6013 else
6014 (*self)(GFitsTableColInx[1], GFitsTableColInx[2]) = value;
6015 }
6016SWIGINTERNstatic __attribute__ ((__unused__)) GFitsTableCFloatCol GFitsTableCFloatCol_copy(GFitsTableCFloatCol *self){
6017 return (*self);
6018 }
6019
6020/* Put headers and other declarations here that are needed for compilation */
6021#include "GFitsTableCDoubleCol.hpp"
6022
6023SWIGINTERNstatic __attribute__ ((__unused__)) void GFitsTableCDoubleCol___setitem__(GFitsTableCDoubleCol *self,int GFitsTableColInx[],GFits::cdouble value){
6024 if (GFitsTableColInx[0] == 1)
6025 (*self)(GFitsTableColInx[1]) = value;
6026 else
6027 (*self)(GFitsTableColInx[1], GFitsTableColInx[2]) = value;
6028 }
6029SWIGINTERNstatic __attribute__ ((__unused__)) GFitsTableCDoubleCol GFitsTableCDoubleCol_copy(GFitsTableCDoubleCol *self){
6030 return (*self);
6031 }
6032#ifdef __cplusplus199711L
6033extern "C" {
6034#endif
6035SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_SwigPyIterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6036 PyObject *resultobj = 0;
6037 swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
6038 void *argp1 = 0 ;
6039 int res1 = 0 ;
6040 PyObject * obj0 = 0 ;
6041
6042 if (!PyArg_ParseTuple(args,(char *)"O:delete_SwigPyIterator",&obj0)) SWIG_failgoto fail;
6043 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[52]
, 0x1 | 0, 0)
;
6044 if (!SWIG_IsOK(res1)(res1 >= 0)) {
6045 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)
;
6046 }
6047 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
6048 delete arg1;
6049 resultobj = SWIG_Py_Void();
6050 return resultobj;
6051fail:
6052 return NULL__null;
6053}
6054
6055
6056SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6057 PyObject *resultobj = 0;
6058 swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
6059 void *argp1 = 0 ;
6060 int res1 = 0 ;
6061 PyObject * obj0 = 0 ;
6062 PyObject *result = 0 ;
6063
6064 if (!PyArg_ParseTuple(args,(char *)"O:SwigPyIterator_value",&obj0)) SWIG_failgoto fail;
6065 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[52]
, 0 | 0, 0)
;
6066 if (!SWIG_IsOK(res1)(res1 >= 0)) {
6067 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)
;
6068 }
6069 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
6070 try {
6071 result = (PyObject *)((swig::SwigPyIterator const *)arg1)->value();
6072 }
6073 catch(swig::stop_iteration &_e) {
6074 {
6075 (void)_e;
6076 SWIG_SetErrorObjSWIG_Python_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
6077 SWIG_failgoto fail;
6078 }
6079 }
6080
6081 resultobj = result;
6082 return resultobj;
6083fail:
6084 return NULL__null;
6085}
6086
6087
6088SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator_incr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6089 PyObject *resultobj = 0;
6090 swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
6091 size_t arg2 ;
6092 void *argp1 = 0 ;
6093 int res1 = 0 ;
6094 size_t val2 ;
6095 int ecode2 = 0 ;
6096 PyObject * obj0 = 0 ;
6097 PyObject * obj1 = 0 ;
6098 swig::SwigPyIterator *result = 0 ;
6099
6100 if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator_incr",&obj0,&obj1)) SWIG_failgoto fail;
6101 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[52]
, 0 | 0, 0)
;
6102 if (!SWIG_IsOK(res1)(res1 >= 0)) {
6103 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)
;
6104 }
6105 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
6106 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6107 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
6108 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)
;
6109 }
6110 arg2 = static_cast< size_t >(val2);
6111 try {
6112 result = (swig::SwigPyIterator *)(arg1)->incr(arg2);
6113 }
6114 catch(swig::stop_iteration &_e) {
6115 {
6116 (void)_e;
6117 SWIG_SetErrorObjSWIG_Python_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
6118 SWIG_failgoto fail;
6119 }
6120 }
6121
6122 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[52], 0
| 0)
;
6123 return resultobj;
6124fail:
6125 return NULL__null;
6126}
6127
6128
6129SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator_incr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6130 PyObject *resultobj = 0;
6131 swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
6132 void *argp1 = 0 ;
6133 int res1 = 0 ;
6134 PyObject * obj0 = 0 ;
6135 swig::SwigPyIterator *result = 0 ;
6136
6137 if (!PyArg_ParseTuple(args,(char *)"O:SwigPyIterator_incr",&obj0)) SWIG_failgoto fail;
6138 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[52]
, 0 | 0, 0)
;
6139 if (!SWIG_IsOK(res1)(res1 >= 0)) {
6140 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)
;
6141 }
6142 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
6143 try {
6144 result = (swig::SwigPyIterator *)(arg1)->incr();
6145 }
6146 catch(swig::stop_iteration &_e) {
6147 {
6148 (void)_e;
6149 SWIG_SetErrorObjSWIG_Python_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
6150 SWIG_failgoto fail;
6151 }
6152 }
6153
6154 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[52], 0
| 0)
;
6155 return resultobj;
6156fail:
6157 return NULL__null;
6158}
6159
6160
6161SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator_incr(PyObject *self, PyObject *args) {
6162 int argc;
6163 PyObject *argv[3];
6164 int ii;
6165
6166 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
6167 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
6168 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
6169 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
6170 }
6171 if (argc == 1) {
6172 int _v;
6173 void *vptr = 0;
6174 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_swig__SwigPyIterator, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[52
], 0, 0)
;
6175 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
6176 if (_v) {
6177 return _wrap_SwigPyIterator_incr__SWIG_1(self, args);
6178 }
6179 }
6180 if (argc == 2) {
6181 int _v;
6182 void *vptr = 0;
6183 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_swig__SwigPyIterator, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[52
], 0, 0)
;
6184 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
6185 if (_v) {
6186 {
6187 int res = SWIG_AsVal_size_t(argv[1], NULL__null);
6188 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
6189 }
6190 if (_v) {
6191 return _wrap_SwigPyIterator_incr__SWIG_0(self, args);
6192 }
6193 }
6194 }
6195
6196fail:
6197 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'SwigPyIterator_incr'.\n"
6198 " Possible C/C++ prototypes are:\n"
6199 " swig::SwigPyIterator::incr(size_t)\n"
6200 " swig::SwigPyIterator::incr()\n");
6201 return 0;
6202}
6203
6204
6205SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator_decr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6206 PyObject *resultobj = 0;
6207 swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
6208 size_t arg2 ;
6209 void *argp1 = 0 ;
6210 int res1 = 0 ;
6211 size_t val2 ;
6212 int ecode2 = 0 ;
6213 PyObject * obj0 = 0 ;
6214 PyObject * obj1 = 0 ;
6215 swig::SwigPyIterator *result = 0 ;
6216
6217 if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator_decr",&obj0,&obj1)) SWIG_failgoto fail;
6218 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[52]
, 0 | 0, 0)
;
6219 if (!SWIG_IsOK(res1)(res1 >= 0)) {
6220 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)
;
6221 }
6222 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
6223 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6224 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
6225 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)
;
6226 }
6227 arg2 = static_cast< size_t >(val2);
6228 try {
6229 result = (swig::SwigPyIterator *)(arg1)->decr(arg2);
6230 }
6231 catch(swig::stop_iteration &_e) {
6232 {
6233 (void)_e;
6234 SWIG_SetErrorObjSWIG_Python_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
6235 SWIG_failgoto fail;
6236 }
6237 }
6238
6239 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[52], 0
| 0)
;
6240 return resultobj;
6241fail:
6242 return NULL__null;
6243}
6244
6245
6246SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator_decr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6247 PyObject *resultobj = 0;
6248 swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
6249 void *argp1 = 0 ;
6250 int res1 = 0 ;
6251 PyObject * obj0 = 0 ;
6252 swig::SwigPyIterator *result = 0 ;
6253
6254 if (!PyArg_ParseTuple(args,(char *)"O:SwigPyIterator_decr",&obj0)) SWIG_failgoto fail;
6255 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[52]
, 0 | 0, 0)
;
6256 if (!SWIG_IsOK(res1)(res1 >= 0)) {
6257 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)
;
6258 }
6259 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
6260 try {
6261 result = (swig::SwigPyIterator *)(arg1)->decr();
6262 }
6263 catch(swig::stop_iteration &_e) {
6264 {
6265 (void)_e;
6266 SWIG_SetErrorObjSWIG_Python_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
6267 SWIG_failgoto fail;
6268 }
6269 }
6270
6271 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[52], 0
| 0)
;
6272 return resultobj;
6273fail:
6274 return NULL__null;
6275}
6276
6277
6278SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator_decr(PyObject *self, PyObject *args) {
6279 int argc;
6280 PyObject *argv[3];
6281 int ii;
6282
6283 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
6284 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
6285 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
6286 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
6287 }
6288 if (argc == 1) {
6289 int _v;
6290 void *vptr = 0;
6291 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_swig__SwigPyIterator, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[52
], 0, 0)
;
6292 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
6293 if (_v) {
6294 return _wrap_SwigPyIterator_decr__SWIG_1(self, args);
6295 }
6296 }
6297 if (argc == 2) {
6298 int _v;
6299 void *vptr = 0;
6300 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_swig__SwigPyIterator, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[52
], 0, 0)
;
6301 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
6302 if (_v) {
6303 {
6304 int res = SWIG_AsVal_size_t(argv[1], NULL__null);
6305 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
6306 }
6307 if (_v) {
6308 return _wrap_SwigPyIterator_decr__SWIG_0(self, args);
6309 }
6310 }
6311 }
6312
6313fail:
6314 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'SwigPyIterator_decr'.\n"
6315 " Possible C/C++ prototypes are:\n"
6316 " swig::SwigPyIterator::decr(size_t)\n"
6317 " swig::SwigPyIterator::decr()\n");
6318 return 0;
6319}
6320
6321
6322SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator_distance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6323 PyObject *resultobj = 0;
6324 swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
6325 swig::SwigPyIterator *arg2 = 0 ;
6326 void *argp1 = 0 ;
6327 int res1 = 0 ;
6328 void *argp2 = 0 ;
6329 int res2 = 0 ;
6330 PyObject * obj0 = 0 ;
6331 PyObject * obj1 = 0 ;
6332 ptrdiff_t result;
6333
6334 if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator_distance",&obj0,&obj1)) SWIG_failgoto fail;
6335 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[52]
, 0 | 0, 0)
;
6336 if (!SWIG_IsOK(res1)(res1 >= 0)) {
6337 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)
;
6338 }
6339 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
6340 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_swig__SwigPyIterator, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[52]
, 0 | 0, 0)
;
6341 if (!SWIG_IsOK(res2)(res2 >= 0)) {
6342 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)
;
6343 }
6344 if (!argp2) {
6345 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
)
;
6346 }
6347 arg2 = reinterpret_cast< swig::SwigPyIterator * >(argp2);
6348 try {
6349 result = ((swig::SwigPyIterator const *)arg1)->distance((swig::SwigPyIterator const &)*arg2);
6350 }
6351 catch(std::invalid_argument &_e) {
6352 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[
48]), SWIG_Python_NewPointerObj(__null, (new std::invalid_argument
(static_cast< const std::invalid_argument& >(_e))),
swig_types[48], 0x1))
; SWIG_failgoto fail;
6353 }
6354
6355 resultobj = SWIG_From_ptrdiff_t(static_cast< ptrdiff_t >(result));
6356 return resultobj;
6357fail:
6358 return NULL__null;
6359}
6360
6361
6362SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator_equal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6363 PyObject *resultobj = 0;
6364 swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
6365 swig::SwigPyIterator *arg2 = 0 ;
6366 void *argp1 = 0 ;
6367 int res1 = 0 ;
6368 void *argp2 = 0 ;
6369 int res2 = 0 ;
6370 PyObject * obj0 = 0 ;
6371 PyObject * obj1 = 0 ;
6372 bool result;
6373
6374 if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator_equal",&obj0,&obj1)) SWIG_failgoto fail;
6375 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[52]
, 0 | 0, 0)
;
6376 if (!SWIG_IsOK(res1)(res1 >= 0)) {
6377 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)
;
6378 }
6379 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
6380 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_swig__SwigPyIterator, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[52]
, 0 | 0, 0)
;
6381 if (!SWIG_IsOK(res2)(res2 >= 0)) {
6382 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)
;
6383 }
6384 if (!argp2) {
6385 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
)
;
6386 }
6387 arg2 = reinterpret_cast< swig::SwigPyIterator * >(argp2);
6388 try {
6389 result = (bool)((swig::SwigPyIterator const *)arg1)->equal((swig::SwigPyIterator const &)*arg2);
6390 }
6391 catch(std::invalid_argument &_e) {
6392 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[
48]), SWIG_Python_NewPointerObj(__null, (new std::invalid_argument
(static_cast< const std::invalid_argument& >(_e))),
swig_types[48], 0x1))
; SWIG_failgoto fail;
6393 }
6394
6395 resultobj = SWIG_From_bool(static_cast< bool >(result));
6396 return resultobj;
6397fail:
6398 return NULL__null;
6399}
6400
6401
6402SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6403 PyObject *resultobj = 0;
6404 swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
6405 void *argp1 = 0 ;
6406 int res1 = 0 ;
6407 PyObject * obj0 = 0 ;
6408 swig::SwigPyIterator *result = 0 ;
6409
6410 if (!PyArg_ParseTuple(args,(char *)"O:SwigPyIterator_copy",&obj0)) SWIG_failgoto fail;
6411 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[52]
, 0 | 0, 0)
;
6412 if (!SWIG_IsOK(res1)(res1 >= 0)) {
6413 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)
;
6414 }
6415 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
6416 result = (swig::SwigPyIterator *)((swig::SwigPyIterator const *)arg1)->copy();
6417 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[52], 0x1
| 0)
;
6418 return resultobj;
6419fail:
6420 return NULL__null;
6421}
6422
6423
6424SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator_next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6425 PyObject *resultobj = 0;
6426 swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
6427 void *argp1 = 0 ;
6428 int res1 = 0 ;
6429 PyObject * obj0 = 0 ;
6430 PyObject *result = 0 ;
6431
6432 if (!PyArg_ParseTuple(args,(char *)"O:SwigPyIterator_next",&obj0)) SWIG_failgoto fail;
6433 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[52]
, 0 | 0, 0)
;
6434 if (!SWIG_IsOK(res1)(res1 >= 0)) {
6435 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)
;
6436 }
6437 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
6438 try {
6439 result = (PyObject *)(arg1)->next();
6440 }
6441 catch(swig::stop_iteration &_e) {
6442 {
6443 (void)_e;
6444 SWIG_SetErrorObjSWIG_Python_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
6445 SWIG_failgoto fail;
6446 }
6447 }
6448
6449 resultobj = result;
6450 return resultobj;
6451fail:
6452 return NULL__null;
6453}
6454
6455
6456SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator___next__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6457 PyObject *resultobj = 0;
6458 swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
6459 void *argp1 = 0 ;
6460 int res1 = 0 ;
6461 PyObject * obj0 = 0 ;
6462 PyObject *result = 0 ;
6463
6464 if (!PyArg_ParseTuple(args,(char *)"O:SwigPyIterator___next__",&obj0)) SWIG_failgoto fail;
6465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[52]
, 0 | 0, 0)
;
6466 if (!SWIG_IsOK(res1)(res1 >= 0)) {
6467 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)
;
6468 }
6469 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
6470 try {
6471 result = (PyObject *)(arg1)->__next__();
6472 }
6473 catch(swig::stop_iteration &_e) {
6474 {
6475 (void)_e;
6476 SWIG_SetErrorObjSWIG_Python_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
6477 SWIG_failgoto fail;
6478 }
6479 }
6480
6481 resultobj = result;
6482 return resultobj;
6483fail:
6484 return NULL__null;
6485}
6486
6487
6488SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator_previous(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6489 PyObject *resultobj = 0;
6490 swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
6491 void *argp1 = 0 ;
6492 int res1 = 0 ;
6493 PyObject * obj0 = 0 ;
6494 PyObject *result = 0 ;
6495
6496 if (!PyArg_ParseTuple(args,(char *)"O:SwigPyIterator_previous",&obj0)) SWIG_failgoto fail;
6497 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[52]
, 0 | 0, 0)
;
6498 if (!SWIG_IsOK(res1)(res1 >= 0)) {
6499 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)
;
6500 }
6501 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
6502 try {
6503 result = (PyObject *)(arg1)->previous();
6504 }
6505 catch(swig::stop_iteration &_e) {
6506 {
6507 (void)_e;
6508 SWIG_SetErrorObjSWIG_Python_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
6509 SWIG_failgoto fail;
6510 }
6511 }
6512
6513 resultobj = result;
6514 return resultobj;
6515fail:
6516 return NULL__null;
6517}
6518
6519
6520SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator_advance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6521 PyObject *resultobj = 0;
6522 swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
6523 ptrdiff_t arg2 ;
6524 void *argp1 = 0 ;
6525 int res1 = 0 ;
6526 ptrdiff_t val2 ;
6527 int ecode2 = 0 ;
6528 PyObject * obj0 = 0 ;
6529 PyObject * obj1 = 0 ;
6530 swig::SwigPyIterator *result = 0 ;
6531
6532 if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator_advance",&obj0,&obj1)) SWIG_failgoto fail;
6533 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[52]
, 0 | 0, 0)
;
6534 if (!SWIG_IsOK(res1)(res1 >= 0)) {
6535 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)
;
6536 }
6537 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
6538 ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
6539 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
6540 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)
;
6541 }
6542 arg2 = static_cast< ptrdiff_t >(val2);
6543 try {
6544 result = (swig::SwigPyIterator *)(arg1)->advance(arg2);
6545 }
6546 catch(swig::stop_iteration &_e) {
6547 {
6548 (void)_e;
6549 SWIG_SetErrorObjSWIG_Python_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
6550 SWIG_failgoto fail;
6551 }
6552 }
6553
6554 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[52], 0
| 0)
;
6555 return resultobj;
6556fail:
6557 return NULL__null;
6558}
6559
6560
6561SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6562 PyObject *resultobj = 0;
6563 swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
6564 swig::SwigPyIterator *arg2 = 0 ;
6565 void *argp1 = 0 ;
6566 int res1 = 0 ;
6567 void *argp2 = 0 ;
6568 int res2 = 0 ;
6569 PyObject * obj0 = 0 ;
6570 PyObject * obj1 = 0 ;
6571 bool result;
6572
6573 if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator___eq__",&obj0,&obj1)) SWIG_failgoto fail;
6574 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[52]
, 0 | 0, 0)
;
6575 if (!SWIG_IsOK(res1)(res1 >= 0)) {
6576 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)
;
6577 }
6578 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
6579 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_swig__SwigPyIterator, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[52]
, 0 | 0, 0)
;
6580 if (!SWIG_IsOK(res2)(res2 >= 0)) {
6581 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)
;
6582 }
6583 if (!argp2) {
6584 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
)
;
6585 }
6586 arg2 = reinterpret_cast< swig::SwigPyIterator * >(argp2);
6587 result = (bool)((swig::SwigPyIterator const *)arg1)->operator ==((swig::SwigPyIterator const &)*arg2);
6588 resultobj = SWIG_From_bool(static_cast< bool >(result));
6589 return resultobj;
6590fail:
6591 return NULL__null;
6592}
6593
6594
6595SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6596 PyObject *resultobj = 0;
6597 swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
6598 swig::SwigPyIterator *arg2 = 0 ;
6599 void *argp1 = 0 ;
6600 int res1 = 0 ;
6601 void *argp2 = 0 ;
6602 int res2 = 0 ;
6603 PyObject * obj0 = 0 ;
6604 PyObject * obj1 = 0 ;
6605 bool result;
6606
6607 if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator___ne__",&obj0,&obj1)) SWIG_failgoto fail;
6608 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[52]
, 0 | 0, 0)
;
6609 if (!SWIG_IsOK(res1)(res1 >= 0)) {
6610 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)
;
6611 }
6612 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
6613 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_swig__SwigPyIterator, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[52]
, 0 | 0, 0)
;
6614 if (!SWIG_IsOK(res2)(res2 >= 0)) {
6615 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)
;
6616 }
6617 if (!argp2) {
6618 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
)
;
6619 }
6620 arg2 = reinterpret_cast< swig::SwigPyIterator * >(argp2);
6621 result = (bool)((swig::SwigPyIterator const *)arg1)->operator !=((swig::SwigPyIterator const &)*arg2);
6622 resultobj = SWIG_From_bool(static_cast< bool >(result));
6623 return resultobj;
6624fail:
6625 return NULL__null;
6626}
6627
6628
6629SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6630 PyObject *resultobj = 0;
6631 swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
6632 ptrdiff_t arg2 ;
6633 void *argp1 = 0 ;
6634 int res1 = 0 ;
6635 ptrdiff_t val2 ;
6636 int ecode2 = 0 ;
6637 PyObject * obj0 = 0 ;
6638 PyObject * obj1 = 0 ;
6639 swig::SwigPyIterator *result = 0 ;
6640
6641 if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator___iadd__",&obj0,&obj1)) SWIG_failgoto fail;
6642 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[52]
, 0x1 | 0, 0)
;
6643 if (!SWIG_IsOK(res1)(res1 >= 0)) {
6644 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)
;
6645 }
6646 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
6647 ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
6648 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
6649 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)
;
6650 }
6651 arg2 = static_cast< ptrdiff_t >(val2);
6652 try {
6653 result = (swig::SwigPyIterator *) &(arg1)->operator +=(arg2);
6654 }
6655 catch(swig::stop_iteration &_e) {
6656 {
6657 (void)_e;
6658 SWIG_SetErrorObjSWIG_Python_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
6659 SWIG_failgoto fail;
6660 }
6661 }
6662
6663 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[52], 0x1
| 0)
;
6664 return resultobj;
6665fail:
6666 return NULL__null;
6667}
6668
6669
6670SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6671 PyObject *resultobj = 0;
6672 swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
6673 ptrdiff_t arg2 ;
6674 void *argp1 = 0 ;
6675 int res1 = 0 ;
6676 ptrdiff_t val2 ;
6677 int ecode2 = 0 ;
6678 PyObject * obj0 = 0 ;
6679 PyObject * obj1 = 0 ;
6680 swig::SwigPyIterator *result = 0 ;
6681
6682 if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator___isub__",&obj0,&obj1)) SWIG_failgoto fail;
6683 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[52]
, 0x1 | 0, 0)
;
6684 if (!SWIG_IsOK(res1)(res1 >= 0)) {
6685 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)
;
6686 }
6687 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
6688 ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
6689 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
6690 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)
;
6691 }
6692 arg2 = static_cast< ptrdiff_t >(val2);
6693 try {
6694 result = (swig::SwigPyIterator *) &(arg1)->operator -=(arg2);
6695 }
6696 catch(swig::stop_iteration &_e) {
6697 {
6698 (void)_e;
6699 SWIG_SetErrorObjSWIG_Python_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
6700 SWIG_failgoto fail;
6701 }
6702 }
6703
6704 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[52], 0x1
| 0)
;
6705 return resultobj;
6706fail:
6707 return NULL__null;
6708}
6709
6710
6711SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6712 PyObject *resultobj = 0;
6713 swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
6714 ptrdiff_t arg2 ;
6715 void *argp1 = 0 ;
6716 int res1 = 0 ;
6717 ptrdiff_t val2 ;
6718 int ecode2 = 0 ;
6719 PyObject * obj0 = 0 ;
6720 PyObject * obj1 = 0 ;
6721 swig::SwigPyIterator *result = 0 ;
6722
6723 if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator___add__",&obj0,&obj1)) SWIG_failgoto fail;
6724 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[52]
, 0 | 0, 0)
;
6725 if (!SWIG_IsOK(res1)(res1 >= 0)) {
6726 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)
;
6727 }
6728 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
6729 ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
6730 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
6731 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)
;
6732 }
6733 arg2 = static_cast< ptrdiff_t >(val2);
6734 try {
6735 result = (swig::SwigPyIterator *)((swig::SwigPyIterator const *)arg1)->operator +(arg2);
6736 }
6737 catch(swig::stop_iteration &_e) {
6738 {
6739 (void)_e;
6740 SWIG_SetErrorObjSWIG_Python_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
6741 SWIG_failgoto fail;
6742 }
6743 }
6744
6745 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[52], 0x1
| 0)
;
6746 return resultobj;
6747fail:
6748 return NULL__null;
6749}
6750
6751
6752SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator___sub____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6753 PyObject *resultobj = 0;
6754 swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
6755 ptrdiff_t arg2 ;
6756 void *argp1 = 0 ;
6757 int res1 = 0 ;
6758 ptrdiff_t val2 ;
6759 int ecode2 = 0 ;
6760 PyObject * obj0 = 0 ;
6761 PyObject * obj1 = 0 ;
6762 swig::SwigPyIterator *result = 0 ;
6763
6764 if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator___sub__",&obj0,&obj1)) SWIG_failgoto fail;
6765 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[52]
, 0 | 0, 0)
;
6766 if (!SWIG_IsOK(res1)(res1 >= 0)) {
6767 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)
;
6768 }
6769 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
6770 ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
6771 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
6772 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)
;
6773 }
6774 arg2 = static_cast< ptrdiff_t >(val2);
6775 try {
6776 result = (swig::SwigPyIterator *)((swig::SwigPyIterator const *)arg1)->operator -(arg2);
6777 }
6778 catch(swig::stop_iteration &_e) {
6779 {
6780 (void)_e;
6781 SWIG_SetErrorObjSWIG_Python_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
6782 SWIG_failgoto fail;
6783 }
6784 }
6785
6786 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[52], 0x1
| 0)
;
6787 return resultobj;
6788fail:
6789 return NULL__null;
6790}
6791
6792
6793SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator___sub____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6794 PyObject *resultobj = 0;
6795 swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
6796 swig::SwigPyIterator *arg2 = 0 ;
6797 void *argp1 = 0 ;
6798 int res1 = 0 ;
6799 void *argp2 = 0 ;
6800 int res2 = 0 ;
6801 PyObject * obj0 = 0 ;
6802 PyObject * obj1 = 0 ;
6803 ptrdiff_t result;
6804
6805 if (!PyArg_ParseTuple(args,(char *)"OO:SwigPyIterator___sub__",&obj0,&obj1)) SWIG_failgoto fail;
6806 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[52]
, 0 | 0, 0)
;
6807 if (!SWIG_IsOK(res1)(res1 >= 0)) {
6808 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)
;
6809 }
6810 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
6811 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_swig__SwigPyIterator, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[52]
, 0 | 0, 0)
;
6812 if (!SWIG_IsOK(res2)(res2 >= 0)) {
6813 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)
;
6814 }
6815 if (!argp2) {
6816 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
)
;
6817 }
6818 arg2 = reinterpret_cast< swig::SwigPyIterator * >(argp2);
6819 result = ((swig::SwigPyIterator const *)arg1)->operator -((swig::SwigPyIterator const &)*arg2);
6820 resultobj = SWIG_From_ptrdiff_t(static_cast< ptrdiff_t >(result));
6821 return resultobj;
6822fail:
6823 return NULL__null;
6824}
6825
6826
6827SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_SwigPyIterator___sub__(PyObject *self, PyObject *args) {
6828 int argc;
6829 PyObject *argv[3];
6830 int ii;
6831
6832 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
6833 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
6834 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
6835 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
6836 }
6837 if (argc == 2) {
6838 int _v;
6839 void *vptr = 0;
6840 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_swig__SwigPyIterator, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[52
], 0, 0)
;
6841 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
6842 if (_v) {
6843 int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_swig__SwigPyIterator, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], 0, swig_types[52], 0, 0
)
;
6844 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
6845 if (_v) {
6846 return _wrap_SwigPyIterator___sub____SWIG_1(self, args);
6847 }
6848 }
6849 }
6850 if (argc == 2) {
6851 int _v;
6852 void *vptr = 0;
6853 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_swig__SwigPyIterator, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[52
], 0, 0)
;
6854 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
6855 if (_v) {
6856 {
6857 int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL__null);
6858 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
6859 }
6860 if (_v) {
6861 return _wrap_SwigPyIterator___sub____SWIG_0(self, args);
6862 }
6863 }
6864 }
6865
6866fail:
6867 Py_INCREF(Py_NotImplemented)( ((PyObject*)((&_Py_NotImplementedStruct)))->ob_refcnt
++)
;
6868 return Py_NotImplemented(&_Py_NotImplementedStruct);
6869}
6870
6871
6872SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *SwigPyIterator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6873 PyObject *obj;
6874 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
6875 SWIG_TypeNewClientData(SWIGTYPE_p_swig__SwigPyIteratorswig_types[52], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
6876 return SWIG_Py_Void();
6877}
6878
6879SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFits__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6880 PyObject *resultobj = 0;
6881 GFits *result = 0 ;
6882
6883 if (!PyArg_ParseTuple(args,(char *)":new_GFits")) SWIG_failgoto fail;
6884 {
6885 try {
6886 result = (GFits *)new GFits();
6887 }
6888 catch (const GException::out_of_range& e) {
6889 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
6890 }
6891 catch (const GExceptionHandler& e) {
6892 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6893 }
6894 catch (const std::exception& e) {
6895 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6896 }
6897 }
6898 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFits, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[2], ((
0x1 << 1) | 0x1) | 0)
;
6899 return resultobj;
6900fail:
6901 return NULL__null;
6902}
6903
6904
6905SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFits__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6906 PyObject *resultobj = 0;
6907 std::string *arg1 = 0 ;
6908 bool *arg2 = 0 ;
6909 int res1 = SWIG_OLDOBJ((0)) ;
6910 bool temp2 ;
6911 bool val2 ;
6912 int ecode2 = 0 ;
6913 PyObject * obj0 = 0 ;
6914 PyObject * obj1 = 0 ;
6915 GFits *result = 0 ;
6916
6917 if (!PyArg_ParseTuple(args,(char *)"OO:new_GFits",&obj0,&obj1)) SWIG_failgoto fail;
6918 {
6919 std::string *ptr = (std::string *)0;
6920 res1 = SWIG_AsPtr_std_string(obj0, &ptr);
6921 if (!SWIG_IsOK(res1)(res1 >= 0)) {
6922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFits" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFits" "', argument " "1"
" of type '" "std::string const &""'"); goto fail; } while
(0)
;
6923 }
6924 if (!ptr) {
6925 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFits" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFits" "', argument " "1"" of type '" "std::string const &"
"'"); goto fail; } while(0)
;
6926 }
6927 arg1 = ptr;
6928 }
6929 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6930 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
6931 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFits" "', argument " "2"" of type '" "bool""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFits" "', argument "
"2"" of type '" "bool""'"); goto fail; } while(0)
;
6932 }
6933 temp2 = static_cast< bool >(val2);
6934 arg2 = &temp2;
6935 {
6936 try {
6937 result = (GFits *)new GFits((std::string const &)*arg1,(bool const &)*arg2);
6938 }
6939 catch (const GException::out_of_range& e) {
6940 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
6941 }
6942 catch (const GExceptionHandler& e) {
6943 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6944 }
6945 catch (const std::exception& e) {
6946 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6947 }
6948 }
6949 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFits, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[2], ((
0x1 << 1) | 0x1) | 0)
;
6950 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
6951 return resultobj;
6952fail:
6953 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
6954 return NULL__null;
6955}
6956
6957
6958SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFits__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6959 PyObject *resultobj = 0;
6960 std::string *arg1 = 0 ;
6961 int res1 = SWIG_OLDOBJ((0)) ;
6962 PyObject * obj0 = 0 ;
6963 GFits *result = 0 ;
6964
6965 if (!PyArg_ParseTuple(args,(char *)"O:new_GFits",&obj0)) SWIG_failgoto fail;
6966 {
6967 std::string *ptr = (std::string *)0;
6968 res1 = SWIG_AsPtr_std_string(obj0, &ptr);
6969 if (!SWIG_IsOK(res1)(res1 >= 0)) {
6970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFits" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFits" "', argument " "1"
" of type '" "std::string const &""'"); goto fail; } while
(0)
;
6971 }
6972 if (!ptr) {
6973 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFits" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFits" "', argument " "1"" of type '" "std::string const &"
"'"); goto fail; } while(0)
;
6974 }
6975 arg1 = ptr;
6976 }
6977 {
6978 try {
6979 result = (GFits *)new GFits((std::string const &)*arg1);
6980 }
6981 catch (const GException::out_of_range& e) {
6982 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
6983 }
6984 catch (const GExceptionHandler& e) {
6985 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6986 }
6987 catch (const std::exception& e) {
6988 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
6989 }
6990 }
6991 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFits, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[2], ((
0x1 << 1) | 0x1) | 0)
;
6992 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
6993 return resultobj;
6994fail:
6995 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
6996 return NULL__null;
6997}
6998
6999
7000SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFits__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7001 PyObject *resultobj = 0;
7002 GFits *arg1 = 0 ;
7003 void *argp1 = 0 ;
7004 int res1 = 0 ;
7005 PyObject * obj0 = 0 ;
7006 GFits *result = 0 ;
7007
7008 if (!PyArg_ParseTuple(args,(char *)"O:new_GFits",&obj0)) SWIG_failgoto fail;
7009 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GFits, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
7010 if (!SWIG_IsOK(res1)(res1 >= 0)) {
7011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFits" "', argument " "1"" of type '" "GFits const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFits" "', argument " "1"
" of type '" "GFits const &""'"); goto fail; } while(0)
;
7012 }
7013 if (!argp1) {
7014 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFits" "', argument " "1"" of type '" "GFits const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFits" "', argument " "1"" of type '" "GFits const &"
"'"); goto fail; } while(0)
;
7015 }
7016 arg1 = reinterpret_cast< GFits * >(argp1);
7017 {
7018 try {
7019 result = (GFits *)new GFits((GFits const &)*arg1);
7020 }
7021 catch (const GException::out_of_range& e) {
7022 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
7023 }
7024 catch (const GExceptionHandler& e) {
7025 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7026 }
7027 catch (const std::exception& e) {
7028 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7029 }
7030 }
7031 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFits, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[2], ((
0x1 << 1) | 0x1) | 0)
;
7032 return resultobj;
7033fail:
7034 return NULL__null;
7035}
7036
7037
7038SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFits(PyObject *self, PyObject *args) {
7039 int argc;
7040 PyObject *argv[3];
7041 int ii;
7042
7043 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
7044 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
7045 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
7046 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
7047 }
7048 if (argc == 0) {
7049 return _wrap_new_GFits__SWIG_0(self, args);
7050 }
7051 if (argc == 1) {
7052 int _v;
7053 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GFits, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[2], 0, 0);
7054 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7055 if (_v) {
7056 return _wrap_new_GFits__SWIG_3(self, args);
7057 }
7058 }
7059 if (argc == 1) {
7060 int _v;
7061 int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
7062 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7063 if (_v) {
7064 return _wrap_new_GFits__SWIG_2(self, args);
7065 }
7066 }
7067 if (argc == 2) {
7068 int _v;
7069 int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
7070 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7071 if (_v) {
7072 {
7073 int res = SWIG_AsVal_bool(argv[1], NULL__null);
7074 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7075 }
7076 if (_v) {
7077 return _wrap_new_GFits__SWIG_1(self, args);
7078 }
7079 }
7080 }
7081
7082fail:
7083 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GFits'.\n"
7084 " Possible C/C++ prototypes are:\n"
7085 " GFits::GFits()\n"
7086 " GFits::GFits(std::string const &,bool const &)\n"
7087 " GFits::GFits(std::string const &)\n"
7088 " GFits::GFits(GFits const &)\n");
7089 return 0;
7090}
7091
7092
7093SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GFits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7094 PyObject *resultobj = 0;
7095 GFits *arg1 = (GFits *) 0 ;
7096 void *argp1 = 0 ;
7097 int res1 = 0 ;
7098 PyObject * obj0 = 0 ;
7099
7100 if (!PyArg_ParseTuple(args,(char *)"O:delete_GFits",&obj0)) SWIG_failgoto fail;
7101 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFits, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0x1 | 0, 0)
;
7102 if (!SWIG_IsOK(res1)(res1 >= 0)) {
7103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GFits" "', argument " "1"" of type '" "GFits *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GFits" "', argument "
"1"" of type '" "GFits *""'"); goto fail; } while(0)
;
7104 }
7105 arg1 = reinterpret_cast< GFits * >(argp1);
7106 {
7107 try {
7108 delete arg1;
7109 }
7110 catch (const GException::out_of_range& e) {
7111 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
7112 }
7113 catch (const GExceptionHandler& e) {
7114 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7115 }
7116 catch (const std::exception& e) {
7117 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7118 }
7119 }
7120 resultobj = SWIG_Py_Void();
7121 return resultobj;
7122fail:
7123 return NULL__null;
7124}
7125
7126
7127SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7128 PyObject *resultobj = 0;
7129 GFits *arg1 = (GFits *) 0 ;
7130 void *argp1 = 0 ;
7131 int res1 = 0 ;
7132 PyObject * obj0 = 0 ;
7133
7134 if (!PyArg_ParseTuple(args,(char *)"O:GFits_clear",&obj0)) SWIG_failgoto fail;
7135 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFits, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
7136 if (!SWIG_IsOK(res1)(res1 >= 0)) {
7137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFits_clear" "', argument " "1"" of type '" "GFits *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFits_clear" "', argument "
"1"" of type '" "GFits *""'"); goto fail; } while(0)
;
7138 }
7139 arg1 = reinterpret_cast< GFits * >(argp1);
7140 {
7141 try {
7142 (arg1)->clear();
7143 }
7144 catch (const GException::out_of_range& e) {
7145 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
7146 }
7147 catch (const GExceptionHandler& e) {
7148 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7149 }
7150 catch (const std::exception& e) {
7151 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7152 }
7153 }
7154 resultobj = SWIG_Py_Void();
7155 return resultobj;
7156fail:
7157 return NULL__null;
7158}
7159
7160
7161SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7162 PyObject *resultobj = 0;
7163 GFits *arg1 = (GFits *) 0 ;
7164 void *argp1 = 0 ;
7165 int res1 = 0 ;
7166 PyObject * obj0 = 0 ;
7167 GFits *result = 0 ;
7168
7169 if (!PyArg_ParseTuple(args,(char *)"O:GFits_clone",&obj0)) SWIG_failgoto fail;
7170 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFits, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
7171 if (!SWIG_IsOK(res1)(res1 >= 0)) {
7172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFits_clone" "', argument " "1"" of type '" "GFits const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFits_clone" "', argument "
"1"" of type '" "GFits const *""'"); goto fail; } while(0)
;
7173 }
7174 arg1 = reinterpret_cast< GFits * >(argp1);
7175 {
7176 try {
7177 result = (GFits *)((GFits const *)arg1)->clone();
7178 }
7179 catch (const GException::out_of_range& e) {
7180 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
7181 }
7182 catch (const GExceptionHandler& e) {
7183 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7184 }
7185 catch (const std::exception& e) {
7186 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7187 }
7188 }
7189 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFits, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[2], 0 |
0)
;
7190 return resultobj;
7191fail:
7192 return NULL__null;
7193}
7194
7195
7196SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits_at__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7197 PyObject *resultobj = 0;
7198 GFits *arg1 = (GFits *) 0 ;
7199 int *arg2 = 0 ;
7200 void *argp1 = 0 ;
7201 int res1 = 0 ;
7202 int temp2 ;
7203 int val2 ;
7204 int ecode2 = 0 ;
7205 PyObject * obj0 = 0 ;
7206 PyObject * obj1 = 0 ;
7207 GFitsHDU *result = 0 ;
7208
7209 if (!PyArg_ParseTuple(args,(char *)"OO:GFits_at",&obj0,&obj1)) SWIG_failgoto fail;
7210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFits, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
7211 if (!SWIG_IsOK(res1)(res1 >= 0)) {
7212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFits_at" "', argument " "1"" of type '" "GFits *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFits_at" "', argument " "1"
" of type '" "GFits *""'"); goto fail; } while(0)
;
7213 }
7214 arg1 = reinterpret_cast< GFits * >(argp1);
7215 ecode2 = SWIG_AsVal_int(obj1, &val2);
7216 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
7217 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFits_at" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFits_at" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
7218 }
7219 temp2 = static_cast< int >(val2);
7220 arg2 = &temp2;
7221 {
7222 try {
7223 result = (GFitsHDU *)(arg1)->at((int const &)*arg2);
7224 }
7225 catch (const GException::out_of_range& e) {
7226 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
7227 }
7228 catch (const GExceptionHandler& e) {
7229 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7230 }
7231 catch (const std::exception& e) {
7232 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7233 }
7234 }
7235 {
7236 if (dynamic_cast<GFitsImage*>(result) != NULL__null) {
7237 if (dynamic_cast<GFitsImageByte*>(result) != NULL__null) {
7238 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageByte, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[9], 0 |
0)
;
7239 }
7240 else if (dynamic_cast<GFitsImageDouble*>(result) != NULL__null) {
7241 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageDouble, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[10], 0
| 0)
;
7242 }
7243 else if (dynamic_cast<GFitsImageFloat*>(result) != NULL__null) {
7244 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageFloat, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], 0
| 0)
;
7245 }
7246 else if (dynamic_cast<GFitsImageLong*>(result) != NULL__null) {
7247 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageFloat, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], 0
| 0)
;
7248 }
7249 else if (dynamic_cast<GFitsImageLongLong*>(result) != NULL__null) {
7250 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageLongLong, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[13], 0
| 0)
;
7251 }
7252 else if (dynamic_cast<GFitsImageSByte*>(result) != NULL__null) {
7253 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageSByte, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[14], 0
| 0)
;
7254 }
7255 else if (dynamic_cast<GFitsImageShort*>(result) != NULL__null) {
7256 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageShort, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[15], 0
| 0)
;
7257 }
7258 else if (dynamic_cast<GFitsImageULong*>(result) != NULL__null) {
7259 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageULong, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[16], 0
| 0)
;
7260 }
7261 else if (dynamic_cast<GFitsImageUShort*>(result) != NULL__null) {
7262 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageUShort, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[17], 0
| 0)
;
7263 }
7264 else {
7265 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImage, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[8], 0 |
0)
;
7266 }
7267 }
7268 else if (dynamic_cast<GFitsTable*>(result) != NULL__null) {
7269 if (dynamic_cast<GFitsBinTable*>(result) != NULL__null) {
7270 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsBinTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[4], 0 |
0)
;
7271 }
7272 else if (dynamic_cast<GFitsAsciiTable*>(result) != NULL__null) {
7273 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsAsciiTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[3], 0 |
0)
;
7274 }
7275 else {
7276 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[18], 0
| 0)
;
7277 }
7278 }
7279 else {
7280 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsHDU, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[5], 0 |
0)
;
7281 }
7282 }
7283 return resultobj;
7284fail:
7285 return NULL__null;
7286}
7287
7288
7289SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits_at__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7290 PyObject *resultobj = 0;
7291 GFits *arg1 = (GFits *) 0 ;
7292 std::string *arg2 = 0 ;
7293 void *argp1 = 0 ;
7294 int res1 = 0 ;
7295 int res2 = SWIG_OLDOBJ((0)) ;
7296 PyObject * obj0 = 0 ;
7297 PyObject * obj1 = 0 ;
7298 GFitsHDU *result = 0 ;
7299
7300 if (!PyArg_ParseTuple(args,(char *)"OO:GFits_at",&obj0,&obj1)) SWIG_failgoto fail;
7301 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFits, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
7302 if (!SWIG_IsOK(res1)(res1 >= 0)) {
7303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFits_at" "', argument " "1"" of type '" "GFits *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFits_at" "', argument " "1"
" of type '" "GFits *""'"); goto fail; } while(0)
;
7304 }
7305 arg1 = reinterpret_cast< GFits * >(argp1);
7306 {
7307 std::string *ptr = (std::string *)0;
7308 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
7309 if (!SWIG_IsOK(res2)(res2 >= 0)) {
7310 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFits_at" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFits_at" "', argument " "2"
" of type '" "std::string const &""'"); goto fail; } while
(0)
;
7311 }
7312 if (!ptr) {
7313 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFits_at" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFits_at" "', argument " "2"" of type '" "std::string const &"
"'"); goto fail; } while(0)
;
7314 }
7315 arg2 = ptr;
7316 }
7317 {
7318 try {
7319 result = (GFitsHDU *)(arg1)->at((std::string const &)*arg2);
7320 }
7321 catch (const GException::out_of_range& e) {
7322 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
7323 }
7324 catch (const GExceptionHandler& e) {
7325 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7326 }
7327 catch (const std::exception& e) {
7328 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7329 }
7330 }
7331 {
7332 if (dynamic_cast<GFitsImage*>(result) != NULL__null) {
7333 if (dynamic_cast<GFitsImageByte*>(result) != NULL__null) {
7334 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageByte, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[9], 0 |
0)
;
7335 }
7336 else if (dynamic_cast<GFitsImageDouble*>(result) != NULL__null) {
7337 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageDouble, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[10], 0
| 0)
;
7338 }
7339 else if (dynamic_cast<GFitsImageFloat*>(result) != NULL__null) {
7340 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageFloat, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], 0
| 0)
;
7341 }
7342 else if (dynamic_cast<GFitsImageLong*>(result) != NULL__null) {
7343 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageFloat, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], 0
| 0)
;
7344 }
7345 else if (dynamic_cast<GFitsImageLongLong*>(result) != NULL__null) {
7346 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageLongLong, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[13], 0
| 0)
;
7347 }
7348 else if (dynamic_cast<GFitsImageSByte*>(result) != NULL__null) {
7349 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageSByte, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[14], 0
| 0)
;
7350 }
7351 else if (dynamic_cast<GFitsImageShort*>(result) != NULL__null) {
7352 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageShort, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[15], 0
| 0)
;
7353 }
7354 else if (dynamic_cast<GFitsImageULong*>(result) != NULL__null) {
7355 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageULong, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[16], 0
| 0)
;
7356 }
7357 else if (dynamic_cast<GFitsImageUShort*>(result) != NULL__null) {
7358 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageUShort, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[17], 0
| 0)
;
7359 }
7360 else {
7361 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImage, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[8], 0 |
0)
;
7362 }
7363 }
7364 else if (dynamic_cast<GFitsTable*>(result) != NULL__null) {
7365 if (dynamic_cast<GFitsBinTable*>(result) != NULL__null) {
7366 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsBinTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[4], 0 |
0)
;
7367 }
7368 else if (dynamic_cast<GFitsAsciiTable*>(result) != NULL__null) {
7369 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsAsciiTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[3], 0 |
0)
;
7370 }
7371 else {
7372 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[18], 0
| 0)
;
7373 }
7374 }
7375 else {
7376 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsHDU, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[5], 0 |
0)
;
7377 }
7378 }
7379 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
7380 return resultobj;
7381fail:
7382 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
7383 return NULL__null;
7384}
7385
7386
7387SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits_at(PyObject *self, PyObject *args) {
7388 int argc;
7389 PyObject *argv[3];
7390 int ii;
7391
7392 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
7393 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
7394 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
7395 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
7396 }
7397 if (argc == 2) {
7398 int _v;
7399 void *vptr = 0;
7400 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFits, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[2
], 0, 0)
;
7401 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7402 if (_v) {
7403 {
7404 int res = SWIG_AsVal_int(argv[1], NULL__null);
7405 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7406 }
7407 if (_v) {
7408 return _wrap_GFits_at__SWIG_0(self, args);
7409 }
7410 }
7411 }
7412 if (argc == 2) {
7413 int _v;
7414 void *vptr = 0;
7415 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFits, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[2
], 0, 0)
;
7416 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7417 if (_v) {
7418 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
7419 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7420 if (_v) {
7421 return _wrap_GFits_at__SWIG_1(self, args);
7422 }
7423 }
7424 }
7425
7426fail:
7427 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFits_at'.\n"
7428 " Possible C/C++ prototypes are:\n"
7429 " GFits::at(int const &)\n"
7430 " GFits::at(std::string const &)\n");
7431 return 0;
7432}
7433
7434
7435SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits_image__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7436 PyObject *resultobj = 0;
7437 GFits *arg1 = (GFits *) 0 ;
7438 int *arg2 = 0 ;
7439 void *argp1 = 0 ;
7440 int res1 = 0 ;
7441 int temp2 ;
7442 int val2 ;
7443 int ecode2 = 0 ;
7444 PyObject * obj0 = 0 ;
7445 PyObject * obj1 = 0 ;
7446 GFitsImage *result = 0 ;
7447
7448 if (!PyArg_ParseTuple(args,(char *)"OO:GFits_image",&obj0,&obj1)) SWIG_failgoto fail;
7449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFits, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
7450 if (!SWIG_IsOK(res1)(res1 >= 0)) {
7451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFits_image" "', argument " "1"" of type '" "GFits *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFits_image" "', argument "
"1"" of type '" "GFits *""'"); goto fail; } while(0)
;
7452 }
7453 arg1 = reinterpret_cast< GFits * >(argp1);
7454 ecode2 = SWIG_AsVal_int(obj1, &val2);
7455 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
7456 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFits_image" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFits_image" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
7457 }
7458 temp2 = static_cast< int >(val2);
7459 arg2 = &temp2;
7460 {
7461 try {
7462 result = (GFitsImage *)(arg1)->image((int const &)*arg2);
7463 }
7464 catch (const GException::out_of_range& e) {
7465 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
7466 }
7467 catch (const GExceptionHandler& e) {
7468 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7469 }
7470 catch (const std::exception& e) {
7471 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7472 }
7473 }
7474 {
7475 if (dynamic_cast<GFitsImageByte*>(result) != NULL__null) {
7476 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageByte, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[9], 0 |
0)
;
7477 }
7478 else if (dynamic_cast<GFitsImageDouble*>(result) != NULL__null) {
7479 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageDouble, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[10], 0
| 0)
;
7480 }
7481 else if (dynamic_cast<GFitsImageFloat*>(result) != NULL__null) {
7482 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageFloat, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], 0
| 0)
;
7483 }
7484 else if (dynamic_cast<GFitsImageLong*>(result) != NULL__null) {
7485 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageFloat, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], 0
| 0)
;
7486 }
7487 else if (dynamic_cast<GFitsImageLongLong*>(result) != NULL__null) {
7488 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageLongLong, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[13], 0
| 0)
;
7489 }
7490 else if (dynamic_cast<GFitsImageSByte*>(result) != NULL__null) {
7491 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageSByte, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[14], 0
| 0)
;
7492 }
7493 else if (dynamic_cast<GFitsImageShort*>(result) != NULL__null) {
7494 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageShort, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[15], 0
| 0)
;
7495 }
7496 else if (dynamic_cast<GFitsImageULong*>(result) != NULL__null) {
7497 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageULong, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[16], 0
| 0)
;
7498 }
7499 else if (dynamic_cast<GFitsImageUShort*>(result) != NULL__null) {
7500 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageUShort, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[17], 0
| 0)
;
7501 }
7502 else {
7503 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImage, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[8], 0 |
0)
;
7504 }
7505 }
7506 return resultobj;
7507fail:
7508 return NULL__null;
7509}
7510
7511
7512SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits_image__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7513 PyObject *resultobj = 0;
7514 GFits *arg1 = (GFits *) 0 ;
7515 std::string *arg2 = 0 ;
7516 void *argp1 = 0 ;
7517 int res1 = 0 ;
7518 int res2 = SWIG_OLDOBJ((0)) ;
7519 PyObject * obj0 = 0 ;
7520 PyObject * obj1 = 0 ;
7521 GFitsImage *result = 0 ;
7522
7523 if (!PyArg_ParseTuple(args,(char *)"OO:GFits_image",&obj0,&obj1)) SWIG_failgoto fail;
7524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFits, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
7525 if (!SWIG_IsOK(res1)(res1 >= 0)) {
7526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFits_image" "', argument " "1"" of type '" "GFits *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFits_image" "', argument "
"1"" of type '" "GFits *""'"); goto fail; } while(0)
;
7527 }
7528 arg1 = reinterpret_cast< GFits * >(argp1);
7529 {
7530 std::string *ptr = (std::string *)0;
7531 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
7532 if (!SWIG_IsOK(res2)(res2 >= 0)) {
7533 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFits_image" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFits_image" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
7534 }
7535 if (!ptr) {
7536 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFits_image" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFits_image" "', argument " "2"" of type '" "std::string const &"
"'"); goto fail; } while(0)
;
7537 }
7538 arg2 = ptr;
7539 }
7540 {
7541 try {
7542 result = (GFitsImage *)(arg1)->image((std::string const &)*arg2);
7543 }
7544 catch (const GException::out_of_range& e) {
7545 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
7546 }
7547 catch (const GExceptionHandler& e) {
7548 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7549 }
7550 catch (const std::exception& e) {
7551 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7552 }
7553 }
7554 {
7555 if (dynamic_cast<GFitsImageByte*>(result) != NULL__null) {
7556 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageByte, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[9], 0 |
0)
;
7557 }
7558 else if (dynamic_cast<GFitsImageDouble*>(result) != NULL__null) {
7559 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageDouble, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[10], 0
| 0)
;
7560 }
7561 else if (dynamic_cast<GFitsImageFloat*>(result) != NULL__null) {
7562 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageFloat, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], 0
| 0)
;
7563 }
7564 else if (dynamic_cast<GFitsImageLong*>(result) != NULL__null) {
7565 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageFloat, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], 0
| 0)
;
7566 }
7567 else if (dynamic_cast<GFitsImageLongLong*>(result) != NULL__null) {
7568 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageLongLong, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[13], 0
| 0)
;
7569 }
7570 else if (dynamic_cast<GFitsImageSByte*>(result) != NULL__null) {
7571 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageSByte, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[14], 0
| 0)
;
7572 }
7573 else if (dynamic_cast<GFitsImageShort*>(result) != NULL__null) {
7574 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageShort, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[15], 0
| 0)
;
7575 }
7576 else if (dynamic_cast<GFitsImageULong*>(result) != NULL__null) {
7577 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageULong, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[16], 0
| 0)
;
7578 }
7579 else if (dynamic_cast<GFitsImageUShort*>(result) != NULL__null) {
7580 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageUShort, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[17], 0
| 0)
;
7581 }
7582 else {
7583 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImage, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[8], 0 |
0)
;
7584 }
7585 }
7586 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
7587 return resultobj;
7588fail:
7589 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
7590 return NULL__null;
7591}
7592
7593
7594SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits_image(PyObject *self, PyObject *args) {
7595 int argc;
7596 PyObject *argv[3];
7597 int ii;
7598
7599 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
7600 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
7601 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
7602 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
7603 }
7604 if (argc == 2) {
7605 int _v;
7606 void *vptr = 0;
7607 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFits, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[2
], 0, 0)
;
7608 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7609 if (_v) {
7610 {
7611 int res = SWIG_AsVal_int(argv[1], NULL__null);
7612 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7613 }
7614 if (_v) {
7615 return _wrap_GFits_image__SWIG_0(self, args);
7616 }
7617 }
7618 }
7619 if (argc == 2) {
7620 int _v;
7621 void *vptr = 0;
7622 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFits, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[2
], 0, 0)
;
7623 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7624 if (_v) {
7625 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
7626 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7627 if (_v) {
7628 return _wrap_GFits_image__SWIG_1(self, args);
7629 }
7630 }
7631 }
7632
7633fail:
7634 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFits_image'.\n"
7635 " Possible C/C++ prototypes are:\n"
7636 " GFits::image(int const &)\n"
7637 " GFits::image(std::string const &)\n");
7638 return 0;
7639}
7640
7641
7642SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits_table__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7643 PyObject *resultobj = 0;
7644 GFits *arg1 = (GFits *) 0 ;
7645 int *arg2 = 0 ;
7646 void *argp1 = 0 ;
7647 int res1 = 0 ;
7648 int temp2 ;
7649 int val2 ;
7650 int ecode2 = 0 ;
7651 PyObject * obj0 = 0 ;
7652 PyObject * obj1 = 0 ;
7653 GFitsTable *result = 0 ;
7654
7655 if (!PyArg_ParseTuple(args,(char *)"OO:GFits_table",&obj0,&obj1)) SWIG_failgoto fail;
7656 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFits, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
7657 if (!SWIG_IsOK(res1)(res1 >= 0)) {
7658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFits_table" "', argument " "1"" of type '" "GFits *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFits_table" "', argument "
"1"" of type '" "GFits *""'"); goto fail; } while(0)
;
7659 }
7660 arg1 = reinterpret_cast< GFits * >(argp1);
7661 ecode2 = SWIG_AsVal_int(obj1, &val2);
7662 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
7663 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFits_table" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFits_table" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
7664 }
7665 temp2 = static_cast< int >(val2);
7666 arg2 = &temp2;
7667 {
7668 try {
7669 result = (GFitsTable *)(arg1)->table((int const &)*arg2);
7670 }
7671 catch (const GException::out_of_range& e) {
7672 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
7673 }
7674 catch (const GExceptionHandler& e) {
7675 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7676 }
7677 catch (const std::exception& e) {
7678 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7679 }
7680 }
7681 {
7682 if (dynamic_cast<GFitsBinTable*>(result) != NULL__null) {
7683 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsBinTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[4], 0 |
0)
;
7684 }
7685 else if (dynamic_cast<GFitsAsciiTable*>(result) != NULL__null) {
7686 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsAsciiTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[3], 0 |
0)
;
7687 }
7688 else {
7689 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[18], 0
| 0)
;
7690 }
7691 }
7692 return resultobj;
7693fail:
7694 return NULL__null;
7695}
7696
7697
7698SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits_table__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7699 PyObject *resultobj = 0;
7700 GFits *arg1 = (GFits *) 0 ;
7701 std::string *arg2 = 0 ;
7702 void *argp1 = 0 ;
7703 int res1 = 0 ;
7704 int res2 = SWIG_OLDOBJ((0)) ;
7705 PyObject * obj0 = 0 ;
7706 PyObject * obj1 = 0 ;
7707 GFitsTable *result = 0 ;
7708
7709 if (!PyArg_ParseTuple(args,(char *)"OO:GFits_table",&obj0,&obj1)) SWIG_failgoto fail;
7710 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFits, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
7711 if (!SWIG_IsOK(res1)(res1 >= 0)) {
7712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFits_table" "', argument " "1"" of type '" "GFits *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFits_table" "', argument "
"1"" of type '" "GFits *""'"); goto fail; } while(0)
;
7713 }
7714 arg1 = reinterpret_cast< GFits * >(argp1);
7715 {
7716 std::string *ptr = (std::string *)0;
7717 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
7718 if (!SWIG_IsOK(res2)(res2 >= 0)) {
7719 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFits_table" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFits_table" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
7720 }
7721 if (!ptr) {
7722 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFits_table" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFits_table" "', argument " "2"" of type '" "std::string const &"
"'"); goto fail; } while(0)
;
7723 }
7724 arg2 = ptr;
7725 }
7726 {
7727 try {
7728 result = (GFitsTable *)(arg1)->table((std::string const &)*arg2);
7729 }
7730 catch (const GException::out_of_range& e) {
7731 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
7732 }
7733 catch (const GExceptionHandler& e) {
7734 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7735 }
7736 catch (const std::exception& e) {
7737 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7738 }
7739 }
7740 {
7741 if (dynamic_cast<GFitsBinTable*>(result) != NULL__null) {
7742 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsBinTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[4], 0 |
0)
;
7743 }
7744 else if (dynamic_cast<GFitsAsciiTable*>(result) != NULL__null) {
7745 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsAsciiTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[3], 0 |
0)
;
7746 }
7747 else {
7748 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[18], 0
| 0)
;
7749 }
7750 }
7751 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
7752 return resultobj;
7753fail:
7754 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
7755 return NULL__null;
7756}
7757
7758
7759SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits_table(PyObject *self, PyObject *args) {
7760 int argc;
7761 PyObject *argv[3];
7762 int ii;
7763
7764 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
7765 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
7766 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
7767 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
7768 }
7769 if (argc == 2) {
7770 int _v;
7771 void *vptr = 0;
7772 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFits, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[2
], 0, 0)
;
7773 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7774 if (_v) {
7775 {
7776 int res = SWIG_AsVal_int(argv[1], NULL__null);
7777 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7778 }
7779 if (_v) {
7780 return _wrap_GFits_table__SWIG_0(self, args);
7781 }
7782 }
7783 }
7784 if (argc == 2) {
7785 int _v;
7786 void *vptr = 0;
7787 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFits, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[2
], 0, 0)
;
7788 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7789 if (_v) {
7790 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
7791 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
7792 if (_v) {
7793 return _wrap_GFits_table__SWIG_1(self, args);
7794 }
7795 }
7796 }
7797
7798fail:
7799 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFits_table'.\n"
7800 " Possible C/C++ prototypes are:\n"
7801 " GFits::table(int const &)\n"
7802 " GFits::table(std::string const &)\n");
7803 return 0;
7804}
7805
7806
7807SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7808 PyObject *resultobj = 0;
7809 GFits *arg1 = (GFits *) 0 ;
7810 void *argp1 = 0 ;
7811 int res1 = 0 ;
7812 PyObject * obj0 = 0 ;
7813 int result;
7814
7815 if (!PyArg_ParseTuple(args,(char *)"O:GFits_size",&obj0)) SWIG_failgoto fail;
7816 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFits, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
7817 if (!SWIG_IsOK(res1)(res1 >= 0)) {
7818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFits_size" "', argument " "1"" of type '" "GFits const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFits_size" "', argument "
"1"" of type '" "GFits const *""'"); goto fail; } while(0)
;
7819 }
7820 arg1 = reinterpret_cast< GFits * >(argp1);
7821 {
7822 try {
7823 result = (int)((GFits const *)arg1)->size();
7824 }
7825 catch (const GException::out_of_range& e) {
7826 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
7827 }
7828 catch (const GExceptionHandler& e) {
7829 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7830 }
7831 catch (const std::exception& e) {
7832 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7833 }
7834 }
7835 resultobj = SWIG_From_int(static_cast< int >(result));
7836 return resultobj;
7837fail:
7838 return NULL__null;
7839}
7840
7841
7842SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits_isempty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7843 PyObject *resultobj = 0;
7844 GFits *arg1 = (GFits *) 0 ;
7845 void *argp1 = 0 ;
7846 int res1 = 0 ;
7847 PyObject * obj0 = 0 ;
7848 bool result;
7849
7850 if (!PyArg_ParseTuple(args,(char *)"O:GFits_isempty",&obj0)) SWIG_failgoto fail;
7851 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFits, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
7852 if (!SWIG_IsOK(res1)(res1 >= 0)) {
7853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFits_isempty" "', argument " "1"" of type '" "GFits const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFits_isempty" "', argument "
"1"" of type '" "GFits const *""'"); goto fail; } while(0)
;
7854 }
7855 arg1 = reinterpret_cast< GFits * >(argp1);
7856 {
7857 try {
7858 result = (bool)((GFits const *)arg1)->isempty();
7859 }
7860 catch (const GException::out_of_range& e) {
7861 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
7862 }
7863 catch (const GExceptionHandler& e) {
7864 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7865 }
7866 catch (const std::exception& e) {
7867 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7868 }
7869 }
7870 resultobj = SWIG_From_bool(static_cast< bool >(result));
7871 return resultobj;
7872fail:
7873 return NULL__null;
7874}
7875
7876
7877SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7878 PyObject *resultobj = 0;
7879 GFits *arg1 = (GFits *) 0 ;
7880 int *arg2 = 0 ;
7881 GFitsHDU *arg3 = 0 ;
7882 void *argp1 = 0 ;
7883 int res1 = 0 ;
7884 int temp2 ;
7885 int val2 ;
7886 int ecode2 = 0 ;
7887 void *argp3 = 0 ;
7888 int res3 = 0 ;
7889 PyObject * obj0 = 0 ;
7890 PyObject * obj1 = 0 ;
7891 PyObject * obj2 = 0 ;
7892 GFitsHDU *result = 0 ;
7893
7894 if (!PyArg_ParseTuple(args,(char *)"OOO:GFits_set",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
7895 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFits, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
7896 if (!SWIG_IsOK(res1)(res1 >= 0)) {
7897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFits_set" "', argument " "1"" of type '" "GFits *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFits_set" "', argument " "1"
" of type '" "GFits *""'"); goto fail; } while(0)
;
7898 }
7899 arg1 = reinterpret_cast< GFits * >(argp1);
7900 ecode2 = SWIG_AsVal_int(obj1, &val2);
7901 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
7902 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFits_set" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFits_set" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
7903 }
7904 temp2 = static_cast< int >(val2);
7905 arg2 = &temp2;
7906 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GFitsHDU, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[5],
0 | 0, 0)
;
7907 if (!SWIG_IsOK(res3)(res3 >= 0)) {
7908 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GFits_set" "', argument " "3"" of type '" "GFitsHDU const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GFits_set" "', argument " "3"
" of type '" "GFitsHDU const &""'"); goto fail; } while(0
)
;
7909 }
7910 if (!argp3) {
7911 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFits_set" "', argument " "3"" of type '" "GFitsHDU const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFits_set" "', argument " "3"" of type '" "GFitsHDU const &"
"'"); goto fail; } while(0)
;
7912 }
7913 arg3 = reinterpret_cast< GFitsHDU * >(argp3);
7914 {
7915 try {
7916 result = (GFitsHDU *)(arg1)->set((int const &)*arg2,(GFitsHDU const &)*arg3);
7917 }
7918 catch (const GException::out_of_range& e) {
7919 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
7920 }
7921 catch (const GExceptionHandler& e) {
7922 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7923 }
7924 catch (const std::exception& e) {
7925 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
7926 }
7927 }
7928 {
7929 if (dynamic_cast<GFitsImage*>(result) != NULL__null) {
7930 if (dynamic_cast<GFitsImageByte*>(result) != NULL__null) {
7931 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageByte, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[9], 0 |
0)
;
7932 }
7933 else if (dynamic_cast<GFitsImageDouble*>(result) != NULL__null) {
7934 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageDouble, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[10], 0
| 0)
;
7935 }
7936 else if (dynamic_cast<GFitsImageFloat*>(result) != NULL__null) {
7937 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageFloat, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], 0
| 0)
;
7938 }
7939 else if (dynamic_cast<GFitsImageLong*>(result) != NULL__null) {
7940 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageFloat, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], 0
| 0)
;
7941 }
7942 else if (dynamic_cast<GFitsImageLongLong*>(result) != NULL__null) {
7943 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageLongLong, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[13], 0
| 0)
;
7944 }
7945 else if (dynamic_cast<GFitsImageSByte*>(result) != NULL__null) {
7946 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageSByte, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[14], 0
| 0)
;
7947 }
7948 else if (dynamic_cast<GFitsImageShort*>(result) != NULL__null) {
7949 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageShort, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[15], 0
| 0)
;
7950 }
7951 else if (dynamic_cast<GFitsImageULong*>(result) != NULL__null) {
7952 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageULong, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[16], 0
| 0)
;
7953 }
7954 else if (dynamic_cast<GFitsImageUShort*>(result) != NULL__null) {
7955 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageUShort, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[17], 0
| 0)
;
7956 }
7957 else {
7958 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImage, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[8], 0 |
0)
;
7959 }
7960 }
7961 else if (dynamic_cast<GFitsTable*>(result) != NULL__null) {
7962 if (dynamic_cast<GFitsBinTable*>(result) != NULL__null) {
7963 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsBinTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[4], 0 |
0)
;
7964 }
7965 else if (dynamic_cast<GFitsAsciiTable*>(result) != NULL__null) {
7966 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsAsciiTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[3], 0 |
0)
;
7967 }
7968 else {
7969 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[18], 0
| 0)
;
7970 }
7971 }
7972 else {
7973 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsHDU, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[5], 0 |
0)
;
7974 }
7975 }
7976 return resultobj;
7977fail:
7978 return NULL__null;
7979}
7980
7981
7982SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7983 PyObject *resultobj = 0;
7984 GFits *arg1 = (GFits *) 0 ;
7985 std::string *arg2 = 0 ;
7986 GFitsHDU *arg3 = 0 ;
7987 void *argp1 = 0 ;
7988 int res1 = 0 ;
7989 int res2 = SWIG_OLDOBJ((0)) ;
7990 void *argp3 = 0 ;
7991 int res3 = 0 ;
7992 PyObject * obj0 = 0 ;
7993 PyObject * obj1 = 0 ;
7994 PyObject * obj2 = 0 ;
7995 GFitsHDU *result = 0 ;
7996
7997 if (!PyArg_ParseTuple(args,(char *)"OOO:GFits_set",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
7998 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFits, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
7999 if (!SWIG_IsOK(res1)(res1 >= 0)) {
8000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFits_set" "', argument " "1"" of type '" "GFits *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFits_set" "', argument " "1"
" of type '" "GFits *""'"); goto fail; } while(0)
;
8001 }
8002 arg1 = reinterpret_cast< GFits * >(argp1);
8003 {
8004 std::string *ptr = (std::string *)0;
8005 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
8006 if (!SWIG_IsOK(res2)(res2 >= 0)) {
8007 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFits_set" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFits_set" "', argument " "2"
" of type '" "std::string const &""'"); goto fail; } while
(0)
;
8008 }
8009 if (!ptr) {
8010 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFits_set" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFits_set" "', argument " "2"" of type '" "std::string const &"
"'"); goto fail; } while(0)
;
8011 }
8012 arg2 = ptr;
8013 }
8014 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GFitsHDU, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[5],
0 | 0, 0)
;
8015 if (!SWIG_IsOK(res3)(res3 >= 0)) {
8016 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GFits_set" "', argument " "3"" of type '" "GFitsHDU const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GFits_set" "', argument " "3"
" of type '" "GFitsHDU const &""'"); goto fail; } while(0
)
;
8017 }
8018 if (!argp3) {
8019 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFits_set" "', argument " "3"" of type '" "GFitsHDU const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFits_set" "', argument " "3"" of type '" "GFitsHDU const &"
"'"); goto fail; } while(0)
;
8020 }
8021 arg3 = reinterpret_cast< GFitsHDU * >(argp3);
8022 {
8023 try {
8024 result = (GFitsHDU *)(arg1)->set((std::string const &)*arg2,(GFitsHDU const &)*arg3);
8025 }
8026 catch (const GException::out_of_range& e) {
8027 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
8028 }
8029 catch (const GExceptionHandler& e) {
8030 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8031 }
8032 catch (const std::exception& e) {
8033 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8034 }
8035 }
8036 {
8037 if (dynamic_cast<GFitsImage*>(result) != NULL__null) {
8038 if (dynamic_cast<GFitsImageByte*>(result) != NULL__null) {
8039 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageByte, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[9], 0 |
0)
;
8040 }
8041 else if (dynamic_cast<GFitsImageDouble*>(result) != NULL__null) {
8042 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageDouble, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[10], 0
| 0)
;
8043 }
8044 else if (dynamic_cast<GFitsImageFloat*>(result) != NULL__null) {
8045 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageFloat, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], 0
| 0)
;
8046 }
8047 else if (dynamic_cast<GFitsImageLong*>(result) != NULL__null) {
8048 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageFloat, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], 0
| 0)
;
8049 }
8050 else if (dynamic_cast<GFitsImageLongLong*>(result) != NULL__null) {
8051 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageLongLong, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[13], 0
| 0)
;
8052 }
8053 else if (dynamic_cast<GFitsImageSByte*>(result) != NULL__null) {
8054 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageSByte, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[14], 0
| 0)
;
8055 }
8056 else if (dynamic_cast<GFitsImageShort*>(result) != NULL__null) {
8057 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageShort, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[15], 0
| 0)
;
8058 }
8059 else if (dynamic_cast<GFitsImageULong*>(result) != NULL__null) {
8060 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageULong, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[16], 0
| 0)
;
8061 }
8062 else if (dynamic_cast<GFitsImageUShort*>(result) != NULL__null) {
8063 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageUShort, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[17], 0
| 0)
;
8064 }
8065 else {
8066 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImage, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[8], 0 |
0)
;
8067 }
8068 }
8069 else if (dynamic_cast<GFitsTable*>(result) != NULL__null) {
8070 if (dynamic_cast<GFitsBinTable*>(result) != NULL__null) {
8071 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsBinTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[4], 0 |
0)
;
8072 }
8073 else if (dynamic_cast<GFitsAsciiTable*>(result) != NULL__null) {
8074 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsAsciiTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[3], 0 |
0)
;
8075 }
8076 else {
8077 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[18], 0
| 0)
;
8078 }
8079 }
8080 else {
8081 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsHDU, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[5], 0 |
0)
;
8082 }
8083 }
8084 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
8085 return resultobj;
8086fail:
8087 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
8088 return NULL__null;
8089}
8090
8091
8092SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits_set(PyObject *self, PyObject *args) {
8093 int argc;
8094 PyObject *argv[4];
8095 int ii;
8096
8097 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
8098 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
8099 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
8100 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
8101 }
8102 if (argc == 3) {
8103 int _v;
8104 void *vptr = 0;
8105 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFits, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[2
], 0, 0)
;
8106 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
8107 if (_v) {
8108 {
8109 int res = SWIG_AsVal_int(argv[1], NULL__null);
8110 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
8111 }
8112 if (_v) {
8113 int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_GFitsHDU, 0)SWIG_Python_ConvertPtrAndOwn(argv[2], 0, swig_types[5], 0, 0);
8114 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
8115 if (_v) {
8116 return _wrap_GFits_set__SWIG_0(self, args);
8117 }
8118 }
8119 }
8120 }
8121 if (argc == 3) {
8122 int _v;
8123 void *vptr = 0;
8124 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFits, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[2
], 0, 0)
;
8125 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
8126 if (_v) {
8127 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
8128 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
8129 if (_v) {
8130 int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_GFitsHDU, 0)SWIG_Python_ConvertPtrAndOwn(argv[2], 0, swig_types[5], 0, 0);
8131 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
8132 if (_v) {
8133 return _wrap_GFits_set__SWIG_1(self, args);
8134 }
8135 }
8136 }
8137 }
8138
8139fail:
8140 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFits_set'.\n"
8141 " Possible C/C++ prototypes are:\n"
8142 " GFits::set(int const &,GFitsHDU const &)\n"
8143 " GFits::set(std::string const &,GFitsHDU const &)\n");
8144 return 0;
8145}
8146
8147
8148SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8149 PyObject *resultobj = 0;
8150 GFits *arg1 = (GFits *) 0 ;
8151 GFitsHDU *arg2 = 0 ;
8152 void *argp1 = 0 ;
8153 int res1 = 0 ;
8154 void *argp2 = 0 ;
8155 int res2 = 0 ;
8156 PyObject * obj0 = 0 ;
8157 PyObject * obj1 = 0 ;
8158 GFitsHDU *result = 0 ;
8159
8160 if (!PyArg_ParseTuple(args,(char *)"OO:GFits_append",&obj0,&obj1)) SWIG_failgoto fail;
8161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFits, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
8162 if (!SWIG_IsOK(res1)(res1 >= 0)) {
8163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFits_append" "', argument " "1"" of type '" "GFits *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFits_append" "', argument "
"1"" of type '" "GFits *""'"); goto fail; } while(0)
;
8164 }
8165 arg1 = reinterpret_cast< GFits * >(argp1);
8166 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GFitsHDU, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[5],
0 | 0, 0)
;
8167 if (!SWIG_IsOK(res2)(res2 >= 0)) {
8168 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFits_append" "', argument " "2"" of type '" "GFitsHDU const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFits_append" "', argument "
"2"" of type '" "GFitsHDU const &""'"); goto fail; } while
(0)
;
8169 }
8170 if (!argp2) {
8171 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFits_append" "', argument " "2"" of type '" "GFitsHDU const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFits_append" "', argument " "2"" of type '" "GFitsHDU const &"
"'"); goto fail; } while(0)
;
8172 }
8173 arg2 = reinterpret_cast< GFitsHDU * >(argp2);
8174 {
8175 try {
8176 result = (GFitsHDU *)(arg1)->append((GFitsHDU const &)*arg2);
8177 }
8178 catch (const GException::out_of_range& e) {
8179 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
8180 }
8181 catch (const GExceptionHandler& e) {
8182 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8183 }
8184 catch (const std::exception& e) {
8185 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8186 }
8187 }
8188 {
8189 if (dynamic_cast<GFitsImage*>(result) != NULL__null) {
8190 if (dynamic_cast<GFitsImageByte*>(result) != NULL__null) {
8191 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageByte, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[9], 0 |
0)
;
8192 }
8193 else if (dynamic_cast<GFitsImageDouble*>(result) != NULL__null) {
8194 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageDouble, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[10], 0
| 0)
;
8195 }
8196 else if (dynamic_cast<GFitsImageFloat*>(result) != NULL__null) {
8197 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageFloat, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], 0
| 0)
;
8198 }
8199 else if (dynamic_cast<GFitsImageLong*>(result) != NULL__null) {
8200 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageFloat, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], 0
| 0)
;
8201 }
8202 else if (dynamic_cast<GFitsImageLongLong*>(result) != NULL__null) {
8203 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageLongLong, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[13], 0
| 0)
;
8204 }
8205 else if (dynamic_cast<GFitsImageSByte*>(result) != NULL__null) {
8206 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageSByte, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[14], 0
| 0)
;
8207 }
8208 else if (dynamic_cast<GFitsImageShort*>(result) != NULL__null) {
8209 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageShort, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[15], 0
| 0)
;
8210 }
8211 else if (dynamic_cast<GFitsImageULong*>(result) != NULL__null) {
8212 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageULong, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[16], 0
| 0)
;
8213 }
8214 else if (dynamic_cast<GFitsImageUShort*>(result) != NULL__null) {
8215 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageUShort, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[17], 0
| 0)
;
8216 }
8217 else {
8218 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImage, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[8], 0 |
0)
;
8219 }
8220 }
8221 else if (dynamic_cast<GFitsTable*>(result) != NULL__null) {
8222 if (dynamic_cast<GFitsBinTable*>(result) != NULL__null) {
8223 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsBinTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[4], 0 |
0)
;
8224 }
8225 else if (dynamic_cast<GFitsAsciiTable*>(result) != NULL__null) {
8226 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsAsciiTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[3], 0 |
0)
;
8227 }
8228 else {
8229 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[18], 0
| 0)
;
8230 }
8231 }
8232 else {
8233 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsHDU, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[5], 0 |
0)
;
8234 }
8235 }
8236 return resultobj;
8237fail:
8238 return NULL__null;
8239}
8240
8241
8242SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8243 PyObject *resultobj = 0;
8244 GFits *arg1 = (GFits *) 0 ;
8245 int *arg2 = 0 ;
8246 GFitsHDU *arg3 = 0 ;
8247 void *argp1 = 0 ;
8248 int res1 = 0 ;
8249 int temp2 ;
8250 int val2 ;
8251 int ecode2 = 0 ;
8252 void *argp3 = 0 ;
8253 int res3 = 0 ;
8254 PyObject * obj0 = 0 ;
8255 PyObject * obj1 = 0 ;
8256 PyObject * obj2 = 0 ;
8257 GFitsHDU *result = 0 ;
8258
8259 if (!PyArg_ParseTuple(args,(char *)"OOO:GFits_insert",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
8260 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFits, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
8261 if (!SWIG_IsOK(res1)(res1 >= 0)) {
8262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFits_insert" "', argument " "1"" of type '" "GFits *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFits_insert" "', argument "
"1"" of type '" "GFits *""'"); goto fail; } while(0)
;
8263 }
8264 arg1 = reinterpret_cast< GFits * >(argp1);
8265 ecode2 = SWIG_AsVal_int(obj1, &val2);
8266 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
8267 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFits_insert" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFits_insert" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
8268 }
8269 temp2 = static_cast< int >(val2);
8270 arg2 = &temp2;
8271 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GFitsHDU, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[5],
0 | 0, 0)
;
8272 if (!SWIG_IsOK(res3)(res3 >= 0)) {
8273 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GFits_insert" "', argument " "3"" of type '" "GFitsHDU const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GFits_insert" "', argument "
"3"" of type '" "GFitsHDU const &""'"); goto fail; } while
(0)
;
8274 }
8275 if (!argp3) {
8276 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFits_insert" "', argument " "3"" of type '" "GFitsHDU const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFits_insert" "', argument " "3"" of type '" "GFitsHDU const &"
"'"); goto fail; } while(0)
;
8277 }
8278 arg3 = reinterpret_cast< GFitsHDU * >(argp3);
8279 {
8280 try {
8281 result = (GFitsHDU *)(arg1)->insert((int const &)*arg2,(GFitsHDU const &)*arg3);
8282 }
8283 catch (const GException::out_of_range& e) {
8284 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
8285 }
8286 catch (const GExceptionHandler& e) {
8287 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8288 }
8289 catch (const std::exception& e) {
8290 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8291 }
8292 }
8293 {
8294 if (dynamic_cast<GFitsImage*>(result) != NULL__null) {
8295 if (dynamic_cast<GFitsImageByte*>(result) != NULL__null) {
8296 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageByte, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[9], 0 |
0)
;
8297 }
8298 else if (dynamic_cast<GFitsImageDouble*>(result) != NULL__null) {
8299 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageDouble, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[10], 0
| 0)
;
8300 }
8301 else if (dynamic_cast<GFitsImageFloat*>(result) != NULL__null) {
8302 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageFloat, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], 0
| 0)
;
8303 }
8304 else if (dynamic_cast<GFitsImageLong*>(result) != NULL__null) {
8305 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageFloat, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], 0
| 0)
;
8306 }
8307 else if (dynamic_cast<GFitsImageLongLong*>(result) != NULL__null) {
8308 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageLongLong, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[13], 0
| 0)
;
8309 }
8310 else if (dynamic_cast<GFitsImageSByte*>(result) != NULL__null) {
8311 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageSByte, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[14], 0
| 0)
;
8312 }
8313 else if (dynamic_cast<GFitsImageShort*>(result) != NULL__null) {
8314 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageShort, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[15], 0
| 0)
;
8315 }
8316 else if (dynamic_cast<GFitsImageULong*>(result) != NULL__null) {
8317 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageULong, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[16], 0
| 0)
;
8318 }
8319 else if (dynamic_cast<GFitsImageUShort*>(result) != NULL__null) {
8320 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageUShort, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[17], 0
| 0)
;
8321 }
8322 else {
8323 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImage, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[8], 0 |
0)
;
8324 }
8325 }
8326 else if (dynamic_cast<GFitsTable*>(result) != NULL__null) {
8327 if (dynamic_cast<GFitsBinTable*>(result) != NULL__null) {
8328 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsBinTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[4], 0 |
0)
;
8329 }
8330 else if (dynamic_cast<GFitsAsciiTable*>(result) != NULL__null) {
8331 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsAsciiTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[3], 0 |
0)
;
8332 }
8333 else {
8334 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[18], 0
| 0)
;
8335 }
8336 }
8337 else {
8338 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsHDU, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[5], 0 |
0)
;
8339 }
8340 }
8341 return resultobj;
8342fail:
8343 return NULL__null;
8344}
8345
8346
8347SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8348 PyObject *resultobj = 0;
8349 GFits *arg1 = (GFits *) 0 ;
8350 std::string *arg2 = 0 ;
8351 GFitsHDU *arg3 = 0 ;
8352 void *argp1 = 0 ;
8353 int res1 = 0 ;
8354 int res2 = SWIG_OLDOBJ((0)) ;
8355 void *argp3 = 0 ;
8356 int res3 = 0 ;
8357 PyObject * obj0 = 0 ;
8358 PyObject * obj1 = 0 ;
8359 PyObject * obj2 = 0 ;
8360 GFitsHDU *result = 0 ;
8361
8362 if (!PyArg_ParseTuple(args,(char *)"OOO:GFits_insert",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
8363 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFits, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
8364 if (!SWIG_IsOK(res1)(res1 >= 0)) {
8365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFits_insert" "', argument " "1"" of type '" "GFits *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFits_insert" "', argument "
"1"" of type '" "GFits *""'"); goto fail; } while(0)
;
8366 }
8367 arg1 = reinterpret_cast< GFits * >(argp1);
8368 {
8369 std::string *ptr = (std::string *)0;
8370 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
8371 if (!SWIG_IsOK(res2)(res2 >= 0)) {
8372 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFits_insert" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFits_insert" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
8373 }
8374 if (!ptr) {
8375 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFits_insert" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFits_insert" "', argument " "2"" of type '" "std::string const &"
"'"); goto fail; } while(0)
;
8376 }
8377 arg2 = ptr;
8378 }
8379 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GFitsHDU, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[5],
0 | 0, 0)
;
8380 if (!SWIG_IsOK(res3)(res3 >= 0)) {
8381 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GFits_insert" "', argument " "3"" of type '" "GFitsHDU const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GFits_insert" "', argument "
"3"" of type '" "GFitsHDU const &""'"); goto fail; } while
(0)
;
8382 }
8383 if (!argp3) {
8384 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFits_insert" "', argument " "3"" of type '" "GFitsHDU const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFits_insert" "', argument " "3"" of type '" "GFitsHDU const &"
"'"); goto fail; } while(0)
;
8385 }
8386 arg3 = reinterpret_cast< GFitsHDU * >(argp3);
8387 {
8388 try {
8389 result = (GFitsHDU *)(arg1)->insert((std::string const &)*arg2,(GFitsHDU const &)*arg3);
8390 }
8391 catch (const GException::out_of_range& e) {
8392 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
8393 }
8394 catch (const GExceptionHandler& e) {
8395 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8396 }
8397 catch (const std::exception& e) {
8398 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8399 }
8400 }
8401 {
8402 if (dynamic_cast<GFitsImage*>(result) != NULL__null) {
8403 if (dynamic_cast<GFitsImageByte*>(result) != NULL__null) {
8404 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageByte, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[9], 0 |
0)
;
8405 }
8406 else if (dynamic_cast<GFitsImageDouble*>(result) != NULL__null) {
8407 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageDouble, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[10], 0
| 0)
;
8408 }
8409 else if (dynamic_cast<GFitsImageFloat*>(result) != NULL__null) {
8410 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageFloat, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], 0
| 0)
;
8411 }
8412 else if (dynamic_cast<GFitsImageLong*>(result) != NULL__null) {
8413 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageFloat, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], 0
| 0)
;
8414 }
8415 else if (dynamic_cast<GFitsImageLongLong*>(result) != NULL__null) {
8416 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageLongLong, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[13], 0
| 0)
;
8417 }
8418 else if (dynamic_cast<GFitsImageSByte*>(result) != NULL__null) {
8419 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageSByte, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[14], 0
| 0)
;
8420 }
8421 else if (dynamic_cast<GFitsImageShort*>(result) != NULL__null) {
8422 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageShort, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[15], 0
| 0)
;
8423 }
8424 else if (dynamic_cast<GFitsImageULong*>(result) != NULL__null) {
8425 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageULong, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[16], 0
| 0)
;
8426 }
8427 else if (dynamic_cast<GFitsImageUShort*>(result) != NULL__null) {
8428 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageUShort, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[17], 0
| 0)
;
8429 }
8430 else {
8431 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImage, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[8], 0 |
0)
;
8432 }
8433 }
8434 else if (dynamic_cast<GFitsTable*>(result) != NULL__null) {
8435 if (dynamic_cast<GFitsBinTable*>(result) != NULL__null) {
8436 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsBinTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[4], 0 |
0)
;
8437 }
8438 else if (dynamic_cast<GFitsAsciiTable*>(result) != NULL__null) {
8439 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsAsciiTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[3], 0 |
0)
;
8440 }
8441 else {
8442 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[18], 0
| 0)
;
8443 }
8444 }
8445 else {
8446 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsHDU, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[5], 0 |
0)
;
8447 }
8448 }
8449 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
8450 return resultobj;
8451fail:
8452 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
8453 return NULL__null;
8454}
8455
8456
8457SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits_insert(PyObject *self, PyObject *args) {
8458 int argc;
8459 PyObject *argv[4];
8460 int ii;
8461
8462 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
8463 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
8464 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
8465 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
8466 }
8467 if (argc == 3) {
8468 int _v;
8469 void *vptr = 0;
8470 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFits, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[2
], 0, 0)
;
8471 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
8472 if (_v) {
8473 {
8474 int res = SWIG_AsVal_int(argv[1], NULL__null);
8475 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
8476 }
8477 if (_v) {
8478 int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_GFitsHDU, 0)SWIG_Python_ConvertPtrAndOwn(argv[2], 0, swig_types[5], 0, 0);
8479 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
8480 if (_v) {
8481 return _wrap_GFits_insert__SWIG_0(self, args);
8482 }
8483 }
8484 }
8485 }
8486 if (argc == 3) {
8487 int _v;
8488 void *vptr = 0;
8489 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFits, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[2
], 0, 0)
;
8490 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
8491 if (_v) {
8492 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
8493 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
8494 if (_v) {
8495 int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_GFitsHDU, 0)SWIG_Python_ConvertPtrAndOwn(argv[2], 0, swig_types[5], 0, 0);
8496 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
8497 if (_v) {
8498 return _wrap_GFits_insert__SWIG_1(self, args);
8499 }
8500 }
8501 }
8502 }
8503
8504fail:
8505 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFits_insert'.\n"
8506 " Possible C/C++ prototypes are:\n"
8507 " GFits::insert(int const &,GFitsHDU const &)\n"
8508 " GFits::insert(std::string const &,GFitsHDU const &)\n");
8509 return 0;
8510}
8511
8512
8513SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits_remove__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8514 PyObject *resultobj = 0;
8515 GFits *arg1 = (GFits *) 0 ;
8516 int *arg2 = 0 ;
8517 void *argp1 = 0 ;
8518 int res1 = 0 ;
8519 int temp2 ;
8520 int val2 ;
8521 int ecode2 = 0 ;
8522 PyObject * obj0 = 0 ;
8523 PyObject * obj1 = 0 ;
8524
8525 if (!PyArg_ParseTuple(args,(char *)"OO:GFits_remove",&obj0,&obj1)) SWIG_failgoto fail;
8526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFits, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
8527 if (!SWIG_IsOK(res1)(res1 >= 0)) {
8528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFits_remove" "', argument " "1"" of type '" "GFits *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFits_remove" "', argument "
"1"" of type '" "GFits *""'"); goto fail; } while(0)
;
8529 }
8530 arg1 = reinterpret_cast< GFits * >(argp1);
8531 ecode2 = SWIG_AsVal_int(obj1, &val2);
8532 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
8533 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFits_remove" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFits_remove" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
8534 }
8535 temp2 = static_cast< int >(val2);
8536 arg2 = &temp2;
8537 {
8538 try {
8539 (arg1)->remove((int const &)*arg2);
8540 }
8541 catch (const GException::out_of_range& e) {
8542 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
8543 }
8544 catch (const GExceptionHandler& e) {
8545 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8546 }
8547 catch (const std::exception& e) {
8548 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8549 }
8550 }
8551 resultobj = SWIG_Py_Void();
8552 return resultobj;
8553fail:
8554 return NULL__null;
8555}
8556
8557
8558SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits_remove__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8559 PyObject *resultobj = 0;
8560 GFits *arg1 = (GFits *) 0 ;
8561 std::string *arg2 = 0 ;
8562 void *argp1 = 0 ;
8563 int res1 = 0 ;
8564 int res2 = SWIG_OLDOBJ((0)) ;
8565 PyObject * obj0 = 0 ;
8566 PyObject * obj1 = 0 ;
8567
8568 if (!PyArg_ParseTuple(args,(char *)"OO:GFits_remove",&obj0,&obj1)) SWIG_failgoto fail;
8569 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFits, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
8570 if (!SWIG_IsOK(res1)(res1 >= 0)) {
8571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFits_remove" "', argument " "1"" of type '" "GFits *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFits_remove" "', argument "
"1"" of type '" "GFits *""'"); goto fail; } while(0)
;
8572 }
8573 arg1 = reinterpret_cast< GFits * >(argp1);
8574 {
8575 std::string *ptr = (std::string *)0;
8576 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
8577 if (!SWIG_IsOK(res2)(res2 >= 0)) {
8578 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFits_remove" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFits_remove" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
8579 }
8580 if (!ptr) {
8581 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFits_remove" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFits_remove" "', argument " "2"" of type '" "std::string const &"
"'"); goto fail; } while(0)
;
8582 }
8583 arg2 = ptr;
8584 }
8585 {
8586 try {
8587 (arg1)->remove((std::string const &)*arg2);
8588 }
8589 catch (const GException::out_of_range& e) {
8590 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
8591 }
8592 catch (const GExceptionHandler& e) {
8593 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8594 }
8595 catch (const std::exception& e) {
8596 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8597 }
8598 }
8599 resultobj = SWIG_Py_Void();
8600 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
8601 return resultobj;
8602fail:
8603 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
8604 return NULL__null;
8605}
8606
8607
8608SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits_remove(PyObject *self, PyObject *args) {
8609 int argc;
8610 PyObject *argv[3];
8611 int ii;
8612
8613 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
8614 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
8615 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
8616 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
8617 }
8618 if (argc == 2) {
8619 int _v;
8620 void *vptr = 0;
8621 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFits, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[2
], 0, 0)
;
8622 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
8623 if (_v) {
8624 {
8625 int res = SWIG_AsVal_int(argv[1], NULL__null);
8626 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
8627 }
8628 if (_v) {
8629 return _wrap_GFits_remove__SWIG_0(self, args);
8630 }
8631 }
8632 }
8633 if (argc == 2) {
8634 int _v;
8635 void *vptr = 0;
8636 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFits, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[2
], 0, 0)
;
8637 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
8638 if (_v) {
8639 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
8640 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
8641 if (_v) {
8642 return _wrap_GFits_remove__SWIG_1(self, args);
8643 }
8644 }
8645 }
8646
8647fail:
8648 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFits_remove'.\n"
8649 " Possible C/C++ prototypes are:\n"
8650 " GFits::remove(int const &)\n"
8651 " GFits::remove(std::string const &)\n");
8652 return 0;
8653}
8654
8655
8656SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits_reserve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8657 PyObject *resultobj = 0;
8658 GFits *arg1 = (GFits *) 0 ;
8659 int *arg2 = 0 ;
8660 void *argp1 = 0 ;
8661 int res1 = 0 ;
8662 int temp2 ;
8663 int val2 ;
8664 int ecode2 = 0 ;
8665 PyObject * obj0 = 0 ;
8666 PyObject * obj1 = 0 ;
8667
8668 if (!PyArg_ParseTuple(args,(char *)"OO:GFits_reserve",&obj0,&obj1)) SWIG_failgoto fail;
8669 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFits, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
8670 if (!SWIG_IsOK(res1)(res1 >= 0)) {
8671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFits_reserve" "', argument " "1"" of type '" "GFits *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFits_reserve" "', argument "
"1"" of type '" "GFits *""'"); goto fail; } while(0)
;
8672 }
8673 arg1 = reinterpret_cast< GFits * >(argp1);
8674 ecode2 = SWIG_AsVal_int(obj1, &val2);
8675 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
8676 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFits_reserve" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFits_reserve" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
8677 }
8678 temp2 = static_cast< int >(val2);
8679 arg2 = &temp2;
8680 {
8681 try {
8682 (arg1)->reserve((int const &)*arg2);
8683 }
8684 catch (const GException::out_of_range& e) {
8685 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
8686 }
8687 catch (const GExceptionHandler& e) {
8688 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8689 }
8690 catch (const std::exception& e) {
8691 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8692 }
8693 }
8694 resultobj = SWIG_Py_Void();
8695 return resultobj;
8696fail:
8697 return NULL__null;
8698}
8699
8700
8701SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits_extend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8702 PyObject *resultobj = 0;
8703 GFits *arg1 = (GFits *) 0 ;
8704 GFits *arg2 = 0 ;
8705 void *argp1 = 0 ;
8706 int res1 = 0 ;
8707 void *argp2 = 0 ;
8708 int res2 = 0 ;
8709 PyObject * obj0 = 0 ;
8710 PyObject * obj1 = 0 ;
8711
8712 if (!PyArg_ParseTuple(args,(char *)"OO:GFits_extend",&obj0,&obj1)) SWIG_failgoto fail;
8713 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFits, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
8714 if (!SWIG_IsOK(res1)(res1 >= 0)) {
8715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFits_extend" "', argument " "1"" of type '" "GFits *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFits_extend" "', argument "
"1"" of type '" "GFits *""'"); goto fail; } while(0)
;
8716 }
8717 arg1 = reinterpret_cast< GFits * >(argp1);
8718 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GFits, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[2],
0 | 0, 0)
;
8719 if (!SWIG_IsOK(res2)(res2 >= 0)) {
8720 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFits_extend" "', argument " "2"" of type '" "GFits const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFits_extend" "', argument "
"2"" of type '" "GFits const &""'"); goto fail; } while(
0)
;
8721 }
8722 if (!argp2) {
8723 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFits_extend" "', argument " "2"" of type '" "GFits const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFits_extend" "', argument " "2"" of type '" "GFits const &"
"'"); goto fail; } while(0)
;
8724 }
8725 arg2 = reinterpret_cast< GFits * >(argp2);
8726 {
8727 try {
8728 (arg1)->extend((GFits const &)*arg2);
8729 }
8730 catch (const GException::out_of_range& e) {
8731 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
8732 }
8733 catch (const GExceptionHandler& e) {
8734 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8735 }
8736 catch (const std::exception& e) {
8737 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8738 }
8739 }
8740 resultobj = SWIG_Py_Void();
8741 return resultobj;
8742fail:
8743 return NULL__null;
8744}
8745
8746
8747SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits_contains__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8748 PyObject *resultobj = 0;
8749 GFits *arg1 = (GFits *) 0 ;
8750 int *arg2 = 0 ;
8751 void *argp1 = 0 ;
8752 int res1 = 0 ;
8753 int temp2 ;
8754 int val2 ;
8755 int ecode2 = 0 ;
8756 PyObject * obj0 = 0 ;
8757 PyObject * obj1 = 0 ;
8758 bool result;
8759
8760 if (!PyArg_ParseTuple(args,(char *)"OO:GFits_contains",&obj0,&obj1)) SWIG_failgoto fail;
8761 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFits, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
8762 if (!SWIG_IsOK(res1)(res1 >= 0)) {
8763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFits_contains" "', argument " "1"" of type '" "GFits const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFits_contains" "', argument "
"1"" of type '" "GFits const *""'"); goto fail; } while(0)
;
8764 }
8765 arg1 = reinterpret_cast< GFits * >(argp1);
8766 ecode2 = SWIG_AsVal_int(obj1, &val2);
8767 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
8768 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFits_contains" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFits_contains" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
8769 }
8770 temp2 = static_cast< int >(val2);
8771 arg2 = &temp2;
8772 {
8773 try {
8774 result = (bool)((GFits const *)arg1)->contains((int const &)*arg2);
8775 }
8776 catch (const GException::out_of_range& e) {
8777 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
8778 }
8779 catch (const GExceptionHandler& e) {
8780 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8781 }
8782 catch (const std::exception& e) {
8783 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8784 }
8785 }
8786 resultobj = SWIG_From_bool(static_cast< bool >(result));
8787 return resultobj;
8788fail:
8789 return NULL__null;
8790}
8791
8792
8793SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits_contains__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8794 PyObject *resultobj = 0;
8795 GFits *arg1 = (GFits *) 0 ;
8796 std::string *arg2 = 0 ;
8797 void *argp1 = 0 ;
8798 int res1 = 0 ;
8799 int res2 = SWIG_OLDOBJ((0)) ;
8800 PyObject * obj0 = 0 ;
8801 PyObject * obj1 = 0 ;
8802 bool result;
8803
8804 if (!PyArg_ParseTuple(args,(char *)"OO:GFits_contains",&obj0,&obj1)) SWIG_failgoto fail;
8805 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFits, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
8806 if (!SWIG_IsOK(res1)(res1 >= 0)) {
8807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFits_contains" "', argument " "1"" of type '" "GFits const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFits_contains" "', argument "
"1"" of type '" "GFits const *""'"); goto fail; } while(0)
;
8808 }
8809 arg1 = reinterpret_cast< GFits * >(argp1);
8810 {
8811 std::string *ptr = (std::string *)0;
8812 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
8813 if (!SWIG_IsOK(res2)(res2 >= 0)) {
8814 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFits_contains" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFits_contains" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
8815 }
8816 if (!ptr) {
8817 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFits_contains" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFits_contains" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
8818 }
8819 arg2 = ptr;
8820 }
8821 {
8822 try {
8823 result = (bool)((GFits const *)arg1)->contains((std::string const &)*arg2);
8824 }
8825 catch (const GException::out_of_range& e) {
8826 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
8827 }
8828 catch (const GExceptionHandler& e) {
8829 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8830 }
8831 catch (const std::exception& e) {
8832 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8833 }
8834 }
8835 resultobj = SWIG_From_bool(static_cast< bool >(result));
8836 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
8837 return resultobj;
8838fail:
8839 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
8840 return NULL__null;
8841}
8842
8843
8844SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits_contains(PyObject *self, PyObject *args) {
8845 int argc;
8846 PyObject *argv[3];
8847 int ii;
8848
8849 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
8850 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
8851 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
8852 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
8853 }
8854 if (argc == 2) {
8855 int _v;
8856 void *vptr = 0;
8857 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFits, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[2
], 0, 0)
;
8858 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
8859 if (_v) {
8860 {
8861 int res = SWIG_AsVal_int(argv[1], NULL__null);
8862 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
8863 }
8864 if (_v) {
8865 return _wrap_GFits_contains__SWIG_0(self, args);
8866 }
8867 }
8868 }
8869 if (argc == 2) {
8870 int _v;
8871 void *vptr = 0;
8872 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFits, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[2
], 0, 0)
;
8873 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
8874 if (_v) {
8875 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
8876 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
8877 if (_v) {
8878 return _wrap_GFits_contains__SWIG_1(self, args);
8879 }
8880 }
8881 }
8882
8883fail:
8884 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFits_contains'.\n"
8885 " Possible C/C++ prototypes are:\n"
8886 " GFits::contains(int const &) const\n"
8887 " GFits::contains(std::string const &) const\n");
8888 return 0;
8889}
8890
8891
8892SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits_filename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8893 PyObject *resultobj = 0;
8894 GFits *arg1 = (GFits *) 0 ;
8895 void *argp1 = 0 ;
8896 int res1 = 0 ;
8897 PyObject * obj0 = 0 ;
8898 std::string *result = 0 ;
8899
8900 if (!PyArg_ParseTuple(args,(char *)"O:GFits_filename",&obj0)) SWIG_failgoto fail;
8901 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFits, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
8902 if (!SWIG_IsOK(res1)(res1 >= 0)) {
8903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFits_filename" "', argument " "1"" of type '" "GFits const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFits_filename" "', argument "
"1"" of type '" "GFits const *""'"); goto fail; } while(0)
;
8904 }
8905 arg1 = reinterpret_cast< GFits * >(argp1);
8906 {
8907 try {
8908 result = (std::string *) &((GFits const *)arg1)->filename();
8909 }
8910 catch (const GException::out_of_range& e) {
8911 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
8912 }
8913 catch (const GExceptionHandler& e) {
8914 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8915 }
8916 catch (const std::exception& e) {
8917 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8918 }
8919 }
8920 resultobj = SWIG_From_std_string(static_cast< std::string >(*result));
8921 return resultobj;
8922fail:
8923 return NULL__null;
8924}
8925
8926
8927SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits_extno(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8928 PyObject *resultobj = 0;
8929 GFits *arg1 = (GFits *) 0 ;
8930 std::string *arg2 = 0 ;
8931 void *argp1 = 0 ;
8932 int res1 = 0 ;
8933 int res2 = SWIG_OLDOBJ((0)) ;
8934 PyObject * obj0 = 0 ;
8935 PyObject * obj1 = 0 ;
8936 int result;
8937
8938 if (!PyArg_ParseTuple(args,(char *)"OO:GFits_extno",&obj0,&obj1)) SWIG_failgoto fail;
8939 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFits, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
8940 if (!SWIG_IsOK(res1)(res1 >= 0)) {
8941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFits_extno" "', argument " "1"" of type '" "GFits const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFits_extno" "', argument "
"1"" of type '" "GFits const *""'"); goto fail; } while(0)
;
8942 }
8943 arg1 = reinterpret_cast< GFits * >(argp1);
8944 {
8945 std::string *ptr = (std::string *)0;
8946 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
8947 if (!SWIG_IsOK(res2)(res2 >= 0)) {
8948 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFits_extno" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFits_extno" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
8949 }
8950 if (!ptr) {
8951 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFits_extno" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFits_extno" "', argument " "2"" of type '" "std::string const &"
"'"); goto fail; } while(0)
;
8952 }
8953 arg2 = ptr;
8954 }
8955 {
8956 try {
8957 result = (int)((GFits const *)arg1)->extno((std::string const &)*arg2);
8958 }
8959 catch (const GException::out_of_range& e) {
8960 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
8961 }
8962 catch (const GExceptionHandler& e) {
8963 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8964 }
8965 catch (const std::exception& e) {
8966 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
8967 }
8968 }
8969 resultobj = SWIG_From_int(static_cast< int >(result));
8970 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
8971 return resultobj;
8972fail:
8973 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
8974 return NULL__null;
8975}
8976
8977
8978SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits_open__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8979 PyObject *resultobj = 0;
8980 GFits *arg1 = (GFits *) 0 ;
8981 std::string *arg2 = 0 ;
8982 bool *arg3 = 0 ;
8983 void *argp1 = 0 ;
8984 int res1 = 0 ;
8985 int res2 = SWIG_OLDOBJ((0)) ;
8986 bool temp3 ;
8987 bool val3 ;
8988 int ecode3 = 0 ;
8989 PyObject * obj0 = 0 ;
8990 PyObject * obj1 = 0 ;
8991 PyObject * obj2 = 0 ;
8992
8993 if (!PyArg_ParseTuple(args,(char *)"OOO:GFits_open",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
8994 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFits, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
8995 if (!SWIG_IsOK(res1)(res1 >= 0)) {
8996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFits_open" "', argument " "1"" of type '" "GFits *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFits_open" "', argument "
"1"" of type '" "GFits *""'"); goto fail; } while(0)
;
8997 }
8998 arg1 = reinterpret_cast< GFits * >(argp1);
8999 {
9000 std::string *ptr = (std::string *)0;
9001 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
9002 if (!SWIG_IsOK(res2)(res2 >= 0)) {
9003 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFits_open" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFits_open" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
9004 }
9005 if (!ptr) {
9006 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFits_open" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFits_open" "', argument " "2"" of type '" "std::string const &"
"'"); goto fail; } while(0)
;
9007 }
9008 arg2 = ptr;
9009 }
9010 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9011 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
9012 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFits_open" "', argument " "3"" of type '" "bool""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFits_open" "', argument "
"3"" of type '" "bool""'"); goto fail; } while(0)
;
9013 }
9014 temp3 = static_cast< bool >(val3);
9015 arg3 = &temp3;
9016 {
9017 try {
9018 (arg1)->open((std::string const &)*arg2,(bool const &)*arg3);
9019 }
9020 catch (const GException::out_of_range& e) {
9021 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
9022 }
9023 catch (const GExceptionHandler& e) {
9024 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9025 }
9026 catch (const std::exception& e) {
9027 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9028 }
9029 }
9030 resultobj = SWIG_Py_Void();
9031 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
9032 return resultobj;
9033fail:
9034 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
9035 return NULL__null;
9036}
9037
9038
9039SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits_open__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9040 PyObject *resultobj = 0;
9041 GFits *arg1 = (GFits *) 0 ;
9042 std::string *arg2 = 0 ;
9043 void *argp1 = 0 ;
9044 int res1 = 0 ;
9045 int res2 = SWIG_OLDOBJ((0)) ;
9046 PyObject * obj0 = 0 ;
9047 PyObject * obj1 = 0 ;
9048
9049 if (!PyArg_ParseTuple(args,(char *)"OO:GFits_open",&obj0,&obj1)) SWIG_failgoto fail;
9050 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFits, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
9051 if (!SWIG_IsOK(res1)(res1 >= 0)) {
9052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFits_open" "', argument " "1"" of type '" "GFits *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFits_open" "', argument "
"1"" of type '" "GFits *""'"); goto fail; } while(0)
;
9053 }
9054 arg1 = reinterpret_cast< GFits * >(argp1);
9055 {
9056 std::string *ptr = (std::string *)0;
9057 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
9058 if (!SWIG_IsOK(res2)(res2 >= 0)) {
9059 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFits_open" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFits_open" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
9060 }
9061 if (!ptr) {
9062 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFits_open" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFits_open" "', argument " "2"" of type '" "std::string const &"
"'"); goto fail; } while(0)
;
9063 }
9064 arg2 = ptr;
9065 }
9066 {
9067 try {
9068 (arg1)->open((std::string const &)*arg2);
9069 }
9070 catch (const GException::out_of_range& e) {
9071 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
9072 }
9073 catch (const GExceptionHandler& e) {
9074 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9075 }
9076 catch (const std::exception& e) {
9077 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9078 }
9079 }
9080 resultobj = SWIG_Py_Void();
9081 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
9082 return resultobj;
9083fail:
9084 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
9085 return NULL__null;
9086}
9087
9088
9089SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits_open(PyObject *self, PyObject *args) {
9090 int argc;
9091 PyObject *argv[4];
9092 int ii;
9093
9094 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
9095 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
9096 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
9097 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
9098 }
9099 if (argc == 2) {
9100 int _v;
9101 void *vptr = 0;
9102 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFits, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[2
], 0, 0)
;
9103 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
9104 if (_v) {
9105 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
9106 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
9107 if (_v) {
9108 return _wrap_GFits_open__SWIG_1(self, args);
9109 }
9110 }
9111 }
9112 if (argc == 3) {
9113 int _v;
9114 void *vptr = 0;
9115 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFits, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[2
], 0, 0)
;
9116 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
9117 if (_v) {
9118 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
9119 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
9120 if (_v) {
9121 {
9122 int res = SWIG_AsVal_bool(argv[2], NULL__null);
9123 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
9124 }
9125 if (_v) {
9126 return _wrap_GFits_open__SWIG_0(self, args);
9127 }
9128 }
9129 }
9130 }
9131
9132fail:
9133 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFits_open'.\n"
9134 " Possible C/C++ prototypes are:\n"
9135 " GFits::open(std::string const &,bool const &)\n"
9136 " GFits::open(std::string const &)\n");
9137 return 0;
9138}
9139
9140
9141SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits_save__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9142 PyObject *resultobj = 0;
9143 GFits *arg1 = (GFits *) 0 ;
9144 bool *arg2 = 0 ;
9145 void *argp1 = 0 ;
9146 int res1 = 0 ;
9147 bool temp2 ;
9148 bool val2 ;
9149 int ecode2 = 0 ;
9150 PyObject * obj0 = 0 ;
9151 PyObject * obj1 = 0 ;
9152
9153 if (!PyArg_ParseTuple(args,(char *)"OO:GFits_save",&obj0,&obj1)) SWIG_failgoto fail;
9154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFits, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
9155 if (!SWIG_IsOK(res1)(res1 >= 0)) {
9156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFits_save" "', argument " "1"" of type '" "GFits *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFits_save" "', argument "
"1"" of type '" "GFits *""'"); goto fail; } while(0)
;
9157 }
9158 arg1 = reinterpret_cast< GFits * >(argp1);
9159 ecode2 = SWIG_AsVal_bool(obj1, &val2);
9160 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
9161 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFits_save" "', argument " "2"" of type '" "bool""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFits_save" "', argument "
"2"" of type '" "bool""'"); goto fail; } while(0)
;
9162 }
9163 temp2 = static_cast< bool >(val2);
9164 arg2 = &temp2;
9165 {
9166 try {
9167 (arg1)->save((bool const &)*arg2);
9168 }
9169 catch (const GException::out_of_range& e) {
9170 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
9171 }
9172 catch (const GExceptionHandler& e) {
9173 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9174 }
9175 catch (const std::exception& e) {
9176 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9177 }
9178 }
9179 resultobj = SWIG_Py_Void();
9180 return resultobj;
9181fail:
9182 return NULL__null;
9183}
9184
9185
9186SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits_save__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9187 PyObject *resultobj = 0;
9188 GFits *arg1 = (GFits *) 0 ;
9189 void *argp1 = 0 ;
9190 int res1 = 0 ;
9191 PyObject * obj0 = 0 ;
9192
9193 if (!PyArg_ParseTuple(args,(char *)"O:GFits_save",&obj0)) SWIG_failgoto fail;
9194 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFits, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
9195 if (!SWIG_IsOK(res1)(res1 >= 0)) {
9196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFits_save" "', argument " "1"" of type '" "GFits *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFits_save" "', argument "
"1"" of type '" "GFits *""'"); goto fail; } while(0)
;
9197 }
9198 arg1 = reinterpret_cast< GFits * >(argp1);
9199 {
9200 try {
9201 (arg1)->save();
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_Py_Void();
9214 return resultobj;
9215fail:
9216 return NULL__null;
9217}
9218
9219
9220SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits_save(PyObject *self, PyObject *args) {
9221 int argc;
9222 PyObject *argv[3];
9223 int ii;
9224
9225 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
9226 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
9227 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
9228 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
9229 }
9230 if (argc == 1) {
9231 int _v;
9232 void *vptr = 0;
9233 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFits, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[2
], 0, 0)
;
9234 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
9235 if (_v) {
9236 return _wrap_GFits_save__SWIG_1(self, args);
9237 }
9238 }
9239 if (argc == 2) {
9240 int _v;
9241 void *vptr = 0;
9242 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFits, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[2
], 0, 0)
;
9243 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
9244 if (_v) {
9245 {
9246 int res = SWIG_AsVal_bool(argv[1], NULL__null);
9247 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
9248 }
9249 if (_v) {
9250 return _wrap_GFits_save__SWIG_0(self, args);
9251 }
9252 }
9253 }
9254
9255fail:
9256 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFits_save'.\n"
9257 " Possible C/C++ prototypes are:\n"
9258 " GFits::save(bool const &)\n"
9259 " GFits::save()\n");
9260 return 0;
9261}
9262
9263
9264SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits_saveto__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9265 PyObject *resultobj = 0;
9266 GFits *arg1 = (GFits *) 0 ;
9267 std::string *arg2 = 0 ;
9268 bool *arg3 = 0 ;
9269 void *argp1 = 0 ;
9270 int res1 = 0 ;
9271 int res2 = SWIG_OLDOBJ((0)) ;
9272 bool temp3 ;
9273 bool val3 ;
9274 int ecode3 = 0 ;
9275 PyObject * obj0 = 0 ;
9276 PyObject * obj1 = 0 ;
9277 PyObject * obj2 = 0 ;
9278
9279 if (!PyArg_ParseTuple(args,(char *)"OOO:GFits_saveto",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
9280 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFits, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
9281 if (!SWIG_IsOK(res1)(res1 >= 0)) {
9282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFits_saveto" "', argument " "1"" of type '" "GFits *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFits_saveto" "', argument "
"1"" of type '" "GFits *""'"); goto fail; } while(0)
;
9283 }
9284 arg1 = reinterpret_cast< GFits * >(argp1);
9285 {
9286 std::string *ptr = (std::string *)0;
9287 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
9288 if (!SWIG_IsOK(res2)(res2 >= 0)) {
9289 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFits_saveto" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFits_saveto" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
9290 }
9291 if (!ptr) {
9292 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFits_saveto" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFits_saveto" "', argument " "2"" of type '" "std::string const &"
"'"); goto fail; } while(0)
;
9293 }
9294 arg2 = ptr;
9295 }
9296 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9297 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
9298 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFits_saveto" "', argument " "3"" of type '" "bool""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFits_saveto" "', argument "
"3"" of type '" "bool""'"); goto fail; } while(0)
;
9299 }
9300 temp3 = static_cast< bool >(val3);
9301 arg3 = &temp3;
9302 {
9303 try {
9304 (arg1)->saveto((std::string const &)*arg2,(bool const &)*arg3);
9305 }
9306 catch (const GException::out_of_range& e) {
9307 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
9308 }
9309 catch (const GExceptionHandler& e) {
9310 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9311 }
9312 catch (const std::exception& e) {
9313 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9314 }
9315 }
9316 resultobj = SWIG_Py_Void();
9317 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
9318 return resultobj;
9319fail:
9320 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
9321 return NULL__null;
9322}
9323
9324
9325SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits_saveto__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9326 PyObject *resultobj = 0;
9327 GFits *arg1 = (GFits *) 0 ;
9328 std::string *arg2 = 0 ;
9329 void *argp1 = 0 ;
9330 int res1 = 0 ;
9331 int res2 = SWIG_OLDOBJ((0)) ;
9332 PyObject * obj0 = 0 ;
9333 PyObject * obj1 = 0 ;
9334
9335 if (!PyArg_ParseTuple(args,(char *)"OO:GFits_saveto",&obj0,&obj1)) SWIG_failgoto fail;
9336 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFits, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
9337 if (!SWIG_IsOK(res1)(res1 >= 0)) {
9338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFits_saveto" "', argument " "1"" of type '" "GFits *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFits_saveto" "', argument "
"1"" of type '" "GFits *""'"); goto fail; } while(0)
;
9339 }
9340 arg1 = reinterpret_cast< GFits * >(argp1);
9341 {
9342 std::string *ptr = (std::string *)0;
9343 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
9344 if (!SWIG_IsOK(res2)(res2 >= 0)) {
9345 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFits_saveto" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFits_saveto" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
9346 }
9347 if (!ptr) {
9348 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFits_saveto" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFits_saveto" "', argument " "2"" of type '" "std::string const &"
"'"); goto fail; } while(0)
;
9349 }
9350 arg2 = ptr;
9351 }
9352 {
9353 try {
9354 (arg1)->saveto((std::string const &)*arg2);
9355 }
9356 catch (const GException::out_of_range& e) {
9357 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
9358 }
9359 catch (const GExceptionHandler& e) {
9360 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9361 }
9362 catch (const std::exception& e) {
9363 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9364 }
9365 }
9366 resultobj = SWIG_Py_Void();
9367 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
9368 return resultobj;
9369fail:
9370 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
9371 return NULL__null;
9372}
9373
9374
9375SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits_saveto(PyObject *self, PyObject *args) {
9376 int argc;
9377 PyObject *argv[4];
9378 int ii;
9379
9380 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
9381 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
9382 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
9383 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
9384 }
9385 if (argc == 2) {
9386 int _v;
9387 void *vptr = 0;
9388 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFits, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[2
], 0, 0)
;
9389 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
9390 if (_v) {
9391 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
9392 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
9393 if (_v) {
9394 return _wrap_GFits_saveto__SWIG_1(self, args);
9395 }
9396 }
9397 }
9398 if (argc == 3) {
9399 int _v;
9400 void *vptr = 0;
9401 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFits, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[2
], 0, 0)
;
9402 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
9403 if (_v) {
9404 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
9405 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
9406 if (_v) {
9407 {
9408 int res = SWIG_AsVal_bool(argv[2], NULL__null);
9409 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
9410 }
9411 if (_v) {
9412 return _wrap_GFits_saveto__SWIG_0(self, args);
9413 }
9414 }
9415 }
9416 }
9417
9418fail:
9419 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFits_saveto'.\n"
9420 " Possible C/C++ prototypes are:\n"
9421 " GFits::saveto(std::string const &,bool const &)\n"
9422 " GFits::saveto(std::string const &)\n");
9423 return 0;
9424}
9425
9426
9427SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits_close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9428 PyObject *resultobj = 0;
9429 GFits *arg1 = (GFits *) 0 ;
9430 void *argp1 = 0 ;
9431 int res1 = 0 ;
9432 PyObject * obj0 = 0 ;
9433
9434 if (!PyArg_ParseTuple(args,(char *)"O:GFits_close",&obj0)) SWIG_failgoto fail;
9435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFits, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
9436 if (!SWIG_IsOK(res1)(res1 >= 0)) {
9437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFits_close" "', argument " "1"" of type '" "GFits *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFits_close" "', argument "
"1"" of type '" "GFits *""'"); goto fail; } while(0)
;
9438 }
9439 arg1 = reinterpret_cast< GFits * >(argp1);
9440 {
9441 try {
9442 (arg1)->close();
9443 }
9444 catch (const GException::out_of_range& e) {
9445 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
9446 }
9447 catch (const GExceptionHandler& e) {
9448 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9449 }
9450 catch (const std::exception& e) {
9451 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9452 }
9453 }
9454 resultobj = SWIG_Py_Void();
9455 return resultobj;
9456fail:
9457 return NULL__null;
9458}
9459
9460
9461SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9462 PyObject *resultobj = 0;
9463 GFits *arg1 = (GFits *) 0 ;
9464 int *arg2 = 0 ;
9465 void *argp1 = 0 ;
9466 int res1 = 0 ;
9467 int temp2 ;
9468 int val2 ;
9469 int ecode2 = 0 ;
9470 PyObject * obj0 = 0 ;
9471 PyObject * obj1 = 0 ;
9472 GFitsHDU *result = 0 ;
9473
9474 if (!PyArg_ParseTuple(args,(char *)"OO:GFits___getitem__",&obj0,&obj1)) SWIG_failgoto fail;
9475 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFits, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
9476 if (!SWIG_IsOK(res1)(res1 >= 0)) {
9477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFits___getitem__" "', argument " "1"" of type '" "GFits *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFits___getitem__" "', argument "
"1"" of type '" "GFits *""'"); goto fail; } while(0)
;
9478 }
9479 arg1 = reinterpret_cast< GFits * >(argp1);
9480 ecode2 = SWIG_AsVal_int(obj1, &val2);
9481 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
9482 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFits___getitem__" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFits___getitem__" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
9483 }
9484 temp2 = static_cast< int >(val2);
9485 arg2 = &temp2;
9486 {
9487 try {
9488 result = (GFitsHDU *)GFits___getitem____SWIG_0(arg1,(int const &)*arg2);
9489 }
9490 catch (const GException::out_of_range& e) {
9491 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
9492 }
9493 catch (const GExceptionHandler& e) {
9494 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9495 }
9496 catch (const std::exception& e) {
9497 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9498 }
9499 }
9500 {
9501 if (dynamic_cast<GFitsImage*>(result) != NULL__null) {
9502 if (dynamic_cast<GFitsImageByte*>(result) != NULL__null) {
9503 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageByte, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[9], 0 |
0)
;
9504 }
9505 else if (dynamic_cast<GFitsImageDouble*>(result) != NULL__null) {
9506 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageDouble, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[10], 0
| 0)
;
9507 }
9508 else if (dynamic_cast<GFitsImageFloat*>(result) != NULL__null) {
9509 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageFloat, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], 0
| 0)
;
9510 }
9511 else if (dynamic_cast<GFitsImageLong*>(result) != NULL__null) {
9512 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageFloat, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], 0
| 0)
;
9513 }
9514 else if (dynamic_cast<GFitsImageLongLong*>(result) != NULL__null) {
9515 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageLongLong, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[13], 0
| 0)
;
9516 }
9517 else if (dynamic_cast<GFitsImageSByte*>(result) != NULL__null) {
9518 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageSByte, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[14], 0
| 0)
;
9519 }
9520 else if (dynamic_cast<GFitsImageShort*>(result) != NULL__null) {
9521 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageShort, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[15], 0
| 0)
;
9522 }
9523 else if (dynamic_cast<GFitsImageULong*>(result) != NULL__null) {
9524 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageULong, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[16], 0
| 0)
;
9525 }
9526 else if (dynamic_cast<GFitsImageUShort*>(result) != NULL__null) {
9527 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageUShort, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[17], 0
| 0)
;
9528 }
9529 else {
9530 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImage, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[8], 0 |
0)
;
9531 }
9532 }
9533 else if (dynamic_cast<GFitsTable*>(result) != NULL__null) {
9534 if (dynamic_cast<GFitsBinTable*>(result) != NULL__null) {
9535 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsBinTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[4], 0 |
0)
;
9536 }
9537 else if (dynamic_cast<GFitsAsciiTable*>(result) != NULL__null) {
9538 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsAsciiTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[3], 0 |
0)
;
9539 }
9540 else {
9541 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[18], 0
| 0)
;
9542 }
9543 }
9544 else {
9545 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsHDU, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[5], 0 |
0)
;
9546 }
9547 }
9548 return resultobj;
9549fail:
9550 return NULL__null;
9551}
9552
9553
9554SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9555 PyObject *resultobj = 0;
9556 GFits *arg1 = (GFits *) 0 ;
9557 std::string *arg2 = 0 ;
9558 void *argp1 = 0 ;
9559 int res1 = 0 ;
9560 int res2 = SWIG_OLDOBJ((0)) ;
9561 PyObject * obj0 = 0 ;
9562 PyObject * obj1 = 0 ;
9563 GFitsHDU *result = 0 ;
9564
9565 if (!PyArg_ParseTuple(args,(char *)"OO:GFits___getitem__",&obj0,&obj1)) SWIG_failgoto fail;
9566 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFits, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
9567 if (!SWIG_IsOK(res1)(res1 >= 0)) {
9568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFits___getitem__" "', argument " "1"" of type '" "GFits *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFits___getitem__" "', argument "
"1"" of type '" "GFits *""'"); goto fail; } while(0)
;
9569 }
9570 arg1 = reinterpret_cast< GFits * >(argp1);
9571 {
9572 std::string *ptr = (std::string *)0;
9573 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
9574 if (!SWIG_IsOK(res2)(res2 >= 0)) {
9575 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFits___getitem__" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFits___getitem__" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
9576 }
9577 if (!ptr) {
9578 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFits___getitem__" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFits___getitem__" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
9579 }
9580 arg2 = ptr;
9581 }
9582 {
9583 try {
9584 result = (GFitsHDU *)GFits___getitem____SWIG_1(arg1,(std::string const &)*arg2);
9585 }
9586 catch (const GException::out_of_range& e) {
9587 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
9588 }
9589 catch (const GExceptionHandler& e) {
9590 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9591 }
9592 catch (const std::exception& e) {
9593 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9594 }
9595 }
9596 {
9597 if (dynamic_cast<GFitsImage*>(result) != NULL__null) {
9598 if (dynamic_cast<GFitsImageByte*>(result) != NULL__null) {
9599 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageByte, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[9], 0 |
0)
;
9600 }
9601 else if (dynamic_cast<GFitsImageDouble*>(result) != NULL__null) {
9602 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageDouble, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[10], 0
| 0)
;
9603 }
9604 else if (dynamic_cast<GFitsImageFloat*>(result) != NULL__null) {
9605 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageFloat, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], 0
| 0)
;
9606 }
9607 else if (dynamic_cast<GFitsImageLong*>(result) != NULL__null) {
9608 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageFloat, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], 0
| 0)
;
9609 }
9610 else if (dynamic_cast<GFitsImageLongLong*>(result) != NULL__null) {
9611 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageLongLong, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[13], 0
| 0)
;
9612 }
9613 else if (dynamic_cast<GFitsImageSByte*>(result) != NULL__null) {
9614 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageSByte, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[14], 0
| 0)
;
9615 }
9616 else if (dynamic_cast<GFitsImageShort*>(result) != NULL__null) {
9617 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageShort, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[15], 0
| 0)
;
9618 }
9619 else if (dynamic_cast<GFitsImageULong*>(result) != NULL__null) {
9620 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageULong, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[16], 0
| 0)
;
9621 }
9622 else if (dynamic_cast<GFitsImageUShort*>(result) != NULL__null) {
9623 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageUShort, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[17], 0
| 0)
;
9624 }
9625 else {
9626 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImage, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[8], 0 |
0)
;
9627 }
9628 }
9629 else if (dynamic_cast<GFitsTable*>(result) != NULL__null) {
9630 if (dynamic_cast<GFitsBinTable*>(result) != NULL__null) {
9631 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsBinTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[4], 0 |
0)
;
9632 }
9633 else if (dynamic_cast<GFitsAsciiTable*>(result) != NULL__null) {
9634 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsAsciiTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[3], 0 |
0)
;
9635 }
9636 else {
9637 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[18], 0
| 0)
;
9638 }
9639 }
9640 else {
9641 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsHDU, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[5], 0 |
0)
;
9642 }
9643 }
9644 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
9645 return resultobj;
9646fail:
9647 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
9648 return NULL__null;
9649}
9650
9651
9652SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits___getitem__(PyObject *self, PyObject *args) {
9653 int argc;
9654 PyObject *argv[3];
9655 int ii;
9656
9657 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
9658 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
9659 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
9660 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
9661 }
9662 if (argc == 2) {
9663 int _v;
9664 void *vptr = 0;
9665 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFits, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[2
], 0, 0)
;
9666 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
9667 if (_v) {
9668 {
9669 int res = SWIG_AsVal_int(argv[1], NULL__null);
9670 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
9671 }
9672 if (_v) {
9673 return _wrap_GFits___getitem____SWIG_0(self, args);
9674 }
9675 }
9676 }
9677 if (argc == 2) {
9678 int _v;
9679 void *vptr = 0;
9680 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFits, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[2
], 0, 0)
;
9681 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
9682 if (_v) {
9683 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
9684 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
9685 if (_v) {
9686 return _wrap_GFits___getitem____SWIG_1(self, args);
9687 }
9688 }
9689 }
9690
9691fail:
9692 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFits___getitem__'.\n"
9693 " Possible C/C++ prototypes are:\n"
9694 " GFits::__getitem__(int const &)\n"
9695 " GFits::__getitem__(std::string const &)\n");
9696 return 0;
9697}
9698
9699
9700SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9701 PyObject *resultobj = 0;
9702 GFits *arg1 = (GFits *) 0 ;
9703 int *arg2 = 0 ;
9704 GFitsHDU *arg3 = 0 ;
9705 void *argp1 = 0 ;
9706 int res1 = 0 ;
9707 int temp2 ;
9708 int val2 ;
9709 int ecode2 = 0 ;
9710 void *argp3 = 0 ;
9711 int res3 = 0 ;
9712 PyObject * obj0 = 0 ;
9713 PyObject * obj1 = 0 ;
9714 PyObject * obj2 = 0 ;
9715
9716 if (!PyArg_ParseTuple(args,(char *)"OOO:GFits___setitem__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
9717 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFits, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
9718 if (!SWIG_IsOK(res1)(res1 >= 0)) {
9719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFits___setitem__" "', argument " "1"" of type '" "GFits *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFits___setitem__" "', argument "
"1"" of type '" "GFits *""'"); goto fail; } while(0)
;
9720 }
9721 arg1 = reinterpret_cast< GFits * >(argp1);
9722 ecode2 = SWIG_AsVal_int(obj1, &val2);
9723 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
9724 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFits___setitem__" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFits___setitem__" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
9725 }
9726 temp2 = static_cast< int >(val2);
9727 arg2 = &temp2;
9728 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GFitsHDU, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[5],
0 | 0, 0)
;
9729 if (!SWIG_IsOK(res3)(res3 >= 0)) {
9730 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GFits___setitem__" "', argument " "3"" of type '" "GFitsHDU const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GFits___setitem__" "', argument "
"3"" of type '" "GFitsHDU const &""'"); goto fail; } while
(0)
;
9731 }
9732 if (!argp3) {
9733 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFits___setitem__" "', argument " "3"" of type '" "GFitsHDU const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFits___setitem__" "', argument " "3"" of type '"
"GFitsHDU const &""'"); goto fail; } while(0)
;
9734 }
9735 arg3 = reinterpret_cast< GFitsHDU * >(argp3);
9736 {
9737 try {
9738 GFits___setitem____SWIG_0(arg1,(int const &)*arg2,(GFitsHDU const &)*arg3);
9739 }
9740 catch (const GException::out_of_range& e) {
9741 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
9742 }
9743 catch (const GExceptionHandler& e) {
9744 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9745 }
9746 catch (const std::exception& e) {
9747 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9748 }
9749 }
9750 resultobj = SWIG_Py_Void();
9751 return resultobj;
9752fail:
9753 return NULL__null;
9754}
9755
9756
9757SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9758 PyObject *resultobj = 0;
9759 GFits *arg1 = (GFits *) 0 ;
9760 std::string *arg2 = 0 ;
9761 GFitsHDU *arg3 = 0 ;
9762 void *argp1 = 0 ;
9763 int res1 = 0 ;
9764 int res2 = SWIG_OLDOBJ((0)) ;
9765 void *argp3 = 0 ;
9766 int res3 = 0 ;
9767 PyObject * obj0 = 0 ;
9768 PyObject * obj1 = 0 ;
9769 PyObject * obj2 = 0 ;
9770
9771 if (!PyArg_ParseTuple(args,(char *)"OOO:GFits___setitem__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
9772 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFits, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
9773 if (!SWIG_IsOK(res1)(res1 >= 0)) {
9774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFits___setitem__" "', argument " "1"" of type '" "GFits *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFits___setitem__" "', argument "
"1"" of type '" "GFits *""'"); goto fail; } while(0)
;
9775 }
9776 arg1 = reinterpret_cast< GFits * >(argp1);
9777 {
9778 std::string *ptr = (std::string *)0;
9779 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
9780 if (!SWIG_IsOK(res2)(res2 >= 0)) {
9781 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFits___setitem__" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFits___setitem__" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
9782 }
9783 if (!ptr) {
9784 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFits___setitem__" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFits___setitem__" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
9785 }
9786 arg2 = ptr;
9787 }
9788 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GFitsHDU, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[5],
0 | 0, 0)
;
9789 if (!SWIG_IsOK(res3)(res3 >= 0)) {
9790 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GFits___setitem__" "', argument " "3"" of type '" "GFitsHDU const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GFits___setitem__" "', argument "
"3"" of type '" "GFitsHDU const &""'"); goto fail; } while
(0)
;
9791 }
9792 if (!argp3) {
9793 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFits___setitem__" "', argument " "3"" of type '" "GFitsHDU const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFits___setitem__" "', argument " "3"" of type '"
"GFitsHDU const &""'"); goto fail; } while(0)
;
9794 }
9795 arg3 = reinterpret_cast< GFitsHDU * >(argp3);
9796 {
9797 try {
9798 GFits___setitem____SWIG_1(arg1,(std::string const &)*arg2,(GFitsHDU const &)*arg3);
9799 }
9800 catch (const GException::out_of_range& e) {
9801 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
9802 }
9803 catch (const GExceptionHandler& e) {
9804 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9805 }
9806 catch (const std::exception& e) {
9807 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9808 }
9809 }
9810 resultobj = SWIG_Py_Void();
9811 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
9812 return resultobj;
9813fail:
9814 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
9815 return NULL__null;
9816}
9817
9818
9819SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits___setitem__(PyObject *self, PyObject *args) {
9820 int argc;
9821 PyObject *argv[4];
9822 int ii;
9823
9824 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
9825 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
9826 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
9827 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
9828 }
9829 if (argc == 3) {
9830 int _v;
9831 void *vptr = 0;
9832 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFits, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[2
], 0, 0)
;
9833 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
9834 if (_v) {
9835 {
9836 int res = SWIG_AsVal_int(argv[1], NULL__null);
9837 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
9838 }
9839 if (_v) {
9840 int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_GFitsHDU, 0)SWIG_Python_ConvertPtrAndOwn(argv[2], 0, swig_types[5], 0, 0);
9841 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
9842 if (_v) {
9843 return _wrap_GFits___setitem____SWIG_0(self, args);
9844 }
9845 }
9846 }
9847 }
9848 if (argc == 3) {
9849 int _v;
9850 void *vptr = 0;
9851 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFits, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[2
], 0, 0)
;
9852 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
9853 if (_v) {
9854 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
9855 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
9856 if (_v) {
9857 int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_GFitsHDU, 0)SWIG_Python_ConvertPtrAndOwn(argv[2], 0, swig_types[5], 0, 0);
9858 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
9859 if (_v) {
9860 return _wrap_GFits___setitem____SWIG_1(self, args);
9861 }
9862 }
9863 }
9864 }
9865
9866fail:
9867 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFits___setitem__'.\n"
9868 " Possible C/C++ prototypes are:\n"
9869 " GFits::__setitem__(int const &,GFitsHDU const &)\n"
9870 " GFits::__setitem__(std::string const &,GFitsHDU const &)\n");
9871 return 0;
9872}
9873
9874
9875SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFits_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9876 PyObject *resultobj = 0;
9877 GFits *arg1 = (GFits *) 0 ;
9878 void *argp1 = 0 ;
9879 int res1 = 0 ;
9880 PyObject * obj0 = 0 ;
9881 GFits result;
9882
9883 if (!PyArg_ParseTuple(args,(char *)"O:GFits_copy",&obj0)) SWIG_failgoto fail;
9884 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFits, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[2],
0 | 0, 0)
;
9885 if (!SWIG_IsOK(res1)(res1 >= 0)) {
9886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFits_copy" "', argument " "1"" of type '" "GFits *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFits_copy" "', argument "
"1"" of type '" "GFits *""'"); goto fail; } while(0)
;
9887 }
9888 arg1 = reinterpret_cast< GFits * >(argp1);
9889 {
9890 try {
9891 result = GFits_copy(arg1);
9892 }
9893 catch (const GException::out_of_range& e) {
9894 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
9895 }
9896 catch (const GExceptionHandler& e) {
9897 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9898 }
9899 catch (const std::exception& e) {
9900 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9901 }
9902 }
9903 resultobj = SWIG_NewPointerObj((new GFits(static_cast< const GFits& >(result))), SWIGTYPE_p_GFits, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GFits(static_cast< const
GFits& >(result))), swig_types[2], 0x1 | 0)
;
9904 return resultobj;
9905fail:
9906 return NULL__null;
9907}
9908
9909
9910SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GFits_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9911 PyObject *obj;
9912 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
9913 SWIG_TypeNewClientData(SWIGTYPE_p_GFitsswig_types[2], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
9914 return SWIG_Py_Void();
9915}
9916
9917SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GFitsHDU(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9918 PyObject *resultobj = 0;
9919 GFitsHDU *arg1 = (GFitsHDU *) 0 ;
9920 void *argp1 = 0 ;
9921 int res1 = 0 ;
9922 PyObject * obj0 = 0 ;
9923
9924 if (!PyArg_ParseTuple(args,(char *)"O:delete_GFitsHDU",&obj0)) SWIG_failgoto fail;
9925 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHDU, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[5],
0x1 | 0, 0)
;
9926 if (!SWIG_IsOK(res1)(res1 >= 0)) {
9927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GFitsHDU" "', argument " "1"" of type '" "GFitsHDU *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GFitsHDU" "', argument "
"1"" of type '" "GFitsHDU *""'"); goto fail; } while(0)
;
9928 }
9929 arg1 = reinterpret_cast< GFitsHDU * >(argp1);
9930 {
9931 try {
9932 delete arg1;
9933 }
9934 catch (const GException::out_of_range& e) {
9935 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
9936 }
9937 catch (const GExceptionHandler& e) {
9938 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9939 }
9940 catch (const std::exception& e) {
9941 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
9942 }
9943 }
9944 resultobj = SWIG_Py_Void();
9945 return resultobj;
9946fail:
9947 return NULL__null;
9948}
9949
9950
9951SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHDU_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9952 PyObject *resultobj = 0;
9953 GFitsHDU *arg1 = (GFitsHDU *) 0 ;
9954 void *argp1 = 0 ;
9955 int res1 = 0 ;
9956 PyObject * obj0 = 0 ;
9957
9958 if (!PyArg_ParseTuple(args,(char *)"O:GFitsHDU_clear",&obj0)) SWIG_failgoto fail;
9959 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHDU, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[5],
0 | 0, 0)
;
9960 if (!SWIG_IsOK(res1)(res1 >= 0)) {
9961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHDU_clear" "', argument " "1"" of type '" "GFitsHDU *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHDU_clear" "', argument "
"1"" of type '" "GFitsHDU *""'"); goto fail; } while(0)
;
9962 }
9963 arg1 = reinterpret_cast< GFitsHDU * >(argp1);
9964 {
9965 try {
9966 (arg1)->clear();
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 return resultobj;
9980fail:
9981 return NULL__null;
9982}
9983
9984
9985SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHDU_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9986 PyObject *resultobj = 0;
9987 GFitsHDU *arg1 = (GFitsHDU *) 0 ;
9988 void *argp1 = 0 ;
9989 int res1 = 0 ;
9990 PyObject * obj0 = 0 ;
9991 GFitsHDU *result = 0 ;
9992
9993 if (!PyArg_ParseTuple(args,(char *)"O:GFitsHDU_clone",&obj0)) SWIG_failgoto fail;
9994 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHDU, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[5],
0 | 0, 0)
;
9995 if (!SWIG_IsOK(res1)(res1 >= 0)) {
9996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHDU_clone" "', argument " "1"" of type '" "GFitsHDU const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHDU_clone" "', argument "
"1"" of type '" "GFitsHDU const *""'"); goto fail; } while(0
)
;
9997 }
9998 arg1 = reinterpret_cast< GFitsHDU * >(argp1);
9999 {
10000 try {
10001 result = (GFitsHDU *)((GFitsHDU const *)arg1)->clone();
10002 }
10003 catch (const GException::out_of_range& e) {
10004 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
10005 }
10006 catch (const GExceptionHandler& e) {
10007 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10008 }
10009 catch (const std::exception& e) {
10010 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10011 }
10012 }
10013 {
10014 if (dynamic_cast<GFitsImage*>(result) != NULL__null) {
10015 if (dynamic_cast<GFitsImageByte*>(result) != NULL__null) {
10016 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageByte, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[9], 0 |
0)
;
10017 }
10018 else if (dynamic_cast<GFitsImageDouble*>(result) != NULL__null) {
10019 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageDouble, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[10], 0
| 0)
;
10020 }
10021 else if (dynamic_cast<GFitsImageFloat*>(result) != NULL__null) {
10022 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageFloat, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], 0
| 0)
;
10023 }
10024 else if (dynamic_cast<GFitsImageLong*>(result) != NULL__null) {
10025 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageFloat, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], 0
| 0)
;
10026 }
10027 else if (dynamic_cast<GFitsImageLongLong*>(result) != NULL__null) {
10028 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageLongLong, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[13], 0
| 0)
;
10029 }
10030 else if (dynamic_cast<GFitsImageSByte*>(result) != NULL__null) {
10031 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageSByte, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[14], 0
| 0)
;
10032 }
10033 else if (dynamic_cast<GFitsImageShort*>(result) != NULL__null) {
10034 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageShort, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[15], 0
| 0)
;
10035 }
10036 else if (dynamic_cast<GFitsImageULong*>(result) != NULL__null) {
10037 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageULong, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[16], 0
| 0)
;
10038 }
10039 else if (dynamic_cast<GFitsImageUShort*>(result) != NULL__null) {
10040 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageUShort, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[17], 0
| 0)
;
10041 }
10042 else {
10043 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImage, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[8], 0 |
0)
;
10044 }
10045 }
10046 else if (dynamic_cast<GFitsTable*>(result) != NULL__null) {
10047 if (dynamic_cast<GFitsBinTable*>(result) != NULL__null) {
10048 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsBinTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[4], 0 |
0)
;
10049 }
10050 else if (dynamic_cast<GFitsAsciiTable*>(result) != NULL__null) {
10051 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsAsciiTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[3], 0 |
0)
;
10052 }
10053 else {
10054 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[18], 0
| 0)
;
10055 }
10056 }
10057 else {
10058 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsHDU, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[5], 0 |
0)
;
10059 }
10060 }
10061 return resultobj;
10062fail:
10063 return NULL__null;
10064}
10065
10066
10067SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHDU_exttype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10068 PyObject *resultobj = 0;
10069 GFitsHDU *arg1 = (GFitsHDU *) 0 ;
10070 void *argp1 = 0 ;
10071 int res1 = 0 ;
10072 PyObject * obj0 = 0 ;
10073 GFitsHDU::HDUType result;
10074
10075 if (!PyArg_ParseTuple(args,(char *)"O:GFitsHDU_exttype",&obj0)) SWIG_failgoto fail;
10076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHDU, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[5],
0 | 0, 0)
;
10077 if (!SWIG_IsOK(res1)(res1 >= 0)) {
10078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHDU_exttype" "', argument " "1"" of type '" "GFitsHDU const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHDU_exttype" "', argument "
"1"" of type '" "GFitsHDU const *""'"); goto fail; } while(0
)
;
10079 }
10080 arg1 = reinterpret_cast< GFitsHDU * >(argp1);
10081 {
10082 try {
10083 result = (GFitsHDU::HDUType)((GFitsHDU const *)arg1)->exttype();
10084 }
10085 catch (const GException::out_of_range& e) {
10086 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
10087 }
10088 catch (const GExceptionHandler& e) {
10089 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10090 }
10091 catch (const std::exception& e) {
10092 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10093 }
10094 }
10095 resultobj = SWIG_From_int(static_cast< int >(result));
10096 return resultobj;
10097fail:
10098 return NULL__null;
10099}
10100
10101
10102SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHDU_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10103 PyObject *resultobj = 0;
10104 GFitsHDU *arg1 = (GFitsHDU *) 0 ;
10105 void *argp1 = 0 ;
10106 int res1 = 0 ;
10107 PyObject * obj0 = 0 ;
10108 int result;
10109
10110 if (!PyArg_ParseTuple(args,(char *)"O:GFitsHDU_size",&obj0)) SWIG_failgoto fail;
10111 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHDU, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[5],
0 | 0, 0)
;
10112 if (!SWIG_IsOK(res1)(res1 >= 0)) {
10113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHDU_size" "', argument " "1"" of type '" "GFitsHDU const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHDU_size" "', argument "
"1"" of type '" "GFitsHDU const *""'"); goto fail; } while(0
)
;
10114 }
10115 arg1 = reinterpret_cast< GFitsHDU * >(argp1);
10116 {
10117 try {
10118 result = (int)((GFitsHDU const *)arg1)->size();
10119 }
10120 catch (const GException::out_of_range& e) {
10121 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
10122 }
10123 catch (const GExceptionHandler& e) {
10124 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10125 }
10126 catch (const std::exception& e) {
10127 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10128 }
10129 }
10130 resultobj = SWIG_From_int(static_cast< int >(result));
10131 return resultobj;
10132fail:
10133 return NULL__null;
10134}
10135
10136
10137SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHDU_extname__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10138 PyObject *resultobj = 0;
10139 GFitsHDU *arg1 = (GFitsHDU *) 0 ;
10140 void *argp1 = 0 ;
10141 int res1 = 0 ;
10142 PyObject * obj0 = 0 ;
10143 std::string *result = 0 ;
10144
10145 if (!PyArg_ParseTuple(args,(char *)"O:GFitsHDU_extname",&obj0)) SWIG_failgoto fail;
10146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHDU, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[5],
0 | 0, 0)
;
10147 if (!SWIG_IsOK(res1)(res1 >= 0)) {
10148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHDU_extname" "', argument " "1"" of type '" "GFitsHDU const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHDU_extname" "', argument "
"1"" of type '" "GFitsHDU const *""'"); goto fail; } while(0
)
;
10149 }
10150 arg1 = reinterpret_cast< GFitsHDU * >(argp1);
10151 {
10152 try {
10153 result = (std::string *) &((GFitsHDU const *)arg1)->extname();
10154 }
10155 catch (const GException::out_of_range& e) {
10156 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
10157 }
10158 catch (const GExceptionHandler& e) {
10159 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10160 }
10161 catch (const std::exception& e) {
10162 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10163 }
10164 }
10165 resultobj = SWIG_From_std_string(static_cast< std::string >(*result));
10166 return resultobj;
10167fail:
10168 return NULL__null;
10169}
10170
10171
10172SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHDU_extname__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10173 PyObject *resultobj = 0;
10174 GFitsHDU *arg1 = (GFitsHDU *) 0 ;
10175 std::string *arg2 = 0 ;
10176 void *argp1 = 0 ;
10177 int res1 = 0 ;
10178 int res2 = SWIG_OLDOBJ((0)) ;
10179 PyObject * obj0 = 0 ;
10180 PyObject * obj1 = 0 ;
10181
10182 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsHDU_extname",&obj0,&obj1)) SWIG_failgoto fail;
10183 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHDU, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[5],
0 | 0, 0)
;
10184 if (!SWIG_IsOK(res1)(res1 >= 0)) {
10185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHDU_extname" "', argument " "1"" of type '" "GFitsHDU *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHDU_extname" "', argument "
"1"" of type '" "GFitsHDU *""'"); goto fail; } while(0)
;
10186 }
10187 arg1 = reinterpret_cast< GFitsHDU * >(argp1);
10188 {
10189 std::string *ptr = (std::string *)0;
10190 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
10191 if (!SWIG_IsOK(res2)(res2 >= 0)) {
10192 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsHDU_extname" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsHDU_extname" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
10193 }
10194 if (!ptr) {
10195 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsHDU_extname" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsHDU_extname" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
10196 }
10197 arg2 = ptr;
10198 }
10199 {
10200 try {
10201 (arg1)->extname((std::string const &)*arg2);
10202 }
10203 catch (const GException::out_of_range& e) {
10204 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
10205 }
10206 catch (const GExceptionHandler& e) {
10207 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10208 }
10209 catch (const std::exception& e) {
10210 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10211 }
10212 }
10213 resultobj = SWIG_Py_Void();
10214 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
10215 return resultobj;
10216fail:
10217 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
10218 return NULL__null;
10219}
10220
10221
10222SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHDU_extname(PyObject *self, PyObject *args) {
10223 int argc;
10224 PyObject *argv[3];
10225 int ii;
10226
10227 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
10228 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
10229 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
10230 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
10231 }
10232 if (argc == 1) {
10233 int _v;
10234 void *vptr = 0;
10235 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHDU, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[5
], 0, 0)
;
10236 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
10237 if (_v) {
10238 return _wrap_GFitsHDU_extname__SWIG_0(self, args);
10239 }
10240 }
10241 if (argc == 2) {
10242 int _v;
10243 void *vptr = 0;
10244 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHDU, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[5
], 0, 0)
;
10245 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
10246 if (_v) {
10247 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
10248 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
10249 if (_v) {
10250 return _wrap_GFitsHDU_extname__SWIG_1(self, args);
10251 }
10252 }
10253 }
10254
10255fail:
10256 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsHDU_extname'.\n"
10257 " Possible C/C++ prototypes are:\n"
10258 " GFitsHDU::extname() const\n"
10259 " GFitsHDU::extname(std::string const &)\n");
10260 return 0;
10261}
10262
10263
10264SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHDU_extno__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10265 PyObject *resultobj = 0;
10266 GFitsHDU *arg1 = (GFitsHDU *) 0 ;
10267 void *argp1 = 0 ;
10268 int res1 = 0 ;
10269 PyObject * obj0 = 0 ;
10270 int *result = 0 ;
10271
10272 if (!PyArg_ParseTuple(args,(char *)"O:GFitsHDU_extno",&obj0)) SWIG_failgoto fail;
10273 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHDU, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[5],
0 | 0, 0)
;
10274 if (!SWIG_IsOK(res1)(res1 >= 0)) {
10275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHDU_extno" "', argument " "1"" of type '" "GFitsHDU const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHDU_extno" "', argument "
"1"" of type '" "GFitsHDU const *""'"); goto fail; } while(0
)
;
10276 }
10277 arg1 = reinterpret_cast< GFitsHDU * >(argp1);
10278 {
10279 try {
10280 result = (int *) &((GFitsHDU const *)arg1)->extno();
10281 }
10282 catch (const GException::out_of_range& e) {
10283 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
10284 }
10285 catch (const GExceptionHandler& e) {
10286 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10287 }
10288 catch (const std::exception& e) {
10289 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10290 }
10291 }
10292 resultobj = SWIG_From_int(static_cast< int >(*result));
10293 return resultobj;
10294fail:
10295 return NULL__null;
10296}
10297
10298
10299SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHDU_extno__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10300 PyObject *resultobj = 0;
10301 GFitsHDU *arg1 = (GFitsHDU *) 0 ;
10302 int *arg2 = 0 ;
10303 void *argp1 = 0 ;
10304 int res1 = 0 ;
10305 int temp2 ;
10306 int val2 ;
10307 int ecode2 = 0 ;
10308 PyObject * obj0 = 0 ;
10309 PyObject * obj1 = 0 ;
10310
10311 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsHDU_extno",&obj0,&obj1)) SWIG_failgoto fail;
10312 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHDU, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[5],
0 | 0, 0)
;
10313 if (!SWIG_IsOK(res1)(res1 >= 0)) {
10314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHDU_extno" "', argument " "1"" of type '" "GFitsHDU *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHDU_extno" "', argument "
"1"" of type '" "GFitsHDU *""'"); goto fail; } while(0)
;
10315 }
10316 arg1 = reinterpret_cast< GFitsHDU * >(argp1);
10317 ecode2 = SWIG_AsVal_int(obj1, &val2);
10318 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
10319 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsHDU_extno" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsHDU_extno" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
10320 }
10321 temp2 = static_cast< int >(val2);
10322 arg2 = &temp2;
10323 {
10324 try {
10325 (arg1)->extno((int const &)*arg2);
10326 }
10327 catch (const GException::out_of_range& e) {
10328 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
10329 }
10330 catch (const GExceptionHandler& e) {
10331 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10332 }
10333 catch (const std::exception& e) {
10334 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10335 }
10336 }
10337 resultobj = SWIG_Py_Void();
10338 return resultobj;
10339fail:
10340 return NULL__null;
10341}
10342
10343
10344SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHDU_extno(PyObject *self, PyObject *args) {
10345 int argc;
10346 PyObject *argv[3];
10347 int ii;
10348
10349 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
10350 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
10351 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
10352 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
10353 }
10354 if (argc == 1) {
10355 int _v;
10356 void *vptr = 0;
10357 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHDU, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[5
], 0, 0)
;
10358 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
10359 if (_v) {
10360 return _wrap_GFitsHDU_extno__SWIG_0(self, args);
10361 }
10362 }
10363 if (argc == 2) {
10364 int _v;
10365 void *vptr = 0;
10366 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHDU, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[5
], 0, 0)
;
10367 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
10368 if (_v) {
10369 {
10370 int res = SWIG_AsVal_int(argv[1], NULL__null);
10371 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
10372 }
10373 if (_v) {
10374 return _wrap_GFitsHDU_extno__SWIG_1(self, args);
10375 }
10376 }
10377 }
10378
10379fail:
10380 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsHDU_extno'.\n"
10381 " Possible C/C++ prototypes are:\n"
10382 " GFitsHDU::extno() const\n"
10383 " GFitsHDU::extno(int const &)\n");
10384 return 0;
10385}
10386
10387
10388SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHDU_header(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10389 PyObject *resultobj = 0;
10390 GFitsHDU *arg1 = (GFitsHDU *) 0 ;
10391 void *argp1 = 0 ;
10392 int res1 = 0 ;
10393 PyObject * obj0 = 0 ;
10394 GFitsHeader *result = 0 ;
10395
10396 if (!PyArg_ParseTuple(args,(char *)"O:GFitsHDU_header",&obj0)) SWIG_failgoto fail;
10397 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHDU, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[5],
0 | 0, 0)
;
10398 if (!SWIG_IsOK(res1)(res1 >= 0)) {
10399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHDU_header" "', argument " "1"" of type '" "GFitsHDU *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHDU_header" "', argument "
"1"" of type '" "GFitsHDU *""'"); goto fail; } while(0)
;
10400 }
10401 arg1 = reinterpret_cast< GFitsHDU * >(argp1);
10402 {
10403 try {
10404 result = (GFitsHeader *) &(arg1)->header();
10405 }
10406 catch (const GException::out_of_range& e) {
10407 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
10408 }
10409 catch (const GExceptionHandler& e) {
10410 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10411 }
10412 catch (const std::exception& e) {
10413 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10414 }
10415 }
10416 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsHeader, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[6], 0 |
0)
;
10417 return resultobj;
10418fail:
10419 return NULL__null;
10420}
10421
10422
10423SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHDU_hascard__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10424 PyObject *resultobj = 0;
10425 GFitsHDU *arg1 = (GFitsHDU *) 0 ;
10426 int *arg2 = 0 ;
10427 void *argp1 = 0 ;
10428 int res1 = 0 ;
10429 int temp2 ;
10430 int val2 ;
10431 int ecode2 = 0 ;
10432 PyObject * obj0 = 0 ;
10433 PyObject * obj1 = 0 ;
10434 bool result;
10435
10436 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsHDU_hascard",&obj0,&obj1)) SWIG_failgoto fail;
10437 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHDU, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[5],
0 | 0, 0)
;
10438 if (!SWIG_IsOK(res1)(res1 >= 0)) {
10439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHDU_hascard" "', argument " "1"" of type '" "GFitsHDU const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHDU_hascard" "', argument "
"1"" of type '" "GFitsHDU const *""'"); goto fail; } while(0
)
;
10440 }
10441 arg1 = reinterpret_cast< GFitsHDU * >(argp1);
10442 ecode2 = SWIG_AsVal_int(obj1, &val2);
10443 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
10444 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsHDU_hascard" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsHDU_hascard" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
10445 }
10446 temp2 = static_cast< int >(val2);
10447 arg2 = &temp2;
10448 {
10449 try {
10450 result = (bool)((GFitsHDU const *)arg1)->hascard((int const &)*arg2);
10451 }
10452 catch (const GException::out_of_range& e) {
10453 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
10454 }
10455 catch (const GExceptionHandler& e) {
10456 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10457 }
10458 catch (const std::exception& e) {
10459 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10460 }
10461 }
10462 resultobj = SWIG_From_bool(static_cast< bool >(result));
10463 return resultobj;
10464fail:
10465 return NULL__null;
10466}
10467
10468
10469SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHDU_hascard__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10470 PyObject *resultobj = 0;
10471 GFitsHDU *arg1 = (GFitsHDU *) 0 ;
10472 std::string *arg2 = 0 ;
10473 void *argp1 = 0 ;
10474 int res1 = 0 ;
10475 int res2 = SWIG_OLDOBJ((0)) ;
10476 PyObject * obj0 = 0 ;
10477 PyObject * obj1 = 0 ;
10478 bool result;
10479
10480 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsHDU_hascard",&obj0,&obj1)) SWIG_failgoto fail;
10481 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHDU, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[5],
0 | 0, 0)
;
10482 if (!SWIG_IsOK(res1)(res1 >= 0)) {
10483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHDU_hascard" "', argument " "1"" of type '" "GFitsHDU const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHDU_hascard" "', argument "
"1"" of type '" "GFitsHDU const *""'"); goto fail; } while(0
)
;
10484 }
10485 arg1 = reinterpret_cast< GFitsHDU * >(argp1);
10486 {
10487 std::string *ptr = (std::string *)0;
10488 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
10489 if (!SWIG_IsOK(res2)(res2 >= 0)) {
10490 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsHDU_hascard" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsHDU_hascard" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
10491 }
10492 if (!ptr) {
10493 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsHDU_hascard" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsHDU_hascard" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
10494 }
10495 arg2 = ptr;
10496 }
10497 {
10498 try {
10499 result = (bool)((GFitsHDU const *)arg1)->hascard((std::string const &)*arg2);
10500 }
10501 catch (const GException::out_of_range& e) {
10502 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
10503 }
10504 catch (const GExceptionHandler& e) {
10505 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10506 }
10507 catch (const std::exception& e) {
10508 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10509 }
10510 }
10511 resultobj = SWIG_From_bool(static_cast< bool >(result));
10512 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
10513 return resultobj;
10514fail:
10515 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
10516 return NULL__null;
10517}
10518
10519
10520SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHDU_hascard(PyObject *self, PyObject *args) {
10521 int argc;
10522 PyObject *argv[3];
10523 int ii;
10524
10525 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
10526 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
10527 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
10528 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
10529 }
10530 if (argc == 2) {
10531 int _v;
10532 void *vptr = 0;
10533 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHDU, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[5
], 0, 0)
;
10534 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
10535 if (_v) {
10536 {
10537 int res = SWIG_AsVal_int(argv[1], NULL__null);
10538 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
10539 }
10540 if (_v) {
10541 return _wrap_GFitsHDU_hascard__SWIG_0(self, args);
10542 }
10543 }
10544 }
10545 if (argc == 2) {
10546 int _v;
10547 void *vptr = 0;
10548 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHDU, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[5
], 0, 0)
;
10549 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
10550 if (_v) {
10551 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
10552 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
10553 if (_v) {
10554 return _wrap_GFitsHDU_hascard__SWIG_1(self, args);
10555 }
10556 }
10557 }
10558
10559fail:
10560 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsHDU_hascard'.\n"
10561 " Possible C/C++ prototypes are:\n"
10562 " GFitsHDU::hascard(int const &) const\n"
10563 " GFitsHDU::hascard(std::string const &) const\n");
10564 return 0;
10565}
10566
10567
10568SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHDU_card__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10569 PyObject *resultobj = 0;
10570 GFitsHDU *arg1 = (GFitsHDU *) 0 ;
10571 int *arg2 = 0 ;
10572 void *argp1 = 0 ;
10573 int res1 = 0 ;
10574 int temp2 ;
10575 int val2 ;
10576 int ecode2 = 0 ;
10577 PyObject * obj0 = 0 ;
10578 PyObject * obj1 = 0 ;
10579 GFitsHeaderCard *result = 0 ;
10580
10581 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsHDU_card",&obj0,&obj1)) SWIG_failgoto fail;
10582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHDU, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[5],
0 | 0, 0)
;
10583 if (!SWIG_IsOK(res1)(res1 >= 0)) {
10584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHDU_card" "', argument " "1"" of type '" "GFitsHDU *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHDU_card" "', argument "
"1"" of type '" "GFitsHDU *""'"); goto fail; } while(0)
;
10585 }
10586 arg1 = reinterpret_cast< GFitsHDU * >(argp1);
10587 ecode2 = SWIG_AsVal_int(obj1, &val2);
10588 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
10589 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsHDU_card" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsHDU_card" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
10590 }
10591 temp2 = static_cast< int >(val2);
10592 arg2 = &temp2;
10593 {
10594 try {
10595 result = (GFitsHeaderCard *) &(arg1)->card((int const &)*arg2);
10596 }
10597 catch (const GException::out_of_range& e) {
10598 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
10599 }
10600 catch (const GExceptionHandler& e) {
10601 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10602 }
10603 catch (const std::exception& e) {
10604 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10605 }
10606 }
10607 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsHeaderCard, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[7], 0 |
0)
;
10608 return resultobj;
10609fail:
10610 return NULL__null;
10611}
10612
10613
10614SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHDU_card__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10615 PyObject *resultobj = 0;
10616 GFitsHDU *arg1 = (GFitsHDU *) 0 ;
10617 std::string *arg2 = 0 ;
10618 void *argp1 = 0 ;
10619 int res1 = 0 ;
10620 int res2 = SWIG_OLDOBJ((0)) ;
10621 PyObject * obj0 = 0 ;
10622 PyObject * obj1 = 0 ;
10623 GFitsHeaderCard *result = 0 ;
10624
10625 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsHDU_card",&obj0,&obj1)) SWIG_failgoto fail;
10626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHDU, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[5],
0 | 0, 0)
;
10627 if (!SWIG_IsOK(res1)(res1 >= 0)) {
10628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHDU_card" "', argument " "1"" of type '" "GFitsHDU *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHDU_card" "', argument "
"1"" of type '" "GFitsHDU *""'"); goto fail; } while(0)
;
10629 }
10630 arg1 = reinterpret_cast< GFitsHDU * >(argp1);
10631 {
10632 std::string *ptr = (std::string *)0;
10633 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
10634 if (!SWIG_IsOK(res2)(res2 >= 0)) {
10635 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsHDU_card" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsHDU_card" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
10636 }
10637 if (!ptr) {
10638 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsHDU_card" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsHDU_card" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
10639 }
10640 arg2 = ptr;
10641 }
10642 {
10643 try {
10644 result = (GFitsHeaderCard *) &(arg1)->card((std::string const &)*arg2);
10645 }
10646 catch (const GException::out_of_range& e) {
10647 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
10648 }
10649 catch (const GExceptionHandler& e) {
10650 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10651 }
10652 catch (const std::exception& e) {
10653 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10654 }
10655 }
10656 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsHeaderCard, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[7], 0 |
0)
;
10657 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
10658 return resultobj;
10659fail:
10660 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
10661 return NULL__null;
10662}
10663
10664
10665SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHDU_card__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10666 PyObject *resultobj = 0;
10667 GFitsHDU *arg1 = (GFitsHDU *) 0 ;
10668 GFitsHeaderCard *arg2 = 0 ;
10669 void *argp1 = 0 ;
10670 int res1 = 0 ;
10671 void *argp2 = 0 ;
10672 int res2 = 0 ;
10673 PyObject * obj0 = 0 ;
10674 PyObject * obj1 = 0 ;
10675
10676 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsHDU_card",&obj0,&obj1)) SWIG_failgoto fail;
10677 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHDU, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[5],
0 | 0, 0)
;
10678 if (!SWIG_IsOK(res1)(res1 >= 0)) {
10679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHDU_card" "', argument " "1"" of type '" "GFitsHDU *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHDU_card" "', argument "
"1"" of type '" "GFitsHDU *""'"); goto fail; } while(0)
;
10680 }
10681 arg1 = reinterpret_cast< GFitsHDU * >(argp1);
10682 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GFitsHeaderCard, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[7],
0 | 0, 0)
;
10683 if (!SWIG_IsOK(res2)(res2 >= 0)) {
10684 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsHDU_card" "', argument " "2"" of type '" "GFitsHeaderCard const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsHDU_card" "', argument "
"2"" of type '" "GFitsHeaderCard const &""'"); goto fail
; } while(0)
;
10685 }
10686 if (!argp2) {
10687 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsHDU_card" "', argument " "2"" of type '" "GFitsHeaderCard const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsHDU_card" "', argument " "2"" of type '"
"GFitsHeaderCard const &""'"); goto fail; } while(0)
;
10688 }
10689 arg2 = reinterpret_cast< GFitsHeaderCard * >(argp2);
10690 {
10691 try {
10692 (arg1)->card((GFitsHeaderCard const &)*arg2);
10693 }
10694 catch (const GException::out_of_range& e) {
10695 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
10696 }
10697 catch (const GExceptionHandler& e) {
10698 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10699 }
10700 catch (const std::exception& e) {
10701 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10702 }
10703 }
10704 resultobj = SWIG_Py_Void();
10705 return resultobj;
10706fail:
10707 return NULL__null;
10708}
10709
10710
10711SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHDU_card__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10712 PyObject *resultobj = 0;
10713 GFitsHDU *arg1 = (GFitsHDU *) 0 ;
10714 std::string *arg2 = 0 ;
10715 std::string *arg3 = 0 ;
10716 std::string *arg4 = 0 ;
10717 void *argp1 = 0 ;
10718 int res1 = 0 ;
10719 int res2 = SWIG_OLDOBJ((0)) ;
10720 int res3 = SWIG_OLDOBJ((0)) ;
10721 int res4 = SWIG_OLDOBJ((0)) ;
10722 PyObject * obj0 = 0 ;
10723 PyObject * obj1 = 0 ;
10724 PyObject * obj2 = 0 ;
10725 PyObject * obj3 = 0 ;
10726
10727 if (!PyArg_ParseTuple(args,(char *)"OOOO:GFitsHDU_card",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
10728 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHDU, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[5],
0 | 0, 0)
;
10729 if (!SWIG_IsOK(res1)(res1 >= 0)) {
10730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHDU_card" "', argument " "1"" of type '" "GFitsHDU *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHDU_card" "', argument "
"1"" of type '" "GFitsHDU *""'"); goto fail; } while(0)
;
10731 }
10732 arg1 = reinterpret_cast< GFitsHDU * >(argp1);
10733 {
10734 std::string *ptr = (std::string *)0;
10735 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
10736 if (!SWIG_IsOK(res2)(res2 >= 0)) {
10737 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsHDU_card" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsHDU_card" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
10738 }
10739 if (!ptr) {
10740 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsHDU_card" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsHDU_card" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
10741 }
10742 arg2 = ptr;
10743 }
10744 {
10745 std::string *ptr = (std::string *)0;
10746 res3 = SWIG_AsPtr_std_string(obj2, &ptr);
10747 if (!SWIG_IsOK(res3)(res3 >= 0)) {
10748 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GFitsHDU_card" "', argument " "3"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GFitsHDU_card" "', argument "
"3"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
10749 }
10750 if (!ptr) {
10751 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsHDU_card" "', argument " "3"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsHDU_card" "', argument " "3"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
10752 }
10753 arg3 = ptr;
10754 }
10755 {
10756 std::string *ptr = (std::string *)0;
10757 res4 = SWIG_AsPtr_std_string(obj3, &ptr);
10758 if (!SWIG_IsOK(res4)(res4 >= 0)) {
10759 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "GFitsHDU_card" "', argument " "4"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res4 != (
-1)) ? res4 : -5)), "in method '" "GFitsHDU_card" "', argument "
"4"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
10760 }
10761 if (!ptr) {
10762 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsHDU_card" "', argument " "4"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsHDU_card" "', argument " "4"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
10763 }
10764 arg4 = ptr;
10765 }
10766 {
10767 try {
10768 (arg1)->card((std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4);
10769 }
10770 catch (const GException::out_of_range& e) {
10771 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
10772 }
10773 catch (const GExceptionHandler& e) {
10774 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10775 }
10776 catch (const std::exception& e) {
10777 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10778 }
10779 }
10780 resultobj = SWIG_Py_Void();
10781 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
10782 if (SWIG_IsNewObj(res3)((res3 >= 0) && (res3 & ((1 << 8) <<
1)))
) delete arg3;
10783 if (SWIG_IsNewObj(res4)((res4 >= 0) && (res4 & ((1 << 8) <<
1)))
) delete arg4;
10784 return resultobj;
10785fail:
10786 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
10787 if (SWIG_IsNewObj(res3)((res3 >= 0) && (res3 & ((1 << 8) <<
1)))
) delete arg3;
10788 if (SWIG_IsNewObj(res4)((res4 >= 0) && (res4 & ((1 << 8) <<
1)))
) delete arg4;
10789 return NULL__null;
10790}
10791
10792
10793SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHDU_card__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10794 PyObject *resultobj = 0;
10795 GFitsHDU *arg1 = (GFitsHDU *) 0 ;
10796 std::string *arg2 = 0 ;
10797 double *arg3 = 0 ;
10798 std::string *arg4 = 0 ;
10799 void *argp1 = 0 ;
10800 int res1 = 0 ;
10801 int res2 = SWIG_OLDOBJ((0)) ;
10802 double temp3 ;
10803 double val3 ;
10804 int ecode3 = 0 ;
10805 int res4 = SWIG_OLDOBJ((0)) ;
10806 PyObject * obj0 = 0 ;
10807 PyObject * obj1 = 0 ;
10808 PyObject * obj2 = 0 ;
10809 PyObject * obj3 = 0 ;
10810
10811 if (!PyArg_ParseTuple(args,(char *)"OOOO:GFitsHDU_card",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
10812 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHDU, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[5],
0 | 0, 0)
;
10813 if (!SWIG_IsOK(res1)(res1 >= 0)) {
10814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHDU_card" "', argument " "1"" of type '" "GFitsHDU *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHDU_card" "', argument "
"1"" of type '" "GFitsHDU *""'"); goto fail; } while(0)
;
10815 }
10816 arg1 = reinterpret_cast< GFitsHDU * >(argp1);
10817 {
10818 std::string *ptr = (std::string *)0;
10819 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
10820 if (!SWIG_IsOK(res2)(res2 >= 0)) {
10821 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsHDU_card" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsHDU_card" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
10822 }
10823 if (!ptr) {
10824 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsHDU_card" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsHDU_card" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
10825 }
10826 arg2 = ptr;
10827 }
10828 ecode3 = SWIG_AsVal_double(obj2, &val3);
10829 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
10830 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsHDU_card" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsHDU_card" "', argument "
"3"" of type '" "double""'"); goto fail; } while(0)
;
10831 }
10832 temp3 = static_cast< double >(val3);
10833 arg3 = &temp3;
10834 {
10835 std::string *ptr = (std::string *)0;
10836 res4 = SWIG_AsPtr_std_string(obj3, &ptr);
10837 if (!SWIG_IsOK(res4)(res4 >= 0)) {
10838 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "GFitsHDU_card" "', argument " "4"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res4 != (
-1)) ? res4 : -5)), "in method '" "GFitsHDU_card" "', argument "
"4"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
10839 }
10840 if (!ptr) {
10841 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsHDU_card" "', argument " "4"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsHDU_card" "', argument " "4"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
10842 }
10843 arg4 = ptr;
10844 }
10845 {
10846 try {
10847 (arg1)->card((std::string const &)*arg2,(double const &)*arg3,(std::string const &)*arg4);
10848 }
10849 catch (const GException::out_of_range& e) {
10850 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
10851 }
10852 catch (const GExceptionHandler& e) {
10853 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10854 }
10855 catch (const std::exception& e) {
10856 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10857 }
10858 }
10859 resultobj = SWIG_Py_Void();
10860 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
10861 if (SWIG_IsNewObj(res4)((res4 >= 0) && (res4 & ((1 << 8) <<
1)))
) delete arg4;
10862 return resultobj;
10863fail:
10864 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
10865 if (SWIG_IsNewObj(res4)((res4 >= 0) && (res4 & ((1 << 8) <<
1)))
) delete arg4;
10866 return NULL__null;
10867}
10868
10869
10870SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHDU_card__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10871 PyObject *resultobj = 0;
10872 GFitsHDU *arg1 = (GFitsHDU *) 0 ;
10873 std::string *arg2 = 0 ;
10874 int *arg3 = 0 ;
10875 std::string *arg4 = 0 ;
10876 void *argp1 = 0 ;
10877 int res1 = 0 ;
10878 int res2 = SWIG_OLDOBJ((0)) ;
10879 int temp3 ;
10880 int val3 ;
10881 int ecode3 = 0 ;
10882 int res4 = SWIG_OLDOBJ((0)) ;
10883 PyObject * obj0 = 0 ;
10884 PyObject * obj1 = 0 ;
10885 PyObject * obj2 = 0 ;
10886 PyObject * obj3 = 0 ;
10887
10888 if (!PyArg_ParseTuple(args,(char *)"OOOO:GFitsHDU_card",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
10889 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHDU, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[5],
0 | 0, 0)
;
10890 if (!SWIG_IsOK(res1)(res1 >= 0)) {
10891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHDU_card" "', argument " "1"" of type '" "GFitsHDU *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHDU_card" "', argument "
"1"" of type '" "GFitsHDU *""'"); goto fail; } while(0)
;
10892 }
10893 arg1 = reinterpret_cast< GFitsHDU * >(argp1);
10894 {
10895 std::string *ptr = (std::string *)0;
10896 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
10897 if (!SWIG_IsOK(res2)(res2 >= 0)) {
10898 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsHDU_card" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsHDU_card" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
10899 }
10900 if (!ptr) {
10901 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsHDU_card" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsHDU_card" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
10902 }
10903 arg2 = ptr;
10904 }
10905 ecode3 = SWIG_AsVal_int(obj2, &val3);
10906 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
10907 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsHDU_card" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsHDU_card" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
10908 }
10909 temp3 = static_cast< int >(val3);
10910 arg3 = &temp3;
10911 {
10912 std::string *ptr = (std::string *)0;
10913 res4 = SWIG_AsPtr_std_string(obj3, &ptr);
10914 if (!SWIG_IsOK(res4)(res4 >= 0)) {
10915 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "GFitsHDU_card" "', argument " "4"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res4 != (
-1)) ? res4 : -5)), "in method '" "GFitsHDU_card" "', argument "
"4"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
10916 }
10917 if (!ptr) {
10918 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsHDU_card" "', argument " "4"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsHDU_card" "', argument " "4"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
10919 }
10920 arg4 = ptr;
10921 }
10922 {
10923 try {
10924 (arg1)->card((std::string const &)*arg2,(int const &)*arg3,(std::string const &)*arg4);
10925 }
10926 catch (const GException::out_of_range& e) {
10927 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
10928 }
10929 catch (const GExceptionHandler& e) {
10930 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10931 }
10932 catch (const std::exception& e) {
10933 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
10934 }
10935 }
10936 resultobj = SWIG_Py_Void();
10937 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
10938 if (SWIG_IsNewObj(res4)((res4 >= 0) && (res4 & ((1 << 8) <<
1)))
) delete arg4;
10939 return resultobj;
10940fail:
10941 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
10942 if (SWIG_IsNewObj(res4)((res4 >= 0) && (res4 & ((1 << 8) <<
1)))
) delete arg4;
10943 return NULL__null;
10944}
10945
10946
10947SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHDU_card(PyObject *self, PyObject *args) {
10948 int argc;
10949 PyObject *argv[5];
10950 int ii;
10951
10952 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
10953 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
10954 for (ii = 0; (ii < 4) && (ii < argc); ii++) {
10955 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
10956 }
10957 if (argc == 2) {
10958 int _v;
10959 void *vptr = 0;
10960 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHDU, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[5
], 0, 0)
;
10961 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
10962 if (_v) {
10963 int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_GFitsHeaderCard, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], 0, swig_types[7], 0, 0);
10964 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
10965 if (_v) {
10966 return _wrap_GFitsHDU_card__SWIG_2(self, args);
10967 }
10968 }
10969 }
10970 if (argc == 2) {
10971 int _v;
10972 void *vptr = 0;
10973 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHDU, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[5
], 0, 0)
;
10974 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
10975 if (_v) {
10976 {
10977 int res = SWIG_AsVal_int(argv[1], NULL__null);
10978 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
10979 }
10980 if (_v) {
10981 return _wrap_GFitsHDU_card__SWIG_0(self, args);
10982 }
10983 }
10984 }
10985 if (argc == 2) {
10986 int _v;
10987 void *vptr = 0;
10988 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHDU, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[5
], 0, 0)
;
10989 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
10990 if (_v) {
10991 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
10992 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
10993 if (_v) {
10994 return _wrap_GFitsHDU_card__SWIG_1(self, args);
10995 }
10996 }
10997 }
10998 if (argc == 4) {
10999 int _v;
11000 void *vptr = 0;
11001 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHDU, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[5
], 0, 0)
;
11002 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
11003 if (_v) {
11004 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
11005 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
11006 if (_v) {
11007 {
11008 int res = SWIG_AsVal_int(argv[2], NULL__null);
11009 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
11010 }
11011 if (_v) {
11012 int res = SWIG_AsPtr_std_string(argv[3], (std::string**)(0));
11013 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
11014 if (_v) {
11015 return _wrap_GFitsHDU_card__SWIG_5(self, args);
11016 }
11017 }
11018 }
11019 }
11020 }
11021 if (argc == 4) {
11022 int _v;
11023 void *vptr = 0;
11024 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHDU, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[5
], 0, 0)
;
11025 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
11026 if (_v) {
11027 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
11028 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
11029 if (_v) {
11030 {
11031 int res = SWIG_AsVal_double(argv[2], NULL__null);
11032 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
11033 }
11034 if (_v) {
11035 int res = SWIG_AsPtr_std_string(argv[3], (std::string**)(0));
11036 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
11037 if (_v) {
11038 return _wrap_GFitsHDU_card__SWIG_4(self, args);
11039 }
11040 }
11041 }
11042 }
11043 }
11044 if (argc == 4) {
11045 int _v;
11046 void *vptr = 0;
11047 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHDU, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[5
], 0, 0)
;
11048 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
11049 if (_v) {
11050 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
11051 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
11052 if (_v) {
11053 int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
11054 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
11055 if (_v) {
11056 int res = SWIG_AsPtr_std_string(argv[3], (std::string**)(0));
11057 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
11058 if (_v) {
11059 return _wrap_GFitsHDU_card__SWIG_3(self, args);
11060 }
11061 }
11062 }
11063 }
11064 }
11065
11066fail:
11067 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsHDU_card'.\n"
11068 " Possible C/C++ prototypes are:\n"
11069 " GFitsHDU::card(int const &)\n"
11070 " GFitsHDU::card(std::string const &)\n"
11071 " GFitsHDU::card(GFitsHeaderCard const &)\n"
11072 " GFitsHDU::card(std::string const &,std::string const &,std::string const &)\n"
11073 " GFitsHDU::card(std::string const &,double const &,std::string const &)\n"
11074 " GFitsHDU::card(std::string const &,int const &,std::string const &)\n");
11075 return 0;
11076}
11077
11078
11079SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHDU_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11080 PyObject *resultobj = 0;
11081 GFitsHDU *arg1 = (GFitsHDU *) 0 ;
11082 std::string *arg2 = 0 ;
11083 void *argp1 = 0 ;
11084 int res1 = 0 ;
11085 int res2 = SWIG_OLDOBJ((0)) ;
11086 PyObject * obj0 = 0 ;
11087 PyObject * obj1 = 0 ;
11088 std::string result;
11089
11090 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsHDU_string",&obj0,&obj1)) SWIG_failgoto fail;
11091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHDU, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[5],
0 | 0, 0)
;
11092 if (!SWIG_IsOK(res1)(res1 >= 0)) {
11093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHDU_string" "', argument " "1"" of type '" "GFitsHDU const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHDU_string" "', argument "
"1"" of type '" "GFitsHDU const *""'"); goto fail; } while(0
)
;
11094 }
11095 arg1 = reinterpret_cast< GFitsHDU * >(argp1);
11096 {
11097 std::string *ptr = (std::string *)0;
11098 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
11099 if (!SWIG_IsOK(res2)(res2 >= 0)) {
11100 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsHDU_string" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsHDU_string" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
11101 }
11102 if (!ptr) {
11103 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsHDU_string" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsHDU_string" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
11104 }
11105 arg2 = ptr;
11106 }
11107 {
11108 try {
11109 result = ((GFitsHDU const *)arg1)->string((std::string const &)*arg2);
11110 }
11111 catch (const GException::out_of_range& e) {
11112 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
11113 }
11114 catch (const GExceptionHandler& e) {
11115 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11116 }
11117 catch (const std::exception& e) {
11118 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11119 }
11120 }
11121 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
11122 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
11123 return resultobj;
11124fail:
11125 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
11126 return NULL__null;
11127}
11128
11129
11130SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHDU_real(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11131 PyObject *resultobj = 0;
11132 GFitsHDU *arg1 = (GFitsHDU *) 0 ;
11133 std::string *arg2 = 0 ;
11134 void *argp1 = 0 ;
11135 int res1 = 0 ;
11136 int res2 = SWIG_OLDOBJ((0)) ;
11137 PyObject * obj0 = 0 ;
11138 PyObject * obj1 = 0 ;
11139 double result;
11140
11141 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsHDU_real",&obj0,&obj1)) SWIG_failgoto fail;
11142 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHDU, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[5],
0 | 0, 0)
;
11143 if (!SWIG_IsOK(res1)(res1 >= 0)) {
11144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHDU_real" "', argument " "1"" of type '" "GFitsHDU const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHDU_real" "', argument "
"1"" of type '" "GFitsHDU const *""'"); goto fail; } while(0
)
;
11145 }
11146 arg1 = reinterpret_cast< GFitsHDU * >(argp1);
11147 {
11148 std::string *ptr = (std::string *)0;
11149 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
11150 if (!SWIG_IsOK(res2)(res2 >= 0)) {
11151 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsHDU_real" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsHDU_real" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
11152 }
11153 if (!ptr) {
11154 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsHDU_real" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsHDU_real" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
11155 }
11156 arg2 = ptr;
11157 }
11158 {
11159 try {
11160 result = (double)((GFitsHDU const *)arg1)->real((std::string const &)*arg2);
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_doublePyFloat_FromDouble(static_cast< double >(result));
11173 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
11174 return resultobj;
11175fail:
11176 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
11177 return NULL__null;
11178}
11179
11180
11181SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHDU_integer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11182 PyObject *resultobj = 0;
11183 GFitsHDU *arg1 = (GFitsHDU *) 0 ;
11184 std::string *arg2 = 0 ;
11185 void *argp1 = 0 ;
11186 int res1 = 0 ;
11187 int res2 = SWIG_OLDOBJ((0)) ;
11188 PyObject * obj0 = 0 ;
11189 PyObject * obj1 = 0 ;
11190 int result;
11191
11192 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsHDU_integer",&obj0,&obj1)) SWIG_failgoto fail;
11193 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHDU, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[5],
0 | 0, 0)
;
11194 if (!SWIG_IsOK(res1)(res1 >= 0)) {
11195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHDU_integer" "', argument " "1"" of type '" "GFitsHDU const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHDU_integer" "', argument "
"1"" of type '" "GFitsHDU const *""'"); goto fail; } while(0
)
;
11196 }
11197 arg1 = reinterpret_cast< GFitsHDU * >(argp1);
11198 {
11199 std::string *ptr = (std::string *)0;
11200 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
11201 if (!SWIG_IsOK(res2)(res2 >= 0)) {
11202 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsHDU_integer" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsHDU_integer" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
11203 }
11204 if (!ptr) {
11205 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsHDU_integer" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsHDU_integer" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
11206 }
11207 arg2 = ptr;
11208 }
11209 {
11210 try {
11211 result = (int)((GFitsHDU const *)arg1)->integer((std::string const &)*arg2);
11212 }
11213 catch (const GException::out_of_range& e) {
11214 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
11215 }
11216 catch (const GExceptionHandler& e) {
11217 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11218 }
11219 catch (const std::exception& e) {
11220 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11221 }
11222 }
11223 resultobj = SWIG_From_int(static_cast< int >(result));
11224 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
11225 return resultobj;
11226fail:
11227 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
11228 return NULL__null;
11229}
11230
11231
11232SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GFitsHDU_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11233 PyObject *obj;
11234 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
11235 SWIG_TypeNewClientData(SWIGTYPE_p_GFitsHDUswig_types[5], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
11236 return SWIG_Py_Void();
11237}
11238
11239SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsHeader__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11240 PyObject *resultobj = 0;
11241 GFitsHeader *result = 0 ;
11242
11243 if (!PyArg_ParseTuple(args,(char *)":new_GFitsHeader")) SWIG_failgoto fail;
11244 {
11245 try {
11246 result = (GFitsHeader *)new GFitsHeader();
11247 }
11248 catch (const GException::out_of_range& e) {
11249 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
11250 }
11251 catch (const GExceptionHandler& e) {
11252 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11253 }
11254 catch (const std::exception& e) {
11255 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11256 }
11257 }
11258 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsHeader, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[6], ((
0x1 << 1) | 0x1) | 0)
;
11259 return resultobj;
11260fail:
11261 return NULL__null;
11262}
11263
11264
11265SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsHeader__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11266 PyObject *resultobj = 0;
11267 GFitsHeader *arg1 = 0 ;
11268 void *argp1 = 0 ;
11269 int res1 = 0 ;
11270 PyObject * obj0 = 0 ;
11271 GFitsHeader *result = 0 ;
11272
11273 if (!PyArg_ParseTuple(args,(char *)"O:new_GFitsHeader",&obj0)) SWIG_failgoto fail;
11274 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GFitsHeader, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[6],
0 | 0, 0)
;
11275 if (!SWIG_IsOK(res1)(res1 >= 0)) {
11276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsHeader" "', argument " "1"" of type '" "GFitsHeader const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsHeader" "', argument "
"1"" of type '" "GFitsHeader const &""'"); goto fail; } while
(0)
;
11277 }
11278 if (!argp1) {
11279 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsHeader" "', argument " "1"" of type '" "GFitsHeader const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsHeader" "', argument " "1"" of type '"
"GFitsHeader const &""'"); goto fail; } while(0)
;
11280 }
11281 arg1 = reinterpret_cast< GFitsHeader * >(argp1);
11282 {
11283 try {
11284 result = (GFitsHeader *)new GFitsHeader((GFitsHeader const &)*arg1);
11285 }
11286 catch (const GException::out_of_range& e) {
11287 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
11288 }
11289 catch (const GExceptionHandler& e) {
11290 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11291 }
11292 catch (const std::exception& e) {
11293 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11294 }
11295 }
11296 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsHeader, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[6], ((
0x1 << 1) | 0x1) | 0)
;
11297 return resultobj;
11298fail:
11299 return NULL__null;
11300}
11301
11302
11303SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsHeader(PyObject *self, PyObject *args) {
11304 int argc;
11305 PyObject *argv[2];
11306 int ii;
11307
11308 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
11309 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
11310 for (ii = 0; (ii < 1) && (ii < argc); ii++) {
11311 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
11312 }
11313 if (argc == 0) {
11314 return _wrap_new_GFitsHeader__SWIG_0(self, args);
11315 }
11316 if (argc == 1) {
11317 int _v;
11318 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GFitsHeader, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[6], 0, 0);
11319 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
11320 if (_v) {
11321 return _wrap_new_GFitsHeader__SWIG_1(self, args);
11322 }
11323 }
11324
11325fail:
11326 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GFitsHeader'.\n"
11327 " Possible C/C++ prototypes are:\n"
11328 " GFitsHeader::GFitsHeader()\n"
11329 " GFitsHeader::GFitsHeader(GFitsHeader const &)\n");
11330 return 0;
11331}
11332
11333
11334SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GFitsHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11335 PyObject *resultobj = 0;
11336 GFitsHeader *arg1 = (GFitsHeader *) 0 ;
11337 void *argp1 = 0 ;
11338 int res1 = 0 ;
11339 PyObject * obj0 = 0 ;
11340
11341 if (!PyArg_ParseTuple(args,(char *)"O:delete_GFitsHeader",&obj0)) SWIG_failgoto fail;
11342 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeader, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[6],
0x1 | 0, 0)
;
11343 if (!SWIG_IsOK(res1)(res1 >= 0)) {
11344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GFitsHeader" "', argument " "1"" of type '" "GFitsHeader *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GFitsHeader" "', argument "
"1"" of type '" "GFitsHeader *""'"); goto fail; } while(0)
;
11345 }
11346 arg1 = reinterpret_cast< GFitsHeader * >(argp1);
11347 {
11348 try {
11349 delete arg1;
11350 }
11351 catch (const GException::out_of_range& e) {
11352 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
11353 }
11354 catch (const GExceptionHandler& e) {
11355 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11356 }
11357 catch (const std::exception& e) {
11358 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11359 }
11360 }
11361 resultobj = SWIG_Py_Void();
11362 return resultobj;
11363fail:
11364 return NULL__null;
11365}
11366
11367
11368SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeader_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11369 PyObject *resultobj = 0;
11370 GFitsHeader *arg1 = (GFitsHeader *) 0 ;
11371 void *argp1 = 0 ;
11372 int res1 = 0 ;
11373 PyObject * obj0 = 0 ;
11374
11375 if (!PyArg_ParseTuple(args,(char *)"O:GFitsHeader_clear",&obj0)) SWIG_failgoto fail;
11376 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeader, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[6],
0 | 0, 0)
;
11377 if (!SWIG_IsOK(res1)(res1 >= 0)) {
11378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeader_clear" "', argument " "1"" of type '" "GFitsHeader *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeader_clear" "', argument "
"1"" of type '" "GFitsHeader *""'"); goto fail; } while(0)
;
11379 }
11380 arg1 = reinterpret_cast< GFitsHeader * >(argp1);
11381 {
11382 try {
11383 (arg1)->clear();
11384 }
11385 catch (const GException::out_of_range& e) {
11386 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
11387 }
11388 catch (const GExceptionHandler& e) {
11389 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11390 }
11391 catch (const std::exception& e) {
11392 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11393 }
11394 }
11395 resultobj = SWIG_Py_Void();
11396 return resultobj;
11397fail:
11398 return NULL__null;
11399}
11400
11401
11402SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeader_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11403 PyObject *resultobj = 0;
11404 GFitsHeader *arg1 = (GFitsHeader *) 0 ;
11405 void *argp1 = 0 ;
11406 int res1 = 0 ;
11407 PyObject * obj0 = 0 ;
11408 GFitsHeader *result = 0 ;
11409
11410 if (!PyArg_ParseTuple(args,(char *)"O:GFitsHeader_clone",&obj0)) SWIG_failgoto fail;
11411 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeader, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[6],
0 | 0, 0)
;
11412 if (!SWIG_IsOK(res1)(res1 >= 0)) {
11413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeader_clone" "', argument " "1"" of type '" "GFitsHeader const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeader_clone" "', argument "
"1"" of type '" "GFitsHeader const *""'"); goto fail; } while
(0)
;
11414 }
11415 arg1 = reinterpret_cast< GFitsHeader * >(argp1);
11416 {
11417 try {
11418 result = (GFitsHeader *)((GFitsHeader const *)arg1)->clone();
11419 }
11420 catch (const GException::out_of_range& e) {
11421 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
11422 }
11423 catch (const GExceptionHandler& e) {
11424 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11425 }
11426 catch (const std::exception& e) {
11427 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11428 }
11429 }
11430 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsHeader, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[6], 0 |
0)
;
11431 return resultobj;
11432fail:
11433 return NULL__null;
11434}
11435
11436
11437SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeader_at__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11438 PyObject *resultobj = 0;
11439 GFitsHeader *arg1 = (GFitsHeader *) 0 ;
11440 int *arg2 = 0 ;
11441 void *argp1 = 0 ;
11442 int res1 = 0 ;
11443 int temp2 ;
11444 int val2 ;
11445 int ecode2 = 0 ;
11446 PyObject * obj0 = 0 ;
11447 PyObject * obj1 = 0 ;
11448 GFitsHeaderCard *result = 0 ;
11449
11450 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsHeader_at",&obj0,&obj1)) SWIG_failgoto fail;
11451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeader, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[6],
0 | 0, 0)
;
11452 if (!SWIG_IsOK(res1)(res1 >= 0)) {
11453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeader_at" "', argument " "1"" of type '" "GFitsHeader *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeader_at" "', argument "
"1"" of type '" "GFitsHeader *""'"); goto fail; } while(0)
;
11454 }
11455 arg1 = reinterpret_cast< GFitsHeader * >(argp1);
11456 ecode2 = SWIG_AsVal_int(obj1, &val2);
11457 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
11458 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsHeader_at" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsHeader_at" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
11459 }
11460 temp2 = static_cast< int >(val2);
11461 arg2 = &temp2;
11462 {
11463 try {
11464 result = (GFitsHeaderCard *) &(arg1)->at((int const &)*arg2);
11465 }
11466 catch (const GException::out_of_range& e) {
11467 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
11468 }
11469 catch (const GExceptionHandler& e) {
11470 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11471 }
11472 catch (const std::exception& e) {
11473 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11474 }
11475 }
11476 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsHeaderCard, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[7], 0 |
0)
;
11477 return resultobj;
11478fail:
11479 return NULL__null;
11480}
11481
11482
11483SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeader_at__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11484 PyObject *resultobj = 0;
11485 GFitsHeader *arg1 = (GFitsHeader *) 0 ;
11486 std::string *arg2 = 0 ;
11487 void *argp1 = 0 ;
11488 int res1 = 0 ;
11489 int res2 = SWIG_OLDOBJ((0)) ;
11490 PyObject * obj0 = 0 ;
11491 PyObject * obj1 = 0 ;
11492 GFitsHeaderCard *result = 0 ;
11493
11494 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsHeader_at",&obj0,&obj1)) SWIG_failgoto fail;
11495 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeader, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[6],
0 | 0, 0)
;
11496 if (!SWIG_IsOK(res1)(res1 >= 0)) {
11497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeader_at" "', argument " "1"" of type '" "GFitsHeader *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeader_at" "', argument "
"1"" of type '" "GFitsHeader *""'"); goto fail; } while(0)
;
11498 }
11499 arg1 = reinterpret_cast< GFitsHeader * >(argp1);
11500 {
11501 std::string *ptr = (std::string *)0;
11502 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
11503 if (!SWIG_IsOK(res2)(res2 >= 0)) {
11504 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsHeader_at" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsHeader_at" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
11505 }
11506 if (!ptr) {
11507 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsHeader_at" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsHeader_at" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
11508 }
11509 arg2 = ptr;
11510 }
11511 {
11512 try {
11513 result = (GFitsHeaderCard *) &(arg1)->at((std::string const &)*arg2);
11514 }
11515 catch (const GException::out_of_range& e) {
11516 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
11517 }
11518 catch (const GExceptionHandler& e) {
11519 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11520 }
11521 catch (const std::exception& e) {
11522 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11523 }
11524 }
11525 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsHeaderCard, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[7], 0 |
0)
;
11526 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
11527 return resultobj;
11528fail:
11529 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
11530 return NULL__null;
11531}
11532
11533
11534SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeader_at(PyObject *self, PyObject *args) {
11535 int argc;
11536 PyObject *argv[3];
11537 int ii;
11538
11539 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
11540 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
11541 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
11542 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
11543 }
11544 if (argc == 2) {
11545 int _v;
11546 void *vptr = 0;
11547 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHeader, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[6
], 0, 0)
;
11548 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
11549 if (_v) {
11550 {
11551 int res = SWIG_AsVal_int(argv[1], NULL__null);
11552 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
11553 }
11554 if (_v) {
11555 return _wrap_GFitsHeader_at__SWIG_0(self, args);
11556 }
11557 }
11558 }
11559 if (argc == 2) {
11560 int _v;
11561 void *vptr = 0;
11562 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHeader, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[6
], 0, 0)
;
11563 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
11564 if (_v) {
11565 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
11566 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
11567 if (_v) {
11568 return _wrap_GFitsHeader_at__SWIG_1(self, args);
11569 }
11570 }
11571 }
11572
11573fail:
11574 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsHeader_at'.\n"
11575 " Possible C/C++ prototypes are:\n"
11576 " GFitsHeader::at(int const &)\n"
11577 " GFitsHeader::at(std::string const &)\n");
11578 return 0;
11579}
11580
11581
11582SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeader_string__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11583 PyObject *resultobj = 0;
11584 GFitsHeader *arg1 = (GFitsHeader *) 0 ;
11585 int *arg2 = 0 ;
11586 void *argp1 = 0 ;
11587 int res1 = 0 ;
11588 int temp2 ;
11589 int val2 ;
11590 int ecode2 = 0 ;
11591 PyObject * obj0 = 0 ;
11592 PyObject * obj1 = 0 ;
11593 std::string result;
11594
11595 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsHeader_string",&obj0,&obj1)) SWIG_failgoto fail;
11596 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeader, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[6],
0 | 0, 0)
;
11597 if (!SWIG_IsOK(res1)(res1 >= 0)) {
11598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeader_string" "', argument " "1"" of type '" "GFitsHeader const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeader_string" "', argument "
"1"" of type '" "GFitsHeader const *""'"); goto fail; } while
(0)
;
11599 }
11600 arg1 = reinterpret_cast< GFitsHeader * >(argp1);
11601 ecode2 = SWIG_AsVal_int(obj1, &val2);
11602 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
11603 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsHeader_string" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsHeader_string" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
11604 }
11605 temp2 = static_cast< int >(val2);
11606 arg2 = &temp2;
11607 {
11608 try {
11609 result = ((GFitsHeader const *)arg1)->string((int const &)*arg2);
11610 }
11611 catch (const GException::out_of_range& e) {
11612 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
11613 }
11614 catch (const GExceptionHandler& e) {
11615 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11616 }
11617 catch (const std::exception& e) {
11618 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11619 }
11620 }
11621 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
11622 return resultobj;
11623fail:
11624 return NULL__null;
11625}
11626
11627
11628SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeader_string__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11629 PyObject *resultobj = 0;
11630 GFitsHeader *arg1 = (GFitsHeader *) 0 ;
11631 std::string *arg2 = 0 ;
11632 void *argp1 = 0 ;
11633 int res1 = 0 ;
11634 int res2 = SWIG_OLDOBJ((0)) ;
11635 PyObject * obj0 = 0 ;
11636 PyObject * obj1 = 0 ;
11637 std::string result;
11638
11639 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsHeader_string",&obj0,&obj1)) SWIG_failgoto fail;
11640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeader, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[6],
0 | 0, 0)
;
11641 if (!SWIG_IsOK(res1)(res1 >= 0)) {
11642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeader_string" "', argument " "1"" of type '" "GFitsHeader const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeader_string" "', argument "
"1"" of type '" "GFitsHeader const *""'"); goto fail; } while
(0)
;
11643 }
11644 arg1 = reinterpret_cast< GFitsHeader * >(argp1);
11645 {
11646 std::string *ptr = (std::string *)0;
11647 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
11648 if (!SWIG_IsOK(res2)(res2 >= 0)) {
11649 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsHeader_string" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsHeader_string" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
11650 }
11651 if (!ptr) {
11652 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsHeader_string" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsHeader_string" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
11653 }
11654 arg2 = ptr;
11655 }
11656 {
11657 try {
11658 result = ((GFitsHeader const *)arg1)->string((std::string const &)*arg2);
11659 }
11660 catch (const GException::out_of_range& e) {
11661 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
11662 }
11663 catch (const GExceptionHandler& e) {
11664 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11665 }
11666 catch (const std::exception& e) {
11667 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11668 }
11669 }
11670 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
11671 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
11672 return resultobj;
11673fail:
11674 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
11675 return NULL__null;
11676}
11677
11678
11679SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeader_string(PyObject *self, PyObject *args) {
11680 int argc;
11681 PyObject *argv[3];
11682 int ii;
11683
11684 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
11685 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
11686 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
11687 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
11688 }
11689 if (argc == 2) {
11690 int _v;
11691 void *vptr = 0;
11692 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHeader, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[6
], 0, 0)
;
11693 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
11694 if (_v) {
11695 {
11696 int res = SWIG_AsVal_int(argv[1], NULL__null);
11697 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
11698 }
11699 if (_v) {
11700 return _wrap_GFitsHeader_string__SWIG_0(self, args);
11701 }
11702 }
11703 }
11704 if (argc == 2) {
11705 int _v;
11706 void *vptr = 0;
11707 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHeader, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[6
], 0, 0)
;
11708 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
11709 if (_v) {
11710 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
11711 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
11712 if (_v) {
11713 return _wrap_GFitsHeader_string__SWIG_1(self, args);
11714 }
11715 }
11716 }
11717
11718fail:
11719 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsHeader_string'.\n"
11720 " Possible C/C++ prototypes are:\n"
11721 " GFitsHeader::string(int const &) const\n"
11722 " GFitsHeader::string(std::string const &) const\n");
11723 return 0;
11724}
11725
11726
11727SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeader_real__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11728 PyObject *resultobj = 0;
11729 GFitsHeader *arg1 = (GFitsHeader *) 0 ;
11730 int *arg2 = 0 ;
11731 void *argp1 = 0 ;
11732 int res1 = 0 ;
11733 int temp2 ;
11734 int val2 ;
11735 int ecode2 = 0 ;
11736 PyObject * obj0 = 0 ;
11737 PyObject * obj1 = 0 ;
11738 double result;
11739
11740 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsHeader_real",&obj0,&obj1)) SWIG_failgoto fail;
11741 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeader, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[6],
0 | 0, 0)
;
11742 if (!SWIG_IsOK(res1)(res1 >= 0)) {
11743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeader_real" "', argument " "1"" of type '" "GFitsHeader const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeader_real" "', argument "
"1"" of type '" "GFitsHeader const *""'"); goto fail; } while
(0)
;
11744 }
11745 arg1 = reinterpret_cast< GFitsHeader * >(argp1);
11746 ecode2 = SWIG_AsVal_int(obj1, &val2);
11747 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
11748 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsHeader_real" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsHeader_real" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
11749 }
11750 temp2 = static_cast< int >(val2);
11751 arg2 = &temp2;
11752 {
11753 try {
11754 result = (double)((GFitsHeader const *)arg1)->real((int const &)*arg2);
11755 }
11756 catch (const GException::out_of_range& e) {
11757 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
11758 }
11759 catch (const GExceptionHandler& e) {
11760 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11761 }
11762 catch (const std::exception& e) {
11763 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11764 }
11765 }
11766 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
11767 return resultobj;
11768fail:
11769 return NULL__null;
11770}
11771
11772
11773SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeader_real__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11774 PyObject *resultobj = 0;
11775 GFitsHeader *arg1 = (GFitsHeader *) 0 ;
11776 std::string *arg2 = 0 ;
11777 void *argp1 = 0 ;
11778 int res1 = 0 ;
11779 int res2 = SWIG_OLDOBJ((0)) ;
11780 PyObject * obj0 = 0 ;
11781 PyObject * obj1 = 0 ;
11782 double result;
11783
11784 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsHeader_real",&obj0,&obj1)) SWIG_failgoto fail;
11785 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeader, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[6],
0 | 0, 0)
;
11786 if (!SWIG_IsOK(res1)(res1 >= 0)) {
11787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeader_real" "', argument " "1"" of type '" "GFitsHeader const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeader_real" "', argument "
"1"" of type '" "GFitsHeader const *""'"); goto fail; } while
(0)
;
11788 }
11789 arg1 = reinterpret_cast< GFitsHeader * >(argp1);
11790 {
11791 std::string *ptr = (std::string *)0;
11792 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
11793 if (!SWIG_IsOK(res2)(res2 >= 0)) {
11794 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsHeader_real" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsHeader_real" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
11795 }
11796 if (!ptr) {
11797 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsHeader_real" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsHeader_real" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
11798 }
11799 arg2 = ptr;
11800 }
11801 {
11802 try {
11803 result = (double)((GFitsHeader const *)arg1)->real((std::string const &)*arg2);
11804 }
11805 catch (const GException::out_of_range& e) {
11806 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
11807 }
11808 catch (const GExceptionHandler& e) {
11809 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11810 }
11811 catch (const std::exception& e) {
11812 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11813 }
11814 }
11815 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
11816 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
11817 return resultobj;
11818fail:
11819 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
11820 return NULL__null;
11821}
11822
11823
11824SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeader_real(PyObject *self, PyObject *args) {
11825 int argc;
11826 PyObject *argv[3];
11827 int ii;
11828
11829 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
11830 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
11831 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
11832 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
11833 }
11834 if (argc == 2) {
11835 int _v;
11836 void *vptr = 0;
11837 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHeader, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[6
], 0, 0)
;
11838 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
11839 if (_v) {
11840 {
11841 int res = SWIG_AsVal_int(argv[1], NULL__null);
11842 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
11843 }
11844 if (_v) {
11845 return _wrap_GFitsHeader_real__SWIG_0(self, args);
11846 }
11847 }
11848 }
11849 if (argc == 2) {
11850 int _v;
11851 void *vptr = 0;
11852 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHeader, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[6
], 0, 0)
;
11853 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
11854 if (_v) {
11855 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
11856 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
11857 if (_v) {
11858 return _wrap_GFitsHeader_real__SWIG_1(self, args);
11859 }
11860 }
11861 }
11862
11863fail:
11864 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsHeader_real'.\n"
11865 " Possible C/C++ prototypes are:\n"
11866 " GFitsHeader::real(int const &) const\n"
11867 " GFitsHeader::real(std::string const &) const\n");
11868 return 0;
11869}
11870
11871
11872SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeader_integer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11873 PyObject *resultobj = 0;
11874 GFitsHeader *arg1 = (GFitsHeader *) 0 ;
11875 int *arg2 = 0 ;
11876 void *argp1 = 0 ;
11877 int res1 = 0 ;
11878 int temp2 ;
11879 int val2 ;
11880 int ecode2 = 0 ;
11881 PyObject * obj0 = 0 ;
11882 PyObject * obj1 = 0 ;
11883 int result;
11884
11885 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsHeader_integer",&obj0,&obj1)) SWIG_failgoto fail;
11886 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeader, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[6],
0 | 0, 0)
;
11887 if (!SWIG_IsOK(res1)(res1 >= 0)) {
11888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeader_integer" "', argument " "1"" of type '" "GFitsHeader const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeader_integer" "', argument "
"1"" of type '" "GFitsHeader const *""'"); goto fail; } while
(0)
;
11889 }
11890 arg1 = reinterpret_cast< GFitsHeader * >(argp1);
11891 ecode2 = SWIG_AsVal_int(obj1, &val2);
11892 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
11893 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsHeader_integer" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsHeader_integer" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
11894 }
11895 temp2 = static_cast< int >(val2);
11896 arg2 = &temp2;
11897 {
11898 try {
11899 result = (int)((GFitsHeader const *)arg1)->integer((int const &)*arg2);
11900 }
11901 catch (const GException::out_of_range& e) {
11902 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
11903 }
11904 catch (const GExceptionHandler& e) {
11905 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11906 }
11907 catch (const std::exception& e) {
11908 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11909 }
11910 }
11911 resultobj = SWIG_From_int(static_cast< int >(result));
11912 return resultobj;
11913fail:
11914 return NULL__null;
11915}
11916
11917
11918SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeader_integer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11919 PyObject *resultobj = 0;
11920 GFitsHeader *arg1 = (GFitsHeader *) 0 ;
11921 std::string *arg2 = 0 ;
11922 void *argp1 = 0 ;
11923 int res1 = 0 ;
11924 int res2 = SWIG_OLDOBJ((0)) ;
11925 PyObject * obj0 = 0 ;
11926 PyObject * obj1 = 0 ;
11927 int result;
11928
11929 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsHeader_integer",&obj0,&obj1)) SWIG_failgoto fail;
11930 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeader, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[6],
0 | 0, 0)
;
11931 if (!SWIG_IsOK(res1)(res1 >= 0)) {
11932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeader_integer" "', argument " "1"" of type '" "GFitsHeader const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeader_integer" "', argument "
"1"" of type '" "GFitsHeader const *""'"); goto fail; } while
(0)
;
11933 }
11934 arg1 = reinterpret_cast< GFitsHeader * >(argp1);
11935 {
11936 std::string *ptr = (std::string *)0;
11937 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
11938 if (!SWIG_IsOK(res2)(res2 >= 0)) {
11939 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsHeader_integer" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsHeader_integer" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
11940 }
11941 if (!ptr) {
11942 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsHeader_integer" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsHeader_integer" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
11943 }
11944 arg2 = ptr;
11945 }
11946 {
11947 try {
11948 result = (int)((GFitsHeader const *)arg1)->integer((std::string const &)*arg2);
11949 }
11950 catch (const GException::out_of_range& e) {
11951 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
11952 }
11953 catch (const GExceptionHandler& e) {
11954 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11955 }
11956 catch (const std::exception& e) {
11957 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
11958 }
11959 }
11960 resultobj = SWIG_From_int(static_cast< int >(result));
11961 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
11962 return resultobj;
11963fail:
11964 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
11965 return NULL__null;
11966}
11967
11968
11969SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeader_integer(PyObject *self, PyObject *args) {
11970 int argc;
11971 PyObject *argv[3];
11972 int ii;
11973
11974 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
11975 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
11976 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
11977 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
11978 }
11979 if (argc == 2) {
11980 int _v;
11981 void *vptr = 0;
11982 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHeader, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[6
], 0, 0)
;
11983 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
11984 if (_v) {
11985 {
11986 int res = SWIG_AsVal_int(argv[1], NULL__null);
11987 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
11988 }
11989 if (_v) {
11990 return _wrap_GFitsHeader_integer__SWIG_0(self, args);
11991 }
11992 }
11993 }
11994 if (argc == 2) {
11995 int _v;
11996 void *vptr = 0;
11997 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHeader, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[6
], 0, 0)
;
11998 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
11999 if (_v) {
12000 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
12001 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
12002 if (_v) {
12003 return _wrap_GFitsHeader_integer__SWIG_1(self, args);
12004 }
12005 }
12006 }
12007
12008fail:
12009 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsHeader_integer'.\n"
12010 " Possible C/C++ prototypes are:\n"
12011 " GFitsHeader::integer(int const &) const\n"
12012 " GFitsHeader::integer(std::string const &) const\n");
12013 return 0;
12014}
12015
12016
12017SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeader_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12018 PyObject *resultobj = 0;
12019 GFitsHeader *arg1 = (GFitsHeader *) 0 ;
12020 void *argp1 = 0 ;
12021 int res1 = 0 ;
12022 PyObject * obj0 = 0 ;
12023 int result;
12024
12025 if (!PyArg_ParseTuple(args,(char *)"O:GFitsHeader_size",&obj0)) SWIG_failgoto fail;
12026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeader, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[6],
0 | 0, 0)
;
12027 if (!SWIG_IsOK(res1)(res1 >= 0)) {
12028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeader_size" "', argument " "1"" of type '" "GFitsHeader const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeader_size" "', argument "
"1"" of type '" "GFitsHeader const *""'"); goto fail; } while
(0)
;
12029 }
12030 arg1 = reinterpret_cast< GFitsHeader * >(argp1);
12031 {
12032 try {
12033 result = (int)((GFitsHeader const *)arg1)->size();
12034 }
12035 catch (const GException::out_of_range& e) {
12036 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
12037 }
12038 catch (const GExceptionHandler& e) {
12039 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12040 }
12041 catch (const std::exception& e) {
12042 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12043 }
12044 }
12045 resultobj = SWIG_From_int(static_cast< int >(result));
12046 return resultobj;
12047fail:
12048 return NULL__null;
12049}
12050
12051
12052SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeader_isempty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12053 PyObject *resultobj = 0;
12054 GFitsHeader *arg1 = (GFitsHeader *) 0 ;
12055 void *argp1 = 0 ;
12056 int res1 = 0 ;
12057 PyObject * obj0 = 0 ;
12058 bool result;
12059
12060 if (!PyArg_ParseTuple(args,(char *)"O:GFitsHeader_isempty",&obj0)) SWIG_failgoto fail;
12061 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeader, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[6],
0 | 0, 0)
;
12062 if (!SWIG_IsOK(res1)(res1 >= 0)) {
12063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeader_isempty" "', argument " "1"" of type '" "GFitsHeader const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeader_isempty" "', argument "
"1"" of type '" "GFitsHeader const *""'"); goto fail; } while
(0)
;
12064 }
12065 arg1 = reinterpret_cast< GFitsHeader * >(argp1);
12066 {
12067 try {
12068 result = (bool)((GFitsHeader const *)arg1)->isempty();
12069 }
12070 catch (const GException::out_of_range& e) {
12071 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
12072 }
12073 catch (const GExceptionHandler& e) {
12074 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12075 }
12076 catch (const std::exception& e) {
12077 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12078 }
12079 }
12080 resultobj = SWIG_From_bool(static_cast< bool >(result));
12081 return resultobj;
12082fail:
12083 return NULL__null;
12084}
12085
12086
12087SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeader_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12088 PyObject *resultobj = 0;
12089 GFitsHeader *arg1 = (GFitsHeader *) 0 ;
12090 GFitsHeaderCard *arg2 = 0 ;
12091 void *argp1 = 0 ;
12092 int res1 = 0 ;
12093 void *argp2 = 0 ;
12094 int res2 = 0 ;
12095 PyObject * obj0 = 0 ;
12096 PyObject * obj1 = 0 ;
12097 GFitsHeaderCard *result = 0 ;
12098
12099 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsHeader_append",&obj0,&obj1)) SWIG_failgoto fail;
12100 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeader, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[6],
0 | 0, 0)
;
12101 if (!SWIG_IsOK(res1)(res1 >= 0)) {
12102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeader_append" "', argument " "1"" of type '" "GFitsHeader *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeader_append" "', argument "
"1"" of type '" "GFitsHeader *""'"); goto fail; } while(0)
;
12103 }
12104 arg1 = reinterpret_cast< GFitsHeader * >(argp1);
12105 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GFitsHeaderCard, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[7],
0 | 0, 0)
;
12106 if (!SWIG_IsOK(res2)(res2 >= 0)) {
12107 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsHeader_append" "', argument " "2"" of type '" "GFitsHeaderCard const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsHeader_append" "', argument "
"2"" of type '" "GFitsHeaderCard const &""'"); goto fail
; } while(0)
;
12108 }
12109 if (!argp2) {
12110 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsHeader_append" "', argument " "2"" of type '" "GFitsHeaderCard const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsHeader_append" "', argument " "2"" of type '"
"GFitsHeaderCard const &""'"); goto fail; } while(0)
;
12111 }
12112 arg2 = reinterpret_cast< GFitsHeaderCard * >(argp2);
12113 {
12114 try {
12115 result = (GFitsHeaderCard *) &(arg1)->append((GFitsHeaderCard const &)*arg2);
12116 }
12117 catch (const GException::out_of_range& e) {
12118 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
12119 }
12120 catch (const GExceptionHandler& e) {
12121 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12122 }
12123 catch (const std::exception& e) {
12124 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12125 }
12126 }
12127 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsHeaderCard, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[7], 0 |
0)
;
12128 return resultobj;
12129fail:
12130 return NULL__null;
12131}
12132
12133
12134SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeader_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12135 PyObject *resultobj = 0;
12136 GFitsHeader *arg1 = (GFitsHeader *) 0 ;
12137 int *arg2 = 0 ;
12138 GFitsHeaderCard *arg3 = 0 ;
12139 void *argp1 = 0 ;
12140 int res1 = 0 ;
12141 int temp2 ;
12142 int val2 ;
12143 int ecode2 = 0 ;
12144 void *argp3 = 0 ;
12145 int res3 = 0 ;
12146 PyObject * obj0 = 0 ;
12147 PyObject * obj1 = 0 ;
12148 PyObject * obj2 = 0 ;
12149 GFitsHeaderCard *result = 0 ;
12150
12151 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsHeader_insert",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
12152 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeader, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[6],
0 | 0, 0)
;
12153 if (!SWIG_IsOK(res1)(res1 >= 0)) {
12154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeader_insert" "', argument " "1"" of type '" "GFitsHeader *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeader_insert" "', argument "
"1"" of type '" "GFitsHeader *""'"); goto fail; } while(0)
;
12155 }
12156 arg1 = reinterpret_cast< GFitsHeader * >(argp1);
12157 ecode2 = SWIG_AsVal_int(obj1, &val2);
12158 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
12159 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsHeader_insert" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsHeader_insert" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
12160 }
12161 temp2 = static_cast< int >(val2);
12162 arg2 = &temp2;
12163 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GFitsHeaderCard, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[7],
0 | 0, 0)
;
12164 if (!SWIG_IsOK(res3)(res3 >= 0)) {
12165 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GFitsHeader_insert" "', argument " "3"" of type '" "GFitsHeaderCard const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GFitsHeader_insert" "', argument "
"3"" of type '" "GFitsHeaderCard const &""'"); goto fail
; } while(0)
;
12166 }
12167 if (!argp3) {
12168 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsHeader_insert" "', argument " "3"" of type '" "GFitsHeaderCard const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsHeader_insert" "', argument " "3"" of type '"
"GFitsHeaderCard const &""'"); goto fail; } while(0)
;
12169 }
12170 arg3 = reinterpret_cast< GFitsHeaderCard * >(argp3);
12171 {
12172 try {
12173 result = (GFitsHeaderCard *) &(arg1)->insert((int const &)*arg2,(GFitsHeaderCard const &)*arg3);
12174 }
12175 catch (const GException::out_of_range& e) {
12176 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
12177 }
12178 catch (const GExceptionHandler& e) {
12179 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12180 }
12181 catch (const std::exception& e) {
12182 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12183 }
12184 }
12185 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsHeaderCard, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[7], 0 |
0)
;
12186 return resultobj;
12187fail:
12188 return NULL__null;
12189}
12190
12191
12192SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeader_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12193 PyObject *resultobj = 0;
12194 GFitsHeader *arg1 = (GFitsHeader *) 0 ;
12195 std::string *arg2 = 0 ;
12196 GFitsHeaderCard *arg3 = 0 ;
12197 void *argp1 = 0 ;
12198 int res1 = 0 ;
12199 int res2 = SWIG_OLDOBJ((0)) ;
12200 void *argp3 = 0 ;
12201 int res3 = 0 ;
12202 PyObject * obj0 = 0 ;
12203 PyObject * obj1 = 0 ;
12204 PyObject * obj2 = 0 ;
12205 GFitsHeaderCard *result = 0 ;
12206
12207 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsHeader_insert",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
12208 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeader, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[6],
0 | 0, 0)
;
12209 if (!SWIG_IsOK(res1)(res1 >= 0)) {
12210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeader_insert" "', argument " "1"" of type '" "GFitsHeader *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeader_insert" "', argument "
"1"" of type '" "GFitsHeader *""'"); goto fail; } while(0)
;
12211 }
12212 arg1 = reinterpret_cast< GFitsHeader * >(argp1);
12213 {
12214 std::string *ptr = (std::string *)0;
12215 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
12216 if (!SWIG_IsOK(res2)(res2 >= 0)) {
12217 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsHeader_insert" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsHeader_insert" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
12218 }
12219 if (!ptr) {
12220 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsHeader_insert" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsHeader_insert" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
12221 }
12222 arg2 = ptr;
12223 }
12224 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GFitsHeaderCard, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[7],
0 | 0, 0)
;
12225 if (!SWIG_IsOK(res3)(res3 >= 0)) {
12226 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GFitsHeader_insert" "', argument " "3"" of type '" "GFitsHeaderCard const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GFitsHeader_insert" "', argument "
"3"" of type '" "GFitsHeaderCard const &""'"); goto fail
; } while(0)
;
12227 }
12228 if (!argp3) {
12229 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsHeader_insert" "', argument " "3"" of type '" "GFitsHeaderCard const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsHeader_insert" "', argument " "3"" of type '"
"GFitsHeaderCard const &""'"); goto fail; } while(0)
;
12230 }
12231 arg3 = reinterpret_cast< GFitsHeaderCard * >(argp3);
12232 {
12233 try {
12234 result = (GFitsHeaderCard *) &(arg1)->insert((std::string const &)*arg2,(GFitsHeaderCard const &)*arg3);
12235 }
12236 catch (const GException::out_of_range& e) {
12237 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
12238 }
12239 catch (const GExceptionHandler& e) {
12240 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12241 }
12242 catch (const std::exception& e) {
12243 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12244 }
12245 }
12246 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsHeaderCard, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[7], 0 |
0)
;
12247 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
12248 return resultobj;
12249fail:
12250 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
12251 return NULL__null;
12252}
12253
12254
12255SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeader_insert(PyObject *self, PyObject *args) {
12256 int argc;
12257 PyObject *argv[4];
12258 int ii;
12259
12260 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
12261 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
12262 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
12263 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
12264 }
12265 if (argc == 3) {
12266 int _v;
12267 void *vptr = 0;
12268 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHeader, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[6
], 0, 0)
;
12269 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
12270 if (_v) {
12271 {
12272 int res = SWIG_AsVal_int(argv[1], NULL__null);
12273 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
12274 }
12275 if (_v) {
12276 int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_GFitsHeaderCard, 0)SWIG_Python_ConvertPtrAndOwn(argv[2], 0, swig_types[7], 0, 0);
12277 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
12278 if (_v) {
12279 return _wrap_GFitsHeader_insert__SWIG_0(self, args);
12280 }
12281 }
12282 }
12283 }
12284 if (argc == 3) {
12285 int _v;
12286 void *vptr = 0;
12287 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHeader, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[6
], 0, 0)
;
12288 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
12289 if (_v) {
12290 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
12291 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
12292 if (_v) {
12293 int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_GFitsHeaderCard, 0)SWIG_Python_ConvertPtrAndOwn(argv[2], 0, swig_types[7], 0, 0);
12294 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
12295 if (_v) {
12296 return _wrap_GFitsHeader_insert__SWIG_1(self, args);
12297 }
12298 }
12299 }
12300 }
12301
12302fail:
12303 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsHeader_insert'.\n"
12304 " Possible C/C++ prototypes are:\n"
12305 " GFitsHeader::insert(int const &,GFitsHeaderCard const &)\n"
12306 " GFitsHeader::insert(std::string const &,GFitsHeaderCard const &)\n");
12307 return 0;
12308}
12309
12310
12311SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeader_remove__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12312 PyObject *resultobj = 0;
12313 GFitsHeader *arg1 = (GFitsHeader *) 0 ;
12314 int *arg2 = 0 ;
12315 void *argp1 = 0 ;
12316 int res1 = 0 ;
12317 int temp2 ;
12318 int val2 ;
12319 int ecode2 = 0 ;
12320 PyObject * obj0 = 0 ;
12321 PyObject * obj1 = 0 ;
12322
12323 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsHeader_remove",&obj0,&obj1)) SWIG_failgoto fail;
12324 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeader, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[6],
0 | 0, 0)
;
12325 if (!SWIG_IsOK(res1)(res1 >= 0)) {
12326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeader_remove" "', argument " "1"" of type '" "GFitsHeader *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeader_remove" "', argument "
"1"" of type '" "GFitsHeader *""'"); goto fail; } while(0)
;
12327 }
12328 arg1 = reinterpret_cast< GFitsHeader * >(argp1);
12329 ecode2 = SWIG_AsVal_int(obj1, &val2);
12330 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
12331 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsHeader_remove" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsHeader_remove" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
12332 }
12333 temp2 = static_cast< int >(val2);
12334 arg2 = &temp2;
12335 {
12336 try {
12337 (arg1)->remove((int const &)*arg2);
12338 }
12339 catch (const GException::out_of_range& e) {
12340 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
12341 }
12342 catch (const GExceptionHandler& e) {
12343 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12344 }
12345 catch (const std::exception& e) {
12346 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12347 }
12348 }
12349 resultobj = SWIG_Py_Void();
12350 return resultobj;
12351fail:
12352 return NULL__null;
12353}
12354
12355
12356SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeader_remove__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12357 PyObject *resultobj = 0;
12358 GFitsHeader *arg1 = (GFitsHeader *) 0 ;
12359 std::string *arg2 = 0 ;
12360 void *argp1 = 0 ;
12361 int res1 = 0 ;
12362 int res2 = SWIG_OLDOBJ((0)) ;
12363 PyObject * obj0 = 0 ;
12364 PyObject * obj1 = 0 ;
12365
12366 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsHeader_remove",&obj0,&obj1)) SWIG_failgoto fail;
12367 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeader, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[6],
0 | 0, 0)
;
12368 if (!SWIG_IsOK(res1)(res1 >= 0)) {
12369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeader_remove" "', argument " "1"" of type '" "GFitsHeader *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeader_remove" "', argument "
"1"" of type '" "GFitsHeader *""'"); goto fail; } while(0)
;
12370 }
12371 arg1 = reinterpret_cast< GFitsHeader * >(argp1);
12372 {
12373 std::string *ptr = (std::string *)0;
12374 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
12375 if (!SWIG_IsOK(res2)(res2 >= 0)) {
12376 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsHeader_remove" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsHeader_remove" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
12377 }
12378 if (!ptr) {
12379 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsHeader_remove" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsHeader_remove" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
12380 }
12381 arg2 = ptr;
12382 }
12383 {
12384 try {
12385 (arg1)->remove((std::string const &)*arg2);
12386 }
12387 catch (const GException::out_of_range& e) {
12388 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
12389 }
12390 catch (const GExceptionHandler& e) {
12391 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12392 }
12393 catch (const std::exception& e) {
12394 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12395 }
12396 }
12397 resultobj = SWIG_Py_Void();
12398 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
12399 return resultobj;
12400fail:
12401 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
12402 return NULL__null;
12403}
12404
12405
12406SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeader_remove(PyObject *self, PyObject *args) {
12407 int argc;
12408 PyObject *argv[3];
12409 int ii;
12410
12411 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
12412 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
12413 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
12414 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
12415 }
12416 if (argc == 2) {
12417 int _v;
12418 void *vptr = 0;
12419 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHeader, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[6
], 0, 0)
;
12420 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
12421 if (_v) {
12422 {
12423 int res = SWIG_AsVal_int(argv[1], NULL__null);
12424 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
12425 }
12426 if (_v) {
12427 return _wrap_GFitsHeader_remove__SWIG_0(self, args);
12428 }
12429 }
12430 }
12431 if (argc == 2) {
12432 int _v;
12433 void *vptr = 0;
12434 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHeader, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[6
], 0, 0)
;
12435 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
12436 if (_v) {
12437 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
12438 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
12439 if (_v) {
12440 return _wrap_GFitsHeader_remove__SWIG_1(self, args);
12441 }
12442 }
12443 }
12444
12445fail:
12446 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsHeader_remove'.\n"
12447 " Possible C/C++ prototypes are:\n"
12448 " GFitsHeader::remove(int const &)\n"
12449 " GFitsHeader::remove(std::string const &)\n");
12450 return 0;
12451}
12452
12453
12454SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeader_reserve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12455 PyObject *resultobj = 0;
12456 GFitsHeader *arg1 = (GFitsHeader *) 0 ;
12457 int *arg2 = 0 ;
12458 void *argp1 = 0 ;
12459 int res1 = 0 ;
12460 int temp2 ;
12461 int val2 ;
12462 int ecode2 = 0 ;
12463 PyObject * obj0 = 0 ;
12464 PyObject * obj1 = 0 ;
12465
12466 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsHeader_reserve",&obj0,&obj1)) SWIG_failgoto fail;
12467 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeader, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[6],
0 | 0, 0)
;
12468 if (!SWIG_IsOK(res1)(res1 >= 0)) {
12469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeader_reserve" "', argument " "1"" of type '" "GFitsHeader *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeader_reserve" "', argument "
"1"" of type '" "GFitsHeader *""'"); goto fail; } while(0)
;
12470 }
12471 arg1 = reinterpret_cast< GFitsHeader * >(argp1);
12472 ecode2 = SWIG_AsVal_int(obj1, &val2);
12473 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
12474 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsHeader_reserve" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsHeader_reserve" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
12475 }
12476 temp2 = static_cast< int >(val2);
12477 arg2 = &temp2;
12478 {
12479 try {
12480 (arg1)->reserve((int const &)*arg2);
12481 }
12482 catch (const GException::out_of_range& e) {
12483 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
12484 }
12485 catch (const GExceptionHandler& e) {
12486 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12487 }
12488 catch (const std::exception& e) {
12489 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12490 }
12491 }
12492 resultobj = SWIG_Py_Void();
12493 return resultobj;
12494fail:
12495 return NULL__null;
12496}
12497
12498
12499SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeader_extend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12500 PyObject *resultobj = 0;
12501 GFitsHeader *arg1 = (GFitsHeader *) 0 ;
12502 GFitsHeader *arg2 = 0 ;
12503 void *argp1 = 0 ;
12504 int res1 = 0 ;
12505 void *argp2 = 0 ;
12506 int res2 = 0 ;
12507 PyObject * obj0 = 0 ;
12508 PyObject * obj1 = 0 ;
12509
12510 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsHeader_extend",&obj0,&obj1)) SWIG_failgoto fail;
12511 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeader, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[6],
0 | 0, 0)
;
12512 if (!SWIG_IsOK(res1)(res1 >= 0)) {
12513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeader_extend" "', argument " "1"" of type '" "GFitsHeader *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeader_extend" "', argument "
"1"" of type '" "GFitsHeader *""'"); goto fail; } while(0)
;
12514 }
12515 arg1 = reinterpret_cast< GFitsHeader * >(argp1);
12516 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GFitsHeader, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[6],
0 | 0, 0)
;
12517 if (!SWIG_IsOK(res2)(res2 >= 0)) {
12518 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsHeader_extend" "', argument " "2"" of type '" "GFitsHeader const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsHeader_extend" "', argument "
"2"" of type '" "GFitsHeader const &""'"); goto fail; } while
(0)
;
12519 }
12520 if (!argp2) {
12521 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsHeader_extend" "', argument " "2"" of type '" "GFitsHeader const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsHeader_extend" "', argument " "2"" of type '"
"GFitsHeader const &""'"); goto fail; } while(0)
;
12522 }
12523 arg2 = reinterpret_cast< GFitsHeader * >(argp2);
12524 {
12525 try {
12526 (arg1)->extend((GFitsHeader const &)*arg2);
12527 }
12528 catch (const GException::out_of_range& e) {
12529 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
12530 }
12531 catch (const GExceptionHandler& e) {
12532 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12533 }
12534 catch (const std::exception& e) {
12535 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12536 }
12537 }
12538 resultobj = SWIG_Py_Void();
12539 return resultobj;
12540fail:
12541 return NULL__null;
12542}
12543
12544
12545SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeader_contains__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12546 PyObject *resultobj = 0;
12547 GFitsHeader *arg1 = (GFitsHeader *) 0 ;
12548 int *arg2 = 0 ;
12549 void *argp1 = 0 ;
12550 int res1 = 0 ;
12551 int temp2 ;
12552 int val2 ;
12553 int ecode2 = 0 ;
12554 PyObject * obj0 = 0 ;
12555 PyObject * obj1 = 0 ;
12556 bool result;
12557
12558 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsHeader_contains",&obj0,&obj1)) SWIG_failgoto fail;
12559 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeader, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[6],
0 | 0, 0)
;
12560 if (!SWIG_IsOK(res1)(res1 >= 0)) {
12561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeader_contains" "', argument " "1"" of type '" "GFitsHeader const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeader_contains" "', argument "
"1"" of type '" "GFitsHeader const *""'"); goto fail; } while
(0)
;
12562 }
12563 arg1 = reinterpret_cast< GFitsHeader * >(argp1);
12564 ecode2 = SWIG_AsVal_int(obj1, &val2);
12565 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
12566 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsHeader_contains" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsHeader_contains" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
12567 }
12568 temp2 = static_cast< int >(val2);
12569 arg2 = &temp2;
12570 {
12571 try {
12572 result = (bool)((GFitsHeader const *)arg1)->contains((int const &)*arg2);
12573 }
12574 catch (const GException::out_of_range& e) {
12575 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
12576 }
12577 catch (const GExceptionHandler& e) {
12578 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12579 }
12580 catch (const std::exception& e) {
12581 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12582 }
12583 }
12584 resultobj = SWIG_From_bool(static_cast< bool >(result));
12585 return resultobj;
12586fail:
12587 return NULL__null;
12588}
12589
12590
12591SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeader_contains__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12592 PyObject *resultobj = 0;
12593 GFitsHeader *arg1 = (GFitsHeader *) 0 ;
12594 std::string *arg2 = 0 ;
12595 void *argp1 = 0 ;
12596 int res1 = 0 ;
12597 int res2 = SWIG_OLDOBJ((0)) ;
12598 PyObject * obj0 = 0 ;
12599 PyObject * obj1 = 0 ;
12600 bool result;
12601
12602 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsHeader_contains",&obj0,&obj1)) SWIG_failgoto fail;
12603 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeader, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[6],
0 | 0, 0)
;
12604 if (!SWIG_IsOK(res1)(res1 >= 0)) {
12605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeader_contains" "', argument " "1"" of type '" "GFitsHeader const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeader_contains" "', argument "
"1"" of type '" "GFitsHeader const *""'"); goto fail; } while
(0)
;
12606 }
12607 arg1 = reinterpret_cast< GFitsHeader * >(argp1);
12608 {
12609 std::string *ptr = (std::string *)0;
12610 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
12611 if (!SWIG_IsOK(res2)(res2 >= 0)) {
12612 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsHeader_contains" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsHeader_contains" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
12613 }
12614 if (!ptr) {
12615 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsHeader_contains" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsHeader_contains" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
12616 }
12617 arg2 = ptr;
12618 }
12619 {
12620 try {
12621 result = (bool)((GFitsHeader const *)arg1)->contains((std::string const &)*arg2);
12622 }
12623 catch (const GException::out_of_range& e) {
12624 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
12625 }
12626 catch (const GExceptionHandler& e) {
12627 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12628 }
12629 catch (const std::exception& e) {
12630 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12631 }
12632 }
12633 resultobj = SWIG_From_bool(static_cast< bool >(result));
12634 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
12635 return resultobj;
12636fail:
12637 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
12638 return NULL__null;
12639}
12640
12641
12642SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeader_contains(PyObject *self, PyObject *args) {
12643 int argc;
12644 PyObject *argv[3];
12645 int ii;
12646
12647 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
12648 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
12649 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
12650 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
12651 }
12652 if (argc == 2) {
12653 int _v;
12654 void *vptr = 0;
12655 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHeader, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[6
], 0, 0)
;
12656 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
12657 if (_v) {
12658 {
12659 int res = SWIG_AsVal_int(argv[1], NULL__null);
12660 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
12661 }
12662 if (_v) {
12663 return _wrap_GFitsHeader_contains__SWIG_0(self, args);
12664 }
12665 }
12666 }
12667 if (argc == 2) {
12668 int _v;
12669 void *vptr = 0;
12670 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHeader, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[6
], 0, 0)
;
12671 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
12672 if (_v) {
12673 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
12674 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
12675 if (_v) {
12676 return _wrap_GFitsHeader_contains__SWIG_1(self, args);
12677 }
12678 }
12679 }
12680
12681fail:
12682 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsHeader_contains'.\n"
12683 " Possible C/C++ prototypes are:\n"
12684 " GFitsHeader::contains(int const &) const\n"
12685 " GFitsHeader::contains(std::string const &) const\n");
12686 return 0;
12687}
12688
12689
12690SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeader_load(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12691 PyObject *resultobj = 0;
12692 GFitsHeader *arg1 = (GFitsHeader *) 0 ;
12693 void *arg2 = (void *) 0 ;
12694 void *argp1 = 0 ;
12695 int res1 = 0 ;
12696 int res2 ;
12697 PyObject * obj0 = 0 ;
12698 PyObject * obj1 = 0 ;
12699
12700 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsHeader_load",&obj0,&obj1)) SWIG_failgoto fail;
12701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeader, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[6],
0 | 0, 0)
;
12702 if (!SWIG_IsOK(res1)(res1 >= 0)) {
12703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeader_load" "', argument " "1"" of type '" "GFitsHeader *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeader_load" "', argument "
"1"" of type '" "GFitsHeader *""'"); goto fail; } while(0)
;
12704 }
12705 arg1 = reinterpret_cast< GFitsHeader * >(argp1);
12706 res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0)SWIG_Python_ConvertPtrAndOwn(obj1, ((void)const_cast< void
* >(static_cast< const void * >(*&arg2)),reinterpret_cast
< void** >(&arg2)), 0, 0, 0)
;
12707 if (!SWIG_IsOK(res2)(res2 >= 0)) {
12708 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsHeader_load" "', argument " "2"" of type '" "void *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsHeader_load" "', argument "
"2"" of type '" "void *""'"); goto fail; } while(0)
;
12709 }
12710 {
12711 try {
12712 (arg1)->load(arg2);
12713 }
12714 catch (const GException::out_of_range& e) {
12715 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
12716 }
12717 catch (const GExceptionHandler& e) {
12718 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12719 }
12720 catch (const std::exception& e) {
12721 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12722 }
12723 }
12724 resultobj = SWIG_Py_Void();
12725 return resultobj;
12726fail:
12727 return NULL__null;
12728}
12729
12730
12731SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeader_save(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12732 PyObject *resultobj = 0;
12733 GFitsHeader *arg1 = (GFitsHeader *) 0 ;
12734 void *arg2 = (void *) 0 ;
12735 void *argp1 = 0 ;
12736 int res1 = 0 ;
12737 int res2 ;
12738 PyObject * obj0 = 0 ;
12739 PyObject * obj1 = 0 ;
12740
12741 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsHeader_save",&obj0,&obj1)) SWIG_failgoto fail;
12742 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeader, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[6],
0 | 0, 0)
;
12743 if (!SWIG_IsOK(res1)(res1 >= 0)) {
12744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeader_save" "', argument " "1"" of type '" "GFitsHeader const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeader_save" "', argument "
"1"" of type '" "GFitsHeader const *""'"); goto fail; } while
(0)
;
12745 }
12746 arg1 = reinterpret_cast< GFitsHeader * >(argp1);
12747 res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0)SWIG_Python_ConvertPtrAndOwn(obj1, ((void)const_cast< void
* >(static_cast< const void * >(*&arg2)),reinterpret_cast
< void** >(&arg2)), 0, 0, 0)
;
12748 if (!SWIG_IsOK(res2)(res2 >= 0)) {
12749 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsHeader_save" "', argument " "2"" of type '" "void *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsHeader_save" "', argument "
"2"" of type '" "void *""'"); goto fail; } while(0)
;
12750 }
12751 {
12752 try {
12753 ((GFitsHeader const *)arg1)->save(arg2);
12754 }
12755 catch (const GException::out_of_range& e) {
12756 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
12757 }
12758 catch (const GExceptionHandler& e) {
12759 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12760 }
12761 catch (const std::exception& e) {
12762 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12763 }
12764 }
12765 resultobj = SWIG_Py_Void();
12766 return resultobj;
12767fail:
12768 return NULL__null;
12769}
12770
12771
12772SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeader___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12773 PyObject *resultobj = 0;
12774 GFitsHeader *arg1 = (GFitsHeader *) 0 ;
12775 int *arg2 = 0 ;
12776 void *argp1 = 0 ;
12777 int res1 = 0 ;
12778 int temp2 ;
12779 int val2 ;
12780 int ecode2 = 0 ;
12781 PyObject * obj0 = 0 ;
12782 PyObject * obj1 = 0 ;
12783 GFitsHeaderCard *result = 0 ;
12784
12785 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsHeader___getitem__",&obj0,&obj1)) SWIG_failgoto fail;
12786 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeader, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[6],
0 | 0, 0)
;
12787 if (!SWIG_IsOK(res1)(res1 >= 0)) {
12788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeader___getitem__" "', argument " "1"" of type '" "GFitsHeader *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeader___getitem__" "', argument "
"1"" of type '" "GFitsHeader *""'"); goto fail; } while(0)
;
12789 }
12790 arg1 = reinterpret_cast< GFitsHeader * >(argp1);
12791 ecode2 = SWIG_AsVal_int(obj1, &val2);
12792 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
12793 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsHeader___getitem__" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsHeader___getitem__"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
12794 }
12795 temp2 = static_cast< int >(val2);
12796 arg2 = &temp2;
12797 {
12798 try {
12799 result = (GFitsHeaderCard *) &GFitsHeader___getitem____SWIG_0(arg1,(int const &)*arg2);
12800 }
12801 catch (const GException::out_of_range& e) {
12802 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
12803 }
12804 catch (const GExceptionHandler& e) {
12805 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12806 }
12807 catch (const std::exception& e) {
12808 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12809 }
12810 }
12811 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsHeaderCard, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[7], 0 |
0)
;
12812 return resultobj;
12813fail:
12814 return NULL__null;
12815}
12816
12817
12818SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeader___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12819 PyObject *resultobj = 0;
12820 GFitsHeader *arg1 = (GFitsHeader *) 0 ;
12821 std::string *arg2 = 0 ;
12822 void *argp1 = 0 ;
12823 int res1 = 0 ;
12824 int res2 = SWIG_OLDOBJ((0)) ;
12825 PyObject * obj0 = 0 ;
12826 PyObject * obj1 = 0 ;
12827 GFitsHeaderCard *result = 0 ;
12828
12829 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsHeader___getitem__",&obj0,&obj1)) SWIG_failgoto fail;
12830 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeader, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[6],
0 | 0, 0)
;
12831 if (!SWIG_IsOK(res1)(res1 >= 0)) {
12832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeader___getitem__" "', argument " "1"" of type '" "GFitsHeader *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeader___getitem__" "', argument "
"1"" of type '" "GFitsHeader *""'"); goto fail; } while(0)
;
12833 }
12834 arg1 = reinterpret_cast< GFitsHeader * >(argp1);
12835 {
12836 std::string *ptr = (std::string *)0;
12837 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
12838 if (!SWIG_IsOK(res2)(res2 >= 0)) {
12839 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsHeader___getitem__" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsHeader___getitem__" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
12840 }
12841 if (!ptr) {
12842 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsHeader___getitem__" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsHeader___getitem__" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
12843 }
12844 arg2 = ptr;
12845 }
12846 {
12847 try {
12848 result = (GFitsHeaderCard *) &GFitsHeader___getitem____SWIG_1(arg1,(std::string const &)*arg2);
12849 }
12850 catch (const GException::out_of_range& e) {
12851 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
12852 }
12853 catch (const GExceptionHandler& e) {
12854 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12855 }
12856 catch (const std::exception& e) {
12857 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12858 }
12859 }
12860 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsHeaderCard, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[7], 0 |
0)
;
12861 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
12862 return resultobj;
12863fail:
12864 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
12865 return NULL__null;
12866}
12867
12868
12869SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeader___getitem__(PyObject *self, PyObject *args) {
12870 int argc;
12871 PyObject *argv[3];
12872 int ii;
12873
12874 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
12875 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
12876 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
12877 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
12878 }
12879 if (argc == 2) {
12880 int _v;
12881 void *vptr = 0;
12882 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHeader, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[6
], 0, 0)
;
12883 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
12884 if (_v) {
12885 {
12886 int res = SWIG_AsVal_int(argv[1], NULL__null);
12887 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
12888 }
12889 if (_v) {
12890 return _wrap_GFitsHeader___getitem____SWIG_0(self, args);
12891 }
12892 }
12893 }
12894 if (argc == 2) {
12895 int _v;
12896 void *vptr = 0;
12897 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHeader, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[6
], 0, 0)
;
12898 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
12899 if (_v) {
12900 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
12901 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
12902 if (_v) {
12903 return _wrap_GFitsHeader___getitem____SWIG_1(self, args);
12904 }
12905 }
12906 }
12907
12908fail:
12909 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsHeader___getitem__'.\n"
12910 " Possible C/C++ prototypes are:\n"
12911 " GFitsHeader::__getitem__(int const &)\n"
12912 " GFitsHeader::__getitem__(std::string const &)\n");
12913 return 0;
12914}
12915
12916
12917SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeader___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12918 PyObject *resultobj = 0;
12919 GFitsHeader *arg1 = (GFitsHeader *) 0 ;
12920 int *arg2 = 0 ;
12921 GFitsHeaderCard *arg3 = 0 ;
12922 void *argp1 = 0 ;
12923 int res1 = 0 ;
12924 int temp2 ;
12925 int val2 ;
12926 int ecode2 = 0 ;
12927 void *argp3 = 0 ;
12928 int res3 = 0 ;
12929 PyObject * obj0 = 0 ;
12930 PyObject * obj1 = 0 ;
12931 PyObject * obj2 = 0 ;
12932
12933 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsHeader___setitem__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
12934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeader, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[6],
0 | 0, 0)
;
12935 if (!SWIG_IsOK(res1)(res1 >= 0)) {
12936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeader___setitem__" "', argument " "1"" of type '" "GFitsHeader *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeader___setitem__" "', argument "
"1"" of type '" "GFitsHeader *""'"); goto fail; } while(0)
;
12937 }
12938 arg1 = reinterpret_cast< GFitsHeader * >(argp1);
12939 ecode2 = SWIG_AsVal_int(obj1, &val2);
12940 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
12941 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsHeader___setitem__" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsHeader___setitem__"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
12942 }
12943 temp2 = static_cast< int >(val2);
12944 arg2 = &temp2;
12945 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GFitsHeaderCard, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[7],
0 | 0, 0)
;
12946 if (!SWIG_IsOK(res3)(res3 >= 0)) {
12947 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GFitsHeader___setitem__" "', argument " "3"" of type '" "GFitsHeaderCard const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GFitsHeader___setitem__" "', argument "
"3"" of type '" "GFitsHeaderCard const &""'"); goto fail
; } while(0)
;
12948 }
12949 if (!argp3) {
12950 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsHeader___setitem__" "', argument " "3"" of type '" "GFitsHeaderCard const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsHeader___setitem__" "', argument " "3"" of type '"
"GFitsHeaderCard const &""'"); goto fail; } while(0)
;
12951 }
12952 arg3 = reinterpret_cast< GFitsHeaderCard * >(argp3);
12953 {
12954 try {
12955 GFitsHeader___setitem____SWIG_0(arg1,(int const &)*arg2,(GFitsHeaderCard const &)*arg3);
12956 }
12957 catch (const GException::out_of_range& e) {
12958 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
12959 }
12960 catch (const GExceptionHandler& e) {
12961 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12962 }
12963 catch (const std::exception& e) {
12964 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
12965 }
12966 }
12967 resultobj = SWIG_Py_Void();
12968 return resultobj;
12969fail:
12970 return NULL__null;
12971}
12972
12973
12974SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeader___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12975 PyObject *resultobj = 0;
12976 GFitsHeader *arg1 = (GFitsHeader *) 0 ;
12977 std::string *arg2 = 0 ;
12978 GFitsHeaderCard *arg3 = 0 ;
12979 void *argp1 = 0 ;
12980 int res1 = 0 ;
12981 int res2 = SWIG_OLDOBJ((0)) ;
12982 void *argp3 = 0 ;
12983 int res3 = 0 ;
12984 PyObject * obj0 = 0 ;
12985 PyObject * obj1 = 0 ;
12986 PyObject * obj2 = 0 ;
12987
12988 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsHeader___setitem__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
12989 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeader, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[6],
0 | 0, 0)
;
12990 if (!SWIG_IsOK(res1)(res1 >= 0)) {
12991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeader___setitem__" "', argument " "1"" of type '" "GFitsHeader *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeader___setitem__" "', argument "
"1"" of type '" "GFitsHeader *""'"); goto fail; } while(0)
;
12992 }
12993 arg1 = reinterpret_cast< GFitsHeader * >(argp1);
12994 {
12995 std::string *ptr = (std::string *)0;
12996 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
12997 if (!SWIG_IsOK(res2)(res2 >= 0)) {
12998 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsHeader___setitem__" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsHeader___setitem__" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
12999 }
13000 if (!ptr) {
13001 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsHeader___setitem__" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsHeader___setitem__" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
13002 }
13003 arg2 = ptr;
13004 }
13005 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GFitsHeaderCard, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[7],
0 | 0, 0)
;
13006 if (!SWIG_IsOK(res3)(res3 >= 0)) {
13007 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GFitsHeader___setitem__" "', argument " "3"" of type '" "GFitsHeaderCard const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GFitsHeader___setitem__" "', argument "
"3"" of type '" "GFitsHeaderCard const &""'"); goto fail
; } while(0)
;
13008 }
13009 if (!argp3) {
13010 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsHeader___setitem__" "', argument " "3"" of type '" "GFitsHeaderCard const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsHeader___setitem__" "', argument " "3"" of type '"
"GFitsHeaderCard const &""'"); goto fail; } while(0)
;
13011 }
13012 arg3 = reinterpret_cast< GFitsHeaderCard * >(argp3);
13013 {
13014 try {
13015 GFitsHeader___setitem____SWIG_1(arg1,(std::string const &)*arg2,(GFitsHeaderCard const &)*arg3);
13016 }
13017 catch (const GException::out_of_range& e) {
13018 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
13019 }
13020 catch (const GExceptionHandler& e) {
13021 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13022 }
13023 catch (const std::exception& e) {
13024 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13025 }
13026 }
13027 resultobj = SWIG_Py_Void();
13028 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
13029 return resultobj;
13030fail:
13031 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
13032 return NULL__null;
13033}
13034
13035
13036SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeader___setitem__(PyObject *self, PyObject *args) {
13037 int argc;
13038 PyObject *argv[4];
13039 int ii;
13040
13041 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
13042 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
13043 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
13044 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
13045 }
13046 if (argc == 3) {
13047 int _v;
13048 void *vptr = 0;
13049 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHeader, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[6
], 0, 0)
;
13050 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
13051 if (_v) {
13052 {
13053 int res = SWIG_AsVal_int(argv[1], NULL__null);
13054 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
13055 }
13056 if (_v) {
13057 int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_GFitsHeaderCard, 0)SWIG_Python_ConvertPtrAndOwn(argv[2], 0, swig_types[7], 0, 0);
13058 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
13059 if (_v) {
13060 return _wrap_GFitsHeader___setitem____SWIG_0(self, args);
13061 }
13062 }
13063 }
13064 }
13065 if (argc == 3) {
13066 int _v;
13067 void *vptr = 0;
13068 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHeader, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[6
], 0, 0)
;
13069 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
13070 if (_v) {
13071 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
13072 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
13073 if (_v) {
13074 int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_GFitsHeaderCard, 0)SWIG_Python_ConvertPtrAndOwn(argv[2], 0, swig_types[7], 0, 0);
13075 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
13076 if (_v) {
13077 return _wrap_GFitsHeader___setitem____SWIG_1(self, args);
13078 }
13079 }
13080 }
13081 }
13082
13083fail:
13084 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsHeader___setitem__'.\n"
13085 " Possible C/C++ prototypes are:\n"
13086 " GFitsHeader::__setitem__(int const &,GFitsHeaderCard const &)\n"
13087 " GFitsHeader::__setitem__(std::string const &,GFitsHeaderCard const &)\n");
13088 return 0;
13089}
13090
13091
13092SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeader_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13093 PyObject *resultobj = 0;
13094 GFitsHeader *arg1 = (GFitsHeader *) 0 ;
13095 void *argp1 = 0 ;
13096 int res1 = 0 ;
13097 PyObject * obj0 = 0 ;
13098 GFitsHeader result;
13099
13100 if (!PyArg_ParseTuple(args,(char *)"O:GFitsHeader_copy",&obj0)) SWIG_failgoto fail;
13101 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeader, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[6],
0 | 0, 0)
;
13102 if (!SWIG_IsOK(res1)(res1 >= 0)) {
13103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeader_copy" "', argument " "1"" of type '" "GFitsHeader *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeader_copy" "', argument "
"1"" of type '" "GFitsHeader *""'"); goto fail; } while(0)
;
13104 }
13105 arg1 = reinterpret_cast< GFitsHeader * >(argp1);
13106 {
13107 try {
13108 result = GFitsHeader_copy(arg1);
13109 }
13110 catch (const GException::out_of_range& e) {
13111 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
13112 }
13113 catch (const GExceptionHandler& e) {
13114 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13115 }
13116 catch (const std::exception& e) {
13117 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13118 }
13119 }
13120 resultobj = SWIG_NewPointerObj((new GFitsHeader(static_cast< const GFitsHeader& >(result))), SWIGTYPE_p_GFitsHeader, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GFitsHeader(static_cast
< const GFitsHeader& >(result))), swig_types[6], 0x1
| 0)
;
13121 return resultobj;
13122fail:
13123 return NULL__null;
13124}
13125
13126
13127SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GFitsHeader_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13128 PyObject *obj;
13129 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
13130 SWIG_TypeNewClientData(SWIGTYPE_p_GFitsHeaderswig_types[6], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
13131 return SWIG_Py_Void();
13132}
13133
13134SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsHeaderCard__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13135 PyObject *resultobj = 0;
13136 GFitsHeaderCard *result = 0 ;
13137
13138 if (!PyArg_ParseTuple(args,(char *)":new_GFitsHeaderCard")) SWIG_failgoto fail;
13139 {
13140 try {
13141 result = (GFitsHeaderCard *)new GFitsHeaderCard();
13142 }
13143 catch (const GException::out_of_range& e) {
13144 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
13145 }
13146 catch (const GExceptionHandler& e) {
13147 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13148 }
13149 catch (const std::exception& e) {
13150 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13151 }
13152 }
13153 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsHeaderCard, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[7], ((
0x1 << 1) | 0x1) | 0)
;
13154 return resultobj;
13155fail:
13156 return NULL__null;
13157}
13158
13159
13160SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsHeaderCard__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13161 PyObject *resultobj = 0;
13162 std::string *arg1 = 0 ;
13163 std::string *arg2 = 0 ;
13164 std::string *arg3 = 0 ;
13165 int res1 = SWIG_OLDOBJ((0)) ;
13166 int res2 = SWIG_OLDOBJ((0)) ;
13167 int res3 = SWIG_OLDOBJ((0)) ;
13168 PyObject * obj0 = 0 ;
13169 PyObject * obj1 = 0 ;
13170 PyObject * obj2 = 0 ;
13171 GFitsHeaderCard *result = 0 ;
13172
13173 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GFitsHeaderCard",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
13174 {
13175 std::string *ptr = (std::string *)0;
13176 res1 = SWIG_AsPtr_std_string(obj0, &ptr);
13177 if (!SWIG_IsOK(res1)(res1 >= 0)) {
13178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsHeaderCard" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsHeaderCard" "', argument "
"1"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
13179 }
13180 if (!ptr) {
13181 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsHeaderCard" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsHeaderCard" "', argument " "1"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
13182 }
13183 arg1 = ptr;
13184 }
13185 {
13186 std::string *ptr = (std::string *)0;
13187 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
13188 if (!SWIG_IsOK(res2)(res2 >= 0)) {
13189 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_GFitsHeaderCard" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "new_GFitsHeaderCard" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
13190 }
13191 if (!ptr) {
13192 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsHeaderCard" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsHeaderCard" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
13193 }
13194 arg2 = ptr;
13195 }
13196 {
13197 std::string *ptr = (std::string *)0;
13198 res3 = SWIG_AsPtr_std_string(obj2, &ptr);
13199 if (!SWIG_IsOK(res3)(res3 >= 0)) {
13200 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_GFitsHeaderCard" "', argument " "3"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "new_GFitsHeaderCard" "', argument "
"3"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
13201 }
13202 if (!ptr) {
13203 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsHeaderCard" "', argument " "3"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsHeaderCard" "', argument " "3"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
13204 }
13205 arg3 = ptr;
13206 }
13207 {
13208 try {
13209 result = (GFitsHeaderCard *)new GFitsHeaderCard((std::string const &)*arg1,(std::string const &)*arg2,(std::string const &)*arg3);
13210 }
13211 catch (const GException::out_of_range& e) {
13212 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
13213 }
13214 catch (const GExceptionHandler& e) {
13215 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13216 }
13217 catch (const std::exception& e) {
13218 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13219 }
13220 }
13221 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsHeaderCard, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[7], ((
0x1 << 1) | 0x1) | 0)
;
13222 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
13223 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
13224 if (SWIG_IsNewObj(res3)((res3 >= 0) && (res3 & ((1 << 8) <<
1)))
) delete arg3;
13225 return resultobj;
13226fail:
13227 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
13228 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
13229 if (SWIG_IsNewObj(res3)((res3 >= 0) && (res3 & ((1 << 8) <<
1)))
) delete arg3;
13230 return NULL__null;
13231}
13232
13233
13234SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsHeaderCard__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13235 PyObject *resultobj = 0;
13236 std::string *arg1 = 0 ;
13237 double *arg2 = 0 ;
13238 std::string *arg3 = 0 ;
13239 int res1 = SWIG_OLDOBJ((0)) ;
13240 double temp2 ;
13241 double val2 ;
13242 int ecode2 = 0 ;
13243 int res3 = SWIG_OLDOBJ((0)) ;
13244 PyObject * obj0 = 0 ;
13245 PyObject * obj1 = 0 ;
13246 PyObject * obj2 = 0 ;
13247 GFitsHeaderCard *result = 0 ;
13248
13249 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GFitsHeaderCard",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
13250 {
13251 std::string *ptr = (std::string *)0;
13252 res1 = SWIG_AsPtr_std_string(obj0, &ptr);
13253 if (!SWIG_IsOK(res1)(res1 >= 0)) {
13254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsHeaderCard" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsHeaderCard" "', argument "
"1"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
13255 }
13256 if (!ptr) {
13257 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsHeaderCard" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsHeaderCard" "', argument " "1"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
13258 }
13259 arg1 = ptr;
13260 }
13261 ecode2 = SWIG_AsVal_double(obj1, &val2);
13262 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
13263 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsHeaderCard" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsHeaderCard" "', argument "
"2"" of type '" "double""'"); goto fail; } while(0)
;
13264 }
13265 temp2 = static_cast< double >(val2);
13266 arg2 = &temp2;
13267 {
13268 std::string *ptr = (std::string *)0;
13269 res3 = SWIG_AsPtr_std_string(obj2, &ptr);
13270 if (!SWIG_IsOK(res3)(res3 >= 0)) {
13271 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_GFitsHeaderCard" "', argument " "3"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "new_GFitsHeaderCard" "', argument "
"3"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
13272 }
13273 if (!ptr) {
13274 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsHeaderCard" "', argument " "3"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsHeaderCard" "', argument " "3"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
13275 }
13276 arg3 = ptr;
13277 }
13278 {
13279 try {
13280 result = (GFitsHeaderCard *)new GFitsHeaderCard((std::string const &)*arg1,(double const &)*arg2,(std::string const &)*arg3);
13281 }
13282 catch (const GException::out_of_range& e) {
13283 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
13284 }
13285 catch (const GExceptionHandler& e) {
13286 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13287 }
13288 catch (const std::exception& e) {
13289 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13290 }
13291 }
13292 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsHeaderCard, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[7], ((
0x1 << 1) | 0x1) | 0)
;
13293 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
13294 if (SWIG_IsNewObj(res3)((res3 >= 0) && (res3 & ((1 << 8) <<
1)))
) delete arg3;
13295 return resultobj;
13296fail:
13297 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
13298 if (SWIG_IsNewObj(res3)((res3 >= 0) && (res3 & ((1 << 8) <<
1)))
) delete arg3;
13299 return NULL__null;
13300}
13301
13302
13303SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsHeaderCard__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13304 PyObject *resultobj = 0;
13305 std::string *arg1 = 0 ;
13306 int *arg2 = 0 ;
13307 std::string *arg3 = 0 ;
13308 int res1 = SWIG_OLDOBJ((0)) ;
13309 int temp2 ;
13310 int val2 ;
13311 int ecode2 = 0 ;
13312 int res3 = SWIG_OLDOBJ((0)) ;
13313 PyObject * obj0 = 0 ;
13314 PyObject * obj1 = 0 ;
13315 PyObject * obj2 = 0 ;
13316 GFitsHeaderCard *result = 0 ;
13317
13318 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GFitsHeaderCard",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
13319 {
13320 std::string *ptr = (std::string *)0;
13321 res1 = SWIG_AsPtr_std_string(obj0, &ptr);
13322 if (!SWIG_IsOK(res1)(res1 >= 0)) {
13323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsHeaderCard" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsHeaderCard" "', argument "
"1"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
13324 }
13325 if (!ptr) {
13326 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsHeaderCard" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsHeaderCard" "', argument " "1"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
13327 }
13328 arg1 = ptr;
13329 }
13330 ecode2 = SWIG_AsVal_int(obj1, &val2);
13331 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
13332 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsHeaderCard" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsHeaderCard" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
13333 }
13334 temp2 = static_cast< int >(val2);
13335 arg2 = &temp2;
13336 {
13337 std::string *ptr = (std::string *)0;
13338 res3 = SWIG_AsPtr_std_string(obj2, &ptr);
13339 if (!SWIG_IsOK(res3)(res3 >= 0)) {
13340 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_GFitsHeaderCard" "', argument " "3"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "new_GFitsHeaderCard" "', argument "
"3"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
13341 }
13342 if (!ptr) {
13343 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsHeaderCard" "', argument " "3"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsHeaderCard" "', argument " "3"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
13344 }
13345 arg3 = ptr;
13346 }
13347 {
13348 try {
13349 result = (GFitsHeaderCard *)new GFitsHeaderCard((std::string const &)*arg1,(int const &)*arg2,(std::string const &)*arg3);
13350 }
13351 catch (const GException::out_of_range& e) {
13352 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
13353 }
13354 catch (const GExceptionHandler& e) {
13355 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13356 }
13357 catch (const std::exception& e) {
13358 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13359 }
13360 }
13361 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsHeaderCard, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[7], ((
0x1 << 1) | 0x1) | 0)
;
13362 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
13363 if (SWIG_IsNewObj(res3)((res3 >= 0) && (res3 & ((1 << 8) <<
1)))
) delete arg3;
13364 return resultobj;
13365fail:
13366 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
13367 if (SWIG_IsNewObj(res3)((res3 >= 0) && (res3 & ((1 << 8) <<
1)))
) delete arg3;
13368 return NULL__null;
13369}
13370
13371
13372SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsHeaderCard__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13373 PyObject *resultobj = 0;
13374 GFitsHeaderCard *arg1 = 0 ;
13375 void *argp1 = 0 ;
13376 int res1 = 0 ;
13377 PyObject * obj0 = 0 ;
13378 GFitsHeaderCard *result = 0 ;
13379
13380 if (!PyArg_ParseTuple(args,(char *)"O:new_GFitsHeaderCard",&obj0)) SWIG_failgoto fail;
13381 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GFitsHeaderCard, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[7],
0 | 0, 0)
;
13382 if (!SWIG_IsOK(res1)(res1 >= 0)) {
13383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsHeaderCard" "', argument " "1"" of type '" "GFitsHeaderCard const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsHeaderCard" "', argument "
"1"" of type '" "GFitsHeaderCard const &""'"); goto fail
; } while(0)
;
13384 }
13385 if (!argp1) {
13386 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsHeaderCard" "', argument " "1"" of type '" "GFitsHeaderCard const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsHeaderCard" "', argument " "1"" of type '"
"GFitsHeaderCard const &""'"); goto fail; } while(0)
;
13387 }
13388 arg1 = reinterpret_cast< GFitsHeaderCard * >(argp1);
13389 {
13390 try {
13391 result = (GFitsHeaderCard *)new GFitsHeaderCard((GFitsHeaderCard const &)*arg1);
13392 }
13393 catch (const GException::out_of_range& e) {
13394 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
13395 }
13396 catch (const GExceptionHandler& e) {
13397 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13398 }
13399 catch (const std::exception& e) {
13400 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13401 }
13402 }
13403 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsHeaderCard, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[7], ((
0x1 << 1) | 0x1) | 0)
;
13404 return resultobj;
13405fail:
13406 return NULL__null;
13407}
13408
13409
13410SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsHeaderCard(PyObject *self, PyObject *args) {
13411 int argc;
13412 PyObject *argv[4];
13413 int ii;
13414
13415 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
13416 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
13417 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
13418 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
13419 }
13420 if (argc == 0) {
13421 return _wrap_new_GFitsHeaderCard__SWIG_0(self, args);
13422 }
13423 if (argc == 1) {
13424 int _v;
13425 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GFitsHeaderCard, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[7], 0, 0);
13426 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
13427 if (_v) {
13428 return _wrap_new_GFitsHeaderCard__SWIG_4(self, args);
13429 }
13430 }
13431 if (argc == 3) {
13432 int _v;
13433 int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
13434 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
13435 if (_v) {
13436 {
13437 int res = SWIG_AsVal_int(argv[1], NULL__null);
13438 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
13439 }
13440 if (_v) {
13441 int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
13442 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
13443 if (_v) {
13444 return _wrap_new_GFitsHeaderCard__SWIG_3(self, args);
13445 }
13446 }
13447 }
13448 }
13449 if (argc == 3) {
13450 int _v;
13451 int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
13452 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
13453 if (_v) {
13454 {
13455 int res = SWIG_AsVal_double(argv[1], NULL__null);
13456 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
13457 }
13458 if (_v) {
13459 int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
13460 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
13461 if (_v) {
13462 return _wrap_new_GFitsHeaderCard__SWIG_2(self, args);
13463 }
13464 }
13465 }
13466 }
13467 if (argc == 3) {
13468 int _v;
13469 int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
13470 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
13471 if (_v) {
13472 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
13473 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
13474 if (_v) {
13475 int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
13476 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
13477 if (_v) {
13478 return _wrap_new_GFitsHeaderCard__SWIG_1(self, args);
13479 }
13480 }
13481 }
13482 }
13483
13484fail:
13485 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GFitsHeaderCard'.\n"
13486 " Possible C/C++ prototypes are:\n"
13487 " GFitsHeaderCard::GFitsHeaderCard()\n"
13488 " GFitsHeaderCard::GFitsHeaderCard(std::string const &,std::string const &,std::string const &)\n"
13489 " GFitsHeaderCard::GFitsHeaderCard(std::string const &,double const &,std::string const &)\n"
13490 " GFitsHeaderCard::GFitsHeaderCard(std::string const &,int const &,std::string const &)\n"
13491 " GFitsHeaderCard::GFitsHeaderCard(GFitsHeaderCard const &)\n");
13492 return 0;
13493}
13494
13495
13496SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GFitsHeaderCard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13497 PyObject *resultobj = 0;
13498 GFitsHeaderCard *arg1 = (GFitsHeaderCard *) 0 ;
13499 void *argp1 = 0 ;
13500 int res1 = 0 ;
13501 PyObject * obj0 = 0 ;
13502
13503 if (!PyArg_ParseTuple(args,(char *)"O:delete_GFitsHeaderCard",&obj0)) SWIG_failgoto fail;
13504 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeaderCard, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[7],
0x1 | 0, 0)
;
13505 if (!SWIG_IsOK(res1)(res1 >= 0)) {
13506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GFitsHeaderCard" "', argument " "1"" of type '" "GFitsHeaderCard *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GFitsHeaderCard" "', argument "
"1"" of type '" "GFitsHeaderCard *""'"); goto fail; } while(
0)
;
13507 }
13508 arg1 = reinterpret_cast< GFitsHeaderCard * >(argp1);
13509 {
13510 try {
13511 delete arg1;
13512 }
13513 catch (const GException::out_of_range& e) {
13514 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
13515 }
13516 catch (const GExceptionHandler& e) {
13517 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13518 }
13519 catch (const std::exception& e) {
13520 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13521 }
13522 }
13523 resultobj = SWIG_Py_Void();
13524 return resultobj;
13525fail:
13526 return NULL__null;
13527}
13528
13529
13530SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeaderCard_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13531 PyObject *resultobj = 0;
13532 GFitsHeaderCard *arg1 = (GFitsHeaderCard *) 0 ;
13533 void *argp1 = 0 ;
13534 int res1 = 0 ;
13535 PyObject * obj0 = 0 ;
13536
13537 if (!PyArg_ParseTuple(args,(char *)"O:GFitsHeaderCard_clear",&obj0)) SWIG_failgoto fail;
13538 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeaderCard, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[7],
0 | 0, 0)
;
13539 if (!SWIG_IsOK(res1)(res1 >= 0)) {
13540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeaderCard_clear" "', argument " "1"" of type '" "GFitsHeaderCard *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeaderCard_clear" "', argument "
"1"" of type '" "GFitsHeaderCard *""'"); goto fail; } while(
0)
;
13541 }
13542 arg1 = reinterpret_cast< GFitsHeaderCard * >(argp1);
13543 {
13544 try {
13545 (arg1)->clear();
13546 }
13547 catch (const GException::out_of_range& e) {
13548 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
13549 }
13550 catch (const GExceptionHandler& e) {
13551 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13552 }
13553 catch (const std::exception& e) {
13554 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13555 }
13556 }
13557 resultobj = SWIG_Py_Void();
13558 return resultobj;
13559fail:
13560 return NULL__null;
13561}
13562
13563
13564SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeaderCard_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13565 PyObject *resultobj = 0;
13566 GFitsHeaderCard *arg1 = (GFitsHeaderCard *) 0 ;
13567 void *argp1 = 0 ;
13568 int res1 = 0 ;
13569 PyObject * obj0 = 0 ;
13570 GFitsHeaderCard *result = 0 ;
13571
13572 if (!PyArg_ParseTuple(args,(char *)"O:GFitsHeaderCard_clone",&obj0)) SWIG_failgoto fail;
13573 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeaderCard, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[7],
0 | 0, 0)
;
13574 if (!SWIG_IsOK(res1)(res1 >= 0)) {
13575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeaderCard_clone" "', argument " "1"" of type '" "GFitsHeaderCard const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeaderCard_clone" "', argument "
"1"" of type '" "GFitsHeaderCard const *""'"); goto fail; } while
(0)
;
13576 }
13577 arg1 = reinterpret_cast< GFitsHeaderCard * >(argp1);
13578 {
13579 try {
13580 result = (GFitsHeaderCard *)((GFitsHeaderCard const *)arg1)->clone();
13581 }
13582 catch (const GException::out_of_range& e) {
13583 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
13584 }
13585 catch (const GExceptionHandler& e) {
13586 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13587 }
13588 catch (const std::exception& e) {
13589 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13590 }
13591 }
13592 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsHeaderCard, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[7], 0 |
0)
;
13593 return resultobj;
13594fail:
13595 return NULL__null;
13596}
13597
13598
13599SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeaderCard_keyname__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13600 PyObject *resultobj = 0;
13601 GFitsHeaderCard *arg1 = (GFitsHeaderCard *) 0 ;
13602 std::string *arg2 = 0 ;
13603 void *argp1 = 0 ;
13604 int res1 = 0 ;
13605 int res2 = SWIG_OLDOBJ((0)) ;
13606 PyObject * obj0 = 0 ;
13607 PyObject * obj1 = 0 ;
13608
13609 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsHeaderCard_keyname",&obj0,&obj1)) SWIG_failgoto fail;
13610 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeaderCard, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[7],
0 | 0, 0)
;
13611 if (!SWIG_IsOK(res1)(res1 >= 0)) {
13612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeaderCard_keyname" "', argument " "1"" of type '" "GFitsHeaderCard *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeaderCard_keyname" "', argument "
"1"" of type '" "GFitsHeaderCard *""'"); goto fail; } while(
0)
;
13613 }
13614 arg1 = reinterpret_cast< GFitsHeaderCard * >(argp1);
13615 {
13616 std::string *ptr = (std::string *)0;
13617 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
13618 if (!SWIG_IsOK(res2)(res2 >= 0)) {
13619 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsHeaderCard_keyname" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsHeaderCard_keyname" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
13620 }
13621 if (!ptr) {
13622 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsHeaderCard_keyname" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsHeaderCard_keyname" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
13623 }
13624 arg2 = ptr;
13625 }
13626 {
13627 try {
13628 (arg1)->keyname((std::string const &)*arg2);
13629 }
13630 catch (const GException::out_of_range& e) {
13631 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
13632 }
13633 catch (const GExceptionHandler& e) {
13634 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13635 }
13636 catch (const std::exception& e) {
13637 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13638 }
13639 }
13640 resultobj = SWIG_Py_Void();
13641 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
13642 return resultobj;
13643fail:
13644 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
13645 return NULL__null;
13646}
13647
13648
13649SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeaderCard_keyname__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13650 PyObject *resultobj = 0;
13651 GFitsHeaderCard *arg1 = (GFitsHeaderCard *) 0 ;
13652 void *argp1 = 0 ;
13653 int res1 = 0 ;
13654 PyObject * obj0 = 0 ;
13655 std::string result;
13656
13657 if (!PyArg_ParseTuple(args,(char *)"O:GFitsHeaderCard_keyname",&obj0)) SWIG_failgoto fail;
13658 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeaderCard, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[7],
0 | 0, 0)
;
13659 if (!SWIG_IsOK(res1)(res1 >= 0)) {
13660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeaderCard_keyname" "', argument " "1"" of type '" "GFitsHeaderCard const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeaderCard_keyname" "', argument "
"1"" of type '" "GFitsHeaderCard const *""'"); goto fail; } while
(0)
;
13661 }
13662 arg1 = reinterpret_cast< GFitsHeaderCard * >(argp1);
13663 {
13664 try {
13665 result = ((GFitsHeaderCard const *)arg1)->keyname();
13666 }
13667 catch (const GException::out_of_range& e) {
13668 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
13669 }
13670 catch (const GExceptionHandler& e) {
13671 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13672 }
13673 catch (const std::exception& e) {
13674 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13675 }
13676 }
13677 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
13678 return resultobj;
13679fail:
13680 return NULL__null;
13681}
13682
13683
13684SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeaderCard_keyname(PyObject *self, PyObject *args) {
13685 int argc;
13686 PyObject *argv[3];
13687 int ii;
13688
13689 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
13690 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
13691 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
13692 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
13693 }
13694 if (argc == 1) {
13695 int _v;
13696 void *vptr = 0;
13697 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHeaderCard, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[7
], 0, 0)
;
13698 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
13699 if (_v) {
13700 return _wrap_GFitsHeaderCard_keyname__SWIG_1(self, args);
13701 }
13702 }
13703 if (argc == 2) {
13704 int _v;
13705 void *vptr = 0;
13706 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHeaderCard, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[7
], 0, 0)
;
13707 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
13708 if (_v) {
13709 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
13710 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
13711 if (_v) {
13712 return _wrap_GFitsHeaderCard_keyname__SWIG_0(self, args);
13713 }
13714 }
13715 }
13716
13717fail:
13718 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsHeaderCard_keyname'.\n"
13719 " Possible C/C++ prototypes are:\n"
13720 " GFitsHeaderCard::keyname(std::string const &)\n"
13721 " GFitsHeaderCard::keyname() const\n");
13722 return 0;
13723}
13724
13725
13726SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeaderCard_value__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13727 PyObject *resultobj = 0;
13728 GFitsHeaderCard *arg1 = (GFitsHeaderCard *) 0 ;
13729 std::string *arg2 = 0 ;
13730 void *argp1 = 0 ;
13731 int res1 = 0 ;
13732 int res2 = SWIG_OLDOBJ((0)) ;
13733 PyObject * obj0 = 0 ;
13734 PyObject * obj1 = 0 ;
13735
13736 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsHeaderCard_value",&obj0,&obj1)) SWIG_failgoto fail;
13737 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeaderCard, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[7],
0 | 0, 0)
;
13738 if (!SWIG_IsOK(res1)(res1 >= 0)) {
13739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeaderCard_value" "', argument " "1"" of type '" "GFitsHeaderCard *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeaderCard_value" "', argument "
"1"" of type '" "GFitsHeaderCard *""'"); goto fail; } while(
0)
;
13740 }
13741 arg1 = reinterpret_cast< GFitsHeaderCard * >(argp1);
13742 {
13743 std::string *ptr = (std::string *)0;
13744 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
13745 if (!SWIG_IsOK(res2)(res2 >= 0)) {
13746 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsHeaderCard_value" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsHeaderCard_value" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
13747 }
13748 if (!ptr) {
13749 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsHeaderCard_value" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsHeaderCard_value" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
13750 }
13751 arg2 = ptr;
13752 }
13753 {
13754 try {
13755 (arg1)->value((std::string const &)*arg2);
13756 }
13757 catch (const GException::out_of_range& e) {
13758 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
13759 }
13760 catch (const GExceptionHandler& e) {
13761 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13762 }
13763 catch (const std::exception& e) {
13764 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13765 }
13766 }
13767 resultobj = SWIG_Py_Void();
13768 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
13769 return resultobj;
13770fail:
13771 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
13772 return NULL__null;
13773}
13774
13775
13776SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeaderCard_value__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13777 PyObject *resultobj = 0;
13778 GFitsHeaderCard *arg1 = (GFitsHeaderCard *) 0 ;
13779 bool *arg2 = 0 ;
13780 void *argp1 = 0 ;
13781 int res1 = 0 ;
13782 bool temp2 ;
13783 bool val2 ;
13784 int ecode2 = 0 ;
13785 PyObject * obj0 = 0 ;
13786 PyObject * obj1 = 0 ;
13787
13788 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsHeaderCard_value",&obj0,&obj1)) SWIG_failgoto fail;
13789 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeaderCard, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[7],
0 | 0, 0)
;
13790 if (!SWIG_IsOK(res1)(res1 >= 0)) {
13791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeaderCard_value" "', argument " "1"" of type '" "GFitsHeaderCard *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeaderCard_value" "', argument "
"1"" of type '" "GFitsHeaderCard *""'"); goto fail; } while(
0)
;
13792 }
13793 arg1 = reinterpret_cast< GFitsHeaderCard * >(argp1);
13794 ecode2 = SWIG_AsVal_bool(obj1, &val2);
13795 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
13796 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsHeaderCard_value" "', argument " "2"" of type '" "bool""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsHeaderCard_value"
"', argument " "2"" of type '" "bool""'"); goto fail; } while
(0)
;
13797 }
13798 temp2 = static_cast< bool >(val2);
13799 arg2 = &temp2;
13800 {
13801 try {
13802 (arg1)->value((bool const &)*arg2);
13803 }
13804 catch (const GException::out_of_range& e) {
13805 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
13806 }
13807 catch (const GExceptionHandler& e) {
13808 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13809 }
13810 catch (const std::exception& e) {
13811 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13812 }
13813 }
13814 resultobj = SWIG_Py_Void();
13815 return resultobj;
13816fail:
13817 return NULL__null;
13818}
13819
13820
13821SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeaderCard_value__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13822 PyObject *resultobj = 0;
13823 GFitsHeaderCard *arg1 = (GFitsHeaderCard *) 0 ;
13824 float *arg2 = 0 ;
13825 void *argp1 = 0 ;
13826 int res1 = 0 ;
13827 float temp2 ;
13828 float val2 ;
13829 int ecode2 = 0 ;
13830 PyObject * obj0 = 0 ;
13831 PyObject * obj1 = 0 ;
13832
13833 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsHeaderCard_value",&obj0,&obj1)) SWIG_failgoto fail;
13834 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeaderCard, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[7],
0 | 0, 0)
;
13835 if (!SWIG_IsOK(res1)(res1 >= 0)) {
13836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeaderCard_value" "', argument " "1"" of type '" "GFitsHeaderCard *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeaderCard_value" "', argument "
"1"" of type '" "GFitsHeaderCard *""'"); goto fail; } while(
0)
;
13837 }
13838 arg1 = reinterpret_cast< GFitsHeaderCard * >(argp1);
13839 ecode2 = SWIG_AsVal_float(obj1, &val2);
13840 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
13841 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsHeaderCard_value" "', argument " "2"" of type '" "float""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsHeaderCard_value"
"', argument " "2"" of type '" "float""'"); goto fail; } while
(0)
;
13842 }
13843 temp2 = static_cast< float >(val2);
13844 arg2 = &temp2;
13845 {
13846 try {
13847 (arg1)->value((float const &)*arg2);
13848 }
13849 catch (const GException::out_of_range& e) {
13850 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
13851 }
13852 catch (const GExceptionHandler& e) {
13853 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13854 }
13855 catch (const std::exception& e) {
13856 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13857 }
13858 }
13859 resultobj = SWIG_Py_Void();
13860 return resultobj;
13861fail:
13862 return NULL__null;
13863}
13864
13865
13866SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeaderCard_value__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13867 PyObject *resultobj = 0;
13868 GFitsHeaderCard *arg1 = (GFitsHeaderCard *) 0 ;
13869 double *arg2 = 0 ;
13870 void *argp1 = 0 ;
13871 int res1 = 0 ;
13872 double temp2 ;
13873 double val2 ;
13874 int ecode2 = 0 ;
13875 PyObject * obj0 = 0 ;
13876 PyObject * obj1 = 0 ;
13877
13878 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsHeaderCard_value",&obj0,&obj1)) SWIG_failgoto fail;
13879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeaderCard, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[7],
0 | 0, 0)
;
13880 if (!SWIG_IsOK(res1)(res1 >= 0)) {
13881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeaderCard_value" "', argument " "1"" of type '" "GFitsHeaderCard *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeaderCard_value" "', argument "
"1"" of type '" "GFitsHeaderCard *""'"); goto fail; } while(
0)
;
13882 }
13883 arg1 = reinterpret_cast< GFitsHeaderCard * >(argp1);
13884 ecode2 = SWIG_AsVal_double(obj1, &val2);
13885 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
13886 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsHeaderCard_value" "', argument " "2"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsHeaderCard_value"
"', argument " "2"" of type '" "double""'"); goto fail; } while
(0)
;
13887 }
13888 temp2 = static_cast< double >(val2);
13889 arg2 = &temp2;
13890 {
13891 try {
13892 (arg1)->value((double const &)*arg2);
13893 }
13894 catch (const GException::out_of_range& e) {
13895 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
13896 }
13897 catch (const GExceptionHandler& e) {
13898 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13899 }
13900 catch (const std::exception& e) {
13901 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13902 }
13903 }
13904 resultobj = SWIG_Py_Void();
13905 return resultobj;
13906fail:
13907 return NULL__null;
13908}
13909
13910
13911SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeaderCard_value__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13912 PyObject *resultobj = 0;
13913 GFitsHeaderCard *arg1 = (GFitsHeaderCard *) 0 ;
13914 unsigned short *arg2 = 0 ;
13915 void *argp1 = 0 ;
13916 int res1 = 0 ;
13917 unsigned short temp2 ;
13918 unsigned short val2 ;
13919 int ecode2 = 0 ;
13920 PyObject * obj0 = 0 ;
13921 PyObject * obj1 = 0 ;
13922
13923 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsHeaderCard_value",&obj0,&obj1)) SWIG_failgoto fail;
13924 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeaderCard, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[7],
0 | 0, 0)
;
13925 if (!SWIG_IsOK(res1)(res1 >= 0)) {
13926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeaderCard_value" "', argument " "1"" of type '" "GFitsHeaderCard *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeaderCard_value" "', argument "
"1"" of type '" "GFitsHeaderCard *""'"); goto fail; } while(
0)
;
13927 }
13928 arg1 = reinterpret_cast< GFitsHeaderCard * >(argp1);
13929 ecode2 = SWIG_AsVal_unsigned_SS_short(obj1, &val2);
13930 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
13931 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsHeaderCard_value" "', argument " "2"" of type '" "unsigned short""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsHeaderCard_value"
"', argument " "2"" of type '" "unsigned short""'"); goto fail
; } while(0)
;
13932 }
13933 temp2 = static_cast< unsigned short >(val2);
13934 arg2 = &temp2;
13935 {
13936 try {
13937 (arg1)->value((unsigned short const &)*arg2);
13938 }
13939 catch (const GException::out_of_range& e) {
13940 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
13941 }
13942 catch (const GExceptionHandler& e) {
13943 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13944 }
13945 catch (const std::exception& e) {
13946 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13947 }
13948 }
13949 resultobj = SWIG_Py_Void();
13950 return resultobj;
13951fail:
13952 return NULL__null;
13953}
13954
13955
13956SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeaderCard_value__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13957 PyObject *resultobj = 0;
13958 GFitsHeaderCard *arg1 = (GFitsHeaderCard *) 0 ;
13959 short *arg2 = 0 ;
13960 void *argp1 = 0 ;
13961 int res1 = 0 ;
13962 short temp2 ;
13963 short val2 ;
13964 int ecode2 = 0 ;
13965 PyObject * obj0 = 0 ;
13966 PyObject * obj1 = 0 ;
13967
13968 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsHeaderCard_value",&obj0,&obj1)) SWIG_failgoto fail;
13969 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeaderCard, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[7],
0 | 0, 0)
;
13970 if (!SWIG_IsOK(res1)(res1 >= 0)) {
13971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeaderCard_value" "', argument " "1"" of type '" "GFitsHeaderCard *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeaderCard_value" "', argument "
"1"" of type '" "GFitsHeaderCard *""'"); goto fail; } while(
0)
;
13972 }
13973 arg1 = reinterpret_cast< GFitsHeaderCard * >(argp1);
13974 ecode2 = SWIG_AsVal_short(obj1, &val2);
13975 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
13976 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsHeaderCard_value" "', argument " "2"" of type '" "short""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsHeaderCard_value"
"', argument " "2"" of type '" "short""'"); goto fail; } while
(0)
;
13977 }
13978 temp2 = static_cast< short >(val2);
13979 arg2 = &temp2;
13980 {
13981 try {
13982 (arg1)->value((short const &)*arg2);
13983 }
13984 catch (const GException::out_of_range& e) {
13985 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
13986 }
13987 catch (const GExceptionHandler& e) {
13988 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13989 }
13990 catch (const std::exception& e) {
13991 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
13992 }
13993 }
13994 resultobj = SWIG_Py_Void();
13995 return resultobj;
13996fail:
13997 return NULL__null;
13998}
13999
14000
14001SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeaderCard_value__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14002 PyObject *resultobj = 0;
14003 GFitsHeaderCard *arg1 = (GFitsHeaderCard *) 0 ;
14004 unsigned int *arg2 = 0 ;
14005 void *argp1 = 0 ;
14006 int res1 = 0 ;
14007 unsigned int temp2 ;
14008 unsigned int val2 ;
14009 int ecode2 = 0 ;
14010 PyObject * obj0 = 0 ;
14011 PyObject * obj1 = 0 ;
14012
14013 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsHeaderCard_value",&obj0,&obj1)) SWIG_failgoto fail;
14014 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeaderCard, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[7],
0 | 0, 0)
;
14015 if (!SWIG_IsOK(res1)(res1 >= 0)) {
14016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeaderCard_value" "', argument " "1"" of type '" "GFitsHeaderCard *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeaderCard_value" "', argument "
"1"" of type '" "GFitsHeaderCard *""'"); goto fail; } while(
0)
;
14017 }
14018 arg1 = reinterpret_cast< GFitsHeaderCard * >(argp1);
14019 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
14020 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
14021 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsHeaderCard_value" "', argument " "2"" of type '" "unsigned int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsHeaderCard_value"
"', argument " "2"" of type '" "unsigned int""'"); goto fail
; } while(0)
;
14022 }
14023 temp2 = static_cast< unsigned int >(val2);
14024 arg2 = &temp2;
14025 {
14026 try {
14027 (arg1)->value((unsigned int const &)*arg2);
14028 }
14029 catch (const GException::out_of_range& e) {
14030 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
14031 }
14032 catch (const GExceptionHandler& e) {
14033 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14034 }
14035 catch (const std::exception& e) {
14036 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14037 }
14038 }
14039 resultobj = SWIG_Py_Void();
14040 return resultobj;
14041fail:
14042 return NULL__null;
14043}
14044
14045
14046SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeaderCard_value__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14047 PyObject *resultobj = 0;
14048 GFitsHeaderCard *arg1 = (GFitsHeaderCard *) 0 ;
14049 int *arg2 = 0 ;
14050 void *argp1 = 0 ;
14051 int res1 = 0 ;
14052 int temp2 ;
14053 int val2 ;
14054 int ecode2 = 0 ;
14055 PyObject * obj0 = 0 ;
14056 PyObject * obj1 = 0 ;
14057
14058 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsHeaderCard_value",&obj0,&obj1)) SWIG_failgoto fail;
14059 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeaderCard, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[7],
0 | 0, 0)
;
14060 if (!SWIG_IsOK(res1)(res1 >= 0)) {
14061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeaderCard_value" "', argument " "1"" of type '" "GFitsHeaderCard *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeaderCard_value" "', argument "
"1"" of type '" "GFitsHeaderCard *""'"); goto fail; } while(
0)
;
14062 }
14063 arg1 = reinterpret_cast< GFitsHeaderCard * >(argp1);
14064 ecode2 = SWIG_AsVal_int(obj1, &val2);
14065 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
14066 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsHeaderCard_value" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsHeaderCard_value"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
14067 }
14068 temp2 = static_cast< int >(val2);
14069 arg2 = &temp2;
14070 {
14071 try {
14072 (arg1)->value((int const &)*arg2);
14073 }
14074 catch (const GException::out_of_range& e) {
14075 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
14076 }
14077 catch (const GExceptionHandler& e) {
14078 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14079 }
14080 catch (const std::exception& e) {
14081 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14082 }
14083 }
14084 resultobj = SWIG_Py_Void();
14085 return resultobj;
14086fail:
14087 return NULL__null;
14088}
14089
14090
14091SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeaderCard_value__SWIG_8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14092 PyObject *resultobj = 0;
14093 GFitsHeaderCard *arg1 = (GFitsHeaderCard *) 0 ;
14094 long *arg2 = 0 ;
14095 void *argp1 = 0 ;
14096 int res1 = 0 ;
14097 long temp2 ;
14098 long val2 ;
14099 int ecode2 = 0 ;
14100 PyObject * obj0 = 0 ;
14101 PyObject * obj1 = 0 ;
14102
14103 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsHeaderCard_value",&obj0,&obj1)) SWIG_failgoto fail;
14104 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeaderCard, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[7],
0 | 0, 0)
;
14105 if (!SWIG_IsOK(res1)(res1 >= 0)) {
14106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeaderCard_value" "', argument " "1"" of type '" "GFitsHeaderCard *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeaderCard_value" "', argument "
"1"" of type '" "GFitsHeaderCard *""'"); goto fail; } while(
0)
;
14107 }
14108 arg1 = reinterpret_cast< GFitsHeaderCard * >(argp1);
14109 ecode2 = SWIG_AsVal_long(obj1, &val2);
14110 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
14111 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsHeaderCard_value" "', argument " "2"" of type '" "long""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsHeaderCard_value"
"', argument " "2"" of type '" "long""'"); goto fail; } while
(0)
;
14112 }
14113 temp2 = static_cast< long >(val2);
14114 arg2 = &temp2;
14115 {
14116 try {
14117 (arg1)->value((long const &)*arg2);
14118 }
14119 catch (const GException::out_of_range& e) {
14120 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
14121 }
14122 catch (const GExceptionHandler& e) {
14123 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14124 }
14125 catch (const std::exception& e) {
14126 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14127 }
14128 }
14129 resultobj = SWIG_Py_Void();
14130 return resultobj;
14131fail:
14132 return NULL__null;
14133}
14134
14135
14136SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeaderCard_value__SWIG_9(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14137 PyObject *resultobj = 0;
14138 GFitsHeaderCard *arg1 = (GFitsHeaderCard *) 0 ;
14139 unsigned long *arg2 = 0 ;
14140 void *argp1 = 0 ;
14141 int res1 = 0 ;
14142 unsigned long temp2 ;
14143 unsigned long val2 ;
14144 int ecode2 = 0 ;
14145 PyObject * obj0 = 0 ;
14146 PyObject * obj1 = 0 ;
14147
14148 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsHeaderCard_value",&obj0,&obj1)) SWIG_failgoto fail;
14149 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeaderCard, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[7],
0 | 0, 0)
;
14150 if (!SWIG_IsOK(res1)(res1 >= 0)) {
14151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeaderCard_value" "', argument " "1"" of type '" "GFitsHeaderCard *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeaderCard_value" "', argument "
"1"" of type '" "GFitsHeaderCard *""'"); goto fail; } while(
0)
;
14152 }
14153 arg1 = reinterpret_cast< GFitsHeaderCard * >(argp1);
14154 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14155 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
14156 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsHeaderCard_value" "', argument " "2"" of type '" "unsigned long""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsHeaderCard_value"
"', argument " "2"" of type '" "unsigned long""'"); goto fail
; } while(0)
;
14157 }
14158 temp2 = static_cast< unsigned long >(val2);
14159 arg2 = &temp2;
14160 {
14161 try {
14162 (arg1)->value((unsigned long const &)*arg2);
14163 }
14164 catch (const GException::out_of_range& e) {
14165 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
14166 }
14167 catch (const GExceptionHandler& e) {
14168 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14169 }
14170 catch (const std::exception& e) {
14171 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14172 }
14173 }
14174 resultobj = SWIG_Py_Void();
14175 return resultobj;
14176fail:
14177 return NULL__null;
14178}
14179
14180
14181SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeaderCard_value__SWIG_10(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14182 PyObject *resultobj = 0;
14183 GFitsHeaderCard *arg1 = (GFitsHeaderCard *) 0 ;
14184 long long *arg2 = 0 ;
14185 void *argp1 = 0 ;
14186 int res1 = 0 ;
14187 long long temp2 ;
14188 long long val2 ;
14189 int ecode2 = 0 ;
14190 PyObject * obj0 = 0 ;
14191 PyObject * obj1 = 0 ;
14192
14193 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsHeaderCard_value",&obj0,&obj1)) SWIG_failgoto fail;
14194 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeaderCard, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[7],
0 | 0, 0)
;
14195 if (!SWIG_IsOK(res1)(res1 >= 0)) {
14196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeaderCard_value" "', argument " "1"" of type '" "GFitsHeaderCard *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeaderCard_value" "', argument "
"1"" of type '" "GFitsHeaderCard *""'"); goto fail; } while(
0)
;
14197 }
14198 arg1 = reinterpret_cast< GFitsHeaderCard * >(argp1);
14199 ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
14200 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
14201 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsHeaderCard_value" "', argument " "2"" of type '" "long long""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsHeaderCard_value"
"', argument " "2"" of type '" "long long""'"); goto fail; }
while(0)
;
14202 }
14203 temp2 = static_cast< long long >(val2);
14204 arg2 = &temp2;
14205 {
14206 try {
14207 (arg1)->value((long long const &)*arg2);
14208 }
14209 catch (const GException::out_of_range& e) {
14210 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
14211 }
14212 catch (const GExceptionHandler& e) {
14213 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14214 }
14215 catch (const std::exception& e) {
14216 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14217 }
14218 }
14219 resultobj = SWIG_Py_Void();
14220 return resultobj;
14221fail:
14222 return NULL__null;
14223}
14224
14225
14226SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeaderCard_value__SWIG_11(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14227 PyObject *resultobj = 0;
14228 GFitsHeaderCard *arg1 = (GFitsHeaderCard *) 0 ;
14229 void *argp1 = 0 ;
14230 int res1 = 0 ;
14231 PyObject * obj0 = 0 ;
14232 std::string result;
14233
14234 if (!PyArg_ParseTuple(args,(char *)"O:GFitsHeaderCard_value",&obj0)) SWIG_failgoto fail;
14235 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeaderCard, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[7],
0 | 0, 0)
;
14236 if (!SWIG_IsOK(res1)(res1 >= 0)) {
14237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeaderCard_value" "', argument " "1"" of type '" "GFitsHeaderCard const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeaderCard_value" "', argument "
"1"" of type '" "GFitsHeaderCard const *""'"); goto fail; } while
(0)
;
14238 }
14239 arg1 = reinterpret_cast< GFitsHeaderCard * >(argp1);
14240 {
14241 try {
14242 result = ((GFitsHeaderCard const *)arg1)->value();
14243 }
14244 catch (const GException::out_of_range& e) {
14245 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
14246 }
14247 catch (const GExceptionHandler& e) {
14248 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14249 }
14250 catch (const std::exception& e) {
14251 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14252 }
14253 }
14254 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
14255 return resultobj;
14256fail:
14257 return NULL__null;
14258}
14259
14260
14261SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeaderCard_value(PyObject *self, PyObject *args) {
14262 int argc;
14263 PyObject *argv[3];
14264 int ii;
14265
14266 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
14267 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
14268 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
14269 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
14270 }
14271 if (argc == 1) {
14272 int _v;
14273 void *vptr = 0;
14274 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHeaderCard, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[7
], 0, 0)
;
14275 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
14276 if (_v) {
14277 return _wrap_GFitsHeaderCard_value__SWIG_11(self, args);
14278 }
14279 }
14280 if (argc == 2) {
14281 int _v;
14282 void *vptr = 0;
14283 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHeaderCard, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[7
], 0, 0)
;
14284 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
14285 if (_v) {
14286 {
14287 int res = SWIG_AsVal_unsigned_SS_short(argv[1], NULL__null);
14288 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
14289 }
14290 if (_v) {
14291 return _wrap_GFitsHeaderCard_value__SWIG_4(self, args);
14292 }
14293 }
14294 }
14295 if (argc == 2) {
14296 int _v;
14297 void *vptr = 0;
14298 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHeaderCard, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[7
], 0, 0)
;
14299 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
14300 if (_v) {
14301 {
14302 int res = SWIG_AsVal_short(argv[1], NULL__null);
14303 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
14304 }
14305 if (_v) {
14306 return _wrap_GFitsHeaderCard_value__SWIG_5(self, args);
14307 }
14308 }
14309 }
14310 if (argc == 2) {
14311 int _v;
14312 void *vptr = 0;
14313 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHeaderCard, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[7
], 0, 0)
;
14314 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
14315 if (_v) {
14316 {
14317 int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL__null);
14318 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
14319 }
14320 if (_v) {
14321 return _wrap_GFitsHeaderCard_value__SWIG_6(self, args);
14322 }
14323 }
14324 }
14325 if (argc == 2) {
14326 int _v;
14327 void *vptr = 0;
14328 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHeaderCard, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[7
], 0, 0)
;
14329 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
14330 if (_v) {
14331 {
14332 int res = SWIG_AsVal_int(argv[1], NULL__null);
14333 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
14334 }
14335 if (_v) {
14336 return _wrap_GFitsHeaderCard_value__SWIG_7(self, args);
14337 }
14338 }
14339 }
14340 if (argc == 2) {
14341 int _v;
14342 void *vptr = 0;
14343 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHeaderCard, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[7
], 0, 0)
;
14344 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
14345 if (_v) {
14346 {
14347 int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL__null);
14348 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
14349 }
14350 if (_v) {
14351 return _wrap_GFitsHeaderCard_value__SWIG_9(self, args);
14352 }
14353 }
14354 }
14355 if (argc == 2) {
14356 int _v;
14357 void *vptr = 0;
14358 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHeaderCard, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[7
], 0, 0)
;
14359 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
14360 if (_v) {
14361 {
14362 int res = SWIG_AsVal_long(argv[1], NULL__null);
14363 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
14364 }
14365 if (_v) {
14366 return _wrap_GFitsHeaderCard_value__SWIG_8(self, args);
14367 }
14368 }
14369 }
14370 if (argc == 2) {
14371 int _v;
14372 void *vptr = 0;
14373 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHeaderCard, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[7
], 0, 0)
;
14374 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
14375 if (_v) {
14376 {
14377 int res = SWIG_AsVal_long_SS_long(argv[1], NULL__null);
14378 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
14379 }
14380 if (_v) {
14381 return _wrap_GFitsHeaderCard_value__SWIG_10(self, args);
14382 }
14383 }
14384 }
14385 if (argc == 2) {
14386 int _v;
14387 void *vptr = 0;
14388 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHeaderCard, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[7
], 0, 0)
;
14389 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
14390 if (_v) {
14391 {
14392 int res = SWIG_AsVal_float(argv[1], NULL__null);
14393 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
14394 }
14395 if (_v) {
14396 return _wrap_GFitsHeaderCard_value__SWIG_2(self, args);
14397 }
14398 }
14399 }
14400 if (argc == 2) {
14401 int _v;
14402 void *vptr = 0;
14403 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHeaderCard, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[7
], 0, 0)
;
14404 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
14405 if (_v) {
14406 {
14407 int res = SWIG_AsVal_double(argv[1], NULL__null);
14408 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
14409 }
14410 if (_v) {
14411 return _wrap_GFitsHeaderCard_value__SWIG_3(self, args);
14412 }
14413 }
14414 }
14415 if (argc == 2) {
14416 int _v;
14417 void *vptr = 0;
14418 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHeaderCard, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[7
], 0, 0)
;
14419 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
14420 if (_v) {
14421 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
14422 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
14423 if (_v) {
14424 return _wrap_GFitsHeaderCard_value__SWIG_0(self, args);
14425 }
14426 }
14427 }
14428 if (argc == 2) {
14429 int _v;
14430 void *vptr = 0;
14431 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHeaderCard, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[7
], 0, 0)
;
14432 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
14433 if (_v) {
14434 {
14435 int res = SWIG_AsVal_bool(argv[1], NULL__null);
14436 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
14437 }
14438 if (_v) {
14439 return _wrap_GFitsHeaderCard_value__SWIG_1(self, args);
14440 }
14441 }
14442 }
14443
14444fail:
14445 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsHeaderCard_value'.\n"
14446 " Possible C/C++ prototypes are:\n"
14447 " GFitsHeaderCard::value(std::string const &)\n"
14448 " GFitsHeaderCard::value(bool const &)\n"
14449 " GFitsHeaderCard::value(float const &)\n"
14450 " GFitsHeaderCard::value(double const &)\n"
14451 " GFitsHeaderCard::value(unsigned short const &)\n"
14452 " GFitsHeaderCard::value(short const &)\n"
14453 " GFitsHeaderCard::value(unsigned int const &)\n"
14454 " GFitsHeaderCard::value(int const &)\n"
14455 " GFitsHeaderCard::value(long const &)\n"
14456 " GFitsHeaderCard::value(unsigned long const &)\n"
14457 " GFitsHeaderCard::value(long long const &)\n"
14458 " GFitsHeaderCard::value() const\n");
14459 return 0;
14460}
14461
14462
14463SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeaderCard_decimals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14464 PyObject *resultobj = 0;
14465 GFitsHeaderCard *arg1 = (GFitsHeaderCard *) 0 ;
14466 void *argp1 = 0 ;
14467 int res1 = 0 ;
14468 PyObject * obj0 = 0 ;
14469 int result;
14470
14471 if (!PyArg_ParseTuple(args,(char *)"O:GFitsHeaderCard_decimals",&obj0)) SWIG_failgoto fail;
14472 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeaderCard, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[7],
0 | 0, 0)
;
14473 if (!SWIG_IsOK(res1)(res1 >= 0)) {
14474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeaderCard_decimals" "', argument " "1"" of type '" "GFitsHeaderCard const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeaderCard_decimals" "', argument "
"1"" of type '" "GFitsHeaderCard const *""'"); goto fail; } while
(0)
;
14475 }
14476 arg1 = reinterpret_cast< GFitsHeaderCard * >(argp1);
14477 {
14478 try {
14479 result = (int)((GFitsHeaderCard const *)arg1)->decimals();
14480 }
14481 catch (const GException::out_of_range& e) {
14482 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
14483 }
14484 catch (const GExceptionHandler& e) {
14485 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14486 }
14487 catch (const std::exception& e) {
14488 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14489 }
14490 }
14491 resultobj = SWIG_From_int(static_cast< int >(result));
14492 return resultobj;
14493fail:
14494 return NULL__null;
14495}
14496
14497
14498SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeaderCard_unit__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14499 PyObject *resultobj = 0;
14500 GFitsHeaderCard *arg1 = (GFitsHeaderCard *) 0 ;
14501 std::string *arg2 = 0 ;
14502 void *argp1 = 0 ;
14503 int res1 = 0 ;
14504 int res2 = SWIG_OLDOBJ((0)) ;
14505 PyObject * obj0 = 0 ;
14506 PyObject * obj1 = 0 ;
14507
14508 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsHeaderCard_unit",&obj0,&obj1)) SWIG_failgoto fail;
14509 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeaderCard, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[7],
0 | 0, 0)
;
14510 if (!SWIG_IsOK(res1)(res1 >= 0)) {
14511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeaderCard_unit" "', argument " "1"" of type '" "GFitsHeaderCard *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeaderCard_unit" "', argument "
"1"" of type '" "GFitsHeaderCard *""'"); goto fail; } while(
0)
;
14512 }
14513 arg1 = reinterpret_cast< GFitsHeaderCard * >(argp1);
14514 {
14515 std::string *ptr = (std::string *)0;
14516 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
14517 if (!SWIG_IsOK(res2)(res2 >= 0)) {
14518 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsHeaderCard_unit" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsHeaderCard_unit" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
14519 }
14520 if (!ptr) {
14521 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsHeaderCard_unit" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsHeaderCard_unit" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
14522 }
14523 arg2 = ptr;
14524 }
14525 {
14526 try {
14527 (arg1)->unit((std::string const &)*arg2);
14528 }
14529 catch (const GException::out_of_range& e) {
14530 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
14531 }
14532 catch (const GExceptionHandler& e) {
14533 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14534 }
14535 catch (const std::exception& e) {
14536 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14537 }
14538 }
14539 resultobj = SWIG_Py_Void();
14540 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
14541 return resultobj;
14542fail:
14543 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
14544 return NULL__null;
14545}
14546
14547
14548SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeaderCard_unit__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14549 PyObject *resultobj = 0;
14550 GFitsHeaderCard *arg1 = (GFitsHeaderCard *) 0 ;
14551 void *argp1 = 0 ;
14552 int res1 = 0 ;
14553 PyObject * obj0 = 0 ;
14554 std::string result;
14555
14556 if (!PyArg_ParseTuple(args,(char *)"O:GFitsHeaderCard_unit",&obj0)) SWIG_failgoto fail;
14557 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeaderCard, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[7],
0 | 0, 0)
;
14558 if (!SWIG_IsOK(res1)(res1 >= 0)) {
14559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeaderCard_unit" "', argument " "1"" of type '" "GFitsHeaderCard const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeaderCard_unit" "', argument "
"1"" of type '" "GFitsHeaderCard const *""'"); goto fail; } while
(0)
;
14560 }
14561 arg1 = reinterpret_cast< GFitsHeaderCard * >(argp1);
14562 {
14563 try {
14564 result = ((GFitsHeaderCard const *)arg1)->unit();
14565 }
14566 catch (const GException::out_of_range& e) {
14567 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
14568 }
14569 catch (const GExceptionHandler& e) {
14570 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14571 }
14572 catch (const std::exception& e) {
14573 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14574 }
14575 }
14576 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
14577 return resultobj;
14578fail:
14579 return NULL__null;
14580}
14581
14582
14583SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeaderCard_unit(PyObject *self, PyObject *args) {
14584 int argc;
14585 PyObject *argv[3];
14586 int ii;
14587
14588 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
14589 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
14590 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
14591 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
14592 }
14593 if (argc == 1) {
14594 int _v;
14595 void *vptr = 0;
14596 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHeaderCard, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[7
], 0, 0)
;
14597 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
14598 if (_v) {
14599 return _wrap_GFitsHeaderCard_unit__SWIG_1(self, args);
14600 }
14601 }
14602 if (argc == 2) {
14603 int _v;
14604 void *vptr = 0;
14605 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHeaderCard, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[7
], 0, 0)
;
14606 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
14607 if (_v) {
14608 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
14609 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
14610 if (_v) {
14611 return _wrap_GFitsHeaderCard_unit__SWIG_0(self, args);
14612 }
14613 }
14614 }
14615
14616fail:
14617 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsHeaderCard_unit'.\n"
14618 " Possible C/C++ prototypes are:\n"
14619 " GFitsHeaderCard::unit(std::string const &)\n"
14620 " GFitsHeaderCard::unit() const\n");
14621 return 0;
14622}
14623
14624
14625SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeaderCard_comment__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14626 PyObject *resultobj = 0;
14627 GFitsHeaderCard *arg1 = (GFitsHeaderCard *) 0 ;
14628 std::string *arg2 = 0 ;
14629 void *argp1 = 0 ;
14630 int res1 = 0 ;
14631 int res2 = SWIG_OLDOBJ((0)) ;
14632 PyObject * obj0 = 0 ;
14633 PyObject * obj1 = 0 ;
14634
14635 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsHeaderCard_comment",&obj0,&obj1)) SWIG_failgoto fail;
14636 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeaderCard, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[7],
0 | 0, 0)
;
14637 if (!SWIG_IsOK(res1)(res1 >= 0)) {
14638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeaderCard_comment" "', argument " "1"" of type '" "GFitsHeaderCard *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeaderCard_comment" "', argument "
"1"" of type '" "GFitsHeaderCard *""'"); goto fail; } while(
0)
;
14639 }
14640 arg1 = reinterpret_cast< GFitsHeaderCard * >(argp1);
14641 {
14642 std::string *ptr = (std::string *)0;
14643 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
14644 if (!SWIG_IsOK(res2)(res2 >= 0)) {
14645 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsHeaderCard_comment" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsHeaderCard_comment" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
14646 }
14647 if (!ptr) {
14648 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsHeaderCard_comment" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsHeaderCard_comment" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
14649 }
14650 arg2 = ptr;
14651 }
14652 {
14653 try {
14654 (arg1)->comment((std::string const &)*arg2);
14655 }
14656 catch (const GException::out_of_range& e) {
14657 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
14658 }
14659 catch (const GExceptionHandler& e) {
14660 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14661 }
14662 catch (const std::exception& e) {
14663 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14664 }
14665 }
14666 resultobj = SWIG_Py_Void();
14667 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
14668 return resultobj;
14669fail:
14670 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
14671 return NULL__null;
14672}
14673
14674
14675SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeaderCard_comment__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14676 PyObject *resultobj = 0;
14677 GFitsHeaderCard *arg1 = (GFitsHeaderCard *) 0 ;
14678 void *argp1 = 0 ;
14679 int res1 = 0 ;
14680 PyObject * obj0 = 0 ;
14681 std::string result;
14682
14683 if (!PyArg_ParseTuple(args,(char *)"O:GFitsHeaderCard_comment",&obj0)) SWIG_failgoto fail;
14684 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeaderCard, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[7],
0 | 0, 0)
;
14685 if (!SWIG_IsOK(res1)(res1 >= 0)) {
14686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeaderCard_comment" "', argument " "1"" of type '" "GFitsHeaderCard const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeaderCard_comment" "', argument "
"1"" of type '" "GFitsHeaderCard const *""'"); goto fail; } while
(0)
;
14687 }
14688 arg1 = reinterpret_cast< GFitsHeaderCard * >(argp1);
14689 {
14690 try {
14691 result = ((GFitsHeaderCard const *)arg1)->comment();
14692 }
14693 catch (const GException::out_of_range& e) {
14694 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
14695 }
14696 catch (const GExceptionHandler& e) {
14697 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14698 }
14699 catch (const std::exception& e) {
14700 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14701 }
14702 }
14703 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
14704 return resultobj;
14705fail:
14706 return NULL__null;
14707}
14708
14709
14710SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeaderCard_comment(PyObject *self, PyObject *args) {
14711 int argc;
14712 PyObject *argv[3];
14713 int ii;
14714
14715 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
14716 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
14717 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
14718 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
14719 }
14720 if (argc == 1) {
14721 int _v;
14722 void *vptr = 0;
14723 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHeaderCard, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[7
], 0, 0)
;
14724 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
14725 if (_v) {
14726 return _wrap_GFitsHeaderCard_comment__SWIG_1(self, args);
14727 }
14728 }
14729 if (argc == 2) {
14730 int _v;
14731 void *vptr = 0;
14732 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsHeaderCard, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[7
], 0, 0)
;
14733 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
14734 if (_v) {
14735 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
14736 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
14737 if (_v) {
14738 return _wrap_GFitsHeaderCard_comment__SWIG_0(self, args);
14739 }
14740 }
14741 }
14742
14743fail:
14744 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsHeaderCard_comment'.\n"
14745 " Possible C/C++ prototypes are:\n"
14746 " GFitsHeaderCard::comment(std::string const &)\n"
14747 " GFitsHeaderCard::comment() const\n");
14748 return 0;
14749}
14750
14751
14752SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeaderCard_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14753 PyObject *resultobj = 0;
14754 GFitsHeaderCard *arg1 = (GFitsHeaderCard *) 0 ;
14755 void *argp1 = 0 ;
14756 int res1 = 0 ;
14757 PyObject * obj0 = 0 ;
14758 std::string result;
14759
14760 if (!PyArg_ParseTuple(args,(char *)"O:GFitsHeaderCard_string",&obj0)) SWIG_failgoto fail;
14761 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeaderCard, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[7],
0 | 0, 0)
;
14762 if (!SWIG_IsOK(res1)(res1 >= 0)) {
14763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeaderCard_string" "', argument " "1"" of type '" "GFitsHeaderCard *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeaderCard_string" "', argument "
"1"" of type '" "GFitsHeaderCard *""'"); goto fail; } while(
0)
;
14764 }
14765 arg1 = reinterpret_cast< GFitsHeaderCard * >(argp1);
14766 {
14767 try {
14768 result = (arg1)->string();
14769 }
14770 catch (const GException::out_of_range& e) {
14771 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
14772 }
14773 catch (const GExceptionHandler& e) {
14774 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14775 }
14776 catch (const std::exception& e) {
14777 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14778 }
14779 }
14780 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
14781 return resultobj;
14782fail:
14783 return NULL__null;
14784}
14785
14786
14787SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeaderCard_real(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14788 PyObject *resultobj = 0;
14789 GFitsHeaderCard *arg1 = (GFitsHeaderCard *) 0 ;
14790 void *argp1 = 0 ;
14791 int res1 = 0 ;
14792 PyObject * obj0 = 0 ;
14793 double result;
14794
14795 if (!PyArg_ParseTuple(args,(char *)"O:GFitsHeaderCard_real",&obj0)) SWIG_failgoto fail;
14796 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeaderCard, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[7],
0 | 0, 0)
;
14797 if (!SWIG_IsOK(res1)(res1 >= 0)) {
14798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeaderCard_real" "', argument " "1"" of type '" "GFitsHeaderCard *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeaderCard_real" "', argument "
"1"" of type '" "GFitsHeaderCard *""'"); goto fail; } while(
0)
;
14799 }
14800 arg1 = reinterpret_cast< GFitsHeaderCard * >(argp1);
14801 {
14802 try {
14803 result = (double)(arg1)->real();
14804 }
14805 catch (const GException::out_of_range& e) {
14806 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
14807 }
14808 catch (const GExceptionHandler& e) {
14809 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14810 }
14811 catch (const std::exception& e) {
14812 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14813 }
14814 }
14815 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
14816 return resultobj;
14817fail:
14818 return NULL__null;
14819}
14820
14821
14822SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeaderCard_integer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14823 PyObject *resultobj = 0;
14824 GFitsHeaderCard *arg1 = (GFitsHeaderCard *) 0 ;
14825 void *argp1 = 0 ;
14826 int res1 = 0 ;
14827 PyObject * obj0 = 0 ;
14828 int result;
14829
14830 if (!PyArg_ParseTuple(args,(char *)"O:GFitsHeaderCard_integer",&obj0)) SWIG_failgoto fail;
14831 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeaderCard, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[7],
0 | 0, 0)
;
14832 if (!SWIG_IsOK(res1)(res1 >= 0)) {
14833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeaderCard_integer" "', argument " "1"" of type '" "GFitsHeaderCard *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeaderCard_integer" "', argument "
"1"" of type '" "GFitsHeaderCard *""'"); goto fail; } while(
0)
;
14834 }
14835 arg1 = reinterpret_cast< GFitsHeaderCard * >(argp1);
14836 {
14837 try {
14838 result = (int)(arg1)->integer();
14839 }
14840 catch (const GException::out_of_range& e) {
14841 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
14842 }
14843 catch (const GExceptionHandler& e) {
14844 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14845 }
14846 catch (const std::exception& e) {
14847 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14848 }
14849 }
14850 resultobj = SWIG_From_int(static_cast< int >(result));
14851 return resultobj;
14852fail:
14853 return NULL__null;
14854}
14855
14856
14857SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsHeaderCard_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14858 PyObject *resultobj = 0;
14859 GFitsHeaderCard *arg1 = (GFitsHeaderCard *) 0 ;
14860 void *argp1 = 0 ;
14861 int res1 = 0 ;
14862 PyObject * obj0 = 0 ;
14863 GFitsHeaderCard result;
14864
14865 if (!PyArg_ParseTuple(args,(char *)"O:GFitsHeaderCard_copy",&obj0)) SWIG_failgoto fail;
14866 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsHeaderCard, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[7],
0 | 0, 0)
;
14867 if (!SWIG_IsOK(res1)(res1 >= 0)) {
14868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsHeaderCard_copy" "', argument " "1"" of type '" "GFitsHeaderCard *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsHeaderCard_copy" "', argument "
"1"" of type '" "GFitsHeaderCard *""'"); goto fail; } while(
0)
;
14869 }
14870 arg1 = reinterpret_cast< GFitsHeaderCard * >(argp1);
14871 {
14872 try {
14873 result = GFitsHeaderCard_copy(arg1);
14874 }
14875 catch (const GException::out_of_range& e) {
14876 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
14877 }
14878 catch (const GExceptionHandler& e) {
14879 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14880 }
14881 catch (const std::exception& e) {
14882 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14883 }
14884 }
14885 resultobj = SWIG_NewPointerObj((new GFitsHeaderCard(static_cast< const GFitsHeaderCard& >(result))), SWIGTYPE_p_GFitsHeaderCard, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GFitsHeaderCard(static_cast
< const GFitsHeaderCard& >(result))), swig_types[7]
, 0x1 | 0)
;
14886 return resultobj;
14887fail:
14888 return NULL__null;
14889}
14890
14891
14892SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GFitsHeaderCard_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14893 PyObject *obj;
14894 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
14895 SWIG_TypeNewClientData(SWIGTYPE_p_GFitsHeaderCardswig_types[7], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
14896 return SWIG_Py_Void();
14897}
14898
14899SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GFitsImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14900 PyObject *resultobj = 0;
14901 GFitsImage *arg1 = (GFitsImage *) 0 ;
14902 void *argp1 = 0 ;
14903 int res1 = 0 ;
14904 PyObject * obj0 = 0 ;
14905
14906 if (!PyArg_ParseTuple(args,(char *)"O:delete_GFitsImage",&obj0)) SWIG_failgoto fail;
14907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImage, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[8],
0x1 | 0, 0)
;
14908 if (!SWIG_IsOK(res1)(res1 >= 0)) {
14909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GFitsImage" "', argument " "1"" of type '" "GFitsImage *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GFitsImage" "', argument "
"1"" of type '" "GFitsImage *""'"); goto fail; } while(0)
;
14910 }
14911 arg1 = reinterpret_cast< GFitsImage * >(argp1);
14912 {
14913 try {
14914 delete arg1;
14915 }
14916 catch (const GException::out_of_range& e) {
14917 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
14918 }
14919 catch (const GExceptionHandler& e) {
14920 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14921 }
14922 catch (const std::exception& e) {
14923 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14924 }
14925 }
14926 resultobj = SWIG_Py_Void();
14927 return resultobj;
14928fail:
14929 return NULL__null;
14930}
14931
14932
14933SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImage_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14934 PyObject *resultobj = 0;
14935 GFitsImage *arg1 = (GFitsImage *) 0 ;
14936 void *argp1 = 0 ;
14937 int res1 = 0 ;
14938 PyObject * obj0 = 0 ;
14939
14940 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImage_clear",&obj0)) SWIG_failgoto fail;
14941 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImage, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[8],
0 | 0, 0)
;
14942 if (!SWIG_IsOK(res1)(res1 >= 0)) {
14943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImage_clear" "', argument " "1"" of type '" "GFitsImage *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImage_clear" "', argument "
"1"" of type '" "GFitsImage *""'"); goto fail; } while(0)
;
14944 }
14945 arg1 = reinterpret_cast< GFitsImage * >(argp1);
14946 {
14947 try {
14948 (arg1)->clear();
14949 }
14950 catch (const GException::out_of_range& e) {
14951 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
14952 }
14953 catch (const GExceptionHandler& e) {
14954 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14955 }
14956 catch (const std::exception& e) {
14957 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14958 }
14959 }
14960 resultobj = SWIG_Py_Void();
14961 return resultobj;
14962fail:
14963 return NULL__null;
14964}
14965
14966
14967SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImage_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14968 PyObject *resultobj = 0;
14969 GFitsImage *arg1 = (GFitsImage *) 0 ;
14970 void *argp1 = 0 ;
14971 int res1 = 0 ;
14972 PyObject * obj0 = 0 ;
14973 GFitsImage *result = 0 ;
14974
14975 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImage_clone",&obj0)) SWIG_failgoto fail;
14976 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImage, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[8],
0 | 0, 0)
;
14977 if (!SWIG_IsOK(res1)(res1 >= 0)) {
14978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImage_clone" "', argument " "1"" of type '" "GFitsImage const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImage_clone" "', argument "
"1"" of type '" "GFitsImage const *""'"); goto fail; } while
(0)
;
14979 }
14980 arg1 = reinterpret_cast< GFitsImage * >(argp1);
14981 {
14982 try {
14983 result = (GFitsImage *)((GFitsImage const *)arg1)->clone();
14984 }
14985 catch (const GException::out_of_range& e) {
14986 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
14987 }
14988 catch (const GExceptionHandler& e) {
14989 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14990 }
14991 catch (const std::exception& e) {
14992 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
14993 }
14994 }
14995 {
14996 if (dynamic_cast<GFitsImageByte*>(result) != NULL__null) {
14997 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageByte, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[9], 0 |
0)
;
14998 }
14999 else if (dynamic_cast<GFitsImageDouble*>(result) != NULL__null) {
15000 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageDouble, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[10], 0
| 0)
;
15001 }
15002 else if (dynamic_cast<GFitsImageFloat*>(result) != NULL__null) {
15003 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageFloat, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], 0
| 0)
;
15004 }
15005 else if (dynamic_cast<GFitsImageLong*>(result) != NULL__null) {
15006 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageFloat, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], 0
| 0)
;
15007 }
15008 else if (dynamic_cast<GFitsImageLongLong*>(result) != NULL__null) {
15009 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageLongLong, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[13], 0
| 0)
;
15010 }
15011 else if (dynamic_cast<GFitsImageSByte*>(result) != NULL__null) {
15012 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageSByte, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[14], 0
| 0)
;
15013 }
15014 else if (dynamic_cast<GFitsImageShort*>(result) != NULL__null) {
15015 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageShort, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[15], 0
| 0)
;
15016 }
15017 else if (dynamic_cast<GFitsImageULong*>(result) != NULL__null) {
15018 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageULong, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[16], 0
| 0)
;
15019 }
15020 else if (dynamic_cast<GFitsImageUShort*>(result) != NULL__null) {
15021 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageUShort, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[17], 0
| 0)
;
15022 }
15023 else {
15024 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImage, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[8], 0 |
0)
;
15025 }
15026 }
15027 return resultobj;
15028fail:
15029 return NULL__null;
15030}
15031
15032
15033SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImage_pixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15034 PyObject *resultobj = 0;
15035 GFitsImage *arg1 = (GFitsImage *) 0 ;
15036 void *argp1 = 0 ;
15037 int res1 = 0 ;
15038 PyObject * obj0 = 0 ;
15039 void *result = 0 ;
15040
15041 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImage_pixels",&obj0)) SWIG_failgoto fail;
15042 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImage, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[8],
0 | 0, 0)
;
15043 if (!SWIG_IsOK(res1)(res1 >= 0)) {
15044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImage_pixels" "', argument " "1"" of type '" "GFitsImage *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImage_pixels" "', argument "
"1"" of type '" "GFitsImage *""'"); goto fail; } while(0)
;
15045 }
15046 arg1 = reinterpret_cast< GFitsImage * >(argp1);
15047 {
15048 try {
15049 result = (void *)(arg1)->pixels();
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_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[57], 0
| 0)
;
15062 return resultobj;
15063fail:
15064 return NULL__null;
15065}
15066
15067
15068SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImage_pixel__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15069 PyObject *resultobj = 0;
15070 GFitsImage *arg1 = (GFitsImage *) 0 ;
15071 int *arg2 = 0 ;
15072 void *argp1 = 0 ;
15073 int res1 = 0 ;
15074 int temp2 ;
15075 int val2 ;
15076 int ecode2 = 0 ;
15077 PyObject * obj0 = 0 ;
15078 PyObject * obj1 = 0 ;
15079 double result;
15080
15081 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsImage_pixel",&obj0,&obj1)) SWIG_failgoto fail;
15082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImage, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[8],
0 | 0, 0)
;
15083 if (!SWIG_IsOK(res1)(res1 >= 0)) {
15084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImage_pixel" "', argument " "1"" of type '" "GFitsImage const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImage_pixel" "', argument "
"1"" of type '" "GFitsImage const *""'"); goto fail; } while
(0)
;
15085 }
15086 arg1 = reinterpret_cast< GFitsImage * >(argp1);
15087 ecode2 = SWIG_AsVal_int(obj1, &val2);
15088 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
15089 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsImage_pixel" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsImage_pixel" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
15090 }
15091 temp2 = static_cast< int >(val2);
15092 arg2 = &temp2;
15093 {
15094 try {
15095 result = (double)((GFitsImage const *)arg1)->pixel((int const &)*arg2);
15096 }
15097 catch (const GException::out_of_range& e) {
15098 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
15099 }
15100 catch (const GExceptionHandler& e) {
15101 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15102 }
15103 catch (const std::exception& e) {
15104 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15105 }
15106 }
15107 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
15108 return resultobj;
15109fail:
15110 return NULL__null;
15111}
15112
15113
15114SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImage_pixel__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15115 PyObject *resultobj = 0;
15116 GFitsImage *arg1 = (GFitsImage *) 0 ;
15117 int *arg2 = 0 ;
15118 int *arg3 = 0 ;
15119 void *argp1 = 0 ;
15120 int res1 = 0 ;
15121 int temp2 ;
15122 int val2 ;
15123 int ecode2 = 0 ;
15124 int temp3 ;
15125 int val3 ;
15126 int ecode3 = 0 ;
15127 PyObject * obj0 = 0 ;
15128 PyObject * obj1 = 0 ;
15129 PyObject * obj2 = 0 ;
15130 double result;
15131
15132 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsImage_pixel",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
15133 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImage, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[8],
0 | 0, 0)
;
15134 if (!SWIG_IsOK(res1)(res1 >= 0)) {
15135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImage_pixel" "', argument " "1"" of type '" "GFitsImage const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImage_pixel" "', argument "
"1"" of type '" "GFitsImage const *""'"); goto fail; } while
(0)
;
15136 }
15137 arg1 = reinterpret_cast< GFitsImage * >(argp1);
15138 ecode2 = SWIG_AsVal_int(obj1, &val2);
15139 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
15140 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsImage_pixel" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsImage_pixel" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
15141 }
15142 temp2 = static_cast< int >(val2);
15143 arg2 = &temp2;
15144 ecode3 = SWIG_AsVal_int(obj2, &val3);
15145 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
15146 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsImage_pixel" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsImage_pixel" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
15147 }
15148 temp3 = static_cast< int >(val3);
15149 arg3 = &temp3;
15150 {
15151 try {
15152 result = (double)((GFitsImage const *)arg1)->pixel((int const &)*arg2,(int const &)*arg3);
15153 }
15154 catch (const GException::out_of_range& e) {
15155 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
15156 }
15157 catch (const GExceptionHandler& e) {
15158 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15159 }
15160 catch (const std::exception& e) {
15161 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15162 }
15163 }
15164 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
15165 return resultobj;
15166fail:
15167 return NULL__null;
15168}
15169
15170
15171SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImage_pixel__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15172 PyObject *resultobj = 0;
15173 GFitsImage *arg1 = (GFitsImage *) 0 ;
15174 int *arg2 = 0 ;
15175 int *arg3 = 0 ;
15176 int *arg4 = 0 ;
15177 void *argp1 = 0 ;
15178 int res1 = 0 ;
15179 int temp2 ;
15180 int val2 ;
15181 int ecode2 = 0 ;
15182 int temp3 ;
15183 int val3 ;
15184 int ecode3 = 0 ;
15185 int temp4 ;
15186 int val4 ;
15187 int ecode4 = 0 ;
15188 PyObject * obj0 = 0 ;
15189 PyObject * obj1 = 0 ;
15190 PyObject * obj2 = 0 ;
15191 PyObject * obj3 = 0 ;
15192 double result;
15193
15194 if (!PyArg_ParseTuple(args,(char *)"OOOO:GFitsImage_pixel",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
15195 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImage, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[8],
0 | 0, 0)
;
15196 if (!SWIG_IsOK(res1)(res1 >= 0)) {
15197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImage_pixel" "', argument " "1"" of type '" "GFitsImage const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImage_pixel" "', argument "
"1"" of type '" "GFitsImage const *""'"); goto fail; } while
(0)
;
15198 }
15199 arg1 = reinterpret_cast< GFitsImage * >(argp1);
15200 ecode2 = SWIG_AsVal_int(obj1, &val2);
15201 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
15202 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsImage_pixel" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsImage_pixel" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
15203 }
15204 temp2 = static_cast< int >(val2);
15205 arg2 = &temp2;
15206 ecode3 = SWIG_AsVal_int(obj2, &val3);
15207 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
15208 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsImage_pixel" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsImage_pixel" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
15209 }
15210 temp3 = static_cast< int >(val3);
15211 arg3 = &temp3;
15212 ecode4 = SWIG_AsVal_int(obj3, &val4);
15213 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
15214 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GFitsImage_pixel" "', argument " "4"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GFitsImage_pixel" "', argument "
"4"" of type '" "int""'"); goto fail; } while(0)
;
15215 }
15216 temp4 = static_cast< int >(val4);
15217 arg4 = &temp4;
15218 {
15219 try {
15220 result = (double)((GFitsImage const *)arg1)->pixel((int const &)*arg2,(int const &)*arg3,(int const &)*arg4);
15221 }
15222 catch (const GException::out_of_range& e) {
15223 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
15224 }
15225 catch (const GExceptionHandler& e) {
15226 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15227 }
15228 catch (const std::exception& e) {
15229 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15230 }
15231 }
15232 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
15233 return resultobj;
15234fail:
15235 return NULL__null;
15236}
15237
15238
15239SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImage_pixel__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15240 PyObject *resultobj = 0;
15241 GFitsImage *arg1 = (GFitsImage *) 0 ;
15242 int *arg2 = 0 ;
15243 int *arg3 = 0 ;
15244 int *arg4 = 0 ;
15245 int *arg5 = 0 ;
15246 void *argp1 = 0 ;
15247 int res1 = 0 ;
15248 int temp2 ;
15249 int val2 ;
15250 int ecode2 = 0 ;
15251 int temp3 ;
15252 int val3 ;
15253 int ecode3 = 0 ;
15254 int temp4 ;
15255 int val4 ;
15256 int ecode4 = 0 ;
15257 int temp5 ;
15258 int val5 ;
15259 int ecode5 = 0 ;
15260 PyObject * obj0 = 0 ;
15261 PyObject * obj1 = 0 ;
15262 PyObject * obj2 = 0 ;
15263 PyObject * obj3 = 0 ;
15264 PyObject * obj4 = 0 ;
15265 double result;
15266
15267 if (!PyArg_ParseTuple(args,(char *)"OOOOO:GFitsImage_pixel",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_failgoto fail;
15268 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImage, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[8],
0 | 0, 0)
;
15269 if (!SWIG_IsOK(res1)(res1 >= 0)) {
15270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImage_pixel" "', argument " "1"" of type '" "GFitsImage const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImage_pixel" "', argument "
"1"" of type '" "GFitsImage const *""'"); goto fail; } while
(0)
;
15271 }
15272 arg1 = reinterpret_cast< GFitsImage * >(argp1);
15273 ecode2 = SWIG_AsVal_int(obj1, &val2);
15274 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
15275 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsImage_pixel" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsImage_pixel" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
15276 }
15277 temp2 = static_cast< int >(val2);
15278 arg2 = &temp2;
15279 ecode3 = SWIG_AsVal_int(obj2, &val3);
15280 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
15281 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsImage_pixel" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsImage_pixel" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
15282 }
15283 temp3 = static_cast< int >(val3);
15284 arg3 = &temp3;
15285 ecode4 = SWIG_AsVal_int(obj3, &val4);
15286 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
15287 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GFitsImage_pixel" "', argument " "4"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GFitsImage_pixel" "', argument "
"4"" of type '" "int""'"); goto fail; } while(0)
;
15288 }
15289 temp4 = static_cast< int >(val4);
15290 arg4 = &temp4;
15291 ecode5 = SWIG_AsVal_int(obj4, &val5);
15292 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
15293 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GFitsImage_pixel" "', argument " "5"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GFitsImage_pixel" "', argument "
"5"" of type '" "int""'"); goto fail; } while(0)
;
15294 }
15295 temp5 = static_cast< int >(val5);
15296 arg5 = &temp5;
15297 {
15298 try {
15299 result = (double)((GFitsImage const *)arg1)->pixel((int const &)*arg2,(int const &)*arg3,(int const &)*arg4,(int const &)*arg5);
15300 }
15301 catch (const GException::out_of_range& e) {
15302 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
15303 }
15304 catch (const GExceptionHandler& e) {
15305 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15306 }
15307 catch (const std::exception& e) {
15308 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15309 }
15310 }
15311 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
15312 return resultobj;
15313fail:
15314 return NULL__null;
15315}
15316
15317
15318SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImage_pixel(PyObject *self, PyObject *args) {
15319 int argc;
15320 PyObject *argv[6];
15321 int ii;
15322
15323 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
15324 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
15325 for (ii = 0; (ii < 5) && (ii < argc); ii++) {
15326 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
15327 }
15328 if (argc == 2) {
15329 int _v;
15330 void *vptr = 0;
15331 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsImage, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[8
], 0, 0)
;
15332 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
15333 if (_v) {
15334 {
15335 int res = SWIG_AsVal_int(argv[1], NULL__null);
15336 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
15337 }
15338 if (_v) {
15339 return _wrap_GFitsImage_pixel__SWIG_0(self, args);
15340 }
15341 }
15342 }
15343 if (argc == 3) {
15344 int _v;
15345 void *vptr = 0;
15346 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsImage, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[8
], 0, 0)
;
15347 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
15348 if (_v) {
15349 {
15350 int res = SWIG_AsVal_int(argv[1], NULL__null);
15351 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
15352 }
15353 if (_v) {
15354 {
15355 int res = SWIG_AsVal_int(argv[2], NULL__null);
15356 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
15357 }
15358 if (_v) {
15359 return _wrap_GFitsImage_pixel__SWIG_1(self, args);
15360 }
15361 }
15362 }
15363 }
15364 if (argc == 4) {
15365 int _v;
15366 void *vptr = 0;
15367 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsImage, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[8
], 0, 0)
;
15368 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
15369 if (_v) {
15370 {
15371 int res = SWIG_AsVal_int(argv[1], NULL__null);
15372 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
15373 }
15374 if (_v) {
15375 {
15376 int res = SWIG_AsVal_int(argv[2], NULL__null);
15377 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
15378 }
15379 if (_v) {
15380 {
15381 int res = SWIG_AsVal_int(argv[3], NULL__null);
15382 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
15383 }
15384 if (_v) {
15385 return _wrap_GFitsImage_pixel__SWIG_2(self, args);
15386 }
15387 }
15388 }
15389 }
15390 }
15391 if (argc == 5) {
15392 int _v;
15393 void *vptr = 0;
15394 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsImage, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[8
], 0, 0)
;
15395 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
15396 if (_v) {
15397 {
15398 int res = SWIG_AsVal_int(argv[1], NULL__null);
15399 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
15400 }
15401 if (_v) {
15402 {
15403 int res = SWIG_AsVal_int(argv[2], NULL__null);
15404 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
15405 }
15406 if (_v) {
15407 {
15408 int res = SWIG_AsVal_int(argv[3], NULL__null);
15409 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
15410 }
15411 if (_v) {
15412 {
15413 int res = SWIG_AsVal_int(argv[4], NULL__null);
15414 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
15415 }
15416 if (_v) {
15417 return _wrap_GFitsImage_pixel__SWIG_3(self, args);
15418 }
15419 }
15420 }
15421 }
15422 }
15423 }
15424
15425fail:
15426 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsImage_pixel'.\n"
15427 " Possible C/C++ prototypes are:\n"
15428 " GFitsImage::pixel(int const &) const\n"
15429 " GFitsImage::pixel(int const &,int const &) const\n"
15430 " GFitsImage::pixel(int const &,int const &,int const &) const\n"
15431 " GFitsImage::pixel(int const &,int const &,int const &,int const &) const\n");
15432 return 0;
15433}
15434
15435
15436SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImage_type(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15437 PyObject *resultobj = 0;
15438 GFitsImage *arg1 = (GFitsImage *) 0 ;
15439 void *argp1 = 0 ;
15440 int res1 = 0 ;
15441 PyObject * obj0 = 0 ;
15442 int result;
15443
15444 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImage_type",&obj0)) SWIG_failgoto fail;
15445 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImage, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[8],
0 | 0, 0)
;
15446 if (!SWIG_IsOK(res1)(res1 >= 0)) {
15447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImage_type" "', argument " "1"" of type '" "GFitsImage const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImage_type" "', argument "
"1"" of type '" "GFitsImage const *""'"); goto fail; } while
(0)
;
15448 }
15449 arg1 = reinterpret_cast< GFitsImage * >(argp1);
15450 {
15451 try {
15452 result = (int)((GFitsImage const *)arg1)->type();
15453 }
15454 catch (const GException::out_of_range& e) {
15455 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
15456 }
15457 catch (const GExceptionHandler& e) {
15458 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15459 }
15460 catch (const std::exception& e) {
15461 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15462 }
15463 }
15464 resultobj = SWIG_From_int(static_cast< int >(result));
15465 return resultobj;
15466fail:
15467 return NULL__null;
15468}
15469
15470
15471SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImage_exttype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15472 PyObject *resultobj = 0;
15473 GFitsImage *arg1 = (GFitsImage *) 0 ;
15474 void *argp1 = 0 ;
15475 int res1 = 0 ;
15476 PyObject * obj0 = 0 ;
15477 GFitsHDU::HDUType result;
15478
15479 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImage_exttype",&obj0)) SWIG_failgoto fail;
15480 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImage, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[8],
0 | 0, 0)
;
15481 if (!SWIG_IsOK(res1)(res1 >= 0)) {
15482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImage_exttype" "', argument " "1"" of type '" "GFitsImage const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImage_exttype" "', argument "
"1"" of type '" "GFitsImage const *""'"); goto fail; } while
(0)
;
15483 }
15484 arg1 = reinterpret_cast< GFitsImage * >(argp1);
15485 {
15486 try {
15487 result = (GFitsHDU::HDUType)((GFitsImage const *)arg1)->exttype();
15488 }
15489 catch (const GException::out_of_range& e) {
15490 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
15491 }
15492 catch (const GExceptionHandler& e) {
15493 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15494 }
15495 catch (const std::exception& e) {
15496 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15497 }
15498 }
15499 resultobj = SWIG_From_int(static_cast< int >(result));
15500 return resultobj;
15501fail:
15502 return NULL__null;
15503}
15504
15505
15506SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImage_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15507 PyObject *resultobj = 0;
15508 GFitsImage *arg1 = (GFitsImage *) 0 ;
15509 void *argp1 = 0 ;
15510 int res1 = 0 ;
15511 PyObject * obj0 = 0 ;
15512 int *result = 0 ;
15513
15514 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImage_size",&obj0)) SWIG_failgoto fail;
15515 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImage, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[8],
0 | 0, 0)
;
15516 if (!SWIG_IsOK(res1)(res1 >= 0)) {
15517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImage_size" "', argument " "1"" of type '" "GFitsImage const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImage_size" "', argument "
"1"" of type '" "GFitsImage const *""'"); goto fail; } while
(0)
;
15518 }
15519 arg1 = reinterpret_cast< GFitsImage * >(argp1);
15520 {
15521 try {
15522 result = (int *) &((GFitsImage const *)arg1)->size();
15523 }
15524 catch (const GException::out_of_range& e) {
15525 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
15526 }
15527 catch (const GExceptionHandler& e) {
15528 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15529 }
15530 catch (const std::exception& e) {
15531 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15532 }
15533 }
15534 resultobj = SWIG_From_int(static_cast< int >(*result));
15535 return resultobj;
15536fail:
15537 return NULL__null;
15538}
15539
15540
15541SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImage_bitpix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15542 PyObject *resultobj = 0;
15543 GFitsImage *arg1 = (GFitsImage *) 0 ;
15544 void *argp1 = 0 ;
15545 int res1 = 0 ;
15546 PyObject * obj0 = 0 ;
15547 int *result = 0 ;
15548
15549 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImage_bitpix",&obj0)) SWIG_failgoto fail;
15550 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImage, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[8],
0 | 0, 0)
;
15551 if (!SWIG_IsOK(res1)(res1 >= 0)) {
15552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImage_bitpix" "', argument " "1"" of type '" "GFitsImage const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImage_bitpix" "', argument "
"1"" of type '" "GFitsImage const *""'"); goto fail; } while
(0)
;
15553 }
15554 arg1 = reinterpret_cast< GFitsImage * >(argp1);
15555 {
15556 try {
15557 result = (int *) &((GFitsImage const *)arg1)->bitpix();
15558 }
15559 catch (const GException::out_of_range& e) {
15560 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
15561 }
15562 catch (const GExceptionHandler& e) {
15563 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15564 }
15565 catch (const std::exception& e) {
15566 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15567 }
15568 }
15569 resultobj = SWIG_From_int(static_cast< int >(*result));
15570 return resultobj;
15571fail:
15572 return NULL__null;
15573}
15574
15575
15576SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImage_naxis(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15577 PyObject *resultobj = 0;
15578 GFitsImage *arg1 = (GFitsImage *) 0 ;
15579 void *argp1 = 0 ;
15580 int res1 = 0 ;
15581 PyObject * obj0 = 0 ;
15582 int *result = 0 ;
15583
15584 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImage_naxis",&obj0)) SWIG_failgoto fail;
15585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImage, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[8],
0 | 0, 0)
;
15586 if (!SWIG_IsOK(res1)(res1 >= 0)) {
15587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImage_naxis" "', argument " "1"" of type '" "GFitsImage const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImage_naxis" "', argument "
"1"" of type '" "GFitsImage const *""'"); goto fail; } while
(0)
;
15588 }
15589 arg1 = reinterpret_cast< GFitsImage * >(argp1);
15590 {
15591 try {
15592 result = (int *) &((GFitsImage const *)arg1)->naxis();
15593 }
15594 catch (const GException::out_of_range& e) {
15595 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
15596 }
15597 catch (const GExceptionHandler& e) {
15598 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15599 }
15600 catch (const std::exception& e) {
15601 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15602 }
15603 }
15604 resultobj = SWIG_From_int(static_cast< int >(*result));
15605 return resultobj;
15606fail:
15607 return NULL__null;
15608}
15609
15610
15611SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImage_naxes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15612 PyObject *resultobj = 0;
15613 GFitsImage *arg1 = (GFitsImage *) 0 ;
15614 int *arg2 = 0 ;
15615 void *argp1 = 0 ;
15616 int res1 = 0 ;
15617 int temp2 ;
15618 int val2 ;
15619 int ecode2 = 0 ;
15620 PyObject * obj0 = 0 ;
15621 PyObject * obj1 = 0 ;
15622 int result;
15623
15624 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsImage_naxes",&obj0,&obj1)) SWIG_failgoto fail;
15625 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImage, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[8],
0 | 0, 0)
;
15626 if (!SWIG_IsOK(res1)(res1 >= 0)) {
15627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImage_naxes" "', argument " "1"" of type '" "GFitsImage const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImage_naxes" "', argument "
"1"" of type '" "GFitsImage const *""'"); goto fail; } while
(0)
;
15628 }
15629 arg1 = reinterpret_cast< GFitsImage * >(argp1);
15630 ecode2 = SWIG_AsVal_int(obj1, &val2);
15631 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
15632 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsImage_naxes" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsImage_naxes" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
15633 }
15634 temp2 = static_cast< int >(val2);
15635 arg2 = &temp2;
15636 {
15637 try {
15638 result = (int)((GFitsImage const *)arg1)->naxes((int const &)*arg2);
15639 }
15640 catch (const GException::out_of_range& e) {
15641 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
15642 }
15643 catch (const GExceptionHandler& e) {
15644 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15645 }
15646 catch (const std::exception& e) {
15647 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15648 }
15649 }
15650 resultobj = SWIG_From_int(static_cast< int >(result));
15651 return resultobj;
15652fail:
15653 return NULL__null;
15654}
15655
15656
15657SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImage_anynul(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15658 PyObject *resultobj = 0;
15659 GFitsImage *arg1 = (GFitsImage *) 0 ;
15660 void *argp1 = 0 ;
15661 int res1 = 0 ;
15662 PyObject * obj0 = 0 ;
15663 int *result = 0 ;
15664
15665 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImage_anynul",&obj0)) SWIG_failgoto fail;
15666 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImage, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[8],
0 | 0, 0)
;
15667 if (!SWIG_IsOK(res1)(res1 >= 0)) {
15668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImage_anynul" "', argument " "1"" of type '" "GFitsImage const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImage_anynul" "', argument "
"1"" of type '" "GFitsImage const *""'"); goto fail; } while
(0)
;
15669 }
15670 arg1 = reinterpret_cast< GFitsImage * >(argp1);
15671 {
15672 try {
15673 result = (int *) &((GFitsImage const *)arg1)->anynul();
15674 }
15675 catch (const GException::out_of_range& e) {
15676 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
15677 }
15678 catch (const GExceptionHandler& e) {
15679 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15680 }
15681 catch (const std::exception& e) {
15682 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15683 }
15684 }
15685 resultobj = SWIG_From_int(static_cast< int >(*result));
15686 return resultobj;
15687fail:
15688 return NULL__null;
15689}
15690
15691
15692SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImage_nulval__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15693 PyObject *resultobj = 0;
15694 GFitsImage *arg1 = (GFitsImage *) 0 ;
15695 void *arg2 = (void *) 0 ;
15696 void *argp1 = 0 ;
15697 int res1 = 0 ;
15698 int res2 ;
15699 PyObject * obj0 = 0 ;
15700 PyObject * obj1 = 0 ;
15701
15702 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsImage_nulval",&obj0,&obj1)) SWIG_failgoto fail;
15703 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImage, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[8],
0 | 0, 0)
;
15704 if (!SWIG_IsOK(res1)(res1 >= 0)) {
15705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImage_nulval" "', argument " "1"" of type '" "GFitsImage *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImage_nulval" "', argument "
"1"" of type '" "GFitsImage *""'"); goto fail; } while(0)
;
15706 }
15707 arg1 = reinterpret_cast< GFitsImage * >(argp1);
15708 res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0)SWIG_Python_ConvertPtrAndOwn(obj1, ((void)const_cast< void
* >(static_cast< const void * >(*&arg2)),reinterpret_cast
< void** >(&arg2)), 0, 0, 0)
;
15709 if (!SWIG_IsOK(res2)(res2 >= 0)) {
15710 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsImage_nulval" "', argument " "2"" of type '" "void const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsImage_nulval" "', argument "
"2"" of type '" "void const *""'"); goto fail; } while(0)
;
15711 }
15712 {
15713 try {
15714 (arg1)->nulval((void const *)arg2);
15715 }
15716 catch (const GException::out_of_range& e) {
15717 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
15718 }
15719 catch (const GExceptionHandler& e) {
15720 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15721 }
15722 catch (const std::exception& e) {
15723 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15724 }
15725 }
15726 resultobj = SWIG_Py_Void();
15727 return resultobj;
15728fail:
15729 return NULL__null;
15730}
15731
15732
15733SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImage_nulval__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15734 PyObject *resultobj = 0;
15735 GFitsImage *arg1 = (GFitsImage *) 0 ;
15736 void *argp1 = 0 ;
15737 int res1 = 0 ;
15738 PyObject * obj0 = 0 ;
15739 void *result = 0 ;
15740
15741 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImage_nulval",&obj0)) SWIG_failgoto fail;
15742 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImage, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[8],
0 | 0, 0)
;
15743 if (!SWIG_IsOK(res1)(res1 >= 0)) {
15744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImage_nulval" "', argument " "1"" of type '" "GFitsImage const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImage_nulval" "', argument "
"1"" of type '" "GFitsImage const *""'"); goto fail; } while
(0)
;
15745 }
15746 arg1 = reinterpret_cast< GFitsImage * >(argp1);
15747 {
15748 try {
15749 result = (void *)((GFitsImage const *)arg1)->nulval();
15750 }
15751 catch (const GException::out_of_range& e) {
15752 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
15753 }
15754 catch (const GExceptionHandler& e) {
15755 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15756 }
15757 catch (const std::exception& e) {
15758 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15759 }
15760 }
15761 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[57], 0
| 0)
;
15762 return resultobj;
15763fail:
15764 return NULL__null;
15765}
15766
15767
15768SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImage_nulval(PyObject *self, PyObject *args) {
15769 int argc;
15770 PyObject *argv[3];
15771 int ii;
15772
15773 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
15774 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
15775 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
15776 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
15777 }
15778 if (argc == 1) {
15779 int _v;
15780 void *vptr = 0;
15781 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsImage, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[8
], 0, 0)
;
15782 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
15783 if (_v) {
15784 return _wrap_GFitsImage_nulval__SWIG_1(self, args);
15785 }
15786 }
15787 if (argc == 2) {
15788 int _v;
15789 void *vptr = 0;
15790 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsImage, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[8
], 0, 0)
;
15791 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
15792 if (_v) {
15793 void *ptr = 0;
15794 int res = SWIG_ConvertPtr(argv[1], &ptr, 0, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &ptr, 0, 0, 0);
15795 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
15796 if (_v) {
15797 return _wrap_GFitsImage_nulval__SWIG_0(self, args);
15798 }
15799 }
15800 }
15801
15802fail:
15803 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsImage_nulval'.\n"
15804 " Possible C/C++ prototypes are:\n"
15805 " GFitsImage::nulval(void const *)\n"
15806 " GFitsImage::nulval() const\n");
15807 return 0;
15808}
15809
15810
15811SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GFitsImage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15812 PyObject *obj;
15813 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
15814 SWIG_TypeNewClientData(SWIGTYPE_p_GFitsImageswig_types[8], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
15815 return SWIG_Py_Void();
15816}
15817
15818SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageByte__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15819 PyObject *resultobj = 0;
15820 GFitsImageByte *result = 0 ;
15821
15822 if (!PyArg_ParseTuple(args,(char *)":new_GFitsImageByte")) SWIG_failgoto fail;
15823 {
15824 try {
15825 result = (GFitsImageByte *)new GFitsImageByte();
15826 }
15827 catch (const GException::out_of_range& e) {
15828 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
15829 }
15830 catch (const GExceptionHandler& e) {
15831 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15832 }
15833 catch (const std::exception& e) {
15834 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15835 }
15836 }
15837 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageByte, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[9], ((
0x1 << 1) | 0x1) | 0)
;
15838 return resultobj;
15839fail:
15840 return NULL__null;
15841}
15842
15843
15844SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageByte__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15845 PyObject *resultobj = 0;
15846 int *arg1 = 0 ;
15847 unsigned char *arg2 = (unsigned char *) 0 ;
15848 int temp1 ;
15849 int val1 ;
15850 int ecode1 = 0 ;
15851 void *argp2 = 0 ;
15852 int res2 = 0 ;
15853 PyObject * obj0 = 0 ;
15854 PyObject * obj1 = 0 ;
15855 GFitsImageByte *result = 0 ;
15856
15857 if (!PyArg_ParseTuple(args,(char *)"OO:new_GFitsImageByte",&obj0,&obj1)) SWIG_failgoto fail;
15858 ecode1 = SWIG_AsVal_int(obj0, &val1);
15859 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
15860 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageByte" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageByte" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
15861 }
15862 temp1 = static_cast< int >(val1);
15863 arg1 = &temp1;
15864 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_char, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[53]
, 0 | 0, 0)
;
15865 if (!SWIG_IsOK(res2)(res2 >= 0)) {
15866 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_GFitsImageByte" "', argument " "2"" of type '" "unsigned char const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "new_GFitsImageByte" "', argument "
"2"" of type '" "unsigned char const *""'"); goto fail; } while
(0)
;
15867 }
15868 arg2 = reinterpret_cast< unsigned char * >(argp2);
15869 {
15870 try {
15871 result = (GFitsImageByte *)new GFitsImageByte((int const &)*arg1,(unsigned char const *)arg2);
15872 }
15873 catch (const GException::out_of_range& e) {
15874 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
15875 }
15876 catch (const GExceptionHandler& e) {
15877 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15878 }
15879 catch (const std::exception& e) {
15880 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15881 }
15882 }
15883 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageByte, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[9], ((
0x1 << 1) | 0x1) | 0)
;
15884 return resultobj;
15885fail:
15886 return NULL__null;
15887}
15888
15889
15890SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageByte__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15891 PyObject *resultobj = 0;
15892 int *arg1 = 0 ;
15893 int temp1 ;
15894 int val1 ;
15895 int ecode1 = 0 ;
15896 PyObject * obj0 = 0 ;
15897 GFitsImageByte *result = 0 ;
15898
15899 if (!PyArg_ParseTuple(args,(char *)"O:new_GFitsImageByte",&obj0)) SWIG_failgoto fail;
15900 ecode1 = SWIG_AsVal_int(obj0, &val1);
15901 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
15902 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageByte" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageByte" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
15903 }
15904 temp1 = static_cast< int >(val1);
15905 arg1 = &temp1;
15906 {
15907 try {
15908 result = (GFitsImageByte *)new GFitsImageByte((int const &)*arg1);
15909 }
15910 catch (const GException::out_of_range& e) {
15911 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
15912 }
15913 catch (const GExceptionHandler& e) {
15914 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15915 }
15916 catch (const std::exception& e) {
15917 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15918 }
15919 }
15920 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageByte, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[9], ((
0x1 << 1) | 0x1) | 0)
;
15921 return resultobj;
15922fail:
15923 return NULL__null;
15924}
15925
15926
15927SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageByte__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15928 PyObject *resultobj = 0;
15929 int *arg1 = 0 ;
15930 int *arg2 = 0 ;
15931 unsigned char *arg3 = (unsigned char *) 0 ;
15932 int temp1 ;
15933 int val1 ;
15934 int ecode1 = 0 ;
15935 int temp2 ;
15936 int val2 ;
15937 int ecode2 = 0 ;
15938 void *argp3 = 0 ;
15939 int res3 = 0 ;
15940 PyObject * obj0 = 0 ;
15941 PyObject * obj1 = 0 ;
15942 PyObject * obj2 = 0 ;
15943 GFitsImageByte *result = 0 ;
15944
15945 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GFitsImageByte",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
15946 ecode1 = SWIG_AsVal_int(obj0, &val1);
15947 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
15948 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageByte" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageByte" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
15949 }
15950 temp1 = static_cast< int >(val1);
15951 arg1 = &temp1;
15952 ecode2 = SWIG_AsVal_int(obj1, &val2);
15953 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
15954 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageByte" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageByte" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
15955 }
15956 temp2 = static_cast< int >(val2);
15957 arg2 = &temp2;
15958 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_unsigned_char, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[53]
, 0 | 0, 0)
;
15959 if (!SWIG_IsOK(res3)(res3 >= 0)) {
15960 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_GFitsImageByte" "', argument " "3"" of type '" "unsigned char const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "new_GFitsImageByte" "', argument "
"3"" of type '" "unsigned char const *""'"); goto fail; } while
(0)
;
15961 }
15962 arg3 = reinterpret_cast< unsigned char * >(argp3);
15963 {
15964 try {
15965 result = (GFitsImageByte *)new GFitsImageByte((int const &)*arg1,(int const &)*arg2,(unsigned char const *)arg3);
15966 }
15967 catch (const GException::out_of_range& e) {
15968 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
15969 }
15970 catch (const GExceptionHandler& e) {
15971 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15972 }
15973 catch (const std::exception& e) {
15974 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
15975 }
15976 }
15977 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageByte, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[9], ((
0x1 << 1) | 0x1) | 0)
;
15978 return resultobj;
15979fail:
15980 return NULL__null;
15981}
15982
15983
15984SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageByte__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15985 PyObject *resultobj = 0;
15986 int *arg1 = 0 ;
15987 int *arg2 = 0 ;
15988 int temp1 ;
15989 int val1 ;
15990 int ecode1 = 0 ;
15991 int temp2 ;
15992 int val2 ;
15993 int ecode2 = 0 ;
15994 PyObject * obj0 = 0 ;
15995 PyObject * obj1 = 0 ;
15996 GFitsImageByte *result = 0 ;
15997
15998 if (!PyArg_ParseTuple(args,(char *)"OO:new_GFitsImageByte",&obj0,&obj1)) SWIG_failgoto fail;
15999 ecode1 = SWIG_AsVal_int(obj0, &val1);
16000 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
16001 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageByte" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageByte" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
16002 }
16003 temp1 = static_cast< int >(val1);
16004 arg1 = &temp1;
16005 ecode2 = SWIG_AsVal_int(obj1, &val2);
16006 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
16007 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageByte" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageByte" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
16008 }
16009 temp2 = static_cast< int >(val2);
16010 arg2 = &temp2;
16011 {
16012 try {
16013 result = (GFitsImageByte *)new GFitsImageByte((int const &)*arg1,(int const &)*arg2);
16014 }
16015 catch (const GException::out_of_range& e) {
16016 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
16017 }
16018 catch (const GExceptionHandler& e) {
16019 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16020 }
16021 catch (const std::exception& e) {
16022 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16023 }
16024 }
16025 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageByte, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[9], ((
0x1 << 1) | 0x1) | 0)
;
16026 return resultobj;
16027fail:
16028 return NULL__null;
16029}
16030
16031
16032SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageByte__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16033 PyObject *resultobj = 0;
16034 int *arg1 = 0 ;
16035 int *arg2 = 0 ;
16036 int *arg3 = 0 ;
16037 unsigned char *arg4 = (unsigned char *) 0 ;
16038 int temp1 ;
16039 int val1 ;
16040 int ecode1 = 0 ;
16041 int temp2 ;
16042 int val2 ;
16043 int ecode2 = 0 ;
16044 int temp3 ;
16045 int val3 ;
16046 int ecode3 = 0 ;
16047 void *argp4 = 0 ;
16048 int res4 = 0 ;
16049 PyObject * obj0 = 0 ;
16050 PyObject * obj1 = 0 ;
16051 PyObject * obj2 = 0 ;
16052 PyObject * obj3 = 0 ;
16053 GFitsImageByte *result = 0 ;
16054
16055 if (!PyArg_ParseTuple(args,(char *)"OOOO:new_GFitsImageByte",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
16056 ecode1 = SWIG_AsVal_int(obj0, &val1);
16057 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
16058 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageByte" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageByte" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
16059 }
16060 temp1 = static_cast< int >(val1);
16061 arg1 = &temp1;
16062 ecode2 = SWIG_AsVal_int(obj1, &val2);
16063 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
16064 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageByte" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageByte" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
16065 }
16066 temp2 = static_cast< int >(val2);
16067 arg2 = &temp2;
16068 ecode3 = SWIG_AsVal_int(obj2, &val3);
16069 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
16070 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsImageByte" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsImageByte" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
16071 }
16072 temp3 = static_cast< int >(val3);
16073 arg3 = &temp3;
16074 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_unsigned_char, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj3, &argp4, swig_types[53]
, 0 | 0, 0)
;
16075 if (!SWIG_IsOK(res4)(res4 >= 0)) {
16076 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_GFitsImageByte" "', argument " "4"" of type '" "unsigned char const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res4 != (
-1)) ? res4 : -5)), "in method '" "new_GFitsImageByte" "', argument "
"4"" of type '" "unsigned char const *""'"); goto fail; } while
(0)
;
16077 }
16078 arg4 = reinterpret_cast< unsigned char * >(argp4);
16079 {
16080 try {
16081 result = (GFitsImageByte *)new GFitsImageByte((int const &)*arg1,(int const &)*arg2,(int const &)*arg3,(unsigned char const *)arg4);
16082 }
16083 catch (const GException::out_of_range& e) {
16084 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
16085 }
16086 catch (const GExceptionHandler& e) {
16087 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16088 }
16089 catch (const std::exception& e) {
16090 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16091 }
16092 }
16093 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageByte, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[9], ((
0x1 << 1) | 0x1) | 0)
;
16094 return resultobj;
16095fail:
16096 return NULL__null;
16097}
16098
16099
16100SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageByte__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16101 PyObject *resultobj = 0;
16102 int *arg1 = 0 ;
16103 int *arg2 = 0 ;
16104 int *arg3 = 0 ;
16105 int temp1 ;
16106 int val1 ;
16107 int ecode1 = 0 ;
16108 int temp2 ;
16109 int val2 ;
16110 int ecode2 = 0 ;
16111 int temp3 ;
16112 int val3 ;
16113 int ecode3 = 0 ;
16114 PyObject * obj0 = 0 ;
16115 PyObject * obj1 = 0 ;
16116 PyObject * obj2 = 0 ;
16117 GFitsImageByte *result = 0 ;
16118
16119 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GFitsImageByte",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
16120 ecode1 = SWIG_AsVal_int(obj0, &val1);
16121 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
16122 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageByte" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageByte" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
16123 }
16124 temp1 = static_cast< int >(val1);
16125 arg1 = &temp1;
16126 ecode2 = SWIG_AsVal_int(obj1, &val2);
16127 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
16128 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageByte" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageByte" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
16129 }
16130 temp2 = static_cast< int >(val2);
16131 arg2 = &temp2;
16132 ecode3 = SWIG_AsVal_int(obj2, &val3);
16133 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
16134 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsImageByte" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsImageByte" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
16135 }
16136 temp3 = static_cast< int >(val3);
16137 arg3 = &temp3;
16138 {
16139 try {
16140 result = (GFitsImageByte *)new GFitsImageByte((int const &)*arg1,(int const &)*arg2,(int const &)*arg3);
16141 }
16142 catch (const GException::out_of_range& e) {
16143 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
16144 }
16145 catch (const GExceptionHandler& e) {
16146 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16147 }
16148 catch (const std::exception& e) {
16149 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16150 }
16151 }
16152 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageByte, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[9], ((
0x1 << 1) | 0x1) | 0)
;
16153 return resultobj;
16154fail:
16155 return NULL__null;
16156}
16157
16158
16159SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageByte__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16160 PyObject *resultobj = 0;
16161 int *arg1 = 0 ;
16162 int *arg2 = 0 ;
16163 int *arg3 = 0 ;
16164 int *arg4 = 0 ;
16165 unsigned char *arg5 = (unsigned char *) 0 ;
16166 int temp1 ;
16167 int val1 ;
16168 int ecode1 = 0 ;
16169 int temp2 ;
16170 int val2 ;
16171 int ecode2 = 0 ;
16172 int temp3 ;
16173 int val3 ;
16174 int ecode3 = 0 ;
16175 int temp4 ;
16176 int val4 ;
16177 int ecode4 = 0 ;
16178 void *argp5 = 0 ;
16179 int res5 = 0 ;
16180 PyObject * obj0 = 0 ;
16181 PyObject * obj1 = 0 ;
16182 PyObject * obj2 = 0 ;
16183 PyObject * obj3 = 0 ;
16184 PyObject * obj4 = 0 ;
16185 GFitsImageByte *result = 0 ;
16186
16187 if (!PyArg_ParseTuple(args,(char *)"OOOOO:new_GFitsImageByte",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_failgoto fail;
16188 ecode1 = SWIG_AsVal_int(obj0, &val1);
16189 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
16190 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageByte" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageByte" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
16191 }
16192 temp1 = static_cast< int >(val1);
16193 arg1 = &temp1;
16194 ecode2 = SWIG_AsVal_int(obj1, &val2);
16195 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
16196 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageByte" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageByte" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
16197 }
16198 temp2 = static_cast< int >(val2);
16199 arg2 = &temp2;
16200 ecode3 = SWIG_AsVal_int(obj2, &val3);
16201 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
16202 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsImageByte" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsImageByte" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
16203 }
16204 temp3 = static_cast< int >(val3);
16205 arg3 = &temp3;
16206 ecode4 = SWIG_AsVal_int(obj3, &val4);
16207 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
16208 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_GFitsImageByte" "', argument " "4"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "new_GFitsImageByte" "', argument "
"4"" of type '" "int""'"); goto fail; } while(0)
;
16209 }
16210 temp4 = static_cast< int >(val4);
16211 arg4 = &temp4;
16212 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_unsigned_char, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj4, &argp5, swig_types[53]
, 0 | 0, 0)
;
16213 if (!SWIG_IsOK(res5)(res5 >= 0)) {
16214 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_GFitsImageByte" "', argument " "5"" of type '" "unsigned char const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res5 != (
-1)) ? res5 : -5)), "in method '" "new_GFitsImageByte" "', argument "
"5"" of type '" "unsigned char const *""'"); goto fail; } while
(0)
;
16215 }
16216 arg5 = reinterpret_cast< unsigned char * >(argp5);
16217 {
16218 try {
16219 result = (GFitsImageByte *)new GFitsImageByte((int const &)*arg1,(int const &)*arg2,(int const &)*arg3,(int const &)*arg4,(unsigned char const *)arg5);
16220 }
16221 catch (const GException::out_of_range& e) {
16222 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
16223 }
16224 catch (const GExceptionHandler& e) {
16225 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16226 }
16227 catch (const std::exception& e) {
16228 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16229 }
16230 }
16231 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageByte, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[9], ((
0x1 << 1) | 0x1) | 0)
;
16232 return resultobj;
16233fail:
16234 return NULL__null;
16235}
16236
16237
16238SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageByte__SWIG_8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16239 PyObject *resultobj = 0;
16240 int *arg1 = 0 ;
16241 int *arg2 = 0 ;
16242 int *arg3 = 0 ;
16243 int *arg4 = 0 ;
16244 int temp1 ;
16245 int val1 ;
16246 int ecode1 = 0 ;
16247 int temp2 ;
16248 int val2 ;
16249 int ecode2 = 0 ;
16250 int temp3 ;
16251 int val3 ;
16252 int ecode3 = 0 ;
16253 int temp4 ;
16254 int val4 ;
16255 int ecode4 = 0 ;
16256 PyObject * obj0 = 0 ;
16257 PyObject * obj1 = 0 ;
16258 PyObject * obj2 = 0 ;
16259 PyObject * obj3 = 0 ;
16260 GFitsImageByte *result = 0 ;
16261
16262 if (!PyArg_ParseTuple(args,(char *)"OOOO:new_GFitsImageByte",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
16263 ecode1 = SWIG_AsVal_int(obj0, &val1);
16264 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
16265 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageByte" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageByte" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
16266 }
16267 temp1 = static_cast< int >(val1);
16268 arg1 = &temp1;
16269 ecode2 = SWIG_AsVal_int(obj1, &val2);
16270 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
16271 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageByte" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageByte" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
16272 }
16273 temp2 = static_cast< int >(val2);
16274 arg2 = &temp2;
16275 ecode3 = SWIG_AsVal_int(obj2, &val3);
16276 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
16277 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsImageByte" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsImageByte" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
16278 }
16279 temp3 = static_cast< int >(val3);
16280 arg3 = &temp3;
16281 ecode4 = SWIG_AsVal_int(obj3, &val4);
16282 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
16283 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_GFitsImageByte" "', argument " "4"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "new_GFitsImageByte" "', argument "
"4"" of type '" "int""'"); goto fail; } while(0)
;
16284 }
16285 temp4 = static_cast< int >(val4);
16286 arg4 = &temp4;
16287 {
16288 try {
16289 result = (GFitsImageByte *)new GFitsImageByte((int const &)*arg1,(int const &)*arg2,(int const &)*arg3,(int const &)*arg4);
16290 }
16291 catch (const GException::out_of_range& e) {
16292 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
16293 }
16294 catch (const GExceptionHandler& e) {
16295 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16296 }
16297 catch (const std::exception& e) {
16298 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16299 }
16300 }
16301 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageByte, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[9], ((
0x1 << 1) | 0x1) | 0)
;
16302 return resultobj;
16303fail:
16304 return NULL__null;
16305}
16306
16307
16308SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageByte__SWIG_9(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16309 PyObject *resultobj = 0;
16310 int *arg1 = 0 ;
16311 int *arg2 = (int *) 0 ;
16312 unsigned char *arg3 = (unsigned char *) 0 ;
16313 int temp1 ;
16314 int val1 ;
16315 int ecode1 = 0 ;
16316 void *argp2 = 0 ;
16317 int res2 = 0 ;
16318 void *argp3 = 0 ;
16319 int res3 = 0 ;
16320 PyObject * obj0 = 0 ;
16321 PyObject * obj1 = 0 ;
16322 PyObject * obj2 = 0 ;
16323 GFitsImageByte *result = 0 ;
16324
16325 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GFitsImageByte",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
16326 ecode1 = SWIG_AsVal_int(obj0, &val1);
16327 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
16328 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageByte" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageByte" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
16329 }
16330 temp1 = static_cast< int >(val1);
16331 arg1 = &temp1;
16332 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[41]
, 0 | 0, 0)
;
16333 if (!SWIG_IsOK(res2)(res2 >= 0)) {
16334 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_GFitsImageByte" "', argument " "2"" of type '" "int const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "new_GFitsImageByte" "', argument "
"2"" of type '" "int const *""'"); goto fail; } while(0)
;
16335 }
16336 arg2 = reinterpret_cast< int * >(argp2);
16337 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_unsigned_char, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[53]
, 0 | 0, 0)
;
16338 if (!SWIG_IsOK(res3)(res3 >= 0)) {
16339 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_GFitsImageByte" "', argument " "3"" of type '" "unsigned char const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "new_GFitsImageByte" "', argument "
"3"" of type '" "unsigned char const *""'"); goto fail; } while
(0)
;
16340 }
16341 arg3 = reinterpret_cast< unsigned char * >(argp3);
16342 {
16343 try {
16344 result = (GFitsImageByte *)new GFitsImageByte((int const &)*arg1,(int const *)arg2,(unsigned char const *)arg3);
16345 }
16346 catch (const GException::out_of_range& e) {
16347 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
16348 }
16349 catch (const GExceptionHandler& e) {
16350 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16351 }
16352 catch (const std::exception& e) {
16353 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16354 }
16355 }
16356 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageByte, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[9], ((
0x1 << 1) | 0x1) | 0)
;
16357 return resultobj;
16358fail:
16359 return NULL__null;
16360}
16361
16362
16363SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageByte__SWIG_10(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16364 PyObject *resultobj = 0;
16365 int *arg1 = 0 ;
16366 int *arg2 = (int *) 0 ;
16367 int temp1 ;
16368 int val1 ;
16369 int ecode1 = 0 ;
16370 void *argp2 = 0 ;
16371 int res2 = 0 ;
16372 PyObject * obj0 = 0 ;
16373 PyObject * obj1 = 0 ;
16374 GFitsImageByte *result = 0 ;
16375
16376 if (!PyArg_ParseTuple(args,(char *)"OO:new_GFitsImageByte",&obj0,&obj1)) SWIG_failgoto fail;
16377 ecode1 = SWIG_AsVal_int(obj0, &val1);
16378 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
16379 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageByte" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageByte" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
16380 }
16381 temp1 = static_cast< int >(val1);
16382 arg1 = &temp1;
16383 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[41]
, 0 | 0, 0)
;
16384 if (!SWIG_IsOK(res2)(res2 >= 0)) {
16385 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_GFitsImageByte" "', argument " "2"" of type '" "int const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "new_GFitsImageByte" "', argument "
"2"" of type '" "int const *""'"); goto fail; } while(0)
;
16386 }
16387 arg2 = reinterpret_cast< int * >(argp2);
16388 {
16389 try {
16390 result = (GFitsImageByte *)new GFitsImageByte((int const &)*arg1,(int const *)arg2);
16391 }
16392 catch (const GException::out_of_range& e) {
16393 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
16394 }
16395 catch (const GExceptionHandler& e) {
16396 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16397 }
16398 catch (const std::exception& e) {
16399 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16400 }
16401 }
16402 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageByte, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[9], ((
0x1 << 1) | 0x1) | 0)
;
16403 return resultobj;
16404fail:
16405 return NULL__null;
16406}
16407
16408
16409SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageByte__SWIG_11(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16410 PyObject *resultobj = 0;
16411 GFitsImageByte *arg1 = 0 ;
16412 void *argp1 = 0 ;
16413 int res1 = 0 ;
16414 PyObject * obj0 = 0 ;
16415 GFitsImageByte *result = 0 ;
16416
16417 if (!PyArg_ParseTuple(args,(char *)"O:new_GFitsImageByte",&obj0)) SWIG_failgoto fail;
16418 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GFitsImageByte, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[9],
0 | 0, 0)
;
16419 if (!SWIG_IsOK(res1)(res1 >= 0)) {
16420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsImageByte" "', argument " "1"" of type '" "GFitsImageByte const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsImageByte" "', argument "
"1"" of type '" "GFitsImageByte const &""'"); goto fail;
} while(0)
;
16421 }
16422 if (!argp1) {
16423 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsImageByte" "', argument " "1"" of type '" "GFitsImageByte const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsImageByte" "', argument " "1"" of type '"
"GFitsImageByte const &""'"); goto fail; } while(0)
;
16424 }
16425 arg1 = reinterpret_cast< GFitsImageByte * >(argp1);
16426 {
16427 try {
16428 result = (GFitsImageByte *)new GFitsImageByte((GFitsImageByte const &)*arg1);
16429 }
16430 catch (const GException::out_of_range& e) {
16431 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
16432 }
16433 catch (const GExceptionHandler& e) {
16434 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16435 }
16436 catch (const std::exception& e) {
16437 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16438 }
16439 }
16440 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageByte, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[9], ((
0x1 << 1) | 0x1) | 0)
;
16441 return resultobj;
16442fail:
16443 return NULL__null;
16444}
16445
16446
16447SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageByte(PyObject *self, PyObject *args) {
16448 int argc;
16449 PyObject *argv[6];
16450 int ii;
16451
16452 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
16453 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
16454 for (ii = 0; (ii < 5) && (ii < argc); ii++) {
16455 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
16456 }
16457 if (argc == 0) {
16458 return _wrap_new_GFitsImageByte__SWIG_0(self, args);
16459 }
16460 if (argc == 1) {
16461 int _v;
16462 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GFitsImageByte, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[9], 0, 0);
16463 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16464 if (_v) {
16465 return _wrap_new_GFitsImageByte__SWIG_11(self, args);
16466 }
16467 }
16468 if (argc == 1) {
16469 int _v;
16470 {
16471 int res = SWIG_AsVal_int(argv[0], NULL__null);
16472 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16473 }
16474 if (_v) {
16475 return _wrap_new_GFitsImageByte__SWIG_2(self, args);
16476 }
16477 }
16478 if (argc == 2) {
16479 int _v;
16480 {
16481 int res = SWIG_AsVal_int(argv[0], NULL__null);
16482 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16483 }
16484 if (_v) {
16485 void *vptr = 0;
16486 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[41
], 0, 0)
;
16487 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16488 if (_v) {
16489 return _wrap_new_GFitsImageByte__SWIG_10(self, args);
16490 }
16491 }
16492 }
16493 if (argc == 2) {
16494 int _v;
16495 {
16496 int res = SWIG_AsVal_int(argv[0], NULL__null);
16497 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16498 }
16499 if (_v) {
16500 void *vptr = 0;
16501 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_char, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[53
], 0, 0)
;
16502 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16503 if (_v) {
16504 return _wrap_new_GFitsImageByte__SWIG_1(self, args);
16505 }
16506 }
16507 }
16508 if (argc == 2) {
16509 int _v;
16510 {
16511 int res = SWIG_AsVal_int(argv[0], NULL__null);
16512 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16513 }
16514 if (_v) {
16515 {
16516 int res = SWIG_AsVal_int(argv[1], NULL__null);
16517 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16518 }
16519 if (_v) {
16520 return _wrap_new_GFitsImageByte__SWIG_4(self, args);
16521 }
16522 }
16523 }
16524 if (argc == 3) {
16525 int _v;
16526 {
16527 int res = SWIG_AsVal_int(argv[0], NULL__null);
16528 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16529 }
16530 if (_v) {
16531 void *vptr = 0;
16532 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[41
], 0, 0)
;
16533 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16534 if (_v) {
16535 void *vptr = 0;
16536 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_unsigned_char, 0)SWIG_Python_ConvertPtrAndOwn(argv[2], &vptr, swig_types[53
], 0, 0)
;
16537 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16538 if (_v) {
16539 return _wrap_new_GFitsImageByte__SWIG_9(self, args);
16540 }
16541 }
16542 }
16543 }
16544 if (argc == 3) {
16545 int _v;
16546 {
16547 int res = SWIG_AsVal_int(argv[0], NULL__null);
16548 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16549 }
16550 if (_v) {
16551 {
16552 int res = SWIG_AsVal_int(argv[1], NULL__null);
16553 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16554 }
16555 if (_v) {
16556 void *vptr = 0;
16557 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_unsigned_char, 0)SWIG_Python_ConvertPtrAndOwn(argv[2], &vptr, swig_types[53
], 0, 0)
;
16558 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16559 if (_v) {
16560 return _wrap_new_GFitsImageByte__SWIG_3(self, args);
16561 }
16562 }
16563 }
16564 }
16565 if (argc == 3) {
16566 int _v;
16567 {
16568 int res = SWIG_AsVal_int(argv[0], NULL__null);
16569 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16570 }
16571 if (_v) {
16572 {
16573 int res = SWIG_AsVal_int(argv[1], NULL__null);
16574 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16575 }
16576 if (_v) {
16577 {
16578 int res = SWIG_AsVal_int(argv[2], NULL__null);
16579 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16580 }
16581 if (_v) {
16582 return _wrap_new_GFitsImageByte__SWIG_6(self, args);
16583 }
16584 }
16585 }
16586 }
16587 if (argc == 4) {
16588 int _v;
16589 {
16590 int res = SWIG_AsVal_int(argv[0], NULL__null);
16591 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16592 }
16593 if (_v) {
16594 {
16595 int res = SWIG_AsVal_int(argv[1], NULL__null);
16596 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16597 }
16598 if (_v) {
16599 {
16600 int res = SWIG_AsVal_int(argv[2], NULL__null);
16601 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16602 }
16603 if (_v) {
16604 void *vptr = 0;
16605 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_unsigned_char, 0)SWIG_Python_ConvertPtrAndOwn(argv[3], &vptr, swig_types[53
], 0, 0)
;
16606 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16607 if (_v) {
16608 return _wrap_new_GFitsImageByte__SWIG_5(self, args);
16609 }
16610 }
16611 }
16612 }
16613 }
16614 if (argc == 4) {
16615 int _v;
16616 {
16617 int res = SWIG_AsVal_int(argv[0], NULL__null);
16618 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16619 }
16620 if (_v) {
16621 {
16622 int res = SWIG_AsVal_int(argv[1], NULL__null);
16623 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16624 }
16625 if (_v) {
16626 {
16627 int res = SWIG_AsVal_int(argv[2], NULL__null);
16628 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16629 }
16630 if (_v) {
16631 {
16632 int res = SWIG_AsVal_int(argv[3], NULL__null);
16633 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16634 }
16635 if (_v) {
16636 return _wrap_new_GFitsImageByte__SWIG_8(self, args);
16637 }
16638 }
16639 }
16640 }
16641 }
16642 if (argc == 5) {
16643 int _v;
16644 {
16645 int res = SWIG_AsVal_int(argv[0], NULL__null);
16646 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16647 }
16648 if (_v) {
16649 {
16650 int res = SWIG_AsVal_int(argv[1], NULL__null);
16651 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16652 }
16653 if (_v) {
16654 {
16655 int res = SWIG_AsVal_int(argv[2], NULL__null);
16656 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16657 }
16658 if (_v) {
16659 {
16660 int res = SWIG_AsVal_int(argv[3], NULL__null);
16661 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16662 }
16663 if (_v) {
16664 void *vptr = 0;
16665 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_unsigned_char, 0)SWIG_Python_ConvertPtrAndOwn(argv[4], &vptr, swig_types[53
], 0, 0)
;
16666 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
16667 if (_v) {
16668 return _wrap_new_GFitsImageByte__SWIG_7(self, args);
16669 }
16670 }
16671 }
16672 }
16673 }
16674 }
16675
16676fail:
16677 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GFitsImageByte'.\n"
16678 " Possible C/C++ prototypes are:\n"
16679 " GFitsImageByte::GFitsImageByte()\n"
16680 " GFitsImageByte::GFitsImageByte(int const &,unsigned char const *)\n"
16681 " GFitsImageByte::GFitsImageByte(int const &)\n"
16682 " GFitsImageByte::GFitsImageByte(int const &,int const &,unsigned char const *)\n"
16683 " GFitsImageByte::GFitsImageByte(int const &,int const &)\n"
16684 " GFitsImageByte::GFitsImageByte(int const &,int const &,int const &,unsigned char const *)\n"
16685 " GFitsImageByte::GFitsImageByte(int const &,int const &,int const &)\n"
16686 " GFitsImageByte::GFitsImageByte(int const &,int const &,int const &,int const &,unsigned char const *)\n"
16687 " GFitsImageByte::GFitsImageByte(int const &,int const &,int const &,int const &)\n"
16688 " GFitsImageByte::GFitsImageByte(int const &,int const *,unsigned char const *)\n"
16689 " GFitsImageByte::GFitsImageByte(int const &,int const *)\n"
16690 " GFitsImageByte::GFitsImageByte(GFitsImageByte const &)\n");
16691 return 0;
16692}
16693
16694
16695SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GFitsImageByte(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16696 PyObject *resultobj = 0;
16697 GFitsImageByte *arg1 = (GFitsImageByte *) 0 ;
16698 void *argp1 = 0 ;
16699 int res1 = 0 ;
16700 PyObject * obj0 = 0 ;
16701
16702 if (!PyArg_ParseTuple(args,(char *)"O:delete_GFitsImageByte",&obj0)) SWIG_failgoto fail;
16703 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageByte, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[9],
0x1 | 0, 0)
;
16704 if (!SWIG_IsOK(res1)(res1 >= 0)) {
16705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GFitsImageByte" "', argument " "1"" of type '" "GFitsImageByte *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GFitsImageByte" "', argument "
"1"" of type '" "GFitsImageByte *""'"); goto fail; } while(0
)
;
16706 }
16707 arg1 = reinterpret_cast< GFitsImageByte * >(argp1);
16708 {
16709 try {
16710 delete arg1;
16711 }
16712 catch (const GException::out_of_range& e) {
16713 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
16714 }
16715 catch (const GExceptionHandler& e) {
16716 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16717 }
16718 catch (const std::exception& e) {
16719 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16720 }
16721 }
16722 resultobj = SWIG_Py_Void();
16723 return resultobj;
16724fail:
16725 return NULL__null;
16726}
16727
16728
16729SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageByte_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16730 PyObject *resultobj = 0;
16731 GFitsImageByte *arg1 = (GFitsImageByte *) 0 ;
16732 void *argp1 = 0 ;
16733 int res1 = 0 ;
16734 PyObject * obj0 = 0 ;
16735
16736 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageByte_clear",&obj0)) SWIG_failgoto fail;
16737 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageByte, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[9],
0 | 0, 0)
;
16738 if (!SWIG_IsOK(res1)(res1 >= 0)) {
16739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageByte_clear" "', argument " "1"" of type '" "GFitsImageByte *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageByte_clear" "', argument "
"1"" of type '" "GFitsImageByte *""'"); goto fail; } while(0
)
;
16740 }
16741 arg1 = reinterpret_cast< GFitsImageByte * >(argp1);
16742 {
16743 try {
16744 (arg1)->clear();
16745 }
16746 catch (const GException::out_of_range& e) {
16747 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
16748 }
16749 catch (const GExceptionHandler& e) {
16750 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16751 }
16752 catch (const std::exception& e) {
16753 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16754 }
16755 }
16756 resultobj = SWIG_Py_Void();
16757 return resultobj;
16758fail:
16759 return NULL__null;
16760}
16761
16762
16763SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageByte_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16764 PyObject *resultobj = 0;
16765 GFitsImageByte *arg1 = (GFitsImageByte *) 0 ;
16766 void *argp1 = 0 ;
16767 int res1 = 0 ;
16768 PyObject * obj0 = 0 ;
16769 GFitsImageByte *result = 0 ;
16770
16771 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageByte_clone",&obj0)) SWIG_failgoto fail;
16772 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageByte, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[9],
0 | 0, 0)
;
16773 if (!SWIG_IsOK(res1)(res1 >= 0)) {
16774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageByte_clone" "', argument " "1"" of type '" "GFitsImageByte const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageByte_clone" "', argument "
"1"" of type '" "GFitsImageByte const *""'"); goto fail; } while
(0)
;
16775 }
16776 arg1 = reinterpret_cast< GFitsImageByte * >(argp1);
16777 {
16778 try {
16779 result = (GFitsImageByte *)((GFitsImageByte const *)arg1)->clone();
16780 }
16781 catch (const GException::out_of_range& e) {
16782 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
16783 }
16784 catch (const GExceptionHandler& e) {
16785 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16786 }
16787 catch (const std::exception& e) {
16788 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16789 }
16790 }
16791 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageByte, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[9], 0 |
0)
;
16792 return resultobj;
16793fail:
16794 return NULL__null;
16795}
16796
16797
16798SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageByte_pixel__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16799 PyObject *resultobj = 0;
16800 GFitsImageByte *arg1 = (GFitsImageByte *) 0 ;
16801 int *arg2 = 0 ;
16802 void *argp1 = 0 ;
16803 int res1 = 0 ;
16804 int temp2 ;
16805 int val2 ;
16806 int ecode2 = 0 ;
16807 PyObject * obj0 = 0 ;
16808 PyObject * obj1 = 0 ;
16809 double result;
16810
16811 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsImageByte_pixel",&obj0,&obj1)) SWIG_failgoto fail;
16812 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageByte, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[9],
0 | 0, 0)
;
16813 if (!SWIG_IsOK(res1)(res1 >= 0)) {
16814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageByte_pixel" "', argument " "1"" of type '" "GFitsImageByte const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageByte_pixel" "', argument "
"1"" of type '" "GFitsImageByte const *""'"); goto fail; } while
(0)
;
16815 }
16816 arg1 = reinterpret_cast< GFitsImageByte * >(argp1);
16817 ecode2 = SWIG_AsVal_int(obj1, &val2);
16818 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
16819 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsImageByte_pixel" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsImageByte_pixel" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
16820 }
16821 temp2 = static_cast< int >(val2);
16822 arg2 = &temp2;
16823 {
16824 try {
16825 result = (double)((GFitsImageByte const *)arg1)->pixel((int const &)*arg2);
16826 }
16827 catch (const GException::out_of_range& e) {
16828 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
16829 }
16830 catch (const GExceptionHandler& e) {
16831 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16832 }
16833 catch (const std::exception& e) {
16834 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16835 }
16836 }
16837 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
16838 return resultobj;
16839fail:
16840 return NULL__null;
16841}
16842
16843
16844SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageByte_pixel__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16845 PyObject *resultobj = 0;
16846 GFitsImageByte *arg1 = (GFitsImageByte *) 0 ;
16847 int *arg2 = 0 ;
16848 int *arg3 = 0 ;
16849 void *argp1 = 0 ;
16850 int res1 = 0 ;
16851 int temp2 ;
16852 int val2 ;
16853 int ecode2 = 0 ;
16854 int temp3 ;
16855 int val3 ;
16856 int ecode3 = 0 ;
16857 PyObject * obj0 = 0 ;
16858 PyObject * obj1 = 0 ;
16859 PyObject * obj2 = 0 ;
16860 double result;
16861
16862 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsImageByte_pixel",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
16863 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageByte, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[9],
0 | 0, 0)
;
16864 if (!SWIG_IsOK(res1)(res1 >= 0)) {
16865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageByte_pixel" "', argument " "1"" of type '" "GFitsImageByte const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageByte_pixel" "', argument "
"1"" of type '" "GFitsImageByte const *""'"); goto fail; } while
(0)
;
16866 }
16867 arg1 = reinterpret_cast< GFitsImageByte * >(argp1);
16868 ecode2 = SWIG_AsVal_int(obj1, &val2);
16869 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
16870 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsImageByte_pixel" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsImageByte_pixel" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
16871 }
16872 temp2 = static_cast< int >(val2);
16873 arg2 = &temp2;
16874 ecode3 = SWIG_AsVal_int(obj2, &val3);
16875 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
16876 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsImageByte_pixel" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsImageByte_pixel" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
16877 }
16878 temp3 = static_cast< int >(val3);
16879 arg3 = &temp3;
16880 {
16881 try {
16882 result = (double)((GFitsImageByte const *)arg1)->pixel((int const &)*arg2,(int const &)*arg3);
16883 }
16884 catch (const GException::out_of_range& e) {
16885 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
16886 }
16887 catch (const GExceptionHandler& e) {
16888 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16889 }
16890 catch (const std::exception& e) {
16891 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16892 }
16893 }
16894 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
16895 return resultobj;
16896fail:
16897 return NULL__null;
16898}
16899
16900
16901SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageByte_pixel__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16902 PyObject *resultobj = 0;
16903 GFitsImageByte *arg1 = (GFitsImageByte *) 0 ;
16904 int *arg2 = 0 ;
16905 int *arg3 = 0 ;
16906 int *arg4 = 0 ;
16907 void *argp1 = 0 ;
16908 int res1 = 0 ;
16909 int temp2 ;
16910 int val2 ;
16911 int ecode2 = 0 ;
16912 int temp3 ;
16913 int val3 ;
16914 int ecode3 = 0 ;
16915 int temp4 ;
16916 int val4 ;
16917 int ecode4 = 0 ;
16918 PyObject * obj0 = 0 ;
16919 PyObject * obj1 = 0 ;
16920 PyObject * obj2 = 0 ;
16921 PyObject * obj3 = 0 ;
16922 double result;
16923
16924 if (!PyArg_ParseTuple(args,(char *)"OOOO:GFitsImageByte_pixel",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
16925 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageByte, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[9],
0 | 0, 0)
;
16926 if (!SWIG_IsOK(res1)(res1 >= 0)) {
16927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageByte_pixel" "', argument " "1"" of type '" "GFitsImageByte const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageByte_pixel" "', argument "
"1"" of type '" "GFitsImageByte const *""'"); goto fail; } while
(0)
;
16928 }
16929 arg1 = reinterpret_cast< GFitsImageByte * >(argp1);
16930 ecode2 = SWIG_AsVal_int(obj1, &val2);
16931 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
16932 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsImageByte_pixel" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsImageByte_pixel" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
16933 }
16934 temp2 = static_cast< int >(val2);
16935 arg2 = &temp2;
16936 ecode3 = SWIG_AsVal_int(obj2, &val3);
16937 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
16938 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsImageByte_pixel" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsImageByte_pixel" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
16939 }
16940 temp3 = static_cast< int >(val3);
16941 arg3 = &temp3;
16942 ecode4 = SWIG_AsVal_int(obj3, &val4);
16943 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
16944 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GFitsImageByte_pixel" "', argument " "4"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GFitsImageByte_pixel" "', argument "
"4"" of type '" "int""'"); goto fail; } while(0)
;
16945 }
16946 temp4 = static_cast< int >(val4);
16947 arg4 = &temp4;
16948 {
16949 try {
16950 result = (double)((GFitsImageByte const *)arg1)->pixel((int const &)*arg2,(int const &)*arg3,(int const &)*arg4);
16951 }
16952 catch (const GException::out_of_range& e) {
16953 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
16954 }
16955 catch (const GExceptionHandler& e) {
16956 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16957 }
16958 catch (const std::exception& e) {
16959 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
16960 }
16961 }
16962 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
16963 return resultobj;
16964fail:
16965 return NULL__null;
16966}
16967
16968
16969SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageByte_pixel__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16970 PyObject *resultobj = 0;
16971 GFitsImageByte *arg1 = (GFitsImageByte *) 0 ;
16972 int *arg2 = 0 ;
16973 int *arg3 = 0 ;
16974 int *arg4 = 0 ;
16975 int *arg5 = 0 ;
16976 void *argp1 = 0 ;
16977 int res1 = 0 ;
16978 int temp2 ;
16979 int val2 ;
16980 int ecode2 = 0 ;
16981 int temp3 ;
16982 int val3 ;
16983 int ecode3 = 0 ;
16984 int temp4 ;
16985 int val4 ;
16986 int ecode4 = 0 ;
16987 int temp5 ;
16988 int val5 ;
16989 int ecode5 = 0 ;
16990 PyObject * obj0 = 0 ;
16991 PyObject * obj1 = 0 ;
16992 PyObject * obj2 = 0 ;
16993 PyObject * obj3 = 0 ;
16994 PyObject * obj4 = 0 ;
16995 double result;
16996
16997 if (!PyArg_ParseTuple(args,(char *)"OOOOO:GFitsImageByte_pixel",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_failgoto fail;
16998 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageByte, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[9],
0 | 0, 0)
;
16999 if (!SWIG_IsOK(res1)(res1 >= 0)) {
17000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageByte_pixel" "', argument " "1"" of type '" "GFitsImageByte const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageByte_pixel" "', argument "
"1"" of type '" "GFitsImageByte const *""'"); goto fail; } while
(0)
;
17001 }
17002 arg1 = reinterpret_cast< GFitsImageByte * >(argp1);
17003 ecode2 = SWIG_AsVal_int(obj1, &val2);
17004 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
17005 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsImageByte_pixel" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsImageByte_pixel" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
17006 }
17007 temp2 = static_cast< int >(val2);
17008 arg2 = &temp2;
17009 ecode3 = SWIG_AsVal_int(obj2, &val3);
17010 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
17011 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsImageByte_pixel" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsImageByte_pixel" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
17012 }
17013 temp3 = static_cast< int >(val3);
17014 arg3 = &temp3;
17015 ecode4 = SWIG_AsVal_int(obj3, &val4);
17016 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
17017 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GFitsImageByte_pixel" "', argument " "4"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GFitsImageByte_pixel" "', argument "
"4"" of type '" "int""'"); goto fail; } while(0)
;
17018 }
17019 temp4 = static_cast< int >(val4);
17020 arg4 = &temp4;
17021 ecode5 = SWIG_AsVal_int(obj4, &val5);
17022 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
17023 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GFitsImageByte_pixel" "', argument " "5"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GFitsImageByte_pixel" "', argument "
"5"" of type '" "int""'"); goto fail; } while(0)
;
17024 }
17025 temp5 = static_cast< int >(val5);
17026 arg5 = &temp5;
17027 {
17028 try {
17029 result = (double)((GFitsImageByte const *)arg1)->pixel((int const &)*arg2,(int const &)*arg3,(int const &)*arg4,(int const &)*arg5);
17030 }
17031 catch (const GException::out_of_range& e) {
17032 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
17033 }
17034 catch (const GExceptionHandler& e) {
17035 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17036 }
17037 catch (const std::exception& e) {
17038 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17039 }
17040 }
17041 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
17042 return resultobj;
17043fail:
17044 return NULL__null;
17045}
17046
17047
17048SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageByte_pixel(PyObject *self, PyObject *args) {
17049 int argc;
17050 PyObject *argv[6];
17051 int ii;
17052
17053 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
17054 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
17055 for (ii = 0; (ii < 5) && (ii < argc); ii++) {
17056 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
17057 }
17058 if (argc == 2) {
17059 int _v;
17060 void *vptr = 0;
17061 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsImageByte, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[9
], 0, 0)
;
17062 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
17063 if (_v) {
17064 {
17065 int res = SWIG_AsVal_int(argv[1], NULL__null);
17066 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
17067 }
17068 if (_v) {
17069 return _wrap_GFitsImageByte_pixel__SWIG_0(self, args);
17070 }
17071 }
17072 }
17073 if (argc == 3) {
17074 int _v;
17075 void *vptr = 0;
17076 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsImageByte, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[9
], 0, 0)
;
17077 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
17078 if (_v) {
17079 {
17080 int res = SWIG_AsVal_int(argv[1], NULL__null);
17081 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
17082 }
17083 if (_v) {
17084 {
17085 int res = SWIG_AsVal_int(argv[2], NULL__null);
17086 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
17087 }
17088 if (_v) {
17089 return _wrap_GFitsImageByte_pixel__SWIG_1(self, args);
17090 }
17091 }
17092 }
17093 }
17094 if (argc == 4) {
17095 int _v;
17096 void *vptr = 0;
17097 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsImageByte, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[9
], 0, 0)
;
17098 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
17099 if (_v) {
17100 {
17101 int res = SWIG_AsVal_int(argv[1], NULL__null);
17102 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
17103 }
17104 if (_v) {
17105 {
17106 int res = SWIG_AsVal_int(argv[2], NULL__null);
17107 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
17108 }
17109 if (_v) {
17110 {
17111 int res = SWIG_AsVal_int(argv[3], NULL__null);
17112 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
17113 }
17114 if (_v) {
17115 return _wrap_GFitsImageByte_pixel__SWIG_2(self, args);
17116 }
17117 }
17118 }
17119 }
17120 }
17121 if (argc == 5) {
17122 int _v;
17123 void *vptr = 0;
17124 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsImageByte, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[9
], 0, 0)
;
17125 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
17126 if (_v) {
17127 {
17128 int res = SWIG_AsVal_int(argv[1], NULL__null);
17129 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
17130 }
17131 if (_v) {
17132 {
17133 int res = SWIG_AsVal_int(argv[2], NULL__null);
17134 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
17135 }
17136 if (_v) {
17137 {
17138 int res = SWIG_AsVal_int(argv[3], NULL__null);
17139 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
17140 }
17141 if (_v) {
17142 {
17143 int res = SWIG_AsVal_int(argv[4], NULL__null);
17144 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
17145 }
17146 if (_v) {
17147 return _wrap_GFitsImageByte_pixel__SWIG_3(self, args);
17148 }
17149 }
17150 }
17151 }
17152 }
17153 }
17154
17155fail:
17156 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsImageByte_pixel'.\n"
17157 " Possible C/C++ prototypes are:\n"
17158 " GFitsImageByte::pixel(int const &) const\n"
17159 " GFitsImageByte::pixel(int const &,int const &) const\n"
17160 " GFitsImageByte::pixel(int const &,int const &,int const &) const\n"
17161 " GFitsImageByte::pixel(int const &,int const &,int const &,int const &) const\n");
17162 return 0;
17163}
17164
17165
17166SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageByte_pixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17167 PyObject *resultobj = 0;
17168 GFitsImageByte *arg1 = (GFitsImageByte *) 0 ;
17169 void *argp1 = 0 ;
17170 int res1 = 0 ;
17171 PyObject * obj0 = 0 ;
17172 void *result = 0 ;
17173
17174 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageByte_pixels",&obj0)) SWIG_failgoto fail;
17175 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageByte, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[9],
0 | 0, 0)
;
17176 if (!SWIG_IsOK(res1)(res1 >= 0)) {
17177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageByte_pixels" "', argument " "1"" of type '" "GFitsImageByte *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageByte_pixels" "', argument "
"1"" of type '" "GFitsImageByte *""'"); goto fail; } while(0
)
;
17178 }
17179 arg1 = reinterpret_cast< GFitsImageByte * >(argp1);
17180 {
17181 try {
17182 result = (void *)(arg1)->pixels();
17183 }
17184 catch (const GException::out_of_range& e) {
17185 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
17186 }
17187 catch (const GExceptionHandler& e) {
17188 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17189 }
17190 catch (const std::exception& e) {
17191 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17192 }
17193 }
17194 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[57], 0
| 0)
;
17195 return resultobj;
17196fail:
17197 return NULL__null;
17198}
17199
17200
17201SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageByte_type(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17202 PyObject *resultobj = 0;
17203 GFitsImageByte *arg1 = (GFitsImageByte *) 0 ;
17204 void *argp1 = 0 ;
17205 int res1 = 0 ;
17206 PyObject * obj0 = 0 ;
17207 int result;
17208
17209 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageByte_type",&obj0)) SWIG_failgoto fail;
17210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageByte, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[9],
0 | 0, 0)
;
17211 if (!SWIG_IsOK(res1)(res1 >= 0)) {
17212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageByte_type" "', argument " "1"" of type '" "GFitsImageByte const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageByte_type" "', argument "
"1"" of type '" "GFitsImageByte const *""'"); goto fail; } while
(0)
;
17213 }
17214 arg1 = reinterpret_cast< GFitsImageByte * >(argp1);
17215 {
17216 try {
17217 result = (int)((GFitsImageByte const *)arg1)->type();
17218 }
17219 catch (const GException::out_of_range& e) {
17220 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
17221 }
17222 catch (const GExceptionHandler& e) {
17223 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17224 }
17225 catch (const std::exception& e) {
17226 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17227 }
17228 }
17229 resultobj = SWIG_From_int(static_cast< int >(result));
17230 return resultobj;
17231fail:
17232 return NULL__null;
17233}
17234
17235
17236SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageByte___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17237 PyObject *resultobj = 0;
17238 GFitsImageByte *arg1 = (GFitsImageByte *) 0 ;
17239 int *arg2 ;
17240 void *argp1 = 0 ;
17241 int res1 = 0 ;
17242 int temp2[5] ;
17243 PyObject * obj0 = 0 ;
17244 PyObject * obj1 = 0 ;
17245 unsigned char result;
17246
17247 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsImageByte___getitem__",&obj0,&obj1)) SWIG_failgoto fail;
17248 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageByte, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[9],
0 | 0, 0)
;
17249 if (!SWIG_IsOK(res1)(res1 >= 0)) {
17250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageByte___getitem__" "', argument " "1"" of type '" "GFitsImageByte *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageByte___getitem__"
"', argument " "1"" of type '" "GFitsImageByte *""'"); goto fail
; } while(0)
;
17251 }
17252 arg1 = reinterpret_cast< GFitsImageByte * >(argp1);
17253 {
17254 if (!image_pixel_tuple(obj1,temp2)) {
17255 return NULL__null;
17256 }
17257 arg2 = &temp2[0];
17258 }
17259 {
17260 try {
17261 result = (unsigned char)GFitsImageByte___getitem__(arg1,arg2);
17262 }
17263 catch (const GException::out_of_range& e) {
17264 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
17265 }
17266 catch (const GExceptionHandler& e) {
17267 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17268 }
17269 catch (const std::exception& e) {
17270 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17271 }
17272 }
17273 resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result));
17274 return resultobj;
17275fail:
17276 return NULL__null;
17277}
17278
17279
17280SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageByte___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17281 PyObject *resultobj = 0;
17282 GFitsImageByte *arg1 = (GFitsImageByte *) 0 ;
17283 int *arg2 ;
17284 unsigned char arg3 ;
17285 void *argp1 = 0 ;
17286 int res1 = 0 ;
17287 int temp2[5] ;
17288 unsigned char val3 ;
17289 int ecode3 = 0 ;
17290 PyObject * obj0 = 0 ;
17291 PyObject * obj1 = 0 ;
17292 PyObject * obj2 = 0 ;
17293
17294 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsImageByte___setitem__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
17295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageByte, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[9],
0 | 0, 0)
;
17296 if (!SWIG_IsOK(res1)(res1 >= 0)) {
17297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageByte___setitem__" "', argument " "1"" of type '" "GFitsImageByte *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageByte___setitem__"
"', argument " "1"" of type '" "GFitsImageByte *""'"); goto fail
; } while(0)
;
17298 }
17299 arg1 = reinterpret_cast< GFitsImageByte * >(argp1);
17300 {
17301 if (!image_pixel_tuple(obj1,temp2)) {
17302 return NULL__null;
17303 }
17304 arg2 = &temp2[0];
17305 }
17306 ecode3 = SWIG_AsVal_unsigned_SS_char(obj2, &val3);
17307 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
17308 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsImageByte___setitem__" "', argument " "3"" of type '" "unsigned char""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsImageByte___setitem__"
"', argument " "3"" of type '" "unsigned char""'"); goto fail
; } while(0)
;
17309 }
17310 arg3 = static_cast< unsigned char >(val3);
17311 {
17312 try {
17313 GFitsImageByte___setitem__(arg1,arg2,arg3);
17314 }
17315 catch (const GException::out_of_range& e) {
17316 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
17317 }
17318 catch (const GExceptionHandler& e) {
17319 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17320 }
17321 catch (const std::exception& e) {
17322 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17323 }
17324 }
17325 resultobj = SWIG_Py_Void();
17326 return resultobj;
17327fail:
17328 return NULL__null;
17329}
17330
17331
17332SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageByte_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17333 PyObject *resultobj = 0;
17334 GFitsImageByte *arg1 = (GFitsImageByte *) 0 ;
17335 void *argp1 = 0 ;
17336 int res1 = 0 ;
17337 PyObject * obj0 = 0 ;
17338 GFitsImageByte result;
17339
17340 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageByte_copy",&obj0)) SWIG_failgoto fail;
17341 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageByte, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[9],
0 | 0, 0)
;
17342 if (!SWIG_IsOK(res1)(res1 >= 0)) {
17343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageByte_copy" "', argument " "1"" of type '" "GFitsImageByte *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageByte_copy" "', argument "
"1"" of type '" "GFitsImageByte *""'"); goto fail; } while(0
)
;
17344 }
17345 arg1 = reinterpret_cast< GFitsImageByte * >(argp1);
17346 {
17347 try {
17348 result = GFitsImageByte_copy(arg1);
17349 }
17350 catch (const GException::out_of_range& e) {
17351 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
17352 }
17353 catch (const GExceptionHandler& e) {
17354 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17355 }
17356 catch (const std::exception& e) {
17357 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17358 }
17359 }
17360 resultobj = SWIG_NewPointerObj((new GFitsImageByte(static_cast< const GFitsImageByte& >(result))), SWIGTYPE_p_GFitsImageByte, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GFitsImageByte(static_cast
< const GFitsImageByte& >(result))), swig_types[9],
0x1 | 0)
;
17361 return resultobj;
17362fail:
17363 return NULL__null;
17364}
17365
17366
17367SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GFitsImageByte_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17368 PyObject *obj;
17369 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
17370 SWIG_TypeNewClientData(SWIGTYPE_p_GFitsImageByteswig_types[9], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
17371 return SWIG_Py_Void();
17372}
17373
17374SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageSByte__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17375 PyObject *resultobj = 0;
17376 GFitsImageSByte *result = 0 ;
17377
17378 if (!PyArg_ParseTuple(args,(char *)":new_GFitsImageSByte")) SWIG_failgoto fail;
17379 {
17380 try {
17381 result = (GFitsImageSByte *)new GFitsImageSByte();
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_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageSByte, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[14], (
(0x1 << 1) | 0x1) | 0)
;
17394 return resultobj;
17395fail:
17396 return NULL__null;
17397}
17398
17399
17400SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageSByte__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17401 PyObject *resultobj = 0;
17402 int *arg1 = 0 ;
17403 char *arg2 = (char *) 0 ;
17404 int temp1 ;
17405 int val1 ;
17406 int ecode1 = 0 ;
17407 int res2 ;
17408 char *buf2 = 0 ;
17409 int alloc2 = 0 ;
17410 PyObject * obj0 = 0 ;
17411 PyObject * obj1 = 0 ;
17412 GFitsImageSByte *result = 0 ;
17413
17414 if (!PyArg_ParseTuple(args,(char *)"OO:new_GFitsImageSByte",&obj0,&obj1)) SWIG_failgoto fail;
17415 ecode1 = SWIG_AsVal_int(obj0, &val1);
17416 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
17417 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageSByte" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageSByte" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
17418 }
17419 temp1 = static_cast< int >(val1);
17420 arg1 = &temp1;
17421 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL__null, &alloc2);
17422 if (!SWIG_IsOK(res2)(res2 >= 0)) {
17423 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_GFitsImageSByte" "', argument " "2"" of type '" "char const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "new_GFitsImageSByte" "', argument "
"2"" of type '" "char const *""'"); goto fail; } while(0)
;
17424 }
17425 arg2 = reinterpret_cast< char * >(buf2);
17426 {
17427 try {
17428 result = (GFitsImageSByte *)new GFitsImageSByte((int const &)*arg1,(char const *)arg2);
17429 }
17430 catch (const GException::out_of_range& e) {
17431 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
17432 }
17433 catch (const GExceptionHandler& e) {
17434 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17435 }
17436 catch (const std::exception& e) {
17437 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17438 }
17439 }
17440 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageSByte, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[14], (
(0x1 << 1) | 0x1) | 0)
;
17441 if (alloc2 == SWIG_NEWOBJ((0) | ((1 << 8) << 1))) delete[] buf2;
17442 return resultobj;
17443fail:
17444 if (alloc2 == SWIG_NEWOBJ((0) | ((1 << 8) << 1))) delete[] buf2;
17445 return NULL__null;
17446}
17447
17448
17449SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageSByte__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17450 PyObject *resultobj = 0;
17451 int *arg1 = 0 ;
17452 int temp1 ;
17453 int val1 ;
17454 int ecode1 = 0 ;
17455 PyObject * obj0 = 0 ;
17456 GFitsImageSByte *result = 0 ;
17457
17458 if (!PyArg_ParseTuple(args,(char *)"O:new_GFitsImageSByte",&obj0)) SWIG_failgoto fail;
17459 ecode1 = SWIG_AsVal_int(obj0, &val1);
17460 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
17461 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageSByte" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageSByte" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
17462 }
17463 temp1 = static_cast< int >(val1);
17464 arg1 = &temp1;
17465 {
17466 try {
17467 result = (GFitsImageSByte *)new GFitsImageSByte((int const &)*arg1);
17468 }
17469 catch (const GException::out_of_range& e) {
17470 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
17471 }
17472 catch (const GExceptionHandler& e) {
17473 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17474 }
17475 catch (const std::exception& e) {
17476 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17477 }
17478 }
17479 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageSByte, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[14], (
(0x1 << 1) | 0x1) | 0)
;
17480 return resultobj;
17481fail:
17482 return NULL__null;
17483}
17484
17485
17486SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageSByte__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17487 PyObject *resultobj = 0;
17488 int *arg1 = 0 ;
17489 int *arg2 = 0 ;
17490 char *arg3 = (char *) 0 ;
17491 int temp1 ;
17492 int val1 ;
17493 int ecode1 = 0 ;
17494 int temp2 ;
17495 int val2 ;
17496 int ecode2 = 0 ;
17497 int res3 ;
17498 char *buf3 = 0 ;
17499 int alloc3 = 0 ;
17500 PyObject * obj0 = 0 ;
17501 PyObject * obj1 = 0 ;
17502 PyObject * obj2 = 0 ;
17503 GFitsImageSByte *result = 0 ;
17504
17505 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GFitsImageSByte",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
17506 ecode1 = SWIG_AsVal_int(obj0, &val1);
17507 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
17508 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageSByte" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageSByte" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
17509 }
17510 temp1 = static_cast< int >(val1);
17511 arg1 = &temp1;
17512 ecode2 = SWIG_AsVal_int(obj1, &val2);
17513 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
17514 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageSByte" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageSByte" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
17515 }
17516 temp2 = static_cast< int >(val2);
17517 arg2 = &temp2;
17518 res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL__null, &alloc3);
17519 if (!SWIG_IsOK(res3)(res3 >= 0)) {
17520 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_GFitsImageSByte" "', argument " "3"" of type '" "char const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "new_GFitsImageSByte" "', argument "
"3"" of type '" "char const *""'"); goto fail; } while(0)
;
17521 }
17522 arg3 = reinterpret_cast< char * >(buf3);
17523 {
17524 try {
17525 result = (GFitsImageSByte *)new GFitsImageSByte((int const &)*arg1,(int const &)*arg2,(char const *)arg3);
17526 }
17527 catch (const GException::out_of_range& e) {
17528 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
17529 }
17530 catch (const GExceptionHandler& e) {
17531 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17532 }
17533 catch (const std::exception& e) {
17534 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17535 }
17536 }
17537 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageSByte, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[14], (
(0x1 << 1) | 0x1) | 0)
;
17538 if (alloc3 == SWIG_NEWOBJ((0) | ((1 << 8) << 1))) delete[] buf3;
17539 return resultobj;
17540fail:
17541 if (alloc3 == SWIG_NEWOBJ((0) | ((1 << 8) << 1))) delete[] buf3;
17542 return NULL__null;
17543}
17544
17545
17546SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageSByte__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17547 PyObject *resultobj = 0;
17548 int *arg1 = 0 ;
17549 int *arg2 = 0 ;
17550 int temp1 ;
17551 int val1 ;
17552 int ecode1 = 0 ;
17553 int temp2 ;
17554 int val2 ;
17555 int ecode2 = 0 ;
17556 PyObject * obj0 = 0 ;
17557 PyObject * obj1 = 0 ;
17558 GFitsImageSByte *result = 0 ;
17559
17560 if (!PyArg_ParseTuple(args,(char *)"OO:new_GFitsImageSByte",&obj0,&obj1)) SWIG_failgoto fail;
17561 ecode1 = SWIG_AsVal_int(obj0, &val1);
17562 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
17563 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageSByte" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageSByte" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
17564 }
17565 temp1 = static_cast< int >(val1);
17566 arg1 = &temp1;
17567 ecode2 = SWIG_AsVal_int(obj1, &val2);
17568 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
17569 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageSByte" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageSByte" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
17570 }
17571 temp2 = static_cast< int >(val2);
17572 arg2 = &temp2;
17573 {
17574 try {
17575 result = (GFitsImageSByte *)new GFitsImageSByte((int const &)*arg1,(int const &)*arg2);
17576 }
17577 catch (const GException::out_of_range& e) {
17578 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
17579 }
17580 catch (const GExceptionHandler& e) {
17581 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17582 }
17583 catch (const std::exception& e) {
17584 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17585 }
17586 }
17587 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageSByte, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[14], (
(0x1 << 1) | 0x1) | 0)
;
17588 return resultobj;
17589fail:
17590 return NULL__null;
17591}
17592
17593
17594SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageSByte__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17595 PyObject *resultobj = 0;
17596 int *arg1 = 0 ;
17597 int *arg2 = 0 ;
17598 int *arg3 = 0 ;
17599 char *arg4 = (char *) 0 ;
17600 int temp1 ;
17601 int val1 ;
17602 int ecode1 = 0 ;
17603 int temp2 ;
17604 int val2 ;
17605 int ecode2 = 0 ;
17606 int temp3 ;
17607 int val3 ;
17608 int ecode3 = 0 ;
17609 int res4 ;
17610 char *buf4 = 0 ;
17611 int alloc4 = 0 ;
17612 PyObject * obj0 = 0 ;
17613 PyObject * obj1 = 0 ;
17614 PyObject * obj2 = 0 ;
17615 PyObject * obj3 = 0 ;
17616 GFitsImageSByte *result = 0 ;
17617
17618 if (!PyArg_ParseTuple(args,(char *)"OOOO:new_GFitsImageSByte",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
17619 ecode1 = SWIG_AsVal_int(obj0, &val1);
17620 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
17621 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageSByte" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageSByte" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
17622 }
17623 temp1 = static_cast< int >(val1);
17624 arg1 = &temp1;
17625 ecode2 = SWIG_AsVal_int(obj1, &val2);
17626 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
17627 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageSByte" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageSByte" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
17628 }
17629 temp2 = static_cast< int >(val2);
17630 arg2 = &temp2;
17631 ecode3 = SWIG_AsVal_int(obj2, &val3);
17632 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
17633 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsImageSByte" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsImageSByte" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
17634 }
17635 temp3 = static_cast< int >(val3);
17636 arg3 = &temp3;
17637 res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL__null, &alloc4);
17638 if (!SWIG_IsOK(res4)(res4 >= 0)) {
17639 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_GFitsImageSByte" "', argument " "4"" of type '" "char const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res4 != (
-1)) ? res4 : -5)), "in method '" "new_GFitsImageSByte" "', argument "
"4"" of type '" "char const *""'"); goto fail; } while(0)
;
17640 }
17641 arg4 = reinterpret_cast< char * >(buf4);
17642 {
17643 try {
17644 result = (GFitsImageSByte *)new GFitsImageSByte((int const &)*arg1,(int const &)*arg2,(int const &)*arg3,(char const *)arg4);
17645 }
17646 catch (const GException::out_of_range& e) {
17647 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
17648 }
17649 catch (const GExceptionHandler& e) {
17650 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17651 }
17652 catch (const std::exception& e) {
17653 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17654 }
17655 }
17656 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageSByte, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[14], (
(0x1 << 1) | 0x1) | 0)
;
17657 if (alloc4 == SWIG_NEWOBJ((0) | ((1 << 8) << 1))) delete[] buf4;
17658 return resultobj;
17659fail:
17660 if (alloc4 == SWIG_NEWOBJ((0) | ((1 << 8) << 1))) delete[] buf4;
17661 return NULL__null;
17662}
17663
17664
17665SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageSByte__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17666 PyObject *resultobj = 0;
17667 int *arg1 = 0 ;
17668 int *arg2 = 0 ;
17669 int *arg3 = 0 ;
17670 int temp1 ;
17671 int val1 ;
17672 int ecode1 = 0 ;
17673 int temp2 ;
17674 int val2 ;
17675 int ecode2 = 0 ;
17676 int temp3 ;
17677 int val3 ;
17678 int ecode3 = 0 ;
17679 PyObject * obj0 = 0 ;
17680 PyObject * obj1 = 0 ;
17681 PyObject * obj2 = 0 ;
17682 GFitsImageSByte *result = 0 ;
17683
17684 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GFitsImageSByte",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
17685 ecode1 = SWIG_AsVal_int(obj0, &val1);
17686 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
17687 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageSByte" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageSByte" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
17688 }
17689 temp1 = static_cast< int >(val1);
17690 arg1 = &temp1;
17691 ecode2 = SWIG_AsVal_int(obj1, &val2);
17692 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
17693 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageSByte" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageSByte" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
17694 }
17695 temp2 = static_cast< int >(val2);
17696 arg2 = &temp2;
17697 ecode3 = SWIG_AsVal_int(obj2, &val3);
17698 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
17699 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsImageSByte" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsImageSByte" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
17700 }
17701 temp3 = static_cast< int >(val3);
17702 arg3 = &temp3;
17703 {
17704 try {
17705 result = (GFitsImageSByte *)new GFitsImageSByte((int const &)*arg1,(int const &)*arg2,(int const &)*arg3);
17706 }
17707 catch (const GException::out_of_range& e) {
17708 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
17709 }
17710 catch (const GExceptionHandler& e) {
17711 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17712 }
17713 catch (const std::exception& e) {
17714 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17715 }
17716 }
17717 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageSByte, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[14], (
(0x1 << 1) | 0x1) | 0)
;
17718 return resultobj;
17719fail:
17720 return NULL__null;
17721}
17722
17723
17724SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageSByte__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17725 PyObject *resultobj = 0;
17726 int *arg1 = 0 ;
17727 int *arg2 = 0 ;
17728 int *arg3 = 0 ;
17729 int *arg4 = 0 ;
17730 char *arg5 = (char *) 0 ;
17731 int temp1 ;
17732 int val1 ;
17733 int ecode1 = 0 ;
17734 int temp2 ;
17735 int val2 ;
17736 int ecode2 = 0 ;
17737 int temp3 ;
17738 int val3 ;
17739 int ecode3 = 0 ;
17740 int temp4 ;
17741 int val4 ;
17742 int ecode4 = 0 ;
17743 int res5 ;
17744 char *buf5 = 0 ;
17745 int alloc5 = 0 ;
17746 PyObject * obj0 = 0 ;
17747 PyObject * obj1 = 0 ;
17748 PyObject * obj2 = 0 ;
17749 PyObject * obj3 = 0 ;
17750 PyObject * obj4 = 0 ;
17751 GFitsImageSByte *result = 0 ;
17752
17753 if (!PyArg_ParseTuple(args,(char *)"OOOOO:new_GFitsImageSByte",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_failgoto fail;
17754 ecode1 = SWIG_AsVal_int(obj0, &val1);
17755 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
17756 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageSByte" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageSByte" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
17757 }
17758 temp1 = static_cast< int >(val1);
17759 arg1 = &temp1;
17760 ecode2 = SWIG_AsVal_int(obj1, &val2);
17761 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
17762 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageSByte" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageSByte" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
17763 }
17764 temp2 = static_cast< int >(val2);
17765 arg2 = &temp2;
17766 ecode3 = SWIG_AsVal_int(obj2, &val3);
17767 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
17768 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsImageSByte" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsImageSByte" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
17769 }
17770 temp3 = static_cast< int >(val3);
17771 arg3 = &temp3;
17772 ecode4 = SWIG_AsVal_int(obj3, &val4);
17773 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
17774 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_GFitsImageSByte" "', argument " "4"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "new_GFitsImageSByte" "', argument "
"4"" of type '" "int""'"); goto fail; } while(0)
;
17775 }
17776 temp4 = static_cast< int >(val4);
17777 arg4 = &temp4;
17778 res5 = SWIG_AsCharPtrAndSize(obj4, &buf5, NULL__null, &alloc5);
17779 if (!SWIG_IsOK(res5)(res5 >= 0)) {
17780 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_GFitsImageSByte" "', argument " "5"" of type '" "char const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res5 != (
-1)) ? res5 : -5)), "in method '" "new_GFitsImageSByte" "', argument "
"5"" of type '" "char const *""'"); goto fail; } while(0)
;
17781 }
17782 arg5 = reinterpret_cast< char * >(buf5);
17783 {
17784 try {
17785 result = (GFitsImageSByte *)new GFitsImageSByte((int const &)*arg1,(int const &)*arg2,(int const &)*arg3,(int const &)*arg4,(char const *)arg5);
17786 }
17787 catch (const GException::out_of_range& e) {
17788 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
17789 }
17790 catch (const GExceptionHandler& e) {
17791 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17792 }
17793 catch (const std::exception& e) {
17794 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17795 }
17796 }
17797 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageSByte, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[14], (
(0x1 << 1) | 0x1) | 0)
;
17798 if (alloc5 == SWIG_NEWOBJ((0) | ((1 << 8) << 1))) delete[] buf5;
17799 return resultobj;
17800fail:
17801 if (alloc5 == SWIG_NEWOBJ((0) | ((1 << 8) << 1))) delete[] buf5;
17802 return NULL__null;
17803}
17804
17805
17806SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageSByte__SWIG_8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17807 PyObject *resultobj = 0;
17808 int *arg1 = 0 ;
17809 int *arg2 = 0 ;
17810 int *arg3 = 0 ;
17811 int *arg4 = 0 ;
17812 int temp1 ;
17813 int val1 ;
17814 int ecode1 = 0 ;
17815 int temp2 ;
17816 int val2 ;
17817 int ecode2 = 0 ;
17818 int temp3 ;
17819 int val3 ;
17820 int ecode3 = 0 ;
17821 int temp4 ;
17822 int val4 ;
17823 int ecode4 = 0 ;
17824 PyObject * obj0 = 0 ;
17825 PyObject * obj1 = 0 ;
17826 PyObject * obj2 = 0 ;
17827 PyObject * obj3 = 0 ;
17828 GFitsImageSByte *result = 0 ;
17829
17830 if (!PyArg_ParseTuple(args,(char *)"OOOO:new_GFitsImageSByte",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
17831 ecode1 = SWIG_AsVal_int(obj0, &val1);
17832 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
17833 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageSByte" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageSByte" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
17834 }
17835 temp1 = static_cast< int >(val1);
17836 arg1 = &temp1;
17837 ecode2 = SWIG_AsVal_int(obj1, &val2);
17838 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
17839 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageSByte" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageSByte" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
17840 }
17841 temp2 = static_cast< int >(val2);
17842 arg2 = &temp2;
17843 ecode3 = SWIG_AsVal_int(obj2, &val3);
17844 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
17845 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsImageSByte" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsImageSByte" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
17846 }
17847 temp3 = static_cast< int >(val3);
17848 arg3 = &temp3;
17849 ecode4 = SWIG_AsVal_int(obj3, &val4);
17850 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
17851 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_GFitsImageSByte" "', argument " "4"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "new_GFitsImageSByte" "', argument "
"4"" of type '" "int""'"); goto fail; } while(0)
;
17852 }
17853 temp4 = static_cast< int >(val4);
17854 arg4 = &temp4;
17855 {
17856 try {
17857 result = (GFitsImageSByte *)new GFitsImageSByte((int const &)*arg1,(int const &)*arg2,(int const &)*arg3,(int const &)*arg4);
17858 }
17859 catch (const GException::out_of_range& e) {
17860 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
17861 }
17862 catch (const GExceptionHandler& e) {
17863 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17864 }
17865 catch (const std::exception& e) {
17866 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17867 }
17868 }
17869 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageSByte, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[14], (
(0x1 << 1) | 0x1) | 0)
;
17870 return resultobj;
17871fail:
17872 return NULL__null;
17873}
17874
17875
17876SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageSByte__SWIG_9(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17877 PyObject *resultobj = 0;
17878 int *arg1 = 0 ;
17879 int *arg2 = (int *) 0 ;
17880 char *arg3 = (char *) 0 ;
17881 int temp1 ;
17882 int val1 ;
17883 int ecode1 = 0 ;
17884 void *argp2 = 0 ;
17885 int res2 = 0 ;
17886 int res3 ;
17887 char *buf3 = 0 ;
17888 int alloc3 = 0 ;
17889 PyObject * obj0 = 0 ;
17890 PyObject * obj1 = 0 ;
17891 PyObject * obj2 = 0 ;
17892 GFitsImageSByte *result = 0 ;
17893
17894 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GFitsImageSByte",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
17895 ecode1 = SWIG_AsVal_int(obj0, &val1);
17896 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
17897 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageSByte" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageSByte" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
17898 }
17899 temp1 = static_cast< int >(val1);
17900 arg1 = &temp1;
17901 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[41]
, 0 | 0, 0)
;
17902 if (!SWIG_IsOK(res2)(res2 >= 0)) {
17903 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_GFitsImageSByte" "', argument " "2"" of type '" "int const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "new_GFitsImageSByte" "', argument "
"2"" of type '" "int const *""'"); goto fail; } while(0)
;
17904 }
17905 arg2 = reinterpret_cast< int * >(argp2);
17906 res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL__null, &alloc3);
17907 if (!SWIG_IsOK(res3)(res3 >= 0)) {
17908 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_GFitsImageSByte" "', argument " "3"" of type '" "char const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "new_GFitsImageSByte" "', argument "
"3"" of type '" "char const *""'"); goto fail; } while(0)
;
17909 }
17910 arg3 = reinterpret_cast< char * >(buf3);
17911 {
17912 try {
17913 result = (GFitsImageSByte *)new GFitsImageSByte((int const &)*arg1,(int const *)arg2,(char const *)arg3);
17914 }
17915 catch (const GException::out_of_range& e) {
17916 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
17917 }
17918 catch (const GExceptionHandler& e) {
17919 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17920 }
17921 catch (const std::exception& e) {
17922 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17923 }
17924 }
17925 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageSByte, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[14], (
(0x1 << 1) | 0x1) | 0)
;
17926 if (alloc3 == SWIG_NEWOBJ((0) | ((1 << 8) << 1))) delete[] buf3;
17927 return resultobj;
17928fail:
17929 if (alloc3 == SWIG_NEWOBJ((0) | ((1 << 8) << 1))) delete[] buf3;
17930 return NULL__null;
17931}
17932
17933
17934SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageSByte__SWIG_10(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17935 PyObject *resultobj = 0;
17936 int *arg1 = 0 ;
17937 int *arg2 = (int *) 0 ;
17938 int temp1 ;
17939 int val1 ;
17940 int ecode1 = 0 ;
17941 void *argp2 = 0 ;
17942 int res2 = 0 ;
17943 PyObject * obj0 = 0 ;
17944 PyObject * obj1 = 0 ;
17945 GFitsImageSByte *result = 0 ;
17946
17947 if (!PyArg_ParseTuple(args,(char *)"OO:new_GFitsImageSByte",&obj0,&obj1)) SWIG_failgoto fail;
17948 ecode1 = SWIG_AsVal_int(obj0, &val1);
17949 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
17950 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageSByte" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageSByte" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
17951 }
17952 temp1 = static_cast< int >(val1);
17953 arg1 = &temp1;
17954 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[41]
, 0 | 0, 0)
;
17955 if (!SWIG_IsOK(res2)(res2 >= 0)) {
17956 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_GFitsImageSByte" "', argument " "2"" of type '" "int const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "new_GFitsImageSByte" "', argument "
"2"" of type '" "int const *""'"); goto fail; } while(0)
;
17957 }
17958 arg2 = reinterpret_cast< int * >(argp2);
17959 {
17960 try {
17961 result = (GFitsImageSByte *)new GFitsImageSByte((int const &)*arg1,(int const *)arg2);
17962 }
17963 catch (const GException::out_of_range& e) {
17964 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
17965 }
17966 catch (const GExceptionHandler& e) {
17967 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17968 }
17969 catch (const std::exception& e) {
17970 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
17971 }
17972 }
17973 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageSByte, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[14], (
(0x1 << 1) | 0x1) | 0)
;
17974 return resultobj;
17975fail:
17976 return NULL__null;
17977}
17978
17979
17980SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageSByte__SWIG_11(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17981 PyObject *resultobj = 0;
17982 GFitsImageSByte *arg1 = 0 ;
17983 void *argp1 = 0 ;
17984 int res1 = 0 ;
17985 PyObject * obj0 = 0 ;
17986 GFitsImageSByte *result = 0 ;
17987
17988 if (!PyArg_ParseTuple(args,(char *)"O:new_GFitsImageSByte",&obj0)) SWIG_failgoto fail;
17989 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GFitsImageSByte, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[14]
, 0 | 0, 0)
;
17990 if (!SWIG_IsOK(res1)(res1 >= 0)) {
17991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsImageSByte" "', argument " "1"" of type '" "GFitsImageSByte const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsImageSByte" "', argument "
"1"" of type '" "GFitsImageSByte const &""'"); goto fail
; } while(0)
;
17992 }
17993 if (!argp1) {
17994 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsImageSByte" "', argument " "1"" of type '" "GFitsImageSByte const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsImageSByte" "', argument " "1"" of type '"
"GFitsImageSByte const &""'"); goto fail; } while(0)
;
17995 }
17996 arg1 = reinterpret_cast< GFitsImageSByte * >(argp1);
17997 {
17998 try {
17999 result = (GFitsImageSByte *)new GFitsImageSByte((GFitsImageSByte const &)*arg1);
18000 }
18001 catch (const GException::out_of_range& e) {
18002 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
18003 }
18004 catch (const GExceptionHandler& e) {
18005 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18006 }
18007 catch (const std::exception& e) {
18008 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18009 }
18010 }
18011 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageSByte, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[14], (
(0x1 << 1) | 0x1) | 0)
;
18012 return resultobj;
18013fail:
18014 return NULL__null;
18015}
18016
18017
18018SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageSByte(PyObject *self, PyObject *args) {
18019 int argc;
18020 PyObject *argv[6];
18021 int ii;
18022
18023 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
18024 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
18025 for (ii = 0; (ii < 5) && (ii < argc); ii++) {
18026 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
18027 }
18028 if (argc == 0) {
18029 return _wrap_new_GFitsImageSByte__SWIG_0(self, args);
18030 }
18031 if (argc == 1) {
18032 int _v;
18033 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GFitsImageSByte, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[14], 0, 0
)
;
18034 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18035 if (_v) {
18036 return _wrap_new_GFitsImageSByte__SWIG_11(self, args);
18037 }
18038 }
18039 if (argc == 1) {
18040 int _v;
18041 {
18042 int res = SWIG_AsVal_int(argv[0], NULL__null);
18043 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18044 }
18045 if (_v) {
18046 return _wrap_new_GFitsImageSByte__SWIG_2(self, args);
18047 }
18048 }
18049 if (argc == 2) {
18050 int _v;
18051 {
18052 int res = SWIG_AsVal_int(argv[0], NULL__null);
18053 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18054 }
18055 if (_v) {
18056 void *vptr = 0;
18057 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[41
], 0, 0)
;
18058 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18059 if (_v) {
18060 return _wrap_new_GFitsImageSByte__SWIG_10(self, args);
18061 }
18062 }
18063 }
18064 if (argc == 2) {
18065 int _v;
18066 {
18067 int res = SWIG_AsVal_int(argv[0], NULL__null);
18068 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18069 }
18070 if (_v) {
18071 {
18072 int res = SWIG_AsVal_int(argv[1], NULL__null);
18073 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18074 }
18075 if (_v) {
18076 return _wrap_new_GFitsImageSByte__SWIG_4(self, args);
18077 }
18078 }
18079 }
18080 if (argc == 2) {
18081 int _v;
18082 {
18083 int res = SWIG_AsVal_int(argv[0], NULL__null);
18084 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18085 }
18086 if (_v) {
18087 int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL__null, 0);
18088 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18089 if (_v) {
18090 return _wrap_new_GFitsImageSByte__SWIG_1(self, args);
18091 }
18092 }
18093 }
18094 if (argc == 3) {
18095 int _v;
18096 {
18097 int res = SWIG_AsVal_int(argv[0], NULL__null);
18098 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18099 }
18100 if (_v) {
18101 void *vptr = 0;
18102 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[41
], 0, 0)
;
18103 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18104 if (_v) {
18105 int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL__null, 0);
18106 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18107 if (_v) {
18108 return _wrap_new_GFitsImageSByte__SWIG_9(self, args);
18109 }
18110 }
18111 }
18112 }
18113 if (argc == 3) {
18114 int _v;
18115 {
18116 int res = SWIG_AsVal_int(argv[0], NULL__null);
18117 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18118 }
18119 if (_v) {
18120 {
18121 int res = SWIG_AsVal_int(argv[1], NULL__null);
18122 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18123 }
18124 if (_v) {
18125 {
18126 int res = SWIG_AsVal_int(argv[2], NULL__null);
18127 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18128 }
18129 if (_v) {
18130 return _wrap_new_GFitsImageSByte__SWIG_6(self, args);
18131 }
18132 }
18133 }
18134 }
18135 if (argc == 3) {
18136 int _v;
18137 {
18138 int res = SWIG_AsVal_int(argv[0], NULL__null);
18139 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18140 }
18141 if (_v) {
18142 {
18143 int res = SWIG_AsVal_int(argv[1], NULL__null);
18144 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18145 }
18146 if (_v) {
18147 int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL__null, 0);
18148 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18149 if (_v) {
18150 return _wrap_new_GFitsImageSByte__SWIG_3(self, args);
18151 }
18152 }
18153 }
18154 }
18155 if (argc == 4) {
18156 int _v;
18157 {
18158 int res = SWIG_AsVal_int(argv[0], NULL__null);
18159 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18160 }
18161 if (_v) {
18162 {
18163 int res = SWIG_AsVal_int(argv[1], NULL__null);
18164 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18165 }
18166 if (_v) {
18167 {
18168 int res = SWIG_AsVal_int(argv[2], NULL__null);
18169 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18170 }
18171 if (_v) {
18172 {
18173 int res = SWIG_AsVal_int(argv[3], NULL__null);
18174 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18175 }
18176 if (_v) {
18177 return _wrap_new_GFitsImageSByte__SWIG_8(self, args);
18178 }
18179 }
18180 }
18181 }
18182 }
18183 if (argc == 4) {
18184 int _v;
18185 {
18186 int res = SWIG_AsVal_int(argv[0], NULL__null);
18187 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18188 }
18189 if (_v) {
18190 {
18191 int res = SWIG_AsVal_int(argv[1], NULL__null);
18192 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18193 }
18194 if (_v) {
18195 {
18196 int res = SWIG_AsVal_int(argv[2], NULL__null);
18197 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18198 }
18199 if (_v) {
18200 int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL__null, 0);
18201 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18202 if (_v) {
18203 return _wrap_new_GFitsImageSByte__SWIG_5(self, args);
18204 }
18205 }
18206 }
18207 }
18208 }
18209 if (argc == 5) {
18210 int _v;
18211 {
18212 int res = SWIG_AsVal_int(argv[0], NULL__null);
18213 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18214 }
18215 if (_v) {
18216 {
18217 int res = SWIG_AsVal_int(argv[1], NULL__null);
18218 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18219 }
18220 if (_v) {
18221 {
18222 int res = SWIG_AsVal_int(argv[2], NULL__null);
18223 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18224 }
18225 if (_v) {
18226 {
18227 int res = SWIG_AsVal_int(argv[3], NULL__null);
18228 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18229 }
18230 if (_v) {
18231 int res = SWIG_AsCharPtrAndSize(argv[4], 0, NULL__null, 0);
18232 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18233 if (_v) {
18234 return _wrap_new_GFitsImageSByte__SWIG_7(self, args);
18235 }
18236 }
18237 }
18238 }
18239 }
18240 }
18241
18242fail:
18243 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GFitsImageSByte'.\n"
18244 " Possible C/C++ prototypes are:\n"
18245 " GFitsImageSByte::GFitsImageSByte()\n"
18246 " GFitsImageSByte::GFitsImageSByte(int const &,char const *)\n"
18247 " GFitsImageSByte::GFitsImageSByte(int const &)\n"
18248 " GFitsImageSByte::GFitsImageSByte(int const &,int const &,char const *)\n"
18249 " GFitsImageSByte::GFitsImageSByte(int const &,int const &)\n"
18250 " GFitsImageSByte::GFitsImageSByte(int const &,int const &,int const &,char const *)\n"
18251 " GFitsImageSByte::GFitsImageSByte(int const &,int const &,int const &)\n"
18252 " GFitsImageSByte::GFitsImageSByte(int const &,int const &,int const &,int const &,char const *)\n"
18253 " GFitsImageSByte::GFitsImageSByte(int const &,int const &,int const &,int const &)\n"
18254 " GFitsImageSByte::GFitsImageSByte(int const &,int const *,char const *)\n"
18255 " GFitsImageSByte::GFitsImageSByte(int const &,int const *)\n"
18256 " GFitsImageSByte::GFitsImageSByte(GFitsImageSByte const &)\n");
18257 return 0;
18258}
18259
18260
18261SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GFitsImageSByte(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18262 PyObject *resultobj = 0;
18263 GFitsImageSByte *arg1 = (GFitsImageSByte *) 0 ;
18264 void *argp1 = 0 ;
18265 int res1 = 0 ;
18266 PyObject * obj0 = 0 ;
18267
18268 if (!PyArg_ParseTuple(args,(char *)"O:delete_GFitsImageSByte",&obj0)) SWIG_failgoto fail;
18269 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageSByte, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[14]
, 0x1 | 0, 0)
;
18270 if (!SWIG_IsOK(res1)(res1 >= 0)) {
18271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GFitsImageSByte" "', argument " "1"" of type '" "GFitsImageSByte *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GFitsImageSByte" "', argument "
"1"" of type '" "GFitsImageSByte *""'"); goto fail; } while(
0)
;
18272 }
18273 arg1 = reinterpret_cast< GFitsImageSByte * >(argp1);
18274 {
18275 try {
18276 delete arg1;
18277 }
18278 catch (const GException::out_of_range& e) {
18279 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
18280 }
18281 catch (const GExceptionHandler& e) {
18282 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18283 }
18284 catch (const std::exception& e) {
18285 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18286 }
18287 }
18288 resultobj = SWIG_Py_Void();
18289 return resultobj;
18290fail:
18291 return NULL__null;
18292}
18293
18294
18295SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageSByte_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18296 PyObject *resultobj = 0;
18297 GFitsImageSByte *arg1 = (GFitsImageSByte *) 0 ;
18298 void *argp1 = 0 ;
18299 int res1 = 0 ;
18300 PyObject * obj0 = 0 ;
18301
18302 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageSByte_clear",&obj0)) SWIG_failgoto fail;
18303 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageSByte, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[14]
, 0 | 0, 0)
;
18304 if (!SWIG_IsOK(res1)(res1 >= 0)) {
18305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageSByte_clear" "', argument " "1"" of type '" "GFitsImageSByte *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageSByte_clear" "', argument "
"1"" of type '" "GFitsImageSByte *""'"); goto fail; } while(
0)
;
18306 }
18307 arg1 = reinterpret_cast< GFitsImageSByte * >(argp1);
18308 {
18309 try {
18310 (arg1)->clear();
18311 }
18312 catch (const GException::out_of_range& e) {
18313 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
18314 }
18315 catch (const GExceptionHandler& e) {
18316 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18317 }
18318 catch (const std::exception& e) {
18319 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18320 }
18321 }
18322 resultobj = SWIG_Py_Void();
18323 return resultobj;
18324fail:
18325 return NULL__null;
18326}
18327
18328
18329SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageSByte_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18330 PyObject *resultobj = 0;
18331 GFitsImageSByte *arg1 = (GFitsImageSByte *) 0 ;
18332 void *argp1 = 0 ;
18333 int res1 = 0 ;
18334 PyObject * obj0 = 0 ;
18335 GFitsImageSByte *result = 0 ;
18336
18337 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageSByte_clone",&obj0)) SWIG_failgoto fail;
18338 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageSByte, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[14]
, 0 | 0, 0)
;
18339 if (!SWIG_IsOK(res1)(res1 >= 0)) {
18340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageSByte_clone" "', argument " "1"" of type '" "GFitsImageSByte const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageSByte_clone" "', argument "
"1"" of type '" "GFitsImageSByte const *""'"); goto fail; } while
(0)
;
18341 }
18342 arg1 = reinterpret_cast< GFitsImageSByte * >(argp1);
18343 {
18344 try {
18345 result = (GFitsImageSByte *)((GFitsImageSByte const *)arg1)->clone();
18346 }
18347 catch (const GException::out_of_range& e) {
18348 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
18349 }
18350 catch (const GExceptionHandler& e) {
18351 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18352 }
18353 catch (const std::exception& e) {
18354 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18355 }
18356 }
18357 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageSByte, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[14], 0
| 0)
;
18358 return resultobj;
18359fail:
18360 return NULL__null;
18361}
18362
18363
18364SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageSByte_pixel__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18365 PyObject *resultobj = 0;
18366 GFitsImageSByte *arg1 = (GFitsImageSByte *) 0 ;
18367 int *arg2 = 0 ;
18368 void *argp1 = 0 ;
18369 int res1 = 0 ;
18370 int temp2 ;
18371 int val2 ;
18372 int ecode2 = 0 ;
18373 PyObject * obj0 = 0 ;
18374 PyObject * obj1 = 0 ;
18375 double result;
18376
18377 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsImageSByte_pixel",&obj0,&obj1)) SWIG_failgoto fail;
18378 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageSByte, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[14]
, 0 | 0, 0)
;
18379 if (!SWIG_IsOK(res1)(res1 >= 0)) {
18380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageSByte_pixel" "', argument " "1"" of type '" "GFitsImageSByte const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageSByte_pixel" "', argument "
"1"" of type '" "GFitsImageSByte const *""'"); goto fail; } while
(0)
;
18381 }
18382 arg1 = reinterpret_cast< GFitsImageSByte * >(argp1);
18383 ecode2 = SWIG_AsVal_int(obj1, &val2);
18384 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
18385 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsImageSByte_pixel" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsImageSByte_pixel"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
18386 }
18387 temp2 = static_cast< int >(val2);
18388 arg2 = &temp2;
18389 {
18390 try {
18391 result = (double)((GFitsImageSByte const *)arg1)->pixel((int const &)*arg2);
18392 }
18393 catch (const GException::out_of_range& e) {
18394 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
18395 }
18396 catch (const GExceptionHandler& e) {
18397 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18398 }
18399 catch (const std::exception& e) {
18400 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18401 }
18402 }
18403 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
18404 return resultobj;
18405fail:
18406 return NULL__null;
18407}
18408
18409
18410SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageSByte_pixel__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18411 PyObject *resultobj = 0;
18412 GFitsImageSByte *arg1 = (GFitsImageSByte *) 0 ;
18413 int *arg2 = 0 ;
18414 int *arg3 = 0 ;
18415 void *argp1 = 0 ;
18416 int res1 = 0 ;
18417 int temp2 ;
18418 int val2 ;
18419 int ecode2 = 0 ;
18420 int temp3 ;
18421 int val3 ;
18422 int ecode3 = 0 ;
18423 PyObject * obj0 = 0 ;
18424 PyObject * obj1 = 0 ;
18425 PyObject * obj2 = 0 ;
18426 double result;
18427
18428 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsImageSByte_pixel",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
18429 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageSByte, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[14]
, 0 | 0, 0)
;
18430 if (!SWIG_IsOK(res1)(res1 >= 0)) {
18431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageSByte_pixel" "', argument " "1"" of type '" "GFitsImageSByte const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageSByte_pixel" "', argument "
"1"" of type '" "GFitsImageSByte const *""'"); goto fail; } while
(0)
;
18432 }
18433 arg1 = reinterpret_cast< GFitsImageSByte * >(argp1);
18434 ecode2 = SWIG_AsVal_int(obj1, &val2);
18435 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
18436 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsImageSByte_pixel" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsImageSByte_pixel"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
18437 }
18438 temp2 = static_cast< int >(val2);
18439 arg2 = &temp2;
18440 ecode3 = SWIG_AsVal_int(obj2, &val3);
18441 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
18442 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsImageSByte_pixel" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsImageSByte_pixel"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
18443 }
18444 temp3 = static_cast< int >(val3);
18445 arg3 = &temp3;
18446 {
18447 try {
18448 result = (double)((GFitsImageSByte const *)arg1)->pixel((int const &)*arg2,(int const &)*arg3);
18449 }
18450 catch (const GException::out_of_range& e) {
18451 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
18452 }
18453 catch (const GExceptionHandler& e) {
18454 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18455 }
18456 catch (const std::exception& e) {
18457 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18458 }
18459 }
18460 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
18461 return resultobj;
18462fail:
18463 return NULL__null;
18464}
18465
18466
18467SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageSByte_pixel__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18468 PyObject *resultobj = 0;
18469 GFitsImageSByte *arg1 = (GFitsImageSByte *) 0 ;
18470 int *arg2 = 0 ;
18471 int *arg3 = 0 ;
18472 int *arg4 = 0 ;
18473 void *argp1 = 0 ;
18474 int res1 = 0 ;
18475 int temp2 ;
18476 int val2 ;
18477 int ecode2 = 0 ;
18478 int temp3 ;
18479 int val3 ;
18480 int ecode3 = 0 ;
18481 int temp4 ;
18482 int val4 ;
18483 int ecode4 = 0 ;
18484 PyObject * obj0 = 0 ;
18485 PyObject * obj1 = 0 ;
18486 PyObject * obj2 = 0 ;
18487 PyObject * obj3 = 0 ;
18488 double result;
18489
18490 if (!PyArg_ParseTuple(args,(char *)"OOOO:GFitsImageSByte_pixel",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
18491 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageSByte, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[14]
, 0 | 0, 0)
;
18492 if (!SWIG_IsOK(res1)(res1 >= 0)) {
18493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageSByte_pixel" "', argument " "1"" of type '" "GFitsImageSByte const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageSByte_pixel" "', argument "
"1"" of type '" "GFitsImageSByte const *""'"); goto fail; } while
(0)
;
18494 }
18495 arg1 = reinterpret_cast< GFitsImageSByte * >(argp1);
18496 ecode2 = SWIG_AsVal_int(obj1, &val2);
18497 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
18498 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsImageSByte_pixel" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsImageSByte_pixel"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
18499 }
18500 temp2 = static_cast< int >(val2);
18501 arg2 = &temp2;
18502 ecode3 = SWIG_AsVal_int(obj2, &val3);
18503 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
18504 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsImageSByte_pixel" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsImageSByte_pixel"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
18505 }
18506 temp3 = static_cast< int >(val3);
18507 arg3 = &temp3;
18508 ecode4 = SWIG_AsVal_int(obj3, &val4);
18509 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
18510 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GFitsImageSByte_pixel" "', argument " "4"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GFitsImageSByte_pixel"
"', argument " "4"" of type '" "int""'"); goto fail; } while
(0)
;
18511 }
18512 temp4 = static_cast< int >(val4);
18513 arg4 = &temp4;
18514 {
18515 try {
18516 result = (double)((GFitsImageSByte const *)arg1)->pixel((int const &)*arg2,(int const &)*arg3,(int const &)*arg4);
18517 }
18518 catch (const GException::out_of_range& e) {
18519 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
18520 }
18521 catch (const GExceptionHandler& e) {
18522 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18523 }
18524 catch (const std::exception& e) {
18525 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18526 }
18527 }
18528 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
18529 return resultobj;
18530fail:
18531 return NULL__null;
18532}
18533
18534
18535SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageSByte_pixel__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18536 PyObject *resultobj = 0;
18537 GFitsImageSByte *arg1 = (GFitsImageSByte *) 0 ;
18538 int *arg2 = 0 ;
18539 int *arg3 = 0 ;
18540 int *arg4 = 0 ;
18541 int *arg5 = 0 ;
18542 void *argp1 = 0 ;
18543 int res1 = 0 ;
18544 int temp2 ;
18545 int val2 ;
18546 int ecode2 = 0 ;
18547 int temp3 ;
18548 int val3 ;
18549 int ecode3 = 0 ;
18550 int temp4 ;
18551 int val4 ;
18552 int ecode4 = 0 ;
18553 int temp5 ;
18554 int val5 ;
18555 int ecode5 = 0 ;
18556 PyObject * obj0 = 0 ;
18557 PyObject * obj1 = 0 ;
18558 PyObject * obj2 = 0 ;
18559 PyObject * obj3 = 0 ;
18560 PyObject * obj4 = 0 ;
18561 double result;
18562
18563 if (!PyArg_ParseTuple(args,(char *)"OOOOO:GFitsImageSByte_pixel",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_failgoto fail;
18564 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageSByte, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[14]
, 0 | 0, 0)
;
18565 if (!SWIG_IsOK(res1)(res1 >= 0)) {
18566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageSByte_pixel" "', argument " "1"" of type '" "GFitsImageSByte const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageSByte_pixel" "', argument "
"1"" of type '" "GFitsImageSByte const *""'"); goto fail; } while
(0)
;
18567 }
18568 arg1 = reinterpret_cast< GFitsImageSByte * >(argp1);
18569 ecode2 = SWIG_AsVal_int(obj1, &val2);
18570 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
18571 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsImageSByte_pixel" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsImageSByte_pixel"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
18572 }
18573 temp2 = static_cast< int >(val2);
18574 arg2 = &temp2;
18575 ecode3 = SWIG_AsVal_int(obj2, &val3);
18576 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
18577 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsImageSByte_pixel" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsImageSByte_pixel"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
18578 }
18579 temp3 = static_cast< int >(val3);
18580 arg3 = &temp3;
18581 ecode4 = SWIG_AsVal_int(obj3, &val4);
18582 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
18583 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GFitsImageSByte_pixel" "', argument " "4"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GFitsImageSByte_pixel"
"', argument " "4"" of type '" "int""'"); goto fail; } while
(0)
;
18584 }
18585 temp4 = static_cast< int >(val4);
18586 arg4 = &temp4;
18587 ecode5 = SWIG_AsVal_int(obj4, &val5);
18588 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
18589 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GFitsImageSByte_pixel" "', argument " "5"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GFitsImageSByte_pixel"
"', argument " "5"" of type '" "int""'"); goto fail; } while
(0)
;
18590 }
18591 temp5 = static_cast< int >(val5);
18592 arg5 = &temp5;
18593 {
18594 try {
18595 result = (double)((GFitsImageSByte const *)arg1)->pixel((int const &)*arg2,(int const &)*arg3,(int const &)*arg4,(int const &)*arg5);
18596 }
18597 catch (const GException::out_of_range& e) {
18598 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
18599 }
18600 catch (const GExceptionHandler& e) {
18601 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18602 }
18603 catch (const std::exception& e) {
18604 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18605 }
18606 }
18607 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
18608 return resultobj;
18609fail:
18610 return NULL__null;
18611}
18612
18613
18614SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageSByte_pixel(PyObject *self, PyObject *args) {
18615 int argc;
18616 PyObject *argv[6];
18617 int ii;
18618
18619 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
18620 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
18621 for (ii = 0; (ii < 5) && (ii < argc); ii++) {
18622 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
18623 }
18624 if (argc == 2) {
18625 int _v;
18626 void *vptr = 0;
18627 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsImageSByte, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[14
], 0, 0)
;
18628 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18629 if (_v) {
18630 {
18631 int res = SWIG_AsVal_int(argv[1], NULL__null);
18632 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18633 }
18634 if (_v) {
18635 return _wrap_GFitsImageSByte_pixel__SWIG_0(self, args);
18636 }
18637 }
18638 }
18639 if (argc == 3) {
18640 int _v;
18641 void *vptr = 0;
18642 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsImageSByte, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[14
], 0, 0)
;
18643 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18644 if (_v) {
18645 {
18646 int res = SWIG_AsVal_int(argv[1], NULL__null);
18647 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18648 }
18649 if (_v) {
18650 {
18651 int res = SWIG_AsVal_int(argv[2], NULL__null);
18652 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18653 }
18654 if (_v) {
18655 return _wrap_GFitsImageSByte_pixel__SWIG_1(self, args);
18656 }
18657 }
18658 }
18659 }
18660 if (argc == 4) {
18661 int _v;
18662 void *vptr = 0;
18663 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsImageSByte, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[14
], 0, 0)
;
18664 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18665 if (_v) {
18666 {
18667 int res = SWIG_AsVal_int(argv[1], NULL__null);
18668 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18669 }
18670 if (_v) {
18671 {
18672 int res = SWIG_AsVal_int(argv[2], NULL__null);
18673 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18674 }
18675 if (_v) {
18676 {
18677 int res = SWIG_AsVal_int(argv[3], NULL__null);
18678 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18679 }
18680 if (_v) {
18681 return _wrap_GFitsImageSByte_pixel__SWIG_2(self, args);
18682 }
18683 }
18684 }
18685 }
18686 }
18687 if (argc == 5) {
18688 int _v;
18689 void *vptr = 0;
18690 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsImageSByte, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[14
], 0, 0)
;
18691 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18692 if (_v) {
18693 {
18694 int res = SWIG_AsVal_int(argv[1], NULL__null);
18695 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18696 }
18697 if (_v) {
18698 {
18699 int res = SWIG_AsVal_int(argv[2], NULL__null);
18700 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18701 }
18702 if (_v) {
18703 {
18704 int res = SWIG_AsVal_int(argv[3], NULL__null);
18705 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18706 }
18707 if (_v) {
18708 {
18709 int res = SWIG_AsVal_int(argv[4], NULL__null);
18710 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
18711 }
18712 if (_v) {
18713 return _wrap_GFitsImageSByte_pixel__SWIG_3(self, args);
18714 }
18715 }
18716 }
18717 }
18718 }
18719 }
18720
18721fail:
18722 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsImageSByte_pixel'.\n"
18723 " Possible C/C++ prototypes are:\n"
18724 " GFitsImageSByte::pixel(int const &) const\n"
18725 " GFitsImageSByte::pixel(int const &,int const &) const\n"
18726 " GFitsImageSByte::pixel(int const &,int const &,int const &) const\n"
18727 " GFitsImageSByte::pixel(int const &,int const &,int const &,int const &) const\n");
18728 return 0;
18729}
18730
18731
18732SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageSByte_pixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18733 PyObject *resultobj = 0;
18734 GFitsImageSByte *arg1 = (GFitsImageSByte *) 0 ;
18735 void *argp1 = 0 ;
18736 int res1 = 0 ;
18737 PyObject * obj0 = 0 ;
18738 void *result = 0 ;
18739
18740 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageSByte_pixels",&obj0)) SWIG_failgoto fail;
18741 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageSByte, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[14]
, 0 | 0, 0)
;
18742 if (!SWIG_IsOK(res1)(res1 >= 0)) {
18743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageSByte_pixels" "', argument " "1"" of type '" "GFitsImageSByte *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageSByte_pixels" "', argument "
"1"" of type '" "GFitsImageSByte *""'"); goto fail; } while(
0)
;
18744 }
18745 arg1 = reinterpret_cast< GFitsImageSByte * >(argp1);
18746 {
18747 try {
18748 result = (void *)(arg1)->pixels();
18749 }
18750 catch (const GException::out_of_range& e) {
18751 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
18752 }
18753 catch (const GExceptionHandler& e) {
18754 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18755 }
18756 catch (const std::exception& e) {
18757 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18758 }
18759 }
18760 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[57], 0
| 0)
;
18761 return resultobj;
18762fail:
18763 return NULL__null;
18764}
18765
18766
18767SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageSByte_type(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18768 PyObject *resultobj = 0;
18769 GFitsImageSByte *arg1 = (GFitsImageSByte *) 0 ;
18770 void *argp1 = 0 ;
18771 int res1 = 0 ;
18772 PyObject * obj0 = 0 ;
18773 int result;
18774
18775 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageSByte_type",&obj0)) SWIG_failgoto fail;
18776 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageSByte, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[14]
, 0 | 0, 0)
;
18777 if (!SWIG_IsOK(res1)(res1 >= 0)) {
18778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageSByte_type" "', argument " "1"" of type '" "GFitsImageSByte const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageSByte_type" "', argument "
"1"" of type '" "GFitsImageSByte const *""'"); goto fail; } while
(0)
;
18779 }
18780 arg1 = reinterpret_cast< GFitsImageSByte * >(argp1);
18781 {
18782 try {
18783 result = (int)((GFitsImageSByte const *)arg1)->type();
18784 }
18785 catch (const GException::out_of_range& e) {
18786 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
18787 }
18788 catch (const GExceptionHandler& e) {
18789 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18790 }
18791 catch (const std::exception& e) {
18792 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18793 }
18794 }
18795 resultobj = SWIG_From_int(static_cast< int >(result));
18796 return resultobj;
18797fail:
18798 return NULL__null;
18799}
18800
18801
18802SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageSByte___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18803 PyObject *resultobj = 0;
18804 GFitsImageSByte *arg1 = (GFitsImageSByte *) 0 ;
18805 int *arg2 ;
18806 void *argp1 = 0 ;
18807 int res1 = 0 ;
18808 int temp2[5] ;
18809 PyObject * obj0 = 0 ;
18810 PyObject * obj1 = 0 ;
18811 char result;
18812
18813 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsImageSByte___getitem__",&obj0,&obj1)) SWIG_failgoto fail;
18814 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageSByte, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[14]
, 0 | 0, 0)
;
18815 if (!SWIG_IsOK(res1)(res1 >= 0)) {
18816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageSByte___getitem__" "', argument " "1"" of type '" "GFitsImageSByte *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageSByte___getitem__"
"', argument " "1"" of type '" "GFitsImageSByte *""'"); goto
fail; } while(0)
;
18817 }
18818 arg1 = reinterpret_cast< GFitsImageSByte * >(argp1);
18819 {
18820 if (!image_pixel_tuple(obj1,temp2)) {
18821 return NULL__null;
18822 }
18823 arg2 = &temp2[0];
18824 }
18825 {
18826 try {
18827 result = (char)GFitsImageSByte___getitem__(arg1,arg2);
18828 }
18829 catch (const GException::out_of_range& e) {
18830 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
18831 }
18832 catch (const GExceptionHandler& e) {
18833 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18834 }
18835 catch (const std::exception& e) {
18836 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18837 }
18838 }
18839 resultobj = SWIG_From_char(static_cast< char >(result));
18840 return resultobj;
18841fail:
18842 return NULL__null;
18843}
18844
18845
18846SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageSByte___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18847 PyObject *resultobj = 0;
18848 GFitsImageSByte *arg1 = (GFitsImageSByte *) 0 ;
18849 int *arg2 ;
18850 char arg3 ;
18851 void *argp1 = 0 ;
18852 int res1 = 0 ;
18853 int temp2[5] ;
18854 char val3 ;
18855 int ecode3 = 0 ;
18856 PyObject * obj0 = 0 ;
18857 PyObject * obj1 = 0 ;
18858 PyObject * obj2 = 0 ;
18859
18860 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsImageSByte___setitem__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
18861 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageSByte, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[14]
, 0 | 0, 0)
;
18862 if (!SWIG_IsOK(res1)(res1 >= 0)) {
18863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageSByte___setitem__" "', argument " "1"" of type '" "GFitsImageSByte *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageSByte___setitem__"
"', argument " "1"" of type '" "GFitsImageSByte *""'"); goto
fail; } while(0)
;
18864 }
18865 arg1 = reinterpret_cast< GFitsImageSByte * >(argp1);
18866 {
18867 if (!image_pixel_tuple(obj1,temp2)) {
18868 return NULL__null;
18869 }
18870 arg2 = &temp2[0];
18871 }
18872 ecode3 = SWIG_AsVal_char(obj2, &val3);
18873 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
18874 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsImageSByte___setitem__" "', argument " "3"" of type '" "char""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsImageSByte___setitem__"
"', argument " "3"" of type '" "char""'"); goto fail; } while
(0)
;
18875 }
18876 arg3 = static_cast< char >(val3);
18877 {
18878 try {
18879 GFitsImageSByte___setitem__(arg1,arg2,arg3);
18880 }
18881 catch (const GException::out_of_range& e) {
18882 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
18883 }
18884 catch (const GExceptionHandler& e) {
18885 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18886 }
18887 catch (const std::exception& e) {
18888 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18889 }
18890 }
18891 resultobj = SWIG_Py_Void();
18892 return resultobj;
18893fail:
18894 return NULL__null;
18895}
18896
18897
18898SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageSByte_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18899 PyObject *resultobj = 0;
18900 GFitsImageSByte *arg1 = (GFitsImageSByte *) 0 ;
18901 void *argp1 = 0 ;
18902 int res1 = 0 ;
18903 PyObject * obj0 = 0 ;
18904 GFitsImageSByte result;
18905
18906 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageSByte_copy",&obj0)) SWIG_failgoto fail;
18907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageSByte, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[14]
, 0 | 0, 0)
;
18908 if (!SWIG_IsOK(res1)(res1 >= 0)) {
18909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageSByte_copy" "', argument " "1"" of type '" "GFitsImageSByte *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageSByte_copy" "', argument "
"1"" of type '" "GFitsImageSByte *""'"); goto fail; } while(
0)
;
18910 }
18911 arg1 = reinterpret_cast< GFitsImageSByte * >(argp1);
18912 {
18913 try {
18914 result = GFitsImageSByte_copy(arg1);
18915 }
18916 catch (const GException::out_of_range& e) {
18917 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
18918 }
18919 catch (const GExceptionHandler& e) {
18920 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18921 }
18922 catch (const std::exception& e) {
18923 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18924 }
18925 }
18926 resultobj = SWIG_NewPointerObj((new GFitsImageSByte(static_cast< const GFitsImageSByte& >(result))), SWIGTYPE_p_GFitsImageSByte, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GFitsImageSByte(static_cast
< const GFitsImageSByte& >(result))), swig_types[14
], 0x1 | 0)
;
18927 return resultobj;
18928fail:
18929 return NULL__null;
18930}
18931
18932
18933SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GFitsImageSByte_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18934 PyObject *obj;
18935 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
18936 SWIG_TypeNewClientData(SWIGTYPE_p_GFitsImageSByteswig_types[14], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
18937 return SWIG_Py_Void();
18938}
18939
18940SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageUShort__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18941 PyObject *resultobj = 0;
18942 GFitsImageUShort *result = 0 ;
18943
18944 if (!PyArg_ParseTuple(args,(char *)":new_GFitsImageUShort")) SWIG_failgoto fail;
18945 {
18946 try {
18947 result = (GFitsImageUShort *)new GFitsImageUShort();
18948 }
18949 catch (const GException::out_of_range& e) {
18950 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
18951 }
18952 catch (const GExceptionHandler& e) {
18953 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18954 }
18955 catch (const std::exception& e) {
18956 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
18957 }
18958 }
18959 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageUShort, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[17], (
(0x1 << 1) | 0x1) | 0)
;
18960 return resultobj;
18961fail:
18962 return NULL__null;
18963}
18964
18965
18966SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageUShort__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18967 PyObject *resultobj = 0;
18968 int *arg1 = 0 ;
18969 unsigned short *arg2 = (unsigned short *) 0 ;
18970 int temp1 ;
18971 int val1 ;
18972 int ecode1 = 0 ;
18973 void *argp2 = 0 ;
18974 int res2 = 0 ;
18975 PyObject * obj0 = 0 ;
18976 PyObject * obj1 = 0 ;
18977 GFitsImageUShort *result = 0 ;
18978
18979 if (!PyArg_ParseTuple(args,(char *)"OO:new_GFitsImageUShort",&obj0,&obj1)) SWIG_failgoto fail;
18980 ecode1 = SWIG_AsVal_int(obj0, &val1);
18981 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
18982 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageUShort" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageUShort" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
18983 }
18984 temp1 = static_cast< int >(val1);
18985 arg1 = &temp1;
18986 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_short, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[55]
, 0 | 0, 0)
;
18987 if (!SWIG_IsOK(res2)(res2 >= 0)) {
18988 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_GFitsImageUShort" "', argument " "2"" of type '" "unsigned short const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "new_GFitsImageUShort" "', argument "
"2"" of type '" "unsigned short const *""'"); goto fail; } while
(0)
;
18989 }
18990 arg2 = reinterpret_cast< unsigned short * >(argp2);
18991 {
18992 try {
18993 result = (GFitsImageUShort *)new GFitsImageUShort((int const &)*arg1,(unsigned short const *)arg2);
18994 }
18995 catch (const GException::out_of_range& e) {
18996 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
18997 }
18998 catch (const GExceptionHandler& e) {
18999 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19000 }
19001 catch (const std::exception& e) {
19002 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19003 }
19004 }
19005 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageUShort, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[17], (
(0x1 << 1) | 0x1) | 0)
;
19006 return resultobj;
19007fail:
19008 return NULL__null;
19009}
19010
19011
19012SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageUShort__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19013 PyObject *resultobj = 0;
19014 int *arg1 = 0 ;
19015 int temp1 ;
19016 int val1 ;
19017 int ecode1 = 0 ;
19018 PyObject * obj0 = 0 ;
19019 GFitsImageUShort *result = 0 ;
19020
19021 if (!PyArg_ParseTuple(args,(char *)"O:new_GFitsImageUShort",&obj0)) SWIG_failgoto fail;
19022 ecode1 = SWIG_AsVal_int(obj0, &val1);
19023 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
19024 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageUShort" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageUShort" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
19025 }
19026 temp1 = static_cast< int >(val1);
19027 arg1 = &temp1;
19028 {
19029 try {
19030 result = (GFitsImageUShort *)new GFitsImageUShort((int const &)*arg1);
19031 }
19032 catch (const GException::out_of_range& e) {
19033 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
19034 }
19035 catch (const GExceptionHandler& e) {
19036 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19037 }
19038 catch (const std::exception& e) {
19039 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19040 }
19041 }
19042 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageUShort, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[17], (
(0x1 << 1) | 0x1) | 0)
;
19043 return resultobj;
19044fail:
19045 return NULL__null;
19046}
19047
19048
19049SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageUShort__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19050 PyObject *resultobj = 0;
19051 int *arg1 = 0 ;
19052 int *arg2 = 0 ;
19053 unsigned short *arg3 = (unsigned short *) 0 ;
19054 int temp1 ;
19055 int val1 ;
19056 int ecode1 = 0 ;
19057 int temp2 ;
19058 int val2 ;
19059 int ecode2 = 0 ;
19060 void *argp3 = 0 ;
19061 int res3 = 0 ;
19062 PyObject * obj0 = 0 ;
19063 PyObject * obj1 = 0 ;
19064 PyObject * obj2 = 0 ;
19065 GFitsImageUShort *result = 0 ;
19066
19067 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GFitsImageUShort",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
19068 ecode1 = SWIG_AsVal_int(obj0, &val1);
19069 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
19070 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageUShort" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageUShort" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
19071 }
19072 temp1 = static_cast< int >(val1);
19073 arg1 = &temp1;
19074 ecode2 = SWIG_AsVal_int(obj1, &val2);
19075 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
19076 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageUShort" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageUShort" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
19077 }
19078 temp2 = static_cast< int >(val2);
19079 arg2 = &temp2;
19080 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_unsigned_short, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[55]
, 0 | 0, 0)
;
19081 if (!SWIG_IsOK(res3)(res3 >= 0)) {
19082 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_GFitsImageUShort" "', argument " "3"" of type '" "unsigned short const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "new_GFitsImageUShort" "', argument "
"3"" of type '" "unsigned short const *""'"); goto fail; } while
(0)
;
19083 }
19084 arg3 = reinterpret_cast< unsigned short * >(argp3);
19085 {
19086 try {
19087 result = (GFitsImageUShort *)new GFitsImageUShort((int const &)*arg1,(int const &)*arg2,(unsigned short const *)arg3);
19088 }
19089 catch (const GException::out_of_range& e) {
19090 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
19091 }
19092 catch (const GExceptionHandler& e) {
19093 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19094 }
19095 catch (const std::exception& e) {
19096 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19097 }
19098 }
19099 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageUShort, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[17], (
(0x1 << 1) | 0x1) | 0)
;
19100 return resultobj;
19101fail:
19102 return NULL__null;
19103}
19104
19105
19106SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageUShort__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19107 PyObject *resultobj = 0;
19108 int *arg1 = 0 ;
19109 int *arg2 = 0 ;
19110 int temp1 ;
19111 int val1 ;
19112 int ecode1 = 0 ;
19113 int temp2 ;
19114 int val2 ;
19115 int ecode2 = 0 ;
19116 PyObject * obj0 = 0 ;
19117 PyObject * obj1 = 0 ;
19118 GFitsImageUShort *result = 0 ;
19119
19120 if (!PyArg_ParseTuple(args,(char *)"OO:new_GFitsImageUShort",&obj0,&obj1)) SWIG_failgoto fail;
19121 ecode1 = SWIG_AsVal_int(obj0, &val1);
19122 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
19123 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageUShort" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageUShort" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
19124 }
19125 temp1 = static_cast< int >(val1);
19126 arg1 = &temp1;
19127 ecode2 = SWIG_AsVal_int(obj1, &val2);
19128 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
19129 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageUShort" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageUShort" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
19130 }
19131 temp2 = static_cast< int >(val2);
19132 arg2 = &temp2;
19133 {
19134 try {
19135 result = (GFitsImageUShort *)new GFitsImageUShort((int const &)*arg1,(int const &)*arg2);
19136 }
19137 catch (const GException::out_of_range& e) {
19138 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
19139 }
19140 catch (const GExceptionHandler& e) {
19141 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19142 }
19143 catch (const std::exception& e) {
19144 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19145 }
19146 }
19147 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageUShort, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[17], (
(0x1 << 1) | 0x1) | 0)
;
19148 return resultobj;
19149fail:
19150 return NULL__null;
19151}
19152
19153
19154SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageUShort__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19155 PyObject *resultobj = 0;
19156 int *arg1 = 0 ;
19157 int *arg2 = 0 ;
19158 int *arg3 = 0 ;
19159 unsigned short *arg4 = (unsigned short *) 0 ;
19160 int temp1 ;
19161 int val1 ;
19162 int ecode1 = 0 ;
19163 int temp2 ;
19164 int val2 ;
19165 int ecode2 = 0 ;
19166 int temp3 ;
19167 int val3 ;
19168 int ecode3 = 0 ;
19169 void *argp4 = 0 ;
19170 int res4 = 0 ;
19171 PyObject * obj0 = 0 ;
19172 PyObject * obj1 = 0 ;
19173 PyObject * obj2 = 0 ;
19174 PyObject * obj3 = 0 ;
19175 GFitsImageUShort *result = 0 ;
19176
19177 if (!PyArg_ParseTuple(args,(char *)"OOOO:new_GFitsImageUShort",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
19178 ecode1 = SWIG_AsVal_int(obj0, &val1);
19179 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
19180 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageUShort" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageUShort" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
19181 }
19182 temp1 = static_cast< int >(val1);
19183 arg1 = &temp1;
19184 ecode2 = SWIG_AsVal_int(obj1, &val2);
19185 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
19186 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageUShort" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageUShort" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
19187 }
19188 temp2 = static_cast< int >(val2);
19189 arg2 = &temp2;
19190 ecode3 = SWIG_AsVal_int(obj2, &val3);
19191 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
19192 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsImageUShort" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsImageUShort" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
19193 }
19194 temp3 = static_cast< int >(val3);
19195 arg3 = &temp3;
19196 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_unsigned_short, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj3, &argp4, swig_types[55]
, 0 | 0, 0)
;
19197 if (!SWIG_IsOK(res4)(res4 >= 0)) {
19198 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_GFitsImageUShort" "', argument " "4"" of type '" "unsigned short const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res4 != (
-1)) ? res4 : -5)), "in method '" "new_GFitsImageUShort" "', argument "
"4"" of type '" "unsigned short const *""'"); goto fail; } while
(0)
;
19199 }
19200 arg4 = reinterpret_cast< unsigned short * >(argp4);
19201 {
19202 try {
19203 result = (GFitsImageUShort *)new GFitsImageUShort((int const &)*arg1,(int const &)*arg2,(int const &)*arg3,(unsigned short const *)arg4);
19204 }
19205 catch (const GException::out_of_range& e) {
19206 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
19207 }
19208 catch (const GExceptionHandler& e) {
19209 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19210 }
19211 catch (const std::exception& e) {
19212 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19213 }
19214 }
19215 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageUShort, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[17], (
(0x1 << 1) | 0x1) | 0)
;
19216 return resultobj;
19217fail:
19218 return NULL__null;
19219}
19220
19221
19222SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageUShort__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19223 PyObject *resultobj = 0;
19224 int *arg1 = 0 ;
19225 int *arg2 = 0 ;
19226 int *arg3 = 0 ;
19227 int temp1 ;
19228 int val1 ;
19229 int ecode1 = 0 ;
19230 int temp2 ;
19231 int val2 ;
19232 int ecode2 = 0 ;
19233 int temp3 ;
19234 int val3 ;
19235 int ecode3 = 0 ;
19236 PyObject * obj0 = 0 ;
19237 PyObject * obj1 = 0 ;
19238 PyObject * obj2 = 0 ;
19239 GFitsImageUShort *result = 0 ;
19240
19241 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GFitsImageUShort",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
19242 ecode1 = SWIG_AsVal_int(obj0, &val1);
19243 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
19244 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageUShort" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageUShort" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
19245 }
19246 temp1 = static_cast< int >(val1);
19247 arg1 = &temp1;
19248 ecode2 = SWIG_AsVal_int(obj1, &val2);
19249 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
19250 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageUShort" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageUShort" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
19251 }
19252 temp2 = static_cast< int >(val2);
19253 arg2 = &temp2;
19254 ecode3 = SWIG_AsVal_int(obj2, &val3);
19255 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
19256 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsImageUShort" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsImageUShort" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
19257 }
19258 temp3 = static_cast< int >(val3);
19259 arg3 = &temp3;
19260 {
19261 try {
19262 result = (GFitsImageUShort *)new GFitsImageUShort((int const &)*arg1,(int const &)*arg2,(int const &)*arg3);
19263 }
19264 catch (const GException::out_of_range& e) {
19265 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
19266 }
19267 catch (const GExceptionHandler& e) {
19268 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19269 }
19270 catch (const std::exception& e) {
19271 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19272 }
19273 }
19274 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageUShort, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[17], (
(0x1 << 1) | 0x1) | 0)
;
19275 return resultobj;
19276fail:
19277 return NULL__null;
19278}
19279
19280
19281SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageUShort__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19282 PyObject *resultobj = 0;
19283 int *arg1 = 0 ;
19284 int *arg2 = 0 ;
19285 int *arg3 = 0 ;
19286 int *arg4 = 0 ;
19287 unsigned short *arg5 = (unsigned short *) 0 ;
19288 int temp1 ;
19289 int val1 ;
19290 int ecode1 = 0 ;
19291 int temp2 ;
19292 int val2 ;
19293 int ecode2 = 0 ;
19294 int temp3 ;
19295 int val3 ;
19296 int ecode3 = 0 ;
19297 int temp4 ;
19298 int val4 ;
19299 int ecode4 = 0 ;
19300 void *argp5 = 0 ;
19301 int res5 = 0 ;
19302 PyObject * obj0 = 0 ;
19303 PyObject * obj1 = 0 ;
19304 PyObject * obj2 = 0 ;
19305 PyObject * obj3 = 0 ;
19306 PyObject * obj4 = 0 ;
19307 GFitsImageUShort *result = 0 ;
19308
19309 if (!PyArg_ParseTuple(args,(char *)"OOOOO:new_GFitsImageUShort",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_failgoto fail;
19310 ecode1 = SWIG_AsVal_int(obj0, &val1);
19311 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
19312 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageUShort" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageUShort" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
19313 }
19314 temp1 = static_cast< int >(val1);
19315 arg1 = &temp1;
19316 ecode2 = SWIG_AsVal_int(obj1, &val2);
19317 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
19318 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageUShort" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageUShort" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
19319 }
19320 temp2 = static_cast< int >(val2);
19321 arg2 = &temp2;
19322 ecode3 = SWIG_AsVal_int(obj2, &val3);
19323 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
19324 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsImageUShort" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsImageUShort" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
19325 }
19326 temp3 = static_cast< int >(val3);
19327 arg3 = &temp3;
19328 ecode4 = SWIG_AsVal_int(obj3, &val4);
19329 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
19330 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_GFitsImageUShort" "', argument " "4"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "new_GFitsImageUShort" "', argument "
"4"" of type '" "int""'"); goto fail; } while(0)
;
19331 }
19332 temp4 = static_cast< int >(val4);
19333 arg4 = &temp4;
19334 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_unsigned_short, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj4, &argp5, swig_types[55]
, 0 | 0, 0)
;
19335 if (!SWIG_IsOK(res5)(res5 >= 0)) {
19336 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_GFitsImageUShort" "', argument " "5"" of type '" "unsigned short const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res5 != (
-1)) ? res5 : -5)), "in method '" "new_GFitsImageUShort" "', argument "
"5"" of type '" "unsigned short const *""'"); goto fail; } while
(0)
;
19337 }
19338 arg5 = reinterpret_cast< unsigned short * >(argp5);
19339 {
19340 try {
19341 result = (GFitsImageUShort *)new GFitsImageUShort((int const &)*arg1,(int const &)*arg2,(int const &)*arg3,(int const &)*arg4,(unsigned short const *)arg5);
19342 }
19343 catch (const GException::out_of_range& e) {
19344 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
19345 }
19346 catch (const GExceptionHandler& e) {
19347 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19348 }
19349 catch (const std::exception& e) {
19350 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19351 }
19352 }
19353 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageUShort, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[17], (
(0x1 << 1) | 0x1) | 0)
;
19354 return resultobj;
19355fail:
19356 return NULL__null;
19357}
19358
19359
19360SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageUShort__SWIG_8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19361 PyObject *resultobj = 0;
19362 int *arg1 = 0 ;
19363 int *arg2 = 0 ;
19364 int *arg3 = 0 ;
19365 int *arg4 = 0 ;
19366 int temp1 ;
19367 int val1 ;
19368 int ecode1 = 0 ;
19369 int temp2 ;
19370 int val2 ;
19371 int ecode2 = 0 ;
19372 int temp3 ;
19373 int val3 ;
19374 int ecode3 = 0 ;
19375 int temp4 ;
19376 int val4 ;
19377 int ecode4 = 0 ;
19378 PyObject * obj0 = 0 ;
19379 PyObject * obj1 = 0 ;
19380 PyObject * obj2 = 0 ;
19381 PyObject * obj3 = 0 ;
19382 GFitsImageUShort *result = 0 ;
19383
19384 if (!PyArg_ParseTuple(args,(char *)"OOOO:new_GFitsImageUShort",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
19385 ecode1 = SWIG_AsVal_int(obj0, &val1);
19386 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
19387 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageUShort" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageUShort" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
19388 }
19389 temp1 = static_cast< int >(val1);
19390 arg1 = &temp1;
19391 ecode2 = SWIG_AsVal_int(obj1, &val2);
19392 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
19393 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageUShort" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageUShort" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
19394 }
19395 temp2 = static_cast< int >(val2);
19396 arg2 = &temp2;
19397 ecode3 = SWIG_AsVal_int(obj2, &val3);
19398 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
19399 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsImageUShort" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsImageUShort" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
19400 }
19401 temp3 = static_cast< int >(val3);
19402 arg3 = &temp3;
19403 ecode4 = SWIG_AsVal_int(obj3, &val4);
19404 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
19405 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_GFitsImageUShort" "', argument " "4"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "new_GFitsImageUShort" "', argument "
"4"" of type '" "int""'"); goto fail; } while(0)
;
19406 }
19407 temp4 = static_cast< int >(val4);
19408 arg4 = &temp4;
19409 {
19410 try {
19411 result = (GFitsImageUShort *)new GFitsImageUShort((int const &)*arg1,(int const &)*arg2,(int const &)*arg3,(int const &)*arg4);
19412 }
19413 catch (const GException::out_of_range& e) {
19414 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
19415 }
19416 catch (const GExceptionHandler& e) {
19417 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19418 }
19419 catch (const std::exception& e) {
19420 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19421 }
19422 }
19423 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageUShort, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[17], (
(0x1 << 1) | 0x1) | 0)
;
19424 return resultobj;
19425fail:
19426 return NULL__null;
19427}
19428
19429
19430SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageUShort__SWIG_9(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19431 PyObject *resultobj = 0;
19432 int *arg1 = 0 ;
19433 int *arg2 = (int *) 0 ;
19434 unsigned short *arg3 = (unsigned short *) 0 ;
19435 int temp1 ;
19436 int val1 ;
19437 int ecode1 = 0 ;
19438 void *argp2 = 0 ;
19439 int res2 = 0 ;
19440 void *argp3 = 0 ;
19441 int res3 = 0 ;
19442 PyObject * obj0 = 0 ;
19443 PyObject * obj1 = 0 ;
19444 PyObject * obj2 = 0 ;
19445 GFitsImageUShort *result = 0 ;
19446
19447 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GFitsImageUShort",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
19448 ecode1 = SWIG_AsVal_int(obj0, &val1);
19449 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
19450 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageUShort" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageUShort" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
19451 }
19452 temp1 = static_cast< int >(val1);
19453 arg1 = &temp1;
19454 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[41]
, 0 | 0, 0)
;
19455 if (!SWIG_IsOK(res2)(res2 >= 0)) {
19456 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_GFitsImageUShort" "', argument " "2"" of type '" "int const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "new_GFitsImageUShort" "', argument "
"2"" of type '" "int const *""'"); goto fail; } while(0)
;
19457 }
19458 arg2 = reinterpret_cast< int * >(argp2);
19459 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_unsigned_short, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[55]
, 0 | 0, 0)
;
19460 if (!SWIG_IsOK(res3)(res3 >= 0)) {
19461 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_GFitsImageUShort" "', argument " "3"" of type '" "unsigned short const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "new_GFitsImageUShort" "', argument "
"3"" of type '" "unsigned short const *""'"); goto fail; } while
(0)
;
19462 }
19463 arg3 = reinterpret_cast< unsigned short * >(argp3);
19464 {
19465 try {
19466 result = (GFitsImageUShort *)new GFitsImageUShort((int const &)*arg1,(int const *)arg2,(unsigned short const *)arg3);
19467 }
19468 catch (const GException::out_of_range& e) {
19469 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
19470 }
19471 catch (const GExceptionHandler& e) {
19472 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19473 }
19474 catch (const std::exception& e) {
19475 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19476 }
19477 }
19478 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageUShort, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[17], (
(0x1 << 1) | 0x1) | 0)
;
19479 return resultobj;
19480fail:
19481 return NULL__null;
19482}
19483
19484
19485SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageUShort__SWIG_10(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19486 PyObject *resultobj = 0;
19487 int *arg1 = 0 ;
19488 int *arg2 = (int *) 0 ;
19489 int temp1 ;
19490 int val1 ;
19491 int ecode1 = 0 ;
19492 void *argp2 = 0 ;
19493 int res2 = 0 ;
19494 PyObject * obj0 = 0 ;
19495 PyObject * obj1 = 0 ;
19496 GFitsImageUShort *result = 0 ;
19497
19498 if (!PyArg_ParseTuple(args,(char *)"OO:new_GFitsImageUShort",&obj0,&obj1)) SWIG_failgoto fail;
19499 ecode1 = SWIG_AsVal_int(obj0, &val1);
19500 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
19501 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageUShort" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageUShort" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
19502 }
19503 temp1 = static_cast< int >(val1);
19504 arg1 = &temp1;
19505 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[41]
, 0 | 0, 0)
;
19506 if (!SWIG_IsOK(res2)(res2 >= 0)) {
19507 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_GFitsImageUShort" "', argument " "2"" of type '" "int const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "new_GFitsImageUShort" "', argument "
"2"" of type '" "int const *""'"); goto fail; } while(0)
;
19508 }
19509 arg2 = reinterpret_cast< int * >(argp2);
19510 {
19511 try {
19512 result = (GFitsImageUShort *)new GFitsImageUShort((int const &)*arg1,(int const *)arg2);
19513 }
19514 catch (const GException::out_of_range& e) {
19515 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
19516 }
19517 catch (const GExceptionHandler& e) {
19518 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19519 }
19520 catch (const std::exception& e) {
19521 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19522 }
19523 }
19524 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageUShort, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[17], (
(0x1 << 1) | 0x1) | 0)
;
19525 return resultobj;
19526fail:
19527 return NULL__null;
19528}
19529
19530
19531SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageUShort__SWIG_11(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19532 PyObject *resultobj = 0;
19533 GFitsImageUShort *arg1 = 0 ;
19534 void *argp1 = 0 ;
19535 int res1 = 0 ;
19536 PyObject * obj0 = 0 ;
19537 GFitsImageUShort *result = 0 ;
19538
19539 if (!PyArg_ParseTuple(args,(char *)"O:new_GFitsImageUShort",&obj0)) SWIG_failgoto fail;
19540 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GFitsImageUShort, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[17]
, 0 | 0, 0)
;
19541 if (!SWIG_IsOK(res1)(res1 >= 0)) {
19542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsImageUShort" "', argument " "1"" of type '" "GFitsImageUShort const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsImageUShort" "', argument "
"1"" of type '" "GFitsImageUShort const &""'"); goto fail
; } while(0)
;
19543 }
19544 if (!argp1) {
19545 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsImageUShort" "', argument " "1"" of type '" "GFitsImageUShort const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsImageUShort" "', argument " "1"" of type '"
"GFitsImageUShort const &""'"); goto fail; } while(0)
;
19546 }
19547 arg1 = reinterpret_cast< GFitsImageUShort * >(argp1);
19548 {
19549 try {
19550 result = (GFitsImageUShort *)new GFitsImageUShort((GFitsImageUShort const &)*arg1);
19551 }
19552 catch (const GException::out_of_range& e) {
19553 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
19554 }
19555 catch (const GExceptionHandler& e) {
19556 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19557 }
19558 catch (const std::exception& e) {
19559 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19560 }
19561 }
19562 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageUShort, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[17], (
(0x1 << 1) | 0x1) | 0)
;
19563 return resultobj;
19564fail:
19565 return NULL__null;
19566}
19567
19568
19569SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageUShort(PyObject *self, PyObject *args) {
19570 int argc;
19571 PyObject *argv[6];
19572 int ii;
19573
19574 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
19575 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
19576 for (ii = 0; (ii < 5) && (ii < argc); ii++) {
19577 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
19578 }
19579 if (argc == 0) {
19580 return _wrap_new_GFitsImageUShort__SWIG_0(self, args);
19581 }
19582 if (argc == 1) {
19583 int _v;
19584 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GFitsImageUShort, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[17], 0, 0
)
;
19585 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19586 if (_v) {
19587 return _wrap_new_GFitsImageUShort__SWIG_11(self, args);
19588 }
19589 }
19590 if (argc == 1) {
19591 int _v;
19592 {
19593 int res = SWIG_AsVal_int(argv[0], NULL__null);
19594 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19595 }
19596 if (_v) {
19597 return _wrap_new_GFitsImageUShort__SWIG_2(self, args);
19598 }
19599 }
19600 if (argc == 2) {
19601 int _v;
19602 {
19603 int res = SWIG_AsVal_int(argv[0], NULL__null);
19604 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19605 }
19606 if (_v) {
19607 void *vptr = 0;
19608 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[41
], 0, 0)
;
19609 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19610 if (_v) {
19611 return _wrap_new_GFitsImageUShort__SWIG_10(self, args);
19612 }
19613 }
19614 }
19615 if (argc == 2) {
19616 int _v;
19617 {
19618 int res = SWIG_AsVal_int(argv[0], NULL__null);
19619 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19620 }
19621 if (_v) {
19622 void *vptr = 0;
19623 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_short, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[55
], 0, 0)
;
19624 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19625 if (_v) {
19626 return _wrap_new_GFitsImageUShort__SWIG_1(self, args);
19627 }
19628 }
19629 }
19630 if (argc == 2) {
19631 int _v;
19632 {
19633 int res = SWIG_AsVal_int(argv[0], NULL__null);
19634 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19635 }
19636 if (_v) {
19637 {
19638 int res = SWIG_AsVal_int(argv[1], NULL__null);
19639 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19640 }
19641 if (_v) {
19642 return _wrap_new_GFitsImageUShort__SWIG_4(self, args);
19643 }
19644 }
19645 }
19646 if (argc == 3) {
19647 int _v;
19648 {
19649 int res = SWIG_AsVal_int(argv[0], NULL__null);
19650 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19651 }
19652 if (_v) {
19653 void *vptr = 0;
19654 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[41
], 0, 0)
;
19655 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19656 if (_v) {
19657 void *vptr = 0;
19658 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_unsigned_short, 0)SWIG_Python_ConvertPtrAndOwn(argv[2], &vptr, swig_types[55
], 0, 0)
;
19659 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19660 if (_v) {
19661 return _wrap_new_GFitsImageUShort__SWIG_9(self, args);
19662 }
19663 }
19664 }
19665 }
19666 if (argc == 3) {
19667 int _v;
19668 {
19669 int res = SWIG_AsVal_int(argv[0], NULL__null);
19670 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19671 }
19672 if (_v) {
19673 {
19674 int res = SWIG_AsVal_int(argv[1], NULL__null);
19675 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19676 }
19677 if (_v) {
19678 void *vptr = 0;
19679 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_unsigned_short, 0)SWIG_Python_ConvertPtrAndOwn(argv[2], &vptr, swig_types[55
], 0, 0)
;
19680 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19681 if (_v) {
19682 return _wrap_new_GFitsImageUShort__SWIG_3(self, args);
19683 }
19684 }
19685 }
19686 }
19687 if (argc == 3) {
19688 int _v;
19689 {
19690 int res = SWIG_AsVal_int(argv[0], NULL__null);
19691 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19692 }
19693 if (_v) {
19694 {
19695 int res = SWIG_AsVal_int(argv[1], NULL__null);
19696 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19697 }
19698 if (_v) {
19699 {
19700 int res = SWIG_AsVal_int(argv[2], NULL__null);
19701 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19702 }
19703 if (_v) {
19704 return _wrap_new_GFitsImageUShort__SWIG_6(self, args);
19705 }
19706 }
19707 }
19708 }
19709 if (argc == 4) {
19710 int _v;
19711 {
19712 int res = SWIG_AsVal_int(argv[0], NULL__null);
19713 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19714 }
19715 if (_v) {
19716 {
19717 int res = SWIG_AsVal_int(argv[1], NULL__null);
19718 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19719 }
19720 if (_v) {
19721 {
19722 int res = SWIG_AsVal_int(argv[2], NULL__null);
19723 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19724 }
19725 if (_v) {
19726 void *vptr = 0;
19727 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_unsigned_short, 0)SWIG_Python_ConvertPtrAndOwn(argv[3], &vptr, swig_types[55
], 0, 0)
;
19728 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19729 if (_v) {
19730 return _wrap_new_GFitsImageUShort__SWIG_5(self, args);
19731 }
19732 }
19733 }
19734 }
19735 }
19736 if (argc == 4) {
19737 int _v;
19738 {
19739 int res = SWIG_AsVal_int(argv[0], NULL__null);
19740 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19741 }
19742 if (_v) {
19743 {
19744 int res = SWIG_AsVal_int(argv[1], NULL__null);
19745 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19746 }
19747 if (_v) {
19748 {
19749 int res = SWIG_AsVal_int(argv[2], NULL__null);
19750 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19751 }
19752 if (_v) {
19753 {
19754 int res = SWIG_AsVal_int(argv[3], NULL__null);
19755 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19756 }
19757 if (_v) {
19758 return _wrap_new_GFitsImageUShort__SWIG_8(self, args);
19759 }
19760 }
19761 }
19762 }
19763 }
19764 if (argc == 5) {
19765 int _v;
19766 {
19767 int res = SWIG_AsVal_int(argv[0], NULL__null);
19768 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19769 }
19770 if (_v) {
19771 {
19772 int res = SWIG_AsVal_int(argv[1], NULL__null);
19773 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19774 }
19775 if (_v) {
19776 {
19777 int res = SWIG_AsVal_int(argv[2], NULL__null);
19778 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19779 }
19780 if (_v) {
19781 {
19782 int res = SWIG_AsVal_int(argv[3], NULL__null);
19783 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19784 }
19785 if (_v) {
19786 void *vptr = 0;
19787 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_unsigned_short, 0)SWIG_Python_ConvertPtrAndOwn(argv[4], &vptr, swig_types[55
], 0, 0)
;
19788 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
19789 if (_v) {
19790 return _wrap_new_GFitsImageUShort__SWIG_7(self, args);
19791 }
19792 }
19793 }
19794 }
19795 }
19796 }
19797
19798fail:
19799 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GFitsImageUShort'.\n"
19800 " Possible C/C++ prototypes are:\n"
19801 " GFitsImageUShort::GFitsImageUShort()\n"
19802 " GFitsImageUShort::GFitsImageUShort(int const &,unsigned short const *)\n"
19803 " GFitsImageUShort::GFitsImageUShort(int const &)\n"
19804 " GFitsImageUShort::GFitsImageUShort(int const &,int const &,unsigned short const *)\n"
19805 " GFitsImageUShort::GFitsImageUShort(int const &,int const &)\n"
19806 " GFitsImageUShort::GFitsImageUShort(int const &,int const &,int const &,unsigned short const *)\n"
19807 " GFitsImageUShort::GFitsImageUShort(int const &,int const &,int const &)\n"
19808 " GFitsImageUShort::GFitsImageUShort(int const &,int const &,int const &,int const &,unsigned short const *)\n"
19809 " GFitsImageUShort::GFitsImageUShort(int const &,int const &,int const &,int const &)\n"
19810 " GFitsImageUShort::GFitsImageUShort(int const &,int const *,unsigned short const *)\n"
19811 " GFitsImageUShort::GFitsImageUShort(int const &,int const *)\n"
19812 " GFitsImageUShort::GFitsImageUShort(GFitsImageUShort const &)\n");
19813 return 0;
19814}
19815
19816
19817SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GFitsImageUShort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19818 PyObject *resultobj = 0;
19819 GFitsImageUShort *arg1 = (GFitsImageUShort *) 0 ;
19820 void *argp1 = 0 ;
19821 int res1 = 0 ;
19822 PyObject * obj0 = 0 ;
19823
19824 if (!PyArg_ParseTuple(args,(char *)"O:delete_GFitsImageUShort",&obj0)) SWIG_failgoto fail;
19825 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageUShort, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[17]
, 0x1 | 0, 0)
;
19826 if (!SWIG_IsOK(res1)(res1 >= 0)) {
19827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GFitsImageUShort" "', argument " "1"" of type '" "GFitsImageUShort *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GFitsImageUShort" "', argument "
"1"" of type '" "GFitsImageUShort *""'"); goto fail; } while
(0)
;
19828 }
19829 arg1 = reinterpret_cast< GFitsImageUShort * >(argp1);
19830 {
19831 try {
19832 delete arg1;
19833 }
19834 catch (const GException::out_of_range& e) {
19835 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
19836 }
19837 catch (const GExceptionHandler& e) {
19838 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19839 }
19840 catch (const std::exception& e) {
19841 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19842 }
19843 }
19844 resultobj = SWIG_Py_Void();
19845 return resultobj;
19846fail:
19847 return NULL__null;
19848}
19849
19850
19851SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageUShort_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19852 PyObject *resultobj = 0;
19853 GFitsImageUShort *arg1 = (GFitsImageUShort *) 0 ;
19854 void *argp1 = 0 ;
19855 int res1 = 0 ;
19856 PyObject * obj0 = 0 ;
19857
19858 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageUShort_clear",&obj0)) SWIG_failgoto fail;
19859 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageUShort, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[17]
, 0 | 0, 0)
;
19860 if (!SWIG_IsOK(res1)(res1 >= 0)) {
19861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageUShort_clear" "', argument " "1"" of type '" "GFitsImageUShort *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageUShort_clear" "', argument "
"1"" of type '" "GFitsImageUShort *""'"); goto fail; } while
(0)
;
19862 }
19863 arg1 = reinterpret_cast< GFitsImageUShort * >(argp1);
19864 {
19865 try {
19866 (arg1)->clear();
19867 }
19868 catch (const GException::out_of_range& e) {
19869 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
19870 }
19871 catch (const GExceptionHandler& e) {
19872 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19873 }
19874 catch (const std::exception& e) {
19875 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19876 }
19877 }
19878 resultobj = SWIG_Py_Void();
19879 return resultobj;
19880fail:
19881 return NULL__null;
19882}
19883
19884
19885SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageUShort_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19886 PyObject *resultobj = 0;
19887 GFitsImageUShort *arg1 = (GFitsImageUShort *) 0 ;
19888 void *argp1 = 0 ;
19889 int res1 = 0 ;
19890 PyObject * obj0 = 0 ;
19891 GFitsImageUShort *result = 0 ;
19892
19893 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageUShort_clone",&obj0)) SWIG_failgoto fail;
19894 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageUShort, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[17]
, 0 | 0, 0)
;
19895 if (!SWIG_IsOK(res1)(res1 >= 0)) {
19896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageUShort_clone" "', argument " "1"" of type '" "GFitsImageUShort const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageUShort_clone" "', argument "
"1"" of type '" "GFitsImageUShort const *""'"); goto fail; }
while(0)
;
19897 }
19898 arg1 = reinterpret_cast< GFitsImageUShort * >(argp1);
19899 {
19900 try {
19901 result = (GFitsImageUShort *)((GFitsImageUShort const *)arg1)->clone();
19902 }
19903 catch (const GException::out_of_range& e) {
19904 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
19905 }
19906 catch (const GExceptionHandler& e) {
19907 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19908 }
19909 catch (const std::exception& e) {
19910 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19911 }
19912 }
19913 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageUShort, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[17], 0
| 0)
;
19914 return resultobj;
19915fail:
19916 return NULL__null;
19917}
19918
19919
19920SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageUShort_pixel__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19921 PyObject *resultobj = 0;
19922 GFitsImageUShort *arg1 = (GFitsImageUShort *) 0 ;
19923 int *arg2 = 0 ;
19924 void *argp1 = 0 ;
19925 int res1 = 0 ;
19926 int temp2 ;
19927 int val2 ;
19928 int ecode2 = 0 ;
19929 PyObject * obj0 = 0 ;
19930 PyObject * obj1 = 0 ;
19931 double result;
19932
19933 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsImageUShort_pixel",&obj0,&obj1)) SWIG_failgoto fail;
19934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageUShort, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[17]
, 0 | 0, 0)
;
19935 if (!SWIG_IsOK(res1)(res1 >= 0)) {
19936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageUShort_pixel" "', argument " "1"" of type '" "GFitsImageUShort const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageUShort_pixel" "', argument "
"1"" of type '" "GFitsImageUShort const *""'"); goto fail; }
while(0)
;
19937 }
19938 arg1 = reinterpret_cast< GFitsImageUShort * >(argp1);
19939 ecode2 = SWIG_AsVal_int(obj1, &val2);
19940 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
19941 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsImageUShort_pixel" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsImageUShort_pixel"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
19942 }
19943 temp2 = static_cast< int >(val2);
19944 arg2 = &temp2;
19945 {
19946 try {
19947 result = (double)((GFitsImageUShort const *)arg1)->pixel((int const &)*arg2);
19948 }
19949 catch (const GException::out_of_range& e) {
19950 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
19951 }
19952 catch (const GExceptionHandler& e) {
19953 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19954 }
19955 catch (const std::exception& e) {
19956 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
19957 }
19958 }
19959 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
19960 return resultobj;
19961fail:
19962 return NULL__null;
19963}
19964
19965
19966SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageUShort_pixel__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19967 PyObject *resultobj = 0;
19968 GFitsImageUShort *arg1 = (GFitsImageUShort *) 0 ;
19969 int *arg2 = 0 ;
19970 int *arg3 = 0 ;
19971 void *argp1 = 0 ;
19972 int res1 = 0 ;
19973 int temp2 ;
19974 int val2 ;
19975 int ecode2 = 0 ;
19976 int temp3 ;
19977 int val3 ;
19978 int ecode3 = 0 ;
19979 PyObject * obj0 = 0 ;
19980 PyObject * obj1 = 0 ;
19981 PyObject * obj2 = 0 ;
19982 double result;
19983
19984 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsImageUShort_pixel",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
19985 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageUShort, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[17]
, 0 | 0, 0)
;
19986 if (!SWIG_IsOK(res1)(res1 >= 0)) {
19987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageUShort_pixel" "', argument " "1"" of type '" "GFitsImageUShort const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageUShort_pixel" "', argument "
"1"" of type '" "GFitsImageUShort const *""'"); goto fail; }
while(0)
;
19988 }
19989 arg1 = reinterpret_cast< GFitsImageUShort * >(argp1);
19990 ecode2 = SWIG_AsVal_int(obj1, &val2);
19991 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
19992 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsImageUShort_pixel" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsImageUShort_pixel"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
19993 }
19994 temp2 = static_cast< int >(val2);
19995 arg2 = &temp2;
19996 ecode3 = SWIG_AsVal_int(obj2, &val3);
19997 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
19998 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsImageUShort_pixel" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsImageUShort_pixel"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
19999 }
20000 temp3 = static_cast< int >(val3);
20001 arg3 = &temp3;
20002 {
20003 try {
20004 result = (double)((GFitsImageUShort const *)arg1)->pixel((int const &)*arg2,(int const &)*arg3);
20005 }
20006 catch (const GException::out_of_range& e) {
20007 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
20008 }
20009 catch (const GExceptionHandler& e) {
20010 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20011 }
20012 catch (const std::exception& e) {
20013 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20014 }
20015 }
20016 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
20017 return resultobj;
20018fail:
20019 return NULL__null;
20020}
20021
20022
20023SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageUShort_pixel__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20024 PyObject *resultobj = 0;
20025 GFitsImageUShort *arg1 = (GFitsImageUShort *) 0 ;
20026 int *arg2 = 0 ;
20027 int *arg3 = 0 ;
20028 int *arg4 = 0 ;
20029 void *argp1 = 0 ;
20030 int res1 = 0 ;
20031 int temp2 ;
20032 int val2 ;
20033 int ecode2 = 0 ;
20034 int temp3 ;
20035 int val3 ;
20036 int ecode3 = 0 ;
20037 int temp4 ;
20038 int val4 ;
20039 int ecode4 = 0 ;
20040 PyObject * obj0 = 0 ;
20041 PyObject * obj1 = 0 ;
20042 PyObject * obj2 = 0 ;
20043 PyObject * obj3 = 0 ;
20044 double result;
20045
20046 if (!PyArg_ParseTuple(args,(char *)"OOOO:GFitsImageUShort_pixel",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
20047 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageUShort, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[17]
, 0 | 0, 0)
;
20048 if (!SWIG_IsOK(res1)(res1 >= 0)) {
20049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageUShort_pixel" "', argument " "1"" of type '" "GFitsImageUShort const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageUShort_pixel" "', argument "
"1"" of type '" "GFitsImageUShort const *""'"); goto fail; }
while(0)
;
20050 }
20051 arg1 = reinterpret_cast< GFitsImageUShort * >(argp1);
20052 ecode2 = SWIG_AsVal_int(obj1, &val2);
20053 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
20054 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsImageUShort_pixel" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsImageUShort_pixel"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
20055 }
20056 temp2 = static_cast< int >(val2);
20057 arg2 = &temp2;
20058 ecode3 = SWIG_AsVal_int(obj2, &val3);
20059 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
20060 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsImageUShort_pixel" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsImageUShort_pixel"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
20061 }
20062 temp3 = static_cast< int >(val3);
20063 arg3 = &temp3;
20064 ecode4 = SWIG_AsVal_int(obj3, &val4);
20065 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
20066 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GFitsImageUShort_pixel" "', argument " "4"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GFitsImageUShort_pixel"
"', argument " "4"" of type '" "int""'"); goto fail; } while
(0)
;
20067 }
20068 temp4 = static_cast< int >(val4);
20069 arg4 = &temp4;
20070 {
20071 try {
20072 result = (double)((GFitsImageUShort const *)arg1)->pixel((int const &)*arg2,(int const &)*arg3,(int const &)*arg4);
20073 }
20074 catch (const GException::out_of_range& e) {
20075 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
20076 }
20077 catch (const GExceptionHandler& e) {
20078 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20079 }
20080 catch (const std::exception& e) {
20081 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20082 }
20083 }
20084 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
20085 return resultobj;
20086fail:
20087 return NULL__null;
20088}
20089
20090
20091SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageUShort_pixel__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20092 PyObject *resultobj = 0;
20093 GFitsImageUShort *arg1 = (GFitsImageUShort *) 0 ;
20094 int *arg2 = 0 ;
20095 int *arg3 = 0 ;
20096 int *arg4 = 0 ;
20097 int *arg5 = 0 ;
20098 void *argp1 = 0 ;
20099 int res1 = 0 ;
20100 int temp2 ;
20101 int val2 ;
20102 int ecode2 = 0 ;
20103 int temp3 ;
20104 int val3 ;
20105 int ecode3 = 0 ;
20106 int temp4 ;
20107 int val4 ;
20108 int ecode4 = 0 ;
20109 int temp5 ;
20110 int val5 ;
20111 int ecode5 = 0 ;
20112 PyObject * obj0 = 0 ;
20113 PyObject * obj1 = 0 ;
20114 PyObject * obj2 = 0 ;
20115 PyObject * obj3 = 0 ;
20116 PyObject * obj4 = 0 ;
20117 double result;
20118
20119 if (!PyArg_ParseTuple(args,(char *)"OOOOO:GFitsImageUShort_pixel",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_failgoto fail;
20120 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageUShort, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[17]
, 0 | 0, 0)
;
20121 if (!SWIG_IsOK(res1)(res1 >= 0)) {
20122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageUShort_pixel" "', argument " "1"" of type '" "GFitsImageUShort const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageUShort_pixel" "', argument "
"1"" of type '" "GFitsImageUShort const *""'"); goto fail; }
while(0)
;
20123 }
20124 arg1 = reinterpret_cast< GFitsImageUShort * >(argp1);
20125 ecode2 = SWIG_AsVal_int(obj1, &val2);
20126 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
20127 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsImageUShort_pixel" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsImageUShort_pixel"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
20128 }
20129 temp2 = static_cast< int >(val2);
20130 arg2 = &temp2;
20131 ecode3 = SWIG_AsVal_int(obj2, &val3);
20132 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
20133 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsImageUShort_pixel" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsImageUShort_pixel"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
20134 }
20135 temp3 = static_cast< int >(val3);
20136 arg3 = &temp3;
20137 ecode4 = SWIG_AsVal_int(obj3, &val4);
20138 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
20139 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GFitsImageUShort_pixel" "', argument " "4"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GFitsImageUShort_pixel"
"', argument " "4"" of type '" "int""'"); goto fail; } while
(0)
;
20140 }
20141 temp4 = static_cast< int >(val4);
20142 arg4 = &temp4;
20143 ecode5 = SWIG_AsVal_int(obj4, &val5);
20144 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
20145 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GFitsImageUShort_pixel" "', argument " "5"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GFitsImageUShort_pixel"
"', argument " "5"" of type '" "int""'"); goto fail; } while
(0)
;
20146 }
20147 temp5 = static_cast< int >(val5);
20148 arg5 = &temp5;
20149 {
20150 try {
20151 result = (double)((GFitsImageUShort const *)arg1)->pixel((int const &)*arg2,(int const &)*arg3,(int const &)*arg4,(int const &)*arg5);
20152 }
20153 catch (const GException::out_of_range& e) {
20154 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
20155 }
20156 catch (const GExceptionHandler& e) {
20157 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20158 }
20159 catch (const std::exception& e) {
20160 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20161 }
20162 }
20163 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
20164 return resultobj;
20165fail:
20166 return NULL__null;
20167}
20168
20169
20170SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageUShort_pixel(PyObject *self, PyObject *args) {
20171 int argc;
20172 PyObject *argv[6];
20173 int ii;
20174
20175 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
20176 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
20177 for (ii = 0; (ii < 5) && (ii < argc); ii++) {
20178 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
20179 }
20180 if (argc == 2) {
20181 int _v;
20182 void *vptr = 0;
20183 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsImageUShort, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[17
], 0, 0)
;
20184 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
20185 if (_v) {
20186 {
20187 int res = SWIG_AsVal_int(argv[1], NULL__null);
20188 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
20189 }
20190 if (_v) {
20191 return _wrap_GFitsImageUShort_pixel__SWIG_0(self, args);
20192 }
20193 }
20194 }
20195 if (argc == 3) {
20196 int _v;
20197 void *vptr = 0;
20198 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsImageUShort, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[17
], 0, 0)
;
20199 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
20200 if (_v) {
20201 {
20202 int res = SWIG_AsVal_int(argv[1], NULL__null);
20203 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
20204 }
20205 if (_v) {
20206 {
20207 int res = SWIG_AsVal_int(argv[2], NULL__null);
20208 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
20209 }
20210 if (_v) {
20211 return _wrap_GFitsImageUShort_pixel__SWIG_1(self, args);
20212 }
20213 }
20214 }
20215 }
20216 if (argc == 4) {
20217 int _v;
20218 void *vptr = 0;
20219 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsImageUShort, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[17
], 0, 0)
;
20220 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
20221 if (_v) {
20222 {
20223 int res = SWIG_AsVal_int(argv[1], NULL__null);
20224 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
20225 }
20226 if (_v) {
20227 {
20228 int res = SWIG_AsVal_int(argv[2], NULL__null);
20229 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
20230 }
20231 if (_v) {
20232 {
20233 int res = SWIG_AsVal_int(argv[3], NULL__null);
20234 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
20235 }
20236 if (_v) {
20237 return _wrap_GFitsImageUShort_pixel__SWIG_2(self, args);
20238 }
20239 }
20240 }
20241 }
20242 }
20243 if (argc == 5) {
20244 int _v;
20245 void *vptr = 0;
20246 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsImageUShort, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[17
], 0, 0)
;
20247 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
20248 if (_v) {
20249 {
20250 int res = SWIG_AsVal_int(argv[1], NULL__null);
20251 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
20252 }
20253 if (_v) {
20254 {
20255 int res = SWIG_AsVal_int(argv[2], NULL__null);
20256 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
20257 }
20258 if (_v) {
20259 {
20260 int res = SWIG_AsVal_int(argv[3], NULL__null);
20261 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
20262 }
20263 if (_v) {
20264 {
20265 int res = SWIG_AsVal_int(argv[4], NULL__null);
20266 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
20267 }
20268 if (_v) {
20269 return _wrap_GFitsImageUShort_pixel__SWIG_3(self, args);
20270 }
20271 }
20272 }
20273 }
20274 }
20275 }
20276
20277fail:
20278 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsImageUShort_pixel'.\n"
20279 " Possible C/C++ prototypes are:\n"
20280 " GFitsImageUShort::pixel(int const &) const\n"
20281 " GFitsImageUShort::pixel(int const &,int const &) const\n"
20282 " GFitsImageUShort::pixel(int const &,int const &,int const &) const\n"
20283 " GFitsImageUShort::pixel(int const &,int const &,int const &,int const &) const\n");
20284 return 0;
20285}
20286
20287
20288SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageUShort_pixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20289 PyObject *resultobj = 0;
20290 GFitsImageUShort *arg1 = (GFitsImageUShort *) 0 ;
20291 void *argp1 = 0 ;
20292 int res1 = 0 ;
20293 PyObject * obj0 = 0 ;
20294 void *result = 0 ;
20295
20296 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageUShort_pixels",&obj0)) SWIG_failgoto fail;
20297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageUShort, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[17]
, 0 | 0, 0)
;
20298 if (!SWIG_IsOK(res1)(res1 >= 0)) {
20299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageUShort_pixels" "', argument " "1"" of type '" "GFitsImageUShort *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageUShort_pixels" "', argument "
"1"" of type '" "GFitsImageUShort *""'"); goto fail; } while
(0)
;
20300 }
20301 arg1 = reinterpret_cast< GFitsImageUShort * >(argp1);
20302 {
20303 try {
20304 result = (void *)(arg1)->pixels();
20305 }
20306 catch (const GException::out_of_range& e) {
20307 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
20308 }
20309 catch (const GExceptionHandler& e) {
20310 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20311 }
20312 catch (const std::exception& e) {
20313 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20314 }
20315 }
20316 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[57], 0
| 0)
;
20317 return resultobj;
20318fail:
20319 return NULL__null;
20320}
20321
20322
20323SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageUShort_type(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20324 PyObject *resultobj = 0;
20325 GFitsImageUShort *arg1 = (GFitsImageUShort *) 0 ;
20326 void *argp1 = 0 ;
20327 int res1 = 0 ;
20328 PyObject * obj0 = 0 ;
20329 int result;
20330
20331 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageUShort_type",&obj0)) SWIG_failgoto fail;
20332 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageUShort, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[17]
, 0 | 0, 0)
;
20333 if (!SWIG_IsOK(res1)(res1 >= 0)) {
20334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageUShort_type" "', argument " "1"" of type '" "GFitsImageUShort const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageUShort_type" "', argument "
"1"" of type '" "GFitsImageUShort const *""'"); goto fail; }
while(0)
;
20335 }
20336 arg1 = reinterpret_cast< GFitsImageUShort * >(argp1);
20337 {
20338 try {
20339 result = (int)((GFitsImageUShort const *)arg1)->type();
20340 }
20341 catch (const GException::out_of_range& e) {
20342 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
20343 }
20344 catch (const GExceptionHandler& e) {
20345 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20346 }
20347 catch (const std::exception& e) {
20348 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20349 }
20350 }
20351 resultobj = SWIG_From_int(static_cast< int >(result));
20352 return resultobj;
20353fail:
20354 return NULL__null;
20355}
20356
20357
20358SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageUShort___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20359 PyObject *resultobj = 0;
20360 GFitsImageUShort *arg1 = (GFitsImageUShort *) 0 ;
20361 int *arg2 ;
20362 void *argp1 = 0 ;
20363 int res1 = 0 ;
20364 int temp2[5] ;
20365 PyObject * obj0 = 0 ;
20366 PyObject * obj1 = 0 ;
20367 unsigned short result;
20368
20369 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsImageUShort___getitem__",&obj0,&obj1)) SWIG_failgoto fail;
20370 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageUShort, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[17]
, 0 | 0, 0)
;
20371 if (!SWIG_IsOK(res1)(res1 >= 0)) {
20372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageUShort___getitem__" "', argument " "1"" of type '" "GFitsImageUShort *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageUShort___getitem__"
"', argument " "1"" of type '" "GFitsImageUShort *""'"); goto
fail; } while(0)
;
20373 }
20374 arg1 = reinterpret_cast< GFitsImageUShort * >(argp1);
20375 {
20376 if (!image_pixel_tuple(obj1,temp2)) {
20377 return NULL__null;
20378 }
20379 arg2 = &temp2[0];
20380 }
20381 {
20382 try {
20383 result = (unsigned short)GFitsImageUShort___getitem__(arg1,arg2);
20384 }
20385 catch (const GException::out_of_range& e) {
20386 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
20387 }
20388 catch (const GExceptionHandler& e) {
20389 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20390 }
20391 catch (const std::exception& e) {
20392 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20393 }
20394 }
20395 resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result));
20396 return resultobj;
20397fail:
20398 return NULL__null;
20399}
20400
20401
20402SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageUShort___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20403 PyObject *resultobj = 0;
20404 GFitsImageUShort *arg1 = (GFitsImageUShort *) 0 ;
20405 int *arg2 ;
20406 unsigned short arg3 ;
20407 void *argp1 = 0 ;
20408 int res1 = 0 ;
20409 int temp2[5] ;
20410 unsigned short val3 ;
20411 int ecode3 = 0 ;
20412 PyObject * obj0 = 0 ;
20413 PyObject * obj1 = 0 ;
20414 PyObject * obj2 = 0 ;
20415
20416 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsImageUShort___setitem__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
20417 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageUShort, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[17]
, 0 | 0, 0)
;
20418 if (!SWIG_IsOK(res1)(res1 >= 0)) {
20419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageUShort___setitem__" "', argument " "1"" of type '" "GFitsImageUShort *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageUShort___setitem__"
"', argument " "1"" of type '" "GFitsImageUShort *""'"); goto
fail; } while(0)
;
20420 }
20421 arg1 = reinterpret_cast< GFitsImageUShort * >(argp1);
20422 {
20423 if (!image_pixel_tuple(obj1,temp2)) {
20424 return NULL__null;
20425 }
20426 arg2 = &temp2[0];
20427 }
20428 ecode3 = SWIG_AsVal_unsigned_SS_short(obj2, &val3);
20429 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
20430 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsImageUShort___setitem__" "', argument " "3"" of type '" "unsigned short""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsImageUShort___setitem__"
"', argument " "3"" of type '" "unsigned short""'"); goto fail
; } while(0)
;
20431 }
20432 arg3 = static_cast< unsigned short >(val3);
20433 {
20434 try {
20435 GFitsImageUShort___setitem__(arg1,arg2,arg3);
20436 }
20437 catch (const GException::out_of_range& e) {
20438 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
20439 }
20440 catch (const GExceptionHandler& e) {
20441 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20442 }
20443 catch (const std::exception& e) {
20444 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20445 }
20446 }
20447 resultobj = SWIG_Py_Void();
20448 return resultobj;
20449fail:
20450 return NULL__null;
20451}
20452
20453
20454SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageUShort_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20455 PyObject *resultobj = 0;
20456 GFitsImageUShort *arg1 = (GFitsImageUShort *) 0 ;
20457 void *argp1 = 0 ;
20458 int res1 = 0 ;
20459 PyObject * obj0 = 0 ;
20460 GFitsImageUShort result;
20461
20462 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageUShort_copy",&obj0)) SWIG_failgoto fail;
20463 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageUShort, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[17]
, 0 | 0, 0)
;
20464 if (!SWIG_IsOK(res1)(res1 >= 0)) {
20465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageUShort_copy" "', argument " "1"" of type '" "GFitsImageUShort *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageUShort_copy" "', argument "
"1"" of type '" "GFitsImageUShort *""'"); goto fail; } while
(0)
;
20466 }
20467 arg1 = reinterpret_cast< GFitsImageUShort * >(argp1);
20468 {
20469 try {
20470 result = GFitsImageUShort_copy(arg1);
20471 }
20472 catch (const GException::out_of_range& e) {
20473 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
20474 }
20475 catch (const GExceptionHandler& e) {
20476 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20477 }
20478 catch (const std::exception& e) {
20479 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20480 }
20481 }
20482 resultobj = SWIG_NewPointerObj((new GFitsImageUShort(static_cast< const GFitsImageUShort& >(result))), SWIGTYPE_p_GFitsImageUShort, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GFitsImageUShort(static_cast
< const GFitsImageUShort& >(result))), swig_types[17
], 0x1 | 0)
;
20483 return resultobj;
20484fail:
20485 return NULL__null;
20486}
20487
20488
20489SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GFitsImageUShort_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20490 PyObject *obj;
20491 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
20492 SWIG_TypeNewClientData(SWIGTYPE_p_GFitsImageUShortswig_types[17], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
20493 return SWIG_Py_Void();
20494}
20495
20496SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageShort__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20497 PyObject *resultobj = 0;
20498 GFitsImageShort *result = 0 ;
20499
20500 if (!PyArg_ParseTuple(args,(char *)":new_GFitsImageShort")) SWIG_failgoto fail;
20501 {
20502 try {
20503 result = (GFitsImageShort *)new GFitsImageShort();
20504 }
20505 catch (const GException::out_of_range& e) {
20506 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
20507 }
20508 catch (const GExceptionHandler& e) {
20509 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20510 }
20511 catch (const std::exception& e) {
20512 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20513 }
20514 }
20515 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageShort, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[15], (
(0x1 << 1) | 0x1) | 0)
;
20516 return resultobj;
20517fail:
20518 return NULL__null;
20519}
20520
20521
20522SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageShort__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20523 PyObject *resultobj = 0;
20524 int *arg1 = 0 ;
20525 short *arg2 = (short *) 0 ;
20526 int temp1 ;
20527 int val1 ;
20528 int ecode1 = 0 ;
20529 void *argp2 = 0 ;
20530 int res2 = 0 ;
20531 PyObject * obj0 = 0 ;
20532 PyObject * obj1 = 0 ;
20533 GFitsImageShort *result = 0 ;
20534
20535 if (!PyArg_ParseTuple(args,(char *)"OO:new_GFitsImageShort",&obj0,&obj1)) SWIG_failgoto fail;
20536 ecode1 = SWIG_AsVal_int(obj0, &val1);
20537 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
20538 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageShort" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageShort" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
20539 }
20540 temp1 = static_cast< int >(val1);
20541 arg1 = &temp1;
20542 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_short, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[45]
, 0 | 0, 0)
;
20543 if (!SWIG_IsOK(res2)(res2 >= 0)) {
20544 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_GFitsImageShort" "', argument " "2"" of type '" "short const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "new_GFitsImageShort" "', argument "
"2"" of type '" "short const *""'"); goto fail; } while(0)
;
20545 }
20546 arg2 = reinterpret_cast< short * >(argp2);
20547 {
20548 try {
20549 result = (GFitsImageShort *)new GFitsImageShort((int const &)*arg1,(short const *)arg2);
20550 }
20551 catch (const GException::out_of_range& e) {
20552 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
20553 }
20554 catch (const GExceptionHandler& e) {
20555 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20556 }
20557 catch (const std::exception& e) {
20558 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20559 }
20560 }
20561 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageShort, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[15], (
(0x1 << 1) | 0x1) | 0)
;
20562 return resultobj;
20563fail:
20564 return NULL__null;
20565}
20566
20567
20568SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageShort__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20569 PyObject *resultobj = 0;
20570 int *arg1 = 0 ;
20571 int temp1 ;
20572 int val1 ;
20573 int ecode1 = 0 ;
20574 PyObject * obj0 = 0 ;
20575 GFitsImageShort *result = 0 ;
20576
20577 if (!PyArg_ParseTuple(args,(char *)"O:new_GFitsImageShort",&obj0)) SWIG_failgoto fail;
20578 ecode1 = SWIG_AsVal_int(obj0, &val1);
20579 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
20580 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageShort" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageShort" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
20581 }
20582 temp1 = static_cast< int >(val1);
20583 arg1 = &temp1;
20584 {
20585 try {
20586 result = (GFitsImageShort *)new GFitsImageShort((int const &)*arg1);
20587 }
20588 catch (const GException::out_of_range& e) {
20589 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
20590 }
20591 catch (const GExceptionHandler& e) {
20592 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20593 }
20594 catch (const std::exception& e) {
20595 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20596 }
20597 }
20598 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageShort, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[15], (
(0x1 << 1) | 0x1) | 0)
;
20599 return resultobj;
20600fail:
20601 return NULL__null;
20602}
20603
20604
20605SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageShort__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20606 PyObject *resultobj = 0;
20607 int *arg1 = 0 ;
20608 int *arg2 = 0 ;
20609 short *arg3 = (short *) 0 ;
20610 int temp1 ;
20611 int val1 ;
20612 int ecode1 = 0 ;
20613 int temp2 ;
20614 int val2 ;
20615 int ecode2 = 0 ;
20616 void *argp3 = 0 ;
20617 int res3 = 0 ;
20618 PyObject * obj0 = 0 ;
20619 PyObject * obj1 = 0 ;
20620 PyObject * obj2 = 0 ;
20621 GFitsImageShort *result = 0 ;
20622
20623 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GFitsImageShort",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
20624 ecode1 = SWIG_AsVal_int(obj0, &val1);
20625 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
20626 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageShort" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageShort" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
20627 }
20628 temp1 = static_cast< int >(val1);
20629 arg1 = &temp1;
20630 ecode2 = SWIG_AsVal_int(obj1, &val2);
20631 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
20632 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageShort" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageShort" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
20633 }
20634 temp2 = static_cast< int >(val2);
20635 arg2 = &temp2;
20636 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_short, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[45]
, 0 | 0, 0)
;
20637 if (!SWIG_IsOK(res3)(res3 >= 0)) {
20638 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_GFitsImageShort" "', argument " "3"" of type '" "short const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "new_GFitsImageShort" "', argument "
"3"" of type '" "short const *""'"); goto fail; } while(0)
;
20639 }
20640 arg3 = reinterpret_cast< short * >(argp3);
20641 {
20642 try {
20643 result = (GFitsImageShort *)new GFitsImageShort((int const &)*arg1,(int const &)*arg2,(short const *)arg3);
20644 }
20645 catch (const GException::out_of_range& e) {
20646 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
20647 }
20648 catch (const GExceptionHandler& e) {
20649 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20650 }
20651 catch (const std::exception& e) {
20652 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20653 }
20654 }
20655 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageShort, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[15], (
(0x1 << 1) | 0x1) | 0)
;
20656 return resultobj;
20657fail:
20658 return NULL__null;
20659}
20660
20661
20662SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageShort__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20663 PyObject *resultobj = 0;
20664 int *arg1 = 0 ;
20665 int *arg2 = 0 ;
20666 int temp1 ;
20667 int val1 ;
20668 int ecode1 = 0 ;
20669 int temp2 ;
20670 int val2 ;
20671 int ecode2 = 0 ;
20672 PyObject * obj0 = 0 ;
20673 PyObject * obj1 = 0 ;
20674 GFitsImageShort *result = 0 ;
20675
20676 if (!PyArg_ParseTuple(args,(char *)"OO:new_GFitsImageShort",&obj0,&obj1)) SWIG_failgoto fail;
20677 ecode1 = SWIG_AsVal_int(obj0, &val1);
20678 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
20679 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageShort" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageShort" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
20680 }
20681 temp1 = static_cast< int >(val1);
20682 arg1 = &temp1;
20683 ecode2 = SWIG_AsVal_int(obj1, &val2);
20684 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
20685 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageShort" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageShort" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
20686 }
20687 temp2 = static_cast< int >(val2);
20688 arg2 = &temp2;
20689 {
20690 try {
20691 result = (GFitsImageShort *)new GFitsImageShort((int const &)*arg1,(int const &)*arg2);
20692 }
20693 catch (const GException::out_of_range& e) {
20694 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
20695 }
20696 catch (const GExceptionHandler& e) {
20697 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20698 }
20699 catch (const std::exception& e) {
20700 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20701 }
20702 }
20703 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageShort, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[15], (
(0x1 << 1) | 0x1) | 0)
;
20704 return resultobj;
20705fail:
20706 return NULL__null;
20707}
20708
20709
20710SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageShort__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20711 PyObject *resultobj = 0;
20712 int *arg1 = 0 ;
20713 int *arg2 = 0 ;
20714 int *arg3 = 0 ;
20715 short *arg4 = (short *) 0 ;
20716 int temp1 ;
20717 int val1 ;
20718 int ecode1 = 0 ;
20719 int temp2 ;
20720 int val2 ;
20721 int ecode2 = 0 ;
20722 int temp3 ;
20723 int val3 ;
20724 int ecode3 = 0 ;
20725 void *argp4 = 0 ;
20726 int res4 = 0 ;
20727 PyObject * obj0 = 0 ;
20728 PyObject * obj1 = 0 ;
20729 PyObject * obj2 = 0 ;
20730 PyObject * obj3 = 0 ;
20731 GFitsImageShort *result = 0 ;
20732
20733 if (!PyArg_ParseTuple(args,(char *)"OOOO:new_GFitsImageShort",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
20734 ecode1 = SWIG_AsVal_int(obj0, &val1);
20735 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
20736 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageShort" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageShort" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
20737 }
20738 temp1 = static_cast< int >(val1);
20739 arg1 = &temp1;
20740 ecode2 = SWIG_AsVal_int(obj1, &val2);
20741 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
20742 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageShort" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageShort" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
20743 }
20744 temp2 = static_cast< int >(val2);
20745 arg2 = &temp2;
20746 ecode3 = SWIG_AsVal_int(obj2, &val3);
20747 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
20748 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsImageShort" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsImageShort" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
20749 }
20750 temp3 = static_cast< int >(val3);
20751 arg3 = &temp3;
20752 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_short, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj3, &argp4, swig_types[45]
, 0 | 0, 0)
;
20753 if (!SWIG_IsOK(res4)(res4 >= 0)) {
20754 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_GFitsImageShort" "', argument " "4"" of type '" "short const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res4 != (
-1)) ? res4 : -5)), "in method '" "new_GFitsImageShort" "', argument "
"4"" of type '" "short const *""'"); goto fail; } while(0)
;
20755 }
20756 arg4 = reinterpret_cast< short * >(argp4);
20757 {
20758 try {
20759 result = (GFitsImageShort *)new GFitsImageShort((int const &)*arg1,(int const &)*arg2,(int const &)*arg3,(short const *)arg4);
20760 }
20761 catch (const GException::out_of_range& e) {
20762 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
20763 }
20764 catch (const GExceptionHandler& e) {
20765 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20766 }
20767 catch (const std::exception& e) {
20768 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20769 }
20770 }
20771 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageShort, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[15], (
(0x1 << 1) | 0x1) | 0)
;
20772 return resultobj;
20773fail:
20774 return NULL__null;
20775}
20776
20777
20778SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageShort__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20779 PyObject *resultobj = 0;
20780 int *arg1 = 0 ;
20781 int *arg2 = 0 ;
20782 int *arg3 = 0 ;
20783 int temp1 ;
20784 int val1 ;
20785 int ecode1 = 0 ;
20786 int temp2 ;
20787 int val2 ;
20788 int ecode2 = 0 ;
20789 int temp3 ;
20790 int val3 ;
20791 int ecode3 = 0 ;
20792 PyObject * obj0 = 0 ;
20793 PyObject * obj1 = 0 ;
20794 PyObject * obj2 = 0 ;
20795 GFitsImageShort *result = 0 ;
20796
20797 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GFitsImageShort",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
20798 ecode1 = SWIG_AsVal_int(obj0, &val1);
20799 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
20800 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageShort" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageShort" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
20801 }
20802 temp1 = static_cast< int >(val1);
20803 arg1 = &temp1;
20804 ecode2 = SWIG_AsVal_int(obj1, &val2);
20805 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
20806 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageShort" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageShort" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
20807 }
20808 temp2 = static_cast< int >(val2);
20809 arg2 = &temp2;
20810 ecode3 = SWIG_AsVal_int(obj2, &val3);
20811 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
20812 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsImageShort" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsImageShort" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
20813 }
20814 temp3 = static_cast< int >(val3);
20815 arg3 = &temp3;
20816 {
20817 try {
20818 result = (GFitsImageShort *)new GFitsImageShort((int const &)*arg1,(int const &)*arg2,(int const &)*arg3);
20819 }
20820 catch (const GException::out_of_range& e) {
20821 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
20822 }
20823 catch (const GExceptionHandler& e) {
20824 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20825 }
20826 catch (const std::exception& e) {
20827 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20828 }
20829 }
20830 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageShort, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[15], (
(0x1 << 1) | 0x1) | 0)
;
20831 return resultobj;
20832fail:
20833 return NULL__null;
20834}
20835
20836
20837SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageShort__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20838 PyObject *resultobj = 0;
20839 int *arg1 = 0 ;
20840 int *arg2 = 0 ;
20841 int *arg3 = 0 ;
20842 int *arg4 = 0 ;
20843 short *arg5 = (short *) 0 ;
20844 int temp1 ;
20845 int val1 ;
20846 int ecode1 = 0 ;
20847 int temp2 ;
20848 int val2 ;
20849 int ecode2 = 0 ;
20850 int temp3 ;
20851 int val3 ;
20852 int ecode3 = 0 ;
20853 int temp4 ;
20854 int val4 ;
20855 int ecode4 = 0 ;
20856 void *argp5 = 0 ;
20857 int res5 = 0 ;
20858 PyObject * obj0 = 0 ;
20859 PyObject * obj1 = 0 ;
20860 PyObject * obj2 = 0 ;
20861 PyObject * obj3 = 0 ;
20862 PyObject * obj4 = 0 ;
20863 GFitsImageShort *result = 0 ;
20864
20865 if (!PyArg_ParseTuple(args,(char *)"OOOOO:new_GFitsImageShort",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_failgoto fail;
20866 ecode1 = SWIG_AsVal_int(obj0, &val1);
20867 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
20868 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageShort" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageShort" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
20869 }
20870 temp1 = static_cast< int >(val1);
20871 arg1 = &temp1;
20872 ecode2 = SWIG_AsVal_int(obj1, &val2);
20873 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
20874 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageShort" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageShort" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
20875 }
20876 temp2 = static_cast< int >(val2);
20877 arg2 = &temp2;
20878 ecode3 = SWIG_AsVal_int(obj2, &val3);
20879 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
20880 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsImageShort" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsImageShort" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
20881 }
20882 temp3 = static_cast< int >(val3);
20883 arg3 = &temp3;
20884 ecode4 = SWIG_AsVal_int(obj3, &val4);
20885 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
20886 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_GFitsImageShort" "', argument " "4"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "new_GFitsImageShort" "', argument "
"4"" of type '" "int""'"); goto fail; } while(0)
;
20887 }
20888 temp4 = static_cast< int >(val4);
20889 arg4 = &temp4;
20890 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_short, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj4, &argp5, swig_types[45]
, 0 | 0, 0)
;
20891 if (!SWIG_IsOK(res5)(res5 >= 0)) {
20892 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_GFitsImageShort" "', argument " "5"" of type '" "short const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res5 != (
-1)) ? res5 : -5)), "in method '" "new_GFitsImageShort" "', argument "
"5"" of type '" "short const *""'"); goto fail; } while(0)
;
20893 }
20894 arg5 = reinterpret_cast< short * >(argp5);
20895 {
20896 try {
20897 result = (GFitsImageShort *)new GFitsImageShort((int const &)*arg1,(int const &)*arg2,(int const &)*arg3,(int const &)*arg4,(short const *)arg5);
20898 }
20899 catch (const GException::out_of_range& e) {
20900 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
20901 }
20902 catch (const GExceptionHandler& e) {
20903 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20904 }
20905 catch (const std::exception& e) {
20906 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20907 }
20908 }
20909 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageShort, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[15], (
(0x1 << 1) | 0x1) | 0)
;
20910 return resultobj;
20911fail:
20912 return NULL__null;
20913}
20914
20915
20916SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageShort__SWIG_8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20917 PyObject *resultobj = 0;
20918 int *arg1 = 0 ;
20919 int *arg2 = 0 ;
20920 int *arg3 = 0 ;
20921 int *arg4 = 0 ;
20922 int temp1 ;
20923 int val1 ;
20924 int ecode1 = 0 ;
20925 int temp2 ;
20926 int val2 ;
20927 int ecode2 = 0 ;
20928 int temp3 ;
20929 int val3 ;
20930 int ecode3 = 0 ;
20931 int temp4 ;
20932 int val4 ;
20933 int ecode4 = 0 ;
20934 PyObject * obj0 = 0 ;
20935 PyObject * obj1 = 0 ;
20936 PyObject * obj2 = 0 ;
20937 PyObject * obj3 = 0 ;
20938 GFitsImageShort *result = 0 ;
20939
20940 if (!PyArg_ParseTuple(args,(char *)"OOOO:new_GFitsImageShort",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
20941 ecode1 = SWIG_AsVal_int(obj0, &val1);
20942 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
20943 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageShort" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageShort" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
20944 }
20945 temp1 = static_cast< int >(val1);
20946 arg1 = &temp1;
20947 ecode2 = SWIG_AsVal_int(obj1, &val2);
20948 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
20949 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageShort" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageShort" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
20950 }
20951 temp2 = static_cast< int >(val2);
20952 arg2 = &temp2;
20953 ecode3 = SWIG_AsVal_int(obj2, &val3);
20954 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
20955 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsImageShort" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsImageShort" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
20956 }
20957 temp3 = static_cast< int >(val3);
20958 arg3 = &temp3;
20959 ecode4 = SWIG_AsVal_int(obj3, &val4);
20960 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
20961 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_GFitsImageShort" "', argument " "4"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "new_GFitsImageShort" "', argument "
"4"" of type '" "int""'"); goto fail; } while(0)
;
20962 }
20963 temp4 = static_cast< int >(val4);
20964 arg4 = &temp4;
20965 {
20966 try {
20967 result = (GFitsImageShort *)new GFitsImageShort((int const &)*arg1,(int const &)*arg2,(int const &)*arg3,(int const &)*arg4);
20968 }
20969 catch (const GException::out_of_range& e) {
20970 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
20971 }
20972 catch (const GExceptionHandler& e) {
20973 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20974 }
20975 catch (const std::exception& e) {
20976 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
20977 }
20978 }
20979 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageShort, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[15], (
(0x1 << 1) | 0x1) | 0)
;
20980 return resultobj;
20981fail:
20982 return NULL__null;
20983}
20984
20985
20986SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageShort__SWIG_9(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20987 PyObject *resultobj = 0;
20988 int *arg1 = 0 ;
20989 int *arg2 = (int *) 0 ;
20990 short *arg3 = (short *) 0 ;
20991 int temp1 ;
20992 int val1 ;
20993 int ecode1 = 0 ;
20994 void *argp2 = 0 ;
20995 int res2 = 0 ;
20996 void *argp3 = 0 ;
20997 int res3 = 0 ;
20998 PyObject * obj0 = 0 ;
20999 PyObject * obj1 = 0 ;
21000 PyObject * obj2 = 0 ;
21001 GFitsImageShort *result = 0 ;
21002
21003 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GFitsImageShort",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
21004 ecode1 = SWIG_AsVal_int(obj0, &val1);
21005 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
21006 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageShort" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageShort" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
21007 }
21008 temp1 = static_cast< int >(val1);
21009 arg1 = &temp1;
21010 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[41]
, 0 | 0, 0)
;
21011 if (!SWIG_IsOK(res2)(res2 >= 0)) {
21012 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_GFitsImageShort" "', argument " "2"" of type '" "int const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "new_GFitsImageShort" "', argument "
"2"" of type '" "int const *""'"); goto fail; } while(0)
;
21013 }
21014 arg2 = reinterpret_cast< int * >(argp2);
21015 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_short, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[45]
, 0 | 0, 0)
;
21016 if (!SWIG_IsOK(res3)(res3 >= 0)) {
21017 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_GFitsImageShort" "', argument " "3"" of type '" "short const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "new_GFitsImageShort" "', argument "
"3"" of type '" "short const *""'"); goto fail; } while(0)
;
21018 }
21019 arg3 = reinterpret_cast< short * >(argp3);
21020 {
21021 try {
21022 result = (GFitsImageShort *)new GFitsImageShort((int const &)*arg1,(int const *)arg2,(short const *)arg3);
21023 }
21024 catch (const GException::out_of_range& e) {
21025 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
21026 }
21027 catch (const GExceptionHandler& e) {
21028 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21029 }
21030 catch (const std::exception& e) {
21031 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21032 }
21033 }
21034 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageShort, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[15], (
(0x1 << 1) | 0x1) | 0)
;
21035 return resultobj;
21036fail:
21037 return NULL__null;
21038}
21039
21040
21041SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageShort__SWIG_10(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21042 PyObject *resultobj = 0;
21043 int *arg1 = 0 ;
21044 int *arg2 = (int *) 0 ;
21045 int temp1 ;
21046 int val1 ;
21047 int ecode1 = 0 ;
21048 void *argp2 = 0 ;
21049 int res2 = 0 ;
21050 PyObject * obj0 = 0 ;
21051 PyObject * obj1 = 0 ;
21052 GFitsImageShort *result = 0 ;
21053
21054 if (!PyArg_ParseTuple(args,(char *)"OO:new_GFitsImageShort",&obj0,&obj1)) SWIG_failgoto fail;
21055 ecode1 = SWIG_AsVal_int(obj0, &val1);
21056 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
21057 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageShort" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageShort" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
21058 }
21059 temp1 = static_cast< int >(val1);
21060 arg1 = &temp1;
21061 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[41]
, 0 | 0, 0)
;
21062 if (!SWIG_IsOK(res2)(res2 >= 0)) {
21063 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_GFitsImageShort" "', argument " "2"" of type '" "int const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "new_GFitsImageShort" "', argument "
"2"" of type '" "int const *""'"); goto fail; } while(0)
;
21064 }
21065 arg2 = reinterpret_cast< int * >(argp2);
21066 {
21067 try {
21068 result = (GFitsImageShort *)new GFitsImageShort((int const &)*arg1,(int const *)arg2);
21069 }
21070 catch (const GException::out_of_range& e) {
21071 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
21072 }
21073 catch (const GExceptionHandler& e) {
21074 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21075 }
21076 catch (const std::exception& e) {
21077 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21078 }
21079 }
21080 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageShort, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[15], (
(0x1 << 1) | 0x1) | 0)
;
21081 return resultobj;
21082fail:
21083 return NULL__null;
21084}
21085
21086
21087SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageShort__SWIG_11(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21088 PyObject *resultobj = 0;
21089 GFitsImageShort *arg1 = 0 ;
21090 void *argp1 = 0 ;
21091 int res1 = 0 ;
21092 PyObject * obj0 = 0 ;
21093 GFitsImageShort *result = 0 ;
21094
21095 if (!PyArg_ParseTuple(args,(char *)"O:new_GFitsImageShort",&obj0)) SWIG_failgoto fail;
21096 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GFitsImageShort, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[15]
, 0 | 0, 0)
;
21097 if (!SWIG_IsOK(res1)(res1 >= 0)) {
21098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsImageShort" "', argument " "1"" of type '" "GFitsImageShort const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsImageShort" "', argument "
"1"" of type '" "GFitsImageShort const &""'"); goto fail
; } while(0)
;
21099 }
21100 if (!argp1) {
21101 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsImageShort" "', argument " "1"" of type '" "GFitsImageShort const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsImageShort" "', argument " "1"" of type '"
"GFitsImageShort const &""'"); goto fail; } while(0)
;
21102 }
21103 arg1 = reinterpret_cast< GFitsImageShort * >(argp1);
21104 {
21105 try {
21106 result = (GFitsImageShort *)new GFitsImageShort((GFitsImageShort const &)*arg1);
21107 }
21108 catch (const GException::out_of_range& e) {
21109 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
21110 }
21111 catch (const GExceptionHandler& e) {
21112 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21113 }
21114 catch (const std::exception& e) {
21115 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21116 }
21117 }
21118 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageShort, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[15], (
(0x1 << 1) | 0x1) | 0)
;
21119 return resultobj;
21120fail:
21121 return NULL__null;
21122}
21123
21124
21125SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageShort(PyObject *self, PyObject *args) {
21126 int argc;
21127 PyObject *argv[6];
21128 int ii;
21129
21130 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
21131 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
21132 for (ii = 0; (ii < 5) && (ii < argc); ii++) {
21133 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
21134 }
21135 if (argc == 0) {
21136 return _wrap_new_GFitsImageShort__SWIG_0(self, args);
21137 }
21138 if (argc == 1) {
21139 int _v;
21140 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GFitsImageShort, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[15], 0, 0
)
;
21141 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21142 if (_v) {
21143 return _wrap_new_GFitsImageShort__SWIG_11(self, args);
21144 }
21145 }
21146 if (argc == 1) {
21147 int _v;
21148 {
21149 int res = SWIG_AsVal_int(argv[0], NULL__null);
21150 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21151 }
21152 if (_v) {
21153 return _wrap_new_GFitsImageShort__SWIG_2(self, args);
21154 }
21155 }
21156 if (argc == 2) {
21157 int _v;
21158 {
21159 int res = SWIG_AsVal_int(argv[0], NULL__null);
21160 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21161 }
21162 if (_v) {
21163 void *vptr = 0;
21164 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[41
], 0, 0)
;
21165 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21166 if (_v) {
21167 return _wrap_new_GFitsImageShort__SWIG_10(self, args);
21168 }
21169 }
21170 }
21171 if (argc == 2) {
21172 int _v;
21173 {
21174 int res = SWIG_AsVal_int(argv[0], NULL__null);
21175 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21176 }
21177 if (_v) {
21178 void *vptr = 0;
21179 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_short, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[45
], 0, 0)
;
21180 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21181 if (_v) {
21182 return _wrap_new_GFitsImageShort__SWIG_1(self, args);
21183 }
21184 }
21185 }
21186 if (argc == 2) {
21187 int _v;
21188 {
21189 int res = SWIG_AsVal_int(argv[0], NULL__null);
21190 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21191 }
21192 if (_v) {
21193 {
21194 int res = SWIG_AsVal_int(argv[1], NULL__null);
21195 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21196 }
21197 if (_v) {
21198 return _wrap_new_GFitsImageShort__SWIG_4(self, args);
21199 }
21200 }
21201 }
21202 if (argc == 3) {
21203 int _v;
21204 {
21205 int res = SWIG_AsVal_int(argv[0], NULL__null);
21206 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21207 }
21208 if (_v) {
21209 void *vptr = 0;
21210 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[41
], 0, 0)
;
21211 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21212 if (_v) {
21213 void *vptr = 0;
21214 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_short, 0)SWIG_Python_ConvertPtrAndOwn(argv[2], &vptr, swig_types[45
], 0, 0)
;
21215 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21216 if (_v) {
21217 return _wrap_new_GFitsImageShort__SWIG_9(self, args);
21218 }
21219 }
21220 }
21221 }
21222 if (argc == 3) {
21223 int _v;
21224 {
21225 int res = SWIG_AsVal_int(argv[0], NULL__null);
21226 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21227 }
21228 if (_v) {
21229 {
21230 int res = SWIG_AsVal_int(argv[1], NULL__null);
21231 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21232 }
21233 if (_v) {
21234 void *vptr = 0;
21235 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_short, 0)SWIG_Python_ConvertPtrAndOwn(argv[2], &vptr, swig_types[45
], 0, 0)
;
21236 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21237 if (_v) {
21238 return _wrap_new_GFitsImageShort__SWIG_3(self, args);
21239 }
21240 }
21241 }
21242 }
21243 if (argc == 3) {
21244 int _v;
21245 {
21246 int res = SWIG_AsVal_int(argv[0], NULL__null);
21247 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21248 }
21249 if (_v) {
21250 {
21251 int res = SWIG_AsVal_int(argv[1], NULL__null);
21252 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21253 }
21254 if (_v) {
21255 {
21256 int res = SWIG_AsVal_int(argv[2], NULL__null);
21257 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21258 }
21259 if (_v) {
21260 return _wrap_new_GFitsImageShort__SWIG_6(self, args);
21261 }
21262 }
21263 }
21264 }
21265 if (argc == 4) {
21266 int _v;
21267 {
21268 int res = SWIG_AsVal_int(argv[0], NULL__null);
21269 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21270 }
21271 if (_v) {
21272 {
21273 int res = SWIG_AsVal_int(argv[1], NULL__null);
21274 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21275 }
21276 if (_v) {
21277 {
21278 int res = SWIG_AsVal_int(argv[2], NULL__null);
21279 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21280 }
21281 if (_v) {
21282 void *vptr = 0;
21283 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_short, 0)SWIG_Python_ConvertPtrAndOwn(argv[3], &vptr, swig_types[45
], 0, 0)
;
21284 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21285 if (_v) {
21286 return _wrap_new_GFitsImageShort__SWIG_5(self, args);
21287 }
21288 }
21289 }
21290 }
21291 }
21292 if (argc == 4) {
21293 int _v;
21294 {
21295 int res = SWIG_AsVal_int(argv[0], NULL__null);
21296 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21297 }
21298 if (_v) {
21299 {
21300 int res = SWIG_AsVal_int(argv[1], NULL__null);
21301 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21302 }
21303 if (_v) {
21304 {
21305 int res = SWIG_AsVal_int(argv[2], NULL__null);
21306 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21307 }
21308 if (_v) {
21309 {
21310 int res = SWIG_AsVal_int(argv[3], NULL__null);
21311 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21312 }
21313 if (_v) {
21314 return _wrap_new_GFitsImageShort__SWIG_8(self, args);
21315 }
21316 }
21317 }
21318 }
21319 }
21320 if (argc == 5) {
21321 int _v;
21322 {
21323 int res = SWIG_AsVal_int(argv[0], NULL__null);
21324 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21325 }
21326 if (_v) {
21327 {
21328 int res = SWIG_AsVal_int(argv[1], NULL__null);
21329 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21330 }
21331 if (_v) {
21332 {
21333 int res = SWIG_AsVal_int(argv[2], NULL__null);
21334 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21335 }
21336 if (_v) {
21337 {
21338 int res = SWIG_AsVal_int(argv[3], NULL__null);
21339 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21340 }
21341 if (_v) {
21342 void *vptr = 0;
21343 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_short, 0)SWIG_Python_ConvertPtrAndOwn(argv[4], &vptr, swig_types[45
], 0, 0)
;
21344 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21345 if (_v) {
21346 return _wrap_new_GFitsImageShort__SWIG_7(self, args);
21347 }
21348 }
21349 }
21350 }
21351 }
21352 }
21353
21354fail:
21355 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GFitsImageShort'.\n"
21356 " Possible C/C++ prototypes are:\n"
21357 " GFitsImageShort::GFitsImageShort()\n"
21358 " GFitsImageShort::GFitsImageShort(int const &,short const *)\n"
21359 " GFitsImageShort::GFitsImageShort(int const &)\n"
21360 " GFitsImageShort::GFitsImageShort(int const &,int const &,short const *)\n"
21361 " GFitsImageShort::GFitsImageShort(int const &,int const &)\n"
21362 " GFitsImageShort::GFitsImageShort(int const &,int const &,int const &,short const *)\n"
21363 " GFitsImageShort::GFitsImageShort(int const &,int const &,int const &)\n"
21364 " GFitsImageShort::GFitsImageShort(int const &,int const &,int const &,int const &,short const *)\n"
21365 " GFitsImageShort::GFitsImageShort(int const &,int const &,int const &,int const &)\n"
21366 " GFitsImageShort::GFitsImageShort(int const &,int const *,short const *)\n"
21367 " GFitsImageShort::GFitsImageShort(int const &,int const *)\n"
21368 " GFitsImageShort::GFitsImageShort(GFitsImageShort const &)\n");
21369 return 0;
21370}
21371
21372
21373SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GFitsImageShort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21374 PyObject *resultobj = 0;
21375 GFitsImageShort *arg1 = (GFitsImageShort *) 0 ;
21376 void *argp1 = 0 ;
21377 int res1 = 0 ;
21378 PyObject * obj0 = 0 ;
21379
21380 if (!PyArg_ParseTuple(args,(char *)"O:delete_GFitsImageShort",&obj0)) SWIG_failgoto fail;
21381 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageShort, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[15]
, 0x1 | 0, 0)
;
21382 if (!SWIG_IsOK(res1)(res1 >= 0)) {
21383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GFitsImageShort" "', argument " "1"" of type '" "GFitsImageShort *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GFitsImageShort" "', argument "
"1"" of type '" "GFitsImageShort *""'"); goto fail; } while(
0)
;
21384 }
21385 arg1 = reinterpret_cast< GFitsImageShort * >(argp1);
21386 {
21387 try {
21388 delete arg1;
21389 }
21390 catch (const GException::out_of_range& e) {
21391 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
21392 }
21393 catch (const GExceptionHandler& e) {
21394 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21395 }
21396 catch (const std::exception& e) {
21397 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21398 }
21399 }
21400 resultobj = SWIG_Py_Void();
21401 return resultobj;
21402fail:
21403 return NULL__null;
21404}
21405
21406
21407SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageShort_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21408 PyObject *resultobj = 0;
21409 GFitsImageShort *arg1 = (GFitsImageShort *) 0 ;
21410 void *argp1 = 0 ;
21411 int res1 = 0 ;
21412 PyObject * obj0 = 0 ;
21413
21414 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageShort_clear",&obj0)) SWIG_failgoto fail;
21415 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageShort, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[15]
, 0 | 0, 0)
;
21416 if (!SWIG_IsOK(res1)(res1 >= 0)) {
21417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageShort_clear" "', argument " "1"" of type '" "GFitsImageShort *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageShort_clear" "', argument "
"1"" of type '" "GFitsImageShort *""'"); goto fail; } while(
0)
;
21418 }
21419 arg1 = reinterpret_cast< GFitsImageShort * >(argp1);
21420 {
21421 try {
21422 (arg1)->clear();
21423 }
21424 catch (const GException::out_of_range& e) {
21425 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
21426 }
21427 catch (const GExceptionHandler& e) {
21428 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21429 }
21430 catch (const std::exception& e) {
21431 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21432 }
21433 }
21434 resultobj = SWIG_Py_Void();
21435 return resultobj;
21436fail:
21437 return NULL__null;
21438}
21439
21440
21441SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageShort_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21442 PyObject *resultobj = 0;
21443 GFitsImageShort *arg1 = (GFitsImageShort *) 0 ;
21444 void *argp1 = 0 ;
21445 int res1 = 0 ;
21446 PyObject * obj0 = 0 ;
21447 GFitsImageShort *result = 0 ;
21448
21449 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageShort_clone",&obj0)) SWIG_failgoto fail;
21450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageShort, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[15]
, 0 | 0, 0)
;
21451 if (!SWIG_IsOK(res1)(res1 >= 0)) {
21452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageShort_clone" "', argument " "1"" of type '" "GFitsImageShort const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageShort_clone" "', argument "
"1"" of type '" "GFitsImageShort const *""'"); goto fail; } while
(0)
;
21453 }
21454 arg1 = reinterpret_cast< GFitsImageShort * >(argp1);
21455 {
21456 try {
21457 result = (GFitsImageShort *)((GFitsImageShort const *)arg1)->clone();
21458 }
21459 catch (const GException::out_of_range& e) {
21460 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
21461 }
21462 catch (const GExceptionHandler& e) {
21463 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21464 }
21465 catch (const std::exception& e) {
21466 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21467 }
21468 }
21469 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageShort, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[15], 0
| 0)
;
21470 return resultobj;
21471fail:
21472 return NULL__null;
21473}
21474
21475
21476SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageShort_pixel__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21477 PyObject *resultobj = 0;
21478 GFitsImageShort *arg1 = (GFitsImageShort *) 0 ;
21479 int *arg2 = 0 ;
21480 void *argp1 = 0 ;
21481 int res1 = 0 ;
21482 int temp2 ;
21483 int val2 ;
21484 int ecode2 = 0 ;
21485 PyObject * obj0 = 0 ;
21486 PyObject * obj1 = 0 ;
21487 double result;
21488
21489 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsImageShort_pixel",&obj0,&obj1)) SWIG_failgoto fail;
21490 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageShort, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[15]
, 0 | 0, 0)
;
21491 if (!SWIG_IsOK(res1)(res1 >= 0)) {
21492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageShort_pixel" "', argument " "1"" of type '" "GFitsImageShort const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageShort_pixel" "', argument "
"1"" of type '" "GFitsImageShort const *""'"); goto fail; } while
(0)
;
21493 }
21494 arg1 = reinterpret_cast< GFitsImageShort * >(argp1);
21495 ecode2 = SWIG_AsVal_int(obj1, &val2);
21496 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
21497 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsImageShort_pixel" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsImageShort_pixel"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
21498 }
21499 temp2 = static_cast< int >(val2);
21500 arg2 = &temp2;
21501 {
21502 try {
21503 result = (double)((GFitsImageShort const *)arg1)->pixel((int const &)*arg2);
21504 }
21505 catch (const GException::out_of_range& e) {
21506 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
21507 }
21508 catch (const GExceptionHandler& e) {
21509 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21510 }
21511 catch (const std::exception& e) {
21512 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21513 }
21514 }
21515 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
21516 return resultobj;
21517fail:
21518 return NULL__null;
21519}
21520
21521
21522SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageShort_pixel__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21523 PyObject *resultobj = 0;
21524 GFitsImageShort *arg1 = (GFitsImageShort *) 0 ;
21525 int *arg2 = 0 ;
21526 int *arg3 = 0 ;
21527 void *argp1 = 0 ;
21528 int res1 = 0 ;
21529 int temp2 ;
21530 int val2 ;
21531 int ecode2 = 0 ;
21532 int temp3 ;
21533 int val3 ;
21534 int ecode3 = 0 ;
21535 PyObject * obj0 = 0 ;
21536 PyObject * obj1 = 0 ;
21537 PyObject * obj2 = 0 ;
21538 double result;
21539
21540 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsImageShort_pixel",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
21541 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageShort, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[15]
, 0 | 0, 0)
;
21542 if (!SWIG_IsOK(res1)(res1 >= 0)) {
21543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageShort_pixel" "', argument " "1"" of type '" "GFitsImageShort const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageShort_pixel" "', argument "
"1"" of type '" "GFitsImageShort const *""'"); goto fail; } while
(0)
;
21544 }
21545 arg1 = reinterpret_cast< GFitsImageShort * >(argp1);
21546 ecode2 = SWIG_AsVal_int(obj1, &val2);
21547 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
21548 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsImageShort_pixel" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsImageShort_pixel"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
21549 }
21550 temp2 = static_cast< int >(val2);
21551 arg2 = &temp2;
21552 ecode3 = SWIG_AsVal_int(obj2, &val3);
21553 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
21554 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsImageShort_pixel" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsImageShort_pixel"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
21555 }
21556 temp3 = static_cast< int >(val3);
21557 arg3 = &temp3;
21558 {
21559 try {
21560 result = (double)((GFitsImageShort const *)arg1)->pixel((int const &)*arg2,(int const &)*arg3);
21561 }
21562 catch (const GException::out_of_range& e) {
21563 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
21564 }
21565 catch (const GExceptionHandler& e) {
21566 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21567 }
21568 catch (const std::exception& e) {
21569 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21570 }
21571 }
21572 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
21573 return resultobj;
21574fail:
21575 return NULL__null;
21576}
21577
21578
21579SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageShort_pixel__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21580 PyObject *resultobj = 0;
21581 GFitsImageShort *arg1 = (GFitsImageShort *) 0 ;
21582 int *arg2 = 0 ;
21583 int *arg3 = 0 ;
21584 int *arg4 = 0 ;
21585 void *argp1 = 0 ;
21586 int res1 = 0 ;
21587 int temp2 ;
21588 int val2 ;
21589 int ecode2 = 0 ;
21590 int temp3 ;
21591 int val3 ;
21592 int ecode3 = 0 ;
21593 int temp4 ;
21594 int val4 ;
21595 int ecode4 = 0 ;
21596 PyObject * obj0 = 0 ;
21597 PyObject * obj1 = 0 ;
21598 PyObject * obj2 = 0 ;
21599 PyObject * obj3 = 0 ;
21600 double result;
21601
21602 if (!PyArg_ParseTuple(args,(char *)"OOOO:GFitsImageShort_pixel",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
21603 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageShort, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[15]
, 0 | 0, 0)
;
21604 if (!SWIG_IsOK(res1)(res1 >= 0)) {
21605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageShort_pixel" "', argument " "1"" of type '" "GFitsImageShort const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageShort_pixel" "', argument "
"1"" of type '" "GFitsImageShort const *""'"); goto fail; } while
(0)
;
21606 }
21607 arg1 = reinterpret_cast< GFitsImageShort * >(argp1);
21608 ecode2 = SWIG_AsVal_int(obj1, &val2);
21609 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
21610 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsImageShort_pixel" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsImageShort_pixel"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
21611 }
21612 temp2 = static_cast< int >(val2);
21613 arg2 = &temp2;
21614 ecode3 = SWIG_AsVal_int(obj2, &val3);
21615 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
21616 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsImageShort_pixel" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsImageShort_pixel"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
21617 }
21618 temp3 = static_cast< int >(val3);
21619 arg3 = &temp3;
21620 ecode4 = SWIG_AsVal_int(obj3, &val4);
21621 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
21622 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GFitsImageShort_pixel" "', argument " "4"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GFitsImageShort_pixel"
"', argument " "4"" of type '" "int""'"); goto fail; } while
(0)
;
21623 }
21624 temp4 = static_cast< int >(val4);
21625 arg4 = &temp4;
21626 {
21627 try {
21628 result = (double)((GFitsImageShort const *)arg1)->pixel((int const &)*arg2,(int const &)*arg3,(int const &)*arg4);
21629 }
21630 catch (const GException::out_of_range& e) {
21631 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
21632 }
21633 catch (const GExceptionHandler& e) {
21634 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21635 }
21636 catch (const std::exception& e) {
21637 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21638 }
21639 }
21640 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
21641 return resultobj;
21642fail:
21643 return NULL__null;
21644}
21645
21646
21647SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageShort_pixel__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21648 PyObject *resultobj = 0;
21649 GFitsImageShort *arg1 = (GFitsImageShort *) 0 ;
21650 int *arg2 = 0 ;
21651 int *arg3 = 0 ;
21652 int *arg4 = 0 ;
21653 int *arg5 = 0 ;
21654 void *argp1 = 0 ;
21655 int res1 = 0 ;
21656 int temp2 ;
21657 int val2 ;
21658 int ecode2 = 0 ;
21659 int temp3 ;
21660 int val3 ;
21661 int ecode3 = 0 ;
21662 int temp4 ;
21663 int val4 ;
21664 int ecode4 = 0 ;
21665 int temp5 ;
21666 int val5 ;
21667 int ecode5 = 0 ;
21668 PyObject * obj0 = 0 ;
21669 PyObject * obj1 = 0 ;
21670 PyObject * obj2 = 0 ;
21671 PyObject * obj3 = 0 ;
21672 PyObject * obj4 = 0 ;
21673 double result;
21674
21675 if (!PyArg_ParseTuple(args,(char *)"OOOOO:GFitsImageShort_pixel",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_failgoto fail;
21676 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageShort, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[15]
, 0 | 0, 0)
;
21677 if (!SWIG_IsOK(res1)(res1 >= 0)) {
21678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageShort_pixel" "', argument " "1"" of type '" "GFitsImageShort const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageShort_pixel" "', argument "
"1"" of type '" "GFitsImageShort const *""'"); goto fail; } while
(0)
;
21679 }
21680 arg1 = reinterpret_cast< GFitsImageShort * >(argp1);
21681 ecode2 = SWIG_AsVal_int(obj1, &val2);
21682 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
21683 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsImageShort_pixel" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsImageShort_pixel"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
21684 }
21685 temp2 = static_cast< int >(val2);
21686 arg2 = &temp2;
21687 ecode3 = SWIG_AsVal_int(obj2, &val3);
21688 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
21689 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsImageShort_pixel" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsImageShort_pixel"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
21690 }
21691 temp3 = static_cast< int >(val3);
21692 arg3 = &temp3;
21693 ecode4 = SWIG_AsVal_int(obj3, &val4);
21694 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
21695 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GFitsImageShort_pixel" "', argument " "4"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GFitsImageShort_pixel"
"', argument " "4"" of type '" "int""'"); goto fail; } while
(0)
;
21696 }
21697 temp4 = static_cast< int >(val4);
21698 arg4 = &temp4;
21699 ecode5 = SWIG_AsVal_int(obj4, &val5);
21700 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
21701 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GFitsImageShort_pixel" "', argument " "5"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GFitsImageShort_pixel"
"', argument " "5"" of type '" "int""'"); goto fail; } while
(0)
;
21702 }
21703 temp5 = static_cast< int >(val5);
21704 arg5 = &temp5;
21705 {
21706 try {
21707 result = (double)((GFitsImageShort const *)arg1)->pixel((int const &)*arg2,(int const &)*arg3,(int const &)*arg4,(int const &)*arg5);
21708 }
21709 catch (const GException::out_of_range& e) {
21710 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
21711 }
21712 catch (const GExceptionHandler& e) {
21713 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21714 }
21715 catch (const std::exception& e) {
21716 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21717 }
21718 }
21719 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
21720 return resultobj;
21721fail:
21722 return NULL__null;
21723}
21724
21725
21726SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageShort_pixel(PyObject *self, PyObject *args) {
21727 int argc;
21728 PyObject *argv[6];
21729 int ii;
21730
21731 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
21732 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
21733 for (ii = 0; (ii < 5) && (ii < argc); ii++) {
21734 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
21735 }
21736 if (argc == 2) {
21737 int _v;
21738 void *vptr = 0;
21739 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsImageShort, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[15
], 0, 0)
;
21740 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21741 if (_v) {
21742 {
21743 int res = SWIG_AsVal_int(argv[1], NULL__null);
21744 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21745 }
21746 if (_v) {
21747 return _wrap_GFitsImageShort_pixel__SWIG_0(self, args);
21748 }
21749 }
21750 }
21751 if (argc == 3) {
21752 int _v;
21753 void *vptr = 0;
21754 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsImageShort, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[15
], 0, 0)
;
21755 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21756 if (_v) {
21757 {
21758 int res = SWIG_AsVal_int(argv[1], NULL__null);
21759 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21760 }
21761 if (_v) {
21762 {
21763 int res = SWIG_AsVal_int(argv[2], NULL__null);
21764 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21765 }
21766 if (_v) {
21767 return _wrap_GFitsImageShort_pixel__SWIG_1(self, args);
21768 }
21769 }
21770 }
21771 }
21772 if (argc == 4) {
21773 int _v;
21774 void *vptr = 0;
21775 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsImageShort, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[15
], 0, 0)
;
21776 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21777 if (_v) {
21778 {
21779 int res = SWIG_AsVal_int(argv[1], NULL__null);
21780 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21781 }
21782 if (_v) {
21783 {
21784 int res = SWIG_AsVal_int(argv[2], NULL__null);
21785 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21786 }
21787 if (_v) {
21788 {
21789 int res = SWIG_AsVal_int(argv[3], NULL__null);
21790 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21791 }
21792 if (_v) {
21793 return _wrap_GFitsImageShort_pixel__SWIG_2(self, args);
21794 }
21795 }
21796 }
21797 }
21798 }
21799 if (argc == 5) {
21800 int _v;
21801 void *vptr = 0;
21802 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsImageShort, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[15
], 0, 0)
;
21803 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21804 if (_v) {
21805 {
21806 int res = SWIG_AsVal_int(argv[1], NULL__null);
21807 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21808 }
21809 if (_v) {
21810 {
21811 int res = SWIG_AsVal_int(argv[2], NULL__null);
21812 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21813 }
21814 if (_v) {
21815 {
21816 int res = SWIG_AsVal_int(argv[3], NULL__null);
21817 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21818 }
21819 if (_v) {
21820 {
21821 int res = SWIG_AsVal_int(argv[4], NULL__null);
21822 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
21823 }
21824 if (_v) {
21825 return _wrap_GFitsImageShort_pixel__SWIG_3(self, args);
21826 }
21827 }
21828 }
21829 }
21830 }
21831 }
21832
21833fail:
21834 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsImageShort_pixel'.\n"
21835 " Possible C/C++ prototypes are:\n"
21836 " GFitsImageShort::pixel(int const &) const\n"
21837 " GFitsImageShort::pixel(int const &,int const &) const\n"
21838 " GFitsImageShort::pixel(int const &,int const &,int const &) const\n"
21839 " GFitsImageShort::pixel(int const &,int const &,int const &,int const &) const\n");
21840 return 0;
21841}
21842
21843
21844SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageShort_pixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21845 PyObject *resultobj = 0;
21846 GFitsImageShort *arg1 = (GFitsImageShort *) 0 ;
21847 void *argp1 = 0 ;
21848 int res1 = 0 ;
21849 PyObject * obj0 = 0 ;
21850 void *result = 0 ;
21851
21852 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageShort_pixels",&obj0)) SWIG_failgoto fail;
21853 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageShort, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[15]
, 0 | 0, 0)
;
21854 if (!SWIG_IsOK(res1)(res1 >= 0)) {
21855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageShort_pixels" "', argument " "1"" of type '" "GFitsImageShort *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageShort_pixels" "', argument "
"1"" of type '" "GFitsImageShort *""'"); goto fail; } while(
0)
;
21856 }
21857 arg1 = reinterpret_cast< GFitsImageShort * >(argp1);
21858 {
21859 try {
21860 result = (void *)(arg1)->pixels();
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_void, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[57], 0
| 0)
;
21873 return resultobj;
21874fail:
21875 return NULL__null;
21876}
21877
21878
21879SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageShort_type(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21880 PyObject *resultobj = 0;
21881 GFitsImageShort *arg1 = (GFitsImageShort *) 0 ;
21882 void *argp1 = 0 ;
21883 int res1 = 0 ;
21884 PyObject * obj0 = 0 ;
21885 int result;
21886
21887 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageShort_type",&obj0)) SWIG_failgoto fail;
21888 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageShort, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[15]
, 0 | 0, 0)
;
21889 if (!SWIG_IsOK(res1)(res1 >= 0)) {
21890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageShort_type" "', argument " "1"" of type '" "GFitsImageShort const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageShort_type" "', argument "
"1"" of type '" "GFitsImageShort const *""'"); goto fail; } while
(0)
;
21891 }
21892 arg1 = reinterpret_cast< GFitsImageShort * >(argp1);
21893 {
21894 try {
21895 result = (int)((GFitsImageShort const *)arg1)->type();
21896 }
21897 catch (const GException::out_of_range& e) {
21898 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
21899 }
21900 catch (const GExceptionHandler& e) {
21901 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21902 }
21903 catch (const std::exception& e) {
21904 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21905 }
21906 }
21907 resultobj = SWIG_From_int(static_cast< int >(result));
21908 return resultobj;
21909fail:
21910 return NULL__null;
21911}
21912
21913
21914SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageShort___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21915 PyObject *resultobj = 0;
21916 GFitsImageShort *arg1 = (GFitsImageShort *) 0 ;
21917 int *arg2 ;
21918 void *argp1 = 0 ;
21919 int res1 = 0 ;
21920 int temp2[5] ;
21921 PyObject * obj0 = 0 ;
21922 PyObject * obj1 = 0 ;
21923 short result;
21924
21925 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsImageShort___getitem__",&obj0,&obj1)) SWIG_failgoto fail;
21926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageShort, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[15]
, 0 | 0, 0)
;
21927 if (!SWIG_IsOK(res1)(res1 >= 0)) {
21928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageShort___getitem__" "', argument " "1"" of type '" "GFitsImageShort *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageShort___getitem__"
"', argument " "1"" of type '" "GFitsImageShort *""'"); goto
fail; } while(0)
;
21929 }
21930 arg1 = reinterpret_cast< GFitsImageShort * >(argp1);
21931 {
21932 if (!image_pixel_tuple(obj1,temp2)) {
21933 return NULL__null;
21934 }
21935 arg2 = &temp2[0];
21936 }
21937 {
21938 try {
21939 result = (short)GFitsImageShort___getitem__(arg1,arg2);
21940 }
21941 catch (const GException::out_of_range& e) {
21942 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
21943 }
21944 catch (const GExceptionHandler& e) {
21945 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21946 }
21947 catch (const std::exception& e) {
21948 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21949 }
21950 }
21951 resultobj = SWIG_From_short(static_cast< short >(result));
21952 return resultobj;
21953fail:
21954 return NULL__null;
21955}
21956
21957
21958SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageShort___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21959 PyObject *resultobj = 0;
21960 GFitsImageShort *arg1 = (GFitsImageShort *) 0 ;
21961 int *arg2 ;
21962 short arg3 ;
21963 void *argp1 = 0 ;
21964 int res1 = 0 ;
21965 int temp2[5] ;
21966 short val3 ;
21967 int ecode3 = 0 ;
21968 PyObject * obj0 = 0 ;
21969 PyObject * obj1 = 0 ;
21970 PyObject * obj2 = 0 ;
21971
21972 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsImageShort___setitem__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
21973 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageShort, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[15]
, 0 | 0, 0)
;
21974 if (!SWIG_IsOK(res1)(res1 >= 0)) {
21975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageShort___setitem__" "', argument " "1"" of type '" "GFitsImageShort *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageShort___setitem__"
"', argument " "1"" of type '" "GFitsImageShort *""'"); goto
fail; } while(0)
;
21976 }
21977 arg1 = reinterpret_cast< GFitsImageShort * >(argp1);
21978 {
21979 if (!image_pixel_tuple(obj1,temp2)) {
21980 return NULL__null;
21981 }
21982 arg2 = &temp2[0];
21983 }
21984 ecode3 = SWIG_AsVal_short(obj2, &val3);
21985 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
21986 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsImageShort___setitem__" "', argument " "3"" of type '" "short""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsImageShort___setitem__"
"', argument " "3"" of type '" "short""'"); goto fail; } while
(0)
;
21987 }
21988 arg3 = static_cast< short >(val3);
21989 {
21990 try {
21991 GFitsImageShort___setitem__(arg1,arg2,arg3);
21992 }
21993 catch (const GException::out_of_range& e) {
21994 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
21995 }
21996 catch (const GExceptionHandler& e) {
21997 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
21998 }
21999 catch (const std::exception& e) {
22000 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22001 }
22002 }
22003 resultobj = SWIG_Py_Void();
22004 return resultobj;
22005fail:
22006 return NULL__null;
22007}
22008
22009
22010SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageShort_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22011 PyObject *resultobj = 0;
22012 GFitsImageShort *arg1 = (GFitsImageShort *) 0 ;
22013 void *argp1 = 0 ;
22014 int res1 = 0 ;
22015 PyObject * obj0 = 0 ;
22016 GFitsImageShort result;
22017
22018 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageShort_copy",&obj0)) SWIG_failgoto fail;
22019 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageShort, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[15]
, 0 | 0, 0)
;
22020 if (!SWIG_IsOK(res1)(res1 >= 0)) {
22021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageShort_copy" "', argument " "1"" of type '" "GFitsImageShort *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageShort_copy" "', argument "
"1"" of type '" "GFitsImageShort *""'"); goto fail; } while(
0)
;
22022 }
22023 arg1 = reinterpret_cast< GFitsImageShort * >(argp1);
22024 {
22025 try {
22026 result = GFitsImageShort_copy(arg1);
22027 }
22028 catch (const GException::out_of_range& e) {
22029 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
22030 }
22031 catch (const GExceptionHandler& e) {
22032 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22033 }
22034 catch (const std::exception& e) {
22035 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22036 }
22037 }
22038 resultobj = SWIG_NewPointerObj((new GFitsImageShort(static_cast< const GFitsImageShort& >(result))), SWIGTYPE_p_GFitsImageShort, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GFitsImageShort(static_cast
< const GFitsImageShort& >(result))), swig_types[15
], 0x1 | 0)
;
22039 return resultobj;
22040fail:
22041 return NULL__null;
22042}
22043
22044
22045SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GFitsImageShort_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22046 PyObject *obj;
22047 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
22048 SWIG_TypeNewClientData(SWIGTYPE_p_GFitsImageShortswig_types[15], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
22049 return SWIG_Py_Void();
22050}
22051
22052SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageULong__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22053 PyObject *resultobj = 0;
22054 GFitsImageULong *result = 0 ;
22055
22056 if (!PyArg_ParseTuple(args,(char *)":new_GFitsImageULong")) SWIG_failgoto fail;
22057 {
22058 try {
22059 result = (GFitsImageULong *)new GFitsImageULong();
22060 }
22061 catch (const GException::out_of_range& e) {
22062 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
22063 }
22064 catch (const GExceptionHandler& e) {
22065 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22066 }
22067 catch (const std::exception& e) {
22068 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22069 }
22070 }
22071 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageULong, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[16], (
(0x1 << 1) | 0x1) | 0)
;
22072 return resultobj;
22073fail:
22074 return NULL__null;
22075}
22076
22077
22078SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageULong__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22079 PyObject *resultobj = 0;
22080 int *arg1 = 0 ;
22081 unsigned long *arg2 = (unsigned long *) 0 ;
22082 int temp1 ;
22083 int val1 ;
22084 int ecode1 = 0 ;
22085 void *argp2 = 0 ;
22086 int res2 = 0 ;
22087 PyObject * obj0 = 0 ;
22088 PyObject * obj1 = 0 ;
22089 GFitsImageULong *result = 0 ;
22090
22091 if (!PyArg_ParseTuple(args,(char *)"OO:new_GFitsImageULong",&obj0,&obj1)) SWIG_failgoto fail;
22092 ecode1 = SWIG_AsVal_int(obj0, &val1);
22093 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
22094 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageULong" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageULong" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
22095 }
22096 temp1 = static_cast< int >(val1);
22097 arg1 = &temp1;
22098 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_long, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[54]
, 0 | 0, 0)
;
22099 if (!SWIG_IsOK(res2)(res2 >= 0)) {
22100 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_GFitsImageULong" "', argument " "2"" of type '" "unsigned long const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "new_GFitsImageULong" "', argument "
"2"" of type '" "unsigned long const *""'"); goto fail; } while
(0)
;
22101 }
22102 arg2 = reinterpret_cast< unsigned long * >(argp2);
22103 {
22104 try {
22105 result = (GFitsImageULong *)new GFitsImageULong((int const &)*arg1,(unsigned long const *)arg2);
22106 }
22107 catch (const GException::out_of_range& e) {
22108 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
22109 }
22110 catch (const GExceptionHandler& e) {
22111 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22112 }
22113 catch (const std::exception& e) {
22114 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22115 }
22116 }
22117 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageULong, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[16], (
(0x1 << 1) | 0x1) | 0)
;
22118 return resultobj;
22119fail:
22120 return NULL__null;
22121}
22122
22123
22124SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageULong__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22125 PyObject *resultobj = 0;
22126 int *arg1 = 0 ;
22127 int temp1 ;
22128 int val1 ;
22129 int ecode1 = 0 ;
22130 PyObject * obj0 = 0 ;
22131 GFitsImageULong *result = 0 ;
22132
22133 if (!PyArg_ParseTuple(args,(char *)"O:new_GFitsImageULong",&obj0)) SWIG_failgoto fail;
22134 ecode1 = SWIG_AsVal_int(obj0, &val1);
22135 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
22136 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageULong" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageULong" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
22137 }
22138 temp1 = static_cast< int >(val1);
22139 arg1 = &temp1;
22140 {
22141 try {
22142 result = (GFitsImageULong *)new GFitsImageULong((int const &)*arg1);
22143 }
22144 catch (const GException::out_of_range& e) {
22145 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
22146 }
22147 catch (const GExceptionHandler& e) {
22148 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22149 }
22150 catch (const std::exception& e) {
22151 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22152 }
22153 }
22154 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageULong, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[16], (
(0x1 << 1) | 0x1) | 0)
;
22155 return resultobj;
22156fail:
22157 return NULL__null;
22158}
22159
22160
22161SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageULong__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22162 PyObject *resultobj = 0;
22163 int *arg1 = 0 ;
22164 int *arg2 = 0 ;
22165 unsigned long *arg3 = (unsigned long *) 0 ;
22166 int temp1 ;
22167 int val1 ;
22168 int ecode1 = 0 ;
22169 int temp2 ;
22170 int val2 ;
22171 int ecode2 = 0 ;
22172 void *argp3 = 0 ;
22173 int res3 = 0 ;
22174 PyObject * obj0 = 0 ;
22175 PyObject * obj1 = 0 ;
22176 PyObject * obj2 = 0 ;
22177 GFitsImageULong *result = 0 ;
22178
22179 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GFitsImageULong",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
22180 ecode1 = SWIG_AsVal_int(obj0, &val1);
22181 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
22182 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageULong" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageULong" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
22183 }
22184 temp1 = static_cast< int >(val1);
22185 arg1 = &temp1;
22186 ecode2 = SWIG_AsVal_int(obj1, &val2);
22187 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
22188 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageULong" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageULong" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
22189 }
22190 temp2 = static_cast< int >(val2);
22191 arg2 = &temp2;
22192 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_unsigned_long, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[54]
, 0 | 0, 0)
;
22193 if (!SWIG_IsOK(res3)(res3 >= 0)) {
22194 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_GFitsImageULong" "', argument " "3"" of type '" "unsigned long const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "new_GFitsImageULong" "', argument "
"3"" of type '" "unsigned long const *""'"); goto fail; } while
(0)
;
22195 }
22196 arg3 = reinterpret_cast< unsigned long * >(argp3);
22197 {
22198 try {
22199 result = (GFitsImageULong *)new GFitsImageULong((int const &)*arg1,(int const &)*arg2,(unsigned long const *)arg3);
22200 }
22201 catch (const GException::out_of_range& e) {
22202 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
22203 }
22204 catch (const GExceptionHandler& e) {
22205 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22206 }
22207 catch (const std::exception& e) {
22208 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22209 }
22210 }
22211 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageULong, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[16], (
(0x1 << 1) | 0x1) | 0)
;
22212 return resultobj;
22213fail:
22214 return NULL__null;
22215}
22216
22217
22218SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageULong__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22219 PyObject *resultobj = 0;
22220 int *arg1 = 0 ;
22221 int *arg2 = 0 ;
22222 int temp1 ;
22223 int val1 ;
22224 int ecode1 = 0 ;
22225 int temp2 ;
22226 int val2 ;
22227 int ecode2 = 0 ;
22228 PyObject * obj0 = 0 ;
22229 PyObject * obj1 = 0 ;
22230 GFitsImageULong *result = 0 ;
22231
22232 if (!PyArg_ParseTuple(args,(char *)"OO:new_GFitsImageULong",&obj0,&obj1)) SWIG_failgoto fail;
22233 ecode1 = SWIG_AsVal_int(obj0, &val1);
22234 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
22235 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageULong" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageULong" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
22236 }
22237 temp1 = static_cast< int >(val1);
22238 arg1 = &temp1;
22239 ecode2 = SWIG_AsVal_int(obj1, &val2);
22240 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
22241 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageULong" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageULong" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
22242 }
22243 temp2 = static_cast< int >(val2);
22244 arg2 = &temp2;
22245 {
22246 try {
22247 result = (GFitsImageULong *)new GFitsImageULong((int const &)*arg1,(int const &)*arg2);
22248 }
22249 catch (const GException::out_of_range& e) {
22250 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
22251 }
22252 catch (const GExceptionHandler& e) {
22253 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22254 }
22255 catch (const std::exception& e) {
22256 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22257 }
22258 }
22259 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageULong, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[16], (
(0x1 << 1) | 0x1) | 0)
;
22260 return resultobj;
22261fail:
22262 return NULL__null;
22263}
22264
22265
22266SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageULong__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22267 PyObject *resultobj = 0;
22268 int *arg1 = 0 ;
22269 int *arg2 = 0 ;
22270 int *arg3 = 0 ;
22271 unsigned long *arg4 = (unsigned long *) 0 ;
22272 int temp1 ;
22273 int val1 ;
22274 int ecode1 = 0 ;
22275 int temp2 ;
22276 int val2 ;
22277 int ecode2 = 0 ;
22278 int temp3 ;
22279 int val3 ;
22280 int ecode3 = 0 ;
22281 void *argp4 = 0 ;
22282 int res4 = 0 ;
22283 PyObject * obj0 = 0 ;
22284 PyObject * obj1 = 0 ;
22285 PyObject * obj2 = 0 ;
22286 PyObject * obj3 = 0 ;
22287 GFitsImageULong *result = 0 ;
22288
22289 if (!PyArg_ParseTuple(args,(char *)"OOOO:new_GFitsImageULong",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
22290 ecode1 = SWIG_AsVal_int(obj0, &val1);
22291 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
22292 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageULong" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageULong" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
22293 }
22294 temp1 = static_cast< int >(val1);
22295 arg1 = &temp1;
22296 ecode2 = SWIG_AsVal_int(obj1, &val2);
22297 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
22298 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageULong" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageULong" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
22299 }
22300 temp2 = static_cast< int >(val2);
22301 arg2 = &temp2;
22302 ecode3 = SWIG_AsVal_int(obj2, &val3);
22303 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
22304 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsImageULong" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsImageULong" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
22305 }
22306 temp3 = static_cast< int >(val3);
22307 arg3 = &temp3;
22308 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_unsigned_long, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj3, &argp4, swig_types[54]
, 0 | 0, 0)
;
22309 if (!SWIG_IsOK(res4)(res4 >= 0)) {
22310 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_GFitsImageULong" "', argument " "4"" of type '" "unsigned long const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res4 != (
-1)) ? res4 : -5)), "in method '" "new_GFitsImageULong" "', argument "
"4"" of type '" "unsigned long const *""'"); goto fail; } while
(0)
;
22311 }
22312 arg4 = reinterpret_cast< unsigned long * >(argp4);
22313 {
22314 try {
22315 result = (GFitsImageULong *)new GFitsImageULong((int const &)*arg1,(int const &)*arg2,(int const &)*arg3,(unsigned long const *)arg4);
22316 }
22317 catch (const GException::out_of_range& e) {
22318 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
22319 }
22320 catch (const GExceptionHandler& e) {
22321 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22322 }
22323 catch (const std::exception& e) {
22324 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22325 }
22326 }
22327 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageULong, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[16], (
(0x1 << 1) | 0x1) | 0)
;
22328 return resultobj;
22329fail:
22330 return NULL__null;
22331}
22332
22333
22334SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageULong__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22335 PyObject *resultobj = 0;
22336 int *arg1 = 0 ;
22337 int *arg2 = 0 ;
22338 int *arg3 = 0 ;
22339 int temp1 ;
22340 int val1 ;
22341 int ecode1 = 0 ;
22342 int temp2 ;
22343 int val2 ;
22344 int ecode2 = 0 ;
22345 int temp3 ;
22346 int val3 ;
22347 int ecode3 = 0 ;
22348 PyObject * obj0 = 0 ;
22349 PyObject * obj1 = 0 ;
22350 PyObject * obj2 = 0 ;
22351 GFitsImageULong *result = 0 ;
22352
22353 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GFitsImageULong",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
22354 ecode1 = SWIG_AsVal_int(obj0, &val1);
22355 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
22356 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageULong" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageULong" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
22357 }
22358 temp1 = static_cast< int >(val1);
22359 arg1 = &temp1;
22360 ecode2 = SWIG_AsVal_int(obj1, &val2);
22361 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
22362 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageULong" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageULong" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
22363 }
22364 temp2 = static_cast< int >(val2);
22365 arg2 = &temp2;
22366 ecode3 = SWIG_AsVal_int(obj2, &val3);
22367 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
22368 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsImageULong" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsImageULong" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
22369 }
22370 temp3 = static_cast< int >(val3);
22371 arg3 = &temp3;
22372 {
22373 try {
22374 result = (GFitsImageULong *)new GFitsImageULong((int const &)*arg1,(int const &)*arg2,(int const &)*arg3);
22375 }
22376 catch (const GException::out_of_range& e) {
22377 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
22378 }
22379 catch (const GExceptionHandler& e) {
22380 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22381 }
22382 catch (const std::exception& e) {
22383 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22384 }
22385 }
22386 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageULong, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[16], (
(0x1 << 1) | 0x1) | 0)
;
22387 return resultobj;
22388fail:
22389 return NULL__null;
22390}
22391
22392
22393SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageULong__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22394 PyObject *resultobj = 0;
22395 int *arg1 = 0 ;
22396 int *arg2 = 0 ;
22397 int *arg3 = 0 ;
22398 int *arg4 = 0 ;
22399 unsigned long *arg5 = (unsigned long *) 0 ;
22400 int temp1 ;
22401 int val1 ;
22402 int ecode1 = 0 ;
22403 int temp2 ;
22404 int val2 ;
22405 int ecode2 = 0 ;
22406 int temp3 ;
22407 int val3 ;
22408 int ecode3 = 0 ;
22409 int temp4 ;
22410 int val4 ;
22411 int ecode4 = 0 ;
22412 void *argp5 = 0 ;
22413 int res5 = 0 ;
22414 PyObject * obj0 = 0 ;
22415 PyObject * obj1 = 0 ;
22416 PyObject * obj2 = 0 ;
22417 PyObject * obj3 = 0 ;
22418 PyObject * obj4 = 0 ;
22419 GFitsImageULong *result = 0 ;
22420
22421 if (!PyArg_ParseTuple(args,(char *)"OOOOO:new_GFitsImageULong",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_failgoto fail;
22422 ecode1 = SWIG_AsVal_int(obj0, &val1);
22423 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
22424 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageULong" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageULong" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
22425 }
22426 temp1 = static_cast< int >(val1);
22427 arg1 = &temp1;
22428 ecode2 = SWIG_AsVal_int(obj1, &val2);
22429 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
22430 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageULong" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageULong" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
22431 }
22432 temp2 = static_cast< int >(val2);
22433 arg2 = &temp2;
22434 ecode3 = SWIG_AsVal_int(obj2, &val3);
22435 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
22436 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsImageULong" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsImageULong" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
22437 }
22438 temp3 = static_cast< int >(val3);
22439 arg3 = &temp3;
22440 ecode4 = SWIG_AsVal_int(obj3, &val4);
22441 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
22442 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_GFitsImageULong" "', argument " "4"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "new_GFitsImageULong" "', argument "
"4"" of type '" "int""'"); goto fail; } while(0)
;
22443 }
22444 temp4 = static_cast< int >(val4);
22445 arg4 = &temp4;
22446 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_unsigned_long, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj4, &argp5, swig_types[54]
, 0 | 0, 0)
;
22447 if (!SWIG_IsOK(res5)(res5 >= 0)) {
22448 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_GFitsImageULong" "', argument " "5"" of type '" "unsigned long const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res5 != (
-1)) ? res5 : -5)), "in method '" "new_GFitsImageULong" "', argument "
"5"" of type '" "unsigned long const *""'"); goto fail; } while
(0)
;
22449 }
22450 arg5 = reinterpret_cast< unsigned long * >(argp5);
22451 {
22452 try {
22453 result = (GFitsImageULong *)new GFitsImageULong((int const &)*arg1,(int const &)*arg2,(int const &)*arg3,(int const &)*arg4,(unsigned long const *)arg5);
22454 }
22455 catch (const GException::out_of_range& e) {
22456 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
22457 }
22458 catch (const GExceptionHandler& e) {
22459 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22460 }
22461 catch (const std::exception& e) {
22462 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22463 }
22464 }
22465 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageULong, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[16], (
(0x1 << 1) | 0x1) | 0)
;
22466 return resultobj;
22467fail:
22468 return NULL__null;
22469}
22470
22471
22472SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageULong__SWIG_8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22473 PyObject *resultobj = 0;
22474 int *arg1 = 0 ;
22475 int *arg2 = 0 ;
22476 int *arg3 = 0 ;
22477 int *arg4 = 0 ;
22478 int temp1 ;
22479 int val1 ;
22480 int ecode1 = 0 ;
22481 int temp2 ;
22482 int val2 ;
22483 int ecode2 = 0 ;
22484 int temp3 ;
22485 int val3 ;
22486 int ecode3 = 0 ;
22487 int temp4 ;
22488 int val4 ;
22489 int ecode4 = 0 ;
22490 PyObject * obj0 = 0 ;
22491 PyObject * obj1 = 0 ;
22492 PyObject * obj2 = 0 ;
22493 PyObject * obj3 = 0 ;
22494 GFitsImageULong *result = 0 ;
22495
22496 if (!PyArg_ParseTuple(args,(char *)"OOOO:new_GFitsImageULong",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
22497 ecode1 = SWIG_AsVal_int(obj0, &val1);
22498 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
22499 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageULong" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageULong" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
22500 }
22501 temp1 = static_cast< int >(val1);
22502 arg1 = &temp1;
22503 ecode2 = SWIG_AsVal_int(obj1, &val2);
22504 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
22505 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageULong" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageULong" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
22506 }
22507 temp2 = static_cast< int >(val2);
22508 arg2 = &temp2;
22509 ecode3 = SWIG_AsVal_int(obj2, &val3);
22510 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
22511 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsImageULong" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsImageULong" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
22512 }
22513 temp3 = static_cast< int >(val3);
22514 arg3 = &temp3;
22515 ecode4 = SWIG_AsVal_int(obj3, &val4);
22516 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
22517 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_GFitsImageULong" "', argument " "4"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "new_GFitsImageULong" "', argument "
"4"" of type '" "int""'"); goto fail; } while(0)
;
22518 }
22519 temp4 = static_cast< int >(val4);
22520 arg4 = &temp4;
22521 {
22522 try {
22523 result = (GFitsImageULong *)new GFitsImageULong((int const &)*arg1,(int const &)*arg2,(int const &)*arg3,(int const &)*arg4);
22524 }
22525 catch (const GException::out_of_range& e) {
22526 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
22527 }
22528 catch (const GExceptionHandler& e) {
22529 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22530 }
22531 catch (const std::exception& e) {
22532 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22533 }
22534 }
22535 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageULong, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[16], (
(0x1 << 1) | 0x1) | 0)
;
22536 return resultobj;
22537fail:
22538 return NULL__null;
22539}
22540
22541
22542SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageULong__SWIG_9(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22543 PyObject *resultobj = 0;
22544 int *arg1 = 0 ;
22545 int *arg2 = (int *) 0 ;
22546 unsigned long *arg3 = (unsigned long *) 0 ;
22547 int temp1 ;
22548 int val1 ;
22549 int ecode1 = 0 ;
22550 void *argp2 = 0 ;
22551 int res2 = 0 ;
22552 void *argp3 = 0 ;
22553 int res3 = 0 ;
22554 PyObject * obj0 = 0 ;
22555 PyObject * obj1 = 0 ;
22556 PyObject * obj2 = 0 ;
22557 GFitsImageULong *result = 0 ;
22558
22559 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GFitsImageULong",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
22560 ecode1 = SWIG_AsVal_int(obj0, &val1);
22561 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
22562 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageULong" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageULong" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
22563 }
22564 temp1 = static_cast< int >(val1);
22565 arg1 = &temp1;
22566 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[41]
, 0 | 0, 0)
;
22567 if (!SWIG_IsOK(res2)(res2 >= 0)) {
22568 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_GFitsImageULong" "', argument " "2"" of type '" "int const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "new_GFitsImageULong" "', argument "
"2"" of type '" "int const *""'"); goto fail; } while(0)
;
22569 }
22570 arg2 = reinterpret_cast< int * >(argp2);
22571 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_unsigned_long, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[54]
, 0 | 0, 0)
;
22572 if (!SWIG_IsOK(res3)(res3 >= 0)) {
22573 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_GFitsImageULong" "', argument " "3"" of type '" "unsigned long const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "new_GFitsImageULong" "', argument "
"3"" of type '" "unsigned long const *""'"); goto fail; } while
(0)
;
22574 }
22575 arg3 = reinterpret_cast< unsigned long * >(argp3);
22576 {
22577 try {
22578 result = (GFitsImageULong *)new GFitsImageULong((int const &)*arg1,(int const *)arg2,(unsigned long const *)arg3);
22579 }
22580 catch (const GException::out_of_range& e) {
22581 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
22582 }
22583 catch (const GExceptionHandler& e) {
22584 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22585 }
22586 catch (const std::exception& e) {
22587 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22588 }
22589 }
22590 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageULong, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[16], (
(0x1 << 1) | 0x1) | 0)
;
22591 return resultobj;
22592fail:
22593 return NULL__null;
22594}
22595
22596
22597SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageULong__SWIG_10(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22598 PyObject *resultobj = 0;
22599 int *arg1 = 0 ;
22600 int *arg2 = (int *) 0 ;
22601 int temp1 ;
22602 int val1 ;
22603 int ecode1 = 0 ;
22604 void *argp2 = 0 ;
22605 int res2 = 0 ;
22606 PyObject * obj0 = 0 ;
22607 PyObject * obj1 = 0 ;
22608 GFitsImageULong *result = 0 ;
22609
22610 if (!PyArg_ParseTuple(args,(char *)"OO:new_GFitsImageULong",&obj0,&obj1)) SWIG_failgoto fail;
22611 ecode1 = SWIG_AsVal_int(obj0, &val1);
22612 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
22613 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageULong" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageULong" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
22614 }
22615 temp1 = static_cast< int >(val1);
22616 arg1 = &temp1;
22617 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[41]
, 0 | 0, 0)
;
22618 if (!SWIG_IsOK(res2)(res2 >= 0)) {
22619 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_GFitsImageULong" "', argument " "2"" of type '" "int const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "new_GFitsImageULong" "', argument "
"2"" of type '" "int const *""'"); goto fail; } while(0)
;
22620 }
22621 arg2 = reinterpret_cast< int * >(argp2);
22622 {
22623 try {
22624 result = (GFitsImageULong *)new GFitsImageULong((int const &)*arg1,(int const *)arg2);
22625 }
22626 catch (const GException::out_of_range& e) {
22627 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
22628 }
22629 catch (const GExceptionHandler& e) {
22630 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22631 }
22632 catch (const std::exception& e) {
22633 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22634 }
22635 }
22636 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageULong, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[16], (
(0x1 << 1) | 0x1) | 0)
;
22637 return resultobj;
22638fail:
22639 return NULL__null;
22640}
22641
22642
22643SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageULong__SWIG_11(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22644 PyObject *resultobj = 0;
22645 GFitsImageULong *arg1 = 0 ;
22646 void *argp1 = 0 ;
22647 int res1 = 0 ;
22648 PyObject * obj0 = 0 ;
22649 GFitsImageULong *result = 0 ;
22650
22651 if (!PyArg_ParseTuple(args,(char *)"O:new_GFitsImageULong",&obj0)) SWIG_failgoto fail;
22652 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GFitsImageULong, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[16]
, 0 | 0, 0)
;
22653 if (!SWIG_IsOK(res1)(res1 >= 0)) {
22654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsImageULong" "', argument " "1"" of type '" "GFitsImageULong const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsImageULong" "', argument "
"1"" of type '" "GFitsImageULong const &""'"); goto fail
; } while(0)
;
22655 }
22656 if (!argp1) {
22657 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsImageULong" "', argument " "1"" of type '" "GFitsImageULong const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsImageULong" "', argument " "1"" of type '"
"GFitsImageULong const &""'"); goto fail; } while(0)
;
22658 }
22659 arg1 = reinterpret_cast< GFitsImageULong * >(argp1);
22660 {
22661 try {
22662 result = (GFitsImageULong *)new GFitsImageULong((GFitsImageULong const &)*arg1);
22663 }
22664 catch (const GException::out_of_range& e) {
22665 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
22666 }
22667 catch (const GExceptionHandler& e) {
22668 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22669 }
22670 catch (const std::exception& e) {
22671 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22672 }
22673 }
22674 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageULong, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[16], (
(0x1 << 1) | 0x1) | 0)
;
22675 return resultobj;
22676fail:
22677 return NULL__null;
22678}
22679
22680
22681SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageULong(PyObject *self, PyObject *args) {
22682 int argc;
22683 PyObject *argv[6];
22684 int ii;
22685
22686 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
22687 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
22688 for (ii = 0; (ii < 5) && (ii < argc); ii++) {
22689 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
22690 }
22691 if (argc == 0) {
22692 return _wrap_new_GFitsImageULong__SWIG_0(self, args);
22693 }
22694 if (argc == 1) {
22695 int _v;
22696 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GFitsImageULong, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[16], 0, 0
)
;
22697 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22698 if (_v) {
22699 return _wrap_new_GFitsImageULong__SWIG_11(self, args);
22700 }
22701 }
22702 if (argc == 1) {
22703 int _v;
22704 {
22705 int res = SWIG_AsVal_int(argv[0], NULL__null);
22706 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22707 }
22708 if (_v) {
22709 return _wrap_new_GFitsImageULong__SWIG_2(self, args);
22710 }
22711 }
22712 if (argc == 2) {
22713 int _v;
22714 {
22715 int res = SWIG_AsVal_int(argv[0], NULL__null);
22716 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22717 }
22718 if (_v) {
22719 void *vptr = 0;
22720 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[41
], 0, 0)
;
22721 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22722 if (_v) {
22723 return _wrap_new_GFitsImageULong__SWIG_10(self, args);
22724 }
22725 }
22726 }
22727 if (argc == 2) {
22728 int _v;
22729 {
22730 int res = SWIG_AsVal_int(argv[0], NULL__null);
22731 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22732 }
22733 if (_v) {
22734 void *vptr = 0;
22735 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[54
], 0, 0)
;
22736 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22737 if (_v) {
22738 return _wrap_new_GFitsImageULong__SWIG_1(self, args);
22739 }
22740 }
22741 }
22742 if (argc == 2) {
22743 int _v;
22744 {
22745 int res = SWIG_AsVal_int(argv[0], NULL__null);
22746 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22747 }
22748 if (_v) {
22749 {
22750 int res = SWIG_AsVal_int(argv[1], NULL__null);
22751 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22752 }
22753 if (_v) {
22754 return _wrap_new_GFitsImageULong__SWIG_4(self, args);
22755 }
22756 }
22757 }
22758 if (argc == 3) {
22759 int _v;
22760 {
22761 int res = SWIG_AsVal_int(argv[0], NULL__null);
22762 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22763 }
22764 if (_v) {
22765 void *vptr = 0;
22766 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[41
], 0, 0)
;
22767 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22768 if (_v) {
22769 void *vptr = 0;
22770 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_unsigned_long, 0)SWIG_Python_ConvertPtrAndOwn(argv[2], &vptr, swig_types[54
], 0, 0)
;
22771 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22772 if (_v) {
22773 return _wrap_new_GFitsImageULong__SWIG_9(self, args);
22774 }
22775 }
22776 }
22777 }
22778 if (argc == 3) {
22779 int _v;
22780 {
22781 int res = SWIG_AsVal_int(argv[0], NULL__null);
22782 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22783 }
22784 if (_v) {
22785 {
22786 int res = SWIG_AsVal_int(argv[1], NULL__null);
22787 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22788 }
22789 if (_v) {
22790 void *vptr = 0;
22791 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_unsigned_long, 0)SWIG_Python_ConvertPtrAndOwn(argv[2], &vptr, swig_types[54
], 0, 0)
;
22792 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22793 if (_v) {
22794 return _wrap_new_GFitsImageULong__SWIG_3(self, args);
22795 }
22796 }
22797 }
22798 }
22799 if (argc == 3) {
22800 int _v;
22801 {
22802 int res = SWIG_AsVal_int(argv[0], NULL__null);
22803 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22804 }
22805 if (_v) {
22806 {
22807 int res = SWIG_AsVal_int(argv[1], NULL__null);
22808 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22809 }
22810 if (_v) {
22811 {
22812 int res = SWIG_AsVal_int(argv[2], NULL__null);
22813 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22814 }
22815 if (_v) {
22816 return _wrap_new_GFitsImageULong__SWIG_6(self, args);
22817 }
22818 }
22819 }
22820 }
22821 if (argc == 4) {
22822 int _v;
22823 {
22824 int res = SWIG_AsVal_int(argv[0], NULL__null);
22825 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22826 }
22827 if (_v) {
22828 {
22829 int res = SWIG_AsVal_int(argv[1], NULL__null);
22830 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22831 }
22832 if (_v) {
22833 {
22834 int res = SWIG_AsVal_int(argv[2], NULL__null);
22835 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22836 }
22837 if (_v) {
22838 void *vptr = 0;
22839 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_unsigned_long, 0)SWIG_Python_ConvertPtrAndOwn(argv[3], &vptr, swig_types[54
], 0, 0)
;
22840 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22841 if (_v) {
22842 return _wrap_new_GFitsImageULong__SWIG_5(self, args);
22843 }
22844 }
22845 }
22846 }
22847 }
22848 if (argc == 4) {
22849 int _v;
22850 {
22851 int res = SWIG_AsVal_int(argv[0], NULL__null);
22852 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22853 }
22854 if (_v) {
22855 {
22856 int res = SWIG_AsVal_int(argv[1], NULL__null);
22857 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22858 }
22859 if (_v) {
22860 {
22861 int res = SWIG_AsVal_int(argv[2], NULL__null);
22862 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22863 }
22864 if (_v) {
22865 {
22866 int res = SWIG_AsVal_int(argv[3], NULL__null);
22867 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22868 }
22869 if (_v) {
22870 return _wrap_new_GFitsImageULong__SWIG_8(self, args);
22871 }
22872 }
22873 }
22874 }
22875 }
22876 if (argc == 5) {
22877 int _v;
22878 {
22879 int res = SWIG_AsVal_int(argv[0], NULL__null);
22880 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22881 }
22882 if (_v) {
22883 {
22884 int res = SWIG_AsVal_int(argv[1], NULL__null);
22885 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22886 }
22887 if (_v) {
22888 {
22889 int res = SWIG_AsVal_int(argv[2], NULL__null);
22890 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22891 }
22892 if (_v) {
22893 {
22894 int res = SWIG_AsVal_int(argv[3], NULL__null);
22895 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22896 }
22897 if (_v) {
22898 void *vptr = 0;
22899 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_unsigned_long, 0)SWIG_Python_ConvertPtrAndOwn(argv[4], &vptr, swig_types[54
], 0, 0)
;
22900 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
22901 if (_v) {
22902 return _wrap_new_GFitsImageULong__SWIG_7(self, args);
22903 }
22904 }
22905 }
22906 }
22907 }
22908 }
22909
22910fail:
22911 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GFitsImageULong'.\n"
22912 " Possible C/C++ prototypes are:\n"
22913 " GFitsImageULong::GFitsImageULong()\n"
22914 " GFitsImageULong::GFitsImageULong(int const &,unsigned long const *)\n"
22915 " GFitsImageULong::GFitsImageULong(int const &)\n"
22916 " GFitsImageULong::GFitsImageULong(int const &,int const &,unsigned long const *)\n"
22917 " GFitsImageULong::GFitsImageULong(int const &,int const &)\n"
22918 " GFitsImageULong::GFitsImageULong(int const &,int const &,int const &,unsigned long const *)\n"
22919 " GFitsImageULong::GFitsImageULong(int const &,int const &,int const &)\n"
22920 " GFitsImageULong::GFitsImageULong(int const &,int const &,int const &,int const &,unsigned long const *)\n"
22921 " GFitsImageULong::GFitsImageULong(int const &,int const &,int const &,int const &)\n"
22922 " GFitsImageULong::GFitsImageULong(int const &,int const *,unsigned long const *)\n"
22923 " GFitsImageULong::GFitsImageULong(int const &,int const *)\n"
22924 " GFitsImageULong::GFitsImageULong(GFitsImageULong const &)\n");
22925 return 0;
22926}
22927
22928
22929SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GFitsImageULong(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22930 PyObject *resultobj = 0;
22931 GFitsImageULong *arg1 = (GFitsImageULong *) 0 ;
22932 void *argp1 = 0 ;
22933 int res1 = 0 ;
22934 PyObject * obj0 = 0 ;
22935
22936 if (!PyArg_ParseTuple(args,(char *)"O:delete_GFitsImageULong",&obj0)) SWIG_failgoto fail;
22937 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageULong, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[16]
, 0x1 | 0, 0)
;
22938 if (!SWIG_IsOK(res1)(res1 >= 0)) {
22939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GFitsImageULong" "', argument " "1"" of type '" "GFitsImageULong *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GFitsImageULong" "', argument "
"1"" of type '" "GFitsImageULong *""'"); goto fail; } while(
0)
;
22940 }
22941 arg1 = reinterpret_cast< GFitsImageULong * >(argp1);
22942 {
22943 try {
22944 delete arg1;
22945 }
22946 catch (const GException::out_of_range& e) {
22947 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
22948 }
22949 catch (const GExceptionHandler& e) {
22950 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22951 }
22952 catch (const std::exception& e) {
22953 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22954 }
22955 }
22956 resultobj = SWIG_Py_Void();
22957 return resultobj;
22958fail:
22959 return NULL__null;
22960}
22961
22962
22963SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageULong_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22964 PyObject *resultobj = 0;
22965 GFitsImageULong *arg1 = (GFitsImageULong *) 0 ;
22966 void *argp1 = 0 ;
22967 int res1 = 0 ;
22968 PyObject * obj0 = 0 ;
22969
22970 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageULong_clear",&obj0)) SWIG_failgoto fail;
22971 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageULong, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[16]
, 0 | 0, 0)
;
22972 if (!SWIG_IsOK(res1)(res1 >= 0)) {
22973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageULong_clear" "', argument " "1"" of type '" "GFitsImageULong *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageULong_clear" "', argument "
"1"" of type '" "GFitsImageULong *""'"); goto fail; } while(
0)
;
22974 }
22975 arg1 = reinterpret_cast< GFitsImageULong * >(argp1);
22976 {
22977 try {
22978 (arg1)->clear();
22979 }
22980 catch (const GException::out_of_range& e) {
22981 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
22982 }
22983 catch (const GExceptionHandler& e) {
22984 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22985 }
22986 catch (const std::exception& e) {
22987 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
22988 }
22989 }
22990 resultobj = SWIG_Py_Void();
22991 return resultobj;
22992fail:
22993 return NULL__null;
22994}
22995
22996
22997SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageULong_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22998 PyObject *resultobj = 0;
22999 GFitsImageULong *arg1 = (GFitsImageULong *) 0 ;
23000 void *argp1 = 0 ;
23001 int res1 = 0 ;
23002 PyObject * obj0 = 0 ;
23003 GFitsImageULong *result = 0 ;
23004
23005 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageULong_clone",&obj0)) SWIG_failgoto fail;
23006 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageULong, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[16]
, 0 | 0, 0)
;
23007 if (!SWIG_IsOK(res1)(res1 >= 0)) {
23008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageULong_clone" "', argument " "1"" of type '" "GFitsImageULong const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageULong_clone" "', argument "
"1"" of type '" "GFitsImageULong const *""'"); goto fail; } while
(0)
;
23009 }
23010 arg1 = reinterpret_cast< GFitsImageULong * >(argp1);
23011 {
23012 try {
23013 result = (GFitsImageULong *)((GFitsImageULong const *)arg1)->clone();
23014 }
23015 catch (const GException::out_of_range& e) {
23016 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
23017 }
23018 catch (const GExceptionHandler& e) {
23019 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23020 }
23021 catch (const std::exception& e) {
23022 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23023 }
23024 }
23025 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageULong, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[16], 0
| 0)
;
23026 return resultobj;
23027fail:
23028 return NULL__null;
23029}
23030
23031
23032SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageULong_pixel__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23033 PyObject *resultobj = 0;
23034 GFitsImageULong *arg1 = (GFitsImageULong *) 0 ;
23035 int *arg2 = 0 ;
23036 void *argp1 = 0 ;
23037 int res1 = 0 ;
23038 int temp2 ;
23039 int val2 ;
23040 int ecode2 = 0 ;
23041 PyObject * obj0 = 0 ;
23042 PyObject * obj1 = 0 ;
23043 double result;
23044
23045 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsImageULong_pixel",&obj0,&obj1)) SWIG_failgoto fail;
23046 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageULong, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[16]
, 0 | 0, 0)
;
23047 if (!SWIG_IsOK(res1)(res1 >= 0)) {
23048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageULong_pixel" "', argument " "1"" of type '" "GFitsImageULong const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageULong_pixel" "', argument "
"1"" of type '" "GFitsImageULong const *""'"); goto fail; } while
(0)
;
23049 }
23050 arg1 = reinterpret_cast< GFitsImageULong * >(argp1);
23051 ecode2 = SWIG_AsVal_int(obj1, &val2);
23052 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
23053 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsImageULong_pixel" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsImageULong_pixel"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
23054 }
23055 temp2 = static_cast< int >(val2);
23056 arg2 = &temp2;
23057 {
23058 try {
23059 result = (double)((GFitsImageULong const *)arg1)->pixel((int const &)*arg2);
23060 }
23061 catch (const GException::out_of_range& e) {
23062 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
23063 }
23064 catch (const GExceptionHandler& e) {
23065 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23066 }
23067 catch (const std::exception& e) {
23068 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23069 }
23070 }
23071 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
23072 return resultobj;
23073fail:
23074 return NULL__null;
23075}
23076
23077
23078SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageULong_pixel__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23079 PyObject *resultobj = 0;
23080 GFitsImageULong *arg1 = (GFitsImageULong *) 0 ;
23081 int *arg2 = 0 ;
23082 int *arg3 = 0 ;
23083 void *argp1 = 0 ;
23084 int res1 = 0 ;
23085 int temp2 ;
23086 int val2 ;
23087 int ecode2 = 0 ;
23088 int temp3 ;
23089 int val3 ;
23090 int ecode3 = 0 ;
23091 PyObject * obj0 = 0 ;
23092 PyObject * obj1 = 0 ;
23093 PyObject * obj2 = 0 ;
23094 double result;
23095
23096 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsImageULong_pixel",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
23097 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageULong, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[16]
, 0 | 0, 0)
;
23098 if (!SWIG_IsOK(res1)(res1 >= 0)) {
23099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageULong_pixel" "', argument " "1"" of type '" "GFitsImageULong const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageULong_pixel" "', argument "
"1"" of type '" "GFitsImageULong const *""'"); goto fail; } while
(0)
;
23100 }
23101 arg1 = reinterpret_cast< GFitsImageULong * >(argp1);
23102 ecode2 = SWIG_AsVal_int(obj1, &val2);
23103 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
23104 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsImageULong_pixel" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsImageULong_pixel"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
23105 }
23106 temp2 = static_cast< int >(val2);
23107 arg2 = &temp2;
23108 ecode3 = SWIG_AsVal_int(obj2, &val3);
23109 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
23110 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsImageULong_pixel" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsImageULong_pixel"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
23111 }
23112 temp3 = static_cast< int >(val3);
23113 arg3 = &temp3;
23114 {
23115 try {
23116 result = (double)((GFitsImageULong const *)arg1)->pixel((int const &)*arg2,(int const &)*arg3);
23117 }
23118 catch (const GException::out_of_range& e) {
23119 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
23120 }
23121 catch (const GExceptionHandler& e) {
23122 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23123 }
23124 catch (const std::exception& e) {
23125 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23126 }
23127 }
23128 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
23129 return resultobj;
23130fail:
23131 return NULL__null;
23132}
23133
23134
23135SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageULong_pixel__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23136 PyObject *resultobj = 0;
23137 GFitsImageULong *arg1 = (GFitsImageULong *) 0 ;
23138 int *arg2 = 0 ;
23139 int *arg3 = 0 ;
23140 int *arg4 = 0 ;
23141 void *argp1 = 0 ;
23142 int res1 = 0 ;
23143 int temp2 ;
23144 int val2 ;
23145 int ecode2 = 0 ;
23146 int temp3 ;
23147 int val3 ;
23148 int ecode3 = 0 ;
23149 int temp4 ;
23150 int val4 ;
23151 int ecode4 = 0 ;
23152 PyObject * obj0 = 0 ;
23153 PyObject * obj1 = 0 ;
23154 PyObject * obj2 = 0 ;
23155 PyObject * obj3 = 0 ;
23156 double result;
23157
23158 if (!PyArg_ParseTuple(args,(char *)"OOOO:GFitsImageULong_pixel",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
23159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageULong, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[16]
, 0 | 0, 0)
;
23160 if (!SWIG_IsOK(res1)(res1 >= 0)) {
23161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageULong_pixel" "', argument " "1"" of type '" "GFitsImageULong const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageULong_pixel" "', argument "
"1"" of type '" "GFitsImageULong const *""'"); goto fail; } while
(0)
;
23162 }
23163 arg1 = reinterpret_cast< GFitsImageULong * >(argp1);
23164 ecode2 = SWIG_AsVal_int(obj1, &val2);
23165 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
23166 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsImageULong_pixel" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsImageULong_pixel"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
23167 }
23168 temp2 = static_cast< int >(val2);
23169 arg2 = &temp2;
23170 ecode3 = SWIG_AsVal_int(obj2, &val3);
23171 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
23172 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsImageULong_pixel" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsImageULong_pixel"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
23173 }
23174 temp3 = static_cast< int >(val3);
23175 arg3 = &temp3;
23176 ecode4 = SWIG_AsVal_int(obj3, &val4);
23177 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
23178 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GFitsImageULong_pixel" "', argument " "4"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GFitsImageULong_pixel"
"', argument " "4"" of type '" "int""'"); goto fail; } while
(0)
;
23179 }
23180 temp4 = static_cast< int >(val4);
23181 arg4 = &temp4;
23182 {
23183 try {
23184 result = (double)((GFitsImageULong const *)arg1)->pixel((int const &)*arg2,(int const &)*arg3,(int const &)*arg4);
23185 }
23186 catch (const GException::out_of_range& e) {
23187 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
23188 }
23189 catch (const GExceptionHandler& e) {
23190 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23191 }
23192 catch (const std::exception& e) {
23193 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23194 }
23195 }
23196 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
23197 return resultobj;
23198fail:
23199 return NULL__null;
23200}
23201
23202
23203SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageULong_pixel__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23204 PyObject *resultobj = 0;
23205 GFitsImageULong *arg1 = (GFitsImageULong *) 0 ;
23206 int *arg2 = 0 ;
23207 int *arg3 = 0 ;
23208 int *arg4 = 0 ;
23209 int *arg5 = 0 ;
23210 void *argp1 = 0 ;
23211 int res1 = 0 ;
23212 int temp2 ;
23213 int val2 ;
23214 int ecode2 = 0 ;
23215 int temp3 ;
23216 int val3 ;
23217 int ecode3 = 0 ;
23218 int temp4 ;
23219 int val4 ;
23220 int ecode4 = 0 ;
23221 int temp5 ;
23222 int val5 ;
23223 int ecode5 = 0 ;
23224 PyObject * obj0 = 0 ;
23225 PyObject * obj1 = 0 ;
23226 PyObject * obj2 = 0 ;
23227 PyObject * obj3 = 0 ;
23228 PyObject * obj4 = 0 ;
23229 double result;
23230
23231 if (!PyArg_ParseTuple(args,(char *)"OOOOO:GFitsImageULong_pixel",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_failgoto fail;
23232 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageULong, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[16]
, 0 | 0, 0)
;
23233 if (!SWIG_IsOK(res1)(res1 >= 0)) {
23234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageULong_pixel" "', argument " "1"" of type '" "GFitsImageULong const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageULong_pixel" "', argument "
"1"" of type '" "GFitsImageULong const *""'"); goto fail; } while
(0)
;
23235 }
23236 arg1 = reinterpret_cast< GFitsImageULong * >(argp1);
23237 ecode2 = SWIG_AsVal_int(obj1, &val2);
23238 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
23239 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsImageULong_pixel" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsImageULong_pixel"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
23240 }
23241 temp2 = static_cast< int >(val2);
23242 arg2 = &temp2;
23243 ecode3 = SWIG_AsVal_int(obj2, &val3);
23244 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
23245 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsImageULong_pixel" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsImageULong_pixel"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
23246 }
23247 temp3 = static_cast< int >(val3);
23248 arg3 = &temp3;
23249 ecode4 = SWIG_AsVal_int(obj3, &val4);
23250 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
23251 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GFitsImageULong_pixel" "', argument " "4"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GFitsImageULong_pixel"
"', argument " "4"" of type '" "int""'"); goto fail; } while
(0)
;
23252 }
23253 temp4 = static_cast< int >(val4);
23254 arg4 = &temp4;
23255 ecode5 = SWIG_AsVal_int(obj4, &val5);
23256 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
23257 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GFitsImageULong_pixel" "', argument " "5"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GFitsImageULong_pixel"
"', argument " "5"" of type '" "int""'"); goto fail; } while
(0)
;
23258 }
23259 temp5 = static_cast< int >(val5);
23260 arg5 = &temp5;
23261 {
23262 try {
23263 result = (double)((GFitsImageULong const *)arg1)->pixel((int const &)*arg2,(int const &)*arg3,(int const &)*arg4,(int const &)*arg5);
23264 }
23265 catch (const GException::out_of_range& e) {
23266 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
23267 }
23268 catch (const GExceptionHandler& e) {
23269 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23270 }
23271 catch (const std::exception& e) {
23272 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23273 }
23274 }
23275 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
23276 return resultobj;
23277fail:
23278 return NULL__null;
23279}
23280
23281
23282SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageULong_pixel(PyObject *self, PyObject *args) {
23283 int argc;
23284 PyObject *argv[6];
23285 int ii;
23286
23287 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
23288 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
23289 for (ii = 0; (ii < 5) && (ii < argc); ii++) {
23290 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
23291 }
23292 if (argc == 2) {
23293 int _v;
23294 void *vptr = 0;
23295 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsImageULong, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[16
], 0, 0)
;
23296 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
23297 if (_v) {
23298 {
23299 int res = SWIG_AsVal_int(argv[1], NULL__null);
23300 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
23301 }
23302 if (_v) {
23303 return _wrap_GFitsImageULong_pixel__SWIG_0(self, args);
23304 }
23305 }
23306 }
23307 if (argc == 3) {
23308 int _v;
23309 void *vptr = 0;
23310 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsImageULong, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[16
], 0, 0)
;
23311 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
23312 if (_v) {
23313 {
23314 int res = SWIG_AsVal_int(argv[1], NULL__null);
23315 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
23316 }
23317 if (_v) {
23318 {
23319 int res = SWIG_AsVal_int(argv[2], NULL__null);
23320 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
23321 }
23322 if (_v) {
23323 return _wrap_GFitsImageULong_pixel__SWIG_1(self, args);
23324 }
23325 }
23326 }
23327 }
23328 if (argc == 4) {
23329 int _v;
23330 void *vptr = 0;
23331 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsImageULong, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[16
], 0, 0)
;
23332 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
23333 if (_v) {
23334 {
23335 int res = SWIG_AsVal_int(argv[1], NULL__null);
23336 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
23337 }
23338 if (_v) {
23339 {
23340 int res = SWIG_AsVal_int(argv[2], NULL__null);
23341 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
23342 }
23343 if (_v) {
23344 {
23345 int res = SWIG_AsVal_int(argv[3], NULL__null);
23346 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
23347 }
23348 if (_v) {
23349 return _wrap_GFitsImageULong_pixel__SWIG_2(self, args);
23350 }
23351 }
23352 }
23353 }
23354 }
23355 if (argc == 5) {
23356 int _v;
23357 void *vptr = 0;
23358 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsImageULong, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[16
], 0, 0)
;
23359 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
23360 if (_v) {
23361 {
23362 int res = SWIG_AsVal_int(argv[1], NULL__null);
23363 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
23364 }
23365 if (_v) {
23366 {
23367 int res = SWIG_AsVal_int(argv[2], NULL__null);
23368 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
23369 }
23370 if (_v) {
23371 {
23372 int res = SWIG_AsVal_int(argv[3], NULL__null);
23373 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
23374 }
23375 if (_v) {
23376 {
23377 int res = SWIG_AsVal_int(argv[4], NULL__null);
23378 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
23379 }
23380 if (_v) {
23381 return _wrap_GFitsImageULong_pixel__SWIG_3(self, args);
23382 }
23383 }
23384 }
23385 }
23386 }
23387 }
23388
23389fail:
23390 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsImageULong_pixel'.\n"
23391 " Possible C/C++ prototypes are:\n"
23392 " GFitsImageULong::pixel(int const &) const\n"
23393 " GFitsImageULong::pixel(int const &,int const &) const\n"
23394 " GFitsImageULong::pixel(int const &,int const &,int const &) const\n"
23395 " GFitsImageULong::pixel(int const &,int const &,int const &,int const &) const\n");
23396 return 0;
23397}
23398
23399
23400SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageULong_pixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23401 PyObject *resultobj = 0;
23402 GFitsImageULong *arg1 = (GFitsImageULong *) 0 ;
23403 void *argp1 = 0 ;
23404 int res1 = 0 ;
23405 PyObject * obj0 = 0 ;
23406 void *result = 0 ;
23407
23408 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageULong_pixels",&obj0)) SWIG_failgoto fail;
23409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageULong, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[16]
, 0 | 0, 0)
;
23410 if (!SWIG_IsOK(res1)(res1 >= 0)) {
23411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageULong_pixels" "', argument " "1"" of type '" "GFitsImageULong *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageULong_pixels" "', argument "
"1"" of type '" "GFitsImageULong *""'"); goto fail; } while(
0)
;
23412 }
23413 arg1 = reinterpret_cast< GFitsImageULong * >(argp1);
23414 {
23415 try {
23416 result = (void *)(arg1)->pixels();
23417 }
23418 catch (const GException::out_of_range& e) {
23419 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
23420 }
23421 catch (const GExceptionHandler& e) {
23422 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23423 }
23424 catch (const std::exception& e) {
23425 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23426 }
23427 }
23428 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[57], 0
| 0)
;
23429 return resultobj;
23430fail:
23431 return NULL__null;
23432}
23433
23434
23435SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageULong_type(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23436 PyObject *resultobj = 0;
23437 GFitsImageULong *arg1 = (GFitsImageULong *) 0 ;
23438 void *argp1 = 0 ;
23439 int res1 = 0 ;
23440 PyObject * obj0 = 0 ;
23441 int result;
23442
23443 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageULong_type",&obj0)) SWIG_failgoto fail;
23444 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageULong, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[16]
, 0 | 0, 0)
;
23445 if (!SWIG_IsOK(res1)(res1 >= 0)) {
23446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageULong_type" "', argument " "1"" of type '" "GFitsImageULong const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageULong_type" "', argument "
"1"" of type '" "GFitsImageULong const *""'"); goto fail; } while
(0)
;
23447 }
23448 arg1 = reinterpret_cast< GFitsImageULong * >(argp1);
23449 {
23450 try {
23451 result = (int)((GFitsImageULong const *)arg1)->type();
23452 }
23453 catch (const GException::out_of_range& e) {
23454 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
23455 }
23456 catch (const GExceptionHandler& e) {
23457 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23458 }
23459 catch (const std::exception& e) {
23460 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23461 }
23462 }
23463 resultobj = SWIG_From_int(static_cast< int >(result));
23464 return resultobj;
23465fail:
23466 return NULL__null;
23467}
23468
23469
23470SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageULong___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23471 PyObject *resultobj = 0;
23472 GFitsImageULong *arg1 = (GFitsImageULong *) 0 ;
23473 int *arg2 ;
23474 void *argp1 = 0 ;
23475 int res1 = 0 ;
23476 int temp2[5] ;
23477 PyObject * obj0 = 0 ;
23478 PyObject * obj1 = 0 ;
23479 unsigned long result;
23480
23481 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsImageULong___getitem__",&obj0,&obj1)) SWIG_failgoto fail;
23482 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageULong, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[16]
, 0 | 0, 0)
;
23483 if (!SWIG_IsOK(res1)(res1 >= 0)) {
23484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageULong___getitem__" "', argument " "1"" of type '" "GFitsImageULong *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageULong___getitem__"
"', argument " "1"" of type '" "GFitsImageULong *""'"); goto
fail; } while(0)
;
23485 }
23486 arg1 = reinterpret_cast< GFitsImageULong * >(argp1);
23487 {
23488 if (!image_pixel_tuple(obj1,temp2)) {
23489 return NULL__null;
23490 }
23491 arg2 = &temp2[0];
23492 }
23493 {
23494 try {
23495 result = (unsigned long)GFitsImageULong___getitem__(arg1,arg2);
23496 }
23497 catch (const GException::out_of_range& e) {
23498 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
23499 }
23500 catch (const GExceptionHandler& e) {
23501 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23502 }
23503 catch (const std::exception& e) {
23504 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23505 }
23506 }
23507 resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
23508 return resultobj;
23509fail:
23510 return NULL__null;
23511}
23512
23513
23514SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageULong___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23515 PyObject *resultobj = 0;
23516 GFitsImageULong *arg1 = (GFitsImageULong *) 0 ;
23517 int *arg2 ;
23518 unsigned long arg3 ;
23519 void *argp1 = 0 ;
23520 int res1 = 0 ;
23521 int temp2[5] ;
23522 unsigned long val3 ;
23523 int ecode3 = 0 ;
23524 PyObject * obj0 = 0 ;
23525 PyObject * obj1 = 0 ;
23526 PyObject * obj2 = 0 ;
23527
23528 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsImageULong___setitem__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
23529 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageULong, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[16]
, 0 | 0, 0)
;
23530 if (!SWIG_IsOK(res1)(res1 >= 0)) {
23531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageULong___setitem__" "', argument " "1"" of type '" "GFitsImageULong *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageULong___setitem__"
"', argument " "1"" of type '" "GFitsImageULong *""'"); goto
fail; } while(0)
;
23532 }
23533 arg1 = reinterpret_cast< GFitsImageULong * >(argp1);
23534 {
23535 if (!image_pixel_tuple(obj1,temp2)) {
23536 return NULL__null;
23537 }
23538 arg2 = &temp2[0];
23539 }
23540 ecode3 = SWIG_AsVal_unsigned_SS_long(obj2, &val3);
23541 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
23542 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsImageULong___setitem__" "', argument " "3"" of type '" "unsigned long""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsImageULong___setitem__"
"', argument " "3"" of type '" "unsigned long""'"); goto fail
; } while(0)
;
23543 }
23544 arg3 = static_cast< unsigned long >(val3);
23545 {
23546 try {
23547 GFitsImageULong___setitem__(arg1,arg2,arg3);
23548 }
23549 catch (const GException::out_of_range& e) {
23550 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
23551 }
23552 catch (const GExceptionHandler& e) {
23553 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23554 }
23555 catch (const std::exception& e) {
23556 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23557 }
23558 }
23559 resultobj = SWIG_Py_Void();
23560 return resultobj;
23561fail:
23562 return NULL__null;
23563}
23564
23565
23566SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageULong_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23567 PyObject *resultobj = 0;
23568 GFitsImageULong *arg1 = (GFitsImageULong *) 0 ;
23569 void *argp1 = 0 ;
23570 int res1 = 0 ;
23571 PyObject * obj0 = 0 ;
23572 GFitsImageULong result;
23573
23574 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageULong_copy",&obj0)) SWIG_failgoto fail;
23575 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageULong, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[16]
, 0 | 0, 0)
;
23576 if (!SWIG_IsOK(res1)(res1 >= 0)) {
23577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageULong_copy" "', argument " "1"" of type '" "GFitsImageULong *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageULong_copy" "', argument "
"1"" of type '" "GFitsImageULong *""'"); goto fail; } while(
0)
;
23578 }
23579 arg1 = reinterpret_cast< GFitsImageULong * >(argp1);
23580 {
23581 try {
23582 result = GFitsImageULong_copy(arg1);
23583 }
23584 catch (const GException::out_of_range& e) {
23585 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
23586 }
23587 catch (const GExceptionHandler& e) {
23588 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23589 }
23590 catch (const std::exception& e) {
23591 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23592 }
23593 }
23594 resultobj = SWIG_NewPointerObj((new GFitsImageULong(static_cast< const GFitsImageULong& >(result))), SWIGTYPE_p_GFitsImageULong, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GFitsImageULong(static_cast
< const GFitsImageULong& >(result))), swig_types[16
], 0x1 | 0)
;
23595 return resultobj;
23596fail:
23597 return NULL__null;
23598}
23599
23600
23601SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GFitsImageULong_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23602 PyObject *obj;
23603 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
23604 SWIG_TypeNewClientData(SWIGTYPE_p_GFitsImageULongswig_types[16], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
23605 return SWIG_Py_Void();
23606}
23607
23608SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageLong__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23609 PyObject *resultobj = 0;
23610 GFitsImageLong *result = 0 ;
23611
23612 if (!PyArg_ParseTuple(args,(char *)":new_GFitsImageLong")) SWIG_failgoto fail;
23613 {
23614 try {
23615 result = (GFitsImageLong *)new GFitsImageLong();
23616 }
23617 catch (const GException::out_of_range& e) {
23618 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
23619 }
23620 catch (const GExceptionHandler& e) {
23621 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23622 }
23623 catch (const std::exception& e) {
23624 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23625 }
23626 }
23627 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageLong, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[12], (
(0x1 << 1) | 0x1) | 0)
;
23628 return resultobj;
23629fail:
23630 return NULL__null;
23631}
23632
23633
23634SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageLong__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23635 PyObject *resultobj = 0;
23636 int *arg1 = 0 ;
23637 long *arg2 = (long *) 0 ;
23638 int temp1 ;
23639 int val1 ;
23640 int ecode1 = 0 ;
23641 void *argp2 = 0 ;
23642 int res2 = 0 ;
23643 PyObject * obj0 = 0 ;
23644 PyObject * obj1 = 0 ;
23645 GFitsImageLong *result = 0 ;
23646
23647 if (!PyArg_ParseTuple(args,(char *)"OO:new_GFitsImageLong",&obj0,&obj1)) SWIG_failgoto fail;
23648 ecode1 = SWIG_AsVal_int(obj0, &val1);
23649 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
23650 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageLong" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageLong" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
23651 }
23652 temp1 = static_cast< int >(val1);
23653 arg1 = &temp1;
23654 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_long, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[42]
, 0 | 0, 0)
;
23655 if (!SWIG_IsOK(res2)(res2 >= 0)) {
23656 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_GFitsImageLong" "', argument " "2"" of type '" "long const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "new_GFitsImageLong" "', argument "
"2"" of type '" "long const *""'"); goto fail; } while(0)
;
23657 }
23658 arg2 = reinterpret_cast< long * >(argp2);
23659 {
23660 try {
23661 result = (GFitsImageLong *)new GFitsImageLong((int const &)*arg1,(long const *)arg2);
23662 }
23663 catch (const GException::out_of_range& e) {
23664 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
23665 }
23666 catch (const GExceptionHandler& e) {
23667 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23668 }
23669 catch (const std::exception& e) {
23670 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23671 }
23672 }
23673 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageLong, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[12], (
(0x1 << 1) | 0x1) | 0)
;
23674 return resultobj;
23675fail:
23676 return NULL__null;
23677}
23678
23679
23680SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageLong__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23681 PyObject *resultobj = 0;
23682 int *arg1 = 0 ;
23683 int temp1 ;
23684 int val1 ;
23685 int ecode1 = 0 ;
23686 PyObject * obj0 = 0 ;
23687 GFitsImageLong *result = 0 ;
23688
23689 if (!PyArg_ParseTuple(args,(char *)"O:new_GFitsImageLong",&obj0)) SWIG_failgoto fail;
23690 ecode1 = SWIG_AsVal_int(obj0, &val1);
23691 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
23692 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageLong" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageLong" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
23693 }
23694 temp1 = static_cast< int >(val1);
23695 arg1 = &temp1;
23696 {
23697 try {
23698 result = (GFitsImageLong *)new GFitsImageLong((int const &)*arg1);
23699 }
23700 catch (const GException::out_of_range& e) {
23701 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
23702 }
23703 catch (const GExceptionHandler& e) {
23704 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23705 }
23706 catch (const std::exception& e) {
23707 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23708 }
23709 }
23710 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageLong, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[12], (
(0x1 << 1) | 0x1) | 0)
;
23711 return resultobj;
23712fail:
23713 return NULL__null;
23714}
23715
23716
23717SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageLong__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23718 PyObject *resultobj = 0;
23719 int *arg1 = 0 ;
23720 int *arg2 = 0 ;
23721 long *arg3 = (long *) 0 ;
23722 int temp1 ;
23723 int val1 ;
23724 int ecode1 = 0 ;
23725 int temp2 ;
23726 int val2 ;
23727 int ecode2 = 0 ;
23728 void *argp3 = 0 ;
23729 int res3 = 0 ;
23730 PyObject * obj0 = 0 ;
23731 PyObject * obj1 = 0 ;
23732 PyObject * obj2 = 0 ;
23733 GFitsImageLong *result = 0 ;
23734
23735 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GFitsImageLong",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
23736 ecode1 = SWIG_AsVal_int(obj0, &val1);
23737 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
23738 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageLong" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageLong" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
23739 }
23740 temp1 = static_cast< int >(val1);
23741 arg1 = &temp1;
23742 ecode2 = SWIG_AsVal_int(obj1, &val2);
23743 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
23744 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageLong" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageLong" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
23745 }
23746 temp2 = static_cast< int >(val2);
23747 arg2 = &temp2;
23748 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_long, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[42]
, 0 | 0, 0)
;
23749 if (!SWIG_IsOK(res3)(res3 >= 0)) {
23750 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_GFitsImageLong" "', argument " "3"" of type '" "long const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "new_GFitsImageLong" "', argument "
"3"" of type '" "long const *""'"); goto fail; } while(0)
;
23751 }
23752 arg3 = reinterpret_cast< long * >(argp3);
23753 {
23754 try {
23755 result = (GFitsImageLong *)new GFitsImageLong((int const &)*arg1,(int const &)*arg2,(long const *)arg3);
23756 }
23757 catch (const GException::out_of_range& e) {
23758 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
23759 }
23760 catch (const GExceptionHandler& e) {
23761 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23762 }
23763 catch (const std::exception& e) {
23764 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23765 }
23766 }
23767 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageLong, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[12], (
(0x1 << 1) | 0x1) | 0)
;
23768 return resultobj;
23769fail:
23770 return NULL__null;
23771}
23772
23773
23774SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageLong__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23775 PyObject *resultobj = 0;
23776 int *arg1 = 0 ;
23777 int *arg2 = 0 ;
23778 int temp1 ;
23779 int val1 ;
23780 int ecode1 = 0 ;
23781 int temp2 ;
23782 int val2 ;
23783 int ecode2 = 0 ;
23784 PyObject * obj0 = 0 ;
23785 PyObject * obj1 = 0 ;
23786 GFitsImageLong *result = 0 ;
23787
23788 if (!PyArg_ParseTuple(args,(char *)"OO:new_GFitsImageLong",&obj0,&obj1)) SWIG_failgoto fail;
23789 ecode1 = SWIG_AsVal_int(obj0, &val1);
23790 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
23791 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageLong" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageLong" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
23792 }
23793 temp1 = static_cast< int >(val1);
23794 arg1 = &temp1;
23795 ecode2 = SWIG_AsVal_int(obj1, &val2);
23796 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
23797 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageLong" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageLong" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
23798 }
23799 temp2 = static_cast< int >(val2);
23800 arg2 = &temp2;
23801 {
23802 try {
23803 result = (GFitsImageLong *)new GFitsImageLong((int const &)*arg1,(int const &)*arg2);
23804 }
23805 catch (const GException::out_of_range& e) {
23806 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
23807 }
23808 catch (const GExceptionHandler& e) {
23809 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23810 }
23811 catch (const std::exception& e) {
23812 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23813 }
23814 }
23815 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageLong, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[12], (
(0x1 << 1) | 0x1) | 0)
;
23816 return resultobj;
23817fail:
23818 return NULL__null;
23819}
23820
23821
23822SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageLong__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23823 PyObject *resultobj = 0;
23824 int *arg1 = 0 ;
23825 int *arg2 = 0 ;
23826 int *arg3 = 0 ;
23827 long *arg4 = (long *) 0 ;
23828 int temp1 ;
23829 int val1 ;
23830 int ecode1 = 0 ;
23831 int temp2 ;
23832 int val2 ;
23833 int ecode2 = 0 ;
23834 int temp3 ;
23835 int val3 ;
23836 int ecode3 = 0 ;
23837 void *argp4 = 0 ;
23838 int res4 = 0 ;
23839 PyObject * obj0 = 0 ;
23840 PyObject * obj1 = 0 ;
23841 PyObject * obj2 = 0 ;
23842 PyObject * obj3 = 0 ;
23843 GFitsImageLong *result = 0 ;
23844
23845 if (!PyArg_ParseTuple(args,(char *)"OOOO:new_GFitsImageLong",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
23846 ecode1 = SWIG_AsVal_int(obj0, &val1);
23847 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
23848 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageLong" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageLong" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
23849 }
23850 temp1 = static_cast< int >(val1);
23851 arg1 = &temp1;
23852 ecode2 = SWIG_AsVal_int(obj1, &val2);
23853 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
23854 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageLong" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageLong" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
23855 }
23856 temp2 = static_cast< int >(val2);
23857 arg2 = &temp2;
23858 ecode3 = SWIG_AsVal_int(obj2, &val3);
23859 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
23860 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsImageLong" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsImageLong" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
23861 }
23862 temp3 = static_cast< int >(val3);
23863 arg3 = &temp3;
23864 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_long, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj3, &argp4, swig_types[42]
, 0 | 0, 0)
;
23865 if (!SWIG_IsOK(res4)(res4 >= 0)) {
23866 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_GFitsImageLong" "', argument " "4"" of type '" "long const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res4 != (
-1)) ? res4 : -5)), "in method '" "new_GFitsImageLong" "', argument "
"4"" of type '" "long const *""'"); goto fail; } while(0)
;
23867 }
23868 arg4 = reinterpret_cast< long * >(argp4);
23869 {
23870 try {
23871 result = (GFitsImageLong *)new GFitsImageLong((int const &)*arg1,(int const &)*arg2,(int const &)*arg3,(long const *)arg4);
23872 }
23873 catch (const GException::out_of_range& e) {
23874 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
23875 }
23876 catch (const GExceptionHandler& e) {
23877 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23878 }
23879 catch (const std::exception& e) {
23880 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23881 }
23882 }
23883 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageLong, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[12], (
(0x1 << 1) | 0x1) | 0)
;
23884 return resultobj;
23885fail:
23886 return NULL__null;
23887}
23888
23889
23890SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageLong__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23891 PyObject *resultobj = 0;
23892 int *arg1 = 0 ;
23893 int *arg2 = 0 ;
23894 int *arg3 = 0 ;
23895 int temp1 ;
23896 int val1 ;
23897 int ecode1 = 0 ;
23898 int temp2 ;
23899 int val2 ;
23900 int ecode2 = 0 ;
23901 int temp3 ;
23902 int val3 ;
23903 int ecode3 = 0 ;
23904 PyObject * obj0 = 0 ;
23905 PyObject * obj1 = 0 ;
23906 PyObject * obj2 = 0 ;
23907 GFitsImageLong *result = 0 ;
23908
23909 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GFitsImageLong",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
23910 ecode1 = SWIG_AsVal_int(obj0, &val1);
23911 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
23912 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageLong" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageLong" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
23913 }
23914 temp1 = static_cast< int >(val1);
23915 arg1 = &temp1;
23916 ecode2 = SWIG_AsVal_int(obj1, &val2);
23917 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
23918 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageLong" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageLong" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
23919 }
23920 temp2 = static_cast< int >(val2);
23921 arg2 = &temp2;
23922 ecode3 = SWIG_AsVal_int(obj2, &val3);
23923 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
23924 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsImageLong" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsImageLong" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
23925 }
23926 temp3 = static_cast< int >(val3);
23927 arg3 = &temp3;
23928 {
23929 try {
23930 result = (GFitsImageLong *)new GFitsImageLong((int const &)*arg1,(int const &)*arg2,(int const &)*arg3);
23931 }
23932 catch (const GException::out_of_range& e) {
23933 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
23934 }
23935 catch (const GExceptionHandler& e) {
23936 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23937 }
23938 catch (const std::exception& e) {
23939 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
23940 }
23941 }
23942 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageLong, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[12], (
(0x1 << 1) | 0x1) | 0)
;
23943 return resultobj;
23944fail:
23945 return NULL__null;
23946}
23947
23948
23949SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageLong__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23950 PyObject *resultobj = 0;
23951 int *arg1 = 0 ;
23952 int *arg2 = 0 ;
23953 int *arg3 = 0 ;
23954 int *arg4 = 0 ;
23955 long *arg5 = (long *) 0 ;
23956 int temp1 ;
23957 int val1 ;
23958 int ecode1 = 0 ;
23959 int temp2 ;
23960 int val2 ;
23961 int ecode2 = 0 ;
23962 int temp3 ;
23963 int val3 ;
23964 int ecode3 = 0 ;
23965 int temp4 ;
23966 int val4 ;
23967 int ecode4 = 0 ;
23968 void *argp5 = 0 ;
23969 int res5 = 0 ;
23970 PyObject * obj0 = 0 ;
23971 PyObject * obj1 = 0 ;
23972 PyObject * obj2 = 0 ;
23973 PyObject * obj3 = 0 ;
23974 PyObject * obj4 = 0 ;
23975 GFitsImageLong *result = 0 ;
23976
23977 if (!PyArg_ParseTuple(args,(char *)"OOOOO:new_GFitsImageLong",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_failgoto fail;
23978 ecode1 = SWIG_AsVal_int(obj0, &val1);
23979 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
23980 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageLong" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageLong" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
23981 }
23982 temp1 = static_cast< int >(val1);
23983 arg1 = &temp1;
23984 ecode2 = SWIG_AsVal_int(obj1, &val2);
23985 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
23986 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageLong" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageLong" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
23987 }
23988 temp2 = static_cast< int >(val2);
23989 arg2 = &temp2;
23990 ecode3 = SWIG_AsVal_int(obj2, &val3);
23991 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
23992 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsImageLong" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsImageLong" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
23993 }
23994 temp3 = static_cast< int >(val3);
23995 arg3 = &temp3;
23996 ecode4 = SWIG_AsVal_int(obj3, &val4);
23997 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
23998 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_GFitsImageLong" "', argument " "4"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "new_GFitsImageLong" "', argument "
"4"" of type '" "int""'"); goto fail; } while(0)
;
23999 }
24000 temp4 = static_cast< int >(val4);
24001 arg4 = &temp4;
24002 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_long, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj4, &argp5, swig_types[42]
, 0 | 0, 0)
;
24003 if (!SWIG_IsOK(res5)(res5 >= 0)) {
24004 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_GFitsImageLong" "', argument " "5"" of type '" "long const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res5 != (
-1)) ? res5 : -5)), "in method '" "new_GFitsImageLong" "', argument "
"5"" of type '" "long const *""'"); goto fail; } while(0)
;
24005 }
24006 arg5 = reinterpret_cast< long * >(argp5);
24007 {
24008 try {
24009 result = (GFitsImageLong *)new GFitsImageLong((int const &)*arg1,(int const &)*arg2,(int const &)*arg3,(int const &)*arg4,(long const *)arg5);
24010 }
24011 catch (const GException::out_of_range& e) {
24012 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
24013 }
24014 catch (const GExceptionHandler& e) {
24015 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24016 }
24017 catch (const std::exception& e) {
24018 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24019 }
24020 }
24021 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageLong, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[12], (
(0x1 << 1) | 0x1) | 0)
;
24022 return resultobj;
24023fail:
24024 return NULL__null;
24025}
24026
24027
24028SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageLong__SWIG_8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24029 PyObject *resultobj = 0;
24030 int *arg1 = 0 ;
24031 int *arg2 = 0 ;
24032 int *arg3 = 0 ;
24033 int *arg4 = 0 ;
24034 int temp1 ;
24035 int val1 ;
24036 int ecode1 = 0 ;
24037 int temp2 ;
24038 int val2 ;
24039 int ecode2 = 0 ;
24040 int temp3 ;
24041 int val3 ;
24042 int ecode3 = 0 ;
24043 int temp4 ;
24044 int val4 ;
24045 int ecode4 = 0 ;
24046 PyObject * obj0 = 0 ;
24047 PyObject * obj1 = 0 ;
24048 PyObject * obj2 = 0 ;
24049 PyObject * obj3 = 0 ;
24050 GFitsImageLong *result = 0 ;
24051
24052 if (!PyArg_ParseTuple(args,(char *)"OOOO:new_GFitsImageLong",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
24053 ecode1 = SWIG_AsVal_int(obj0, &val1);
24054 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
24055 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageLong" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageLong" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
24056 }
24057 temp1 = static_cast< int >(val1);
24058 arg1 = &temp1;
24059 ecode2 = SWIG_AsVal_int(obj1, &val2);
24060 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
24061 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageLong" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageLong" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
24062 }
24063 temp2 = static_cast< int >(val2);
24064 arg2 = &temp2;
24065 ecode3 = SWIG_AsVal_int(obj2, &val3);
24066 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
24067 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsImageLong" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsImageLong" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
24068 }
24069 temp3 = static_cast< int >(val3);
24070 arg3 = &temp3;
24071 ecode4 = SWIG_AsVal_int(obj3, &val4);
24072 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
24073 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_GFitsImageLong" "', argument " "4"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "new_GFitsImageLong" "', argument "
"4"" of type '" "int""'"); goto fail; } while(0)
;
24074 }
24075 temp4 = static_cast< int >(val4);
24076 arg4 = &temp4;
24077 {
24078 try {
24079 result = (GFitsImageLong *)new GFitsImageLong((int const &)*arg1,(int const &)*arg2,(int const &)*arg3,(int const &)*arg4);
24080 }
24081 catch (const GException::out_of_range& e) {
24082 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
24083 }
24084 catch (const GExceptionHandler& e) {
24085 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24086 }
24087 catch (const std::exception& e) {
24088 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24089 }
24090 }
24091 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageLong, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[12], (
(0x1 << 1) | 0x1) | 0)
;
24092 return resultobj;
24093fail:
24094 return NULL__null;
24095}
24096
24097
24098SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageLong__SWIG_9(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24099 PyObject *resultobj = 0;
24100 int *arg1 = 0 ;
24101 int *arg2 = (int *) 0 ;
24102 long *arg3 = (long *) 0 ;
24103 int temp1 ;
24104 int val1 ;
24105 int ecode1 = 0 ;
24106 void *argp2 = 0 ;
24107 int res2 = 0 ;
24108 void *argp3 = 0 ;
24109 int res3 = 0 ;
24110 PyObject * obj0 = 0 ;
24111 PyObject * obj1 = 0 ;
24112 PyObject * obj2 = 0 ;
24113 GFitsImageLong *result = 0 ;
24114
24115 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GFitsImageLong",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
24116 ecode1 = SWIG_AsVal_int(obj0, &val1);
24117 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
24118 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageLong" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageLong" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
24119 }
24120 temp1 = static_cast< int >(val1);
24121 arg1 = &temp1;
24122 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[41]
, 0 | 0, 0)
;
24123 if (!SWIG_IsOK(res2)(res2 >= 0)) {
24124 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_GFitsImageLong" "', argument " "2"" of type '" "int const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "new_GFitsImageLong" "', argument "
"2"" of type '" "int const *""'"); goto fail; } while(0)
;
24125 }
24126 arg2 = reinterpret_cast< int * >(argp2);
24127 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_long, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[42]
, 0 | 0, 0)
;
24128 if (!SWIG_IsOK(res3)(res3 >= 0)) {
24129 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_GFitsImageLong" "', argument " "3"" of type '" "long const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "new_GFitsImageLong" "', argument "
"3"" of type '" "long const *""'"); goto fail; } while(0)
;
24130 }
24131 arg3 = reinterpret_cast< long * >(argp3);
24132 {
24133 try {
24134 result = (GFitsImageLong *)new GFitsImageLong((int const &)*arg1,(int const *)arg2,(long const *)arg3);
24135 }
24136 catch (const GException::out_of_range& e) {
24137 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
24138 }
24139 catch (const GExceptionHandler& e) {
24140 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24141 }
24142 catch (const std::exception& e) {
24143 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24144 }
24145 }
24146 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageLong, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[12], (
(0x1 << 1) | 0x1) | 0)
;
24147 return resultobj;
24148fail:
24149 return NULL__null;
24150}
24151
24152
24153SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageLong__SWIG_10(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24154 PyObject *resultobj = 0;
24155 int *arg1 = 0 ;
24156 int *arg2 = (int *) 0 ;
24157 int temp1 ;
24158 int val1 ;
24159 int ecode1 = 0 ;
24160 void *argp2 = 0 ;
24161 int res2 = 0 ;
24162 PyObject * obj0 = 0 ;
24163 PyObject * obj1 = 0 ;
24164 GFitsImageLong *result = 0 ;
24165
24166 if (!PyArg_ParseTuple(args,(char *)"OO:new_GFitsImageLong",&obj0,&obj1)) SWIG_failgoto fail;
24167 ecode1 = SWIG_AsVal_int(obj0, &val1);
24168 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
24169 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageLong" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageLong" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
24170 }
24171 temp1 = static_cast< int >(val1);
24172 arg1 = &temp1;
24173 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[41]
, 0 | 0, 0)
;
24174 if (!SWIG_IsOK(res2)(res2 >= 0)) {
24175 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_GFitsImageLong" "', argument " "2"" of type '" "int const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "new_GFitsImageLong" "', argument "
"2"" of type '" "int const *""'"); goto fail; } while(0)
;
24176 }
24177 arg2 = reinterpret_cast< int * >(argp2);
24178 {
24179 try {
24180 result = (GFitsImageLong *)new GFitsImageLong((int const &)*arg1,(int const *)arg2);
24181 }
24182 catch (const GException::out_of_range& e) {
24183 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
24184 }
24185 catch (const GExceptionHandler& e) {
24186 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24187 }
24188 catch (const std::exception& e) {
24189 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24190 }
24191 }
24192 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageLong, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[12], (
(0x1 << 1) | 0x1) | 0)
;
24193 return resultobj;
24194fail:
24195 return NULL__null;
24196}
24197
24198
24199SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageLong__SWIG_11(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24200 PyObject *resultobj = 0;
24201 GFitsImageLong *arg1 = 0 ;
24202 void *argp1 = 0 ;
24203 int res1 = 0 ;
24204 PyObject * obj0 = 0 ;
24205 GFitsImageLong *result = 0 ;
24206
24207 if (!PyArg_ParseTuple(args,(char *)"O:new_GFitsImageLong",&obj0)) SWIG_failgoto fail;
24208 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GFitsImageLong, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[12]
, 0 | 0, 0)
;
24209 if (!SWIG_IsOK(res1)(res1 >= 0)) {
24210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsImageLong" "', argument " "1"" of type '" "GFitsImageLong const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsImageLong" "', argument "
"1"" of type '" "GFitsImageLong const &""'"); goto fail;
} while(0)
;
24211 }
24212 if (!argp1) {
24213 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsImageLong" "', argument " "1"" of type '" "GFitsImageLong const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsImageLong" "', argument " "1"" of type '"
"GFitsImageLong const &""'"); goto fail; } while(0)
;
24214 }
24215 arg1 = reinterpret_cast< GFitsImageLong * >(argp1);
24216 {
24217 try {
24218 result = (GFitsImageLong *)new GFitsImageLong((GFitsImageLong const &)*arg1);
24219 }
24220 catch (const GException::out_of_range& e) {
24221 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
24222 }
24223 catch (const GExceptionHandler& e) {
24224 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24225 }
24226 catch (const std::exception& e) {
24227 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24228 }
24229 }
24230 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageLong, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[12], (
(0x1 << 1) | 0x1) | 0)
;
24231 return resultobj;
24232fail:
24233 return NULL__null;
24234}
24235
24236
24237SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageLong(PyObject *self, PyObject *args) {
24238 int argc;
24239 PyObject *argv[6];
24240 int ii;
24241
24242 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
24243 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
24244 for (ii = 0; (ii < 5) && (ii < argc); ii++) {
24245 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
24246 }
24247 if (argc == 0) {
24248 return _wrap_new_GFitsImageLong__SWIG_0(self, args);
24249 }
24250 if (argc == 1) {
24251 int _v;
24252 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GFitsImageLong, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[12], 0, 0
)
;
24253 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24254 if (_v) {
24255 return _wrap_new_GFitsImageLong__SWIG_11(self, args);
24256 }
24257 }
24258 if (argc == 1) {
24259 int _v;
24260 {
24261 int res = SWIG_AsVal_int(argv[0], NULL__null);
24262 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24263 }
24264 if (_v) {
24265 return _wrap_new_GFitsImageLong__SWIG_2(self, args);
24266 }
24267 }
24268 if (argc == 2) {
24269 int _v;
24270 {
24271 int res = SWIG_AsVal_int(argv[0], NULL__null);
24272 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24273 }
24274 if (_v) {
24275 void *vptr = 0;
24276 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[41
], 0, 0)
;
24277 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24278 if (_v) {
24279 return _wrap_new_GFitsImageLong__SWIG_10(self, args);
24280 }
24281 }
24282 }
24283 if (argc == 2) {
24284 int _v;
24285 {
24286 int res = SWIG_AsVal_int(argv[0], NULL__null);
24287 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24288 }
24289 if (_v) {
24290 void *vptr = 0;
24291 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_long, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[42
], 0, 0)
;
24292 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24293 if (_v) {
24294 return _wrap_new_GFitsImageLong__SWIG_1(self, args);
24295 }
24296 }
24297 }
24298 if (argc == 2) {
24299 int _v;
24300 {
24301 int res = SWIG_AsVal_int(argv[0], NULL__null);
24302 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24303 }
24304 if (_v) {
24305 {
24306 int res = SWIG_AsVal_int(argv[1], NULL__null);
24307 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24308 }
24309 if (_v) {
24310 return _wrap_new_GFitsImageLong__SWIG_4(self, args);
24311 }
24312 }
24313 }
24314 if (argc == 3) {
24315 int _v;
24316 {
24317 int res = SWIG_AsVal_int(argv[0], NULL__null);
24318 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24319 }
24320 if (_v) {
24321 void *vptr = 0;
24322 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[41
], 0, 0)
;
24323 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24324 if (_v) {
24325 void *vptr = 0;
24326 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_long, 0)SWIG_Python_ConvertPtrAndOwn(argv[2], &vptr, swig_types[42
], 0, 0)
;
24327 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24328 if (_v) {
24329 return _wrap_new_GFitsImageLong__SWIG_9(self, args);
24330 }
24331 }
24332 }
24333 }
24334 if (argc == 3) {
24335 int _v;
24336 {
24337 int res = SWIG_AsVal_int(argv[0], NULL__null);
24338 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24339 }
24340 if (_v) {
24341 {
24342 int res = SWIG_AsVal_int(argv[1], NULL__null);
24343 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24344 }
24345 if (_v) {
24346 void *vptr = 0;
24347 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_long, 0)SWIG_Python_ConvertPtrAndOwn(argv[2], &vptr, swig_types[42
], 0, 0)
;
24348 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24349 if (_v) {
24350 return _wrap_new_GFitsImageLong__SWIG_3(self, args);
24351 }
24352 }
24353 }
24354 }
24355 if (argc == 3) {
24356 int _v;
24357 {
24358 int res = SWIG_AsVal_int(argv[0], NULL__null);
24359 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24360 }
24361 if (_v) {
24362 {
24363 int res = SWIG_AsVal_int(argv[1], NULL__null);
24364 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24365 }
24366 if (_v) {
24367 {
24368 int res = SWIG_AsVal_int(argv[2], NULL__null);
24369 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24370 }
24371 if (_v) {
24372 return _wrap_new_GFitsImageLong__SWIG_6(self, args);
24373 }
24374 }
24375 }
24376 }
24377 if (argc == 4) {
24378 int _v;
24379 {
24380 int res = SWIG_AsVal_int(argv[0], NULL__null);
24381 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24382 }
24383 if (_v) {
24384 {
24385 int res = SWIG_AsVal_int(argv[1], NULL__null);
24386 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24387 }
24388 if (_v) {
24389 {
24390 int res = SWIG_AsVal_int(argv[2], NULL__null);
24391 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24392 }
24393 if (_v) {
24394 void *vptr = 0;
24395 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_long, 0)SWIG_Python_ConvertPtrAndOwn(argv[3], &vptr, swig_types[42
], 0, 0)
;
24396 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24397 if (_v) {
24398 return _wrap_new_GFitsImageLong__SWIG_5(self, args);
24399 }
24400 }
24401 }
24402 }
24403 }
24404 if (argc == 4) {
24405 int _v;
24406 {
24407 int res = SWIG_AsVal_int(argv[0], NULL__null);
24408 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24409 }
24410 if (_v) {
24411 {
24412 int res = SWIG_AsVal_int(argv[1], NULL__null);
24413 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24414 }
24415 if (_v) {
24416 {
24417 int res = SWIG_AsVal_int(argv[2], NULL__null);
24418 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24419 }
24420 if (_v) {
24421 {
24422 int res = SWIG_AsVal_int(argv[3], NULL__null);
24423 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24424 }
24425 if (_v) {
24426 return _wrap_new_GFitsImageLong__SWIG_8(self, args);
24427 }
24428 }
24429 }
24430 }
24431 }
24432 if (argc == 5) {
24433 int _v;
24434 {
24435 int res = SWIG_AsVal_int(argv[0], NULL__null);
24436 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24437 }
24438 if (_v) {
24439 {
24440 int res = SWIG_AsVal_int(argv[1], NULL__null);
24441 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24442 }
24443 if (_v) {
24444 {
24445 int res = SWIG_AsVal_int(argv[2], NULL__null);
24446 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24447 }
24448 if (_v) {
24449 {
24450 int res = SWIG_AsVal_int(argv[3], NULL__null);
24451 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24452 }
24453 if (_v) {
24454 void *vptr = 0;
24455 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_long, 0)SWIG_Python_ConvertPtrAndOwn(argv[4], &vptr, swig_types[42
], 0, 0)
;
24456 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24457 if (_v) {
24458 return _wrap_new_GFitsImageLong__SWIG_7(self, args);
24459 }
24460 }
24461 }
24462 }
24463 }
24464 }
24465
24466fail:
24467 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GFitsImageLong'.\n"
24468 " Possible C/C++ prototypes are:\n"
24469 " GFitsImageLong::GFitsImageLong()\n"
24470 " GFitsImageLong::GFitsImageLong(int const &,long const *)\n"
24471 " GFitsImageLong::GFitsImageLong(int const &)\n"
24472 " GFitsImageLong::GFitsImageLong(int const &,int const &,long const *)\n"
24473 " GFitsImageLong::GFitsImageLong(int const &,int const &)\n"
24474 " GFitsImageLong::GFitsImageLong(int const &,int const &,int const &,long const *)\n"
24475 " GFitsImageLong::GFitsImageLong(int const &,int const &,int const &)\n"
24476 " GFitsImageLong::GFitsImageLong(int const &,int const &,int const &,int const &,long const *)\n"
24477 " GFitsImageLong::GFitsImageLong(int const &,int const &,int const &,int const &)\n"
24478 " GFitsImageLong::GFitsImageLong(int const &,int const *,long const *)\n"
24479 " GFitsImageLong::GFitsImageLong(int const &,int const *)\n"
24480 " GFitsImageLong::GFitsImageLong(GFitsImageLong const &)\n");
24481 return 0;
24482}
24483
24484
24485SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GFitsImageLong(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24486 PyObject *resultobj = 0;
24487 GFitsImageLong *arg1 = (GFitsImageLong *) 0 ;
24488 void *argp1 = 0 ;
24489 int res1 = 0 ;
24490 PyObject * obj0 = 0 ;
24491
24492 if (!PyArg_ParseTuple(args,(char *)"O:delete_GFitsImageLong",&obj0)) SWIG_failgoto fail;
24493 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageLong, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[12]
, 0x1 | 0, 0)
;
24494 if (!SWIG_IsOK(res1)(res1 >= 0)) {
24495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GFitsImageLong" "', argument " "1"" of type '" "GFitsImageLong *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GFitsImageLong" "', argument "
"1"" of type '" "GFitsImageLong *""'"); goto fail; } while(0
)
;
24496 }
24497 arg1 = reinterpret_cast< GFitsImageLong * >(argp1);
24498 {
24499 try {
24500 delete arg1;
24501 }
24502 catch (const GException::out_of_range& e) {
24503 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
24504 }
24505 catch (const GExceptionHandler& e) {
24506 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24507 }
24508 catch (const std::exception& e) {
24509 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24510 }
24511 }
24512 resultobj = SWIG_Py_Void();
24513 return resultobj;
24514fail:
24515 return NULL__null;
24516}
24517
24518
24519SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageLong_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24520 PyObject *resultobj = 0;
24521 GFitsImageLong *arg1 = (GFitsImageLong *) 0 ;
24522 void *argp1 = 0 ;
24523 int res1 = 0 ;
24524 PyObject * obj0 = 0 ;
24525
24526 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageLong_clear",&obj0)) SWIG_failgoto fail;
24527 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageLong, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[12]
, 0 | 0, 0)
;
24528 if (!SWIG_IsOK(res1)(res1 >= 0)) {
24529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageLong_clear" "', argument " "1"" of type '" "GFitsImageLong *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageLong_clear" "', argument "
"1"" of type '" "GFitsImageLong *""'"); goto fail; } while(0
)
;
24530 }
24531 arg1 = reinterpret_cast< GFitsImageLong * >(argp1);
24532 {
24533 try {
24534 (arg1)->clear();
24535 }
24536 catch (const GException::out_of_range& e) {
24537 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
24538 }
24539 catch (const GExceptionHandler& e) {
24540 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24541 }
24542 catch (const std::exception& e) {
24543 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24544 }
24545 }
24546 resultobj = SWIG_Py_Void();
24547 return resultobj;
24548fail:
24549 return NULL__null;
24550}
24551
24552
24553SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageLong_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24554 PyObject *resultobj = 0;
24555 GFitsImageLong *arg1 = (GFitsImageLong *) 0 ;
24556 void *argp1 = 0 ;
24557 int res1 = 0 ;
24558 PyObject * obj0 = 0 ;
24559 GFitsImageLong *result = 0 ;
24560
24561 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageLong_clone",&obj0)) SWIG_failgoto fail;
24562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageLong, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[12]
, 0 | 0, 0)
;
24563 if (!SWIG_IsOK(res1)(res1 >= 0)) {
24564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageLong_clone" "', argument " "1"" of type '" "GFitsImageLong const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageLong_clone" "', argument "
"1"" of type '" "GFitsImageLong const *""'"); goto fail; } while
(0)
;
24565 }
24566 arg1 = reinterpret_cast< GFitsImageLong * >(argp1);
24567 {
24568 try {
24569 result = (GFitsImageLong *)((GFitsImageLong const *)arg1)->clone();
24570 }
24571 catch (const GException::out_of_range& e) {
24572 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
24573 }
24574 catch (const GExceptionHandler& e) {
24575 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24576 }
24577 catch (const std::exception& e) {
24578 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24579 }
24580 }
24581 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageLong, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[12], 0
| 0)
;
24582 return resultobj;
24583fail:
24584 return NULL__null;
24585}
24586
24587
24588SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageLong_pixel__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24589 PyObject *resultobj = 0;
24590 GFitsImageLong *arg1 = (GFitsImageLong *) 0 ;
24591 int *arg2 = 0 ;
24592 void *argp1 = 0 ;
24593 int res1 = 0 ;
24594 int temp2 ;
24595 int val2 ;
24596 int ecode2 = 0 ;
24597 PyObject * obj0 = 0 ;
24598 PyObject * obj1 = 0 ;
24599 double result;
24600
24601 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsImageLong_pixel",&obj0,&obj1)) SWIG_failgoto fail;
24602 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageLong, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[12]
, 0 | 0, 0)
;
24603 if (!SWIG_IsOK(res1)(res1 >= 0)) {
24604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageLong_pixel" "', argument " "1"" of type '" "GFitsImageLong const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageLong_pixel" "', argument "
"1"" of type '" "GFitsImageLong const *""'"); goto fail; } while
(0)
;
24605 }
24606 arg1 = reinterpret_cast< GFitsImageLong * >(argp1);
24607 ecode2 = SWIG_AsVal_int(obj1, &val2);
24608 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
24609 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsImageLong_pixel" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsImageLong_pixel" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
24610 }
24611 temp2 = static_cast< int >(val2);
24612 arg2 = &temp2;
24613 {
24614 try {
24615 result = (double)((GFitsImageLong const *)arg1)->pixel((int const &)*arg2);
24616 }
24617 catch (const GException::out_of_range& e) {
24618 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
24619 }
24620 catch (const GExceptionHandler& e) {
24621 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24622 }
24623 catch (const std::exception& e) {
24624 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24625 }
24626 }
24627 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
24628 return resultobj;
24629fail:
24630 return NULL__null;
24631}
24632
24633
24634SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageLong_pixel__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24635 PyObject *resultobj = 0;
24636 GFitsImageLong *arg1 = (GFitsImageLong *) 0 ;
24637 int *arg2 = 0 ;
24638 int *arg3 = 0 ;
24639 void *argp1 = 0 ;
24640 int res1 = 0 ;
24641 int temp2 ;
24642 int val2 ;
24643 int ecode2 = 0 ;
24644 int temp3 ;
24645 int val3 ;
24646 int ecode3 = 0 ;
24647 PyObject * obj0 = 0 ;
24648 PyObject * obj1 = 0 ;
24649 PyObject * obj2 = 0 ;
24650 double result;
24651
24652 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsImageLong_pixel",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
24653 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageLong, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[12]
, 0 | 0, 0)
;
24654 if (!SWIG_IsOK(res1)(res1 >= 0)) {
24655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageLong_pixel" "', argument " "1"" of type '" "GFitsImageLong const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageLong_pixel" "', argument "
"1"" of type '" "GFitsImageLong const *""'"); goto fail; } while
(0)
;
24656 }
24657 arg1 = reinterpret_cast< GFitsImageLong * >(argp1);
24658 ecode2 = SWIG_AsVal_int(obj1, &val2);
24659 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
24660 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsImageLong_pixel" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsImageLong_pixel" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
24661 }
24662 temp2 = static_cast< int >(val2);
24663 arg2 = &temp2;
24664 ecode3 = SWIG_AsVal_int(obj2, &val3);
24665 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
24666 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsImageLong_pixel" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsImageLong_pixel" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
24667 }
24668 temp3 = static_cast< int >(val3);
24669 arg3 = &temp3;
24670 {
24671 try {
24672 result = (double)((GFitsImageLong const *)arg1)->pixel((int const &)*arg2,(int const &)*arg3);
24673 }
24674 catch (const GException::out_of_range& e) {
24675 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
24676 }
24677 catch (const GExceptionHandler& e) {
24678 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24679 }
24680 catch (const std::exception& e) {
24681 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24682 }
24683 }
24684 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
24685 return resultobj;
24686fail:
24687 return NULL__null;
24688}
24689
24690
24691SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageLong_pixel__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24692 PyObject *resultobj = 0;
24693 GFitsImageLong *arg1 = (GFitsImageLong *) 0 ;
24694 int *arg2 = 0 ;
24695 int *arg3 = 0 ;
24696 int *arg4 = 0 ;
24697 void *argp1 = 0 ;
24698 int res1 = 0 ;
24699 int temp2 ;
24700 int val2 ;
24701 int ecode2 = 0 ;
24702 int temp3 ;
24703 int val3 ;
24704 int ecode3 = 0 ;
24705 int temp4 ;
24706 int val4 ;
24707 int ecode4 = 0 ;
24708 PyObject * obj0 = 0 ;
24709 PyObject * obj1 = 0 ;
24710 PyObject * obj2 = 0 ;
24711 PyObject * obj3 = 0 ;
24712 double result;
24713
24714 if (!PyArg_ParseTuple(args,(char *)"OOOO:GFitsImageLong_pixel",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
24715 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageLong, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[12]
, 0 | 0, 0)
;
24716 if (!SWIG_IsOK(res1)(res1 >= 0)) {
24717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageLong_pixel" "', argument " "1"" of type '" "GFitsImageLong const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageLong_pixel" "', argument "
"1"" of type '" "GFitsImageLong const *""'"); goto fail; } while
(0)
;
24718 }
24719 arg1 = reinterpret_cast< GFitsImageLong * >(argp1);
24720 ecode2 = SWIG_AsVal_int(obj1, &val2);
24721 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
24722 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsImageLong_pixel" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsImageLong_pixel" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
24723 }
24724 temp2 = static_cast< int >(val2);
24725 arg2 = &temp2;
24726 ecode3 = SWIG_AsVal_int(obj2, &val3);
24727 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
24728 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsImageLong_pixel" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsImageLong_pixel" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
24729 }
24730 temp3 = static_cast< int >(val3);
24731 arg3 = &temp3;
24732 ecode4 = SWIG_AsVal_int(obj3, &val4);
24733 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
24734 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GFitsImageLong_pixel" "', argument " "4"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GFitsImageLong_pixel" "', argument "
"4"" of type '" "int""'"); goto fail; } while(0)
;
24735 }
24736 temp4 = static_cast< int >(val4);
24737 arg4 = &temp4;
24738 {
24739 try {
24740 result = (double)((GFitsImageLong const *)arg1)->pixel((int const &)*arg2,(int const &)*arg3,(int const &)*arg4);
24741 }
24742 catch (const GException::out_of_range& e) {
24743 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
24744 }
24745 catch (const GExceptionHandler& e) {
24746 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24747 }
24748 catch (const std::exception& e) {
24749 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24750 }
24751 }
24752 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
24753 return resultobj;
24754fail:
24755 return NULL__null;
24756}
24757
24758
24759SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageLong_pixel__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24760 PyObject *resultobj = 0;
24761 GFitsImageLong *arg1 = (GFitsImageLong *) 0 ;
24762 int *arg2 = 0 ;
24763 int *arg3 = 0 ;
24764 int *arg4 = 0 ;
24765 int *arg5 = 0 ;
24766 void *argp1 = 0 ;
24767 int res1 = 0 ;
24768 int temp2 ;
24769 int val2 ;
24770 int ecode2 = 0 ;
24771 int temp3 ;
24772 int val3 ;
24773 int ecode3 = 0 ;
24774 int temp4 ;
24775 int val4 ;
24776 int ecode4 = 0 ;
24777 int temp5 ;
24778 int val5 ;
24779 int ecode5 = 0 ;
24780 PyObject * obj0 = 0 ;
24781 PyObject * obj1 = 0 ;
24782 PyObject * obj2 = 0 ;
24783 PyObject * obj3 = 0 ;
24784 PyObject * obj4 = 0 ;
24785 double result;
24786
24787 if (!PyArg_ParseTuple(args,(char *)"OOOOO:GFitsImageLong_pixel",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_failgoto fail;
24788 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageLong, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[12]
, 0 | 0, 0)
;
24789 if (!SWIG_IsOK(res1)(res1 >= 0)) {
24790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageLong_pixel" "', argument " "1"" of type '" "GFitsImageLong const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageLong_pixel" "', argument "
"1"" of type '" "GFitsImageLong const *""'"); goto fail; } while
(0)
;
24791 }
24792 arg1 = reinterpret_cast< GFitsImageLong * >(argp1);
24793 ecode2 = SWIG_AsVal_int(obj1, &val2);
24794 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
24795 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsImageLong_pixel" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsImageLong_pixel" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
24796 }
24797 temp2 = static_cast< int >(val2);
24798 arg2 = &temp2;
24799 ecode3 = SWIG_AsVal_int(obj2, &val3);
24800 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
24801 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsImageLong_pixel" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsImageLong_pixel" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
24802 }
24803 temp3 = static_cast< int >(val3);
24804 arg3 = &temp3;
24805 ecode4 = SWIG_AsVal_int(obj3, &val4);
24806 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
24807 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GFitsImageLong_pixel" "', argument " "4"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GFitsImageLong_pixel" "', argument "
"4"" of type '" "int""'"); goto fail; } while(0)
;
24808 }
24809 temp4 = static_cast< int >(val4);
24810 arg4 = &temp4;
24811 ecode5 = SWIG_AsVal_int(obj4, &val5);
24812 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
24813 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GFitsImageLong_pixel" "', argument " "5"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GFitsImageLong_pixel" "', argument "
"5"" of type '" "int""'"); goto fail; } while(0)
;
24814 }
24815 temp5 = static_cast< int >(val5);
24816 arg5 = &temp5;
24817 {
24818 try {
24819 result = (double)((GFitsImageLong const *)arg1)->pixel((int const &)*arg2,(int const &)*arg3,(int const &)*arg4,(int const &)*arg5);
24820 }
24821 catch (const GException::out_of_range& e) {
24822 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
24823 }
24824 catch (const GExceptionHandler& e) {
24825 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24826 }
24827 catch (const std::exception& e) {
24828 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
24829 }
24830 }
24831 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
24832 return resultobj;
24833fail:
24834 return NULL__null;
24835}
24836
24837
24838SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageLong_pixel(PyObject *self, PyObject *args) {
24839 int argc;
24840 PyObject *argv[6];
24841 int ii;
24842
24843 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
24844 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
24845 for (ii = 0; (ii < 5) && (ii < argc); ii++) {
24846 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
24847 }
24848 if (argc == 2) {
24849 int _v;
24850 void *vptr = 0;
24851 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsImageLong, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[12
], 0, 0)
;
24852 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24853 if (_v) {
24854 {
24855 int res = SWIG_AsVal_int(argv[1], NULL__null);
24856 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24857 }
24858 if (_v) {
24859 return _wrap_GFitsImageLong_pixel__SWIG_0(self, args);
24860 }
24861 }
24862 }
24863 if (argc == 3) {
24864 int _v;
24865 void *vptr = 0;
24866 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsImageLong, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[12
], 0, 0)
;
24867 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24868 if (_v) {
24869 {
24870 int res = SWIG_AsVal_int(argv[1], NULL__null);
24871 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24872 }
24873 if (_v) {
24874 {
24875 int res = SWIG_AsVal_int(argv[2], NULL__null);
24876 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24877 }
24878 if (_v) {
24879 return _wrap_GFitsImageLong_pixel__SWIG_1(self, args);
24880 }
24881 }
24882 }
24883 }
24884 if (argc == 4) {
24885 int _v;
24886 void *vptr = 0;
24887 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsImageLong, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[12
], 0, 0)
;
24888 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24889 if (_v) {
24890 {
24891 int res = SWIG_AsVal_int(argv[1], NULL__null);
24892 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24893 }
24894 if (_v) {
24895 {
24896 int res = SWIG_AsVal_int(argv[2], NULL__null);
24897 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24898 }
24899 if (_v) {
24900 {
24901 int res = SWIG_AsVal_int(argv[3], NULL__null);
24902 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24903 }
24904 if (_v) {
24905 return _wrap_GFitsImageLong_pixel__SWIG_2(self, args);
24906 }
24907 }
24908 }
24909 }
24910 }
24911 if (argc == 5) {
24912 int _v;
24913 void *vptr = 0;
24914 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsImageLong, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[12
], 0, 0)
;
24915 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24916 if (_v) {
24917 {
24918 int res = SWIG_AsVal_int(argv[1], NULL__null);
24919 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24920 }
24921 if (_v) {
24922 {
24923 int res = SWIG_AsVal_int(argv[2], NULL__null);
24924 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24925 }
24926 if (_v) {
24927 {
24928 int res = SWIG_AsVal_int(argv[3], NULL__null);
24929 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24930 }
24931 if (_v) {
24932 {
24933 int res = SWIG_AsVal_int(argv[4], NULL__null);
24934 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
24935 }
24936 if (_v) {
24937 return _wrap_GFitsImageLong_pixel__SWIG_3(self, args);
24938 }
24939 }
24940 }
24941 }
24942 }
24943 }
24944
24945fail:
24946 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsImageLong_pixel'.\n"
24947 " Possible C/C++ prototypes are:\n"
24948 " GFitsImageLong::pixel(int const &) const\n"
24949 " GFitsImageLong::pixel(int const &,int const &) const\n"
24950 " GFitsImageLong::pixel(int const &,int const &,int const &) const\n"
24951 " GFitsImageLong::pixel(int const &,int const &,int const &,int const &) const\n");
24952 return 0;
24953}
24954
24955
24956SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageLong_pixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24957 PyObject *resultobj = 0;
24958 GFitsImageLong *arg1 = (GFitsImageLong *) 0 ;
24959 void *argp1 = 0 ;
24960 int res1 = 0 ;
24961 PyObject * obj0 = 0 ;
24962 void *result = 0 ;
24963
24964 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageLong_pixels",&obj0)) SWIG_failgoto fail;
24965 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageLong, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[12]
, 0 | 0, 0)
;
24966 if (!SWIG_IsOK(res1)(res1 >= 0)) {
24967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageLong_pixels" "', argument " "1"" of type '" "GFitsImageLong *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageLong_pixels" "', argument "
"1"" of type '" "GFitsImageLong *""'"); goto fail; } while(0
)
;
24968 }
24969 arg1 = reinterpret_cast< GFitsImageLong * >(argp1);
24970 {
24971 try {
24972 result = (void *)(arg1)->pixels();
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_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[57], 0
| 0)
;
24985 return resultobj;
24986fail:
24987 return NULL__null;
24988}
24989
24990
24991SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageLong_type(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24992 PyObject *resultobj = 0;
24993 GFitsImageLong *arg1 = (GFitsImageLong *) 0 ;
24994 void *argp1 = 0 ;
24995 int res1 = 0 ;
24996 PyObject * obj0 = 0 ;
24997 int result;
24998
24999 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageLong_type",&obj0)) SWIG_failgoto fail;
25000 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageLong, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[12]
, 0 | 0, 0)
;
25001 if (!SWIG_IsOK(res1)(res1 >= 0)) {
25002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageLong_type" "', argument " "1"" of type '" "GFitsImageLong const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageLong_type" "', argument "
"1"" of type '" "GFitsImageLong const *""'"); goto fail; } while
(0)
;
25003 }
25004 arg1 = reinterpret_cast< GFitsImageLong * >(argp1);
25005 {
25006 try {
25007 result = (int)((GFitsImageLong const *)arg1)->type();
25008 }
25009 catch (const GException::out_of_range& e) {
25010 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
25011 }
25012 catch (const GExceptionHandler& e) {
25013 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25014 }
25015 catch (const std::exception& e) {
25016 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25017 }
25018 }
25019 resultobj = SWIG_From_int(static_cast< int >(result));
25020 return resultobj;
25021fail:
25022 return NULL__null;
25023}
25024
25025
25026SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageLong___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25027 PyObject *resultobj = 0;
25028 GFitsImageLong *arg1 = (GFitsImageLong *) 0 ;
25029 int *arg2 ;
25030 void *argp1 = 0 ;
25031 int res1 = 0 ;
25032 int temp2[5] ;
25033 PyObject * obj0 = 0 ;
25034 PyObject * obj1 = 0 ;
25035 long result;
25036
25037 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsImageLong___getitem__",&obj0,&obj1)) SWIG_failgoto fail;
25038 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageLong, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[12]
, 0 | 0, 0)
;
25039 if (!SWIG_IsOK(res1)(res1 >= 0)) {
25040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageLong___getitem__" "', argument " "1"" of type '" "GFitsImageLong *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageLong___getitem__"
"', argument " "1"" of type '" "GFitsImageLong *""'"); goto fail
; } while(0)
;
25041 }
25042 arg1 = reinterpret_cast< GFitsImageLong * >(argp1);
25043 {
25044 if (!image_pixel_tuple(obj1,temp2)) {
25045 return NULL__null;
25046 }
25047 arg2 = &temp2[0];
25048 }
25049 {
25050 try {
25051 result = (long)GFitsImageLong___getitem__(arg1,arg2);
25052 }
25053 catch (const GException::out_of_range& e) {
25054 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
25055 }
25056 catch (const GExceptionHandler& e) {
25057 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25058 }
25059 catch (const std::exception& e) {
25060 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25061 }
25062 }
25063 resultobj = SWIG_From_longPyLong_FromLong(static_cast< long >(result));
25064 return resultobj;
25065fail:
25066 return NULL__null;
25067}
25068
25069
25070SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageLong___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25071 PyObject *resultobj = 0;
25072 GFitsImageLong *arg1 = (GFitsImageLong *) 0 ;
25073 int *arg2 ;
25074 long arg3 ;
25075 void *argp1 = 0 ;
25076 int res1 = 0 ;
25077 int temp2[5] ;
25078 long val3 ;
25079 int ecode3 = 0 ;
25080 PyObject * obj0 = 0 ;
25081 PyObject * obj1 = 0 ;
25082 PyObject * obj2 = 0 ;
25083
25084 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsImageLong___setitem__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
25085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageLong, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[12]
, 0 | 0, 0)
;
25086 if (!SWIG_IsOK(res1)(res1 >= 0)) {
25087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageLong___setitem__" "', argument " "1"" of type '" "GFitsImageLong *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageLong___setitem__"
"', argument " "1"" of type '" "GFitsImageLong *""'"); goto fail
; } while(0)
;
25088 }
25089 arg1 = reinterpret_cast< GFitsImageLong * >(argp1);
25090 {
25091 if (!image_pixel_tuple(obj1,temp2)) {
25092 return NULL__null;
25093 }
25094 arg2 = &temp2[0];
25095 }
25096 ecode3 = SWIG_AsVal_long(obj2, &val3);
25097 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
25098 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsImageLong___setitem__" "', argument " "3"" of type '" "long""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsImageLong___setitem__"
"', argument " "3"" of type '" "long""'"); goto fail; } while
(0)
;
25099 }
25100 arg3 = static_cast< long >(val3);
25101 {
25102 try {
25103 GFitsImageLong___setitem__(arg1,arg2,arg3);
25104 }
25105 catch (const GException::out_of_range& e) {
25106 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
25107 }
25108 catch (const GExceptionHandler& e) {
25109 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25110 }
25111 catch (const std::exception& e) {
25112 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25113 }
25114 }
25115 resultobj = SWIG_Py_Void();
25116 return resultobj;
25117fail:
25118 return NULL__null;
25119}
25120
25121
25122SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageLong_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25123 PyObject *resultobj = 0;
25124 GFitsImageLong *arg1 = (GFitsImageLong *) 0 ;
25125 void *argp1 = 0 ;
25126 int res1 = 0 ;
25127 PyObject * obj0 = 0 ;
25128 GFitsImageLong result;
25129
25130 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageLong_copy",&obj0)) SWIG_failgoto fail;
25131 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageLong, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[12]
, 0 | 0, 0)
;
25132 if (!SWIG_IsOK(res1)(res1 >= 0)) {
25133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageLong_copy" "', argument " "1"" of type '" "GFitsImageLong *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageLong_copy" "', argument "
"1"" of type '" "GFitsImageLong *""'"); goto fail; } while(0
)
;
25134 }
25135 arg1 = reinterpret_cast< GFitsImageLong * >(argp1);
25136 {
25137 try {
25138 result = GFitsImageLong_copy(arg1);
25139 }
25140 catch (const GException::out_of_range& e) {
25141 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
25142 }
25143 catch (const GExceptionHandler& e) {
25144 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25145 }
25146 catch (const std::exception& e) {
25147 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25148 }
25149 }
25150 resultobj = SWIG_NewPointerObj((new GFitsImageLong(static_cast< const GFitsImageLong& >(result))), SWIGTYPE_p_GFitsImageLong, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GFitsImageLong(static_cast
< const GFitsImageLong& >(result))), swig_types[12]
, 0x1 | 0)
;
25151 return resultobj;
25152fail:
25153 return NULL__null;
25154}
25155
25156
25157SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GFitsImageLong_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25158 PyObject *obj;
25159 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
25160 SWIG_TypeNewClientData(SWIGTYPE_p_GFitsImageLongswig_types[12], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
25161 return SWIG_Py_Void();
25162}
25163
25164SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageLongLong__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25165 PyObject *resultobj = 0;
25166 GFitsImageLongLong *result = 0 ;
25167
25168 if (!PyArg_ParseTuple(args,(char *)":new_GFitsImageLongLong")) SWIG_failgoto fail;
25169 {
25170 try {
25171 result = (GFitsImageLongLong *)new GFitsImageLongLong();
25172 }
25173 catch (const GException::out_of_range& e) {
25174 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
25175 }
25176 catch (const GExceptionHandler& e) {
25177 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25178 }
25179 catch (const std::exception& e) {
25180 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25181 }
25182 }
25183 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageLongLong, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[13], (
(0x1 << 1) | 0x1) | 0)
;
25184 return resultobj;
25185fail:
25186 return NULL__null;
25187}
25188
25189
25190SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageLongLong__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25191 PyObject *resultobj = 0;
25192 int *arg1 = 0 ;
25193 long long *arg2 = (long long *) 0 ;
25194 int temp1 ;
25195 int val1 ;
25196 int ecode1 = 0 ;
25197 void *argp2 = 0 ;
25198 int res2 = 0 ;
25199 PyObject * obj0 = 0 ;
25200 PyObject * obj1 = 0 ;
25201 GFitsImageLongLong *result = 0 ;
25202
25203 if (!PyArg_ParseTuple(args,(char *)"OO:new_GFitsImageLongLong",&obj0,&obj1)) SWIG_failgoto fail;
25204 ecode1 = SWIG_AsVal_int(obj0, &val1);
25205 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
25206 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageLongLong" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageLongLong"
"', argument " "1"" of type '" "int""'"); goto fail; } while
(0)
;
25207 }
25208 temp1 = static_cast< int >(val1);
25209 arg1 = &temp1;
25210 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_long_long, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[43]
, 0 | 0, 0)
;
25211 if (!SWIG_IsOK(res2)(res2 >= 0)) {
25212 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_GFitsImageLongLong" "', argument " "2"" of type '" "long long const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "new_GFitsImageLongLong" "', argument "
"2"" of type '" "long long const *""'"); goto fail; } while(
0)
;
25213 }
25214 arg2 = reinterpret_cast< long long * >(argp2);
25215 {
25216 try {
25217 result = (GFitsImageLongLong *)new GFitsImageLongLong((int const &)*arg1,(long long const *)arg2);
25218 }
25219 catch (const GException::out_of_range& e) {
25220 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
25221 }
25222 catch (const GExceptionHandler& e) {
25223 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25224 }
25225 catch (const std::exception& e) {
25226 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25227 }
25228 }
25229 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageLongLong, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[13], (
(0x1 << 1) | 0x1) | 0)
;
25230 return resultobj;
25231fail:
25232 return NULL__null;
25233}
25234
25235
25236SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageLongLong__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25237 PyObject *resultobj = 0;
25238 int *arg1 = 0 ;
25239 int temp1 ;
25240 int val1 ;
25241 int ecode1 = 0 ;
25242 PyObject * obj0 = 0 ;
25243 GFitsImageLongLong *result = 0 ;
25244
25245 if (!PyArg_ParseTuple(args,(char *)"O:new_GFitsImageLongLong",&obj0)) SWIG_failgoto fail;
25246 ecode1 = SWIG_AsVal_int(obj0, &val1);
25247 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
25248 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageLongLong" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageLongLong"
"', argument " "1"" of type '" "int""'"); goto fail; } while
(0)
;
25249 }
25250 temp1 = static_cast< int >(val1);
25251 arg1 = &temp1;
25252 {
25253 try {
25254 result = (GFitsImageLongLong *)new GFitsImageLongLong((int const &)*arg1);
25255 }
25256 catch (const GException::out_of_range& e) {
25257 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
25258 }
25259 catch (const GExceptionHandler& e) {
25260 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25261 }
25262 catch (const std::exception& e) {
25263 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25264 }
25265 }
25266 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageLongLong, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[13], (
(0x1 << 1) | 0x1) | 0)
;
25267 return resultobj;
25268fail:
25269 return NULL__null;
25270}
25271
25272
25273SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageLongLong__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25274 PyObject *resultobj = 0;
25275 int *arg1 = 0 ;
25276 int *arg2 = 0 ;
25277 long long *arg3 = (long long *) 0 ;
25278 int temp1 ;
25279 int val1 ;
25280 int ecode1 = 0 ;
25281 int temp2 ;
25282 int val2 ;
25283 int ecode2 = 0 ;
25284 void *argp3 = 0 ;
25285 int res3 = 0 ;
25286 PyObject * obj0 = 0 ;
25287 PyObject * obj1 = 0 ;
25288 PyObject * obj2 = 0 ;
25289 GFitsImageLongLong *result = 0 ;
25290
25291 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GFitsImageLongLong",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
25292 ecode1 = SWIG_AsVal_int(obj0, &val1);
25293 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
25294 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageLongLong" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageLongLong"
"', argument " "1"" of type '" "int""'"); goto fail; } while
(0)
;
25295 }
25296 temp1 = static_cast< int >(val1);
25297 arg1 = &temp1;
25298 ecode2 = SWIG_AsVal_int(obj1, &val2);
25299 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
25300 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageLongLong" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageLongLong"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
25301 }
25302 temp2 = static_cast< int >(val2);
25303 arg2 = &temp2;
25304 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_long_long, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[43]
, 0 | 0, 0)
;
25305 if (!SWIG_IsOK(res3)(res3 >= 0)) {
25306 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_GFitsImageLongLong" "', argument " "3"" of type '" "long long const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "new_GFitsImageLongLong" "', argument "
"3"" of type '" "long long const *""'"); goto fail; } while(
0)
;
25307 }
25308 arg3 = reinterpret_cast< long long * >(argp3);
25309 {
25310 try {
25311 result = (GFitsImageLongLong *)new GFitsImageLongLong((int const &)*arg1,(int const &)*arg2,(long long const *)arg3);
25312 }
25313 catch (const GException::out_of_range& e) {
25314 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
25315 }
25316 catch (const GExceptionHandler& e) {
25317 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25318 }
25319 catch (const std::exception& e) {
25320 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25321 }
25322 }
25323 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageLongLong, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[13], (
(0x1 << 1) | 0x1) | 0)
;
25324 return resultobj;
25325fail:
25326 return NULL__null;
25327}
25328
25329
25330SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageLongLong__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25331 PyObject *resultobj = 0;
25332 int *arg1 = 0 ;
25333 int *arg2 = 0 ;
25334 int temp1 ;
25335 int val1 ;
25336 int ecode1 = 0 ;
25337 int temp2 ;
25338 int val2 ;
25339 int ecode2 = 0 ;
25340 PyObject * obj0 = 0 ;
25341 PyObject * obj1 = 0 ;
25342 GFitsImageLongLong *result = 0 ;
25343
25344 if (!PyArg_ParseTuple(args,(char *)"OO:new_GFitsImageLongLong",&obj0,&obj1)) SWIG_failgoto fail;
25345 ecode1 = SWIG_AsVal_int(obj0, &val1);
25346 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
25347 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageLongLong" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageLongLong"
"', argument " "1"" of type '" "int""'"); goto fail; } while
(0)
;
25348 }
25349 temp1 = static_cast< int >(val1);
25350 arg1 = &temp1;
25351 ecode2 = SWIG_AsVal_int(obj1, &val2);
25352 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
25353 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageLongLong" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageLongLong"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
25354 }
25355 temp2 = static_cast< int >(val2);
25356 arg2 = &temp2;
25357 {
25358 try {
25359 result = (GFitsImageLongLong *)new GFitsImageLongLong((int const &)*arg1,(int const &)*arg2);
25360 }
25361 catch (const GException::out_of_range& e) {
25362 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
25363 }
25364 catch (const GExceptionHandler& e) {
25365 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25366 }
25367 catch (const std::exception& e) {
25368 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25369 }
25370 }
25371 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageLongLong, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[13], (
(0x1 << 1) | 0x1) | 0)
;
25372 return resultobj;
25373fail:
25374 return NULL__null;
25375}
25376
25377
25378SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageLongLong__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25379 PyObject *resultobj = 0;
25380 int *arg1 = 0 ;
25381 int *arg2 = 0 ;
25382 int *arg3 = 0 ;
25383 long long *arg4 = (long long *) 0 ;
25384 int temp1 ;
25385 int val1 ;
25386 int ecode1 = 0 ;
25387 int temp2 ;
25388 int val2 ;
25389 int ecode2 = 0 ;
25390 int temp3 ;
25391 int val3 ;
25392 int ecode3 = 0 ;
25393 void *argp4 = 0 ;
25394 int res4 = 0 ;
25395 PyObject * obj0 = 0 ;
25396 PyObject * obj1 = 0 ;
25397 PyObject * obj2 = 0 ;
25398 PyObject * obj3 = 0 ;
25399 GFitsImageLongLong *result = 0 ;
25400
25401 if (!PyArg_ParseTuple(args,(char *)"OOOO:new_GFitsImageLongLong",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
25402 ecode1 = SWIG_AsVal_int(obj0, &val1);
25403 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
25404 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageLongLong" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageLongLong"
"', argument " "1"" of type '" "int""'"); goto fail; } while
(0)
;
25405 }
25406 temp1 = static_cast< int >(val1);
25407 arg1 = &temp1;
25408 ecode2 = SWIG_AsVal_int(obj1, &val2);
25409 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
25410 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageLongLong" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageLongLong"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
25411 }
25412 temp2 = static_cast< int >(val2);
25413 arg2 = &temp2;
25414 ecode3 = SWIG_AsVal_int(obj2, &val3);
25415 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
25416 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsImageLongLong" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsImageLongLong"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
25417 }
25418 temp3 = static_cast< int >(val3);
25419 arg3 = &temp3;
25420 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_long_long, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj3, &argp4, swig_types[43]
, 0 | 0, 0)
;
25421 if (!SWIG_IsOK(res4)(res4 >= 0)) {
25422 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_GFitsImageLongLong" "', argument " "4"" of type '" "long long const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res4 != (
-1)) ? res4 : -5)), "in method '" "new_GFitsImageLongLong" "', argument "
"4"" of type '" "long long const *""'"); goto fail; } while(
0)
;
25423 }
25424 arg4 = reinterpret_cast< long long * >(argp4);
25425 {
25426 try {
25427 result = (GFitsImageLongLong *)new GFitsImageLongLong((int const &)*arg1,(int const &)*arg2,(int const &)*arg3,(long long const *)arg4);
25428 }
25429 catch (const GException::out_of_range& e) {
25430 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
25431 }
25432 catch (const GExceptionHandler& e) {
25433 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25434 }
25435 catch (const std::exception& e) {
25436 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25437 }
25438 }
25439 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageLongLong, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[13], (
(0x1 << 1) | 0x1) | 0)
;
25440 return resultobj;
25441fail:
25442 return NULL__null;
25443}
25444
25445
25446SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageLongLong__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25447 PyObject *resultobj = 0;
25448 int *arg1 = 0 ;
25449 int *arg2 = 0 ;
25450 int *arg3 = 0 ;
25451 int temp1 ;
25452 int val1 ;
25453 int ecode1 = 0 ;
25454 int temp2 ;
25455 int val2 ;
25456 int ecode2 = 0 ;
25457 int temp3 ;
25458 int val3 ;
25459 int ecode3 = 0 ;
25460 PyObject * obj0 = 0 ;
25461 PyObject * obj1 = 0 ;
25462 PyObject * obj2 = 0 ;
25463 GFitsImageLongLong *result = 0 ;
25464
25465 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GFitsImageLongLong",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
25466 ecode1 = SWIG_AsVal_int(obj0, &val1);
25467 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
25468 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageLongLong" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageLongLong"
"', argument " "1"" of type '" "int""'"); goto fail; } while
(0)
;
25469 }
25470 temp1 = static_cast< int >(val1);
25471 arg1 = &temp1;
25472 ecode2 = SWIG_AsVal_int(obj1, &val2);
25473 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
25474 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageLongLong" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageLongLong"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
25475 }
25476 temp2 = static_cast< int >(val2);
25477 arg2 = &temp2;
25478 ecode3 = SWIG_AsVal_int(obj2, &val3);
25479 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
25480 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsImageLongLong" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsImageLongLong"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
25481 }
25482 temp3 = static_cast< int >(val3);
25483 arg3 = &temp3;
25484 {
25485 try {
25486 result = (GFitsImageLongLong *)new GFitsImageLongLong((int const &)*arg1,(int const &)*arg2,(int const &)*arg3);
25487 }
25488 catch (const GException::out_of_range& e) {
25489 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
25490 }
25491 catch (const GExceptionHandler& e) {
25492 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25493 }
25494 catch (const std::exception& e) {
25495 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25496 }
25497 }
25498 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageLongLong, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[13], (
(0x1 << 1) | 0x1) | 0)
;
25499 return resultobj;
25500fail:
25501 return NULL__null;
25502}
25503
25504
25505SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageLongLong__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25506 PyObject *resultobj = 0;
25507 int *arg1 = 0 ;
25508 int *arg2 = 0 ;
25509 int *arg3 = 0 ;
25510 int *arg4 = 0 ;
25511 long long *arg5 = (long long *) 0 ;
25512 int temp1 ;
25513 int val1 ;
25514 int ecode1 = 0 ;
25515 int temp2 ;
25516 int val2 ;
25517 int ecode2 = 0 ;
25518 int temp3 ;
25519 int val3 ;
25520 int ecode3 = 0 ;
25521 int temp4 ;
25522 int val4 ;
25523 int ecode4 = 0 ;
25524 void *argp5 = 0 ;
25525 int res5 = 0 ;
25526 PyObject * obj0 = 0 ;
25527 PyObject * obj1 = 0 ;
25528 PyObject * obj2 = 0 ;
25529 PyObject * obj3 = 0 ;
25530 PyObject * obj4 = 0 ;
25531 GFitsImageLongLong *result = 0 ;
25532
25533 if (!PyArg_ParseTuple(args,(char *)"OOOOO:new_GFitsImageLongLong",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_failgoto fail;
25534 ecode1 = SWIG_AsVal_int(obj0, &val1);
25535 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
25536 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageLongLong" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageLongLong"
"', argument " "1"" of type '" "int""'"); goto fail; } while
(0)
;
25537 }
25538 temp1 = static_cast< int >(val1);
25539 arg1 = &temp1;
25540 ecode2 = SWIG_AsVal_int(obj1, &val2);
25541 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
25542 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageLongLong" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageLongLong"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
25543 }
25544 temp2 = static_cast< int >(val2);
25545 arg2 = &temp2;
25546 ecode3 = SWIG_AsVal_int(obj2, &val3);
25547 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
25548 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsImageLongLong" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsImageLongLong"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
25549 }
25550 temp3 = static_cast< int >(val3);
25551 arg3 = &temp3;
25552 ecode4 = SWIG_AsVal_int(obj3, &val4);
25553 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
25554 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_GFitsImageLongLong" "', argument " "4"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "new_GFitsImageLongLong"
"', argument " "4"" of type '" "int""'"); goto fail; } while
(0)
;
25555 }
25556 temp4 = static_cast< int >(val4);
25557 arg4 = &temp4;
25558 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_long_long, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj4, &argp5, swig_types[43]
, 0 | 0, 0)
;
25559 if (!SWIG_IsOK(res5)(res5 >= 0)) {
25560 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_GFitsImageLongLong" "', argument " "5"" of type '" "long long const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res5 != (
-1)) ? res5 : -5)), "in method '" "new_GFitsImageLongLong" "', argument "
"5"" of type '" "long long const *""'"); goto fail; } while(
0)
;
25561 }
25562 arg5 = reinterpret_cast< long long * >(argp5);
25563 {
25564 try {
25565 result = (GFitsImageLongLong *)new GFitsImageLongLong((int const &)*arg1,(int const &)*arg2,(int const &)*arg3,(int const &)*arg4,(long long const *)arg5);
25566 }
25567 catch (const GException::out_of_range& e) {
25568 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
25569 }
25570 catch (const GExceptionHandler& e) {
25571 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25572 }
25573 catch (const std::exception& e) {
25574 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25575 }
25576 }
25577 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageLongLong, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[13], (
(0x1 << 1) | 0x1) | 0)
;
25578 return resultobj;
25579fail:
25580 return NULL__null;
25581}
25582
25583
25584SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageLongLong__SWIG_8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25585 PyObject *resultobj = 0;
25586 int *arg1 = 0 ;
25587 int *arg2 = 0 ;
25588 int *arg3 = 0 ;
25589 int *arg4 = 0 ;
25590 int temp1 ;
25591 int val1 ;
25592 int ecode1 = 0 ;
25593 int temp2 ;
25594 int val2 ;
25595 int ecode2 = 0 ;
25596 int temp3 ;
25597 int val3 ;
25598 int ecode3 = 0 ;
25599 int temp4 ;
25600 int val4 ;
25601 int ecode4 = 0 ;
25602 PyObject * obj0 = 0 ;
25603 PyObject * obj1 = 0 ;
25604 PyObject * obj2 = 0 ;
25605 PyObject * obj3 = 0 ;
25606 GFitsImageLongLong *result = 0 ;
25607
25608 if (!PyArg_ParseTuple(args,(char *)"OOOO:new_GFitsImageLongLong",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
25609 ecode1 = SWIG_AsVal_int(obj0, &val1);
25610 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
25611 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageLongLong" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageLongLong"
"', argument " "1"" of type '" "int""'"); goto fail; } while
(0)
;
25612 }
25613 temp1 = static_cast< int >(val1);
25614 arg1 = &temp1;
25615 ecode2 = SWIG_AsVal_int(obj1, &val2);
25616 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
25617 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageLongLong" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageLongLong"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
25618 }
25619 temp2 = static_cast< int >(val2);
25620 arg2 = &temp2;
25621 ecode3 = SWIG_AsVal_int(obj2, &val3);
25622 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
25623 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsImageLongLong" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsImageLongLong"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
25624 }
25625 temp3 = static_cast< int >(val3);
25626 arg3 = &temp3;
25627 ecode4 = SWIG_AsVal_int(obj3, &val4);
25628 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
25629 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_GFitsImageLongLong" "', argument " "4"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "new_GFitsImageLongLong"
"', argument " "4"" of type '" "int""'"); goto fail; } while
(0)
;
25630 }
25631 temp4 = static_cast< int >(val4);
25632 arg4 = &temp4;
25633 {
25634 try {
25635 result = (GFitsImageLongLong *)new GFitsImageLongLong((int const &)*arg1,(int const &)*arg2,(int const &)*arg3,(int const &)*arg4);
25636 }
25637 catch (const GException::out_of_range& e) {
25638 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
25639 }
25640 catch (const GExceptionHandler& e) {
25641 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25642 }
25643 catch (const std::exception& e) {
25644 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25645 }
25646 }
25647 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageLongLong, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[13], (
(0x1 << 1) | 0x1) | 0)
;
25648 return resultobj;
25649fail:
25650 return NULL__null;
25651}
25652
25653
25654SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageLongLong__SWIG_9(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25655 PyObject *resultobj = 0;
25656 int *arg1 = 0 ;
25657 int *arg2 = (int *) 0 ;
25658 long long *arg3 = (long long *) 0 ;
25659 int temp1 ;
25660 int val1 ;
25661 int ecode1 = 0 ;
25662 void *argp2 = 0 ;
25663 int res2 = 0 ;
25664 void *argp3 = 0 ;
25665 int res3 = 0 ;
25666 PyObject * obj0 = 0 ;
25667 PyObject * obj1 = 0 ;
25668 PyObject * obj2 = 0 ;
25669 GFitsImageLongLong *result = 0 ;
25670
25671 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GFitsImageLongLong",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
25672 ecode1 = SWIG_AsVal_int(obj0, &val1);
25673 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
25674 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageLongLong" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageLongLong"
"', argument " "1"" of type '" "int""'"); goto fail; } while
(0)
;
25675 }
25676 temp1 = static_cast< int >(val1);
25677 arg1 = &temp1;
25678 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[41]
, 0 | 0, 0)
;
25679 if (!SWIG_IsOK(res2)(res2 >= 0)) {
25680 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_GFitsImageLongLong" "', argument " "2"" of type '" "int const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "new_GFitsImageLongLong" "', argument "
"2"" of type '" "int const *""'"); goto fail; } while(0)
;
25681 }
25682 arg2 = reinterpret_cast< int * >(argp2);
25683 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_long_long, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[43]
, 0 | 0, 0)
;
25684 if (!SWIG_IsOK(res3)(res3 >= 0)) {
25685 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_GFitsImageLongLong" "', argument " "3"" of type '" "long long const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "new_GFitsImageLongLong" "', argument "
"3"" of type '" "long long const *""'"); goto fail; } while(
0)
;
25686 }
25687 arg3 = reinterpret_cast< long long * >(argp3);
25688 {
25689 try {
25690 result = (GFitsImageLongLong *)new GFitsImageLongLong((int const &)*arg1,(int const *)arg2,(long long const *)arg3);
25691 }
25692 catch (const GException::out_of_range& e) {
25693 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
25694 }
25695 catch (const GExceptionHandler& e) {
25696 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25697 }
25698 catch (const std::exception& e) {
25699 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25700 }
25701 }
25702 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageLongLong, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[13], (
(0x1 << 1) | 0x1) | 0)
;
25703 return resultobj;
25704fail:
25705 return NULL__null;
25706}
25707
25708
25709SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageLongLong__SWIG_10(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25710 PyObject *resultobj = 0;
25711 int *arg1 = 0 ;
25712 int *arg2 = (int *) 0 ;
25713 int temp1 ;
25714 int val1 ;
25715 int ecode1 = 0 ;
25716 void *argp2 = 0 ;
25717 int res2 = 0 ;
25718 PyObject * obj0 = 0 ;
25719 PyObject * obj1 = 0 ;
25720 GFitsImageLongLong *result = 0 ;
25721
25722 if (!PyArg_ParseTuple(args,(char *)"OO:new_GFitsImageLongLong",&obj0,&obj1)) SWIG_failgoto fail;
25723 ecode1 = SWIG_AsVal_int(obj0, &val1);
25724 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
25725 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageLongLong" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageLongLong"
"', argument " "1"" of type '" "int""'"); goto fail; } while
(0)
;
25726 }
25727 temp1 = static_cast< int >(val1);
25728 arg1 = &temp1;
25729 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[41]
, 0 | 0, 0)
;
25730 if (!SWIG_IsOK(res2)(res2 >= 0)) {
25731 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_GFitsImageLongLong" "', argument " "2"" of type '" "int const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "new_GFitsImageLongLong" "', argument "
"2"" of type '" "int const *""'"); goto fail; } while(0)
;
25732 }
25733 arg2 = reinterpret_cast< int * >(argp2);
25734 {
25735 try {
25736 result = (GFitsImageLongLong *)new GFitsImageLongLong((int const &)*arg1,(int const *)arg2);
25737 }
25738 catch (const GException::out_of_range& e) {
25739 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
25740 }
25741 catch (const GExceptionHandler& e) {
25742 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25743 }
25744 catch (const std::exception& e) {
25745 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25746 }
25747 }
25748 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageLongLong, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[13], (
(0x1 << 1) | 0x1) | 0)
;
25749 return resultobj;
25750fail:
25751 return NULL__null;
25752}
25753
25754
25755SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageLongLong__SWIG_11(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25756 PyObject *resultobj = 0;
25757 GFitsImageLongLong *arg1 = 0 ;
25758 void *argp1 = 0 ;
25759 int res1 = 0 ;
25760 PyObject * obj0 = 0 ;
25761 GFitsImageLongLong *result = 0 ;
25762
25763 if (!PyArg_ParseTuple(args,(char *)"O:new_GFitsImageLongLong",&obj0)) SWIG_failgoto fail;
25764 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GFitsImageLongLong, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[13]
, 0 | 0, 0)
;
25765 if (!SWIG_IsOK(res1)(res1 >= 0)) {
25766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsImageLongLong" "', argument " "1"" of type '" "GFitsImageLongLong const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsImageLongLong" "', argument "
"1"" of type '" "GFitsImageLongLong const &""'"); goto fail
; } while(0)
;
25767 }
25768 if (!argp1) {
25769 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsImageLongLong" "', argument " "1"" of type '" "GFitsImageLongLong const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsImageLongLong" "', argument " "1"" of type '"
"GFitsImageLongLong const &""'"); goto fail; } while(0)
;
25770 }
25771 arg1 = reinterpret_cast< GFitsImageLongLong * >(argp1);
25772 {
25773 try {
25774 result = (GFitsImageLongLong *)new GFitsImageLongLong((GFitsImageLongLong const &)*arg1);
25775 }
25776 catch (const GException::out_of_range& e) {
25777 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
25778 }
25779 catch (const GExceptionHandler& e) {
25780 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25781 }
25782 catch (const std::exception& e) {
25783 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
25784 }
25785 }
25786 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageLongLong, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[13], (
(0x1 << 1) | 0x1) | 0)
;
25787 return resultobj;
25788fail:
25789 return NULL__null;
25790}
25791
25792
25793SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageLongLong(PyObject *self, PyObject *args) {
25794 int argc;
25795 PyObject *argv[6];
25796 int ii;
25797
25798 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
25799 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
25800 for (ii = 0; (ii < 5) && (ii < argc); ii++) {
25801 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
25802 }
25803 if (argc == 0) {
25804 return _wrap_new_GFitsImageLongLong__SWIG_0(self, args);
25805 }
25806 if (argc == 1) {
25807 int _v;
25808 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GFitsImageLongLong, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[13], 0, 0
)
;
25809 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25810 if (_v) {
25811 return _wrap_new_GFitsImageLongLong__SWIG_11(self, args);
25812 }
25813 }
25814 if (argc == 1) {
25815 int _v;
25816 {
25817 int res = SWIG_AsVal_int(argv[0], NULL__null);
25818 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25819 }
25820 if (_v) {
25821 return _wrap_new_GFitsImageLongLong__SWIG_2(self, args);
25822 }
25823 }
25824 if (argc == 2) {
25825 int _v;
25826 {
25827 int res = SWIG_AsVal_int(argv[0], NULL__null);
25828 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25829 }
25830 if (_v) {
25831 void *vptr = 0;
25832 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[41
], 0, 0)
;
25833 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25834 if (_v) {
25835 return _wrap_new_GFitsImageLongLong__SWIG_10(self, args);
25836 }
25837 }
25838 }
25839 if (argc == 2) {
25840 int _v;
25841 {
25842 int res = SWIG_AsVal_int(argv[0], NULL__null);
25843 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25844 }
25845 if (_v) {
25846 void *vptr = 0;
25847 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_long_long, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[43
], 0, 0)
;
25848 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25849 if (_v) {
25850 return _wrap_new_GFitsImageLongLong__SWIG_1(self, args);
25851 }
25852 }
25853 }
25854 if (argc == 2) {
25855 int _v;
25856 {
25857 int res = SWIG_AsVal_int(argv[0], NULL__null);
25858 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25859 }
25860 if (_v) {
25861 {
25862 int res = SWIG_AsVal_int(argv[1], NULL__null);
25863 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25864 }
25865 if (_v) {
25866 return _wrap_new_GFitsImageLongLong__SWIG_4(self, args);
25867 }
25868 }
25869 }
25870 if (argc == 3) {
25871 int _v;
25872 {
25873 int res = SWIG_AsVal_int(argv[0], NULL__null);
25874 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25875 }
25876 if (_v) {
25877 void *vptr = 0;
25878 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[41
], 0, 0)
;
25879 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25880 if (_v) {
25881 void *vptr = 0;
25882 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_long_long, 0)SWIG_Python_ConvertPtrAndOwn(argv[2], &vptr, swig_types[43
], 0, 0)
;
25883 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25884 if (_v) {
25885 return _wrap_new_GFitsImageLongLong__SWIG_9(self, args);
25886 }
25887 }
25888 }
25889 }
25890 if (argc == 3) {
25891 int _v;
25892 {
25893 int res = SWIG_AsVal_int(argv[0], NULL__null);
25894 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25895 }
25896 if (_v) {
25897 {
25898 int res = SWIG_AsVal_int(argv[1], NULL__null);
25899 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25900 }
25901 if (_v) {
25902 void *vptr = 0;
25903 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_long_long, 0)SWIG_Python_ConvertPtrAndOwn(argv[2], &vptr, swig_types[43
], 0, 0)
;
25904 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25905 if (_v) {
25906 return _wrap_new_GFitsImageLongLong__SWIG_3(self, args);
25907 }
25908 }
25909 }
25910 }
25911 if (argc == 3) {
25912 int _v;
25913 {
25914 int res = SWIG_AsVal_int(argv[0], NULL__null);
25915 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25916 }
25917 if (_v) {
25918 {
25919 int res = SWIG_AsVal_int(argv[1], NULL__null);
25920 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25921 }
25922 if (_v) {
25923 {
25924 int res = SWIG_AsVal_int(argv[2], NULL__null);
25925 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25926 }
25927 if (_v) {
25928 return _wrap_new_GFitsImageLongLong__SWIG_6(self, args);
25929 }
25930 }
25931 }
25932 }
25933 if (argc == 4) {
25934 int _v;
25935 {
25936 int res = SWIG_AsVal_int(argv[0], NULL__null);
25937 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25938 }
25939 if (_v) {
25940 {
25941 int res = SWIG_AsVal_int(argv[1], NULL__null);
25942 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25943 }
25944 if (_v) {
25945 {
25946 int res = SWIG_AsVal_int(argv[2], NULL__null);
25947 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25948 }
25949 if (_v) {
25950 void *vptr = 0;
25951 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_long_long, 0)SWIG_Python_ConvertPtrAndOwn(argv[3], &vptr, swig_types[43
], 0, 0)
;
25952 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25953 if (_v) {
25954 return _wrap_new_GFitsImageLongLong__SWIG_5(self, args);
25955 }
25956 }
25957 }
25958 }
25959 }
25960 if (argc == 4) {
25961 int _v;
25962 {
25963 int res = SWIG_AsVal_int(argv[0], NULL__null);
25964 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25965 }
25966 if (_v) {
25967 {
25968 int res = SWIG_AsVal_int(argv[1], NULL__null);
25969 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25970 }
25971 if (_v) {
25972 {
25973 int res = SWIG_AsVal_int(argv[2], NULL__null);
25974 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25975 }
25976 if (_v) {
25977 {
25978 int res = SWIG_AsVal_int(argv[3], NULL__null);
25979 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25980 }
25981 if (_v) {
25982 return _wrap_new_GFitsImageLongLong__SWIG_8(self, args);
25983 }
25984 }
25985 }
25986 }
25987 }
25988 if (argc == 5) {
25989 int _v;
25990 {
25991 int res = SWIG_AsVal_int(argv[0], NULL__null);
25992 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25993 }
25994 if (_v) {
25995 {
25996 int res = SWIG_AsVal_int(argv[1], NULL__null);
25997 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
25998 }
25999 if (_v) {
26000 {
26001 int res = SWIG_AsVal_int(argv[2], NULL__null);
26002 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26003 }
26004 if (_v) {
26005 {
26006 int res = SWIG_AsVal_int(argv[3], NULL__null);
26007 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26008 }
26009 if (_v) {
26010 void *vptr = 0;
26011 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_long_long, 0)SWIG_Python_ConvertPtrAndOwn(argv[4], &vptr, swig_types[43
], 0, 0)
;
26012 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26013 if (_v) {
26014 return _wrap_new_GFitsImageLongLong__SWIG_7(self, args);
26015 }
26016 }
26017 }
26018 }
26019 }
26020 }
26021
26022fail:
26023 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GFitsImageLongLong'.\n"
26024 " Possible C/C++ prototypes are:\n"
26025 " GFitsImageLongLong::GFitsImageLongLong()\n"
26026 " GFitsImageLongLong::GFitsImageLongLong(int const &,long long const *)\n"
26027 " GFitsImageLongLong::GFitsImageLongLong(int const &)\n"
26028 " GFitsImageLongLong::GFitsImageLongLong(int const &,int const &,long long const *)\n"
26029 " GFitsImageLongLong::GFitsImageLongLong(int const &,int const &)\n"
26030 " GFitsImageLongLong::GFitsImageLongLong(int const &,int const &,int const &,long long const *)\n"
26031 " GFitsImageLongLong::GFitsImageLongLong(int const &,int const &,int const &)\n"
26032 " GFitsImageLongLong::GFitsImageLongLong(int const &,int const &,int const &,int const &,long long const *)\n"
26033 " GFitsImageLongLong::GFitsImageLongLong(int const &,int const &,int const &,int const &)\n"
26034 " GFitsImageLongLong::GFitsImageLongLong(int const &,int const *,long long const *)\n"
26035 " GFitsImageLongLong::GFitsImageLongLong(int const &,int const *)\n"
26036 " GFitsImageLongLong::GFitsImageLongLong(GFitsImageLongLong const &)\n");
26037 return 0;
26038}
26039
26040
26041SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GFitsImageLongLong(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26042 PyObject *resultobj = 0;
26043 GFitsImageLongLong *arg1 = (GFitsImageLongLong *) 0 ;
26044 void *argp1 = 0 ;
26045 int res1 = 0 ;
26046 PyObject * obj0 = 0 ;
26047
26048 if (!PyArg_ParseTuple(args,(char *)"O:delete_GFitsImageLongLong",&obj0)) SWIG_failgoto fail;
26049 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageLongLong, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[13]
, 0x1 | 0, 0)
;
26050 if (!SWIG_IsOK(res1)(res1 >= 0)) {
26051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GFitsImageLongLong" "', argument " "1"" of type '" "GFitsImageLongLong *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GFitsImageLongLong"
"', argument " "1"" of type '" "GFitsImageLongLong *""'"); goto
fail; } while(0)
;
26052 }
26053 arg1 = reinterpret_cast< GFitsImageLongLong * >(argp1);
26054 {
26055 try {
26056 delete arg1;
26057 }
26058 catch (const GException::out_of_range& e) {
26059 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
26060 }
26061 catch (const GExceptionHandler& e) {
26062 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26063 }
26064 catch (const std::exception& e) {
26065 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26066 }
26067 }
26068 resultobj = SWIG_Py_Void();
26069 return resultobj;
26070fail:
26071 return NULL__null;
26072}
26073
26074
26075SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageLongLong_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26076 PyObject *resultobj = 0;
26077 GFitsImageLongLong *arg1 = (GFitsImageLongLong *) 0 ;
26078 void *argp1 = 0 ;
26079 int res1 = 0 ;
26080 PyObject * obj0 = 0 ;
26081
26082 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageLongLong_clear",&obj0)) SWIG_failgoto fail;
26083 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageLongLong, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[13]
, 0 | 0, 0)
;
26084 if (!SWIG_IsOK(res1)(res1 >= 0)) {
26085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageLongLong_clear" "', argument " "1"" of type '" "GFitsImageLongLong *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageLongLong_clear" "', argument "
"1"" of type '" "GFitsImageLongLong *""'"); goto fail; } while
(0)
;
26086 }
26087 arg1 = reinterpret_cast< GFitsImageLongLong * >(argp1);
26088 {
26089 try {
26090 (arg1)->clear();
26091 }
26092 catch (const GException::out_of_range& e) {
26093 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
26094 }
26095 catch (const GExceptionHandler& e) {
26096 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26097 }
26098 catch (const std::exception& e) {
26099 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26100 }
26101 }
26102 resultobj = SWIG_Py_Void();
26103 return resultobj;
26104fail:
26105 return NULL__null;
26106}
26107
26108
26109SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageLongLong_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26110 PyObject *resultobj = 0;
26111 GFitsImageLongLong *arg1 = (GFitsImageLongLong *) 0 ;
26112 void *argp1 = 0 ;
26113 int res1 = 0 ;
26114 PyObject * obj0 = 0 ;
26115 GFitsImageLongLong *result = 0 ;
26116
26117 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageLongLong_clone",&obj0)) SWIG_failgoto fail;
26118 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageLongLong, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[13]
, 0 | 0, 0)
;
26119 if (!SWIG_IsOK(res1)(res1 >= 0)) {
26120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageLongLong_clone" "', argument " "1"" of type '" "GFitsImageLongLong const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageLongLong_clone" "', argument "
"1"" of type '" "GFitsImageLongLong const *""'"); goto fail;
} while(0)
;
26121 }
26122 arg1 = reinterpret_cast< GFitsImageLongLong * >(argp1);
26123 {
26124 try {
26125 result = (GFitsImageLongLong *)((GFitsImageLongLong const *)arg1)->clone();
26126 }
26127 catch (const GException::out_of_range& e) {
26128 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
26129 }
26130 catch (const GExceptionHandler& e) {
26131 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26132 }
26133 catch (const std::exception& e) {
26134 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26135 }
26136 }
26137 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageLongLong, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[13], 0
| 0)
;
26138 return resultobj;
26139fail:
26140 return NULL__null;
26141}
26142
26143
26144SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageLongLong_pixel__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26145 PyObject *resultobj = 0;
26146 GFitsImageLongLong *arg1 = (GFitsImageLongLong *) 0 ;
26147 int *arg2 = 0 ;
26148 void *argp1 = 0 ;
26149 int res1 = 0 ;
26150 int temp2 ;
26151 int val2 ;
26152 int ecode2 = 0 ;
26153 PyObject * obj0 = 0 ;
26154 PyObject * obj1 = 0 ;
26155 double result;
26156
26157 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsImageLongLong_pixel",&obj0,&obj1)) SWIG_failgoto fail;
26158 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageLongLong, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[13]
, 0 | 0, 0)
;
26159 if (!SWIG_IsOK(res1)(res1 >= 0)) {
26160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageLongLong_pixel" "', argument " "1"" of type '" "GFitsImageLongLong const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageLongLong_pixel" "', argument "
"1"" of type '" "GFitsImageLongLong const *""'"); goto fail;
} while(0)
;
26161 }
26162 arg1 = reinterpret_cast< GFitsImageLongLong * >(argp1);
26163 ecode2 = SWIG_AsVal_int(obj1, &val2);
26164 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
26165 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsImageLongLong_pixel" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsImageLongLong_pixel"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
26166 }
26167 temp2 = static_cast< int >(val2);
26168 arg2 = &temp2;
26169 {
26170 try {
26171 result = (double)((GFitsImageLongLong const *)arg1)->pixel((int const &)*arg2);
26172 }
26173 catch (const GException::out_of_range& e) {
26174 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
26175 }
26176 catch (const GExceptionHandler& e) {
26177 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26178 }
26179 catch (const std::exception& e) {
26180 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26181 }
26182 }
26183 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
26184 return resultobj;
26185fail:
26186 return NULL__null;
26187}
26188
26189
26190SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageLongLong_pixel__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26191 PyObject *resultobj = 0;
26192 GFitsImageLongLong *arg1 = (GFitsImageLongLong *) 0 ;
26193 int *arg2 = 0 ;
26194 int *arg3 = 0 ;
26195 void *argp1 = 0 ;
26196 int res1 = 0 ;
26197 int temp2 ;
26198 int val2 ;
26199 int ecode2 = 0 ;
26200 int temp3 ;
26201 int val3 ;
26202 int ecode3 = 0 ;
26203 PyObject * obj0 = 0 ;
26204 PyObject * obj1 = 0 ;
26205 PyObject * obj2 = 0 ;
26206 double result;
26207
26208 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsImageLongLong_pixel",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
26209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageLongLong, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[13]
, 0 | 0, 0)
;
26210 if (!SWIG_IsOK(res1)(res1 >= 0)) {
26211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageLongLong_pixel" "', argument " "1"" of type '" "GFitsImageLongLong const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageLongLong_pixel" "', argument "
"1"" of type '" "GFitsImageLongLong const *""'"); goto fail;
} while(0)
;
26212 }
26213 arg1 = reinterpret_cast< GFitsImageLongLong * >(argp1);
26214 ecode2 = SWIG_AsVal_int(obj1, &val2);
26215 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
26216 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsImageLongLong_pixel" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsImageLongLong_pixel"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
26217 }
26218 temp2 = static_cast< int >(val2);
26219 arg2 = &temp2;
26220 ecode3 = SWIG_AsVal_int(obj2, &val3);
26221 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
26222 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsImageLongLong_pixel" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsImageLongLong_pixel"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
26223 }
26224 temp3 = static_cast< int >(val3);
26225 arg3 = &temp3;
26226 {
26227 try {
26228 result = (double)((GFitsImageLongLong const *)arg1)->pixel((int const &)*arg2,(int const &)*arg3);
26229 }
26230 catch (const GException::out_of_range& e) {
26231 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
26232 }
26233 catch (const GExceptionHandler& e) {
26234 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26235 }
26236 catch (const std::exception& e) {
26237 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26238 }
26239 }
26240 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
26241 return resultobj;
26242fail:
26243 return NULL__null;
26244}
26245
26246
26247SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageLongLong_pixel__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26248 PyObject *resultobj = 0;
26249 GFitsImageLongLong *arg1 = (GFitsImageLongLong *) 0 ;
26250 int *arg2 = 0 ;
26251 int *arg3 = 0 ;
26252 int *arg4 = 0 ;
26253 void *argp1 = 0 ;
26254 int res1 = 0 ;
26255 int temp2 ;
26256 int val2 ;
26257 int ecode2 = 0 ;
26258 int temp3 ;
26259 int val3 ;
26260 int ecode3 = 0 ;
26261 int temp4 ;
26262 int val4 ;
26263 int ecode4 = 0 ;
26264 PyObject * obj0 = 0 ;
26265 PyObject * obj1 = 0 ;
26266 PyObject * obj2 = 0 ;
26267 PyObject * obj3 = 0 ;
26268 double result;
26269
26270 if (!PyArg_ParseTuple(args,(char *)"OOOO:GFitsImageLongLong_pixel",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
26271 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageLongLong, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[13]
, 0 | 0, 0)
;
26272 if (!SWIG_IsOK(res1)(res1 >= 0)) {
26273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageLongLong_pixel" "', argument " "1"" of type '" "GFitsImageLongLong const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageLongLong_pixel" "', argument "
"1"" of type '" "GFitsImageLongLong const *""'"); goto fail;
} while(0)
;
26274 }
26275 arg1 = reinterpret_cast< GFitsImageLongLong * >(argp1);
26276 ecode2 = SWIG_AsVal_int(obj1, &val2);
26277 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
26278 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsImageLongLong_pixel" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsImageLongLong_pixel"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
26279 }
26280 temp2 = static_cast< int >(val2);
26281 arg2 = &temp2;
26282 ecode3 = SWIG_AsVal_int(obj2, &val3);
26283 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
26284 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsImageLongLong_pixel" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsImageLongLong_pixel"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
26285 }
26286 temp3 = static_cast< int >(val3);
26287 arg3 = &temp3;
26288 ecode4 = SWIG_AsVal_int(obj3, &val4);
26289 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
26290 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GFitsImageLongLong_pixel" "', argument " "4"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GFitsImageLongLong_pixel"
"', argument " "4"" of type '" "int""'"); goto fail; } while
(0)
;
26291 }
26292 temp4 = static_cast< int >(val4);
26293 arg4 = &temp4;
26294 {
26295 try {
26296 result = (double)((GFitsImageLongLong const *)arg1)->pixel((int const &)*arg2,(int const &)*arg3,(int const &)*arg4);
26297 }
26298 catch (const GException::out_of_range& e) {
26299 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
26300 }
26301 catch (const GExceptionHandler& e) {
26302 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26303 }
26304 catch (const std::exception& e) {
26305 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26306 }
26307 }
26308 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
26309 return resultobj;
26310fail:
26311 return NULL__null;
26312}
26313
26314
26315SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageLongLong_pixel__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26316 PyObject *resultobj = 0;
26317 GFitsImageLongLong *arg1 = (GFitsImageLongLong *) 0 ;
26318 int *arg2 = 0 ;
26319 int *arg3 = 0 ;
26320 int *arg4 = 0 ;
26321 int *arg5 = 0 ;
26322 void *argp1 = 0 ;
26323 int res1 = 0 ;
26324 int temp2 ;
26325 int val2 ;
26326 int ecode2 = 0 ;
26327 int temp3 ;
26328 int val3 ;
26329 int ecode3 = 0 ;
26330 int temp4 ;
26331 int val4 ;
26332 int ecode4 = 0 ;
26333 int temp5 ;
26334 int val5 ;
26335 int ecode5 = 0 ;
26336 PyObject * obj0 = 0 ;
26337 PyObject * obj1 = 0 ;
26338 PyObject * obj2 = 0 ;
26339 PyObject * obj3 = 0 ;
26340 PyObject * obj4 = 0 ;
26341 double result;
26342
26343 if (!PyArg_ParseTuple(args,(char *)"OOOOO:GFitsImageLongLong_pixel",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_failgoto fail;
26344 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageLongLong, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[13]
, 0 | 0, 0)
;
26345 if (!SWIG_IsOK(res1)(res1 >= 0)) {
26346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageLongLong_pixel" "', argument " "1"" of type '" "GFitsImageLongLong const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageLongLong_pixel" "', argument "
"1"" of type '" "GFitsImageLongLong const *""'"); goto fail;
} while(0)
;
26347 }
26348 arg1 = reinterpret_cast< GFitsImageLongLong * >(argp1);
26349 ecode2 = SWIG_AsVal_int(obj1, &val2);
26350 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
26351 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsImageLongLong_pixel" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsImageLongLong_pixel"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
26352 }
26353 temp2 = static_cast< int >(val2);
26354 arg2 = &temp2;
26355 ecode3 = SWIG_AsVal_int(obj2, &val3);
26356 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
26357 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsImageLongLong_pixel" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsImageLongLong_pixel"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
26358 }
26359 temp3 = static_cast< int >(val3);
26360 arg3 = &temp3;
26361 ecode4 = SWIG_AsVal_int(obj3, &val4);
26362 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
26363 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GFitsImageLongLong_pixel" "', argument " "4"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GFitsImageLongLong_pixel"
"', argument " "4"" of type '" "int""'"); goto fail; } while
(0)
;
26364 }
26365 temp4 = static_cast< int >(val4);
26366 arg4 = &temp4;
26367 ecode5 = SWIG_AsVal_int(obj4, &val5);
26368 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
26369 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GFitsImageLongLong_pixel" "', argument " "5"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GFitsImageLongLong_pixel"
"', argument " "5"" of type '" "int""'"); goto fail; } while
(0)
;
26370 }
26371 temp5 = static_cast< int >(val5);
26372 arg5 = &temp5;
26373 {
26374 try {
26375 result = (double)((GFitsImageLongLong const *)arg1)->pixel((int const &)*arg2,(int const &)*arg3,(int const &)*arg4,(int const &)*arg5);
26376 }
26377 catch (const GException::out_of_range& e) {
26378 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
26379 }
26380 catch (const GExceptionHandler& e) {
26381 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26382 }
26383 catch (const std::exception& e) {
26384 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26385 }
26386 }
26387 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
26388 return resultobj;
26389fail:
26390 return NULL__null;
26391}
26392
26393
26394SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageLongLong_pixel(PyObject *self, PyObject *args) {
26395 int argc;
26396 PyObject *argv[6];
26397 int ii;
26398
26399 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
26400 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
26401 for (ii = 0; (ii < 5) && (ii < argc); ii++) {
26402 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
26403 }
26404 if (argc == 2) {
26405 int _v;
26406 void *vptr = 0;
26407 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsImageLongLong, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[13
], 0, 0)
;
26408 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26409 if (_v) {
26410 {
26411 int res = SWIG_AsVal_int(argv[1], NULL__null);
26412 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26413 }
26414 if (_v) {
26415 return _wrap_GFitsImageLongLong_pixel__SWIG_0(self, args);
26416 }
26417 }
26418 }
26419 if (argc == 3) {
26420 int _v;
26421 void *vptr = 0;
26422 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsImageLongLong, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[13
], 0, 0)
;
26423 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26424 if (_v) {
26425 {
26426 int res = SWIG_AsVal_int(argv[1], NULL__null);
26427 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26428 }
26429 if (_v) {
26430 {
26431 int res = SWIG_AsVal_int(argv[2], NULL__null);
26432 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26433 }
26434 if (_v) {
26435 return _wrap_GFitsImageLongLong_pixel__SWIG_1(self, args);
26436 }
26437 }
26438 }
26439 }
26440 if (argc == 4) {
26441 int _v;
26442 void *vptr = 0;
26443 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsImageLongLong, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[13
], 0, 0)
;
26444 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26445 if (_v) {
26446 {
26447 int res = SWIG_AsVal_int(argv[1], NULL__null);
26448 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26449 }
26450 if (_v) {
26451 {
26452 int res = SWIG_AsVal_int(argv[2], NULL__null);
26453 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26454 }
26455 if (_v) {
26456 {
26457 int res = SWIG_AsVal_int(argv[3], NULL__null);
26458 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26459 }
26460 if (_v) {
26461 return _wrap_GFitsImageLongLong_pixel__SWIG_2(self, args);
26462 }
26463 }
26464 }
26465 }
26466 }
26467 if (argc == 5) {
26468 int _v;
26469 void *vptr = 0;
26470 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsImageLongLong, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[13
], 0, 0)
;
26471 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26472 if (_v) {
26473 {
26474 int res = SWIG_AsVal_int(argv[1], NULL__null);
26475 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26476 }
26477 if (_v) {
26478 {
26479 int res = SWIG_AsVal_int(argv[2], NULL__null);
26480 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26481 }
26482 if (_v) {
26483 {
26484 int res = SWIG_AsVal_int(argv[3], NULL__null);
26485 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26486 }
26487 if (_v) {
26488 {
26489 int res = SWIG_AsVal_int(argv[4], NULL__null);
26490 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
26491 }
26492 if (_v) {
26493 return _wrap_GFitsImageLongLong_pixel__SWIG_3(self, args);
26494 }
26495 }
26496 }
26497 }
26498 }
26499 }
26500
26501fail:
26502 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsImageLongLong_pixel'.\n"
26503 " Possible C/C++ prototypes are:\n"
26504 " GFitsImageLongLong::pixel(int const &) const\n"
26505 " GFitsImageLongLong::pixel(int const &,int const &) const\n"
26506 " GFitsImageLongLong::pixel(int const &,int const &,int const &) const\n"
26507 " GFitsImageLongLong::pixel(int const &,int const &,int const &,int const &) const\n");
26508 return 0;
26509}
26510
26511
26512SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageLongLong_pixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26513 PyObject *resultobj = 0;
26514 GFitsImageLongLong *arg1 = (GFitsImageLongLong *) 0 ;
26515 void *argp1 = 0 ;
26516 int res1 = 0 ;
26517 PyObject * obj0 = 0 ;
26518 void *result = 0 ;
26519
26520 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageLongLong_pixels",&obj0)) SWIG_failgoto fail;
26521 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageLongLong, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[13]
, 0 | 0, 0)
;
26522 if (!SWIG_IsOK(res1)(res1 >= 0)) {
26523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageLongLong_pixels" "', argument " "1"" of type '" "GFitsImageLongLong *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageLongLong_pixels"
"', argument " "1"" of type '" "GFitsImageLongLong *""'"); goto
fail; } while(0)
;
26524 }
26525 arg1 = reinterpret_cast< GFitsImageLongLong * >(argp1);
26526 {
26527 try {
26528 result = (void *)(arg1)->pixels();
26529 }
26530 catch (const GException::out_of_range& e) {
26531 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
26532 }
26533 catch (const GExceptionHandler& e) {
26534 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26535 }
26536 catch (const std::exception& e) {
26537 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26538 }
26539 }
26540 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[57], 0
| 0)
;
26541 return resultobj;
26542fail:
26543 return NULL__null;
26544}
26545
26546
26547SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageLongLong_type(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26548 PyObject *resultobj = 0;
26549 GFitsImageLongLong *arg1 = (GFitsImageLongLong *) 0 ;
26550 void *argp1 = 0 ;
26551 int res1 = 0 ;
26552 PyObject * obj0 = 0 ;
26553 int result;
26554
26555 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageLongLong_type",&obj0)) SWIG_failgoto fail;
26556 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageLongLong, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[13]
, 0 | 0, 0)
;
26557 if (!SWIG_IsOK(res1)(res1 >= 0)) {
26558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageLongLong_type" "', argument " "1"" of type '" "GFitsImageLongLong const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageLongLong_type" "', argument "
"1"" of type '" "GFitsImageLongLong const *""'"); goto fail;
} while(0)
;
26559 }
26560 arg1 = reinterpret_cast< GFitsImageLongLong * >(argp1);
26561 {
26562 try {
26563 result = (int)((GFitsImageLongLong const *)arg1)->type();
26564 }
26565 catch (const GException::out_of_range& e) {
26566 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
26567 }
26568 catch (const GExceptionHandler& e) {
26569 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26570 }
26571 catch (const std::exception& e) {
26572 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26573 }
26574 }
26575 resultobj = SWIG_From_int(static_cast< int >(result));
26576 return resultobj;
26577fail:
26578 return NULL__null;
26579}
26580
26581
26582SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageLongLong___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26583 PyObject *resultobj = 0;
26584 GFitsImageLongLong *arg1 = (GFitsImageLongLong *) 0 ;
26585 int *arg2 ;
26586 void *argp1 = 0 ;
26587 int res1 = 0 ;
26588 int temp2[5] ;
26589 PyObject * obj0 = 0 ;
26590 PyObject * obj1 = 0 ;
26591 long long result;
26592
26593 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsImageLongLong___getitem__",&obj0,&obj1)) SWIG_failgoto fail;
26594 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageLongLong, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[13]
, 0 | 0, 0)
;
26595 if (!SWIG_IsOK(res1)(res1 >= 0)) {
26596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageLongLong___getitem__" "', argument " "1"" of type '" "GFitsImageLongLong *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageLongLong___getitem__"
"', argument " "1"" of type '" "GFitsImageLongLong *""'"); goto
fail; } while(0)
;
26597 }
26598 arg1 = reinterpret_cast< GFitsImageLongLong * >(argp1);
26599 {
26600 if (!image_pixel_tuple(obj1,temp2)) {
26601 return NULL__null;
26602 }
26603 arg2 = &temp2[0];
26604 }
26605 {
26606 try {
26607 result = (long long)GFitsImageLongLong___getitem__(arg1,arg2);
26608 }
26609 catch (const GException::out_of_range& e) {
26610 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
26611 }
26612 catch (const GExceptionHandler& e) {
26613 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26614 }
26615 catch (const std::exception& e) {
26616 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26617 }
26618 }
26619 resultobj = SWIG_From_long_SS_long(static_cast< long long >(result));
26620 return resultobj;
26621fail:
26622 return NULL__null;
26623}
26624
26625
26626SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageLongLong___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26627 PyObject *resultobj = 0;
26628 GFitsImageLongLong *arg1 = (GFitsImageLongLong *) 0 ;
26629 int *arg2 ;
26630 long long arg3 ;
26631 void *argp1 = 0 ;
26632 int res1 = 0 ;
26633 int temp2[5] ;
26634 long long val3 ;
26635 int ecode3 = 0 ;
26636 PyObject * obj0 = 0 ;
26637 PyObject * obj1 = 0 ;
26638 PyObject * obj2 = 0 ;
26639
26640 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsImageLongLong___setitem__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
26641 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageLongLong, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[13]
, 0 | 0, 0)
;
26642 if (!SWIG_IsOK(res1)(res1 >= 0)) {
26643 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageLongLong___setitem__" "', argument " "1"" of type '" "GFitsImageLongLong *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageLongLong___setitem__"
"', argument " "1"" of type '" "GFitsImageLongLong *""'"); goto
fail; } while(0)
;
26644 }
26645 arg1 = reinterpret_cast< GFitsImageLongLong * >(argp1);
26646 {
26647 if (!image_pixel_tuple(obj1,temp2)) {
26648 return NULL__null;
26649 }
26650 arg2 = &temp2[0];
26651 }
26652 ecode3 = SWIG_AsVal_long_SS_long(obj2, &val3);
26653 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
26654 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsImageLongLong___setitem__" "', argument " "3"" of type '" "long long""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsImageLongLong___setitem__"
"', argument " "3"" of type '" "long long""'"); goto fail; }
while(0)
;
26655 }
26656 arg3 = static_cast< long long >(val3);
26657 {
26658 try {
26659 GFitsImageLongLong___setitem__(arg1,arg2,arg3);
26660 }
26661 catch (const GException::out_of_range& e) {
26662 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
26663 }
26664 catch (const GExceptionHandler& e) {
26665 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26666 }
26667 catch (const std::exception& e) {
26668 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26669 }
26670 }
26671 resultobj = SWIG_Py_Void();
26672 return resultobj;
26673fail:
26674 return NULL__null;
26675}
26676
26677
26678SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageLongLong_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26679 PyObject *resultobj = 0;
26680 GFitsImageLongLong *arg1 = (GFitsImageLongLong *) 0 ;
26681 void *argp1 = 0 ;
26682 int res1 = 0 ;
26683 PyObject * obj0 = 0 ;
26684 GFitsImageLongLong result;
26685
26686 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageLongLong_copy",&obj0)) SWIG_failgoto fail;
26687 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageLongLong, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[13]
, 0 | 0, 0)
;
26688 if (!SWIG_IsOK(res1)(res1 >= 0)) {
26689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageLongLong_copy" "', argument " "1"" of type '" "GFitsImageLongLong *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageLongLong_copy" "', argument "
"1"" of type '" "GFitsImageLongLong *""'"); goto fail; } while
(0)
;
26690 }
26691 arg1 = reinterpret_cast< GFitsImageLongLong * >(argp1);
26692 {
26693 try {
26694 result = GFitsImageLongLong_copy(arg1);
26695 }
26696 catch (const GException::out_of_range& e) {
26697 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
26698 }
26699 catch (const GExceptionHandler& e) {
26700 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26701 }
26702 catch (const std::exception& e) {
26703 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26704 }
26705 }
26706 resultobj = SWIG_NewPointerObj((new GFitsImageLongLong(static_cast< const GFitsImageLongLong& >(result))), SWIGTYPE_p_GFitsImageLongLong, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GFitsImageLongLong(static_cast
< const GFitsImageLongLong& >(result))), swig_types
[13], 0x1 | 0)
;
26707 return resultobj;
26708fail:
26709 return NULL__null;
26710}
26711
26712
26713SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GFitsImageLongLong_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26714 PyObject *obj;
26715 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
26716 SWIG_TypeNewClientData(SWIGTYPE_p_GFitsImageLongLongswig_types[13], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
26717 return SWIG_Py_Void();
26718}
26719
26720SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageFloat__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26721 PyObject *resultobj = 0;
26722 GFitsImageFloat *result = 0 ;
26723
26724 if (!PyArg_ParseTuple(args,(char *)":new_GFitsImageFloat")) SWIG_failgoto fail;
26725 {
26726 try {
26727 result = (GFitsImageFloat *)new GFitsImageFloat();
26728 }
26729 catch (const GException::out_of_range& e) {
26730 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
26731 }
26732 catch (const GExceptionHandler& e) {
26733 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26734 }
26735 catch (const std::exception& e) {
26736 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26737 }
26738 }
26739 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageFloat, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], (
(0x1 << 1) | 0x1) | 0)
;
26740 return resultobj;
26741fail:
26742 return NULL__null;
26743}
26744
26745
26746SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageFloat__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26747 PyObject *resultobj = 0;
26748 int *arg1 = 0 ;
26749 float *arg2 = (float *) 0 ;
26750 int temp1 ;
26751 int val1 ;
26752 int ecode1 = 0 ;
26753 void *argp2 = 0 ;
26754 int res2 = 0 ;
26755 PyObject * obj0 = 0 ;
26756 PyObject * obj1 = 0 ;
26757 GFitsImageFloat *result = 0 ;
26758
26759 if (!PyArg_ParseTuple(args,(char *)"OO:new_GFitsImageFloat",&obj0,&obj1)) SWIG_failgoto fail;
26760 ecode1 = SWIG_AsVal_int(obj0, &val1);
26761 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
26762 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageFloat" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageFloat" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
26763 }
26764 temp1 = static_cast< int >(val1);
26765 arg1 = &temp1;
26766 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_float, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[40]
, 0 | 0, 0)
;
26767 if (!SWIG_IsOK(res2)(res2 >= 0)) {
26768 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_GFitsImageFloat" "', argument " "2"" of type '" "float const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "new_GFitsImageFloat" "', argument "
"2"" of type '" "float const *""'"); goto fail; } while(0)
;
26769 }
26770 arg2 = reinterpret_cast< float * >(argp2);
26771 {
26772 try {
26773 result = (GFitsImageFloat *)new GFitsImageFloat((int const &)*arg1,(float const *)arg2);
26774 }
26775 catch (const GException::out_of_range& e) {
26776 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
26777 }
26778 catch (const GExceptionHandler& e) {
26779 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26780 }
26781 catch (const std::exception& e) {
26782 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26783 }
26784 }
26785 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageFloat, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], (
(0x1 << 1) | 0x1) | 0)
;
26786 return resultobj;
26787fail:
26788 return NULL__null;
26789}
26790
26791
26792SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageFloat__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26793 PyObject *resultobj = 0;
26794 int *arg1 = 0 ;
26795 int temp1 ;
26796 int val1 ;
26797 int ecode1 = 0 ;
26798 PyObject * obj0 = 0 ;
26799 GFitsImageFloat *result = 0 ;
26800
26801 if (!PyArg_ParseTuple(args,(char *)"O:new_GFitsImageFloat",&obj0)) SWIG_failgoto fail;
26802 ecode1 = SWIG_AsVal_int(obj0, &val1);
26803 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
26804 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageFloat" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageFloat" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
26805 }
26806 temp1 = static_cast< int >(val1);
26807 arg1 = &temp1;
26808 {
26809 try {
26810 result = (GFitsImageFloat *)new GFitsImageFloat((int const &)*arg1);
26811 }
26812 catch (const GException::out_of_range& e) {
26813 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
26814 }
26815 catch (const GExceptionHandler& e) {
26816 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26817 }
26818 catch (const std::exception& e) {
26819 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26820 }
26821 }
26822 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageFloat, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], (
(0x1 << 1) | 0x1) | 0)
;
26823 return resultobj;
26824fail:
26825 return NULL__null;
26826}
26827
26828
26829SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageFloat__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26830 PyObject *resultobj = 0;
26831 int *arg1 = 0 ;
26832 int *arg2 = 0 ;
26833 float *arg3 = (float *) 0 ;
26834 int temp1 ;
26835 int val1 ;
26836 int ecode1 = 0 ;
26837 int temp2 ;
26838 int val2 ;
26839 int ecode2 = 0 ;
26840 void *argp3 = 0 ;
26841 int res3 = 0 ;
26842 PyObject * obj0 = 0 ;
26843 PyObject * obj1 = 0 ;
26844 PyObject * obj2 = 0 ;
26845 GFitsImageFloat *result = 0 ;
26846
26847 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GFitsImageFloat",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
26848 ecode1 = SWIG_AsVal_int(obj0, &val1);
26849 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
26850 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageFloat" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageFloat" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
26851 }
26852 temp1 = static_cast< int >(val1);
26853 arg1 = &temp1;
26854 ecode2 = SWIG_AsVal_int(obj1, &val2);
26855 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
26856 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageFloat" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageFloat" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
26857 }
26858 temp2 = static_cast< int >(val2);
26859 arg2 = &temp2;
26860 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_float, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[40]
, 0 | 0, 0)
;
26861 if (!SWIG_IsOK(res3)(res3 >= 0)) {
26862 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_GFitsImageFloat" "', argument " "3"" of type '" "float const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "new_GFitsImageFloat" "', argument "
"3"" of type '" "float const *""'"); goto fail; } while(0)
;
26863 }
26864 arg3 = reinterpret_cast< float * >(argp3);
26865 {
26866 try {
26867 result = (GFitsImageFloat *)new GFitsImageFloat((int const &)*arg1,(int const &)*arg2,(float const *)arg3);
26868 }
26869 catch (const GException::out_of_range& e) {
26870 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
26871 }
26872 catch (const GExceptionHandler& e) {
26873 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26874 }
26875 catch (const std::exception& e) {
26876 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26877 }
26878 }
26879 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageFloat, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], (
(0x1 << 1) | 0x1) | 0)
;
26880 return resultobj;
26881fail:
26882 return NULL__null;
26883}
26884
26885
26886SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageFloat__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26887 PyObject *resultobj = 0;
26888 int *arg1 = 0 ;
26889 int *arg2 = 0 ;
26890 int temp1 ;
26891 int val1 ;
26892 int ecode1 = 0 ;
26893 int temp2 ;
26894 int val2 ;
26895 int ecode2 = 0 ;
26896 PyObject * obj0 = 0 ;
26897 PyObject * obj1 = 0 ;
26898 GFitsImageFloat *result = 0 ;
26899
26900 if (!PyArg_ParseTuple(args,(char *)"OO:new_GFitsImageFloat",&obj0,&obj1)) SWIG_failgoto fail;
26901 ecode1 = SWIG_AsVal_int(obj0, &val1);
26902 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
26903 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageFloat" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageFloat" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
26904 }
26905 temp1 = static_cast< int >(val1);
26906 arg1 = &temp1;
26907 ecode2 = SWIG_AsVal_int(obj1, &val2);
26908 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
26909 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageFloat" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageFloat" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
26910 }
26911 temp2 = static_cast< int >(val2);
26912 arg2 = &temp2;
26913 {
26914 try {
26915 result = (GFitsImageFloat *)new GFitsImageFloat((int const &)*arg1,(int const &)*arg2);
26916 }
26917 catch (const GException::out_of_range& e) {
26918 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
26919 }
26920 catch (const GExceptionHandler& e) {
26921 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26922 }
26923 catch (const std::exception& e) {
26924 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26925 }
26926 }
26927 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageFloat, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], (
(0x1 << 1) | 0x1) | 0)
;
26928 return resultobj;
26929fail:
26930 return NULL__null;
26931}
26932
26933
26934SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageFloat__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26935 PyObject *resultobj = 0;
26936 int *arg1 = 0 ;
26937 int *arg2 = 0 ;
26938 int *arg3 = 0 ;
26939 float *arg4 = (float *) 0 ;
26940 int temp1 ;
26941 int val1 ;
26942 int ecode1 = 0 ;
26943 int temp2 ;
26944 int val2 ;
26945 int ecode2 = 0 ;
26946 int temp3 ;
26947 int val3 ;
26948 int ecode3 = 0 ;
26949 void *argp4 = 0 ;
26950 int res4 = 0 ;
26951 PyObject * obj0 = 0 ;
26952 PyObject * obj1 = 0 ;
26953 PyObject * obj2 = 0 ;
26954 PyObject * obj3 = 0 ;
26955 GFitsImageFloat *result = 0 ;
26956
26957 if (!PyArg_ParseTuple(args,(char *)"OOOO:new_GFitsImageFloat",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
26958 ecode1 = SWIG_AsVal_int(obj0, &val1);
26959 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
26960 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageFloat" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageFloat" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
26961 }
26962 temp1 = static_cast< int >(val1);
26963 arg1 = &temp1;
26964 ecode2 = SWIG_AsVal_int(obj1, &val2);
26965 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
26966 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageFloat" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageFloat" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
26967 }
26968 temp2 = static_cast< int >(val2);
26969 arg2 = &temp2;
26970 ecode3 = SWIG_AsVal_int(obj2, &val3);
26971 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
26972 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsImageFloat" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsImageFloat" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
26973 }
26974 temp3 = static_cast< int >(val3);
26975 arg3 = &temp3;
26976 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_float, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj3, &argp4, swig_types[40]
, 0 | 0, 0)
;
26977 if (!SWIG_IsOK(res4)(res4 >= 0)) {
26978 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_GFitsImageFloat" "', argument " "4"" of type '" "float const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res4 != (
-1)) ? res4 : -5)), "in method '" "new_GFitsImageFloat" "', argument "
"4"" of type '" "float const *""'"); goto fail; } while(0)
;
26979 }
26980 arg4 = reinterpret_cast< float * >(argp4);
26981 {
26982 try {
26983 result = (GFitsImageFloat *)new GFitsImageFloat((int const &)*arg1,(int const &)*arg2,(int const &)*arg3,(float const *)arg4);
26984 }
26985 catch (const GException::out_of_range& e) {
26986 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
26987 }
26988 catch (const GExceptionHandler& e) {
26989 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26990 }
26991 catch (const std::exception& e) {
26992 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
26993 }
26994 }
26995 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageFloat, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], (
(0x1 << 1) | 0x1) | 0)
;
26996 return resultobj;
26997fail:
26998 return NULL__null;
26999}
27000
27001
27002SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageFloat__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27003 PyObject *resultobj = 0;
27004 int *arg1 = 0 ;
27005 int *arg2 = 0 ;
27006 int *arg3 = 0 ;
27007 int temp1 ;
27008 int val1 ;
27009 int ecode1 = 0 ;
27010 int temp2 ;
27011 int val2 ;
27012 int ecode2 = 0 ;
27013 int temp3 ;
27014 int val3 ;
27015 int ecode3 = 0 ;
27016 PyObject * obj0 = 0 ;
27017 PyObject * obj1 = 0 ;
27018 PyObject * obj2 = 0 ;
27019 GFitsImageFloat *result = 0 ;
27020
27021 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GFitsImageFloat",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
27022 ecode1 = SWIG_AsVal_int(obj0, &val1);
27023 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
27024 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageFloat" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageFloat" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
27025 }
27026 temp1 = static_cast< int >(val1);
27027 arg1 = &temp1;
27028 ecode2 = SWIG_AsVal_int(obj1, &val2);
27029 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
27030 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageFloat" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageFloat" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
27031 }
27032 temp2 = static_cast< int >(val2);
27033 arg2 = &temp2;
27034 ecode3 = SWIG_AsVal_int(obj2, &val3);
27035 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
27036 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsImageFloat" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsImageFloat" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
27037 }
27038 temp3 = static_cast< int >(val3);
27039 arg3 = &temp3;
27040 {
27041 try {
27042 result = (GFitsImageFloat *)new GFitsImageFloat((int const &)*arg1,(int const &)*arg2,(int const &)*arg3);
27043 }
27044 catch (const GException::out_of_range& e) {
27045 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
27046 }
27047 catch (const GExceptionHandler& e) {
27048 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27049 }
27050 catch (const std::exception& e) {
27051 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27052 }
27053 }
27054 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageFloat, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], (
(0x1 << 1) | 0x1) | 0)
;
27055 return resultobj;
27056fail:
27057 return NULL__null;
27058}
27059
27060
27061SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageFloat__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27062 PyObject *resultobj = 0;
27063 int *arg1 = 0 ;
27064 int *arg2 = 0 ;
27065 int *arg3 = 0 ;
27066 int *arg4 = 0 ;
27067 float *arg5 = (float *) 0 ;
27068 int temp1 ;
27069 int val1 ;
27070 int ecode1 = 0 ;
27071 int temp2 ;
27072 int val2 ;
27073 int ecode2 = 0 ;
27074 int temp3 ;
27075 int val3 ;
27076 int ecode3 = 0 ;
27077 int temp4 ;
27078 int val4 ;
27079 int ecode4 = 0 ;
27080 void *argp5 = 0 ;
27081 int res5 = 0 ;
27082 PyObject * obj0 = 0 ;
27083 PyObject * obj1 = 0 ;
27084 PyObject * obj2 = 0 ;
27085 PyObject * obj3 = 0 ;
27086 PyObject * obj4 = 0 ;
27087 GFitsImageFloat *result = 0 ;
27088
27089 if (!PyArg_ParseTuple(args,(char *)"OOOOO:new_GFitsImageFloat",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_failgoto fail;
27090 ecode1 = SWIG_AsVal_int(obj0, &val1);
27091 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
27092 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageFloat" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageFloat" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
27093 }
27094 temp1 = static_cast< int >(val1);
27095 arg1 = &temp1;
27096 ecode2 = SWIG_AsVal_int(obj1, &val2);
27097 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
27098 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageFloat" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageFloat" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
27099 }
27100 temp2 = static_cast< int >(val2);
27101 arg2 = &temp2;
27102 ecode3 = SWIG_AsVal_int(obj2, &val3);
27103 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
27104 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsImageFloat" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsImageFloat" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
27105 }
27106 temp3 = static_cast< int >(val3);
27107 arg3 = &temp3;
27108 ecode4 = SWIG_AsVal_int(obj3, &val4);
27109 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
27110 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_GFitsImageFloat" "', argument " "4"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "new_GFitsImageFloat" "', argument "
"4"" of type '" "int""'"); goto fail; } while(0)
;
27111 }
27112 temp4 = static_cast< int >(val4);
27113 arg4 = &temp4;
27114 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_float, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj4, &argp5, swig_types[40]
, 0 | 0, 0)
;
27115 if (!SWIG_IsOK(res5)(res5 >= 0)) {
27116 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_GFitsImageFloat" "', argument " "5"" of type '" "float const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res5 != (
-1)) ? res5 : -5)), "in method '" "new_GFitsImageFloat" "', argument "
"5"" of type '" "float const *""'"); goto fail; } while(0)
;
27117 }
27118 arg5 = reinterpret_cast< float * >(argp5);
27119 {
27120 try {
27121 result = (GFitsImageFloat *)new GFitsImageFloat((int const &)*arg1,(int const &)*arg2,(int const &)*arg3,(int const &)*arg4,(float const *)arg5);
27122 }
27123 catch (const GException::out_of_range& e) {
27124 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
27125 }
27126 catch (const GExceptionHandler& e) {
27127 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27128 }
27129 catch (const std::exception& e) {
27130 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27131 }
27132 }
27133 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageFloat, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], (
(0x1 << 1) | 0x1) | 0)
;
27134 return resultobj;
27135fail:
27136 return NULL__null;
27137}
27138
27139
27140SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageFloat__SWIG_8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27141 PyObject *resultobj = 0;
27142 int *arg1 = 0 ;
27143 int *arg2 = 0 ;
27144 int *arg3 = 0 ;
27145 int *arg4 = 0 ;
27146 int temp1 ;
27147 int val1 ;
27148 int ecode1 = 0 ;
27149 int temp2 ;
27150 int val2 ;
27151 int ecode2 = 0 ;
27152 int temp3 ;
27153 int val3 ;
27154 int ecode3 = 0 ;
27155 int temp4 ;
27156 int val4 ;
27157 int ecode4 = 0 ;
27158 PyObject * obj0 = 0 ;
27159 PyObject * obj1 = 0 ;
27160 PyObject * obj2 = 0 ;
27161 PyObject * obj3 = 0 ;
27162 GFitsImageFloat *result = 0 ;
27163
27164 if (!PyArg_ParseTuple(args,(char *)"OOOO:new_GFitsImageFloat",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
27165 ecode1 = SWIG_AsVal_int(obj0, &val1);
27166 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
27167 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageFloat" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageFloat" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
27168 }
27169 temp1 = static_cast< int >(val1);
27170 arg1 = &temp1;
27171 ecode2 = SWIG_AsVal_int(obj1, &val2);
27172 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
27173 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageFloat" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageFloat" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
27174 }
27175 temp2 = static_cast< int >(val2);
27176 arg2 = &temp2;
27177 ecode3 = SWIG_AsVal_int(obj2, &val3);
27178 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
27179 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsImageFloat" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsImageFloat" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
27180 }
27181 temp3 = static_cast< int >(val3);
27182 arg3 = &temp3;
27183 ecode4 = SWIG_AsVal_int(obj3, &val4);
27184 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
27185 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_GFitsImageFloat" "', argument " "4"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "new_GFitsImageFloat" "', argument "
"4"" of type '" "int""'"); goto fail; } while(0)
;
27186 }
27187 temp4 = static_cast< int >(val4);
27188 arg4 = &temp4;
27189 {
27190 try {
27191 result = (GFitsImageFloat *)new GFitsImageFloat((int const &)*arg1,(int const &)*arg2,(int const &)*arg3,(int const &)*arg4);
27192 }
27193 catch (const GException::out_of_range& e) {
27194 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
27195 }
27196 catch (const GExceptionHandler& e) {
27197 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27198 }
27199 catch (const std::exception& e) {
27200 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27201 }
27202 }
27203 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageFloat, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], (
(0x1 << 1) | 0x1) | 0)
;
27204 return resultobj;
27205fail:
27206 return NULL__null;
27207}
27208
27209
27210SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageFloat__SWIG_9(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27211 PyObject *resultobj = 0;
27212 int *arg1 = 0 ;
27213 int *arg2 = (int *) 0 ;
27214 float *arg3 = (float *) 0 ;
27215 int temp1 ;
27216 int val1 ;
27217 int ecode1 = 0 ;
27218 void *argp2 = 0 ;
27219 int res2 = 0 ;
27220 void *argp3 = 0 ;
27221 int res3 = 0 ;
27222 PyObject * obj0 = 0 ;
27223 PyObject * obj1 = 0 ;
27224 PyObject * obj2 = 0 ;
27225 GFitsImageFloat *result = 0 ;
27226
27227 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GFitsImageFloat",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
27228 ecode1 = SWIG_AsVal_int(obj0, &val1);
27229 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
27230 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageFloat" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageFloat" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
27231 }
27232 temp1 = static_cast< int >(val1);
27233 arg1 = &temp1;
27234 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[41]
, 0 | 0, 0)
;
27235 if (!SWIG_IsOK(res2)(res2 >= 0)) {
27236 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_GFitsImageFloat" "', argument " "2"" of type '" "int const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "new_GFitsImageFloat" "', argument "
"2"" of type '" "int const *""'"); goto fail; } while(0)
;
27237 }
27238 arg2 = reinterpret_cast< int * >(argp2);
27239 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_float, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[40]
, 0 | 0, 0)
;
27240 if (!SWIG_IsOK(res3)(res3 >= 0)) {
27241 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_GFitsImageFloat" "', argument " "3"" of type '" "float const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "new_GFitsImageFloat" "', argument "
"3"" of type '" "float const *""'"); goto fail; } while(0)
;
27242 }
27243 arg3 = reinterpret_cast< float * >(argp3);
27244 {
27245 try {
27246 result = (GFitsImageFloat *)new GFitsImageFloat((int const &)*arg1,(int const *)arg2,(float const *)arg3);
27247 }
27248 catch (const GException::out_of_range& e) {
27249 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
27250 }
27251 catch (const GExceptionHandler& e) {
27252 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27253 }
27254 catch (const std::exception& e) {
27255 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27256 }
27257 }
27258 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageFloat, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], (
(0x1 << 1) | 0x1) | 0)
;
27259 return resultobj;
27260fail:
27261 return NULL__null;
27262}
27263
27264
27265SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageFloat__SWIG_10(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27266 PyObject *resultobj = 0;
27267 int *arg1 = 0 ;
27268 int *arg2 = (int *) 0 ;
27269 int temp1 ;
27270 int val1 ;
27271 int ecode1 = 0 ;
27272 void *argp2 = 0 ;
27273 int res2 = 0 ;
27274 PyObject * obj0 = 0 ;
27275 PyObject * obj1 = 0 ;
27276 GFitsImageFloat *result = 0 ;
27277
27278 if (!PyArg_ParseTuple(args,(char *)"OO:new_GFitsImageFloat",&obj0,&obj1)) SWIG_failgoto fail;
27279 ecode1 = SWIG_AsVal_int(obj0, &val1);
27280 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
27281 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageFloat" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageFloat" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
27282 }
27283 temp1 = static_cast< int >(val1);
27284 arg1 = &temp1;
27285 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[41]
, 0 | 0, 0)
;
27286 if (!SWIG_IsOK(res2)(res2 >= 0)) {
27287 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_GFitsImageFloat" "', argument " "2"" of type '" "int const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "new_GFitsImageFloat" "', argument "
"2"" of type '" "int const *""'"); goto fail; } while(0)
;
27288 }
27289 arg2 = reinterpret_cast< int * >(argp2);
27290 {
27291 try {
27292 result = (GFitsImageFloat *)new GFitsImageFloat((int const &)*arg1,(int const *)arg2);
27293 }
27294 catch (const GException::out_of_range& e) {
27295 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
27296 }
27297 catch (const GExceptionHandler& e) {
27298 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27299 }
27300 catch (const std::exception& e) {
27301 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27302 }
27303 }
27304 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageFloat, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], (
(0x1 << 1) | 0x1) | 0)
;
27305 return resultobj;
27306fail:
27307 return NULL__null;
27308}
27309
27310
27311SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageFloat__SWIG_11(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27312 PyObject *resultobj = 0;
27313 GFitsImageFloat *arg1 = 0 ;
27314 void *argp1 = 0 ;
27315 int res1 = 0 ;
27316 PyObject * obj0 = 0 ;
27317 GFitsImageFloat *result = 0 ;
27318
27319 if (!PyArg_ParseTuple(args,(char *)"O:new_GFitsImageFloat",&obj0)) SWIG_failgoto fail;
27320 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GFitsImageFloat, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[11]
, 0 | 0, 0)
;
27321 if (!SWIG_IsOK(res1)(res1 >= 0)) {
27322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsImageFloat" "', argument " "1"" of type '" "GFitsImageFloat const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsImageFloat" "', argument "
"1"" of type '" "GFitsImageFloat const &""'"); goto fail
; } while(0)
;
27323 }
27324 if (!argp1) {
27325 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsImageFloat" "', argument " "1"" of type '" "GFitsImageFloat const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsImageFloat" "', argument " "1"" of type '"
"GFitsImageFloat const &""'"); goto fail; } while(0)
;
27326 }
27327 arg1 = reinterpret_cast< GFitsImageFloat * >(argp1);
27328 {
27329 try {
27330 result = (GFitsImageFloat *)new GFitsImageFloat((GFitsImageFloat const &)*arg1);
27331 }
27332 catch (const GException::out_of_range& e) {
27333 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
27334 }
27335 catch (const GExceptionHandler& e) {
27336 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27337 }
27338 catch (const std::exception& e) {
27339 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27340 }
27341 }
27342 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageFloat, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], (
(0x1 << 1) | 0x1) | 0)
;
27343 return resultobj;
27344fail:
27345 return NULL__null;
27346}
27347
27348
27349SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageFloat(PyObject *self, PyObject *args) {
27350 int argc;
27351 PyObject *argv[6];
27352 int ii;
27353
27354 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
27355 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
27356 for (ii = 0; (ii < 5) && (ii < argc); ii++) {
27357 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
27358 }
27359 if (argc == 0) {
27360 return _wrap_new_GFitsImageFloat__SWIG_0(self, args);
27361 }
27362 if (argc == 1) {
27363 int _v;
27364 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GFitsImageFloat, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[11], 0, 0
)
;
27365 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27366 if (_v) {
27367 return _wrap_new_GFitsImageFloat__SWIG_11(self, args);
27368 }
27369 }
27370 if (argc == 1) {
27371 int _v;
27372 {
27373 int res = SWIG_AsVal_int(argv[0], NULL__null);
27374 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27375 }
27376 if (_v) {
27377 return _wrap_new_GFitsImageFloat__SWIG_2(self, args);
27378 }
27379 }
27380 if (argc == 2) {
27381 int _v;
27382 {
27383 int res = SWIG_AsVal_int(argv[0], NULL__null);
27384 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27385 }
27386 if (_v) {
27387 void *vptr = 0;
27388 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[41
], 0, 0)
;
27389 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27390 if (_v) {
27391 return _wrap_new_GFitsImageFloat__SWIG_10(self, args);
27392 }
27393 }
27394 }
27395 if (argc == 2) {
27396 int _v;
27397 {
27398 int res = SWIG_AsVal_int(argv[0], NULL__null);
27399 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27400 }
27401 if (_v) {
27402 void *vptr = 0;
27403 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_float, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[40
], 0, 0)
;
27404 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27405 if (_v) {
27406 return _wrap_new_GFitsImageFloat__SWIG_1(self, args);
27407 }
27408 }
27409 }
27410 if (argc == 2) {
27411 int _v;
27412 {
27413 int res = SWIG_AsVal_int(argv[0], NULL__null);
27414 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27415 }
27416 if (_v) {
27417 {
27418 int res = SWIG_AsVal_int(argv[1], NULL__null);
27419 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27420 }
27421 if (_v) {
27422 return _wrap_new_GFitsImageFloat__SWIG_4(self, args);
27423 }
27424 }
27425 }
27426 if (argc == 3) {
27427 int _v;
27428 {
27429 int res = SWIG_AsVal_int(argv[0], NULL__null);
27430 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27431 }
27432 if (_v) {
27433 void *vptr = 0;
27434 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[41
], 0, 0)
;
27435 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27436 if (_v) {
27437 void *vptr = 0;
27438 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0)SWIG_Python_ConvertPtrAndOwn(argv[2], &vptr, swig_types[40
], 0, 0)
;
27439 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27440 if (_v) {
27441 return _wrap_new_GFitsImageFloat__SWIG_9(self, args);
27442 }
27443 }
27444 }
27445 }
27446 if (argc == 3) {
27447 int _v;
27448 {
27449 int res = SWIG_AsVal_int(argv[0], NULL__null);
27450 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27451 }
27452 if (_v) {
27453 {
27454 int res = SWIG_AsVal_int(argv[1], NULL__null);
27455 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27456 }
27457 if (_v) {
27458 void *vptr = 0;
27459 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0)SWIG_Python_ConvertPtrAndOwn(argv[2], &vptr, swig_types[40
], 0, 0)
;
27460 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27461 if (_v) {
27462 return _wrap_new_GFitsImageFloat__SWIG_3(self, args);
27463 }
27464 }
27465 }
27466 }
27467 if (argc == 3) {
27468 int _v;
27469 {
27470 int res = SWIG_AsVal_int(argv[0], NULL__null);
27471 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27472 }
27473 if (_v) {
27474 {
27475 int res = SWIG_AsVal_int(argv[1], NULL__null);
27476 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27477 }
27478 if (_v) {
27479 {
27480 int res = SWIG_AsVal_int(argv[2], NULL__null);
27481 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27482 }
27483 if (_v) {
27484 return _wrap_new_GFitsImageFloat__SWIG_6(self, args);
27485 }
27486 }
27487 }
27488 }
27489 if (argc == 4) {
27490 int _v;
27491 {
27492 int res = SWIG_AsVal_int(argv[0], NULL__null);
27493 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27494 }
27495 if (_v) {
27496 {
27497 int res = SWIG_AsVal_int(argv[1], NULL__null);
27498 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27499 }
27500 if (_v) {
27501 {
27502 int res = SWIG_AsVal_int(argv[2], NULL__null);
27503 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27504 }
27505 if (_v) {
27506 void *vptr = 0;
27507 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_float, 0)SWIG_Python_ConvertPtrAndOwn(argv[3], &vptr, swig_types[40
], 0, 0)
;
27508 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27509 if (_v) {
27510 return _wrap_new_GFitsImageFloat__SWIG_5(self, args);
27511 }
27512 }
27513 }
27514 }
27515 }
27516 if (argc == 4) {
27517 int _v;
27518 {
27519 int res = SWIG_AsVal_int(argv[0], NULL__null);
27520 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27521 }
27522 if (_v) {
27523 {
27524 int res = SWIG_AsVal_int(argv[1], NULL__null);
27525 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27526 }
27527 if (_v) {
27528 {
27529 int res = SWIG_AsVal_int(argv[2], NULL__null);
27530 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27531 }
27532 if (_v) {
27533 {
27534 int res = SWIG_AsVal_int(argv[3], NULL__null);
27535 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27536 }
27537 if (_v) {
27538 return _wrap_new_GFitsImageFloat__SWIG_8(self, args);
27539 }
27540 }
27541 }
27542 }
27543 }
27544 if (argc == 5) {
27545 int _v;
27546 {
27547 int res = SWIG_AsVal_int(argv[0], NULL__null);
27548 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27549 }
27550 if (_v) {
27551 {
27552 int res = SWIG_AsVal_int(argv[1], NULL__null);
27553 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27554 }
27555 if (_v) {
27556 {
27557 int res = SWIG_AsVal_int(argv[2], NULL__null);
27558 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27559 }
27560 if (_v) {
27561 {
27562 int res = SWIG_AsVal_int(argv[3], NULL__null);
27563 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27564 }
27565 if (_v) {
27566 void *vptr = 0;
27567 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_float, 0)SWIG_Python_ConvertPtrAndOwn(argv[4], &vptr, swig_types[40
], 0, 0)
;
27568 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27569 if (_v) {
27570 return _wrap_new_GFitsImageFloat__SWIG_7(self, args);
27571 }
27572 }
27573 }
27574 }
27575 }
27576 }
27577
27578fail:
27579 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GFitsImageFloat'.\n"
27580 " Possible C/C++ prototypes are:\n"
27581 " GFitsImageFloat::GFitsImageFloat()\n"
27582 " GFitsImageFloat::GFitsImageFloat(int const &,float const *)\n"
27583 " GFitsImageFloat::GFitsImageFloat(int const &)\n"
27584 " GFitsImageFloat::GFitsImageFloat(int const &,int const &,float const *)\n"
27585 " GFitsImageFloat::GFitsImageFloat(int const &,int const &)\n"
27586 " GFitsImageFloat::GFitsImageFloat(int const &,int const &,int const &,float const *)\n"
27587 " GFitsImageFloat::GFitsImageFloat(int const &,int const &,int const &)\n"
27588 " GFitsImageFloat::GFitsImageFloat(int const &,int const &,int const &,int const &,float const *)\n"
27589 " GFitsImageFloat::GFitsImageFloat(int const &,int const &,int const &,int const &)\n"
27590 " GFitsImageFloat::GFitsImageFloat(int const &,int const *,float const *)\n"
27591 " GFitsImageFloat::GFitsImageFloat(int const &,int const *)\n"
27592 " GFitsImageFloat::GFitsImageFloat(GFitsImageFloat const &)\n");
27593 return 0;
27594}
27595
27596
27597SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GFitsImageFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27598 PyObject *resultobj = 0;
27599 GFitsImageFloat *arg1 = (GFitsImageFloat *) 0 ;
27600 void *argp1 = 0 ;
27601 int res1 = 0 ;
27602 PyObject * obj0 = 0 ;
27603
27604 if (!PyArg_ParseTuple(args,(char *)"O:delete_GFitsImageFloat",&obj0)) SWIG_failgoto fail;
27605 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageFloat, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[11]
, 0x1 | 0, 0)
;
27606 if (!SWIG_IsOK(res1)(res1 >= 0)) {
27607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GFitsImageFloat" "', argument " "1"" of type '" "GFitsImageFloat *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GFitsImageFloat" "', argument "
"1"" of type '" "GFitsImageFloat *""'"); goto fail; } while(
0)
;
27608 }
27609 arg1 = reinterpret_cast< GFitsImageFloat * >(argp1);
27610 {
27611 try {
27612 delete arg1;
27613 }
27614 catch (const GException::out_of_range& e) {
27615 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
27616 }
27617 catch (const GExceptionHandler& e) {
27618 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27619 }
27620 catch (const std::exception& e) {
27621 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27622 }
27623 }
27624 resultobj = SWIG_Py_Void();
27625 return resultobj;
27626fail:
27627 return NULL__null;
27628}
27629
27630
27631SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageFloat_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27632 PyObject *resultobj = 0;
27633 GFitsImageFloat *arg1 = (GFitsImageFloat *) 0 ;
27634 void *argp1 = 0 ;
27635 int res1 = 0 ;
27636 PyObject * obj0 = 0 ;
27637
27638 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageFloat_clear",&obj0)) SWIG_failgoto fail;
27639 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageFloat, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[11]
, 0 | 0, 0)
;
27640 if (!SWIG_IsOK(res1)(res1 >= 0)) {
27641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageFloat_clear" "', argument " "1"" of type '" "GFitsImageFloat *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageFloat_clear" "', argument "
"1"" of type '" "GFitsImageFloat *""'"); goto fail; } while(
0)
;
27642 }
27643 arg1 = reinterpret_cast< GFitsImageFloat * >(argp1);
27644 {
27645 try {
27646 (arg1)->clear();
27647 }
27648 catch (const GException::out_of_range& e) {
27649 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
27650 }
27651 catch (const GExceptionHandler& e) {
27652 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27653 }
27654 catch (const std::exception& e) {
27655 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27656 }
27657 }
27658 resultobj = SWIG_Py_Void();
27659 return resultobj;
27660fail:
27661 return NULL__null;
27662}
27663
27664
27665SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageFloat_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27666 PyObject *resultobj = 0;
27667 GFitsImageFloat *arg1 = (GFitsImageFloat *) 0 ;
27668 void *argp1 = 0 ;
27669 int res1 = 0 ;
27670 PyObject * obj0 = 0 ;
27671 GFitsImageFloat *result = 0 ;
27672
27673 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageFloat_clone",&obj0)) SWIG_failgoto fail;
27674 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageFloat, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[11]
, 0 | 0, 0)
;
27675 if (!SWIG_IsOK(res1)(res1 >= 0)) {
27676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageFloat_clone" "', argument " "1"" of type '" "GFitsImageFloat const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageFloat_clone" "', argument "
"1"" of type '" "GFitsImageFloat const *""'"); goto fail; } while
(0)
;
27677 }
27678 arg1 = reinterpret_cast< GFitsImageFloat * >(argp1);
27679 {
27680 try {
27681 result = (GFitsImageFloat *)((GFitsImageFloat const *)arg1)->clone();
27682 }
27683 catch (const GException::out_of_range& e) {
27684 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
27685 }
27686 catch (const GExceptionHandler& e) {
27687 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27688 }
27689 catch (const std::exception& e) {
27690 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27691 }
27692 }
27693 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageFloat, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[11], 0
| 0)
;
27694 return resultobj;
27695fail:
27696 return NULL__null;
27697}
27698
27699
27700SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageFloat_pixel__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27701 PyObject *resultobj = 0;
27702 GFitsImageFloat *arg1 = (GFitsImageFloat *) 0 ;
27703 int *arg2 = 0 ;
27704 void *argp1 = 0 ;
27705 int res1 = 0 ;
27706 int temp2 ;
27707 int val2 ;
27708 int ecode2 = 0 ;
27709 PyObject * obj0 = 0 ;
27710 PyObject * obj1 = 0 ;
27711 double result;
27712
27713 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsImageFloat_pixel",&obj0,&obj1)) SWIG_failgoto fail;
27714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageFloat, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[11]
, 0 | 0, 0)
;
27715 if (!SWIG_IsOK(res1)(res1 >= 0)) {
27716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageFloat_pixel" "', argument " "1"" of type '" "GFitsImageFloat const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageFloat_pixel" "', argument "
"1"" of type '" "GFitsImageFloat const *""'"); goto fail; } while
(0)
;
27717 }
27718 arg1 = reinterpret_cast< GFitsImageFloat * >(argp1);
27719 ecode2 = SWIG_AsVal_int(obj1, &val2);
27720 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
27721 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsImageFloat_pixel" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsImageFloat_pixel"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
27722 }
27723 temp2 = static_cast< int >(val2);
27724 arg2 = &temp2;
27725 {
27726 try {
27727 result = (double)((GFitsImageFloat const *)arg1)->pixel((int const &)*arg2);
27728 }
27729 catch (const GException::out_of_range& e) {
27730 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
27731 }
27732 catch (const GExceptionHandler& e) {
27733 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27734 }
27735 catch (const std::exception& e) {
27736 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27737 }
27738 }
27739 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
27740 return resultobj;
27741fail:
27742 return NULL__null;
27743}
27744
27745
27746SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageFloat_pixel__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27747 PyObject *resultobj = 0;
27748 GFitsImageFloat *arg1 = (GFitsImageFloat *) 0 ;
27749 int *arg2 = 0 ;
27750 int *arg3 = 0 ;
27751 void *argp1 = 0 ;
27752 int res1 = 0 ;
27753 int temp2 ;
27754 int val2 ;
27755 int ecode2 = 0 ;
27756 int temp3 ;
27757 int val3 ;
27758 int ecode3 = 0 ;
27759 PyObject * obj0 = 0 ;
27760 PyObject * obj1 = 0 ;
27761 PyObject * obj2 = 0 ;
27762 double result;
27763
27764 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsImageFloat_pixel",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
27765 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageFloat, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[11]
, 0 | 0, 0)
;
27766 if (!SWIG_IsOK(res1)(res1 >= 0)) {
27767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageFloat_pixel" "', argument " "1"" of type '" "GFitsImageFloat const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageFloat_pixel" "', argument "
"1"" of type '" "GFitsImageFloat const *""'"); goto fail; } while
(0)
;
27768 }
27769 arg1 = reinterpret_cast< GFitsImageFloat * >(argp1);
27770 ecode2 = SWIG_AsVal_int(obj1, &val2);
27771 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
27772 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsImageFloat_pixel" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsImageFloat_pixel"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
27773 }
27774 temp2 = static_cast< int >(val2);
27775 arg2 = &temp2;
27776 ecode3 = SWIG_AsVal_int(obj2, &val3);
27777 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
27778 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsImageFloat_pixel" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsImageFloat_pixel"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
27779 }
27780 temp3 = static_cast< int >(val3);
27781 arg3 = &temp3;
27782 {
27783 try {
27784 result = (double)((GFitsImageFloat const *)arg1)->pixel((int const &)*arg2,(int const &)*arg3);
27785 }
27786 catch (const GException::out_of_range& e) {
27787 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
27788 }
27789 catch (const GExceptionHandler& e) {
27790 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27791 }
27792 catch (const std::exception& e) {
27793 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27794 }
27795 }
27796 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
27797 return resultobj;
27798fail:
27799 return NULL__null;
27800}
27801
27802
27803SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageFloat_pixel__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27804 PyObject *resultobj = 0;
27805 GFitsImageFloat *arg1 = (GFitsImageFloat *) 0 ;
27806 int *arg2 = 0 ;
27807 int *arg3 = 0 ;
27808 int *arg4 = 0 ;
27809 void *argp1 = 0 ;
27810 int res1 = 0 ;
27811 int temp2 ;
27812 int val2 ;
27813 int ecode2 = 0 ;
27814 int temp3 ;
27815 int val3 ;
27816 int ecode3 = 0 ;
27817 int temp4 ;
27818 int val4 ;
27819 int ecode4 = 0 ;
27820 PyObject * obj0 = 0 ;
27821 PyObject * obj1 = 0 ;
27822 PyObject * obj2 = 0 ;
27823 PyObject * obj3 = 0 ;
27824 double result;
27825
27826 if (!PyArg_ParseTuple(args,(char *)"OOOO:GFitsImageFloat_pixel",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
27827 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageFloat, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[11]
, 0 | 0, 0)
;
27828 if (!SWIG_IsOK(res1)(res1 >= 0)) {
27829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageFloat_pixel" "', argument " "1"" of type '" "GFitsImageFloat const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageFloat_pixel" "', argument "
"1"" of type '" "GFitsImageFloat const *""'"); goto fail; } while
(0)
;
27830 }
27831 arg1 = reinterpret_cast< GFitsImageFloat * >(argp1);
27832 ecode2 = SWIG_AsVal_int(obj1, &val2);
27833 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
27834 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsImageFloat_pixel" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsImageFloat_pixel"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
27835 }
27836 temp2 = static_cast< int >(val2);
27837 arg2 = &temp2;
27838 ecode3 = SWIG_AsVal_int(obj2, &val3);
27839 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
27840 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsImageFloat_pixel" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsImageFloat_pixel"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
27841 }
27842 temp3 = static_cast< int >(val3);
27843 arg3 = &temp3;
27844 ecode4 = SWIG_AsVal_int(obj3, &val4);
27845 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
27846 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GFitsImageFloat_pixel" "', argument " "4"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GFitsImageFloat_pixel"
"', argument " "4"" of type '" "int""'"); goto fail; } while
(0)
;
27847 }
27848 temp4 = static_cast< int >(val4);
27849 arg4 = &temp4;
27850 {
27851 try {
27852 result = (double)((GFitsImageFloat const *)arg1)->pixel((int const &)*arg2,(int const &)*arg3,(int const &)*arg4);
27853 }
27854 catch (const GException::out_of_range& e) {
27855 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
27856 }
27857 catch (const GExceptionHandler& e) {
27858 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27859 }
27860 catch (const std::exception& e) {
27861 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27862 }
27863 }
27864 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
27865 return resultobj;
27866fail:
27867 return NULL__null;
27868}
27869
27870
27871SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageFloat_pixel__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27872 PyObject *resultobj = 0;
27873 GFitsImageFloat *arg1 = (GFitsImageFloat *) 0 ;
27874 int *arg2 = 0 ;
27875 int *arg3 = 0 ;
27876 int *arg4 = 0 ;
27877 int *arg5 = 0 ;
27878 void *argp1 = 0 ;
27879 int res1 = 0 ;
27880 int temp2 ;
27881 int val2 ;
27882 int ecode2 = 0 ;
27883 int temp3 ;
27884 int val3 ;
27885 int ecode3 = 0 ;
27886 int temp4 ;
27887 int val4 ;
27888 int ecode4 = 0 ;
27889 int temp5 ;
27890 int val5 ;
27891 int ecode5 = 0 ;
27892 PyObject * obj0 = 0 ;
27893 PyObject * obj1 = 0 ;
27894 PyObject * obj2 = 0 ;
27895 PyObject * obj3 = 0 ;
27896 PyObject * obj4 = 0 ;
27897 double result;
27898
27899 if (!PyArg_ParseTuple(args,(char *)"OOOOO:GFitsImageFloat_pixel",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_failgoto fail;
27900 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageFloat, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[11]
, 0 | 0, 0)
;
27901 if (!SWIG_IsOK(res1)(res1 >= 0)) {
27902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageFloat_pixel" "', argument " "1"" of type '" "GFitsImageFloat const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageFloat_pixel" "', argument "
"1"" of type '" "GFitsImageFloat const *""'"); goto fail; } while
(0)
;
27903 }
27904 arg1 = reinterpret_cast< GFitsImageFloat * >(argp1);
27905 ecode2 = SWIG_AsVal_int(obj1, &val2);
27906 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
27907 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsImageFloat_pixel" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsImageFloat_pixel"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
27908 }
27909 temp2 = static_cast< int >(val2);
27910 arg2 = &temp2;
27911 ecode3 = SWIG_AsVal_int(obj2, &val3);
27912 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
27913 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsImageFloat_pixel" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsImageFloat_pixel"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
27914 }
27915 temp3 = static_cast< int >(val3);
27916 arg3 = &temp3;
27917 ecode4 = SWIG_AsVal_int(obj3, &val4);
27918 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
27919 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GFitsImageFloat_pixel" "', argument " "4"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GFitsImageFloat_pixel"
"', argument " "4"" of type '" "int""'"); goto fail; } while
(0)
;
27920 }
27921 temp4 = static_cast< int >(val4);
27922 arg4 = &temp4;
27923 ecode5 = SWIG_AsVal_int(obj4, &val5);
27924 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
27925 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GFitsImageFloat_pixel" "', argument " "5"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GFitsImageFloat_pixel"
"', argument " "5"" of type '" "int""'"); goto fail; } while
(0)
;
27926 }
27927 temp5 = static_cast< int >(val5);
27928 arg5 = &temp5;
27929 {
27930 try {
27931 result = (double)((GFitsImageFloat const *)arg1)->pixel((int const &)*arg2,(int const &)*arg3,(int const &)*arg4,(int const &)*arg5);
27932 }
27933 catch (const GException::out_of_range& e) {
27934 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
27935 }
27936 catch (const GExceptionHandler& e) {
27937 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27938 }
27939 catch (const std::exception& e) {
27940 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
27941 }
27942 }
27943 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
27944 return resultobj;
27945fail:
27946 return NULL__null;
27947}
27948
27949
27950SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageFloat_pixel(PyObject *self, PyObject *args) {
27951 int argc;
27952 PyObject *argv[6];
27953 int ii;
27954
27955 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
27956 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
27957 for (ii = 0; (ii < 5) && (ii < argc); ii++) {
27958 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
27959 }
27960 if (argc == 2) {
27961 int _v;
27962 void *vptr = 0;
27963 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsImageFloat, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[11
], 0, 0)
;
27964 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27965 if (_v) {
27966 {
27967 int res = SWIG_AsVal_int(argv[1], NULL__null);
27968 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27969 }
27970 if (_v) {
27971 return _wrap_GFitsImageFloat_pixel__SWIG_0(self, args);
27972 }
27973 }
27974 }
27975 if (argc == 3) {
27976 int _v;
27977 void *vptr = 0;
27978 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsImageFloat, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[11
], 0, 0)
;
27979 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27980 if (_v) {
27981 {
27982 int res = SWIG_AsVal_int(argv[1], NULL__null);
27983 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27984 }
27985 if (_v) {
27986 {
27987 int res = SWIG_AsVal_int(argv[2], NULL__null);
27988 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
27989 }
27990 if (_v) {
27991 return _wrap_GFitsImageFloat_pixel__SWIG_1(self, args);
27992 }
27993 }
27994 }
27995 }
27996 if (argc == 4) {
27997 int _v;
27998 void *vptr = 0;
27999 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsImageFloat, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[11
], 0, 0)
;
28000 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28001 if (_v) {
28002 {
28003 int res = SWIG_AsVal_int(argv[1], NULL__null);
28004 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28005 }
28006 if (_v) {
28007 {
28008 int res = SWIG_AsVal_int(argv[2], NULL__null);
28009 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28010 }
28011 if (_v) {
28012 {
28013 int res = SWIG_AsVal_int(argv[3], NULL__null);
28014 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28015 }
28016 if (_v) {
28017 return _wrap_GFitsImageFloat_pixel__SWIG_2(self, args);
28018 }
28019 }
28020 }
28021 }
28022 }
28023 if (argc == 5) {
28024 int _v;
28025 void *vptr = 0;
28026 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsImageFloat, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[11
], 0, 0)
;
28027 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28028 if (_v) {
28029 {
28030 int res = SWIG_AsVal_int(argv[1], NULL__null);
28031 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28032 }
28033 if (_v) {
28034 {
28035 int res = SWIG_AsVal_int(argv[2], NULL__null);
28036 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28037 }
28038 if (_v) {
28039 {
28040 int res = SWIG_AsVal_int(argv[3], NULL__null);
28041 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28042 }
28043 if (_v) {
28044 {
28045 int res = SWIG_AsVal_int(argv[4], NULL__null);
28046 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28047 }
28048 if (_v) {
28049 return _wrap_GFitsImageFloat_pixel__SWIG_3(self, args);
28050 }
28051 }
28052 }
28053 }
28054 }
28055 }
28056
28057fail:
28058 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsImageFloat_pixel'.\n"
28059 " Possible C/C++ prototypes are:\n"
28060 " GFitsImageFloat::pixel(int const &) const\n"
28061 " GFitsImageFloat::pixel(int const &,int const &) const\n"
28062 " GFitsImageFloat::pixel(int const &,int const &,int const &) const\n"
28063 " GFitsImageFloat::pixel(int const &,int const &,int const &,int const &) const\n");
28064 return 0;
28065}
28066
28067
28068SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageFloat_pixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28069 PyObject *resultobj = 0;
28070 GFitsImageFloat *arg1 = (GFitsImageFloat *) 0 ;
28071 void *argp1 = 0 ;
28072 int res1 = 0 ;
28073 PyObject * obj0 = 0 ;
28074 void *result = 0 ;
28075
28076 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageFloat_pixels",&obj0)) SWIG_failgoto fail;
28077 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageFloat, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[11]
, 0 | 0, 0)
;
28078 if (!SWIG_IsOK(res1)(res1 >= 0)) {
28079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageFloat_pixels" "', argument " "1"" of type '" "GFitsImageFloat *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageFloat_pixels" "', argument "
"1"" of type '" "GFitsImageFloat *""'"); goto fail; } while(
0)
;
28080 }
28081 arg1 = reinterpret_cast< GFitsImageFloat * >(argp1);
28082 {
28083 try {
28084 result = (void *)(arg1)->pixels();
28085 }
28086 catch (const GException::out_of_range& e) {
28087 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
28088 }
28089 catch (const GExceptionHandler& e) {
28090 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28091 }
28092 catch (const std::exception& e) {
28093 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28094 }
28095 }
28096 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[57], 0
| 0)
;
28097 return resultobj;
28098fail:
28099 return NULL__null;
28100}
28101
28102
28103SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageFloat_type(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28104 PyObject *resultobj = 0;
28105 GFitsImageFloat *arg1 = (GFitsImageFloat *) 0 ;
28106 void *argp1 = 0 ;
28107 int res1 = 0 ;
28108 PyObject * obj0 = 0 ;
28109 int result;
28110
28111 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageFloat_type",&obj0)) SWIG_failgoto fail;
28112 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageFloat, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[11]
, 0 | 0, 0)
;
28113 if (!SWIG_IsOK(res1)(res1 >= 0)) {
28114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageFloat_type" "', argument " "1"" of type '" "GFitsImageFloat const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageFloat_type" "', argument "
"1"" of type '" "GFitsImageFloat const *""'"); goto fail; } while
(0)
;
28115 }
28116 arg1 = reinterpret_cast< GFitsImageFloat * >(argp1);
28117 {
28118 try {
28119 result = (int)((GFitsImageFloat const *)arg1)->type();
28120 }
28121 catch (const GException::out_of_range& e) {
28122 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
28123 }
28124 catch (const GExceptionHandler& e) {
28125 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28126 }
28127 catch (const std::exception& e) {
28128 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28129 }
28130 }
28131 resultobj = SWIG_From_int(static_cast< int >(result));
28132 return resultobj;
28133fail:
28134 return NULL__null;
28135}
28136
28137
28138SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageFloat___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28139 PyObject *resultobj = 0;
28140 GFitsImageFloat *arg1 = (GFitsImageFloat *) 0 ;
28141 int *arg2 ;
28142 void *argp1 = 0 ;
28143 int res1 = 0 ;
28144 int temp2[5] ;
28145 PyObject * obj0 = 0 ;
28146 PyObject * obj1 = 0 ;
28147 float result;
28148
28149 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsImageFloat___getitem__",&obj0,&obj1)) SWIG_failgoto fail;
28150 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageFloat, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[11]
, 0 | 0, 0)
;
28151 if (!SWIG_IsOK(res1)(res1 >= 0)) {
28152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageFloat___getitem__" "', argument " "1"" of type '" "GFitsImageFloat *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageFloat___getitem__"
"', argument " "1"" of type '" "GFitsImageFloat *""'"); goto
fail; } while(0)
;
28153 }
28154 arg1 = reinterpret_cast< GFitsImageFloat * >(argp1);
28155 {
28156 if (!image_pixel_tuple(obj1,temp2)) {
28157 return NULL__null;
28158 }
28159 arg2 = &temp2[0];
28160 }
28161 {
28162 try {
28163 result = (float)GFitsImageFloat___getitem__(arg1,arg2);
28164 }
28165 catch (const GException::out_of_range& e) {
28166 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
28167 }
28168 catch (const GExceptionHandler& e) {
28169 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28170 }
28171 catch (const std::exception& e) {
28172 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28173 }
28174 }
28175 resultobj = SWIG_From_float(static_cast< float >(result));
28176 return resultobj;
28177fail:
28178 return NULL__null;
28179}
28180
28181
28182SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageFloat___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28183 PyObject *resultobj = 0;
28184 GFitsImageFloat *arg1 = (GFitsImageFloat *) 0 ;
28185 int *arg2 ;
28186 float arg3 ;
28187 void *argp1 = 0 ;
28188 int res1 = 0 ;
28189 int temp2[5] ;
28190 float val3 ;
28191 int ecode3 = 0 ;
28192 PyObject * obj0 = 0 ;
28193 PyObject * obj1 = 0 ;
28194 PyObject * obj2 = 0 ;
28195
28196 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsImageFloat___setitem__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
28197 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageFloat, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[11]
, 0 | 0, 0)
;
28198 if (!SWIG_IsOK(res1)(res1 >= 0)) {
28199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageFloat___setitem__" "', argument " "1"" of type '" "GFitsImageFloat *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageFloat___setitem__"
"', argument " "1"" of type '" "GFitsImageFloat *""'"); goto
fail; } while(0)
;
28200 }
28201 arg1 = reinterpret_cast< GFitsImageFloat * >(argp1);
28202 {
28203 if (!image_pixel_tuple(obj1,temp2)) {
28204 return NULL__null;
28205 }
28206 arg2 = &temp2[0];
28207 }
28208 ecode3 = SWIG_AsVal_float(obj2, &val3);
28209 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
28210 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsImageFloat___setitem__" "', argument " "3"" of type '" "float""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsImageFloat___setitem__"
"', argument " "3"" of type '" "float""'"); goto fail; } while
(0)
;
28211 }
28212 arg3 = static_cast< float >(val3);
28213 {
28214 try {
28215 GFitsImageFloat___setitem__(arg1,arg2,arg3);
28216 }
28217 catch (const GException::out_of_range& e) {
28218 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
28219 }
28220 catch (const GExceptionHandler& e) {
28221 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28222 }
28223 catch (const std::exception& e) {
28224 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28225 }
28226 }
28227 resultobj = SWIG_Py_Void();
28228 return resultobj;
28229fail:
28230 return NULL__null;
28231}
28232
28233
28234SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageFloat_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28235 PyObject *resultobj = 0;
28236 GFitsImageFloat *arg1 = (GFitsImageFloat *) 0 ;
28237 void *argp1 = 0 ;
28238 int res1 = 0 ;
28239 PyObject * obj0 = 0 ;
28240 GFitsImageFloat result;
28241
28242 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageFloat_copy",&obj0)) SWIG_failgoto fail;
28243 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageFloat, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[11]
, 0 | 0, 0)
;
28244 if (!SWIG_IsOK(res1)(res1 >= 0)) {
28245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageFloat_copy" "', argument " "1"" of type '" "GFitsImageFloat *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageFloat_copy" "', argument "
"1"" of type '" "GFitsImageFloat *""'"); goto fail; } while(
0)
;
28246 }
28247 arg1 = reinterpret_cast< GFitsImageFloat * >(argp1);
28248 {
28249 try {
28250 result = GFitsImageFloat_copy(arg1);
28251 }
28252 catch (const GException::out_of_range& e) {
28253 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
28254 }
28255 catch (const GExceptionHandler& e) {
28256 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28257 }
28258 catch (const std::exception& e) {
28259 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28260 }
28261 }
28262 resultobj = SWIG_NewPointerObj((new GFitsImageFloat(static_cast< const GFitsImageFloat& >(result))), SWIGTYPE_p_GFitsImageFloat, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GFitsImageFloat(static_cast
< const GFitsImageFloat& >(result))), swig_types[11
], 0x1 | 0)
;
28263 return resultobj;
28264fail:
28265 return NULL__null;
28266}
28267
28268
28269SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GFitsImageFloat_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28270 PyObject *obj;
28271 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
28272 SWIG_TypeNewClientData(SWIGTYPE_p_GFitsImageFloatswig_types[11], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
28273 return SWIG_Py_Void();
28274}
28275
28276SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageDouble__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28277 PyObject *resultobj = 0;
28278 GFitsImageDouble *result = 0 ;
28279
28280 if (!PyArg_ParseTuple(args,(char *)":new_GFitsImageDouble")) SWIG_failgoto fail;
28281 {
28282 try {
28283 result = (GFitsImageDouble *)new GFitsImageDouble();
28284 }
28285 catch (const GException::out_of_range& e) {
28286 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
28287 }
28288 catch (const GExceptionHandler& e) {
28289 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28290 }
28291 catch (const std::exception& e) {
28292 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28293 }
28294 }
28295 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageDouble, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[10], (
(0x1 << 1) | 0x1) | 0)
;
28296 return resultobj;
28297fail:
28298 return NULL__null;
28299}
28300
28301
28302SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageDouble__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28303 PyObject *resultobj = 0;
28304 int *arg1 = 0 ;
28305 double *arg2 = (double *) 0 ;
28306 int temp1 ;
28307 int val1 ;
28308 int ecode1 = 0 ;
28309 void *argp2 = 0 ;
28310 int res2 = 0 ;
28311 PyObject * obj0 = 0 ;
28312 PyObject * obj1 = 0 ;
28313 GFitsImageDouble *result = 0 ;
28314
28315 if (!PyArg_ParseTuple(args,(char *)"OO:new_GFitsImageDouble",&obj0,&obj1)) SWIG_failgoto fail;
28316 ecode1 = SWIG_AsVal_int(obj0, &val1);
28317 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
28318 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageDouble" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageDouble" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
28319 }
28320 temp1 = static_cast< int >(val1);
28321 arg1 = &temp1;
28322 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_double, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[39]
, 0 | 0, 0)
;
28323 if (!SWIG_IsOK(res2)(res2 >= 0)) {
28324 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_GFitsImageDouble" "', argument " "2"" of type '" "double const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "new_GFitsImageDouble" "', argument "
"2"" of type '" "double const *""'"); goto fail; } while(0)
;
28325 }
28326 arg2 = reinterpret_cast< double * >(argp2);
28327 {
28328 try {
28329 result = (GFitsImageDouble *)new GFitsImageDouble((int const &)*arg1,(double const *)arg2);
28330 }
28331 catch (const GException::out_of_range& e) {
28332 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
28333 }
28334 catch (const GExceptionHandler& e) {
28335 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28336 }
28337 catch (const std::exception& e) {
28338 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28339 }
28340 }
28341 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageDouble, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[10], (
(0x1 << 1) | 0x1) | 0)
;
28342 return resultobj;
28343fail:
28344 return NULL__null;
28345}
28346
28347
28348SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageDouble__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28349 PyObject *resultobj = 0;
28350 int *arg1 = 0 ;
28351 int temp1 ;
28352 int val1 ;
28353 int ecode1 = 0 ;
28354 PyObject * obj0 = 0 ;
28355 GFitsImageDouble *result = 0 ;
28356
28357 if (!PyArg_ParseTuple(args,(char *)"O:new_GFitsImageDouble",&obj0)) SWIG_failgoto fail;
28358 ecode1 = SWIG_AsVal_int(obj0, &val1);
28359 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
28360 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageDouble" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageDouble" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
28361 }
28362 temp1 = static_cast< int >(val1);
28363 arg1 = &temp1;
28364 {
28365 try {
28366 result = (GFitsImageDouble *)new GFitsImageDouble((int const &)*arg1);
28367 }
28368 catch (const GException::out_of_range& e) {
28369 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
28370 }
28371 catch (const GExceptionHandler& e) {
28372 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28373 }
28374 catch (const std::exception& e) {
28375 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28376 }
28377 }
28378 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageDouble, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[10], (
(0x1 << 1) | 0x1) | 0)
;
28379 return resultobj;
28380fail:
28381 return NULL__null;
28382}
28383
28384
28385SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageDouble__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28386 PyObject *resultobj = 0;
28387 int *arg1 = 0 ;
28388 int *arg2 = 0 ;
28389 double *arg3 = (double *) 0 ;
28390 int temp1 ;
28391 int val1 ;
28392 int ecode1 = 0 ;
28393 int temp2 ;
28394 int val2 ;
28395 int ecode2 = 0 ;
28396 void *argp3 = 0 ;
28397 int res3 = 0 ;
28398 PyObject * obj0 = 0 ;
28399 PyObject * obj1 = 0 ;
28400 PyObject * obj2 = 0 ;
28401 GFitsImageDouble *result = 0 ;
28402
28403 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GFitsImageDouble",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
28404 ecode1 = SWIG_AsVal_int(obj0, &val1);
28405 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
28406 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageDouble" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageDouble" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
28407 }
28408 temp1 = static_cast< int >(val1);
28409 arg1 = &temp1;
28410 ecode2 = SWIG_AsVal_int(obj1, &val2);
28411 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
28412 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageDouble" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageDouble" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
28413 }
28414 temp2 = static_cast< int >(val2);
28415 arg2 = &temp2;
28416 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_double, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[39]
, 0 | 0, 0)
;
28417 if (!SWIG_IsOK(res3)(res3 >= 0)) {
28418 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_GFitsImageDouble" "', argument " "3"" of type '" "double const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "new_GFitsImageDouble" "', argument "
"3"" of type '" "double const *""'"); goto fail; } while(0)
;
28419 }
28420 arg3 = reinterpret_cast< double * >(argp3);
28421 {
28422 try {
28423 result = (GFitsImageDouble *)new GFitsImageDouble((int const &)*arg1,(int const &)*arg2,(double const *)arg3);
28424 }
28425 catch (const GException::out_of_range& e) {
28426 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
28427 }
28428 catch (const GExceptionHandler& e) {
28429 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28430 }
28431 catch (const std::exception& e) {
28432 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28433 }
28434 }
28435 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageDouble, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[10], (
(0x1 << 1) | 0x1) | 0)
;
28436 return resultobj;
28437fail:
28438 return NULL__null;
28439}
28440
28441
28442SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageDouble__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28443 PyObject *resultobj = 0;
28444 int *arg1 = 0 ;
28445 int *arg2 = 0 ;
28446 int temp1 ;
28447 int val1 ;
28448 int ecode1 = 0 ;
28449 int temp2 ;
28450 int val2 ;
28451 int ecode2 = 0 ;
28452 PyObject * obj0 = 0 ;
28453 PyObject * obj1 = 0 ;
28454 GFitsImageDouble *result = 0 ;
28455
28456 if (!PyArg_ParseTuple(args,(char *)"OO:new_GFitsImageDouble",&obj0,&obj1)) SWIG_failgoto fail;
28457 ecode1 = SWIG_AsVal_int(obj0, &val1);
28458 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
28459 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageDouble" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageDouble" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
28460 }
28461 temp1 = static_cast< int >(val1);
28462 arg1 = &temp1;
28463 ecode2 = SWIG_AsVal_int(obj1, &val2);
28464 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
28465 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageDouble" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageDouble" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
28466 }
28467 temp2 = static_cast< int >(val2);
28468 arg2 = &temp2;
28469 {
28470 try {
28471 result = (GFitsImageDouble *)new GFitsImageDouble((int const &)*arg1,(int const &)*arg2);
28472 }
28473 catch (const GException::out_of_range& e) {
28474 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
28475 }
28476 catch (const GExceptionHandler& e) {
28477 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28478 }
28479 catch (const std::exception& e) {
28480 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28481 }
28482 }
28483 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageDouble, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[10], (
(0x1 << 1) | 0x1) | 0)
;
28484 return resultobj;
28485fail:
28486 return NULL__null;
28487}
28488
28489
28490SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageDouble__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28491 PyObject *resultobj = 0;
28492 int *arg1 = 0 ;
28493 int *arg2 = 0 ;
28494 int *arg3 = 0 ;
28495 double *arg4 = (double *) 0 ;
28496 int temp1 ;
28497 int val1 ;
28498 int ecode1 = 0 ;
28499 int temp2 ;
28500 int val2 ;
28501 int ecode2 = 0 ;
28502 int temp3 ;
28503 int val3 ;
28504 int ecode3 = 0 ;
28505 void *argp4 = 0 ;
28506 int res4 = 0 ;
28507 PyObject * obj0 = 0 ;
28508 PyObject * obj1 = 0 ;
28509 PyObject * obj2 = 0 ;
28510 PyObject * obj3 = 0 ;
28511 GFitsImageDouble *result = 0 ;
28512
28513 if (!PyArg_ParseTuple(args,(char *)"OOOO:new_GFitsImageDouble",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
28514 ecode1 = SWIG_AsVal_int(obj0, &val1);
28515 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
28516 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageDouble" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageDouble" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
28517 }
28518 temp1 = static_cast< int >(val1);
28519 arg1 = &temp1;
28520 ecode2 = SWIG_AsVal_int(obj1, &val2);
28521 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
28522 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageDouble" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageDouble" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
28523 }
28524 temp2 = static_cast< int >(val2);
28525 arg2 = &temp2;
28526 ecode3 = SWIG_AsVal_int(obj2, &val3);
28527 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
28528 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsImageDouble" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsImageDouble" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
28529 }
28530 temp3 = static_cast< int >(val3);
28531 arg3 = &temp3;
28532 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_double, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj3, &argp4, swig_types[39]
, 0 | 0, 0)
;
28533 if (!SWIG_IsOK(res4)(res4 >= 0)) {
28534 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_GFitsImageDouble" "', argument " "4"" of type '" "double const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res4 != (
-1)) ? res4 : -5)), "in method '" "new_GFitsImageDouble" "', argument "
"4"" of type '" "double const *""'"); goto fail; } while(0)
;
28535 }
28536 arg4 = reinterpret_cast< double * >(argp4);
28537 {
28538 try {
28539 result = (GFitsImageDouble *)new GFitsImageDouble((int const &)*arg1,(int const &)*arg2,(int const &)*arg3,(double const *)arg4);
28540 }
28541 catch (const GException::out_of_range& e) {
28542 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
28543 }
28544 catch (const GExceptionHandler& e) {
28545 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28546 }
28547 catch (const std::exception& e) {
28548 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28549 }
28550 }
28551 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageDouble, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[10], (
(0x1 << 1) | 0x1) | 0)
;
28552 return resultobj;
28553fail:
28554 return NULL__null;
28555}
28556
28557
28558SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageDouble__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28559 PyObject *resultobj = 0;
28560 int *arg1 = 0 ;
28561 int *arg2 = 0 ;
28562 int *arg3 = 0 ;
28563 int temp1 ;
28564 int val1 ;
28565 int ecode1 = 0 ;
28566 int temp2 ;
28567 int val2 ;
28568 int ecode2 = 0 ;
28569 int temp3 ;
28570 int val3 ;
28571 int ecode3 = 0 ;
28572 PyObject * obj0 = 0 ;
28573 PyObject * obj1 = 0 ;
28574 PyObject * obj2 = 0 ;
28575 GFitsImageDouble *result = 0 ;
28576
28577 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GFitsImageDouble",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
28578 ecode1 = SWIG_AsVal_int(obj0, &val1);
28579 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
28580 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageDouble" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageDouble" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
28581 }
28582 temp1 = static_cast< int >(val1);
28583 arg1 = &temp1;
28584 ecode2 = SWIG_AsVal_int(obj1, &val2);
28585 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
28586 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageDouble" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageDouble" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
28587 }
28588 temp2 = static_cast< int >(val2);
28589 arg2 = &temp2;
28590 ecode3 = SWIG_AsVal_int(obj2, &val3);
28591 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
28592 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsImageDouble" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsImageDouble" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
28593 }
28594 temp3 = static_cast< int >(val3);
28595 arg3 = &temp3;
28596 {
28597 try {
28598 result = (GFitsImageDouble *)new GFitsImageDouble((int const &)*arg1,(int const &)*arg2,(int const &)*arg3);
28599 }
28600 catch (const GException::out_of_range& e) {
28601 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
28602 }
28603 catch (const GExceptionHandler& e) {
28604 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28605 }
28606 catch (const std::exception& e) {
28607 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28608 }
28609 }
28610 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageDouble, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[10], (
(0x1 << 1) | 0x1) | 0)
;
28611 return resultobj;
28612fail:
28613 return NULL__null;
28614}
28615
28616
28617SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageDouble__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28618 PyObject *resultobj = 0;
28619 int *arg1 = 0 ;
28620 int *arg2 = 0 ;
28621 int *arg3 = 0 ;
28622 int *arg4 = 0 ;
28623 double *arg5 = (double *) 0 ;
28624 int temp1 ;
28625 int val1 ;
28626 int ecode1 = 0 ;
28627 int temp2 ;
28628 int val2 ;
28629 int ecode2 = 0 ;
28630 int temp3 ;
28631 int val3 ;
28632 int ecode3 = 0 ;
28633 int temp4 ;
28634 int val4 ;
28635 int ecode4 = 0 ;
28636 void *argp5 = 0 ;
28637 int res5 = 0 ;
28638 PyObject * obj0 = 0 ;
28639 PyObject * obj1 = 0 ;
28640 PyObject * obj2 = 0 ;
28641 PyObject * obj3 = 0 ;
28642 PyObject * obj4 = 0 ;
28643 GFitsImageDouble *result = 0 ;
28644
28645 if (!PyArg_ParseTuple(args,(char *)"OOOOO:new_GFitsImageDouble",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_failgoto fail;
28646 ecode1 = SWIG_AsVal_int(obj0, &val1);
28647 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
28648 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageDouble" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageDouble" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
28649 }
28650 temp1 = static_cast< int >(val1);
28651 arg1 = &temp1;
28652 ecode2 = SWIG_AsVal_int(obj1, &val2);
28653 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
28654 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageDouble" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageDouble" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
28655 }
28656 temp2 = static_cast< int >(val2);
28657 arg2 = &temp2;
28658 ecode3 = SWIG_AsVal_int(obj2, &val3);
28659 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
28660 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsImageDouble" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsImageDouble" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
28661 }
28662 temp3 = static_cast< int >(val3);
28663 arg3 = &temp3;
28664 ecode4 = SWIG_AsVal_int(obj3, &val4);
28665 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
28666 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_GFitsImageDouble" "', argument " "4"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "new_GFitsImageDouble" "', argument "
"4"" of type '" "int""'"); goto fail; } while(0)
;
28667 }
28668 temp4 = static_cast< int >(val4);
28669 arg4 = &temp4;
28670 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_double, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj4, &argp5, swig_types[39]
, 0 | 0, 0)
;
28671 if (!SWIG_IsOK(res5)(res5 >= 0)) {
28672 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_GFitsImageDouble" "', argument " "5"" of type '" "double const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res5 != (
-1)) ? res5 : -5)), "in method '" "new_GFitsImageDouble" "', argument "
"5"" of type '" "double const *""'"); goto fail; } while(0)
;
28673 }
28674 arg5 = reinterpret_cast< double * >(argp5);
28675 {
28676 try {
28677 result = (GFitsImageDouble *)new GFitsImageDouble((int const &)*arg1,(int const &)*arg2,(int const &)*arg3,(int const &)*arg4,(double const *)arg5);
28678 }
28679 catch (const GException::out_of_range& e) {
28680 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
28681 }
28682 catch (const GExceptionHandler& e) {
28683 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28684 }
28685 catch (const std::exception& e) {
28686 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28687 }
28688 }
28689 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageDouble, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[10], (
(0x1 << 1) | 0x1) | 0)
;
28690 return resultobj;
28691fail:
28692 return NULL__null;
28693}
28694
28695
28696SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageDouble__SWIG_8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28697 PyObject *resultobj = 0;
28698 int *arg1 = 0 ;
28699 int *arg2 = 0 ;
28700 int *arg3 = 0 ;
28701 int *arg4 = 0 ;
28702 int temp1 ;
28703 int val1 ;
28704 int ecode1 = 0 ;
28705 int temp2 ;
28706 int val2 ;
28707 int ecode2 = 0 ;
28708 int temp3 ;
28709 int val3 ;
28710 int ecode3 = 0 ;
28711 int temp4 ;
28712 int val4 ;
28713 int ecode4 = 0 ;
28714 PyObject * obj0 = 0 ;
28715 PyObject * obj1 = 0 ;
28716 PyObject * obj2 = 0 ;
28717 PyObject * obj3 = 0 ;
28718 GFitsImageDouble *result = 0 ;
28719
28720 if (!PyArg_ParseTuple(args,(char *)"OOOO:new_GFitsImageDouble",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
28721 ecode1 = SWIG_AsVal_int(obj0, &val1);
28722 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
28723 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageDouble" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageDouble" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
28724 }
28725 temp1 = static_cast< int >(val1);
28726 arg1 = &temp1;
28727 ecode2 = SWIG_AsVal_int(obj1, &val2);
28728 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
28729 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsImageDouble" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsImageDouble" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
28730 }
28731 temp2 = static_cast< int >(val2);
28732 arg2 = &temp2;
28733 ecode3 = SWIG_AsVal_int(obj2, &val3);
28734 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
28735 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsImageDouble" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsImageDouble" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
28736 }
28737 temp3 = static_cast< int >(val3);
28738 arg3 = &temp3;
28739 ecode4 = SWIG_AsVal_int(obj3, &val4);
28740 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
28741 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_GFitsImageDouble" "', argument " "4"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "new_GFitsImageDouble" "', argument "
"4"" of type '" "int""'"); goto fail; } while(0)
;
28742 }
28743 temp4 = static_cast< int >(val4);
28744 arg4 = &temp4;
28745 {
28746 try {
28747 result = (GFitsImageDouble *)new GFitsImageDouble((int const &)*arg1,(int const &)*arg2,(int const &)*arg3,(int const &)*arg4);
28748 }
28749 catch (const GException::out_of_range& e) {
28750 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
28751 }
28752 catch (const GExceptionHandler& e) {
28753 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28754 }
28755 catch (const std::exception& e) {
28756 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28757 }
28758 }
28759 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageDouble, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[10], (
(0x1 << 1) | 0x1) | 0)
;
28760 return resultobj;
28761fail:
28762 return NULL__null;
28763}
28764
28765
28766SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageDouble__SWIG_9(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28767 PyObject *resultobj = 0;
28768 int *arg1 = 0 ;
28769 int *arg2 = (int *) 0 ;
28770 double *arg3 = (double *) 0 ;
28771 int temp1 ;
28772 int val1 ;
28773 int ecode1 = 0 ;
28774 void *argp2 = 0 ;
28775 int res2 = 0 ;
28776 void *argp3 = 0 ;
28777 int res3 = 0 ;
28778 PyObject * obj0 = 0 ;
28779 PyObject * obj1 = 0 ;
28780 PyObject * obj2 = 0 ;
28781 GFitsImageDouble *result = 0 ;
28782
28783 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GFitsImageDouble",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
28784 ecode1 = SWIG_AsVal_int(obj0, &val1);
28785 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
28786 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageDouble" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageDouble" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
28787 }
28788 temp1 = static_cast< int >(val1);
28789 arg1 = &temp1;
28790 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[41]
, 0 | 0, 0)
;
28791 if (!SWIG_IsOK(res2)(res2 >= 0)) {
28792 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_GFitsImageDouble" "', argument " "2"" of type '" "int const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "new_GFitsImageDouble" "', argument "
"2"" of type '" "int const *""'"); goto fail; } while(0)
;
28793 }
28794 arg2 = reinterpret_cast< int * >(argp2);
28795 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_double, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[39]
, 0 | 0, 0)
;
28796 if (!SWIG_IsOK(res3)(res3 >= 0)) {
28797 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_GFitsImageDouble" "', argument " "3"" of type '" "double const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "new_GFitsImageDouble" "', argument "
"3"" of type '" "double const *""'"); goto fail; } while(0)
;
28798 }
28799 arg3 = reinterpret_cast< double * >(argp3);
28800 {
28801 try {
28802 result = (GFitsImageDouble *)new GFitsImageDouble((int const &)*arg1,(int const *)arg2,(double const *)arg3);
28803 }
28804 catch (const GException::out_of_range& e) {
28805 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
28806 }
28807 catch (const GExceptionHandler& e) {
28808 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28809 }
28810 catch (const std::exception& e) {
28811 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28812 }
28813 }
28814 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageDouble, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[10], (
(0x1 << 1) | 0x1) | 0)
;
28815 return resultobj;
28816fail:
28817 return NULL__null;
28818}
28819
28820
28821SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageDouble__SWIG_10(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28822 PyObject *resultobj = 0;
28823 int *arg1 = 0 ;
28824 int *arg2 = (int *) 0 ;
28825 int temp1 ;
28826 int val1 ;
28827 int ecode1 = 0 ;
28828 void *argp2 = 0 ;
28829 int res2 = 0 ;
28830 PyObject * obj0 = 0 ;
28831 PyObject * obj1 = 0 ;
28832 GFitsImageDouble *result = 0 ;
28833
28834 if (!PyArg_ParseTuple(args,(char *)"OO:new_GFitsImageDouble",&obj0,&obj1)) SWIG_failgoto fail;
28835 ecode1 = SWIG_AsVal_int(obj0, &val1);
28836 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
28837 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsImageDouble" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsImageDouble" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
28838 }
28839 temp1 = static_cast< int >(val1);
28840 arg1 = &temp1;
28841 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[41]
, 0 | 0, 0)
;
28842 if (!SWIG_IsOK(res2)(res2 >= 0)) {
28843 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_GFitsImageDouble" "', argument " "2"" of type '" "int const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "new_GFitsImageDouble" "', argument "
"2"" of type '" "int const *""'"); goto fail; } while(0)
;
28844 }
28845 arg2 = reinterpret_cast< int * >(argp2);
28846 {
28847 try {
28848 result = (GFitsImageDouble *)new GFitsImageDouble((int const &)*arg1,(int const *)arg2);
28849 }
28850 catch (const GException::out_of_range& e) {
28851 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
28852 }
28853 catch (const GExceptionHandler& e) {
28854 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28855 }
28856 catch (const std::exception& e) {
28857 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28858 }
28859 }
28860 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageDouble, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[10], (
(0x1 << 1) | 0x1) | 0)
;
28861 return resultobj;
28862fail:
28863 return NULL__null;
28864}
28865
28866
28867SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageDouble__SWIG_11(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28868 PyObject *resultobj = 0;
28869 GFitsImageDouble *arg1 = 0 ;
28870 void *argp1 = 0 ;
28871 int res1 = 0 ;
28872 PyObject * obj0 = 0 ;
28873 GFitsImageDouble *result = 0 ;
28874
28875 if (!PyArg_ParseTuple(args,(char *)"O:new_GFitsImageDouble",&obj0)) SWIG_failgoto fail;
28876 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GFitsImageDouble, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[10]
, 0 | 0, 0)
;
28877 if (!SWIG_IsOK(res1)(res1 >= 0)) {
28878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsImageDouble" "', argument " "1"" of type '" "GFitsImageDouble const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsImageDouble" "', argument "
"1"" of type '" "GFitsImageDouble const &""'"); goto fail
; } while(0)
;
28879 }
28880 if (!argp1) {
28881 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsImageDouble" "', argument " "1"" of type '" "GFitsImageDouble const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsImageDouble" "', argument " "1"" of type '"
"GFitsImageDouble const &""'"); goto fail; } while(0)
;
28882 }
28883 arg1 = reinterpret_cast< GFitsImageDouble * >(argp1);
28884 {
28885 try {
28886 result = (GFitsImageDouble *)new GFitsImageDouble((GFitsImageDouble const &)*arg1);
28887 }
28888 catch (const GException::out_of_range& e) {
28889 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
28890 }
28891 catch (const GExceptionHandler& e) {
28892 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28893 }
28894 catch (const std::exception& e) {
28895 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
28896 }
28897 }
28898 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageDouble, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[10], (
(0x1 << 1) | 0x1) | 0)
;
28899 return resultobj;
28900fail:
28901 return NULL__null;
28902}
28903
28904
28905SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsImageDouble(PyObject *self, PyObject *args) {
28906 int argc;
28907 PyObject *argv[6];
28908 int ii;
28909
28910 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
28911 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
28912 for (ii = 0; (ii < 5) && (ii < argc); ii++) {
28913 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
28914 }
28915 if (argc == 0) {
28916 return _wrap_new_GFitsImageDouble__SWIG_0(self, args);
28917 }
28918 if (argc == 1) {
28919 int _v;
28920 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GFitsImageDouble, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[10], 0, 0
)
;
28921 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28922 if (_v) {
28923 return _wrap_new_GFitsImageDouble__SWIG_11(self, args);
28924 }
28925 }
28926 if (argc == 1) {
28927 int _v;
28928 {
28929 int res = SWIG_AsVal_int(argv[0], NULL__null);
28930 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28931 }
28932 if (_v) {
28933 return _wrap_new_GFitsImageDouble__SWIG_2(self, args);
28934 }
28935 }
28936 if (argc == 2) {
28937 int _v;
28938 {
28939 int res = SWIG_AsVal_int(argv[0], NULL__null);
28940 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28941 }
28942 if (_v) {
28943 void *vptr = 0;
28944 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[41
], 0, 0)
;
28945 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28946 if (_v) {
28947 return _wrap_new_GFitsImageDouble__SWIG_10(self, args);
28948 }
28949 }
28950 }
28951 if (argc == 2) {
28952 int _v;
28953 {
28954 int res = SWIG_AsVal_int(argv[0], NULL__null);
28955 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28956 }
28957 if (_v) {
28958 void *vptr = 0;
28959 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_double, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[39
], 0, 0)
;
28960 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28961 if (_v) {
28962 return _wrap_new_GFitsImageDouble__SWIG_1(self, args);
28963 }
28964 }
28965 }
28966 if (argc == 2) {
28967 int _v;
28968 {
28969 int res = SWIG_AsVal_int(argv[0], NULL__null);
28970 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28971 }
28972 if (_v) {
28973 {
28974 int res = SWIG_AsVal_int(argv[1], NULL__null);
28975 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28976 }
28977 if (_v) {
28978 return _wrap_new_GFitsImageDouble__SWIG_4(self, args);
28979 }
28980 }
28981 }
28982 if (argc == 3) {
28983 int _v;
28984 {
28985 int res = SWIG_AsVal_int(argv[0], NULL__null);
28986 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28987 }
28988 if (_v) {
28989 void *vptr = 0;
28990 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[41
], 0, 0)
;
28991 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28992 if (_v) {
28993 void *vptr = 0;
28994 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_double, 0)SWIG_Python_ConvertPtrAndOwn(argv[2], &vptr, swig_types[39
], 0, 0)
;
28995 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
28996 if (_v) {
28997 return _wrap_new_GFitsImageDouble__SWIG_9(self, args);
28998 }
28999 }
29000 }
29001 }
29002 if (argc == 3) {
29003 int _v;
29004 {
29005 int res = SWIG_AsVal_int(argv[0], NULL__null);
29006 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29007 }
29008 if (_v) {
29009 {
29010 int res = SWIG_AsVal_int(argv[1], NULL__null);
29011 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29012 }
29013 if (_v) {
29014 void *vptr = 0;
29015 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_double, 0)SWIG_Python_ConvertPtrAndOwn(argv[2], &vptr, swig_types[39
], 0, 0)
;
29016 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29017 if (_v) {
29018 return _wrap_new_GFitsImageDouble__SWIG_3(self, args);
29019 }
29020 }
29021 }
29022 }
29023 if (argc == 3) {
29024 int _v;
29025 {
29026 int res = SWIG_AsVal_int(argv[0], NULL__null);
29027 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29028 }
29029 if (_v) {
29030 {
29031 int res = SWIG_AsVal_int(argv[1], NULL__null);
29032 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29033 }
29034 if (_v) {
29035 {
29036 int res = SWIG_AsVal_int(argv[2], NULL__null);
29037 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29038 }
29039 if (_v) {
29040 return _wrap_new_GFitsImageDouble__SWIG_6(self, args);
29041 }
29042 }
29043 }
29044 }
29045 if (argc == 4) {
29046 int _v;
29047 {
29048 int res = SWIG_AsVal_int(argv[0], NULL__null);
29049 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29050 }
29051 if (_v) {
29052 {
29053 int res = SWIG_AsVal_int(argv[1], NULL__null);
29054 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29055 }
29056 if (_v) {
29057 {
29058 int res = SWIG_AsVal_int(argv[2], NULL__null);
29059 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29060 }
29061 if (_v) {
29062 void *vptr = 0;
29063 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_double, 0)SWIG_Python_ConvertPtrAndOwn(argv[3], &vptr, swig_types[39
], 0, 0)
;
29064 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29065 if (_v) {
29066 return _wrap_new_GFitsImageDouble__SWIG_5(self, args);
29067 }
29068 }
29069 }
29070 }
29071 }
29072 if (argc == 4) {
29073 int _v;
29074 {
29075 int res = SWIG_AsVal_int(argv[0], NULL__null);
29076 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29077 }
29078 if (_v) {
29079 {
29080 int res = SWIG_AsVal_int(argv[1], NULL__null);
29081 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29082 }
29083 if (_v) {
29084 {
29085 int res = SWIG_AsVal_int(argv[2], NULL__null);
29086 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29087 }
29088 if (_v) {
29089 {
29090 int res = SWIG_AsVal_int(argv[3], NULL__null);
29091 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29092 }
29093 if (_v) {
29094 return _wrap_new_GFitsImageDouble__SWIG_8(self, args);
29095 }
29096 }
29097 }
29098 }
29099 }
29100 if (argc == 5) {
29101 int _v;
29102 {
29103 int res = SWIG_AsVal_int(argv[0], NULL__null);
29104 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29105 }
29106 if (_v) {
29107 {
29108 int res = SWIG_AsVal_int(argv[1], NULL__null);
29109 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29110 }
29111 if (_v) {
29112 {
29113 int res = SWIG_AsVal_int(argv[2], NULL__null);
29114 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29115 }
29116 if (_v) {
29117 {
29118 int res = SWIG_AsVal_int(argv[3], NULL__null);
29119 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29120 }
29121 if (_v) {
29122 void *vptr = 0;
29123 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_double, 0)SWIG_Python_ConvertPtrAndOwn(argv[4], &vptr, swig_types[39
], 0, 0)
;
29124 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29125 if (_v) {
29126 return _wrap_new_GFitsImageDouble__SWIG_7(self, args);
29127 }
29128 }
29129 }
29130 }
29131 }
29132 }
29133
29134fail:
29135 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GFitsImageDouble'.\n"
29136 " Possible C/C++ prototypes are:\n"
29137 " GFitsImageDouble::GFitsImageDouble()\n"
29138 " GFitsImageDouble::GFitsImageDouble(int const &,double const *)\n"
29139 " GFitsImageDouble::GFitsImageDouble(int const &)\n"
29140 " GFitsImageDouble::GFitsImageDouble(int const &,int const &,double const *)\n"
29141 " GFitsImageDouble::GFitsImageDouble(int const &,int const &)\n"
29142 " GFitsImageDouble::GFitsImageDouble(int const &,int const &,int const &,double const *)\n"
29143 " GFitsImageDouble::GFitsImageDouble(int const &,int const &,int const &)\n"
29144 " GFitsImageDouble::GFitsImageDouble(int const &,int const &,int const &,int const &,double const *)\n"
29145 " GFitsImageDouble::GFitsImageDouble(int const &,int const &,int const &,int const &)\n"
29146 " GFitsImageDouble::GFitsImageDouble(int const &,int const *,double const *)\n"
29147 " GFitsImageDouble::GFitsImageDouble(int const &,int const *)\n"
29148 " GFitsImageDouble::GFitsImageDouble(GFitsImageDouble const &)\n");
29149 return 0;
29150}
29151
29152
29153SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GFitsImageDouble(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29154 PyObject *resultobj = 0;
29155 GFitsImageDouble *arg1 = (GFitsImageDouble *) 0 ;
29156 void *argp1 = 0 ;
29157 int res1 = 0 ;
29158 PyObject * obj0 = 0 ;
29159
29160 if (!PyArg_ParseTuple(args,(char *)"O:delete_GFitsImageDouble",&obj0)) SWIG_failgoto fail;
29161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageDouble, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[10]
, 0x1 | 0, 0)
;
29162 if (!SWIG_IsOK(res1)(res1 >= 0)) {
29163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GFitsImageDouble" "', argument " "1"" of type '" "GFitsImageDouble *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GFitsImageDouble" "', argument "
"1"" of type '" "GFitsImageDouble *""'"); goto fail; } while
(0)
;
29164 }
29165 arg1 = reinterpret_cast< GFitsImageDouble * >(argp1);
29166 {
29167 try {
29168 delete arg1;
29169 }
29170 catch (const GException::out_of_range& e) {
29171 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
29172 }
29173 catch (const GExceptionHandler& e) {
29174 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29175 }
29176 catch (const std::exception& e) {
29177 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29178 }
29179 }
29180 resultobj = SWIG_Py_Void();
29181 return resultobj;
29182fail:
29183 return NULL__null;
29184}
29185
29186
29187SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageDouble_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29188 PyObject *resultobj = 0;
29189 GFitsImageDouble *arg1 = (GFitsImageDouble *) 0 ;
29190 void *argp1 = 0 ;
29191 int res1 = 0 ;
29192 PyObject * obj0 = 0 ;
29193
29194 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageDouble_clear",&obj0)) SWIG_failgoto fail;
29195 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageDouble, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[10]
, 0 | 0, 0)
;
29196 if (!SWIG_IsOK(res1)(res1 >= 0)) {
29197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageDouble_clear" "', argument " "1"" of type '" "GFitsImageDouble *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageDouble_clear" "', argument "
"1"" of type '" "GFitsImageDouble *""'"); goto fail; } while
(0)
;
29198 }
29199 arg1 = reinterpret_cast< GFitsImageDouble * >(argp1);
29200 {
29201 try {
29202 (arg1)->clear();
29203 }
29204 catch (const GException::out_of_range& e) {
29205 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
29206 }
29207 catch (const GExceptionHandler& e) {
29208 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29209 }
29210 catch (const std::exception& e) {
29211 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29212 }
29213 }
29214 resultobj = SWIG_Py_Void();
29215 return resultobj;
29216fail:
29217 return NULL__null;
29218}
29219
29220
29221SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageDouble_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29222 PyObject *resultobj = 0;
29223 GFitsImageDouble *arg1 = (GFitsImageDouble *) 0 ;
29224 void *argp1 = 0 ;
29225 int res1 = 0 ;
29226 PyObject * obj0 = 0 ;
29227 GFitsImageDouble *result = 0 ;
29228
29229 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageDouble_clone",&obj0)) SWIG_failgoto fail;
29230 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageDouble, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[10]
, 0 | 0, 0)
;
29231 if (!SWIG_IsOK(res1)(res1 >= 0)) {
29232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageDouble_clone" "', argument " "1"" of type '" "GFitsImageDouble const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageDouble_clone" "', argument "
"1"" of type '" "GFitsImageDouble const *""'"); goto fail; }
while(0)
;
29233 }
29234 arg1 = reinterpret_cast< GFitsImageDouble * >(argp1);
29235 {
29236 try {
29237 result = (GFitsImageDouble *)((GFitsImageDouble const *)arg1)->clone();
29238 }
29239 catch (const GException::out_of_range& e) {
29240 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
29241 }
29242 catch (const GExceptionHandler& e) {
29243 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29244 }
29245 catch (const std::exception& e) {
29246 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29247 }
29248 }
29249 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsImageDouble, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[10], 0
| 0)
;
29250 return resultobj;
29251fail:
29252 return NULL__null;
29253}
29254
29255
29256SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageDouble_pixel__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29257 PyObject *resultobj = 0;
29258 GFitsImageDouble *arg1 = (GFitsImageDouble *) 0 ;
29259 int *arg2 = 0 ;
29260 void *argp1 = 0 ;
29261 int res1 = 0 ;
29262 int temp2 ;
29263 int val2 ;
29264 int ecode2 = 0 ;
29265 PyObject * obj0 = 0 ;
29266 PyObject * obj1 = 0 ;
29267 double result;
29268
29269 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsImageDouble_pixel",&obj0,&obj1)) SWIG_failgoto fail;
29270 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageDouble, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[10]
, 0 | 0, 0)
;
29271 if (!SWIG_IsOK(res1)(res1 >= 0)) {
29272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageDouble_pixel" "', argument " "1"" of type '" "GFitsImageDouble const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageDouble_pixel" "', argument "
"1"" of type '" "GFitsImageDouble const *""'"); goto fail; }
while(0)
;
29273 }
29274 arg1 = reinterpret_cast< GFitsImageDouble * >(argp1);
29275 ecode2 = SWIG_AsVal_int(obj1, &val2);
29276 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
29277 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsImageDouble_pixel" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsImageDouble_pixel"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
29278 }
29279 temp2 = static_cast< int >(val2);
29280 arg2 = &temp2;
29281 {
29282 try {
29283 result = (double)((GFitsImageDouble const *)arg1)->pixel((int const &)*arg2);
29284 }
29285 catch (const GException::out_of_range& e) {
29286 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
29287 }
29288 catch (const GExceptionHandler& e) {
29289 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29290 }
29291 catch (const std::exception& e) {
29292 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29293 }
29294 }
29295 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
29296 return resultobj;
29297fail:
29298 return NULL__null;
29299}
29300
29301
29302SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageDouble_pixel__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29303 PyObject *resultobj = 0;
29304 GFitsImageDouble *arg1 = (GFitsImageDouble *) 0 ;
29305 int *arg2 = 0 ;
29306 int *arg3 = 0 ;
29307 void *argp1 = 0 ;
29308 int res1 = 0 ;
29309 int temp2 ;
29310 int val2 ;
29311 int ecode2 = 0 ;
29312 int temp3 ;
29313 int val3 ;
29314 int ecode3 = 0 ;
29315 PyObject * obj0 = 0 ;
29316 PyObject * obj1 = 0 ;
29317 PyObject * obj2 = 0 ;
29318 double result;
29319
29320 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsImageDouble_pixel",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
29321 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageDouble, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[10]
, 0 | 0, 0)
;
29322 if (!SWIG_IsOK(res1)(res1 >= 0)) {
29323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageDouble_pixel" "', argument " "1"" of type '" "GFitsImageDouble const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageDouble_pixel" "', argument "
"1"" of type '" "GFitsImageDouble const *""'"); goto fail; }
while(0)
;
29324 }
29325 arg1 = reinterpret_cast< GFitsImageDouble * >(argp1);
29326 ecode2 = SWIG_AsVal_int(obj1, &val2);
29327 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
29328 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsImageDouble_pixel" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsImageDouble_pixel"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
29329 }
29330 temp2 = static_cast< int >(val2);
29331 arg2 = &temp2;
29332 ecode3 = SWIG_AsVal_int(obj2, &val3);
29333 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
29334 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsImageDouble_pixel" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsImageDouble_pixel"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
29335 }
29336 temp3 = static_cast< int >(val3);
29337 arg3 = &temp3;
29338 {
29339 try {
29340 result = (double)((GFitsImageDouble const *)arg1)->pixel((int const &)*arg2,(int const &)*arg3);
29341 }
29342 catch (const GException::out_of_range& e) {
29343 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
29344 }
29345 catch (const GExceptionHandler& e) {
29346 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29347 }
29348 catch (const std::exception& e) {
29349 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29350 }
29351 }
29352 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
29353 return resultobj;
29354fail:
29355 return NULL__null;
29356}
29357
29358
29359SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageDouble_pixel__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29360 PyObject *resultobj = 0;
29361 GFitsImageDouble *arg1 = (GFitsImageDouble *) 0 ;
29362 int *arg2 = 0 ;
29363 int *arg3 = 0 ;
29364 int *arg4 = 0 ;
29365 void *argp1 = 0 ;
29366 int res1 = 0 ;
29367 int temp2 ;
29368 int val2 ;
29369 int ecode2 = 0 ;
29370 int temp3 ;
29371 int val3 ;
29372 int ecode3 = 0 ;
29373 int temp4 ;
29374 int val4 ;
29375 int ecode4 = 0 ;
29376 PyObject * obj0 = 0 ;
29377 PyObject * obj1 = 0 ;
29378 PyObject * obj2 = 0 ;
29379 PyObject * obj3 = 0 ;
29380 double result;
29381
29382 if (!PyArg_ParseTuple(args,(char *)"OOOO:GFitsImageDouble_pixel",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
29383 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageDouble, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[10]
, 0 | 0, 0)
;
29384 if (!SWIG_IsOK(res1)(res1 >= 0)) {
29385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageDouble_pixel" "', argument " "1"" of type '" "GFitsImageDouble const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageDouble_pixel" "', argument "
"1"" of type '" "GFitsImageDouble const *""'"); goto fail; }
while(0)
;
29386 }
29387 arg1 = reinterpret_cast< GFitsImageDouble * >(argp1);
29388 ecode2 = SWIG_AsVal_int(obj1, &val2);
29389 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
29390 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsImageDouble_pixel" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsImageDouble_pixel"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
29391 }
29392 temp2 = static_cast< int >(val2);
29393 arg2 = &temp2;
29394 ecode3 = SWIG_AsVal_int(obj2, &val3);
29395 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
29396 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsImageDouble_pixel" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsImageDouble_pixel"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
29397 }
29398 temp3 = static_cast< int >(val3);
29399 arg3 = &temp3;
29400 ecode4 = SWIG_AsVal_int(obj3, &val4);
29401 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
29402 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GFitsImageDouble_pixel" "', argument " "4"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GFitsImageDouble_pixel"
"', argument " "4"" of type '" "int""'"); goto fail; } while
(0)
;
29403 }
29404 temp4 = static_cast< int >(val4);
29405 arg4 = &temp4;
29406 {
29407 try {
29408 result = (double)((GFitsImageDouble const *)arg1)->pixel((int const &)*arg2,(int const &)*arg3,(int const &)*arg4);
29409 }
29410 catch (const GException::out_of_range& e) {
29411 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
29412 }
29413 catch (const GExceptionHandler& e) {
29414 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29415 }
29416 catch (const std::exception& e) {
29417 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29418 }
29419 }
29420 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
29421 return resultobj;
29422fail:
29423 return NULL__null;
29424}
29425
29426
29427SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageDouble_pixel__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29428 PyObject *resultobj = 0;
29429 GFitsImageDouble *arg1 = (GFitsImageDouble *) 0 ;
29430 int *arg2 = 0 ;
29431 int *arg3 = 0 ;
29432 int *arg4 = 0 ;
29433 int *arg5 = 0 ;
29434 void *argp1 = 0 ;
29435 int res1 = 0 ;
29436 int temp2 ;
29437 int val2 ;
29438 int ecode2 = 0 ;
29439 int temp3 ;
29440 int val3 ;
29441 int ecode3 = 0 ;
29442 int temp4 ;
29443 int val4 ;
29444 int ecode4 = 0 ;
29445 int temp5 ;
29446 int val5 ;
29447 int ecode5 = 0 ;
29448 PyObject * obj0 = 0 ;
29449 PyObject * obj1 = 0 ;
29450 PyObject * obj2 = 0 ;
29451 PyObject * obj3 = 0 ;
29452 PyObject * obj4 = 0 ;
29453 double result;
29454
29455 if (!PyArg_ParseTuple(args,(char *)"OOOOO:GFitsImageDouble_pixel",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_failgoto fail;
29456 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageDouble, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[10]
, 0 | 0, 0)
;
29457 if (!SWIG_IsOK(res1)(res1 >= 0)) {
29458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageDouble_pixel" "', argument " "1"" of type '" "GFitsImageDouble const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageDouble_pixel" "', argument "
"1"" of type '" "GFitsImageDouble const *""'"); goto fail; }
while(0)
;
29459 }
29460 arg1 = reinterpret_cast< GFitsImageDouble * >(argp1);
29461 ecode2 = SWIG_AsVal_int(obj1, &val2);
29462 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
29463 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsImageDouble_pixel" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsImageDouble_pixel"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
29464 }
29465 temp2 = static_cast< int >(val2);
29466 arg2 = &temp2;
29467 ecode3 = SWIG_AsVal_int(obj2, &val3);
29468 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
29469 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsImageDouble_pixel" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsImageDouble_pixel"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
29470 }
29471 temp3 = static_cast< int >(val3);
29472 arg3 = &temp3;
29473 ecode4 = SWIG_AsVal_int(obj3, &val4);
29474 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
29475 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GFitsImageDouble_pixel" "', argument " "4"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "GFitsImageDouble_pixel"
"', argument " "4"" of type '" "int""'"); goto fail; } while
(0)
;
29476 }
29477 temp4 = static_cast< int >(val4);
29478 arg4 = &temp4;
29479 ecode5 = SWIG_AsVal_int(obj4, &val5);
29480 if (!SWIG_IsOK(ecode5)(ecode5 >= 0)) {
29481 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "GFitsImageDouble_pixel" "', argument " "5"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode5 !=
(-1)) ? ecode5 : -5)), "in method '" "GFitsImageDouble_pixel"
"', argument " "5"" of type '" "int""'"); goto fail; } while
(0)
;
29482 }
29483 temp5 = static_cast< int >(val5);
29484 arg5 = &temp5;
29485 {
29486 try {
29487 result = (double)((GFitsImageDouble const *)arg1)->pixel((int const &)*arg2,(int const &)*arg3,(int const &)*arg4,(int const &)*arg5);
29488 }
29489 catch (const GException::out_of_range& e) {
29490 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
29491 }
29492 catch (const GExceptionHandler& e) {
29493 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29494 }
29495 catch (const std::exception& e) {
29496 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29497 }
29498 }
29499 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
29500 return resultobj;
29501fail:
29502 return NULL__null;
29503}
29504
29505
29506SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageDouble_pixel(PyObject *self, PyObject *args) {
29507 int argc;
29508 PyObject *argv[6];
29509 int ii;
29510
29511 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
29512 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
29513 for (ii = 0; (ii < 5) && (ii < argc); ii++) {
29514 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
29515 }
29516 if (argc == 2) {
29517 int _v;
29518 void *vptr = 0;
29519 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsImageDouble, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[10
], 0, 0)
;
29520 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29521 if (_v) {
29522 {
29523 int res = SWIG_AsVal_int(argv[1], NULL__null);
29524 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29525 }
29526 if (_v) {
29527 return _wrap_GFitsImageDouble_pixel__SWIG_0(self, args);
29528 }
29529 }
29530 }
29531 if (argc == 3) {
29532 int _v;
29533 void *vptr = 0;
29534 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsImageDouble, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[10
], 0, 0)
;
29535 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29536 if (_v) {
29537 {
29538 int res = SWIG_AsVal_int(argv[1], NULL__null);
29539 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29540 }
29541 if (_v) {
29542 {
29543 int res = SWIG_AsVal_int(argv[2], NULL__null);
29544 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29545 }
29546 if (_v) {
29547 return _wrap_GFitsImageDouble_pixel__SWIG_1(self, args);
29548 }
29549 }
29550 }
29551 }
29552 if (argc == 4) {
29553 int _v;
29554 void *vptr = 0;
29555 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsImageDouble, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[10
], 0, 0)
;
29556 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29557 if (_v) {
29558 {
29559 int res = SWIG_AsVal_int(argv[1], NULL__null);
29560 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29561 }
29562 if (_v) {
29563 {
29564 int res = SWIG_AsVal_int(argv[2], NULL__null);
29565 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29566 }
29567 if (_v) {
29568 {
29569 int res = SWIG_AsVal_int(argv[3], NULL__null);
29570 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29571 }
29572 if (_v) {
29573 return _wrap_GFitsImageDouble_pixel__SWIG_2(self, args);
29574 }
29575 }
29576 }
29577 }
29578 }
29579 if (argc == 5) {
29580 int _v;
29581 void *vptr = 0;
29582 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsImageDouble, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[10
], 0, 0)
;
29583 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29584 if (_v) {
29585 {
29586 int res = SWIG_AsVal_int(argv[1], NULL__null);
29587 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29588 }
29589 if (_v) {
29590 {
29591 int res = SWIG_AsVal_int(argv[2], NULL__null);
29592 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29593 }
29594 if (_v) {
29595 {
29596 int res = SWIG_AsVal_int(argv[3], NULL__null);
29597 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29598 }
29599 if (_v) {
29600 {
29601 int res = SWIG_AsVal_int(argv[4], NULL__null);
29602 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
29603 }
29604 if (_v) {
29605 return _wrap_GFitsImageDouble_pixel__SWIG_3(self, args);
29606 }
29607 }
29608 }
29609 }
29610 }
29611 }
29612
29613fail:
29614 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsImageDouble_pixel'.\n"
29615 " Possible C/C++ prototypes are:\n"
29616 " GFitsImageDouble::pixel(int const &) const\n"
29617 " GFitsImageDouble::pixel(int const &,int const &) const\n"
29618 " GFitsImageDouble::pixel(int const &,int const &,int const &) const\n"
29619 " GFitsImageDouble::pixel(int const &,int const &,int const &,int const &) const\n");
29620 return 0;
29621}
29622
29623
29624SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageDouble_pixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29625 PyObject *resultobj = 0;
29626 GFitsImageDouble *arg1 = (GFitsImageDouble *) 0 ;
29627 void *argp1 = 0 ;
29628 int res1 = 0 ;
29629 PyObject * obj0 = 0 ;
29630 void *result = 0 ;
29631
29632 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageDouble_pixels",&obj0)) SWIG_failgoto fail;
29633 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageDouble, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[10]
, 0 | 0, 0)
;
29634 if (!SWIG_IsOK(res1)(res1 >= 0)) {
29635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageDouble_pixels" "', argument " "1"" of type '" "GFitsImageDouble *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageDouble_pixels" "', argument "
"1"" of type '" "GFitsImageDouble *""'"); goto fail; } while
(0)
;
29636 }
29637 arg1 = reinterpret_cast< GFitsImageDouble * >(argp1);
29638 {
29639 try {
29640 result = (void *)(arg1)->pixels();
29641 }
29642 catch (const GException::out_of_range& e) {
29643 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
29644 }
29645 catch (const GExceptionHandler& e) {
29646 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29647 }
29648 catch (const std::exception& e) {
29649 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29650 }
29651 }
29652 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[57], 0
| 0)
;
29653 return resultobj;
29654fail:
29655 return NULL__null;
29656}
29657
29658
29659SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageDouble_type(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29660 PyObject *resultobj = 0;
29661 GFitsImageDouble *arg1 = (GFitsImageDouble *) 0 ;
29662 void *argp1 = 0 ;
29663 int res1 = 0 ;
29664 PyObject * obj0 = 0 ;
29665 int result;
29666
29667 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageDouble_type",&obj0)) SWIG_failgoto fail;
29668 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageDouble, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[10]
, 0 | 0, 0)
;
29669 if (!SWIG_IsOK(res1)(res1 >= 0)) {
29670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageDouble_type" "', argument " "1"" of type '" "GFitsImageDouble const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageDouble_type" "', argument "
"1"" of type '" "GFitsImageDouble const *""'"); goto fail; }
while(0)
;
29671 }
29672 arg1 = reinterpret_cast< GFitsImageDouble * >(argp1);
29673 {
29674 try {
29675 result = (int)((GFitsImageDouble const *)arg1)->type();
29676 }
29677 catch (const GException::out_of_range& e) {
29678 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
29679 }
29680 catch (const GExceptionHandler& e) {
29681 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29682 }
29683 catch (const std::exception& e) {
29684 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29685 }
29686 }
29687 resultobj = SWIG_From_int(static_cast< int >(result));
29688 return resultobj;
29689fail:
29690 return NULL__null;
29691}
29692
29693
29694SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageDouble___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29695 PyObject *resultobj = 0;
29696 GFitsImageDouble *arg1 = (GFitsImageDouble *) 0 ;
29697 int *arg2 ;
29698 void *argp1 = 0 ;
29699 int res1 = 0 ;
29700 int temp2[5] ;
29701 PyObject * obj0 = 0 ;
29702 PyObject * obj1 = 0 ;
29703 double result;
29704
29705 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsImageDouble___getitem__",&obj0,&obj1)) SWIG_failgoto fail;
29706 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageDouble, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[10]
, 0 | 0, 0)
;
29707 if (!SWIG_IsOK(res1)(res1 >= 0)) {
29708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageDouble___getitem__" "', argument " "1"" of type '" "GFitsImageDouble *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageDouble___getitem__"
"', argument " "1"" of type '" "GFitsImageDouble *""'"); goto
fail; } while(0)
;
29709 }
29710 arg1 = reinterpret_cast< GFitsImageDouble * >(argp1);
29711 {
29712 if (!image_pixel_tuple(obj1,temp2)) {
29713 return NULL__null;
29714 }
29715 arg2 = &temp2[0];
29716 }
29717 {
29718 try {
29719 result = (double)GFitsImageDouble___getitem__(arg1,arg2);
29720 }
29721 catch (const GException::out_of_range& e) {
29722 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
29723 }
29724 catch (const GExceptionHandler& e) {
29725 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29726 }
29727 catch (const std::exception& e) {
29728 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29729 }
29730 }
29731 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
29732 return resultobj;
29733fail:
29734 return NULL__null;
29735}
29736
29737
29738SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageDouble___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29739 PyObject *resultobj = 0;
29740 GFitsImageDouble *arg1 = (GFitsImageDouble *) 0 ;
29741 int *arg2 ;
29742 double arg3 ;
29743 void *argp1 = 0 ;
29744 int res1 = 0 ;
29745 int temp2[5] ;
29746 double val3 ;
29747 int ecode3 = 0 ;
29748 PyObject * obj0 = 0 ;
29749 PyObject * obj1 = 0 ;
29750 PyObject * obj2 = 0 ;
29751
29752 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsImageDouble___setitem__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
29753 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageDouble, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[10]
, 0 | 0, 0)
;
29754 if (!SWIG_IsOK(res1)(res1 >= 0)) {
29755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageDouble___setitem__" "', argument " "1"" of type '" "GFitsImageDouble *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageDouble___setitem__"
"', argument " "1"" of type '" "GFitsImageDouble *""'"); goto
fail; } while(0)
;
29756 }
29757 arg1 = reinterpret_cast< GFitsImageDouble * >(argp1);
29758 {
29759 if (!image_pixel_tuple(obj1,temp2)) {
29760 return NULL__null;
29761 }
29762 arg2 = &temp2[0];
29763 }
29764 ecode3 = SWIG_AsVal_double(obj2, &val3);
29765 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
29766 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsImageDouble___setitem__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsImageDouble___setitem__"
"', argument " "3"" of type '" "double""'"); goto fail; } while
(0)
;
29767 }
29768 arg3 = static_cast< double >(val3);
29769 {
29770 try {
29771 GFitsImageDouble___setitem__(arg1,arg2,arg3);
29772 }
29773 catch (const GException::out_of_range& e) {
29774 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
29775 }
29776 catch (const GExceptionHandler& e) {
29777 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29778 }
29779 catch (const std::exception& e) {
29780 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29781 }
29782 }
29783 resultobj = SWIG_Py_Void();
29784 return resultobj;
29785fail:
29786 return NULL__null;
29787}
29788
29789
29790SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsImageDouble_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29791 PyObject *resultobj = 0;
29792 GFitsImageDouble *arg1 = (GFitsImageDouble *) 0 ;
29793 void *argp1 = 0 ;
29794 int res1 = 0 ;
29795 PyObject * obj0 = 0 ;
29796 GFitsImageDouble result;
29797
29798 if (!PyArg_ParseTuple(args,(char *)"O:GFitsImageDouble_copy",&obj0)) SWIG_failgoto fail;
29799 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsImageDouble, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[10]
, 0 | 0, 0)
;
29800 if (!SWIG_IsOK(res1)(res1 >= 0)) {
29801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsImageDouble_copy" "', argument " "1"" of type '" "GFitsImageDouble *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsImageDouble_copy" "', argument "
"1"" of type '" "GFitsImageDouble *""'"); goto fail; } while
(0)
;
29802 }
29803 arg1 = reinterpret_cast< GFitsImageDouble * >(argp1);
29804 {
29805 try {
29806 result = GFitsImageDouble_copy(arg1);
29807 }
29808 catch (const GException::out_of_range& e) {
29809 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
29810 }
29811 catch (const GExceptionHandler& e) {
29812 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29813 }
29814 catch (const std::exception& e) {
29815 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29816 }
29817 }
29818 resultobj = SWIG_NewPointerObj((new GFitsImageDouble(static_cast< const GFitsImageDouble& >(result))), SWIGTYPE_p_GFitsImageDouble, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GFitsImageDouble(static_cast
< const GFitsImageDouble& >(result))), swig_types[10
], 0x1 | 0)
;
29819 return resultobj;
29820fail:
29821 return NULL__null;
29822}
29823
29824
29825SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GFitsImageDouble_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29826 PyObject *obj;
29827 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
29828 SWIG_TypeNewClientData(SWIGTYPE_p_GFitsImageDoubleswig_types[10], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
29829 return SWIG_Py_Void();
29830}
29831
29832SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GFitsTable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29833 PyObject *resultobj = 0;
29834 GFitsTable *arg1 = (GFitsTable *) 0 ;
29835 void *argp1 = 0 ;
29836 int res1 = 0 ;
29837 PyObject * obj0 = 0 ;
29838
29839 if (!PyArg_ParseTuple(args,(char *)"O:delete_GFitsTable",&obj0)) SWIG_failgoto fail;
29840 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTable, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[18]
, 0x1 | 0, 0)
;
29841 if (!SWIG_IsOK(res1)(res1 >= 0)) {
29842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GFitsTable" "', argument " "1"" of type '" "GFitsTable *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GFitsTable" "', argument "
"1"" of type '" "GFitsTable *""'"); goto fail; } while(0)
;
29843 }
29844 arg1 = reinterpret_cast< GFitsTable * >(argp1);
29845 {
29846 try {
29847 delete arg1;
29848 }
29849 catch (const GException::out_of_range& e) {
29850 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
29851 }
29852 catch (const GExceptionHandler& e) {
29853 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29854 }
29855 catch (const std::exception& e) {
29856 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29857 }
29858 }
29859 resultobj = SWIG_Py_Void();
29860 return resultobj;
29861fail:
29862 return NULL__null;
29863}
29864
29865
29866SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTable_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29867 PyObject *resultobj = 0;
29868 GFitsTable *arg1 = (GFitsTable *) 0 ;
29869 void *argp1 = 0 ;
29870 int res1 = 0 ;
29871 PyObject * obj0 = 0 ;
29872
29873 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTable_clear",&obj0)) SWIG_failgoto fail;
29874 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[18]
, 0 | 0, 0)
;
29875 if (!SWIG_IsOK(res1)(res1 >= 0)) {
29876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTable_clear" "', argument " "1"" of type '" "GFitsTable *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTable_clear" "', argument "
"1"" of type '" "GFitsTable *""'"); goto fail; } while(0)
;
29877 }
29878 arg1 = reinterpret_cast< GFitsTable * >(argp1);
29879 {
29880 try {
29881 (arg1)->clear();
29882 }
29883 catch (const GException::out_of_range& e) {
29884 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
29885 }
29886 catch (const GExceptionHandler& e) {
29887 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29888 }
29889 catch (const std::exception& e) {
29890 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29891 }
29892 }
29893 resultobj = SWIG_Py_Void();
29894 return resultobj;
29895fail:
29896 return NULL__null;
29897}
29898
29899
29900SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTable_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29901 PyObject *resultobj = 0;
29902 GFitsTable *arg1 = (GFitsTable *) 0 ;
29903 void *argp1 = 0 ;
29904 int res1 = 0 ;
29905 PyObject * obj0 = 0 ;
29906 GFitsTable *result = 0 ;
29907
29908 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTable_clone",&obj0)) SWIG_failgoto fail;
29909 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[18]
, 0 | 0, 0)
;
29910 if (!SWIG_IsOK(res1)(res1 >= 0)) {
29911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTable_clone" "', argument " "1"" of type '" "GFitsTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTable_clone" "', argument "
"1"" of type '" "GFitsTable const *""'"); goto fail; } while
(0)
;
29912 }
29913 arg1 = reinterpret_cast< GFitsTable * >(argp1);
29914 {
29915 try {
29916 result = (GFitsTable *)((GFitsTable const *)arg1)->clone();
29917 }
29918 catch (const GException::out_of_range& e) {
29919 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
29920 }
29921 catch (const GExceptionHandler& e) {
29922 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29923 }
29924 catch (const std::exception& e) {
29925 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29926 }
29927 }
29928 {
29929 if (dynamic_cast<GFitsBinTable*>(result) != NULL__null) {
29930 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsBinTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[4], 0 |
0)
;
29931 }
29932 else if (dynamic_cast<GFitsAsciiTable*>(result) != NULL__null) {
29933 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsAsciiTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[3], 0 |
0)
;
29934 }
29935 else {
29936 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[18], 0
| 0)
;
29937 }
29938 }
29939 return resultobj;
29940fail:
29941 return NULL__null;
29942}
29943
29944
29945SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTable_exttype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29946 PyObject *resultobj = 0;
29947 GFitsTable *arg1 = (GFitsTable *) 0 ;
29948 void *argp1 = 0 ;
29949 int res1 = 0 ;
29950 PyObject * obj0 = 0 ;
29951 GFitsHDU::HDUType result;
29952
29953 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTable_exttype",&obj0)) SWIG_failgoto fail;
29954 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[18]
, 0 | 0, 0)
;
29955 if (!SWIG_IsOK(res1)(res1 >= 0)) {
29956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTable_exttype" "', argument " "1"" of type '" "GFitsTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTable_exttype" "', argument "
"1"" of type '" "GFitsTable const *""'"); goto fail; } while
(0)
;
29957 }
29958 arg1 = reinterpret_cast< GFitsTable * >(argp1);
29959 {
29960 try {
29961 result = (GFitsHDU::HDUType)((GFitsTable const *)arg1)->exttype();
29962 }
29963 catch (const GException::out_of_range& e) {
29964 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
29965 }
29966 catch (const GExceptionHandler& e) {
29967 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29968 }
29969 catch (const std::exception& e) {
29970 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
29971 }
29972 }
29973 resultobj = SWIG_From_int(static_cast< int >(result));
29974 return resultobj;
29975fail:
29976 return NULL__null;
29977}
29978
29979
29980SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTable_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29981 PyObject *resultobj = 0;
29982 GFitsTable *arg1 = (GFitsTable *) 0 ;
29983 void *argp1 = 0 ;
29984 int res1 = 0 ;
29985 PyObject * obj0 = 0 ;
29986 int *result = 0 ;
29987
29988 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTable_size",&obj0)) SWIG_failgoto fail;
29989 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[18]
, 0 | 0, 0)
;
29990 if (!SWIG_IsOK(res1)(res1 >= 0)) {
29991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTable_size" "', argument " "1"" of type '" "GFitsTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTable_size" "', argument "
"1"" of type '" "GFitsTable const *""'"); goto fail; } while
(0)
;
29992 }
29993 arg1 = reinterpret_cast< GFitsTable * >(argp1);
29994 {
29995 try {
29996 result = (int *) &((GFitsTable const *)arg1)->size();
29997 }
29998 catch (const GException::out_of_range& e) {
29999 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
30000 }
30001 catch (const GExceptionHandler& e) {
30002 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30003 }
30004 catch (const std::exception& e) {
30005 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30006 }
30007 }
30008 resultobj = SWIG_From_int(static_cast< int >(*result));
30009 return resultobj;
30010fail:
30011 return NULL__null;
30012}
30013
30014
30015SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTable_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30016 PyObject *resultobj = 0;
30017 GFitsTable *arg1 = (GFitsTable *) 0 ;
30018 int *arg2 = 0 ;
30019 GFitsTableCol *arg3 = 0 ;
30020 void *argp1 = 0 ;
30021 int res1 = 0 ;
30022 int temp2 ;
30023 int val2 ;
30024 int ecode2 = 0 ;
30025 void *argp3 = 0 ;
30026 int res3 = 0 ;
30027 PyObject * obj0 = 0 ;
30028 PyObject * obj1 = 0 ;
30029 PyObject * obj2 = 0 ;
30030 GFitsTableCol *result = 0 ;
30031
30032 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTable_set",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
30033 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[18]
, 0 | 0, 0)
;
30034 if (!SWIG_IsOK(res1)(res1 >= 0)) {
30035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTable_set" "', argument " "1"" of type '" "GFitsTable *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTable_set" "', argument "
"1"" of type '" "GFitsTable *""'"); goto fail; } while(0)
;
30036 }
30037 arg1 = reinterpret_cast< GFitsTable * >(argp1);
30038 ecode2 = SWIG_AsVal_int(obj1, &val2);
30039 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
30040 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTable_set" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTable_set" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
30041 }
30042 temp2 = static_cast< int >(val2);
30043 arg2 = &temp2;
30044 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GFitsTableCol, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[24]
, 0 | 0, 0)
;
30045 if (!SWIG_IsOK(res3)(res3 >= 0)) {
30046 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GFitsTable_set" "', argument " "3"" of type '" "GFitsTableCol const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GFitsTable_set" "', argument "
"3"" of type '" "GFitsTableCol const &""'"); goto fail; }
while(0)
;
30047 }
30048 if (!argp3) {
30049 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsTable_set" "', argument " "3"" of type '" "GFitsTableCol const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsTable_set" "', argument " "3"" of type '"
"GFitsTableCol const &""'"); goto fail; } while(0)
;
30050 }
30051 arg3 = reinterpret_cast< GFitsTableCol * >(argp3);
30052 {
30053 try {
30054 result = (GFitsTableCol *)(arg1)->set((int const &)*arg2,(GFitsTableCol const &)*arg3);
30055 }
30056 catch (const GException::out_of_range& e) {
30057 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
30058 }
30059 catch (const GExceptionHandler& e) {
30060 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30061 }
30062 catch (const std::exception& e) {
30063 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30064 }
30065 }
30066 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[24], 0
| 0)
;
30067 return resultobj;
30068fail:
30069 return NULL__null;
30070}
30071
30072
30073SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTable_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30074 PyObject *resultobj = 0;
30075 GFitsTable *arg1 = (GFitsTable *) 0 ;
30076 std::string *arg2 = 0 ;
30077 GFitsTableCol *arg3 = 0 ;
30078 void *argp1 = 0 ;
30079 int res1 = 0 ;
30080 int res2 = SWIG_OLDOBJ((0)) ;
30081 void *argp3 = 0 ;
30082 int res3 = 0 ;
30083 PyObject * obj0 = 0 ;
30084 PyObject * obj1 = 0 ;
30085 PyObject * obj2 = 0 ;
30086 GFitsTableCol *result = 0 ;
30087
30088 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTable_set",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
30089 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[18]
, 0 | 0, 0)
;
30090 if (!SWIG_IsOK(res1)(res1 >= 0)) {
30091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTable_set" "', argument " "1"" of type '" "GFitsTable *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTable_set" "', argument "
"1"" of type '" "GFitsTable *""'"); goto fail; } while(0)
;
30092 }
30093 arg1 = reinterpret_cast< GFitsTable * >(argp1);
30094 {
30095 std::string *ptr = (std::string *)0;
30096 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
30097 if (!SWIG_IsOK(res2)(res2 >= 0)) {
30098 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsTable_set" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsTable_set" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
30099 }
30100 if (!ptr) {
30101 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsTable_set" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsTable_set" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
30102 }
30103 arg2 = ptr;
30104 }
30105 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GFitsTableCol, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[24]
, 0 | 0, 0)
;
30106 if (!SWIG_IsOK(res3)(res3 >= 0)) {
30107 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GFitsTable_set" "', argument " "3"" of type '" "GFitsTableCol const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GFitsTable_set" "', argument "
"3"" of type '" "GFitsTableCol const &""'"); goto fail; }
while(0)
;
30108 }
30109 if (!argp3) {
30110 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsTable_set" "', argument " "3"" of type '" "GFitsTableCol const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsTable_set" "', argument " "3"" of type '"
"GFitsTableCol const &""'"); goto fail; } while(0)
;
30111 }
30112 arg3 = reinterpret_cast< GFitsTableCol * >(argp3);
30113 {
30114 try {
30115 result = (GFitsTableCol *)(arg1)->set((std::string const &)*arg2,(GFitsTableCol const &)*arg3);
30116 }
30117 catch (const GException::out_of_range& e) {
30118 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
30119 }
30120 catch (const GExceptionHandler& e) {
30121 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30122 }
30123 catch (const std::exception& e) {
30124 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30125 }
30126 }
30127 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[24], 0
| 0)
;
30128 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
30129 return resultobj;
30130fail:
30131 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
30132 return NULL__null;
30133}
30134
30135
30136SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTable_set(PyObject *self, PyObject *args) {
30137 int argc;
30138 PyObject *argv[4];
30139 int ii;
30140
30141 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
30142 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
30143 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
30144 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
30145 }
30146 if (argc == 3) {
30147 int _v;
30148 void *vptr = 0;
30149 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[18
], 0, 0)
;
30150 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30151 if (_v) {
30152 {
30153 int res = SWIG_AsVal_int(argv[1], NULL__null);
30154 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30155 }
30156 if (_v) {
30157 int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_GFitsTableCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[2], 0, swig_types[24], 0, 0
)
;
30158 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30159 if (_v) {
30160 return _wrap_GFitsTable_set__SWIG_0(self, args);
30161 }
30162 }
30163 }
30164 }
30165 if (argc == 3) {
30166 int _v;
30167 void *vptr = 0;
30168 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[18
], 0, 0)
;
30169 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30170 if (_v) {
30171 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
30172 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30173 if (_v) {
30174 int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_GFitsTableCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[2], 0, swig_types[24], 0, 0
)
;
30175 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30176 if (_v) {
30177 return _wrap_GFitsTable_set__SWIG_1(self, args);
30178 }
30179 }
30180 }
30181 }
30182
30183fail:
30184 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTable_set'.\n"
30185 " Possible C/C++ prototypes are:\n"
30186 " GFitsTable::set(int const &,GFitsTableCol const &)\n"
30187 " GFitsTable::set(std::string const &,GFitsTableCol const &)\n");
30188 return 0;
30189}
30190
30191
30192SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTable_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30193 PyObject *resultobj = 0;
30194 GFitsTable *arg1 = (GFitsTable *) 0 ;
30195 GFitsTableCol *arg2 = 0 ;
30196 void *argp1 = 0 ;
30197 int res1 = 0 ;
30198 void *argp2 = 0 ;
30199 int res2 = 0 ;
30200 PyObject * obj0 = 0 ;
30201 PyObject * obj1 = 0 ;
30202 GFitsTableCol *result = 0 ;
30203
30204 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTable_append",&obj0,&obj1)) SWIG_failgoto fail;
30205 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[18]
, 0 | 0, 0)
;
30206 if (!SWIG_IsOK(res1)(res1 >= 0)) {
30207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTable_append" "', argument " "1"" of type '" "GFitsTable *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTable_append" "', argument "
"1"" of type '" "GFitsTable *""'"); goto fail; } while(0)
;
30208 }
30209 arg1 = reinterpret_cast< GFitsTable * >(argp1);
30210 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_GFitsTableCol, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[24]
, 0 | 0, 0)
;
30211 if (!SWIG_IsOK(res2)(res2 >= 0)) {
30212 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsTable_append" "', argument " "2"" of type '" "GFitsTableCol const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsTable_append" "', argument "
"2"" of type '" "GFitsTableCol const &""'"); goto fail; }
while(0)
;
30213 }
30214 if (!argp2) {
30215 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsTable_append" "', argument " "2"" of type '" "GFitsTableCol const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsTable_append" "', argument " "2"" of type '"
"GFitsTableCol const &""'"); goto fail; } while(0)
;
30216 }
30217 arg2 = reinterpret_cast< GFitsTableCol * >(argp2);
30218 {
30219 try {
30220 result = (GFitsTableCol *)(arg1)->append((GFitsTableCol const &)*arg2);
30221 }
30222 catch (const GException::out_of_range& e) {
30223 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
30224 }
30225 catch (const GExceptionHandler& e) {
30226 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30227 }
30228 catch (const std::exception& e) {
30229 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30230 }
30231 }
30232 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[24], 0
| 0)
;
30233 return resultobj;
30234fail:
30235 return NULL__null;
30236}
30237
30238
30239SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTable_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30240 PyObject *resultobj = 0;
30241 GFitsTable *arg1 = (GFitsTable *) 0 ;
30242 int arg2 ;
30243 GFitsTableCol *arg3 = 0 ;
30244 void *argp1 = 0 ;
30245 int res1 = 0 ;
30246 int val2 ;
30247 int ecode2 = 0 ;
30248 void *argp3 = 0 ;
30249 int res3 = 0 ;
30250 PyObject * obj0 = 0 ;
30251 PyObject * obj1 = 0 ;
30252 PyObject * obj2 = 0 ;
30253 GFitsTableCol *result = 0 ;
30254
30255 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTable_insert",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
30256 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[18]
, 0 | 0, 0)
;
30257 if (!SWIG_IsOK(res1)(res1 >= 0)) {
30258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTable_insert" "', argument " "1"" of type '" "GFitsTable *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTable_insert" "', argument "
"1"" of type '" "GFitsTable *""'"); goto fail; } while(0)
;
30259 }
30260 arg1 = reinterpret_cast< GFitsTable * >(argp1);
30261 ecode2 = SWIG_AsVal_int(obj1, &val2);
30262 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
30263 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTable_insert" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTable_insert" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
30264 }
30265 arg2 = static_cast< int >(val2);
30266 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GFitsTableCol, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[24]
, 0 | 0, 0)
;
30267 if (!SWIG_IsOK(res3)(res3 >= 0)) {
30268 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GFitsTable_insert" "', argument " "3"" of type '" "GFitsTableCol const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GFitsTable_insert" "', argument "
"3"" of type '" "GFitsTableCol const &""'"); goto fail; }
while(0)
;
30269 }
30270 if (!argp3) {
30271 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsTable_insert" "', argument " "3"" of type '" "GFitsTableCol const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsTable_insert" "', argument " "3"" of type '"
"GFitsTableCol const &""'"); goto fail; } while(0)
;
30272 }
30273 arg3 = reinterpret_cast< GFitsTableCol * >(argp3);
30274 {
30275 try {
30276 result = (GFitsTableCol *)(arg1)->insert(arg2,(GFitsTableCol const &)*arg3);
30277 }
30278 catch (const GException::out_of_range& e) {
30279 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
30280 }
30281 catch (const GExceptionHandler& e) {
30282 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30283 }
30284 catch (const std::exception& e) {
30285 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30286 }
30287 }
30288 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[24], 0
| 0)
;
30289 return resultobj;
30290fail:
30291 return NULL__null;
30292}
30293
30294
30295SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTable_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30296 PyObject *resultobj = 0;
30297 GFitsTable *arg1 = (GFitsTable *) 0 ;
30298 std::string *arg2 = 0 ;
30299 GFitsTableCol *arg3 = 0 ;
30300 void *argp1 = 0 ;
30301 int res1 = 0 ;
30302 int res2 = SWIG_OLDOBJ((0)) ;
30303 void *argp3 = 0 ;
30304 int res3 = 0 ;
30305 PyObject * obj0 = 0 ;
30306 PyObject * obj1 = 0 ;
30307 PyObject * obj2 = 0 ;
30308 GFitsTableCol *result = 0 ;
30309
30310 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTable_insert",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
30311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[18]
, 0 | 0, 0)
;
30312 if (!SWIG_IsOK(res1)(res1 >= 0)) {
30313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTable_insert" "', argument " "1"" of type '" "GFitsTable *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTable_insert" "', argument "
"1"" of type '" "GFitsTable *""'"); goto fail; } while(0)
;
30314 }
30315 arg1 = reinterpret_cast< GFitsTable * >(argp1);
30316 {
30317 std::string *ptr = (std::string *)0;
30318 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
30319 if (!SWIG_IsOK(res2)(res2 >= 0)) {
30320 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsTable_insert" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsTable_insert" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
30321 }
30322 if (!ptr) {
30323 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsTable_insert" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsTable_insert" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
30324 }
30325 arg2 = ptr;
30326 }
30327 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GFitsTableCol, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[24]
, 0 | 0, 0)
;
30328 if (!SWIG_IsOK(res3)(res3 >= 0)) {
30329 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GFitsTable_insert" "', argument " "3"" of type '" "GFitsTableCol const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GFitsTable_insert" "', argument "
"3"" of type '" "GFitsTableCol const &""'"); goto fail; }
while(0)
;
30330 }
30331 if (!argp3) {
30332 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsTable_insert" "', argument " "3"" of type '" "GFitsTableCol const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsTable_insert" "', argument " "3"" of type '"
"GFitsTableCol const &""'"); goto fail; } while(0)
;
30333 }
30334 arg3 = reinterpret_cast< GFitsTableCol * >(argp3);
30335 {
30336 try {
30337 result = (GFitsTableCol *)(arg1)->insert((std::string const &)*arg2,(GFitsTableCol const &)*arg3);
30338 }
30339 catch (const GException::out_of_range& e) {
30340 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
30341 }
30342 catch (const GExceptionHandler& e) {
30343 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30344 }
30345 catch (const std::exception& e) {
30346 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30347 }
30348 }
30349 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[24], 0
| 0)
;
30350 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
30351 return resultobj;
30352fail:
30353 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
30354 return NULL__null;
30355}
30356
30357
30358SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTable_insert(PyObject *self, PyObject *args) {
30359 int argc;
30360 PyObject *argv[4];
30361 int ii;
30362
30363 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
30364 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
30365 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
30366 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
30367 }
30368 if (argc == 3) {
30369 int _v;
30370 void *vptr = 0;
30371 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[18
], 0, 0)
;
30372 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30373 if (_v) {
30374 {
30375 int res = SWIG_AsVal_int(argv[1], NULL__null);
30376 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30377 }
30378 if (_v) {
30379 int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_GFitsTableCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[2], 0, swig_types[24], 0, 0
)
;
30380 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30381 if (_v) {
30382 return _wrap_GFitsTable_insert__SWIG_0(self, args);
30383 }
30384 }
30385 }
30386 }
30387 if (argc == 3) {
30388 int _v;
30389 void *vptr = 0;
30390 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[18
], 0, 0)
;
30391 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30392 if (_v) {
30393 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
30394 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30395 if (_v) {
30396 int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_GFitsTableCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[2], 0, swig_types[24], 0, 0
)
;
30397 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30398 if (_v) {
30399 return _wrap_GFitsTable_insert__SWIG_1(self, args);
30400 }
30401 }
30402 }
30403 }
30404
30405fail:
30406 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTable_insert'.\n"
30407 " Possible C/C++ prototypes are:\n"
30408 " GFitsTable::insert(int,GFitsTableCol const &)\n"
30409 " GFitsTable::insert(std::string const &,GFitsTableCol const &)\n");
30410 return 0;
30411}
30412
30413
30414SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTable_append_rows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30415 PyObject *resultobj = 0;
30416 GFitsTable *arg1 = (GFitsTable *) 0 ;
30417 int *arg2 = 0 ;
30418 void *argp1 = 0 ;
30419 int res1 = 0 ;
30420 int temp2 ;
30421 int val2 ;
30422 int ecode2 = 0 ;
30423 PyObject * obj0 = 0 ;
30424 PyObject * obj1 = 0 ;
30425
30426 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTable_append_rows",&obj0,&obj1)) SWIG_failgoto fail;
30427 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[18]
, 0 | 0, 0)
;
30428 if (!SWIG_IsOK(res1)(res1 >= 0)) {
30429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTable_append_rows" "', argument " "1"" of type '" "GFitsTable *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTable_append_rows" "', argument "
"1"" of type '" "GFitsTable *""'"); goto fail; } while(0)
;
30430 }
30431 arg1 = reinterpret_cast< GFitsTable * >(argp1);
30432 ecode2 = SWIG_AsVal_int(obj1, &val2);
30433 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
30434 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTable_append_rows" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTable_append_rows"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
30435 }
30436 temp2 = static_cast< int >(val2);
30437 arg2 = &temp2;
30438 {
30439 try {
30440 (arg1)->append_rows((int const &)*arg2);
30441 }
30442 catch (const GException::out_of_range& e) {
30443 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
30444 }
30445 catch (const GExceptionHandler& e) {
30446 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30447 }
30448 catch (const std::exception& e) {
30449 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30450 }
30451 }
30452 resultobj = SWIG_Py_Void();
30453 return resultobj;
30454fail:
30455 return NULL__null;
30456}
30457
30458
30459SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTable_insert_rows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30460 PyObject *resultobj = 0;
30461 GFitsTable *arg1 = (GFitsTable *) 0 ;
30462 int *arg2 = 0 ;
30463 int *arg3 = 0 ;
30464 void *argp1 = 0 ;
30465 int res1 = 0 ;
30466 int temp2 ;
30467 int val2 ;
30468 int ecode2 = 0 ;
30469 int temp3 ;
30470 int val3 ;
30471 int ecode3 = 0 ;
30472 PyObject * obj0 = 0 ;
30473 PyObject * obj1 = 0 ;
30474 PyObject * obj2 = 0 ;
30475
30476 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTable_insert_rows",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
30477 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[18]
, 0 | 0, 0)
;
30478 if (!SWIG_IsOK(res1)(res1 >= 0)) {
30479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTable_insert_rows" "', argument " "1"" of type '" "GFitsTable *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTable_insert_rows" "', argument "
"1"" of type '" "GFitsTable *""'"); goto fail; } while(0)
;
30480 }
30481 arg1 = reinterpret_cast< GFitsTable * >(argp1);
30482 ecode2 = SWIG_AsVal_int(obj1, &val2);
30483 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
30484 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTable_insert_rows" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTable_insert_rows"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
30485 }
30486 temp2 = static_cast< int >(val2);
30487 arg2 = &temp2;
30488 ecode3 = SWIG_AsVal_int(obj2, &val3);
30489 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
30490 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTable_insert_rows" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTable_insert_rows"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
30491 }
30492 temp3 = static_cast< int >(val3);
30493 arg3 = &temp3;
30494 {
30495 try {
30496 (arg1)->insert_rows((int const &)*arg2,(int const &)*arg3);
30497 }
30498 catch (const GException::out_of_range& e) {
30499 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
30500 }
30501 catch (const GExceptionHandler& e) {
30502 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30503 }
30504 catch (const std::exception& e) {
30505 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30506 }
30507 }
30508 resultobj = SWIG_Py_Void();
30509 return resultobj;
30510fail:
30511 return NULL__null;
30512}
30513
30514
30515SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTable_remove_rows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30516 PyObject *resultobj = 0;
30517 GFitsTable *arg1 = (GFitsTable *) 0 ;
30518 int *arg2 = 0 ;
30519 int *arg3 = 0 ;
30520 void *argp1 = 0 ;
30521 int res1 = 0 ;
30522 int temp2 ;
30523 int val2 ;
30524 int ecode2 = 0 ;
30525 int temp3 ;
30526 int val3 ;
30527 int ecode3 = 0 ;
30528 PyObject * obj0 = 0 ;
30529 PyObject * obj1 = 0 ;
30530 PyObject * obj2 = 0 ;
30531
30532 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTable_remove_rows",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
30533 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[18]
, 0 | 0, 0)
;
30534 if (!SWIG_IsOK(res1)(res1 >= 0)) {
30535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTable_remove_rows" "', argument " "1"" of type '" "GFitsTable *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTable_remove_rows" "', argument "
"1"" of type '" "GFitsTable *""'"); goto fail; } while(0)
;
30536 }
30537 arg1 = reinterpret_cast< GFitsTable * >(argp1);
30538 ecode2 = SWIG_AsVal_int(obj1, &val2);
30539 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
30540 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTable_remove_rows" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTable_remove_rows"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
30541 }
30542 temp2 = static_cast< int >(val2);
30543 arg2 = &temp2;
30544 ecode3 = SWIG_AsVal_int(obj2, &val3);
30545 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
30546 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTable_remove_rows" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTable_remove_rows"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
30547 }
30548 temp3 = static_cast< int >(val3);
30549 arg3 = &temp3;
30550 {
30551 try {
30552 (arg1)->remove_rows((int const &)*arg2,(int const &)*arg3);
30553 }
30554 catch (const GException::out_of_range& e) {
30555 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
30556 }
30557 catch (const GExceptionHandler& e) {
30558 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30559 }
30560 catch (const std::exception& e) {
30561 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30562 }
30563 }
30564 resultobj = SWIG_Py_Void();
30565 return resultobj;
30566fail:
30567 return NULL__null;
30568}
30569
30570
30571SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTable_nrows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30572 PyObject *resultobj = 0;
30573 GFitsTable *arg1 = (GFitsTable *) 0 ;
30574 void *argp1 = 0 ;
30575 int res1 = 0 ;
30576 PyObject * obj0 = 0 ;
30577 int *result = 0 ;
30578
30579 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTable_nrows",&obj0)) SWIG_failgoto fail;
30580 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[18]
, 0 | 0, 0)
;
30581 if (!SWIG_IsOK(res1)(res1 >= 0)) {
30582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTable_nrows" "', argument " "1"" of type '" "GFitsTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTable_nrows" "', argument "
"1"" of type '" "GFitsTable const *""'"); goto fail; } while
(0)
;
30583 }
30584 arg1 = reinterpret_cast< GFitsTable * >(argp1);
30585 {
30586 try {
30587 result = (int *) &((GFitsTable const *)arg1)->nrows();
30588 }
30589 catch (const GException::out_of_range& e) {
30590 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
30591 }
30592 catch (const GExceptionHandler& e) {
30593 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30594 }
30595 catch (const std::exception& e) {
30596 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30597 }
30598 }
30599 resultobj = SWIG_From_int(static_cast< int >(*result));
30600 return resultobj;
30601fail:
30602 return NULL__null;
30603}
30604
30605
30606SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTable_ncols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30607 PyObject *resultobj = 0;
30608 GFitsTable *arg1 = (GFitsTable *) 0 ;
30609 void *argp1 = 0 ;
30610 int res1 = 0 ;
30611 PyObject * obj0 = 0 ;
30612 int *result = 0 ;
30613
30614 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTable_ncols",&obj0)) SWIG_failgoto fail;
30615 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[18]
, 0 | 0, 0)
;
30616 if (!SWIG_IsOK(res1)(res1 >= 0)) {
30617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTable_ncols" "', argument " "1"" of type '" "GFitsTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTable_ncols" "', argument "
"1"" of type '" "GFitsTable const *""'"); goto fail; } while
(0)
;
30618 }
30619 arg1 = reinterpret_cast< GFitsTable * >(argp1);
30620 {
30621 try {
30622 result = (int *) &((GFitsTable const *)arg1)->ncols();
30623 }
30624 catch (const GException::out_of_range& e) {
30625 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
30626 }
30627 catch (const GExceptionHandler& e) {
30628 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30629 }
30630 catch (const std::exception& e) {
30631 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30632 }
30633 }
30634 resultobj = SWIG_From_int(static_cast< int >(*result));
30635 return resultobj;
30636fail:
30637 return NULL__null;
30638}
30639
30640
30641SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTable_contains(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30642 PyObject *resultobj = 0;
30643 GFitsTable *arg1 = (GFitsTable *) 0 ;
30644 std::string *arg2 = 0 ;
30645 void *argp1 = 0 ;
30646 int res1 = 0 ;
30647 int res2 = SWIG_OLDOBJ((0)) ;
30648 PyObject * obj0 = 0 ;
30649 PyObject * obj1 = 0 ;
30650 bool result;
30651
30652 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTable_contains",&obj0,&obj1)) SWIG_failgoto fail;
30653 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[18]
, 0 | 0, 0)
;
30654 if (!SWIG_IsOK(res1)(res1 >= 0)) {
30655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTable_contains" "', argument " "1"" of type '" "GFitsTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTable_contains" "', argument "
"1"" of type '" "GFitsTable const *""'"); goto fail; } while
(0)
;
30656 }
30657 arg1 = reinterpret_cast< GFitsTable * >(argp1);
30658 {
30659 std::string *ptr = (std::string *)0;
30660 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
30661 if (!SWIG_IsOK(res2)(res2 >= 0)) {
30662 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsTable_contains" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsTable_contains" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
30663 }
30664 if (!ptr) {
30665 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsTable_contains" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsTable_contains" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
30666 }
30667 arg2 = ptr;
30668 }
30669 {
30670 try {
30671 result = (bool)((GFitsTable const *)arg1)->contains((std::string const &)*arg2);
30672 }
30673 catch (const GException::out_of_range& e) {
30674 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
30675 }
30676 catch (const GExceptionHandler& e) {
30677 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30678 }
30679 catch (const std::exception& e) {
30680 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30681 }
30682 }
30683 resultobj = SWIG_From_bool(static_cast< bool >(result));
30684 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
30685 return resultobj;
30686fail:
30687 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
30688 return NULL__null;
30689}
30690
30691
30692SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTable___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30693 PyObject *resultobj = 0;
30694 GFitsTable *arg1 = (GFitsTable *) 0 ;
30695 int *arg2 = 0 ;
30696 void *argp1 = 0 ;
30697 int res1 = 0 ;
30698 int temp2 ;
30699 int val2 ;
30700 int ecode2 = 0 ;
30701 PyObject * obj0 = 0 ;
30702 PyObject * obj1 = 0 ;
30703 GFitsTableCol *result = 0 ;
30704
30705 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTable___getitem__",&obj0,&obj1)) SWIG_failgoto fail;
30706 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[18]
, 0 | 0, 0)
;
30707 if (!SWIG_IsOK(res1)(res1 >= 0)) {
30708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTable___getitem__" "', argument " "1"" of type '" "GFitsTable *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTable___getitem__" "', argument "
"1"" of type '" "GFitsTable *""'"); goto fail; } while(0)
;
30709 }
30710 arg1 = reinterpret_cast< GFitsTable * >(argp1);
30711 ecode2 = SWIG_AsVal_int(obj1, &val2);
30712 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
30713 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTable___getitem__" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTable___getitem__"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
30714 }
30715 temp2 = static_cast< int >(val2);
30716 arg2 = &temp2;
30717 {
30718 try {
30719 result = (GFitsTableCol *)GFitsTable___getitem____SWIG_0(arg1,(int const &)*arg2);
30720 }
30721 catch (const GException::out_of_range& e) {
30722 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
30723 }
30724 catch (const GExceptionHandler& e) {
30725 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30726 }
30727 catch (const std::exception& e) {
30728 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30729 }
30730 }
30731 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[24], 0
| 0)
;
30732 return resultobj;
30733fail:
30734 return NULL__null;
30735}
30736
30737
30738SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTable___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30739 PyObject *resultobj = 0;
30740 GFitsTable *arg1 = (GFitsTable *) 0 ;
30741 std::string *arg2 = 0 ;
30742 void *argp1 = 0 ;
30743 int res1 = 0 ;
30744 int res2 = SWIG_OLDOBJ((0)) ;
30745 PyObject * obj0 = 0 ;
30746 PyObject * obj1 = 0 ;
30747 GFitsTableCol *result = 0 ;
30748
30749 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTable___getitem__",&obj0,&obj1)) SWIG_failgoto fail;
30750 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[18]
, 0 | 0, 0)
;
30751 if (!SWIG_IsOK(res1)(res1 >= 0)) {
30752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTable___getitem__" "', argument " "1"" of type '" "GFitsTable *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTable___getitem__" "', argument "
"1"" of type '" "GFitsTable *""'"); goto fail; } while(0)
;
30753 }
30754 arg1 = reinterpret_cast< GFitsTable * >(argp1);
30755 {
30756 std::string *ptr = (std::string *)0;
30757 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
30758 if (!SWIG_IsOK(res2)(res2 >= 0)) {
30759 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsTable___getitem__" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsTable___getitem__" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
30760 }
30761 if (!ptr) {
30762 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsTable___getitem__" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsTable___getitem__" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
30763 }
30764 arg2 = ptr;
30765 }
30766 {
30767 try {
30768 result = (GFitsTableCol *)GFitsTable___getitem____SWIG_1(arg1,(std::string const &)*arg2);
30769 }
30770 catch (const GException::out_of_range& e) {
30771 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
30772 }
30773 catch (const GExceptionHandler& e) {
30774 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30775 }
30776 catch (const std::exception& e) {
30777 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30778 }
30779 }
30780 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[24], 0
| 0)
;
30781 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
30782 return resultobj;
30783fail:
30784 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
30785 return NULL__null;
30786}
30787
30788
30789SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTable___getitem__(PyObject *self, PyObject *args) {
30790 int argc;
30791 PyObject *argv[3];
30792 int ii;
30793
30794 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
30795 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
30796 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
30797 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
30798 }
30799 if (argc == 2) {
30800 int _v;
30801 void *vptr = 0;
30802 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[18
], 0, 0)
;
30803 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30804 if (_v) {
30805 {
30806 int res = SWIG_AsVal_int(argv[1], NULL__null);
30807 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30808 }
30809 if (_v) {
30810 return _wrap_GFitsTable___getitem____SWIG_0(self, args);
30811 }
30812 }
30813 }
30814 if (argc == 2) {
30815 int _v;
30816 void *vptr = 0;
30817 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[18
], 0, 0)
;
30818 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30819 if (_v) {
30820 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
30821 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30822 if (_v) {
30823 return _wrap_GFitsTable___getitem____SWIG_1(self, args);
30824 }
30825 }
30826 }
30827
30828fail:
30829 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTable___getitem__'.\n"
30830 " Possible C/C++ prototypes are:\n"
30831 " GFitsTable::__getitem__(int const &)\n"
30832 " GFitsTable::__getitem__(std::string const &)\n");
30833 return 0;
30834}
30835
30836
30837SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTable___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30838 PyObject *resultobj = 0;
30839 GFitsTable *arg1 = (GFitsTable *) 0 ;
30840 int *arg2 = 0 ;
30841 GFitsTableCol *arg3 = 0 ;
30842 void *argp1 = 0 ;
30843 int res1 = 0 ;
30844 int temp2 ;
30845 int val2 ;
30846 int ecode2 = 0 ;
30847 void *argp3 = 0 ;
30848 int res3 = 0 ;
30849 PyObject * obj0 = 0 ;
30850 PyObject * obj1 = 0 ;
30851 PyObject * obj2 = 0 ;
30852
30853 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTable___setitem__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
30854 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[18]
, 0 | 0, 0)
;
30855 if (!SWIG_IsOK(res1)(res1 >= 0)) {
30856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTable___setitem__" "', argument " "1"" of type '" "GFitsTable *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTable___setitem__" "', argument "
"1"" of type '" "GFitsTable *""'"); goto fail; } while(0)
;
30857 }
30858 arg1 = reinterpret_cast< GFitsTable * >(argp1);
30859 ecode2 = SWIG_AsVal_int(obj1, &val2);
30860 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
30861 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTable___setitem__" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTable___setitem__"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
30862 }
30863 temp2 = static_cast< int >(val2);
30864 arg2 = &temp2;
30865 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GFitsTableCol, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[24]
, 0 | 0, 0)
;
30866 if (!SWIG_IsOK(res3)(res3 >= 0)) {
30867 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GFitsTable___setitem__" "', argument " "3"" of type '" "GFitsTableCol const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GFitsTable___setitem__" "', argument "
"3"" of type '" "GFitsTableCol const &""'"); goto fail; }
while(0)
;
30868 }
30869 if (!argp3) {
30870 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsTable___setitem__" "', argument " "3"" of type '" "GFitsTableCol const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsTable___setitem__" "', argument " "3"" of type '"
"GFitsTableCol const &""'"); goto fail; } while(0)
;
30871 }
30872 arg3 = reinterpret_cast< GFitsTableCol * >(argp3);
30873 {
30874 try {
30875 GFitsTable___setitem____SWIG_0(arg1,(int const &)*arg2,(GFitsTableCol const &)*arg3);
30876 }
30877 catch (const GException::out_of_range& e) {
30878 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
30879 }
30880 catch (const GExceptionHandler& e) {
30881 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30882 }
30883 catch (const std::exception& e) {
30884 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30885 }
30886 }
30887 resultobj = SWIG_Py_Void();
30888 return resultobj;
30889fail:
30890 return NULL__null;
30891}
30892
30893
30894SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTable___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30895 PyObject *resultobj = 0;
30896 GFitsTable *arg1 = (GFitsTable *) 0 ;
30897 std::string *arg2 = 0 ;
30898 GFitsTableCol *arg3 = 0 ;
30899 void *argp1 = 0 ;
30900 int res1 = 0 ;
30901 int res2 = SWIG_OLDOBJ((0)) ;
30902 void *argp3 = 0 ;
30903 int res3 = 0 ;
30904 PyObject * obj0 = 0 ;
30905 PyObject * obj1 = 0 ;
30906 PyObject * obj2 = 0 ;
30907
30908 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTable___setitem__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
30909 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[18]
, 0 | 0, 0)
;
30910 if (!SWIG_IsOK(res1)(res1 >= 0)) {
30911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTable___setitem__" "', argument " "1"" of type '" "GFitsTable *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTable___setitem__" "', argument "
"1"" of type '" "GFitsTable *""'"); goto fail; } while(0)
;
30912 }
30913 arg1 = reinterpret_cast< GFitsTable * >(argp1);
30914 {
30915 std::string *ptr = (std::string *)0;
30916 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
30917 if (!SWIG_IsOK(res2)(res2 >= 0)) {
30918 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsTable___setitem__" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsTable___setitem__" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
30919 }
30920 if (!ptr) {
30921 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsTable___setitem__" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsTable___setitem__" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
30922 }
30923 arg2 = ptr;
30924 }
30925 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GFitsTableCol, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[24]
, 0 | 0, 0)
;
30926 if (!SWIG_IsOK(res3)(res3 >= 0)) {
30927 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GFitsTable___setitem__" "', argument " "3"" of type '" "GFitsTableCol const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GFitsTable___setitem__" "', argument "
"3"" of type '" "GFitsTableCol const &""'"); goto fail; }
while(0)
;
30928 }
30929 if (!argp3) {
30930 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsTable___setitem__" "', argument " "3"" of type '" "GFitsTableCol const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsTable___setitem__" "', argument " "3"" of type '"
"GFitsTableCol const &""'"); goto fail; } while(0)
;
30931 }
30932 arg3 = reinterpret_cast< GFitsTableCol * >(argp3);
30933 {
30934 try {
30935 GFitsTable___setitem____SWIG_1(arg1,(std::string const &)*arg2,(GFitsTableCol const &)*arg3);
30936 }
30937 catch (const GException::out_of_range& e) {
30938 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
30939 }
30940 catch (const GExceptionHandler& e) {
30941 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30942 }
30943 catch (const std::exception& e) {
30944 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
30945 }
30946 }
30947 resultobj = SWIG_Py_Void();
30948 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
30949 return resultobj;
30950fail:
30951 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
30952 return NULL__null;
30953}
30954
30955
30956SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTable___setitem__(PyObject *self, PyObject *args) {
30957 int argc;
30958 PyObject *argv[4];
30959 int ii;
30960
30961 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
30962 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
30963 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
30964 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
30965 }
30966 if (argc == 3) {
30967 int _v;
30968 void *vptr = 0;
30969 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[18
], 0, 0)
;
30970 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30971 if (_v) {
30972 {
30973 int res = SWIG_AsVal_int(argv[1], NULL__null);
30974 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30975 }
30976 if (_v) {
30977 int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_GFitsTableCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[2], 0, swig_types[24], 0, 0
)
;
30978 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30979 if (_v) {
30980 return _wrap_GFitsTable___setitem____SWIG_0(self, args);
30981 }
30982 }
30983 }
30984 }
30985 if (argc == 3) {
30986 int _v;
30987 void *vptr = 0;
30988 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[18
], 0, 0)
;
30989 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30990 if (_v) {
30991 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
30992 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30993 if (_v) {
30994 int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_GFitsTableCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[2], 0, swig_types[24], 0, 0
)
;
30995 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
30996 if (_v) {
30997 return _wrap_GFitsTable___setitem____SWIG_1(self, args);
30998 }
30999 }
31000 }
31001 }
31002
31003fail:
31004 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTable___setitem__'.\n"
31005 " Possible C/C++ prototypes are:\n"
31006 " GFitsTable::__setitem__(int const &,GFitsTableCol const &)\n"
31007 " GFitsTable::__setitem__(std::string const &,GFitsTableCol const &)\n");
31008 return 0;
31009}
31010
31011
31012SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GFitsTable_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31013 PyObject *obj;
31014 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
31015 SWIG_TypeNewClientData(SWIGTYPE_p_GFitsTableswig_types[18], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
31016 return SWIG_Py_Void();
31017}
31018
31019SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsAsciiTable__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31020 PyObject *resultobj = 0;
31021 GFitsAsciiTable *result = 0 ;
31022
31023 if (!PyArg_ParseTuple(args,(char *)":new_GFitsAsciiTable")) SWIG_failgoto fail;
31024 {
31025 try {
31026 result = (GFitsAsciiTable *)new GFitsAsciiTable();
31027 }
31028 catch (const GException::out_of_range& e) {
31029 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
31030 }
31031 catch (const GExceptionHandler& e) {
31032 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31033 }
31034 catch (const std::exception& e) {
31035 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31036 }
31037 }
31038 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsAsciiTable, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[3], ((
0x1 << 1) | 0x1) | 0)
;
31039 return resultobj;
31040fail:
31041 return NULL__null;
31042}
31043
31044
31045SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsAsciiTable__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31046 PyObject *resultobj = 0;
31047 int arg1 ;
31048 int val1 ;
31049 int ecode1 = 0 ;
31050 PyObject * obj0 = 0 ;
31051 GFitsAsciiTable *result = 0 ;
31052
31053 if (!PyArg_ParseTuple(args,(char *)"O:new_GFitsAsciiTable",&obj0)) SWIG_failgoto fail;
31054 ecode1 = SWIG_AsVal_int(obj0, &val1);
31055 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
31056 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsAsciiTable" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsAsciiTable" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
31057 }
31058 arg1 = static_cast< int >(val1);
31059 {
31060 try {
31061 result = (GFitsAsciiTable *)new GFitsAsciiTable(arg1);
31062 }
31063 catch (const GException::out_of_range& e) {
31064 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
31065 }
31066 catch (const GExceptionHandler& e) {
31067 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31068 }
31069 catch (const std::exception& e) {
31070 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31071 }
31072 }
31073 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsAsciiTable, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[3], ((
0x1 << 1) | 0x1) | 0)
;
31074 return resultobj;
31075fail:
31076 return NULL__null;
31077}
31078
31079
31080SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsAsciiTable__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31081 PyObject *resultobj = 0;
31082 GFitsAsciiTable *arg1 = 0 ;
31083 void *argp1 = 0 ;
31084 int res1 = 0 ;
31085 PyObject * obj0 = 0 ;
31086 GFitsAsciiTable *result = 0 ;
31087
31088 if (!PyArg_ParseTuple(args,(char *)"O:new_GFitsAsciiTable",&obj0)) SWIG_failgoto fail;
31089 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GFitsAsciiTable, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[3],
0 | 0, 0)
;
31090 if (!SWIG_IsOK(res1)(res1 >= 0)) {
31091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsAsciiTable" "', argument " "1"" of type '" "GFitsAsciiTable const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsAsciiTable" "', argument "
"1"" of type '" "GFitsAsciiTable const &""'"); goto fail
; } while(0)
;
31092 }
31093 if (!argp1) {
31094 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsAsciiTable" "', argument " "1"" of type '" "GFitsAsciiTable const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsAsciiTable" "', argument " "1"" of type '"
"GFitsAsciiTable const &""'"); goto fail; } while(0)
;
31095 }
31096 arg1 = reinterpret_cast< GFitsAsciiTable * >(argp1);
31097 {
31098 try {
31099 result = (GFitsAsciiTable *)new GFitsAsciiTable((GFitsAsciiTable const &)*arg1);
31100 }
31101 catch (const GException::out_of_range& e) {
31102 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
31103 }
31104 catch (const GExceptionHandler& e) {
31105 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31106 }
31107 catch (const std::exception& e) {
31108 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31109 }
31110 }
31111 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsAsciiTable, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[3], ((
0x1 << 1) | 0x1) | 0)
;
31112 return resultobj;
31113fail:
31114 return NULL__null;
31115}
31116
31117
31118SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsAsciiTable(PyObject *self, PyObject *args) {
31119 int argc;
31120 PyObject *argv[2];
31121 int ii;
31122
31123 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
31124 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
31125 for (ii = 0; (ii < 1) && (ii < argc); ii++) {
31126 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
31127 }
31128 if (argc == 0) {
31129 return _wrap_new_GFitsAsciiTable__SWIG_0(self, args);
31130 }
31131 if (argc == 1) {
31132 int _v;
31133 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GFitsAsciiTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[3], 0, 0);
31134 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
31135 if (_v) {
31136 return _wrap_new_GFitsAsciiTable__SWIG_2(self, args);
31137 }
31138 }
31139 if (argc == 1) {
31140 int _v;
31141 {
31142 int res = SWIG_AsVal_int(argv[0], NULL__null);
31143 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
31144 }
31145 if (_v) {
31146 return _wrap_new_GFitsAsciiTable__SWIG_1(self, args);
31147 }
31148 }
31149
31150fail:
31151 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GFitsAsciiTable'.\n"
31152 " Possible C/C++ prototypes are:\n"
31153 " GFitsAsciiTable::GFitsAsciiTable()\n"
31154 " GFitsAsciiTable::GFitsAsciiTable(int)\n"
31155 " GFitsAsciiTable::GFitsAsciiTable(GFitsAsciiTable const &)\n");
31156 return 0;
31157}
31158
31159
31160SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GFitsAsciiTable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31161 PyObject *resultobj = 0;
31162 GFitsAsciiTable *arg1 = (GFitsAsciiTable *) 0 ;
31163 void *argp1 = 0 ;
31164 int res1 = 0 ;
31165 PyObject * obj0 = 0 ;
31166
31167 if (!PyArg_ParseTuple(args,(char *)"O:delete_GFitsAsciiTable",&obj0)) SWIG_failgoto fail;
31168 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsAsciiTable, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[3],
0x1 | 0, 0)
;
31169 if (!SWIG_IsOK(res1)(res1 >= 0)) {
31170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GFitsAsciiTable" "', argument " "1"" of type '" "GFitsAsciiTable *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GFitsAsciiTable" "', argument "
"1"" of type '" "GFitsAsciiTable *""'"); goto fail; } while(
0)
;
31171 }
31172 arg1 = reinterpret_cast< GFitsAsciiTable * >(argp1);
31173 {
31174 try {
31175 delete arg1;
31176 }
31177 catch (const GException::out_of_range& e) {
31178 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
31179 }
31180 catch (const GExceptionHandler& e) {
31181 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31182 }
31183 catch (const std::exception& e) {
31184 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31185 }
31186 }
31187 resultobj = SWIG_Py_Void();
31188 return resultobj;
31189fail:
31190 return NULL__null;
31191}
31192
31193
31194SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsAsciiTable_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31195 PyObject *resultobj = 0;
31196 GFitsAsciiTable *arg1 = (GFitsAsciiTable *) 0 ;
31197 void *argp1 = 0 ;
31198 int res1 = 0 ;
31199 PyObject * obj0 = 0 ;
31200
31201 if (!PyArg_ParseTuple(args,(char *)"O:GFitsAsciiTable_clear",&obj0)) SWIG_failgoto fail;
31202 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsAsciiTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[3],
0 | 0, 0)
;
31203 if (!SWIG_IsOK(res1)(res1 >= 0)) {
31204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsAsciiTable_clear" "', argument " "1"" of type '" "GFitsAsciiTable *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsAsciiTable_clear" "', argument "
"1"" of type '" "GFitsAsciiTable *""'"); goto fail; } while(
0)
;
31205 }
31206 arg1 = reinterpret_cast< GFitsAsciiTable * >(argp1);
31207 {
31208 try {
31209 (arg1)->clear();
31210 }
31211 catch (const GException::out_of_range& e) {
31212 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
31213 }
31214 catch (const GExceptionHandler& e) {
31215 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31216 }
31217 catch (const std::exception& e) {
31218 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31219 }
31220 }
31221 resultobj = SWIG_Py_Void();
31222 return resultobj;
31223fail:
31224 return NULL__null;
31225}
31226
31227
31228SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsAsciiTable_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31229 PyObject *resultobj = 0;
31230 GFitsAsciiTable *arg1 = (GFitsAsciiTable *) 0 ;
31231 void *argp1 = 0 ;
31232 int res1 = 0 ;
31233 PyObject * obj0 = 0 ;
31234 GFitsAsciiTable *result = 0 ;
31235
31236 if (!PyArg_ParseTuple(args,(char *)"O:GFitsAsciiTable_clone",&obj0)) SWIG_failgoto fail;
31237 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsAsciiTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[3],
0 | 0, 0)
;
31238 if (!SWIG_IsOK(res1)(res1 >= 0)) {
31239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsAsciiTable_clone" "', argument " "1"" of type '" "GFitsAsciiTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsAsciiTable_clone" "', argument "
"1"" of type '" "GFitsAsciiTable const *""'"); goto fail; } while
(0)
;
31240 }
31241 arg1 = reinterpret_cast< GFitsAsciiTable * >(argp1);
31242 {
31243 try {
31244 result = (GFitsAsciiTable *)((GFitsAsciiTable const *)arg1)->clone();
31245 }
31246 catch (const GException::out_of_range& e) {
31247 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
31248 }
31249 catch (const GExceptionHandler& e) {
31250 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31251 }
31252 catch (const std::exception& e) {
31253 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31254 }
31255 }
31256 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsAsciiTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[3], 0 |
0)
;
31257 return resultobj;
31258fail:
31259 return NULL__null;
31260}
31261
31262
31263SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsAsciiTable_exttype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31264 PyObject *resultobj = 0;
31265 GFitsAsciiTable *arg1 = (GFitsAsciiTable *) 0 ;
31266 void *argp1 = 0 ;
31267 int res1 = 0 ;
31268 PyObject * obj0 = 0 ;
31269 GFitsHDU::HDUType result;
31270
31271 if (!PyArg_ParseTuple(args,(char *)"O:GFitsAsciiTable_exttype",&obj0)) SWIG_failgoto fail;
31272 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsAsciiTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[3],
0 | 0, 0)
;
31273 if (!SWIG_IsOK(res1)(res1 >= 0)) {
31274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsAsciiTable_exttype" "', argument " "1"" of type '" "GFitsAsciiTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsAsciiTable_exttype" "', argument "
"1"" of type '" "GFitsAsciiTable const *""'"); goto fail; } while
(0)
;
31275 }
31276 arg1 = reinterpret_cast< GFitsAsciiTable * >(argp1);
31277 {
31278 try {
31279 result = (GFitsHDU::HDUType)((GFitsAsciiTable const *)arg1)->exttype();
31280 }
31281 catch (const GException::out_of_range& e) {
31282 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
31283 }
31284 catch (const GExceptionHandler& e) {
31285 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31286 }
31287 catch (const std::exception& e) {
31288 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31289 }
31290 }
31291 resultobj = SWIG_From_int(static_cast< int >(result));
31292 return resultobj;
31293fail:
31294 return NULL__null;
31295}
31296
31297
31298SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsAsciiTable_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31299 PyObject *resultobj = 0;
31300 GFitsAsciiTable *arg1 = (GFitsAsciiTable *) 0 ;
31301 void *argp1 = 0 ;
31302 int res1 = 0 ;
31303 PyObject * obj0 = 0 ;
31304 GFitsAsciiTable result;
31305
31306 if (!PyArg_ParseTuple(args,(char *)"O:GFitsAsciiTable_copy",&obj0)) SWIG_failgoto fail;
31307 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsAsciiTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[3],
0 | 0, 0)
;
31308 if (!SWIG_IsOK(res1)(res1 >= 0)) {
31309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsAsciiTable_copy" "', argument " "1"" of type '" "GFitsAsciiTable *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsAsciiTable_copy" "', argument "
"1"" of type '" "GFitsAsciiTable *""'"); goto fail; } while(
0)
;
31310 }
31311 arg1 = reinterpret_cast< GFitsAsciiTable * >(argp1);
31312 {
31313 try {
31314 result = GFitsAsciiTable_copy(arg1);
31315 }
31316 catch (const GException::out_of_range& e) {
31317 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
31318 }
31319 catch (const GExceptionHandler& e) {
31320 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31321 }
31322 catch (const std::exception& e) {
31323 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31324 }
31325 }
31326 resultobj = SWIG_NewPointerObj((new GFitsAsciiTable(static_cast< const GFitsAsciiTable& >(result))), SWIGTYPE_p_GFitsAsciiTable, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GFitsAsciiTable(static_cast
< const GFitsAsciiTable& >(result))), swig_types[3]
, 0x1 | 0)
;
31327 return resultobj;
31328fail:
31329 return NULL__null;
31330}
31331
31332
31333SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GFitsAsciiTable_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31334 PyObject *obj;
31335 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
31336 SWIG_TypeNewClientData(SWIGTYPE_p_GFitsAsciiTableswig_types[3], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
31337 return SWIG_Py_Void();
31338}
31339
31340SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsBinTable__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31341 PyObject *resultobj = 0;
31342 GFitsBinTable *result = 0 ;
31343
31344 if (!PyArg_ParseTuple(args,(char *)":new_GFitsBinTable")) SWIG_failgoto fail;
31345 {
31346 try {
31347 result = (GFitsBinTable *)new GFitsBinTable();
31348 }
31349 catch (const GException::out_of_range& e) {
31350 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
31351 }
31352 catch (const GExceptionHandler& e) {
31353 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31354 }
31355 catch (const std::exception& e) {
31356 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31357 }
31358 }
31359 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsBinTable, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[4], ((
0x1 << 1) | 0x1) | 0)
;
31360 return resultobj;
31361fail:
31362 return NULL__null;
31363}
31364
31365
31366SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsBinTable__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31367 PyObject *resultobj = 0;
31368 int arg1 ;
31369 int val1 ;
31370 int ecode1 = 0 ;
31371 PyObject * obj0 = 0 ;
31372 GFitsBinTable *result = 0 ;
31373
31374 if (!PyArg_ParseTuple(args,(char *)"O:new_GFitsBinTable",&obj0)) SWIG_failgoto fail;
31375 ecode1 = SWIG_AsVal_int(obj0, &val1);
31376 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
31377 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GFitsBinTable" "', argument " "1"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_GFitsBinTable" "', argument "
"1"" of type '" "int""'"); goto fail; } while(0)
;
31378 }
31379 arg1 = static_cast< int >(val1);
31380 {
31381 try {
31382 result = (GFitsBinTable *)new GFitsBinTable(arg1);
31383 }
31384 catch (const GException::out_of_range& e) {
31385 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
31386 }
31387 catch (const GExceptionHandler& e) {
31388 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31389 }
31390 catch (const std::exception& e) {
31391 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31392 }
31393 }
31394 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsBinTable, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[4], ((
0x1 << 1) | 0x1) | 0)
;
31395 return resultobj;
31396fail:
31397 return NULL__null;
31398}
31399
31400
31401SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsBinTable__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31402 PyObject *resultobj = 0;
31403 GFitsBinTable *arg1 = 0 ;
31404 void *argp1 = 0 ;
31405 int res1 = 0 ;
31406 PyObject * obj0 = 0 ;
31407 GFitsBinTable *result = 0 ;
31408
31409 if (!PyArg_ParseTuple(args,(char *)"O:new_GFitsBinTable",&obj0)) SWIG_failgoto fail;
31410 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GFitsBinTable, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[4],
0 | 0, 0)
;
31411 if (!SWIG_IsOK(res1)(res1 >= 0)) {
31412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsBinTable" "', argument " "1"" of type '" "GFitsBinTable const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsBinTable" "', argument "
"1"" of type '" "GFitsBinTable const &""'"); goto fail; }
while(0)
;
31413 }
31414 if (!argp1) {
31415 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsBinTable" "', argument " "1"" of type '" "GFitsBinTable const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsBinTable" "', argument " "1"" of type '"
"GFitsBinTable const &""'"); goto fail; } while(0)
;
31416 }
31417 arg1 = reinterpret_cast< GFitsBinTable * >(argp1);
31418 {
31419 try {
31420 result = (GFitsBinTable *)new GFitsBinTable((GFitsBinTable const &)*arg1);
31421 }
31422 catch (const GException::out_of_range& e) {
31423 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
31424 }
31425 catch (const GExceptionHandler& e) {
31426 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31427 }
31428 catch (const std::exception& e) {
31429 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31430 }
31431 }
31432 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsBinTable, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[4], ((
0x1 << 1) | 0x1) | 0)
;
31433 return resultobj;
31434fail:
31435 return NULL__null;
31436}
31437
31438
31439SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsBinTable(PyObject *self, PyObject *args) {
31440 int argc;
31441 PyObject *argv[2];
31442 int ii;
31443
31444 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
31445 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
31446 for (ii = 0; (ii < 1) && (ii < argc); ii++) {
31447 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
31448 }
31449 if (argc == 0) {
31450 return _wrap_new_GFitsBinTable__SWIG_0(self, args);
31451 }
31452 if (argc == 1) {
31453 int _v;
31454 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GFitsBinTable, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[4], 0, 0);
31455 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
31456 if (_v) {
31457 return _wrap_new_GFitsBinTable__SWIG_2(self, args);
31458 }
31459 }
31460 if (argc == 1) {
31461 int _v;
31462 {
31463 int res = SWIG_AsVal_int(argv[0], NULL__null);
31464 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
31465 }
31466 if (_v) {
31467 return _wrap_new_GFitsBinTable__SWIG_1(self, args);
31468 }
31469 }
31470
31471fail:
31472 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GFitsBinTable'.\n"
31473 " Possible C/C++ prototypes are:\n"
31474 " GFitsBinTable::GFitsBinTable()\n"
31475 " GFitsBinTable::GFitsBinTable(int)\n"
31476 " GFitsBinTable::GFitsBinTable(GFitsBinTable const &)\n");
31477 return 0;
31478}
31479
31480
31481SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GFitsBinTable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31482 PyObject *resultobj = 0;
31483 GFitsBinTable *arg1 = (GFitsBinTable *) 0 ;
31484 void *argp1 = 0 ;
31485 int res1 = 0 ;
31486 PyObject * obj0 = 0 ;
31487
31488 if (!PyArg_ParseTuple(args,(char *)"O:delete_GFitsBinTable",&obj0)) SWIG_failgoto fail;
31489 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsBinTable, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[4],
0x1 | 0, 0)
;
31490 if (!SWIG_IsOK(res1)(res1 >= 0)) {
31491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GFitsBinTable" "', argument " "1"" of type '" "GFitsBinTable *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GFitsBinTable" "', argument "
"1"" of type '" "GFitsBinTable *""'"); goto fail; } while(0)
;
31492 }
31493 arg1 = reinterpret_cast< GFitsBinTable * >(argp1);
31494 {
31495 try {
31496 delete arg1;
31497 }
31498 catch (const GException::out_of_range& e) {
31499 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
31500 }
31501 catch (const GExceptionHandler& e) {
31502 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31503 }
31504 catch (const std::exception& e) {
31505 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31506 }
31507 }
31508 resultobj = SWIG_Py_Void();
31509 return resultobj;
31510fail:
31511 return NULL__null;
31512}
31513
31514
31515SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsBinTable_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31516 PyObject *resultobj = 0;
31517 GFitsBinTable *arg1 = (GFitsBinTable *) 0 ;
31518 void *argp1 = 0 ;
31519 int res1 = 0 ;
31520 PyObject * obj0 = 0 ;
31521
31522 if (!PyArg_ParseTuple(args,(char *)"O:GFitsBinTable_clear",&obj0)) SWIG_failgoto fail;
31523 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsBinTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[4],
0 | 0, 0)
;
31524 if (!SWIG_IsOK(res1)(res1 >= 0)) {
31525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsBinTable_clear" "', argument " "1"" of type '" "GFitsBinTable *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsBinTable_clear" "', argument "
"1"" of type '" "GFitsBinTable *""'"); goto fail; } while(0)
;
31526 }
31527 arg1 = reinterpret_cast< GFitsBinTable * >(argp1);
31528 {
31529 try {
31530 (arg1)->clear();
31531 }
31532 catch (const GException::out_of_range& e) {
31533 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
31534 }
31535 catch (const GExceptionHandler& e) {
31536 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31537 }
31538 catch (const std::exception& e) {
31539 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31540 }
31541 }
31542 resultobj = SWIG_Py_Void();
31543 return resultobj;
31544fail:
31545 return NULL__null;
31546}
31547
31548
31549SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsBinTable_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31550 PyObject *resultobj = 0;
31551 GFitsBinTable *arg1 = (GFitsBinTable *) 0 ;
31552 void *argp1 = 0 ;
31553 int res1 = 0 ;
31554 PyObject * obj0 = 0 ;
31555 GFitsBinTable *result = 0 ;
31556
31557 if (!PyArg_ParseTuple(args,(char *)"O:GFitsBinTable_clone",&obj0)) SWIG_failgoto fail;
31558 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsBinTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[4],
0 | 0, 0)
;
31559 if (!SWIG_IsOK(res1)(res1 >= 0)) {
31560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsBinTable_clone" "', argument " "1"" of type '" "GFitsBinTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsBinTable_clone" "', argument "
"1"" of type '" "GFitsBinTable const *""'"); goto fail; } while
(0)
;
31561 }
31562 arg1 = reinterpret_cast< GFitsBinTable * >(argp1);
31563 {
31564 try {
31565 result = (GFitsBinTable *)((GFitsBinTable const *)arg1)->clone();
31566 }
31567 catch (const GException::out_of_range& e) {
31568 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
31569 }
31570 catch (const GExceptionHandler& e) {
31571 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31572 }
31573 catch (const std::exception& e) {
31574 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31575 }
31576 }
31577 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsBinTable, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[4], 0 |
0)
;
31578 return resultobj;
31579fail:
31580 return NULL__null;
31581}
31582
31583
31584SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsBinTable_exttype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31585 PyObject *resultobj = 0;
31586 GFitsBinTable *arg1 = (GFitsBinTable *) 0 ;
31587 void *argp1 = 0 ;
31588 int res1 = 0 ;
31589 PyObject * obj0 = 0 ;
31590 GFitsHDU::HDUType result;
31591
31592 if (!PyArg_ParseTuple(args,(char *)"O:GFitsBinTable_exttype",&obj0)) SWIG_failgoto fail;
31593 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsBinTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[4],
0 | 0, 0)
;
31594 if (!SWIG_IsOK(res1)(res1 >= 0)) {
31595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsBinTable_exttype" "', argument " "1"" of type '" "GFitsBinTable const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsBinTable_exttype" "', argument "
"1"" of type '" "GFitsBinTable const *""'"); goto fail; } while
(0)
;
31596 }
31597 arg1 = reinterpret_cast< GFitsBinTable * >(argp1);
31598 {
31599 try {
31600 result = (GFitsHDU::HDUType)((GFitsBinTable const *)arg1)->exttype();
31601 }
31602 catch (const GException::out_of_range& e) {
31603 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
31604 }
31605 catch (const GExceptionHandler& e) {
31606 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31607 }
31608 catch (const std::exception& e) {
31609 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31610 }
31611 }
31612 resultobj = SWIG_From_int(static_cast< int >(result));
31613 return resultobj;
31614fail:
31615 return NULL__null;
31616}
31617
31618
31619SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsBinTable_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31620 PyObject *resultobj = 0;
31621 GFitsBinTable *arg1 = (GFitsBinTable *) 0 ;
31622 void *argp1 = 0 ;
31623 int res1 = 0 ;
31624 PyObject * obj0 = 0 ;
31625 GFitsBinTable result;
31626
31627 if (!PyArg_ParseTuple(args,(char *)"O:GFitsBinTable_copy",&obj0)) SWIG_failgoto fail;
31628 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsBinTable, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[4],
0 | 0, 0)
;
31629 if (!SWIG_IsOK(res1)(res1 >= 0)) {
31630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsBinTable_copy" "', argument " "1"" of type '" "GFitsBinTable *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsBinTable_copy" "', argument "
"1"" of type '" "GFitsBinTable *""'"); goto fail; } while(0)
;
31631 }
31632 arg1 = reinterpret_cast< GFitsBinTable * >(argp1);
31633 {
31634 try {
31635 result = GFitsBinTable_copy(arg1);
31636 }
31637 catch (const GException::out_of_range& e) {
31638 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
31639 }
31640 catch (const GExceptionHandler& e) {
31641 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31642 }
31643 catch (const std::exception& e) {
31644 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31645 }
31646 }
31647 resultobj = SWIG_NewPointerObj((new GFitsBinTable(static_cast< const GFitsBinTable& >(result))), SWIGTYPE_p_GFitsBinTable, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GFitsBinTable(static_cast
< const GFitsBinTable& >(result))), swig_types[4], 0x1
| 0)
;
31648 return resultobj;
31649fail:
31650 return NULL__null;
31651}
31652
31653
31654SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GFitsBinTable_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31655 PyObject *obj;
31656 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
31657 SWIG_TypeNewClientData(SWIGTYPE_p_GFitsBinTableswig_types[4], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
31658 return SWIG_Py_Void();
31659}
31660
31661SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31662 PyObject *resultobj = 0;
31663 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
31664 PyObject **arg2 = (PyObject **) 0 ;
31665 void *argp1 = 0 ;
31666 int res1 = 0 ;
31667 PyObject * obj0 = 0 ;
31668 swig::SwigPyIterator *result = 0 ;
31669
31670 arg2 = &obj0;
31671 if (!PyArg_ParseTuple(args,(char *)"O:vectori_iterator",&obj0)) SWIG_failgoto fail;
31672 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[51]
, 0 | 0, 0)
;
31673 if (!SWIG_IsOK(res1)(res1 >= 0)) {
31674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori_iterator" "', argument " "1"" of type '" "std::vector< int > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "vectori_iterator" "', argument "
"1"" of type '" "std::vector< int > *""'"); goto fail;
} while(0)
;
31675 }
31676 arg1 = reinterpret_cast< std::vector< int > * >(argp1);
31677 {
31678 try {
31679 result = (swig::SwigPyIterator *)std_vector_Sl_int_Sg__iterator(arg1,arg2);
31680 }
31681 catch (const GException::out_of_range& e) {
31682 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
31683 }
31684 catch (const GExceptionHandler& e) {
31685 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31686 }
31687 catch (const std::exception& e) {
31688 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31689 }
31690 }
31691 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[52], 0x1
| 0)
;
31692 return resultobj;
31693fail:
31694 return NULL__null;
31695}
31696
31697
31698SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31699 PyObject *resultobj = 0;
31700 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
31701 void *argp1 = 0 ;
31702 int res1 = 0 ;
31703 PyObject * obj0 = 0 ;
31704 bool result;
31705
31706 if (!PyArg_ParseTuple(args,(char *)"O:vectori___nonzero__",&obj0)) SWIG_failgoto fail;
31707 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[51]
, 0 | 0, 0)
;
31708 if (!SWIG_IsOK(res1)(res1 >= 0)) {
31709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori___nonzero__" "', argument " "1"" of type '" "std::vector< int > const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "vectori___nonzero__" "', argument "
"1"" of type '" "std::vector< int > const *""'"); goto
fail; } while(0)
;
31710 }
31711 arg1 = reinterpret_cast< std::vector< int > * >(argp1);
31712 {
31713 try {
31714 result = (bool)std_vector_Sl_int_Sg____nonzero__((std::vector< int > const *)arg1);
31715 }
31716 catch (const GException::out_of_range& e) {
31717 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
31718 }
31719 catch (const GExceptionHandler& e) {
31720 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31721 }
31722 catch (const std::exception& e) {
31723 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31724 }
31725 }
31726 resultobj = SWIG_From_bool(static_cast< bool >(result));
31727 return resultobj;
31728fail:
31729 return NULL__null;
31730}
31731
31732
31733SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31734 PyObject *resultobj = 0;
31735 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
31736 void *argp1 = 0 ;
31737 int res1 = 0 ;
31738 PyObject * obj0 = 0 ;
31739 bool result;
31740
31741 if (!PyArg_ParseTuple(args,(char *)"O:vectori___bool__",&obj0)) SWIG_failgoto fail;
31742 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[51]
, 0 | 0, 0)
;
31743 if (!SWIG_IsOK(res1)(res1 >= 0)) {
31744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori___bool__" "', argument " "1"" of type '" "std::vector< int > const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "vectori___bool__" "', argument "
"1"" of type '" "std::vector< int > const *""'"); goto
fail; } while(0)
;
31745 }
31746 arg1 = reinterpret_cast< std::vector< int > * >(argp1);
31747 {
31748 try {
31749 result = (bool)std_vector_Sl_int_Sg____bool__((std::vector< int > const *)arg1);
31750 }
31751 catch (const GException::out_of_range& e) {
31752 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
31753 }
31754 catch (const GExceptionHandler& e) {
31755 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31756 }
31757 catch (const std::exception& e) {
31758 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31759 }
31760 }
31761 resultobj = SWIG_From_bool(static_cast< bool >(result));
31762 return resultobj;
31763fail:
31764 return NULL__null;
31765}
31766
31767
31768SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31769 PyObject *resultobj = 0;
31770 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
31771 void *argp1 = 0 ;
31772 int res1 = 0 ;
31773 PyObject * obj0 = 0 ;
31774 std::vector< int >::size_type result;
31775
31776 if (!PyArg_ParseTuple(args,(char *)"O:vectori___len__",&obj0)) SWIG_failgoto fail;
31777 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[51]
, 0 | 0, 0)
;
31778 if (!SWIG_IsOK(res1)(res1 >= 0)) {
31779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori___len__" "', argument " "1"" of type '" "std::vector< int > const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "vectori___len__" "', argument "
"1"" of type '" "std::vector< int > const *""'"); goto
fail; } while(0)
;
31780 }
31781 arg1 = reinterpret_cast< std::vector< int > * >(argp1);
31782 {
31783 try {
31784 result = std_vector_Sl_int_Sg____len__((std::vector< int > const *)arg1);
31785 }
31786 catch (const GException::out_of_range& e) {
31787 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
31788 }
31789 catch (const GExceptionHandler& e) {
31790 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31791 }
31792 catch (const std::exception& e) {
31793 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31794 }
31795 }
31796 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
31797 return resultobj;
31798fail:
31799 return NULL__null;
31800}
31801
31802
31803SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31804 PyObject *resultobj = 0;
31805 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
31806 void *argp1 = 0 ;
31807 int res1 = 0 ;
31808 PyObject * obj0 = 0 ;
31809 std::vector< int >::value_type result;
31810
31811 if (!PyArg_ParseTuple(args,(char *)"O:vectori_pop",&obj0)) SWIG_failgoto fail;
31812 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[51]
, 0 | 0, 0)
;
31813 if (!SWIG_IsOK(res1)(res1 >= 0)) {
31814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori_pop" "', argument " "1"" of type '" "std::vector< int > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "vectori_pop" "', argument "
"1"" of type '" "std::vector< int > *""'"); goto fail;
} while(0)
;
31815 }
31816 arg1 = reinterpret_cast< std::vector< int > * >(argp1);
31817 {
31818 try {
31819 try {
31820 result = (std::vector< int >::value_type)std_vector_Sl_int_Sg__pop(arg1);
31821 }
31822 catch(std::out_of_range &_e) {
31823 SWIG_exception_fail(SWIG_IndexError, (&_e)->what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), (&
_e)->what()); goto fail; } while(0)
;
31824 }
31825
31826 }
31827 catch (const GException::out_of_range& e) {
31828 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
31829 }
31830 catch (const GExceptionHandler& e) {
31831 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31832 }
31833 catch (const std::exception& e) {
31834 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31835 }
31836 }
31837 resultobj = SWIG_From_int(static_cast< int >(result));
31838 return resultobj;
31839fail:
31840 return NULL__null;
31841}
31842
31843
31844SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31845 PyObject *resultobj = 0;
31846 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
31847 std::vector< int >::difference_type arg2 ;
31848 std::vector< int >::difference_type arg3 ;
31849 void *argp1 = 0 ;
31850 int res1 = 0 ;
31851 ptrdiff_t val2 ;
31852 int ecode2 = 0 ;
31853 ptrdiff_t val3 ;
31854 int ecode3 = 0 ;
31855 PyObject * obj0 = 0 ;
31856 PyObject * obj1 = 0 ;
31857 PyObject * obj2 = 0 ;
31858 std::vector< int,std::allocator< int > > *result = 0 ;
31859
31860 if (!PyArg_ParseTuple(args,(char *)"OOO:vectori___getslice__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
31861 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[51]
, 0 | 0, 0)
;
31862 if (!SWIG_IsOK(res1)(res1 >= 0)) {
31863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori___getslice__" "', argument " "1"" of type '" "std::vector< int > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "vectori___getslice__" "', argument "
"1"" of type '" "std::vector< int > *""'"); goto fail;
} while(0)
;
31864 }
31865 arg1 = reinterpret_cast< std::vector< int > * >(argp1);
31866 ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
31867 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
31868 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vectori___getslice__" "', argument " "2"" of type '" "std::vector< int >::difference_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "vectori___getslice__" "', argument "
"2"" of type '" "std::vector< int >::difference_type""'"
); goto fail; } while(0)
;
31869 }
31870 arg2 = static_cast< std::vector< int >::difference_type >(val2);
31871 ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
31872 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
31873 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vectori___getslice__" "', argument " "3"" of type '" "std::vector< int >::difference_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "vectori___getslice__" "', argument "
"3"" of type '" "std::vector< int >::difference_type""'"
); goto fail; } while(0)
;
31874 }
31875 arg3 = static_cast< std::vector< int >::difference_type >(val3);
31876 {
31877 try {
31878 try {
31879 result = (std::vector< int,std::allocator< int > > *)std_vector_Sl_int_Sg____getslice__(arg1,arg2,arg3);
31880 }
31881 catch(std::out_of_range &_e) {
31882 SWIG_exception_fail(SWIG_IndexError, (&_e)->what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), (&
_e)->what()); goto fail; } while(0)
;
31883 }
31884 catch(std::invalid_argument &_e) {
31885 SWIG_exception_fail(SWIG_ValueError, (&_e)->what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), (&
_e)->what()); goto fail; } while(0)
;
31886 }
31887
31888 }
31889 catch (const GException::out_of_range& e) {
31890 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
31891 }
31892 catch (const GExceptionHandler& e) {
31893 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31894 }
31895 catch (const std::exception& e) {
31896 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31897 }
31898 }
31899 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[51], 0x1
| 0)
;
31900 return resultobj;
31901fail:
31902 return NULL__null;
31903}
31904
31905
31906SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31907 PyObject *resultobj = 0;
31908 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
31909 std::vector< int >::difference_type arg2 ;
31910 std::vector< int >::difference_type arg3 ;
31911 std::vector< int,std::allocator< int > > *arg4 = 0 ;
31912 void *argp1 = 0 ;
31913 int res1 = 0 ;
31914 ptrdiff_t val2 ;
31915 int ecode2 = 0 ;
31916 ptrdiff_t val3 ;
31917 int ecode3 = 0 ;
31918 int res4 = SWIG_OLDOBJ((0)) ;
31919 PyObject * obj0 = 0 ;
31920 PyObject * obj1 = 0 ;
31921 PyObject * obj2 = 0 ;
31922 PyObject * obj3 = 0 ;
31923
31924 if (!PyArg_ParseTuple(args,(char *)"OOOO:vectori___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
31925 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[51]
, 0 | 0, 0)
;
31926 if (!SWIG_IsOK(res1)(res1 >= 0)) {
31927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori___setslice__" "', argument " "1"" of type '" "std::vector< int > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "vectori___setslice__" "', argument "
"1"" of type '" "std::vector< int > *""'"); goto fail;
} while(0)
;
31928 }
31929 arg1 = reinterpret_cast< std::vector< int > * >(argp1);
31930 ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
31931 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
31932 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vectori___setslice__" "', argument " "2"" of type '" "std::vector< int >::difference_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "vectori___setslice__" "', argument "
"2"" of type '" "std::vector< int >::difference_type""'"
); goto fail; } while(0)
;
31933 }
31934 arg2 = static_cast< std::vector< int >::difference_type >(val2);
31935 ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
31936 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
31937 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vectori___setslice__" "', argument " "3"" of type '" "std::vector< int >::difference_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "vectori___setslice__" "', argument "
"3"" of type '" "std::vector< int >::difference_type""'"
); goto fail; } while(0)
;
31938 }
31939 arg3 = static_cast< std::vector< int >::difference_type >(val3);
31940 {
31941 std::vector<int,std::allocator< int > > *ptr = (std::vector<int,std::allocator< int > > *)0;
31942 res4 = swig::asptr(obj3, &ptr);
31943 if (!SWIG_IsOK(res4)(res4 >= 0)) {
31944 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vectori___setslice__" "', argument " "4"" of type '" "std::vector< int,std::allocator< int > > const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res4 != (
-1)) ? res4 : -5)), "in method '" "vectori___setslice__" "', argument "
"4"" of type '" "std::vector< int,std::allocator< int > > const &"
"'"); goto fail; } while(0)
;
31945 }
31946 if (!ptr) {
31947 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vectori___setslice__" "', argument " "4"" of type '" "std::vector< int,std::allocator< int > > const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "vectori___setslice__" "', argument " "4"" of type '"
"std::vector< int,std::allocator< int > > const &"
"'"); goto fail; } while(0)
;
31948 }
31949 arg4 = ptr;
31950 }
31951 {
31952 try {
31953 try {
31954 std_vector_Sl_int_Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< int,std::allocator< int > > const &)*arg4);
31955 }
31956 catch(std::out_of_range &_e) {
31957 SWIG_exception_fail(SWIG_IndexError, (&_e)->what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), (&
_e)->what()); goto fail; } while(0)
;
31958 }
31959 catch(std::invalid_argument &_e) {
31960 SWIG_exception_fail(SWIG_ValueError, (&_e)->what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), (&
_e)->what()); goto fail; } while(0)
;
31961 }
31962
31963 }
31964 catch (const GException::out_of_range& e) {
31965 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
31966 }
31967 catch (const GExceptionHandler& e) {
31968 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31969 }
31970 catch (const std::exception& e) {
31971 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
31972 }
31973 }
31974 resultobj = SWIG_Py_Void();
31975 if (SWIG_IsNewObj(res4)((res4 >= 0) && (res4 & ((1 << 8) <<
1)))
) delete arg4;
31976 return resultobj;
31977fail:
31978 if (SWIG_IsNewObj(res4)((res4 >= 0) && (res4 & ((1 << 8) <<
1)))
) delete arg4;
31979 return NULL__null;
31980}
31981
31982
31983SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31984 PyObject *resultobj = 0;
31985 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
31986 std::vector< int >::difference_type arg2 ;
31987 std::vector< int >::difference_type arg3 ;
31988 void *argp1 = 0 ;
31989 int res1 = 0 ;
31990 ptrdiff_t val2 ;
31991 int ecode2 = 0 ;
31992 ptrdiff_t val3 ;
31993 int ecode3 = 0 ;
31994 PyObject * obj0 = 0 ;
31995 PyObject * obj1 = 0 ;
31996 PyObject * obj2 = 0 ;
31997
31998 if (!PyArg_ParseTuple(args,(char *)"OOO:vectori___setslice__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
31999 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[51]
, 0 | 0, 0)
;
32000 if (!SWIG_IsOK(res1)(res1 >= 0)) {
32001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori___setslice__" "', argument " "1"" of type '" "std::vector< int > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "vectori___setslice__" "', argument "
"1"" of type '" "std::vector< int > *""'"); goto fail;
} while(0)
;
32002 }
32003 arg1 = reinterpret_cast< std::vector< int > * >(argp1);
32004 ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
32005 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
32006 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vectori___setslice__" "', argument " "2"" of type '" "std::vector< int >::difference_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "vectori___setslice__" "', argument "
"2"" of type '" "std::vector< int >::difference_type""'"
); goto fail; } while(0)
;
32007 }
32008 arg2 = static_cast< std::vector< int >::difference_type >(val2);
32009 ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
32010 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
32011 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vectori___setslice__" "', argument " "3"" of type '" "std::vector< int >::difference_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "vectori___setslice__" "', argument "
"3"" of type '" "std::vector< int >::difference_type""'"
); goto fail; } while(0)
;
32012 }
32013 arg3 = static_cast< std::vector< int >::difference_type >(val3);
32014 {
32015 try {
32016 try {
32017 std_vector_Sl_int_Sg____setslice____SWIG_0(arg1,arg2,arg3);
32018 }
32019 catch(std::out_of_range &_e) {
32020 SWIG_exception_fail(SWIG_IndexError, (&_e)->what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), (&
_e)->what()); goto fail; } while(0)
;
32021 }
32022 catch(std::invalid_argument &_e) {
32023 SWIG_exception_fail(SWIG_ValueError, (&_e)->what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), (&
_e)->what()); goto fail; } while(0)
;
32024 }
32025
32026 }
32027 catch (const GException::out_of_range& e) {
32028 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
32029 }
32030 catch (const GExceptionHandler& e) {
32031 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32032 }
32033 catch (const std::exception& e) {
32034 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32035 }
32036 }
32037 resultobj = SWIG_Py_Void();
32038 return resultobj;
32039fail:
32040 return NULL__null;
32041}
32042
32043
32044SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori___setslice__(PyObject *self, PyObject *args) {
32045 int argc;
32046 PyObject *argv[5];
32047 int ii;
32048
32049 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
32050 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
32051 for (ii = 0; (ii < 4) && (ii < argc); ii++) {
32052 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
32053 }
32054 if (argc == 3) {
32055 int _v;
32056 int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0));
32057 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32058 if (_v) {
32059 {
32060 int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL__null);
32061 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32062 }
32063 if (_v) {
32064 {
32065 int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL__null);
32066 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32067 }
32068 if (_v) {
32069 return _wrap_vectori___setslice____SWIG_1(self, args);
32070 }
32071 }
32072 }
32073 }
32074 if (argc == 4) {
32075 int _v;
32076 int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0));
32077 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32078 if (_v) {
32079 {
32080 int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL__null);
32081 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32082 }
32083 if (_v) {
32084 {
32085 int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL__null);
32086 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32087 }
32088 if (_v) {
32089 int res = swig::asptr(argv[3], (std::vector<int,std::allocator< int > >**)(0));
32090 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32091 if (_v) {
32092 return _wrap_vectori___setslice____SWIG_0(self, args);
32093 }
32094 }
32095 }
32096 }
32097 }
32098
32099fail:
32100 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vectori___setslice__'.\n"
32101 " Possible C/C++ prototypes are:\n"
32102 " std::vector< int >::__setslice__(std::vector< int >::difference_type,std::vector< int >::difference_type,std::vector< int,std::allocator< int > > const &)\n"
32103 " std::vector< int >::__setslice__(std::vector< int >::difference_type,std::vector< int >::difference_type)\n");
32104 return 0;
32105}
32106
32107
32108SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori___delslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32109 PyObject *resultobj = 0;
32110 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
32111 std::vector< int >::difference_type arg2 ;
32112 std::vector< int >::difference_type arg3 ;
32113 void *argp1 = 0 ;
32114 int res1 = 0 ;
32115 ptrdiff_t val2 ;
32116 int ecode2 = 0 ;
32117 ptrdiff_t val3 ;
32118 int ecode3 = 0 ;
32119 PyObject * obj0 = 0 ;
32120 PyObject * obj1 = 0 ;
32121 PyObject * obj2 = 0 ;
32122
32123 if (!PyArg_ParseTuple(args,(char *)"OOO:vectori___delslice__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
32124 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[51]
, 0 | 0, 0)
;
32125 if (!SWIG_IsOK(res1)(res1 >= 0)) {
32126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori___delslice__" "', argument " "1"" of type '" "std::vector< int > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "vectori___delslice__" "', argument "
"1"" of type '" "std::vector< int > *""'"); goto fail;
} while(0)
;
32127 }
32128 arg1 = reinterpret_cast< std::vector< int > * >(argp1);
32129 ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
32130 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
32131 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vectori___delslice__" "', argument " "2"" of type '" "std::vector< int >::difference_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "vectori___delslice__" "', argument "
"2"" of type '" "std::vector< int >::difference_type""'"
); goto fail; } while(0)
;
32132 }
32133 arg2 = static_cast< std::vector< int >::difference_type >(val2);
32134 ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3);
32135 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
32136 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vectori___delslice__" "', argument " "3"" of type '" "std::vector< int >::difference_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "vectori___delslice__" "', argument "
"3"" of type '" "std::vector< int >::difference_type""'"
); goto fail; } while(0)
;
32137 }
32138 arg3 = static_cast< std::vector< int >::difference_type >(val3);
32139 {
32140 try {
32141 try {
32142 std_vector_Sl_int_Sg____delslice__(arg1,arg2,arg3);
32143 }
32144 catch(std::out_of_range &_e) {
32145 SWIG_exception_fail(SWIG_IndexError, (&_e)->what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), (&
_e)->what()); goto fail; } while(0)
;
32146 }
32147 catch(std::invalid_argument &_e) {
32148 SWIG_exception_fail(SWIG_ValueError, (&_e)->what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), (&
_e)->what()); goto fail; } while(0)
;
32149 }
32150
32151 }
32152 catch (const GException::out_of_range& e) {
32153 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
32154 }
32155 catch (const GExceptionHandler& e) {
32156 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32157 }
32158 catch (const std::exception& e) {
32159 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32160 }
32161 }
32162 resultobj = SWIG_Py_Void();
32163 return resultobj;
32164fail:
32165 return NULL__null;
32166}
32167
32168
32169SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori___delitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32170 PyObject *resultobj = 0;
32171 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
32172 std::vector< int >::difference_type arg2 ;
32173 void *argp1 = 0 ;
32174 int res1 = 0 ;
32175 ptrdiff_t val2 ;
32176 int ecode2 = 0 ;
32177 PyObject * obj0 = 0 ;
32178 PyObject * obj1 = 0 ;
32179
32180 if (!PyArg_ParseTuple(args,(char *)"OO:vectori___delitem__",&obj0,&obj1)) SWIG_failgoto fail;
32181 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[51]
, 0 | 0, 0)
;
32182 if (!SWIG_IsOK(res1)(res1 >= 0)) {
32183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori___delitem__" "', argument " "1"" of type '" "std::vector< int > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "vectori___delitem__" "', argument "
"1"" of type '" "std::vector< int > *""'"); goto fail;
} while(0)
;
32184 }
32185 arg1 = reinterpret_cast< std::vector< int > * >(argp1);
32186 ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
32187 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
32188 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vectori___delitem__" "', argument " "2"" of type '" "std::vector< int >::difference_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "vectori___delitem__" "', argument "
"2"" of type '" "std::vector< int >::difference_type""'"
); goto fail; } while(0)
;
32189 }
32190 arg2 = static_cast< std::vector< int >::difference_type >(val2);
32191 {
32192 try {
32193 try {
32194 std_vector_Sl_int_Sg____delitem____SWIG_0(arg1,arg2);
32195 }
32196 catch(std::out_of_range &_e) {
32197 SWIG_exception_fail(SWIG_IndexError, (&_e)->what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), (&
_e)->what()); goto fail; } while(0)
;
32198 }
32199
32200 }
32201 catch (const GException::out_of_range& e) {
32202 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
32203 }
32204 catch (const GExceptionHandler& e) {
32205 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32206 }
32207 catch (const std::exception& e) {
32208 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32209 }
32210 }
32211 resultobj = SWIG_Py_Void();
32212 return resultobj;
32213fail:
32214 return NULL__null;
32215}
32216
32217
32218SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32219 PyObject *resultobj = 0;
32220 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
32221 PySliceObject *arg2 = (PySliceObject *) 0 ;
32222 void *argp1 = 0 ;
32223 int res1 = 0 ;
32224 PyObject * obj0 = 0 ;
32225 PyObject * obj1 = 0 ;
32226 std::vector< int,std::allocator< int > > *result = 0 ;
32227
32228 if (!PyArg_ParseTuple(args,(char *)"OO:vectori___getitem__",&obj0,&obj1)) SWIG_failgoto fail;
32229 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[51]
, 0 | 0, 0)
;
32230 if (!SWIG_IsOK(res1)(res1 >= 0)) {
32231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori___getitem__" "', argument " "1"" of type '" "std::vector< int > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "vectori___getitem__" "', argument "
"1"" of type '" "std::vector< int > *""'"); goto fail;
} while(0)
;
32232 }
32233 arg1 = reinterpret_cast< std::vector< int > * >(argp1);
32234 {
32235 if (!PySlice_Check(obj1)((((PyObject*)(obj1))->ob_type) == &PySlice_Type)) {
32236 SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vectori___getitem__" "', argument " "2"" of type '" "PySliceObject *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((-5 != (-
1)) ? -5 : -5)), "in method '" "vectori___getitem__" "', argument "
"2"" of type '" "PySliceObject *""'"); goto fail; } while(0)
;
32237 }
32238 arg2 = (PySliceObject *) obj1;
32239 }
32240 {
32241 try {
32242 try {
32243 result = (std::vector< int,std::allocator< int > > *)std_vector_Sl_int_Sg____getitem____SWIG_0(arg1,arg2);
32244 }
32245 catch(std::out_of_range &_e) {
32246 SWIG_exception_fail(SWIG_IndexError, (&_e)->what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), (&
_e)->what()); goto fail; } while(0)
;
32247 }
32248 catch(std::invalid_argument &_e) {
32249 SWIG_exception_fail(SWIG_ValueError, (&_e)->what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), (&
_e)->what()); goto fail; } while(0)
;
32250 }
32251
32252 }
32253 catch (const GException::out_of_range& e) {
32254 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
32255 }
32256 catch (const GExceptionHandler& e) {
32257 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32258 }
32259 catch (const std::exception& e) {
32260 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32261 }
32262 }
32263 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[51], 0x1
| 0)
;
32264 return resultobj;
32265fail:
32266 return NULL__null;
32267}
32268
32269
32270SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32271 PyObject *resultobj = 0;
32272 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
32273 PySliceObject *arg2 = (PySliceObject *) 0 ;
32274 std::vector< int,std::allocator< int > > *arg3 = 0 ;
32275 void *argp1 = 0 ;
32276 int res1 = 0 ;
32277 int res3 = SWIG_OLDOBJ((0)) ;
32278 PyObject * obj0 = 0 ;
32279 PyObject * obj1 = 0 ;
32280 PyObject * obj2 = 0 ;
32281
32282 if (!PyArg_ParseTuple(args,(char *)"OOO:vectori___setitem__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
32283 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[51]
, 0 | 0, 0)
;
32284 if (!SWIG_IsOK(res1)(res1 >= 0)) {
32285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori___setitem__" "', argument " "1"" of type '" "std::vector< int > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "vectori___setitem__" "', argument "
"1"" of type '" "std::vector< int > *""'"); goto fail;
} while(0)
;
32286 }
32287 arg1 = reinterpret_cast< std::vector< int > * >(argp1);
32288 {
32289 if (!PySlice_Check(obj1)((((PyObject*)(obj1))->ob_type) == &PySlice_Type)) {
32290 SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vectori___setitem__" "', argument " "2"" of type '" "PySliceObject *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((-5 != (-
1)) ? -5 : -5)), "in method '" "vectori___setitem__" "', argument "
"2"" of type '" "PySliceObject *""'"); goto fail; } while(0)
;
32291 }
32292 arg2 = (PySliceObject *) obj1;
32293 }
32294 {
32295 std::vector<int,std::allocator< int > > *ptr = (std::vector<int,std::allocator< int > > *)0;
32296 res3 = swig::asptr(obj2, &ptr);
32297 if (!SWIG_IsOK(res3)(res3 >= 0)) {
32298 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vectori___setitem__" "', argument " "3"" of type '" "std::vector< int,std::allocator< int > > const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "vectori___setitem__" "', argument "
"3"" of type '" "std::vector< int,std::allocator< int > > const &"
"'"); goto fail; } while(0)
;
32299 }
32300 if (!ptr) {
32301 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vectori___setitem__" "', argument " "3"" of type '" "std::vector< int,std::allocator< int > > const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "vectori___setitem__" "', argument " "3"" of type '"
"std::vector< int,std::allocator< int > > const &"
"'"); goto fail; } while(0)
;
32302 }
32303 arg3 = ptr;
32304 }
32305 {
32306 try {
32307 try {
32308 std_vector_Sl_int_Sg____setitem____SWIG_0(arg1,arg2,(std::vector< int,std::allocator< int > > const &)*arg3);
32309 }
32310 catch(std::out_of_range &_e) {
32311 SWIG_exception_fail(SWIG_IndexError, (&_e)->what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), (&
_e)->what()); goto fail; } while(0)
;
32312 }
32313 catch(std::invalid_argument &_e) {
32314 SWIG_exception_fail(SWIG_ValueError, (&_e)->what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), (&
_e)->what()); goto fail; } while(0)
;
32315 }
32316
32317 }
32318 catch (const GException::out_of_range& e) {
32319 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
32320 }
32321 catch (const GExceptionHandler& e) {
32322 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32323 }
32324 catch (const std::exception& e) {
32325 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32326 }
32327 }
32328 resultobj = SWIG_Py_Void();
32329 if (SWIG_IsNewObj(res3)((res3 >= 0) && (res3 & ((1 << 8) <<
1)))
) delete arg3;
32330 return resultobj;
32331fail:
32332 if (SWIG_IsNewObj(res3)((res3 >= 0) && (res3 & ((1 << 8) <<
1)))
) delete arg3;
32333 return NULL__null;
32334}
32335
32336
32337SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32338 PyObject *resultobj = 0;
32339 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
32340 PySliceObject *arg2 = (PySliceObject *) 0 ;
32341 void *argp1 = 0 ;
32342 int res1 = 0 ;
32343 PyObject * obj0 = 0 ;
32344 PyObject * obj1 = 0 ;
32345
32346 if (!PyArg_ParseTuple(args,(char *)"OO:vectori___setitem__",&obj0,&obj1)) SWIG_failgoto fail;
32347 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[51]
, 0 | 0, 0)
;
32348 if (!SWIG_IsOK(res1)(res1 >= 0)) {
32349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori___setitem__" "', argument " "1"" of type '" "std::vector< int > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "vectori___setitem__" "', argument "
"1"" of type '" "std::vector< int > *""'"); goto fail;
} while(0)
;
32350 }
32351 arg1 = reinterpret_cast< std::vector< int > * >(argp1);
32352 {
32353 if (!PySlice_Check(obj1)((((PyObject*)(obj1))->ob_type) == &PySlice_Type)) {
32354 SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vectori___setitem__" "', argument " "2"" of type '" "PySliceObject *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((-5 != (-
1)) ? -5 : -5)), "in method '" "vectori___setitem__" "', argument "
"2"" of type '" "PySliceObject *""'"); goto fail; } while(0)
;
32355 }
32356 arg2 = (PySliceObject *) obj1;
32357 }
32358 {
32359 try {
32360 try {
32361 std_vector_Sl_int_Sg____setitem____SWIG_1(arg1,arg2);
32362 }
32363 catch(std::out_of_range &_e) {
32364 SWIG_exception_fail(SWIG_IndexError, (&_e)->what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), (&
_e)->what()); goto fail; } while(0)
;
32365 }
32366 catch(std::invalid_argument &_e) {
32367 SWIG_exception_fail(SWIG_ValueError, (&_e)->what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), (&
_e)->what()); goto fail; } while(0)
;
32368 }
32369
32370 }
32371 catch (const GException::out_of_range& e) {
32372 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
32373 }
32374 catch (const GExceptionHandler& e) {
32375 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32376 }
32377 catch (const std::exception& e) {
32378 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32379 }
32380 }
32381 resultobj = SWIG_Py_Void();
32382 return resultobj;
32383fail:
32384 return NULL__null;
32385}
32386
32387
32388SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori___delitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32389 PyObject *resultobj = 0;
32390 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
32391 PySliceObject *arg2 = (PySliceObject *) 0 ;
32392 void *argp1 = 0 ;
32393 int res1 = 0 ;
32394 PyObject * obj0 = 0 ;
32395 PyObject * obj1 = 0 ;
32396
32397 if (!PyArg_ParseTuple(args,(char *)"OO:vectori___delitem__",&obj0,&obj1)) SWIG_failgoto fail;
32398 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[51]
, 0 | 0, 0)
;
32399 if (!SWIG_IsOK(res1)(res1 >= 0)) {
32400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori___delitem__" "', argument " "1"" of type '" "std::vector< int > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "vectori___delitem__" "', argument "
"1"" of type '" "std::vector< int > *""'"); goto fail;
} while(0)
;
32401 }
32402 arg1 = reinterpret_cast< std::vector< int > * >(argp1);
32403 {
32404 if (!PySlice_Check(obj1)((((PyObject*)(obj1))->ob_type) == &PySlice_Type)) {
32405 SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vectori___delitem__" "', argument " "2"" of type '" "PySliceObject *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((-5 != (-
1)) ? -5 : -5)), "in method '" "vectori___delitem__" "', argument "
"2"" of type '" "PySliceObject *""'"); goto fail; } while(0)
;
32406 }
32407 arg2 = (PySliceObject *) obj1;
32408 }
32409 {
32410 try {
32411 try {
32412 std_vector_Sl_int_Sg____delitem____SWIG_1(arg1,arg2);
32413 }
32414 catch(std::out_of_range &_e) {
32415 SWIG_exception_fail(SWIG_IndexError, (&_e)->what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), (&
_e)->what()); goto fail; } while(0)
;
32416 }
32417 catch(std::invalid_argument &_e) {
32418 SWIG_exception_fail(SWIG_ValueError, (&_e)->what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), (&
_e)->what()); goto fail; } while(0)
;
32419 }
32420
32421 }
32422 catch (const GException::out_of_range& e) {
32423 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
32424 }
32425 catch (const GExceptionHandler& e) {
32426 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32427 }
32428 catch (const std::exception& e) {
32429 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32430 }
32431 }
32432 resultobj = SWIG_Py_Void();
32433 return resultobj;
32434fail:
32435 return NULL__null;
32436}
32437
32438
32439SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori___delitem__(PyObject *self, PyObject *args) {
32440 int argc;
32441 PyObject *argv[3];
32442 int ii;
32443
32444 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
32445 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
32446 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
32447 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
32448 }
32449 if (argc == 2) {
32450 int _v;
32451 int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0));
32452 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32453 if (_v) {
32454 {
32455 _v = PySlice_Check(argv[1])((((PyObject*)(argv[1]))->ob_type) == &PySlice_Type);
32456 }
32457 if (_v) {
32458 return _wrap_vectori___delitem____SWIG_1(self, args);
32459 }
32460 }
32461 }
32462 if (argc == 2) {
32463 int _v;
32464 int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0));
32465 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32466 if (_v) {
32467 {
32468 int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL__null);
32469 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32470 }
32471 if (_v) {
32472 return _wrap_vectori___delitem____SWIG_0(self, args);
32473 }
32474 }
32475 }
32476
32477fail:
32478 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vectori___delitem__'.\n"
32479 " Possible C/C++ prototypes are:\n"
32480 " std::vector< int >::__delitem__(std::vector< int >::difference_type)\n"
32481 " std::vector< int >::__delitem__(PySliceObject *)\n");
32482 return 0;
32483}
32484
32485
32486SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32487 PyObject *resultobj = 0;
32488 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
32489 std::vector< int >::difference_type arg2 ;
32490 void *argp1 = 0 ;
32491 int res1 = 0 ;
32492 ptrdiff_t val2 ;
32493 int ecode2 = 0 ;
32494 PyObject * obj0 = 0 ;
32495 PyObject * obj1 = 0 ;
32496 std::vector< int >::value_type *result = 0 ;
32497
32498 if (!PyArg_ParseTuple(args,(char *)"OO:vectori___getitem__",&obj0,&obj1)) SWIG_failgoto fail;
32499 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[51]
, 0 | 0, 0)
;
32500 if (!SWIG_IsOK(res1)(res1 >= 0)) {
32501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori___getitem__" "', argument " "1"" of type '" "std::vector< int > const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "vectori___getitem__" "', argument "
"1"" of type '" "std::vector< int > const *""'"); goto
fail; } while(0)
;
32502 }
32503 arg1 = reinterpret_cast< std::vector< int > * >(argp1);
32504 ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
32505 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
32506 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vectori___getitem__" "', argument " "2"" of type '" "std::vector< int >::difference_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "vectori___getitem__" "', argument "
"2"" of type '" "std::vector< int >::difference_type""'"
); goto fail; } while(0)
;
32507 }
32508 arg2 = static_cast< std::vector< int >::difference_type >(val2);
32509 {
32510 try {
32511 try {
32512 result = (std::vector< int >::value_type *) &std_vector_Sl_int_Sg____getitem____SWIG_1((std::vector< int > const *)arg1,arg2);
32513 }
32514 catch(std::out_of_range &_e) {
32515 SWIG_exception_fail(SWIG_IndexError, (&_e)->what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), (&
_e)->what()); goto fail; } while(0)
;
32516 }
32517
32518 }
32519 catch (const GException::out_of_range& e) {
32520 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
32521 }
32522 catch (const GExceptionHandler& e) {
32523 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32524 }
32525 catch (const std::exception& e) {
32526 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32527 }
32528 }
32529 resultobj = SWIG_From_int(static_cast< int >(*result));
32530 return resultobj;
32531fail:
32532 return NULL__null;
32533}
32534
32535
32536SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori___getitem__(PyObject *self, PyObject *args) {
32537 int argc;
32538 PyObject *argv[3];
32539 int ii;
32540
32541 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
32542 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
32543 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
32544 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
32545 }
32546 if (argc == 2) {
32547 int _v;
32548 int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0));
32549 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32550 if (_v) {
32551 {
32552 _v = PySlice_Check(argv[1])((((PyObject*)(argv[1]))->ob_type) == &PySlice_Type);
32553 }
32554 if (_v) {
32555 return _wrap_vectori___getitem____SWIG_0(self, args);
32556 }
32557 }
32558 }
32559 if (argc == 2) {
32560 int _v;
32561 int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0));
32562 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32563 if (_v) {
32564 {
32565 int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL__null);
32566 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32567 }
32568 if (_v) {
32569 return _wrap_vectori___getitem____SWIG_1(self, args);
32570 }
32571 }
32572 }
32573
32574fail:
32575 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vectori___getitem__'.\n"
32576 " Possible C/C++ prototypes are:\n"
32577 " std::vector< int >::__getitem__(PySliceObject *)\n"
32578 " std::vector< int >::__getitem__(std::vector< int >::difference_type) const\n");
32579 return 0;
32580}
32581
32582
32583SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori___setitem____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32584 PyObject *resultobj = 0;
32585 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
32586 std::vector< int >::difference_type arg2 ;
32587 std::vector< int >::value_type *arg3 = 0 ;
32588 void *argp1 = 0 ;
32589 int res1 = 0 ;
32590 ptrdiff_t val2 ;
32591 int ecode2 = 0 ;
32592 std::vector< int >::value_type temp3 ;
32593 int val3 ;
32594 int ecode3 = 0 ;
32595 PyObject * obj0 = 0 ;
32596 PyObject * obj1 = 0 ;
32597 PyObject * obj2 = 0 ;
32598
32599 if (!PyArg_ParseTuple(args,(char *)"OOO:vectori___setitem__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
32600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[51]
, 0 | 0, 0)
;
32601 if (!SWIG_IsOK(res1)(res1 >= 0)) {
32602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori___setitem__" "', argument " "1"" of type '" "std::vector< int > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "vectori___setitem__" "', argument "
"1"" of type '" "std::vector< int > *""'"); goto fail;
} while(0)
;
32603 }
32604 arg1 = reinterpret_cast< std::vector< int > * >(argp1);
32605 ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
32606 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
32607 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vectori___setitem__" "', argument " "2"" of type '" "std::vector< int >::difference_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "vectori___setitem__" "', argument "
"2"" of type '" "std::vector< int >::difference_type""'"
); goto fail; } while(0)
;
32608 }
32609 arg2 = static_cast< std::vector< int >::difference_type >(val2);
32610 ecode3 = SWIG_AsVal_int(obj2, &val3);
32611 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
32612 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vectori___setitem__" "', argument " "3"" of type '" "std::vector< int >::value_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "vectori___setitem__" "', argument "
"3"" of type '" "std::vector< int >::value_type""'"); goto
fail; } while(0)
;
32613 }
32614 temp3 = static_cast< std::vector< int >::value_type >(val3);
32615 arg3 = &temp3;
32616 {
32617 try {
32618 try {
32619 std_vector_Sl_int_Sg____setitem____SWIG_2(arg1,arg2,(int const &)*arg3);
32620 }
32621 catch(std::out_of_range &_e) {
32622 SWIG_exception_fail(SWIG_IndexError, (&_e)->what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), (&
_e)->what()); goto fail; } while(0)
;
32623 }
32624
32625 }
32626 catch (const GException::out_of_range& e) {
32627 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
32628 }
32629 catch (const GExceptionHandler& e) {
32630 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32631 }
32632 catch (const std::exception& e) {
32633 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32634 }
32635 }
32636 resultobj = SWIG_Py_Void();
32637 return resultobj;
32638fail:
32639 return NULL__null;
32640}
32641
32642
32643SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori___setitem__(PyObject *self, PyObject *args) {
32644 int argc;
32645 PyObject *argv[4];
32646 int ii;
32647
32648 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
32649 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
32650 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
32651 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
32652 }
32653 if (argc == 2) {
32654 int _v;
32655 int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0));
32656 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32657 if (_v) {
32658 {
32659 _v = PySlice_Check(argv[1])((((PyObject*)(argv[1]))->ob_type) == &PySlice_Type);
32660 }
32661 if (_v) {
32662 return _wrap_vectori___setitem____SWIG_1(self, args);
32663 }
32664 }
32665 }
32666 if (argc == 3) {
32667 int _v;
32668 int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0));
32669 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32670 if (_v) {
32671 {
32672 _v = PySlice_Check(argv[1])((((PyObject*)(argv[1]))->ob_type) == &PySlice_Type);
32673 }
32674 if (_v) {
32675 int res = swig::asptr(argv[2], (std::vector<int,std::allocator< int > >**)(0));
32676 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32677 if (_v) {
32678 return _wrap_vectori___setitem____SWIG_0(self, args);
32679 }
32680 }
32681 }
32682 }
32683 if (argc == 3) {
32684 int _v;
32685 int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0));
32686 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32687 if (_v) {
32688 {
32689 int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL__null);
32690 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32691 }
32692 if (_v) {
32693 {
32694 int res = SWIG_AsVal_int(argv[2], NULL__null);
32695 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
32696 }
32697 if (_v) {
32698 return _wrap_vectori___setitem____SWIG_2(self, args);
32699 }
32700 }
32701 }
32702 }
32703
32704fail:
32705 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vectori___setitem__'.\n"
32706 " Possible C/C++ prototypes are:\n"
32707 " std::vector< int >::__setitem__(PySliceObject *,std::vector< int,std::allocator< int > > const &)\n"
32708 " std::vector< int >::__setitem__(PySliceObject *)\n"
32709 " std::vector< int >::__setitem__(std::vector< int >::difference_type,std::vector< int >::value_type const &)\n");
32710 return 0;
32711}
32712
32713
32714SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32715 PyObject *resultobj = 0;
32716 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
32717 std::vector< int >::value_type *arg2 = 0 ;
32718 void *argp1 = 0 ;
32719 int res1 = 0 ;
32720 std::vector< int >::value_type temp2 ;
32721 int val2 ;
32722 int ecode2 = 0 ;
32723 PyObject * obj0 = 0 ;
32724 PyObject * obj1 = 0 ;
32725
32726 if (!PyArg_ParseTuple(args,(char *)"OO:vectori_append",&obj0,&obj1)) SWIG_failgoto fail;
32727 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[51]
, 0 | 0, 0)
;
32728 if (!SWIG_IsOK(res1)(res1 >= 0)) {
32729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori_append" "', argument " "1"" of type '" "std::vector< int > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "vectori_append" "', argument "
"1"" of type '" "std::vector< int > *""'"); goto fail;
} while(0)
;
32730 }
32731 arg1 = reinterpret_cast< std::vector< int > * >(argp1);
32732 ecode2 = SWIG_AsVal_int(obj1, &val2);
32733 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
32734 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vectori_append" "', argument " "2"" of type '" "std::vector< int >::value_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "vectori_append" "', argument "
"2"" of type '" "std::vector< int >::value_type""'"); goto
fail; } while(0)
;
32735 }
32736 temp2 = static_cast< std::vector< int >::value_type >(val2);
32737 arg2 = &temp2;
32738 {
32739 try {
32740 std_vector_Sl_int_Sg__append(arg1,(int const &)*arg2);
32741 }
32742 catch (const GException::out_of_range& e) {
32743 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
32744 }
32745 catch (const GExceptionHandler& e) {
32746 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32747 }
32748 catch (const std::exception& e) {
32749 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32750 }
32751 }
32752 resultobj = SWIG_Py_Void();
32753 return resultobj;
32754fail:
32755 return NULL__null;
32756}
32757
32758
32759SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_vectori__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32760 PyObject *resultobj = 0;
32761 std::vector< int > *result = 0 ;
32762
32763 if (!PyArg_ParseTuple(args,(char *)":new_vectori")) SWIG_failgoto fail;
32764 {
32765 try {
32766 result = (std::vector< int > *)new std::vector< int >();
32767 }
32768 catch (const GException::out_of_range& e) {
32769 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
32770 }
32771 catch (const GExceptionHandler& e) {
32772 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32773 }
32774 catch (const std::exception& e) {
32775 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32776 }
32777 }
32778 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[51], (
(0x1 << 1) | 0x1) | 0)
;
32779 return resultobj;
32780fail:
32781 return NULL__null;
32782}
32783
32784
32785SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_vectori__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32786 PyObject *resultobj = 0;
32787 std::vector< int > *arg1 = 0 ;
32788 int res1 = SWIG_OLDOBJ((0)) ;
32789 PyObject * obj0 = 0 ;
32790 std::vector< int > *result = 0 ;
32791
32792 if (!PyArg_ParseTuple(args,(char *)"O:new_vectori",&obj0)) SWIG_failgoto fail;
32793 {
32794 std::vector<int,std::allocator< int > > *ptr = (std::vector<int,std::allocator< int > > *)0;
32795 res1 = swig::asptr(obj0, &ptr);
32796 if (!SWIG_IsOK(res1)(res1 >= 0)) {
32797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vectori" "', argument " "1"" of type '" "std::vector< int > const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_vectori" "', argument "
"1"" of type '" "std::vector< int > const &""'"); goto
fail; } while(0)
;
32798 }
32799 if (!ptr) {
32800 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_vectori" "', argument " "1"" of type '" "std::vector< int > const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_vectori" "', argument " "1"" of type '" "std::vector< int > const &"
"'"); goto fail; } while(0)
;
32801 }
32802 arg1 = ptr;
32803 }
32804 {
32805 try {
32806 result = (std::vector< int > *)new std::vector< int >((std::vector< int > const &)*arg1);
32807 }
32808 catch (const GException::out_of_range& e) {
32809 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
32810 }
32811 catch (const GExceptionHandler& e) {
32812 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32813 }
32814 catch (const std::exception& e) {
32815 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32816 }
32817 }
32818 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[51], (
(0x1 << 1) | 0x1) | 0)
;
32819 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
32820 return resultobj;
32821fail:
32822 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
32823 return NULL__null;
32824}
32825
32826
32827SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32828 PyObject *resultobj = 0;
32829 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
32830 void *argp1 = 0 ;
32831 int res1 = 0 ;
32832 PyObject * obj0 = 0 ;
32833 bool result;
32834
32835 if (!PyArg_ParseTuple(args,(char *)"O:vectori_empty",&obj0)) SWIG_failgoto fail;
32836 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[51]
, 0 | 0, 0)
;
32837 if (!SWIG_IsOK(res1)(res1 >= 0)) {
32838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori_empty" "', argument " "1"" of type '" "std::vector< int > const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "vectori_empty" "', argument "
"1"" of type '" "std::vector< int > const *""'"); goto
fail; } while(0)
;
32839 }
32840 arg1 = reinterpret_cast< std::vector< int > * >(argp1);
32841 {
32842 try {
32843 result = (bool)((std::vector< int > const *)arg1)->empty();
32844 }
32845 catch (const GException::out_of_range& e) {
32846 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
32847 }
32848 catch (const GExceptionHandler& e) {
32849 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32850 }
32851 catch (const std::exception& e) {
32852 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32853 }
32854 }
32855 resultobj = SWIG_From_bool(static_cast< bool >(result));
32856 return resultobj;
32857fail:
32858 return NULL__null;
32859}
32860
32861
32862SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32863 PyObject *resultobj = 0;
32864 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
32865 void *argp1 = 0 ;
32866 int res1 = 0 ;
32867 PyObject * obj0 = 0 ;
32868 std::vector< int >::size_type result;
32869
32870 if (!PyArg_ParseTuple(args,(char *)"O:vectori_size",&obj0)) SWIG_failgoto fail;
32871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[51]
, 0 | 0, 0)
;
32872 if (!SWIG_IsOK(res1)(res1 >= 0)) {
32873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori_size" "', argument " "1"" of type '" "std::vector< int > const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "vectori_size" "', argument "
"1"" of type '" "std::vector< int > const *""'"); goto
fail; } while(0)
;
32874 }
32875 arg1 = reinterpret_cast< std::vector< int > * >(argp1);
32876 {
32877 try {
32878 result = ((std::vector< int > const *)arg1)->size();
32879 }
32880 catch (const GException::out_of_range& e) {
32881 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
32882 }
32883 catch (const GExceptionHandler& e) {
32884 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32885 }
32886 catch (const std::exception& e) {
32887 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32888 }
32889 }
32890 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
32891 return resultobj;
32892fail:
32893 return NULL__null;
32894}
32895
32896
32897SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32898 PyObject *resultobj = 0;
32899 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
32900 void *argp1 = 0 ;
32901 int res1 = 0 ;
32902 PyObject * obj0 = 0 ;
32903
32904 if (!PyArg_ParseTuple(args,(char *)"O:vectori_clear",&obj0)) SWIG_failgoto fail;
32905 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[51]
, 0 | 0, 0)
;
32906 if (!SWIG_IsOK(res1)(res1 >= 0)) {
32907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori_clear" "', argument " "1"" of type '" "std::vector< int > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "vectori_clear" "', argument "
"1"" of type '" "std::vector< int > *""'"); goto fail;
} while(0)
;
32908 }
32909 arg1 = reinterpret_cast< std::vector< int > * >(argp1);
32910 {
32911 try {
32912 (arg1)->clear();
32913 }
32914 catch (const GException::out_of_range& e) {
32915 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
32916 }
32917 catch (const GExceptionHandler& e) {
32918 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32919 }
32920 catch (const std::exception& e) {
32921 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32922 }
32923 }
32924 resultobj = SWIG_Py_Void();
32925 return resultobj;
32926fail:
32927 return NULL__null;
32928}
32929
32930
32931SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32932 PyObject *resultobj = 0;
32933 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
32934 std::vector< int > *arg2 = 0 ;
32935 void *argp1 = 0 ;
32936 int res1 = 0 ;
32937 void *argp2 = 0 ;
32938 int res2 = 0 ;
32939 PyObject * obj0 = 0 ;
32940 PyObject * obj1 = 0 ;
32941
32942 if (!PyArg_ParseTuple(args,(char *)"OO:vectori_swap",&obj0,&obj1)) SWIG_failgoto fail;
32943 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[51]
, 0 | 0, 0)
;
32944 if (!SWIG_IsOK(res1)(res1 >= 0)) {
32945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori_swap" "', argument " "1"" of type '" "std::vector< int > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "vectori_swap" "', argument "
"1"" of type '" "std::vector< int > *""'"); goto fail;
} while(0)
;
32946 }
32947 arg1 = reinterpret_cast< std::vector< int > * >(argp1);
32948 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[51]
, 0, 0)
;
32949 if (!SWIG_IsOK(res2)(res2 >= 0)) {
32950 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vectori_swap" "', argument " "2"" of type '" "std::vector< int > &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "vectori_swap" "', argument "
"2"" of type '" "std::vector< int > &""'"); goto fail
; } while(0)
;
32951 }
32952 if (!argp2) {
32953 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vectori_swap" "', argument " "2"" of type '" "std::vector< int > &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "vectori_swap" "', argument " "2"" of type '" "std::vector< int > &"
"'"); goto fail; } while(0)
;
32954 }
32955 arg2 = reinterpret_cast< std::vector< int > * >(argp2);
32956 {
32957 try {
32958 (arg1)->swap(*arg2);
32959 }
32960 catch (const GException::out_of_range& e) {
32961 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
32962 }
32963 catch (const GExceptionHandler& e) {
32964 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32965 }
32966 catch (const std::exception& e) {
32967 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
32968 }
32969 }
32970 resultobj = SWIG_Py_Void();
32971 return resultobj;
32972fail:
32973 return NULL__null;
32974}
32975
32976
32977SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32978 PyObject *resultobj = 0;
32979 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
32980 void *argp1 = 0 ;
32981 int res1 = 0 ;
32982 PyObject * obj0 = 0 ;
32983 SwigValueWrapper< std::allocator< int > > result;
32984
32985 if (!PyArg_ParseTuple(args,(char *)"O:vectori_get_allocator",&obj0)) SWIG_failgoto fail;
32986 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[51]
, 0 | 0, 0)
;
32987 if (!SWIG_IsOK(res1)(res1 >= 0)) {
32988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori_get_allocator" "', argument " "1"" of type '" "std::vector< int > const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "vectori_get_allocator" "', argument "
"1"" of type '" "std::vector< int > const *""'"); goto
fail; } while(0)
;
32989 }
32990 arg1 = reinterpret_cast< std::vector< int > * >(argp1);
32991 {
32992 try {
32993 result = ((std::vector< int > const *)arg1)->get_allocator();
32994 }
32995 catch (const GException::out_of_range& e) {
32996 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
32997 }
32998 catch (const GExceptionHandler& e) {
32999 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33000 }
33001 catch (const std::exception& e) {
33002 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33003 }
33004 }
33005 resultobj = SWIG_NewPointerObj((new std::vector< int >::allocator_type(static_cast< const std::vector< int >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_int_t, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new std::vector< int >
::allocator_type(static_cast< const std::vector< int >
::allocator_type& >(result))), swig_types[47], 0x1 | 0
)
;
33006 return resultobj;
33007fail:
33008 return NULL__null;
33009}
33010
33011
33012SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33013 PyObject *resultobj = 0;
33014 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
33015 void *argp1 = 0 ;
33016 int res1 = 0 ;
33017 PyObject * obj0 = 0 ;
33018 std::vector< int >::iterator result;
33019
33020 if (!PyArg_ParseTuple(args,(char *)"O:vectori_begin",&obj0)) SWIG_failgoto fail;
33021 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[51]
, 0 | 0, 0)
;
33022 if (!SWIG_IsOK(res1)(res1 >= 0)) {
33023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori_begin" "', argument " "1"" of type '" "std::vector< int > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "vectori_begin" "', argument "
"1"" of type '" "std::vector< int > *""'"); goto fail;
} while(0)
;
33024 }
33025 arg1 = reinterpret_cast< std::vector< int > * >(argp1);
33026 {
33027 try {
33028 result = (arg1)->begin();
33029 }
33030 catch (const GException::out_of_range& e) {
33031 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
33032 }
33033 catch (const GExceptionHandler& e) {
33034 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33035 }
33036 catch (const std::exception& e) {
33037 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33038 }
33039 }
33040 resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< int >::iterator & >(result)),SWIG_Python_NewPointerObj(__null, swig::make_output_iterator(
static_cast< const std::vector< int >::iterator &
>(result)), swig::SwigPyIterator::descriptor(), 0x1)
33041 swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN)SWIG_Python_NewPointerObj(__null, swig::make_output_iterator(
static_cast< const std::vector< int >::iterator &
>(result)), swig::SwigPyIterator::descriptor(), 0x1)
;
33042 return resultobj;
33043fail:
33044 return NULL__null;
33045}
33046
33047
33048SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33049 PyObject *resultobj = 0;
33050 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
33051 void *argp1 = 0 ;
33052 int res1 = 0 ;
33053 PyObject * obj0 = 0 ;
33054 std::vector< int >::iterator result;
33055
33056 if (!PyArg_ParseTuple(args,(char *)"O:vectori_end",&obj0)) SWIG_failgoto fail;
33057 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[51]
, 0 | 0, 0)
;
33058 if (!SWIG_IsOK(res1)(res1 >= 0)) {
33059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori_end" "', argument " "1"" of type '" "std::vector< int > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "vectori_end" "', argument "
"1"" of type '" "std::vector< int > *""'"); goto fail;
} while(0)
;
33060 }
33061 arg1 = reinterpret_cast< std::vector< int > * >(argp1);
33062 {
33063 try {
33064 result = (arg1)->end();
33065 }
33066 catch (const GException::out_of_range& e) {
33067 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
33068 }
33069 catch (const GExceptionHandler& e) {
33070 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33071 }
33072 catch (const std::exception& e) {
33073 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33074 }
33075 }
33076 resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< int >::iterator & >(result)),SWIG_Python_NewPointerObj(__null, swig::make_output_iterator(
static_cast< const std::vector< int >::iterator &
>(result)), swig::SwigPyIterator::descriptor(), 0x1)
33077 swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN)SWIG_Python_NewPointerObj(__null, swig::make_output_iterator(
static_cast< const std::vector< int >::iterator &
>(result)), swig::SwigPyIterator::descriptor(), 0x1)
;
33078 return resultobj;
33079fail:
33080 return NULL__null;
33081}
33082
33083
33084SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33085 PyObject *resultobj = 0;
33086 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
33087 void *argp1 = 0 ;
33088 int res1 = 0 ;
33089 PyObject * obj0 = 0 ;
33090 std::vector< int >::reverse_iterator result;
33091
33092 if (!PyArg_ParseTuple(args,(char *)"O:vectori_rbegin",&obj0)) SWIG_failgoto fail;
33093 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[51]
, 0 | 0, 0)
;
33094 if (!SWIG_IsOK(res1)(res1 >= 0)) {
33095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori_rbegin" "', argument " "1"" of type '" "std::vector< int > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "vectori_rbegin" "', argument "
"1"" of type '" "std::vector< int > *""'"); goto fail;
} while(0)
;
33096 }
33097 arg1 = reinterpret_cast< std::vector< int > * >(argp1);
33098 {
33099 try {
33100 result = (arg1)->rbegin();
33101 }
33102 catch (const GException::out_of_range& e) {
33103 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
33104 }
33105 catch (const GExceptionHandler& e) {
33106 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33107 }
33108 catch (const std::exception& e) {
33109 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33110 }
33111 }
33112 resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< int >::reverse_iterator & >(result)),SWIG_Python_NewPointerObj(__null, swig::make_output_iterator(
static_cast< const std::vector< int >::reverse_iterator
& >(result)), swig::SwigPyIterator::descriptor(), 0x1
)
33113 swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN)SWIG_Python_NewPointerObj(__null, swig::make_output_iterator(
static_cast< const std::vector< int >::reverse_iterator
& >(result)), swig::SwigPyIterator::descriptor(), 0x1
)
;
33114 return resultobj;
33115fail:
33116 return NULL__null;
33117}
33118
33119
33120SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33121 PyObject *resultobj = 0;
33122 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
33123 void *argp1 = 0 ;
33124 int res1 = 0 ;
33125 PyObject * obj0 = 0 ;
33126 std::vector< int >::reverse_iterator result;
33127
33128 if (!PyArg_ParseTuple(args,(char *)"O:vectori_rend",&obj0)) SWIG_failgoto fail;
33129 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[51]
, 0 | 0, 0)
;
33130 if (!SWIG_IsOK(res1)(res1 >= 0)) {
33131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori_rend" "', argument " "1"" of type '" "std::vector< int > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "vectori_rend" "', argument "
"1"" of type '" "std::vector< int > *""'"); goto fail;
} while(0)
;
33132 }
33133 arg1 = reinterpret_cast< std::vector< int > * >(argp1);
33134 {
33135 try {
33136 result = (arg1)->rend();
33137 }
33138 catch (const GException::out_of_range& e) {
33139 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
33140 }
33141 catch (const GExceptionHandler& e) {
33142 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33143 }
33144 catch (const std::exception& e) {
33145 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33146 }
33147 }
33148 resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< int >::reverse_iterator & >(result)),SWIG_Python_NewPointerObj(__null, swig::make_output_iterator(
static_cast< const std::vector< int >::reverse_iterator
& >(result)), swig::SwigPyIterator::descriptor(), 0x1
)
33149 swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN)SWIG_Python_NewPointerObj(__null, swig::make_output_iterator(
static_cast< const std::vector< int >::reverse_iterator
& >(result)), swig::SwigPyIterator::descriptor(), 0x1
)
;
33150 return resultobj;
33151fail:
33152 return NULL__null;
33153}
33154
33155
33156SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_vectori__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33157 PyObject *resultobj = 0;
33158 std::vector< int >::size_type arg1 ;
33159 size_t val1 ;
33160 int ecode1 = 0 ;
33161 PyObject * obj0 = 0 ;
33162 std::vector< int > *result = 0 ;
33163
33164 if (!PyArg_ParseTuple(args,(char *)"O:new_vectori",&obj0)) SWIG_failgoto fail;
33165 ecode1 = SWIG_AsVal_size_t(obj0, &val1);
33166 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
33167 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vectori" "', argument " "1"" of type '" "std::vector< int >::size_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_vectori" "', argument "
"1"" of type '" "std::vector< int >::size_type""'"); goto
fail; } while(0)
;
33168 }
33169 arg1 = static_cast< std::vector< int >::size_type >(val1);
33170 {
33171 try {
33172 result = (std::vector< int > *)new std::vector< int >(arg1);
33173 }
33174 catch (const GException::out_of_range& e) {
33175 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
33176 }
33177 catch (const GExceptionHandler& e) {
33178 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33179 }
33180 catch (const std::exception& e) {
33181 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33182 }
33183 }
33184 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[51], (
(0x1 << 1) | 0x1) | 0)
;
33185 return resultobj;
33186fail:
33187 return NULL__null;
33188}
33189
33190
33191SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori_pop_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33192 PyObject *resultobj = 0;
33193 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
33194 void *argp1 = 0 ;
33195 int res1 = 0 ;
33196 PyObject * obj0 = 0 ;
33197
33198 if (!PyArg_ParseTuple(args,(char *)"O:vectori_pop_back",&obj0)) SWIG_failgoto fail;
33199 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[51]
, 0 | 0, 0)
;
33200 if (!SWIG_IsOK(res1)(res1 >= 0)) {
33201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori_pop_back" "', argument " "1"" of type '" "std::vector< int > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "vectori_pop_back" "', argument "
"1"" of type '" "std::vector< int > *""'"); goto fail;
} while(0)
;
33202 }
33203 arg1 = reinterpret_cast< std::vector< int > * >(argp1);
33204 {
33205 try {
33206 (arg1)->pop_back();
33207 }
33208 catch (const GException::out_of_range& e) {
33209 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
33210 }
33211 catch (const GExceptionHandler& e) {
33212 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33213 }
33214 catch (const std::exception& e) {
33215 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33216 }
33217 }
33218 resultobj = SWIG_Py_Void();
33219 return resultobj;
33220fail:
33221 return NULL__null;
33222}
33223
33224
33225SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori_resize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33226 PyObject *resultobj = 0;
33227 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
33228 std::vector< int >::size_type arg2 ;
33229 void *argp1 = 0 ;
33230 int res1 = 0 ;
33231 size_t val2 ;
33232 int ecode2 = 0 ;
33233 PyObject * obj0 = 0 ;
33234 PyObject * obj1 = 0 ;
33235
33236 if (!PyArg_ParseTuple(args,(char *)"OO:vectori_resize",&obj0,&obj1)) SWIG_failgoto fail;
33237 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[51]
, 0 | 0, 0)
;
33238 if (!SWIG_IsOK(res1)(res1 >= 0)) {
33239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori_resize" "', argument " "1"" of type '" "std::vector< int > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "vectori_resize" "', argument "
"1"" of type '" "std::vector< int > *""'"); goto fail;
} while(0)
;
33240 }
33241 arg1 = reinterpret_cast< std::vector< int > * >(argp1);
33242 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
33243 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
33244 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vectori_resize" "', argument " "2"" of type '" "std::vector< int >::size_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "vectori_resize" "', argument "
"2"" of type '" "std::vector< int >::size_type""'"); goto
fail; } while(0)
;
33245 }
33246 arg2 = static_cast< std::vector< int >::size_type >(val2);
33247 {
33248 try {
33249 (arg1)->resize(arg2);
33250 }
33251 catch (const GException::out_of_range& e) {
33252 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
33253 }
33254 catch (const GExceptionHandler& e) {
33255 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33256 }
33257 catch (const std::exception& e) {
33258 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33259 }
33260 }
33261 resultobj = SWIG_Py_Void();
33262 return resultobj;
33263fail:
33264 return NULL__null;
33265}
33266
33267
33268SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33269 PyObject *resultobj = 0;
33270 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
33271 std::vector< int >::iterator arg2 ;
33272 void *argp1 = 0 ;
33273 int res1 = 0 ;
33274 swig::SwigPyIterator *iter2 = 0 ;
33275 int res2 ;
33276 PyObject * obj0 = 0 ;
33277 PyObject * obj1 = 0 ;
33278 std::vector< int >::iterator result;
33279
33280 if (!PyArg_ParseTuple(args,(char *)"OO:vectori_erase",&obj0,&obj1)) SWIG_failgoto fail;
33281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[51]
, 0 | 0, 0)
;
33282 if (!SWIG_IsOK(res1)(res1 >= 0)) {
33283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori_erase" "', argument " "1"" of type '" "std::vector< int > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "vectori_erase" "', argument "
"1"" of type '" "std::vector< int > *""'"); goto fail;
} while(0)
;
33284 }
33285 arg1 = reinterpret_cast< std::vector< int > * >(argp1);
33286 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)
;
33287 if (!SWIG_IsOK(res2)(res2 >= 0) || !iter2) {
33288 SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vectori_erase" "', argument " "2"" of type '" "std::vector< int >::iterator""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((-5 != (-
1)) ? -5 : -5)), "in method '" "vectori_erase" "', argument "
"2"" of type '" "std::vector< int >::iterator""'"); goto
fail; } while(0)
;
33289 } else {
33290 swig::SwigPyIterator_T<std::vector< int >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< int >::iterator > *>(iter2);
33291 if (iter_t) {
33292 arg2 = iter_t->get_current();
33293 } else {
33294 SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vectori_erase" "', argument " "2"" of type '" "std::vector< int >::iterator""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((-5 != (-
1)) ? -5 : -5)), "in method '" "vectori_erase" "', argument "
"2"" of type '" "std::vector< int >::iterator""'"); goto
fail; } while(0)
;
33295 }
33296 }
33297 {
33298 try {
33299 result = (arg1)->erase(arg2);
33300 }
33301 catch (const GException::out_of_range& e) {
33302 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
33303 }
33304 catch (const GExceptionHandler& e) {
33305 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33306 }
33307 catch (const std::exception& e) {
33308 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33309 }
33310 }
33311 resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< int >::iterator & >(result)),SWIG_Python_NewPointerObj(__null, swig::make_output_iterator(
static_cast< const std::vector< int >::iterator &
>(result)), swig::SwigPyIterator::descriptor(), 0x1)
33312 swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN)SWIG_Python_NewPointerObj(__null, swig::make_output_iterator(
static_cast< const std::vector< int >::iterator &
>(result)), swig::SwigPyIterator::descriptor(), 0x1)
;
33313 return resultobj;
33314fail:
33315 return NULL__null;
33316}
33317
33318
33319SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33320 PyObject *resultobj = 0;
33321 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
33322 std::vector< int >::iterator arg2 ;
33323 std::vector< int >::iterator arg3 ;
33324 void *argp1 = 0 ;
33325 int res1 = 0 ;
33326 swig::SwigPyIterator *iter2 = 0 ;
33327 int res2 ;
33328 swig::SwigPyIterator *iter3 = 0 ;
33329 int res3 ;
33330 PyObject * obj0 = 0 ;
33331 PyObject * obj1 = 0 ;
33332 PyObject * obj2 = 0 ;
33333 std::vector< int >::iterator result;
33334
33335 if (!PyArg_ParseTuple(args,(char *)"OOO:vectori_erase",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
33336 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[51]
, 0 | 0, 0)
;
33337 if (!SWIG_IsOK(res1)(res1 >= 0)) {
33338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori_erase" "', argument " "1"" of type '" "std::vector< int > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "vectori_erase" "', argument "
"1"" of type '" "std::vector< int > *""'"); goto fail;
} while(0)
;
33339 }
33340 arg1 = reinterpret_cast< std::vector< int > * >(argp1);
33341 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)
;
33342 if (!SWIG_IsOK(res2)(res2 >= 0) || !iter2) {
33343 SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vectori_erase" "', argument " "2"" of type '" "std::vector< int >::iterator""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((-5 != (-
1)) ? -5 : -5)), "in method '" "vectori_erase" "', argument "
"2"" of type '" "std::vector< int >::iterator""'"); goto
fail; } while(0)
;
33344 } else {
33345 swig::SwigPyIterator_T<std::vector< int >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< int >::iterator > *>(iter2);
33346 if (iter_t) {
33347 arg2 = iter_t->get_current();
33348 } else {
33349 SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vectori_erase" "', argument " "2"" of type '" "std::vector< int >::iterator""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((-5 != (-
1)) ? -5 : -5)), "in method '" "vectori_erase" "', argument "
"2"" of type '" "std::vector< int >::iterator""'"); goto
fail; } while(0)
;
33350 }
33351 }
33352 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)
;
33353 if (!SWIG_IsOK(res3)(res3 >= 0) || !iter3) {
33354 SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vectori_erase" "', argument " "3"" of type '" "std::vector< int >::iterator""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((-5 != (-
1)) ? -5 : -5)), "in method '" "vectori_erase" "', argument "
"3"" of type '" "std::vector< int >::iterator""'"); goto
fail; } while(0)
;
33355 } else {
33356 swig::SwigPyIterator_T<std::vector< int >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< int >::iterator > *>(iter3);
33357 if (iter_t) {
33358 arg3 = iter_t->get_current();
33359 } else {
33360 SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vectori_erase" "', argument " "3"" of type '" "std::vector< int >::iterator""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((-5 != (-
1)) ? -5 : -5)), "in method '" "vectori_erase" "', argument "
"3"" of type '" "std::vector< int >::iterator""'"); goto
fail; } while(0)
;
33361 }
33362 }
33363 {
33364 try {
33365 result = (arg1)->erase(arg2,arg3);
33366 }
33367 catch (const GException::out_of_range& e) {
33368 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
33369 }
33370 catch (const GExceptionHandler& e) {
33371 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33372 }
33373 catch (const std::exception& e) {
33374 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33375 }
33376 }
33377 resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< int >::iterator & >(result)),SWIG_Python_NewPointerObj(__null, swig::make_output_iterator(
static_cast< const std::vector< int >::iterator &
>(result)), swig::SwigPyIterator::descriptor(), 0x1)
33378 swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN)SWIG_Python_NewPointerObj(__null, swig::make_output_iterator(
static_cast< const std::vector< int >::iterator &
>(result)), swig::SwigPyIterator::descriptor(), 0x1)
;
33379 return resultobj;
33380fail:
33381 return NULL__null;
33382}
33383
33384
33385SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori_erase(PyObject *self, PyObject *args) {
33386 int argc;
33387 PyObject *argv[4];
33388 int ii;
33389
33390 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
33391 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
33392 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
33393 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
33394 }
33395 if (argc == 2) {
33396 int _v;
33397 int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0));
33398 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33399 if (_v) {
33400 swig::SwigPyIterator *iter = 0;
33401 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)
;
33402 _v = (SWIG_IsOK(res)(res >= 0) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< int >::iterator > *>(iter) != 0));
33403 if (_v) {
33404 return _wrap_vectori_erase__SWIG_0(self, args);
33405 }
33406 }
33407 }
33408 if (argc == 3) {
33409 int _v;
33410 int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0));
33411 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33412 if (_v) {
33413 swig::SwigPyIterator *iter = 0;
33414 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)
;
33415 _v = (SWIG_IsOK(res)(res >= 0) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< int >::iterator > *>(iter) != 0));
33416 if (_v) {
33417 swig::SwigPyIterator *iter = 0;
33418 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)
;
33419 _v = (SWIG_IsOK(res)(res >= 0) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< int >::iterator > *>(iter) != 0));
33420 if (_v) {
33421 return _wrap_vectori_erase__SWIG_1(self, args);
33422 }
33423 }
33424 }
33425 }
33426
33427fail:
33428 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vectori_erase'.\n"
33429 " Possible C/C++ prototypes are:\n"
33430 " std::vector< int >::erase(std::vector< int >::iterator)\n"
33431 " std::vector< int >::erase(std::vector< int >::iterator,std::vector< int >::iterator)\n");
33432 return 0;
33433}
33434
33435
33436SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_vectori__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33437 PyObject *resultobj = 0;
33438 std::vector< int >::size_type arg1 ;
33439 std::vector< int >::value_type *arg2 = 0 ;
33440 size_t val1 ;
33441 int ecode1 = 0 ;
33442 std::vector< int >::value_type temp2 ;
33443 int val2 ;
33444 int ecode2 = 0 ;
33445 PyObject * obj0 = 0 ;
33446 PyObject * obj1 = 0 ;
33447 std::vector< int > *result = 0 ;
33448
33449 if (!PyArg_ParseTuple(args,(char *)"OO:new_vectori",&obj0,&obj1)) SWIG_failgoto fail;
33450 ecode1 = SWIG_AsVal_size_t(obj0, &val1);
33451 if (!SWIG_IsOK(ecode1)(ecode1 >= 0)) {
33452 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vectori" "', argument " "1"" of type '" "std::vector< int >::size_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode1 !=
(-1)) ? ecode1 : -5)), "in method '" "new_vectori" "', argument "
"1"" of type '" "std::vector< int >::size_type""'"); goto
fail; } while(0)
;
33453 }
33454 arg1 = static_cast< std::vector< int >::size_type >(val1);
33455 ecode2 = SWIG_AsVal_int(obj1, &val2);
33456 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
33457 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_vectori" "', argument " "2"" of type '" "std::vector< int >::value_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_vectori" "', argument "
"2"" of type '" "std::vector< int >::value_type""'"); goto
fail; } while(0)
;
33458 }
33459 temp2 = static_cast< std::vector< int >::value_type >(val2);
33460 arg2 = &temp2;
33461 {
33462 try {
33463 result = (std::vector< int > *)new std::vector< int >(arg1,(std::vector< int >::value_type const &)*arg2);
33464 }
33465 catch (const GException::out_of_range& e) {
33466 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
33467 }
33468 catch (const GExceptionHandler& e) {
33469 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33470 }
33471 catch (const std::exception& e) {
33472 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33473 }
33474 }
33475 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[51], (
(0x1 << 1) | 0x1) | 0)
;
33476 return resultobj;
33477fail:
33478 return NULL__null;
33479}
33480
33481
33482SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_vectori(PyObject *self, PyObject *args) {
33483 int argc;
33484 PyObject *argv[3];
33485 int ii;
33486
33487 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
33488 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
33489 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
33490 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
33491 }
33492 if (argc == 0) {
33493 return _wrap_new_vectori__SWIG_0(self, args);
33494 }
33495 if (argc == 1) {
33496 int _v;
33497 {
33498 int res = SWIG_AsVal_size_t(argv[0], NULL__null);
33499 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33500 }
33501 if (_v) {
33502 return _wrap_new_vectori__SWIG_2(self, args);
33503 }
33504 }
33505 if (argc == 1) {
33506 int _v;
33507 int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0));
33508 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33509 if (_v) {
33510 return _wrap_new_vectori__SWIG_1(self, args);
33511 }
33512 }
33513 if (argc == 2) {
33514 int _v;
33515 {
33516 int res = SWIG_AsVal_size_t(argv[0], NULL__null);
33517 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33518 }
33519 if (_v) {
33520 {
33521 int res = SWIG_AsVal_int(argv[1], NULL__null);
33522 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33523 }
33524 if (_v) {
33525 return _wrap_new_vectori__SWIG_3(self, args);
33526 }
33527 }
33528 }
33529
33530fail:
33531 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_vectori'.\n"
33532 " Possible C/C++ prototypes are:\n"
33533 " std::vector< int >::vector()\n"
33534 " std::vector< int >::vector(std::vector< int > const &)\n"
33535 " std::vector< int >::vector(std::vector< int >::size_type)\n"
33536 " std::vector< int >::vector(std::vector< int >::size_type,std::vector< int >::value_type const &)\n");
33537 return 0;
33538}
33539
33540
33541SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori_push_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33542 PyObject *resultobj = 0;
33543 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
33544 std::vector< int >::value_type *arg2 = 0 ;
33545 void *argp1 = 0 ;
33546 int res1 = 0 ;
33547 std::vector< int >::value_type temp2 ;
33548 int val2 ;
33549 int ecode2 = 0 ;
33550 PyObject * obj0 = 0 ;
33551 PyObject * obj1 = 0 ;
33552
33553 if (!PyArg_ParseTuple(args,(char *)"OO:vectori_push_back",&obj0,&obj1)) SWIG_failgoto fail;
33554 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[51]
, 0 | 0, 0)
;
33555 if (!SWIG_IsOK(res1)(res1 >= 0)) {
33556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori_push_back" "', argument " "1"" of type '" "std::vector< int > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "vectori_push_back" "', argument "
"1"" of type '" "std::vector< int > *""'"); goto fail;
} while(0)
;
33557 }
33558 arg1 = reinterpret_cast< std::vector< int > * >(argp1);
33559 ecode2 = SWIG_AsVal_int(obj1, &val2);
33560 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
33561 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vectori_push_back" "', argument " "2"" of type '" "std::vector< int >::value_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "vectori_push_back" "', argument "
"2"" of type '" "std::vector< int >::value_type""'"); goto
fail; } while(0)
;
33562 }
33563 temp2 = static_cast< std::vector< int >::value_type >(val2);
33564 arg2 = &temp2;
33565 {
33566 try {
33567 (arg1)->push_back((std::vector< int >::value_type const &)*arg2);
33568 }
33569 catch (const GException::out_of_range& e) {
33570 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
33571 }
33572 catch (const GExceptionHandler& e) {
33573 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33574 }
33575 catch (const std::exception& e) {
33576 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33577 }
33578 }
33579 resultobj = SWIG_Py_Void();
33580 return resultobj;
33581fail:
33582 return NULL__null;
33583}
33584
33585
33586SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori_front(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33587 PyObject *resultobj = 0;
33588 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
33589 void *argp1 = 0 ;
33590 int res1 = 0 ;
33591 PyObject * obj0 = 0 ;
33592 std::vector< int >::value_type *result = 0 ;
33593
33594 if (!PyArg_ParseTuple(args,(char *)"O:vectori_front",&obj0)) SWIG_failgoto fail;
33595 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[51]
, 0 | 0, 0)
;
33596 if (!SWIG_IsOK(res1)(res1 >= 0)) {
33597 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori_front" "', argument " "1"" of type '" "std::vector< int > const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "vectori_front" "', argument "
"1"" of type '" "std::vector< int > const *""'"); goto
fail; } while(0)
;
33598 }
33599 arg1 = reinterpret_cast< std::vector< int > * >(argp1);
33600 {
33601 try {
33602 result = (std::vector< int >::value_type *) &((std::vector< int > const *)arg1)->front();
33603 }
33604 catch (const GException::out_of_range& e) {
33605 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
33606 }
33607 catch (const GExceptionHandler& e) {
33608 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33609 }
33610 catch (const std::exception& e) {
33611 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33612 }
33613 }
33614 resultobj = SWIG_From_int(static_cast< int >(*result));
33615 return resultobj;
33616fail:
33617 return NULL__null;
33618}
33619
33620
33621SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33622 PyObject *resultobj = 0;
33623 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
33624 void *argp1 = 0 ;
33625 int res1 = 0 ;
33626 PyObject * obj0 = 0 ;
33627 std::vector< int >::value_type *result = 0 ;
33628
33629 if (!PyArg_ParseTuple(args,(char *)"O:vectori_back",&obj0)) SWIG_failgoto fail;
33630 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[51]
, 0 | 0, 0)
;
33631 if (!SWIG_IsOK(res1)(res1 >= 0)) {
33632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori_back" "', argument " "1"" of type '" "std::vector< int > const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "vectori_back" "', argument "
"1"" of type '" "std::vector< int > const *""'"); goto
fail; } while(0)
;
33633 }
33634 arg1 = reinterpret_cast< std::vector< int > * >(argp1);
33635 {
33636 try {
33637 result = (std::vector< int >::value_type *) &((std::vector< int > const *)arg1)->back();
33638 }
33639 catch (const GException::out_of_range& e) {
33640 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
33641 }
33642 catch (const GExceptionHandler& e) {
33643 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33644 }
33645 catch (const std::exception& e) {
33646 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33647 }
33648 }
33649 resultobj = SWIG_From_int(static_cast< int >(*result));
33650 return resultobj;
33651fail:
33652 return NULL__null;
33653}
33654
33655
33656SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33657 PyObject *resultobj = 0;
33658 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
33659 std::vector< int >::size_type arg2 ;
33660 std::vector< int >::value_type *arg3 = 0 ;
33661 void *argp1 = 0 ;
33662 int res1 = 0 ;
33663 size_t val2 ;
33664 int ecode2 = 0 ;
33665 std::vector< int >::value_type temp3 ;
33666 int val3 ;
33667 int ecode3 = 0 ;
33668 PyObject * obj0 = 0 ;
33669 PyObject * obj1 = 0 ;
33670 PyObject * obj2 = 0 ;
33671
33672 if (!PyArg_ParseTuple(args,(char *)"OOO:vectori_assign",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
33673 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[51]
, 0 | 0, 0)
;
33674 if (!SWIG_IsOK(res1)(res1 >= 0)) {
33675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori_assign" "', argument " "1"" of type '" "std::vector< int > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "vectori_assign" "', argument "
"1"" of type '" "std::vector< int > *""'"); goto fail;
} while(0)
;
33676 }
33677 arg1 = reinterpret_cast< std::vector< int > * >(argp1);
33678 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
33679 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
33680 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vectori_assign" "', argument " "2"" of type '" "std::vector< int >::size_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "vectori_assign" "', argument "
"2"" of type '" "std::vector< int >::size_type""'"); goto
fail; } while(0)
;
33681 }
33682 arg2 = static_cast< std::vector< int >::size_type >(val2);
33683 ecode3 = SWIG_AsVal_int(obj2, &val3);
33684 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
33685 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vectori_assign" "', argument " "3"" of type '" "std::vector< int >::value_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "vectori_assign" "', argument "
"3"" of type '" "std::vector< int >::value_type""'"); goto
fail; } while(0)
;
33686 }
33687 temp3 = static_cast< std::vector< int >::value_type >(val3);
33688 arg3 = &temp3;
33689 {
33690 try {
33691 (arg1)->assign(arg2,(std::vector< int >::value_type const &)*arg3);
33692 }
33693 catch (const GException::out_of_range& e) {
33694 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
33695 }
33696 catch (const GExceptionHandler& e) {
33697 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33698 }
33699 catch (const std::exception& e) {
33700 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33701 }
33702 }
33703 resultobj = SWIG_Py_Void();
33704 return resultobj;
33705fail:
33706 return NULL__null;
33707}
33708
33709
33710SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori_resize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33711 PyObject *resultobj = 0;
33712 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
33713 std::vector< int >::size_type arg2 ;
33714 std::vector< int >::value_type *arg3 = 0 ;
33715 void *argp1 = 0 ;
33716 int res1 = 0 ;
33717 size_t val2 ;
33718 int ecode2 = 0 ;
33719 std::vector< int >::value_type temp3 ;
33720 int val3 ;
33721 int ecode3 = 0 ;
33722 PyObject * obj0 = 0 ;
33723 PyObject * obj1 = 0 ;
33724 PyObject * obj2 = 0 ;
33725
33726 if (!PyArg_ParseTuple(args,(char *)"OOO:vectori_resize",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
33727 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[51]
, 0 | 0, 0)
;
33728 if (!SWIG_IsOK(res1)(res1 >= 0)) {
33729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori_resize" "', argument " "1"" of type '" "std::vector< int > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "vectori_resize" "', argument "
"1"" of type '" "std::vector< int > *""'"); goto fail;
} while(0)
;
33730 }
33731 arg1 = reinterpret_cast< std::vector< int > * >(argp1);
33732 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
33733 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
33734 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vectori_resize" "', argument " "2"" of type '" "std::vector< int >::size_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "vectori_resize" "', argument "
"2"" of type '" "std::vector< int >::size_type""'"); goto
fail; } while(0)
;
33735 }
33736 arg2 = static_cast< std::vector< int >::size_type >(val2);
33737 ecode3 = SWIG_AsVal_int(obj2, &val3);
33738 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
33739 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vectori_resize" "', argument " "3"" of type '" "std::vector< int >::value_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "vectori_resize" "', argument "
"3"" of type '" "std::vector< int >::value_type""'"); goto
fail; } while(0)
;
33740 }
33741 temp3 = static_cast< std::vector< int >::value_type >(val3);
33742 arg3 = &temp3;
33743 {
33744 try {
33745 (arg1)->resize(arg2,(std::vector< int >::value_type const &)*arg3);
33746 }
33747 catch (const GException::out_of_range& e) {
33748 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
33749 }
33750 catch (const GExceptionHandler& e) {
33751 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33752 }
33753 catch (const std::exception& e) {
33754 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33755 }
33756 }
33757 resultobj = SWIG_Py_Void();
33758 return resultobj;
33759fail:
33760 return NULL__null;
33761}
33762
33763
33764SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori_resize(PyObject *self, PyObject *args) {
33765 int argc;
33766 PyObject *argv[4];
33767 int ii;
33768
33769 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
33770 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
33771 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
33772 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
33773 }
33774 if (argc == 2) {
33775 int _v;
33776 int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0));
33777 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33778 if (_v) {
33779 {
33780 int res = SWIG_AsVal_size_t(argv[1], NULL__null);
33781 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33782 }
33783 if (_v) {
33784 return _wrap_vectori_resize__SWIG_0(self, args);
33785 }
33786 }
33787 }
33788 if (argc == 3) {
33789 int _v;
33790 int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0));
33791 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33792 if (_v) {
33793 {
33794 int res = SWIG_AsVal_size_t(argv[1], NULL__null);
33795 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33796 }
33797 if (_v) {
33798 {
33799 int res = SWIG_AsVal_int(argv[2], NULL__null);
33800 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33801 }
33802 if (_v) {
33803 return _wrap_vectori_resize__SWIG_1(self, args);
33804 }
33805 }
33806 }
33807 }
33808
33809fail:
33810 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vectori_resize'.\n"
33811 " Possible C/C++ prototypes are:\n"
33812 " std::vector< int >::resize(std::vector< int >::size_type)\n"
33813 " std::vector< int >::resize(std::vector< int >::size_type,std::vector< int >::value_type const &)\n");
33814 return 0;
33815}
33816
33817
33818SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33819 PyObject *resultobj = 0;
33820 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
33821 std::vector< int >::iterator arg2 ;
33822 std::vector< int >::value_type *arg3 = 0 ;
33823 void *argp1 = 0 ;
33824 int res1 = 0 ;
33825 swig::SwigPyIterator *iter2 = 0 ;
33826 int res2 ;
33827 std::vector< int >::value_type temp3 ;
33828 int val3 ;
33829 int ecode3 = 0 ;
33830 PyObject * obj0 = 0 ;
33831 PyObject * obj1 = 0 ;
33832 PyObject * obj2 = 0 ;
33833 std::vector< int >::iterator result;
33834
33835 if (!PyArg_ParseTuple(args,(char *)"OOO:vectori_insert",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
33836 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[51]
, 0 | 0, 0)
;
33837 if (!SWIG_IsOK(res1)(res1 >= 0)) {
33838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori_insert" "', argument " "1"" of type '" "std::vector< int > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "vectori_insert" "', argument "
"1"" of type '" "std::vector< int > *""'"); goto fail;
} while(0)
;
33839 }
33840 arg1 = reinterpret_cast< std::vector< int > * >(argp1);
33841 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)
;
33842 if (!SWIG_IsOK(res2)(res2 >= 0) || !iter2) {
33843 SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vectori_insert" "', argument " "2"" of type '" "std::vector< int >::iterator""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((-5 != (-
1)) ? -5 : -5)), "in method '" "vectori_insert" "', argument "
"2"" of type '" "std::vector< int >::iterator""'"); goto
fail; } while(0)
;
33844 } else {
33845 swig::SwigPyIterator_T<std::vector< int >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< int >::iterator > *>(iter2);
33846 if (iter_t) {
33847 arg2 = iter_t->get_current();
33848 } else {
33849 SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vectori_insert" "', argument " "2"" of type '" "std::vector< int >::iterator""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((-5 != (-
1)) ? -5 : -5)), "in method '" "vectori_insert" "', argument "
"2"" of type '" "std::vector< int >::iterator""'"); goto
fail; } while(0)
;
33850 }
33851 }
33852 ecode3 = SWIG_AsVal_int(obj2, &val3);
33853 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
33854 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vectori_insert" "', argument " "3"" of type '" "std::vector< int >::value_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "vectori_insert" "', argument "
"3"" of type '" "std::vector< int >::value_type""'"); goto
fail; } while(0)
;
33855 }
33856 temp3 = static_cast< std::vector< int >::value_type >(val3);
33857 arg3 = &temp3;
33858 {
33859 try {
33860 result = (arg1)->insert(arg2,(std::vector< int >::value_type const &)*arg3);
33861 }
33862 catch (const GException::out_of_range& e) {
33863 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
33864 }
33865 catch (const GExceptionHandler& e) {
33866 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33867 }
33868 catch (const std::exception& e) {
33869 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33870 }
33871 }
33872 resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< int >::iterator & >(result)),SWIG_Python_NewPointerObj(__null, swig::make_output_iterator(
static_cast< const std::vector< int >::iterator &
>(result)), swig::SwigPyIterator::descriptor(), 0x1)
33873 swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN)SWIG_Python_NewPointerObj(__null, swig::make_output_iterator(
static_cast< const std::vector< int >::iterator &
>(result)), swig::SwigPyIterator::descriptor(), 0x1)
;
33874 return resultobj;
33875fail:
33876 return NULL__null;
33877}
33878
33879
33880SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33881 PyObject *resultobj = 0;
33882 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
33883 std::vector< int >::iterator arg2 ;
33884 std::vector< int >::size_type arg3 ;
33885 std::vector< int >::value_type *arg4 = 0 ;
33886 void *argp1 = 0 ;
33887 int res1 = 0 ;
33888 swig::SwigPyIterator *iter2 = 0 ;
33889 int res2 ;
33890 size_t val3 ;
33891 int ecode3 = 0 ;
33892 std::vector< int >::value_type temp4 ;
33893 int val4 ;
33894 int ecode4 = 0 ;
33895 PyObject * obj0 = 0 ;
33896 PyObject * obj1 = 0 ;
33897 PyObject * obj2 = 0 ;
33898 PyObject * obj3 = 0 ;
33899
33900 if (!PyArg_ParseTuple(args,(char *)"OOOO:vectori_insert",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
33901 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[51]
, 0 | 0, 0)
;
33902 if (!SWIG_IsOK(res1)(res1 >= 0)) {
33903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori_insert" "', argument " "1"" of type '" "std::vector< int > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "vectori_insert" "', argument "
"1"" of type '" "std::vector< int > *""'"); goto fail;
} while(0)
;
33904 }
33905 arg1 = reinterpret_cast< std::vector< int > * >(argp1);
33906 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)
;
33907 if (!SWIG_IsOK(res2)(res2 >= 0) || !iter2) {
33908 SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vectori_insert" "', argument " "2"" of type '" "std::vector< int >::iterator""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((-5 != (-
1)) ? -5 : -5)), "in method '" "vectori_insert" "', argument "
"2"" of type '" "std::vector< int >::iterator""'"); goto
fail; } while(0)
;
33909 } else {
33910 swig::SwigPyIterator_T<std::vector< int >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< int >::iterator > *>(iter2);
33911 if (iter_t) {
33912 arg2 = iter_t->get_current();
33913 } else {
33914 SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "vectori_insert" "', argument " "2"" of type '" "std::vector< int >::iterator""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((-5 != (-
1)) ? -5 : -5)), "in method '" "vectori_insert" "', argument "
"2"" of type '" "std::vector< int >::iterator""'"); goto
fail; } while(0)
;
33915 }
33916 }
33917 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
33918 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
33919 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vectori_insert" "', argument " "3"" of type '" "std::vector< int >::size_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "vectori_insert" "', argument "
"3"" of type '" "std::vector< int >::size_type""'"); goto
fail; } while(0)
;
33920 }
33921 arg3 = static_cast< std::vector< int >::size_type >(val3);
33922 ecode4 = SWIG_AsVal_int(obj3, &val4);
33923 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
33924 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "vectori_insert" "', argument " "4"" of type '" "std::vector< int >::value_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "vectori_insert" "', argument "
"4"" of type '" "std::vector< int >::value_type""'"); goto
fail; } while(0)
;
33925 }
33926 temp4 = static_cast< std::vector< int >::value_type >(val4);
33927 arg4 = &temp4;
33928 {
33929 try {
33930 (arg1)->insert(arg2,arg3,(std::vector< int >::value_type const &)*arg4);
33931 }
33932 catch (const GException::out_of_range& e) {
33933 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
33934 }
33935 catch (const GExceptionHandler& e) {
33936 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33937 }
33938 catch (const std::exception& e) {
33939 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
33940 }
33941 }
33942 resultobj = SWIG_Py_Void();
33943 return resultobj;
33944fail:
33945 return NULL__null;
33946}
33947
33948
33949SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori_insert(PyObject *self, PyObject *args) {
33950 int argc;
33951 PyObject *argv[5];
33952 int ii;
33953
33954 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
33955 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
33956 for (ii = 0; (ii < 4) && (ii < argc); ii++) {
33957 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
33958 }
33959 if (argc == 3) {
33960 int _v;
33961 int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0));
33962 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33963 if (_v) {
33964 swig::SwigPyIterator *iter = 0;
33965 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)
;
33966 _v = (SWIG_IsOK(res)(res >= 0) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< int >::iterator > *>(iter) != 0));
33967 if (_v) {
33968 {
33969 int res = SWIG_AsVal_int(argv[2], NULL__null);
33970 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33971 }
33972 if (_v) {
33973 return _wrap_vectori_insert__SWIG_0(self, args);
33974 }
33975 }
33976 }
33977 }
33978 if (argc == 4) {
33979 int _v;
33980 int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0));
33981 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33982 if (_v) {
33983 swig::SwigPyIterator *iter = 0;
33984 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)
;
33985 _v = (SWIG_IsOK(res)(res >= 0) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< int >::iterator > *>(iter) != 0));
33986 if (_v) {
33987 {
33988 int res = SWIG_AsVal_size_t(argv[2], NULL__null);
33989 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33990 }
33991 if (_v) {
33992 {
33993 int res = SWIG_AsVal_int(argv[3], NULL__null);
33994 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
33995 }
33996 if (_v) {
33997 return _wrap_vectori_insert__SWIG_1(self, args);
33998 }
33999 }
34000 }
34001 }
34002 }
34003
34004fail:
34005 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vectori_insert'.\n"
34006 " Possible C/C++ prototypes are:\n"
34007 " std::vector< int >::insert(std::vector< int >::iterator,std::vector< int >::value_type const &)\n"
34008 " std::vector< int >::insert(std::vector< int >::iterator,std::vector< int >::size_type,std::vector< int >::value_type const &)\n");
34009 return 0;
34010}
34011
34012
34013SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori_reserve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34014 PyObject *resultobj = 0;
34015 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
34016 std::vector< int >::size_type arg2 ;
34017 void *argp1 = 0 ;
34018 int res1 = 0 ;
34019 size_t val2 ;
34020 int ecode2 = 0 ;
34021 PyObject * obj0 = 0 ;
34022 PyObject * obj1 = 0 ;
34023
34024 if (!PyArg_ParseTuple(args,(char *)"OO:vectori_reserve",&obj0,&obj1)) SWIG_failgoto fail;
34025 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[51]
, 0 | 0, 0)
;
34026 if (!SWIG_IsOK(res1)(res1 >= 0)) {
34027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori_reserve" "', argument " "1"" of type '" "std::vector< int > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "vectori_reserve" "', argument "
"1"" of type '" "std::vector< int > *""'"); goto fail;
} while(0)
;
34028 }
34029 arg1 = reinterpret_cast< std::vector< int > * >(argp1);
34030 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
34031 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
34032 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vectori_reserve" "', argument " "2"" of type '" "std::vector< int >::size_type""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "vectori_reserve" "', argument "
"2"" of type '" "std::vector< int >::size_type""'"); goto
fail; } while(0)
;
34033 }
34034 arg2 = static_cast< std::vector< int >::size_type >(val2);
34035 {
34036 try {
34037 (arg1)->reserve(arg2);
34038 }
34039 catch (const GException::out_of_range& e) {
34040 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
34041 }
34042 catch (const GExceptionHandler& e) {
34043 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34044 }
34045 catch (const std::exception& e) {
34046 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34047 }
34048 }
34049 resultobj = SWIG_Py_Void();
34050 return resultobj;
34051fail:
34052 return NULL__null;
34053}
34054
34055
34056SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_vectori_capacity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34057 PyObject *resultobj = 0;
34058 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
34059 void *argp1 = 0 ;
34060 int res1 = 0 ;
34061 PyObject * obj0 = 0 ;
34062 std::vector< int >::size_type result;
34063
34064 if (!PyArg_ParseTuple(args,(char *)"O:vectori_capacity",&obj0)) SWIG_failgoto fail;
34065 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[51]
, 0 | 0, 0)
;
34066 if (!SWIG_IsOK(res1)(res1 >= 0)) {
34067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori_capacity" "', argument " "1"" of type '" "std::vector< int > const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "vectori_capacity" "', argument "
"1"" of type '" "std::vector< int > const *""'"); goto
fail; } while(0)
;
34068 }
34069 arg1 = reinterpret_cast< std::vector< int > * >(argp1);
34070 {
34071 try {
34072 result = ((std::vector< int > const *)arg1)->capacity();
34073 }
34074 catch (const GException::out_of_range& e) {
34075 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
34076 }
34077 catch (const GExceptionHandler& e) {
34078 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34079 }
34080 catch (const std::exception& e) {
34081 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34082 }
34083 }
34084 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
34085 return resultobj;
34086fail:
34087 return NULL__null;
34088}
34089
34090
34091SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_vectori(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34092 PyObject *resultobj = 0;
34093 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
34094 void *argp1 = 0 ;
34095 int res1 = 0 ;
34096 PyObject * obj0 = 0 ;
34097
34098 if (!PyArg_ParseTuple(args,(char *)"O:delete_vectori",&obj0)) SWIG_failgoto fail;
34099 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[51]
, 0x1 | 0, 0)
;
34100 if (!SWIG_IsOK(res1)(res1 >= 0)) {
34101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_vectori" "', argument " "1"" of type '" "std::vector< int > *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_vectori" "', argument "
"1"" of type '" "std::vector< int > *""'"); goto fail;
} while(0)
;
34102 }
34103 arg1 = reinterpret_cast< std::vector< int > * >(argp1);
34104 {
34105 try {
34106 delete arg1;
34107 }
34108 catch (const GException::out_of_range& e) {
34109 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
34110 }
34111 catch (const GExceptionHandler& e) {
34112 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34113 }
34114 catch (const std::exception& e) {
34115 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34116 }
34117 }
34118 resultobj = SWIG_Py_Void();
34119 return resultobj;
34120fail:
34121 return NULL__null;
34122}
34123
34124
34125SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *vectori_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34126 PyObject *obj;
34127 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
34128 SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_tswig_types[51], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
34129 return SWIG_Py_Void();
34130}
34131
34132SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GFitsTableCol(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34133 PyObject *resultobj = 0;
34134 GFitsTableCol *arg1 = (GFitsTableCol *) 0 ;
34135 void *argp1 = 0 ;
34136 int res1 = 0 ;
34137 PyObject * obj0 = 0 ;
34138
34139 if (!PyArg_ParseTuple(args,(char *)"O:delete_GFitsTableCol",&obj0)) SWIG_failgoto fail;
34140 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCol, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0x1 | 0, 0)
;
34141 if (!SWIG_IsOK(res1)(res1 >= 0)) {
34142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GFitsTableCol" "', argument " "1"" of type '" "GFitsTableCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GFitsTableCol" "', argument "
"1"" of type '" "GFitsTableCol *""'"); goto fail; } while(0)
;
34143 }
34144 arg1 = reinterpret_cast< GFitsTableCol * >(argp1);
34145 {
34146 try {
34147 delete arg1;
34148 }
34149 catch (const GException::out_of_range& e) {
34150 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
34151 }
34152 catch (const GExceptionHandler& e) {
34153 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34154 }
34155 catch (const std::exception& e) {
34156 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34157 }
34158 }
34159 resultobj = SWIG_Py_Void();
34160 return resultobj;
34161fail:
34162 return NULL__null;
34163}
34164
34165
34166SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34167 PyObject *resultobj = 0;
34168 GFitsTableCol *arg1 = (GFitsTableCol *) 0 ;
34169 void *argp1 = 0 ;
34170 int res1 = 0 ;
34171 PyObject * obj0 = 0 ;
34172
34173 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableCol_clear",&obj0)) SWIG_failgoto fail;
34174 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
34175 if (!SWIG_IsOK(res1)(res1 >= 0)) {
34176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCol_clear" "', argument " "1"" of type '" "GFitsTableCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCol_clear" "', argument "
"1"" of type '" "GFitsTableCol *""'"); goto fail; } while(0)
;
34177 }
34178 arg1 = reinterpret_cast< GFitsTableCol * >(argp1);
34179 {
34180 try {
34181 (arg1)->clear();
34182 }
34183 catch (const GException::out_of_range& e) {
34184 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
34185 }
34186 catch (const GExceptionHandler& e) {
34187 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34188 }
34189 catch (const std::exception& e) {
34190 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34191 }
34192 }
34193 resultobj = SWIG_Py_Void();
34194 return resultobj;
34195fail:
34196 return NULL__null;
34197}
34198
34199
34200SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34201 PyObject *resultobj = 0;
34202 GFitsTableCol *arg1 = (GFitsTableCol *) 0 ;
34203 void *argp1 = 0 ;
34204 int res1 = 0 ;
34205 PyObject * obj0 = 0 ;
34206 GFitsTableCol *result = 0 ;
34207
34208 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableCol_clone",&obj0)) SWIG_failgoto fail;
34209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
34210 if (!SWIG_IsOK(res1)(res1 >= 0)) {
34211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCol_clone" "', argument " "1"" of type '" "GFitsTableCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCol_clone" "', argument "
"1"" of type '" "GFitsTableCol const *""'"); goto fail; } while
(0)
;
34212 }
34213 arg1 = reinterpret_cast< GFitsTableCol * >(argp1);
34214 {
34215 try {
34216 result = (GFitsTableCol *)((GFitsTableCol const *)arg1)->clone();
34217 }
34218 catch (const GException::out_of_range& e) {
34219 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
34220 }
34221 catch (const GExceptionHandler& e) {
34222 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34223 }
34224 catch (const std::exception& e) {
34225 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34226 }
34227 }
34228 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[24], 0
| 0)
;
34229 return resultobj;
34230fail:
34231 return NULL__null;
34232}
34233
34234
34235SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_string__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34236 PyObject *resultobj = 0;
34237 GFitsTableCol *arg1 = (GFitsTableCol *) 0 ;
34238 int *arg2 = 0 ;
34239 int *arg3 = 0 ;
34240 void *argp1 = 0 ;
34241 int res1 = 0 ;
34242 int temp2 ;
34243 int val2 ;
34244 int ecode2 = 0 ;
34245 int temp3 ;
34246 int val3 ;
34247 int ecode3 = 0 ;
34248 PyObject * obj0 = 0 ;
34249 PyObject * obj1 = 0 ;
34250 PyObject * obj2 = 0 ;
34251 std::string result;
34252
34253 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableCol_string",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
34254 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
34255 if (!SWIG_IsOK(res1)(res1 >= 0)) {
34256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCol_string" "', argument " "1"" of type '" "GFitsTableCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCol_string" "', argument "
"1"" of type '" "GFitsTableCol const *""'"); goto fail; } while
(0)
;
34257 }
34258 arg1 = reinterpret_cast< GFitsTableCol * >(argp1);
34259 ecode2 = SWIG_AsVal_int(obj1, &val2);
34260 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
34261 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableCol_string" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableCol_string" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
34262 }
34263 temp2 = static_cast< int >(val2);
34264 arg2 = &temp2;
34265 ecode3 = SWIG_AsVal_int(obj2, &val3);
34266 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
34267 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableCol_string" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableCol_string" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
34268 }
34269 temp3 = static_cast< int >(val3);
34270 arg3 = &temp3;
34271 {
34272 try {
34273 result = ((GFitsTableCol const *)arg1)->string((int const &)*arg2,(int const &)*arg3);
34274 }
34275 catch (const GException::out_of_range& e) {
34276 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
34277 }
34278 catch (const GExceptionHandler& e) {
34279 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34280 }
34281 catch (const std::exception& e) {
34282 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34283 }
34284 }
34285 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
34286 return resultobj;
34287fail:
34288 return NULL__null;
34289}
34290
34291
34292SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_string__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34293 PyObject *resultobj = 0;
34294 GFitsTableCol *arg1 = (GFitsTableCol *) 0 ;
34295 int *arg2 = 0 ;
34296 void *argp1 = 0 ;
34297 int res1 = 0 ;
34298 int temp2 ;
34299 int val2 ;
34300 int ecode2 = 0 ;
34301 PyObject * obj0 = 0 ;
34302 PyObject * obj1 = 0 ;
34303 std::string result;
34304
34305 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableCol_string",&obj0,&obj1)) SWIG_failgoto fail;
34306 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
34307 if (!SWIG_IsOK(res1)(res1 >= 0)) {
34308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCol_string" "', argument " "1"" of type '" "GFitsTableCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCol_string" "', argument "
"1"" of type '" "GFitsTableCol const *""'"); goto fail; } while
(0)
;
34309 }
34310 arg1 = reinterpret_cast< GFitsTableCol * >(argp1);
34311 ecode2 = SWIG_AsVal_int(obj1, &val2);
34312 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
34313 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableCol_string" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableCol_string" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
34314 }
34315 temp2 = static_cast< int >(val2);
34316 arg2 = &temp2;
34317 {
34318 try {
34319 result = ((GFitsTableCol const *)arg1)->string((int const &)*arg2);
34320 }
34321 catch (const GException::out_of_range& e) {
34322 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
34323 }
34324 catch (const GExceptionHandler& e) {
34325 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34326 }
34327 catch (const std::exception& e) {
34328 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34329 }
34330 }
34331 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
34332 return resultobj;
34333fail:
34334 return NULL__null;
34335}
34336
34337
34338SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_string(PyObject *self, PyObject *args) {
34339 int argc;
34340 PyObject *argv[4];
34341 int ii;
34342
34343 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
34344 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
34345 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
34346 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
34347 }
34348 if (argc == 2) {
34349 int _v;
34350 void *vptr = 0;
34351 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
34352 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34353 if (_v) {
34354 {
34355 int res = SWIG_AsVal_int(argv[1], NULL__null);
34356 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34357 }
34358 if (_v) {
34359 return _wrap_GFitsTableCol_string__SWIG_1(self, args);
34360 }
34361 }
34362 }
34363 if (argc == 3) {
34364 int _v;
34365 void *vptr = 0;
34366 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
34367 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34368 if (_v) {
34369 {
34370 int res = SWIG_AsVal_int(argv[1], NULL__null);
34371 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34372 }
34373 if (_v) {
34374 {
34375 int res = SWIG_AsVal_int(argv[2], NULL__null);
34376 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34377 }
34378 if (_v) {
34379 return _wrap_GFitsTableCol_string__SWIG_0(self, args);
34380 }
34381 }
34382 }
34383 }
34384
34385fail:
34386 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableCol_string'.\n"
34387 " Possible C/C++ prototypes are:\n"
34388 " GFitsTableCol::string(int const &,int const &) const\n"
34389 " GFitsTableCol::string(int const &) const\n");
34390 return 0;
34391}
34392
34393
34394SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_real__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34395 PyObject *resultobj = 0;
34396 GFitsTableCol *arg1 = (GFitsTableCol *) 0 ;
34397 int *arg2 = 0 ;
34398 int *arg3 = 0 ;
34399 void *argp1 = 0 ;
34400 int res1 = 0 ;
34401 int temp2 ;
34402 int val2 ;
34403 int ecode2 = 0 ;
34404 int temp3 ;
34405 int val3 ;
34406 int ecode3 = 0 ;
34407 PyObject * obj0 = 0 ;
34408 PyObject * obj1 = 0 ;
34409 PyObject * obj2 = 0 ;
34410 double result;
34411
34412 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableCol_real",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
34413 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
34414 if (!SWIG_IsOK(res1)(res1 >= 0)) {
34415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCol_real" "', argument " "1"" of type '" "GFitsTableCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCol_real" "', argument "
"1"" of type '" "GFitsTableCol const *""'"); goto fail; } while
(0)
;
34416 }
34417 arg1 = reinterpret_cast< GFitsTableCol * >(argp1);
34418 ecode2 = SWIG_AsVal_int(obj1, &val2);
34419 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
34420 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableCol_real" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableCol_real" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
34421 }
34422 temp2 = static_cast< int >(val2);
34423 arg2 = &temp2;
34424 ecode3 = SWIG_AsVal_int(obj2, &val3);
34425 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
34426 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableCol_real" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableCol_real" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
34427 }
34428 temp3 = static_cast< int >(val3);
34429 arg3 = &temp3;
34430 {
34431 try {
34432 result = (double)((GFitsTableCol const *)arg1)->real((int const &)*arg2,(int const &)*arg3);
34433 }
34434 catch (const GException::out_of_range& e) {
34435 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
34436 }
34437 catch (const GExceptionHandler& e) {
34438 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34439 }
34440 catch (const std::exception& e) {
34441 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34442 }
34443 }
34444 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
34445 return resultobj;
34446fail:
34447 return NULL__null;
34448}
34449
34450
34451SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_real__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34452 PyObject *resultobj = 0;
34453 GFitsTableCol *arg1 = (GFitsTableCol *) 0 ;
34454 int *arg2 = 0 ;
34455 void *argp1 = 0 ;
34456 int res1 = 0 ;
34457 int temp2 ;
34458 int val2 ;
34459 int ecode2 = 0 ;
34460 PyObject * obj0 = 0 ;
34461 PyObject * obj1 = 0 ;
34462 double result;
34463
34464 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableCol_real",&obj0,&obj1)) SWIG_failgoto fail;
34465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
34466 if (!SWIG_IsOK(res1)(res1 >= 0)) {
34467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCol_real" "', argument " "1"" of type '" "GFitsTableCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCol_real" "', argument "
"1"" of type '" "GFitsTableCol const *""'"); goto fail; } while
(0)
;
34468 }
34469 arg1 = reinterpret_cast< GFitsTableCol * >(argp1);
34470 ecode2 = SWIG_AsVal_int(obj1, &val2);
34471 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
34472 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableCol_real" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableCol_real" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
34473 }
34474 temp2 = static_cast< int >(val2);
34475 arg2 = &temp2;
34476 {
34477 try {
34478 result = (double)((GFitsTableCol const *)arg1)->real((int const &)*arg2);
34479 }
34480 catch (const GException::out_of_range& e) {
34481 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
34482 }
34483 catch (const GExceptionHandler& e) {
34484 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34485 }
34486 catch (const std::exception& e) {
34487 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34488 }
34489 }
34490 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
34491 return resultobj;
34492fail:
34493 return NULL__null;
34494}
34495
34496
34497SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_real(PyObject *self, PyObject *args) {
34498 int argc;
34499 PyObject *argv[4];
34500 int ii;
34501
34502 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
34503 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
34504 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
34505 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
34506 }
34507 if (argc == 2) {
34508 int _v;
34509 void *vptr = 0;
34510 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
34511 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34512 if (_v) {
34513 {
34514 int res = SWIG_AsVal_int(argv[1], NULL__null);
34515 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34516 }
34517 if (_v) {
34518 return _wrap_GFitsTableCol_real__SWIG_1(self, args);
34519 }
34520 }
34521 }
34522 if (argc == 3) {
34523 int _v;
34524 void *vptr = 0;
34525 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
34526 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34527 if (_v) {
34528 {
34529 int res = SWIG_AsVal_int(argv[1], NULL__null);
34530 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34531 }
34532 if (_v) {
34533 {
34534 int res = SWIG_AsVal_int(argv[2], NULL__null);
34535 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34536 }
34537 if (_v) {
34538 return _wrap_GFitsTableCol_real__SWIG_0(self, args);
34539 }
34540 }
34541 }
34542 }
34543
34544fail:
34545 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableCol_real'.\n"
34546 " Possible C/C++ prototypes are:\n"
34547 " GFitsTableCol::real(int const &,int const &) const\n"
34548 " GFitsTableCol::real(int const &) const\n");
34549 return 0;
34550}
34551
34552
34553SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_integer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34554 PyObject *resultobj = 0;
34555 GFitsTableCol *arg1 = (GFitsTableCol *) 0 ;
34556 int *arg2 = 0 ;
34557 int *arg3 = 0 ;
34558 void *argp1 = 0 ;
34559 int res1 = 0 ;
34560 int temp2 ;
34561 int val2 ;
34562 int ecode2 = 0 ;
34563 int temp3 ;
34564 int val3 ;
34565 int ecode3 = 0 ;
34566 PyObject * obj0 = 0 ;
34567 PyObject * obj1 = 0 ;
34568 PyObject * obj2 = 0 ;
34569 int result;
34570
34571 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableCol_integer",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
34572 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
34573 if (!SWIG_IsOK(res1)(res1 >= 0)) {
34574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCol_integer" "', argument " "1"" of type '" "GFitsTableCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCol_integer" "', argument "
"1"" of type '" "GFitsTableCol const *""'"); goto fail; } while
(0)
;
34575 }
34576 arg1 = reinterpret_cast< GFitsTableCol * >(argp1);
34577 ecode2 = SWIG_AsVal_int(obj1, &val2);
34578 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
34579 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableCol_integer" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableCol_integer"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
34580 }
34581 temp2 = static_cast< int >(val2);
34582 arg2 = &temp2;
34583 ecode3 = SWIG_AsVal_int(obj2, &val3);
34584 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
34585 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableCol_integer" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableCol_integer"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
34586 }
34587 temp3 = static_cast< int >(val3);
34588 arg3 = &temp3;
34589 {
34590 try {
34591 result = (int)((GFitsTableCol const *)arg1)->integer((int const &)*arg2,(int const &)*arg3);
34592 }
34593 catch (const GException::out_of_range& e) {
34594 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
34595 }
34596 catch (const GExceptionHandler& e) {
34597 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34598 }
34599 catch (const std::exception& e) {
34600 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34601 }
34602 }
34603 resultobj = SWIG_From_int(static_cast< int >(result));
34604 return resultobj;
34605fail:
34606 return NULL__null;
34607}
34608
34609
34610SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_integer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34611 PyObject *resultobj = 0;
34612 GFitsTableCol *arg1 = (GFitsTableCol *) 0 ;
34613 int *arg2 = 0 ;
34614 void *argp1 = 0 ;
34615 int res1 = 0 ;
34616 int temp2 ;
34617 int val2 ;
34618 int ecode2 = 0 ;
34619 PyObject * obj0 = 0 ;
34620 PyObject * obj1 = 0 ;
34621 int result;
34622
34623 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableCol_integer",&obj0,&obj1)) SWIG_failgoto fail;
34624 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
34625 if (!SWIG_IsOK(res1)(res1 >= 0)) {
34626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCol_integer" "', argument " "1"" of type '" "GFitsTableCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCol_integer" "', argument "
"1"" of type '" "GFitsTableCol const *""'"); goto fail; } while
(0)
;
34627 }
34628 arg1 = reinterpret_cast< GFitsTableCol * >(argp1);
34629 ecode2 = SWIG_AsVal_int(obj1, &val2);
34630 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
34631 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableCol_integer" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableCol_integer"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
34632 }
34633 temp2 = static_cast< int >(val2);
34634 arg2 = &temp2;
34635 {
34636 try {
34637 result = (int)((GFitsTableCol const *)arg1)->integer((int const &)*arg2);
34638 }
34639 catch (const GException::out_of_range& e) {
34640 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
34641 }
34642 catch (const GExceptionHandler& e) {
34643 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34644 }
34645 catch (const std::exception& e) {
34646 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34647 }
34648 }
34649 resultobj = SWIG_From_int(static_cast< int >(result));
34650 return resultobj;
34651fail:
34652 return NULL__null;
34653}
34654
34655
34656SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_integer(PyObject *self, PyObject *args) {
34657 int argc;
34658 PyObject *argv[4];
34659 int ii;
34660
34661 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
34662 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
34663 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
34664 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
34665 }
34666 if (argc == 2) {
34667 int _v;
34668 void *vptr = 0;
34669 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
34670 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34671 if (_v) {
34672 {
34673 int res = SWIG_AsVal_int(argv[1], NULL__null);
34674 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34675 }
34676 if (_v) {
34677 return _wrap_GFitsTableCol_integer__SWIG_1(self, args);
34678 }
34679 }
34680 }
34681 if (argc == 3) {
34682 int _v;
34683 void *vptr = 0;
34684 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
34685 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34686 if (_v) {
34687 {
34688 int res = SWIG_AsVal_int(argv[1], NULL__null);
34689 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34690 }
34691 if (_v) {
34692 {
34693 int res = SWIG_AsVal_int(argv[2], NULL__null);
34694 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34695 }
34696 if (_v) {
34697 return _wrap_GFitsTableCol_integer__SWIG_0(self, args);
34698 }
34699 }
34700 }
34701 }
34702
34703fail:
34704 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableCol_integer'.\n"
34705 " Possible C/C++ prototypes are:\n"
34706 " GFitsTableCol::integer(int const &,int const &) const\n"
34707 " GFitsTableCol::integer(int const &) const\n");
34708 return 0;
34709}
34710
34711
34712SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34713 PyObject *resultobj = 0;
34714 GFitsTableCol *arg1 = (GFitsTableCol *) 0 ;
34715 int *arg2 = 0 ;
34716 int *arg3 = 0 ;
34717 void *argp1 = 0 ;
34718 int res1 = 0 ;
34719 int temp2 ;
34720 int val2 ;
34721 int ecode2 = 0 ;
34722 int temp3 ;
34723 int val3 ;
34724 int ecode3 = 0 ;
34725 PyObject * obj0 = 0 ;
34726 PyObject * obj1 = 0 ;
34727 PyObject * obj2 = 0 ;
34728
34729 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableCol_insert",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
34730 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
34731 if (!SWIG_IsOK(res1)(res1 >= 0)) {
34732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCol_insert" "', argument " "1"" of type '" "GFitsTableCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCol_insert" "', argument "
"1"" of type '" "GFitsTableCol *""'"); goto fail; } while(0)
;
34733 }
34734 arg1 = reinterpret_cast< GFitsTableCol * >(argp1);
34735 ecode2 = SWIG_AsVal_int(obj1, &val2);
34736 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
34737 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableCol_insert" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableCol_insert" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
34738 }
34739 temp2 = static_cast< int >(val2);
34740 arg2 = &temp2;
34741 ecode3 = SWIG_AsVal_int(obj2, &val3);
34742 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
34743 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableCol_insert" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableCol_insert" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
34744 }
34745 temp3 = static_cast< int >(val3);
34746 arg3 = &temp3;
34747 {
34748 try {
34749 (arg1)->insert((int const &)*arg2,(int const &)*arg3);
34750 }
34751 catch (const GException::out_of_range& e) {
34752 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
34753 }
34754 catch (const GExceptionHandler& e) {
34755 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34756 }
34757 catch (const std::exception& e) {
34758 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34759 }
34760 }
34761 resultobj = SWIG_Py_Void();
34762 return resultobj;
34763fail:
34764 return NULL__null;
34765}
34766
34767
34768SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34769 PyObject *resultobj = 0;
34770 GFitsTableCol *arg1 = (GFitsTableCol *) 0 ;
34771 int *arg2 = 0 ;
34772 int *arg3 = 0 ;
34773 void *argp1 = 0 ;
34774 int res1 = 0 ;
34775 int temp2 ;
34776 int val2 ;
34777 int ecode2 = 0 ;
34778 int temp3 ;
34779 int val3 ;
34780 int ecode3 = 0 ;
34781 PyObject * obj0 = 0 ;
34782 PyObject * obj1 = 0 ;
34783 PyObject * obj2 = 0 ;
34784
34785 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableCol_remove",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
34786 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
34787 if (!SWIG_IsOK(res1)(res1 >= 0)) {
34788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCol_remove" "', argument " "1"" of type '" "GFitsTableCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCol_remove" "', argument "
"1"" of type '" "GFitsTableCol *""'"); goto fail; } while(0)
;
34789 }
34790 arg1 = reinterpret_cast< GFitsTableCol * >(argp1);
34791 ecode2 = SWIG_AsVal_int(obj1, &val2);
34792 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
34793 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableCol_remove" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableCol_remove" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
34794 }
34795 temp2 = static_cast< int >(val2);
34796 arg2 = &temp2;
34797 ecode3 = SWIG_AsVal_int(obj2, &val3);
34798 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
34799 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableCol_remove" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableCol_remove" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
34800 }
34801 temp3 = static_cast< int >(val3);
34802 arg3 = &temp3;
34803 {
34804 try {
34805 (arg1)->remove((int const &)*arg2,(int const &)*arg3);
34806 }
34807 catch (const GException::out_of_range& e) {
34808 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
34809 }
34810 catch (const GExceptionHandler& e) {
34811 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34812 }
34813 catch (const std::exception& e) {
34814 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34815 }
34816 }
34817 resultobj = SWIG_Py_Void();
34818 return resultobj;
34819fail:
34820 return NULL__null;
34821}
34822
34823
34824SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_isloaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34825 PyObject *resultobj = 0;
34826 GFitsTableCol *arg1 = (GFitsTableCol *) 0 ;
34827 void *argp1 = 0 ;
34828 int res1 = 0 ;
34829 PyObject * obj0 = 0 ;
34830 bool result;
34831
34832 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableCol_isloaded",&obj0)) SWIG_failgoto fail;
34833 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
34834 if (!SWIG_IsOK(res1)(res1 >= 0)) {
34835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCol_isloaded" "', argument " "1"" of type '" "GFitsTableCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCol_isloaded" "', argument "
"1"" of type '" "GFitsTableCol const *""'"); goto fail; } while
(0)
;
34836 }
34837 arg1 = reinterpret_cast< GFitsTableCol * >(argp1);
34838 {
34839 try {
34840 result = (bool)((GFitsTableCol const *)arg1)->isloaded();
34841 }
34842 catch (const GException::out_of_range& e) {
34843 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
34844 }
34845 catch (const GExceptionHandler& e) {
34846 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34847 }
34848 catch (const std::exception& e) {
34849 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34850 }
34851 }
34852 resultobj = SWIG_From_bool(static_cast< bool >(result));
34853 return resultobj;
34854fail:
34855 return NULL__null;
34856}
34857
34858
34859SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_name__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34860 PyObject *resultobj = 0;
34861 GFitsTableCol *arg1 = (GFitsTableCol *) 0 ;
34862 std::string *arg2 = 0 ;
34863 void *argp1 = 0 ;
34864 int res1 = 0 ;
34865 int res2 = SWIG_OLDOBJ((0)) ;
34866 PyObject * obj0 = 0 ;
34867 PyObject * obj1 = 0 ;
34868
34869 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableCol_name",&obj0,&obj1)) SWIG_failgoto fail;
34870 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
34871 if (!SWIG_IsOK(res1)(res1 >= 0)) {
34872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCol_name" "', argument " "1"" of type '" "GFitsTableCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCol_name" "', argument "
"1"" of type '" "GFitsTableCol *""'"); goto fail; } while(0)
;
34873 }
34874 arg1 = reinterpret_cast< GFitsTableCol * >(argp1);
34875 {
34876 std::string *ptr = (std::string *)0;
34877 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
34878 if (!SWIG_IsOK(res2)(res2 >= 0)) {
34879 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsTableCol_name" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsTableCol_name" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
34880 }
34881 if (!ptr) {
34882 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsTableCol_name" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsTableCol_name" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
34883 }
34884 arg2 = ptr;
34885 }
34886 {
34887 try {
34888 (arg1)->name((std::string const &)*arg2);
34889 }
34890 catch (const GException::out_of_range& e) {
34891 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
34892 }
34893 catch (const GExceptionHandler& e) {
34894 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34895 }
34896 catch (const std::exception& e) {
34897 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34898 }
34899 }
34900 resultobj = SWIG_Py_Void();
34901 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
34902 return resultobj;
34903fail:
34904 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
34905 return NULL__null;
34906}
34907
34908
34909SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_name__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34910 PyObject *resultobj = 0;
34911 GFitsTableCol *arg1 = (GFitsTableCol *) 0 ;
34912 void *argp1 = 0 ;
34913 int res1 = 0 ;
34914 PyObject * obj0 = 0 ;
34915 std::string *result = 0 ;
34916
34917 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableCol_name",&obj0)) SWIG_failgoto fail;
34918 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
34919 if (!SWIG_IsOK(res1)(res1 >= 0)) {
34920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCol_name" "', argument " "1"" of type '" "GFitsTableCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCol_name" "', argument "
"1"" of type '" "GFitsTableCol const *""'"); goto fail; } while
(0)
;
34921 }
34922 arg1 = reinterpret_cast< GFitsTableCol * >(argp1);
34923 {
34924 try {
34925 result = (std::string *) &((GFitsTableCol const *)arg1)->name();
34926 }
34927 catch (const GException::out_of_range& e) {
34928 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
34929 }
34930 catch (const GExceptionHandler& e) {
34931 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34932 }
34933 catch (const std::exception& e) {
34934 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
34935 }
34936 }
34937 resultobj = SWIG_From_std_string(static_cast< std::string >(*result));
34938 return resultobj;
34939fail:
34940 return NULL__null;
34941}
34942
34943
34944SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_name(PyObject *self, PyObject *args) {
34945 int argc;
34946 PyObject *argv[3];
34947 int ii;
34948
34949 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
34950 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
34951 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
34952 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
34953 }
34954 if (argc == 1) {
34955 int _v;
34956 void *vptr = 0;
34957 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
34958 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34959 if (_v) {
34960 return _wrap_GFitsTableCol_name__SWIG_1(self, args);
34961 }
34962 }
34963 if (argc == 2) {
34964 int _v;
34965 void *vptr = 0;
34966 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
34967 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34968 if (_v) {
34969 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
34970 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
34971 if (_v) {
34972 return _wrap_GFitsTableCol_name__SWIG_0(self, args);
34973 }
34974 }
34975 }
34976
34977fail:
34978 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableCol_name'.\n"
34979 " Possible C/C++ prototypes are:\n"
34980 " GFitsTableCol::name(std::string const &)\n"
34981 " GFitsTableCol::name() const\n");
34982 return 0;
34983}
34984
34985
34986SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_unit__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34987 PyObject *resultobj = 0;
34988 GFitsTableCol *arg1 = (GFitsTableCol *) 0 ;
34989 std::string *arg2 = 0 ;
34990 void *argp1 = 0 ;
34991 int res1 = 0 ;
34992 int res2 = SWIG_OLDOBJ((0)) ;
34993 PyObject * obj0 = 0 ;
34994 PyObject * obj1 = 0 ;
34995
34996 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableCol_unit",&obj0,&obj1)) SWIG_failgoto fail;
34997 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
34998 if (!SWIG_IsOK(res1)(res1 >= 0)) {
34999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCol_unit" "', argument " "1"" of type '" "GFitsTableCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCol_unit" "', argument "
"1"" of type '" "GFitsTableCol *""'"); goto fail; } while(0)
;
35000 }
35001 arg1 = reinterpret_cast< GFitsTableCol * >(argp1);
35002 {
35003 std::string *ptr = (std::string *)0;
35004 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
35005 if (!SWIG_IsOK(res2)(res2 >= 0)) {
35006 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsTableCol_unit" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsTableCol_unit" "', argument "
"2"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
35007 }
35008 if (!ptr) {
35009 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsTableCol_unit" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsTableCol_unit" "', argument " "2"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
35010 }
35011 arg2 = ptr;
35012 }
35013 {
35014 try {
35015 (arg1)->unit((std::string const &)*arg2);
35016 }
35017 catch (const GException::out_of_range& e) {
35018 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
35019 }
35020 catch (const GExceptionHandler& e) {
35021 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35022 }
35023 catch (const std::exception& e) {
35024 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35025 }
35026 }
35027 resultobj = SWIG_Py_Void();
35028 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
35029 return resultobj;
35030fail:
35031 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
35032 return NULL__null;
35033}
35034
35035
35036SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_unit__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35037 PyObject *resultobj = 0;
35038 GFitsTableCol *arg1 = (GFitsTableCol *) 0 ;
35039 void *argp1 = 0 ;
35040 int res1 = 0 ;
35041 PyObject * obj0 = 0 ;
35042 std::string *result = 0 ;
35043
35044 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableCol_unit",&obj0)) SWIG_failgoto fail;
35045 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
35046 if (!SWIG_IsOK(res1)(res1 >= 0)) {
35047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCol_unit" "', argument " "1"" of type '" "GFitsTableCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCol_unit" "', argument "
"1"" of type '" "GFitsTableCol const *""'"); goto fail; } while
(0)
;
35048 }
35049 arg1 = reinterpret_cast< GFitsTableCol * >(argp1);
35050 {
35051 try {
35052 result = (std::string *) &((GFitsTableCol const *)arg1)->unit();
35053 }
35054 catch (const GException::out_of_range& e) {
35055 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
35056 }
35057 catch (const GExceptionHandler& e) {
35058 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35059 }
35060 catch (const std::exception& e) {
35061 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35062 }
35063 }
35064 resultobj = SWIG_From_std_string(static_cast< std::string >(*result));
35065 return resultobj;
35066fail:
35067 return NULL__null;
35068}
35069
35070
35071SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_unit(PyObject *self, PyObject *args) {
35072 int argc;
35073 PyObject *argv[3];
35074 int ii;
35075
35076 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
35077 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
35078 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
35079 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
35080 }
35081 if (argc == 1) {
35082 int _v;
35083 void *vptr = 0;
35084 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
35085 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35086 if (_v) {
35087 return _wrap_GFitsTableCol_unit__SWIG_1(self, args);
35088 }
35089 }
35090 if (argc == 2) {
35091 int _v;
35092 void *vptr = 0;
35093 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
35094 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35095 if (_v) {
35096 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
35097 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35098 if (_v) {
35099 return _wrap_GFitsTableCol_unit__SWIG_0(self, args);
35100 }
35101 }
35102 }
35103
35104fail:
35105 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableCol_unit'.\n"
35106 " Possible C/C++ prototypes are:\n"
35107 " GFitsTableCol::unit(std::string const &)\n"
35108 " GFitsTableCol::unit() const\n");
35109 return 0;
35110}
35111
35112
35113SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_dim__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35114 PyObject *resultobj = 0;
35115 GFitsTableCol *arg1 = (GFitsTableCol *) 0 ;
35116 std::vector< int,std::allocator< int > > *arg2 = 0 ;
35117 void *argp1 = 0 ;
35118 int res1 = 0 ;
35119 int res2 = SWIG_OLDOBJ((0)) ;
35120 PyObject * obj0 = 0 ;
35121 PyObject * obj1 = 0 ;
35122
35123 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableCol_dim",&obj0,&obj1)) SWIG_failgoto fail;
35124 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
35125 if (!SWIG_IsOK(res1)(res1 >= 0)) {
35126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCol_dim" "', argument " "1"" of type '" "GFitsTableCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCol_dim" "', argument "
"1"" of type '" "GFitsTableCol *""'"); goto fail; } while(0)
;
35127 }
35128 arg1 = reinterpret_cast< GFitsTableCol * >(argp1);
35129 {
35130 std::vector<int,std::allocator< int > > *ptr = (std::vector<int,std::allocator< int > > *)0;
35131 res2 = swig::asptr(obj1, &ptr);
35132 if (!SWIG_IsOK(res2)(res2 >= 0)) {
35133 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsTableCol_dim" "', argument " "2"" of type '" "std::vector< int,std::allocator< int > > const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsTableCol_dim" "', argument "
"2"" of type '" "std::vector< int,std::allocator< int > > const &"
"'"); goto fail; } while(0)
;
35134 }
35135 if (!ptr) {
35136 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsTableCol_dim" "', argument " "2"" of type '" "std::vector< int,std::allocator< int > > const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsTableCol_dim" "', argument " "2"" of type '"
"std::vector< int,std::allocator< int > > const &"
"'"); goto fail; } while(0)
;
35137 }
35138 arg2 = ptr;
35139 }
35140 {
35141 try {
35142 (arg1)->dim((std::vector< int,std::allocator< int > > const &)*arg2);
35143 }
35144 catch (const GException::out_of_range& e) {
35145 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
35146 }
35147 catch (const GExceptionHandler& e) {
35148 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35149 }
35150 catch (const std::exception& e) {
35151 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35152 }
35153 }
35154 resultobj = SWIG_Py_Void();
35155 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
35156 return resultobj;
35157fail:
35158 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
35159 return NULL__null;
35160}
35161
35162
35163SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_dim__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35164 PyObject *resultobj = 0;
35165 GFitsTableCol *arg1 = (GFitsTableCol *) 0 ;
35166 void *argp1 = 0 ;
35167 int res1 = 0 ;
35168 PyObject * obj0 = 0 ;
35169 std::vector< int,std::allocator< int > > *result = 0 ;
35170
35171 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableCol_dim",&obj0)) SWIG_failgoto fail;
35172 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
35173 if (!SWIG_IsOK(res1)(res1 >= 0)) {
35174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCol_dim" "', argument " "1"" of type '" "GFitsTableCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCol_dim" "', argument "
"1"" of type '" "GFitsTableCol const *""'"); goto fail; } while
(0)
;
35175 }
35176 arg1 = reinterpret_cast< GFitsTableCol * >(argp1);
35177 {
35178 try {
35179 result = (std::vector< int,std::allocator< int > > *) &((GFitsTableCol const *)arg1)->dim();
35180 }
35181 catch (const GException::out_of_range& e) {
35182 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
35183 }
35184 catch (const GExceptionHandler& e) {
35185 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35186 }
35187 catch (const std::exception& e) {
35188 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35189 }
35190 }
35191 resultobj = swig::from(static_cast< std::vector<int,std::allocator< int > > >(*result));
35192 return resultobj;
35193fail:
35194 return NULL__null;
35195}
35196
35197
35198SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_dim(PyObject *self, PyObject *args) {
35199 int argc;
35200 PyObject *argv[3];
35201 int ii;
35202
35203 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
35204 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
35205 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
35206 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
35207 }
35208 if (argc == 1) {
35209 int _v;
35210 void *vptr = 0;
35211 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
35212 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35213 if (_v) {
35214 return _wrap_GFitsTableCol_dim__SWIG_1(self, args);
35215 }
35216 }
35217 if (argc == 2) {
35218 int _v;
35219 void *vptr = 0;
35220 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
35221 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35222 if (_v) {
35223 int res = swig::asptr(argv[1], (std::vector<int,std::allocator< int > >**)(0));
35224 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35225 if (_v) {
35226 return _wrap_GFitsTableCol_dim__SWIG_0(self, args);
35227 }
35228 }
35229 }
35230
35231fail:
35232 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableCol_dim'.\n"
35233 " Possible C/C++ prototypes are:\n"
35234 " GFitsTableCol::dim(std::vector< int,std::allocator< int > > const &)\n"
35235 " GFitsTableCol::dim() const\n");
35236 return 0;
35237}
35238
35239
35240SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_colnum__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35241 PyObject *resultobj = 0;
35242 GFitsTableCol *arg1 = (GFitsTableCol *) 0 ;
35243 int *arg2 = 0 ;
35244 void *argp1 = 0 ;
35245 int res1 = 0 ;
35246 int temp2 ;
35247 int val2 ;
35248 int ecode2 = 0 ;
35249 PyObject * obj0 = 0 ;
35250 PyObject * obj1 = 0 ;
35251
35252 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableCol_colnum",&obj0,&obj1)) SWIG_failgoto fail;
35253 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
35254 if (!SWIG_IsOK(res1)(res1 >= 0)) {
35255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCol_colnum" "', argument " "1"" of type '" "GFitsTableCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCol_colnum" "', argument "
"1"" of type '" "GFitsTableCol *""'"); goto fail; } while(0)
;
35256 }
35257 arg1 = reinterpret_cast< GFitsTableCol * >(argp1);
35258 ecode2 = SWIG_AsVal_int(obj1, &val2);
35259 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
35260 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableCol_colnum" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableCol_colnum" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
35261 }
35262 temp2 = static_cast< int >(val2);
35263 arg2 = &temp2;
35264 {
35265 try {
35266 (arg1)->colnum((int const &)*arg2);
35267 }
35268 catch (const GException::out_of_range& e) {
35269 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
35270 }
35271 catch (const GExceptionHandler& e) {
35272 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35273 }
35274 catch (const std::exception& e) {
35275 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35276 }
35277 }
35278 resultobj = SWIG_Py_Void();
35279 return resultobj;
35280fail:
35281 return NULL__null;
35282}
35283
35284
35285SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_colnum__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35286 PyObject *resultobj = 0;
35287 GFitsTableCol *arg1 = (GFitsTableCol *) 0 ;
35288 void *argp1 = 0 ;
35289 int res1 = 0 ;
35290 PyObject * obj0 = 0 ;
35291 int *result = 0 ;
35292
35293 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableCol_colnum",&obj0)) SWIG_failgoto fail;
35294 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
35295 if (!SWIG_IsOK(res1)(res1 >= 0)) {
35296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCol_colnum" "', argument " "1"" of type '" "GFitsTableCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCol_colnum" "', argument "
"1"" of type '" "GFitsTableCol const *""'"); goto fail; } while
(0)
;
35297 }
35298 arg1 = reinterpret_cast< GFitsTableCol * >(argp1);
35299 {
35300 try {
35301 result = (int *) &((GFitsTableCol const *)arg1)->colnum();
35302 }
35303 catch (const GException::out_of_range& e) {
35304 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
35305 }
35306 catch (const GExceptionHandler& e) {
35307 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35308 }
35309 catch (const std::exception& e) {
35310 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35311 }
35312 }
35313 resultobj = SWIG_From_int(static_cast< int >(*result));
35314 return resultobj;
35315fail:
35316 return NULL__null;
35317}
35318
35319
35320SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_colnum(PyObject *self, PyObject *args) {
35321 int argc;
35322 PyObject *argv[3];
35323 int ii;
35324
35325 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
35326 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
35327 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
35328 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
35329 }
35330 if (argc == 1) {
35331 int _v;
35332 void *vptr = 0;
35333 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
35334 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35335 if (_v) {
35336 return _wrap_GFitsTableCol_colnum__SWIG_1(self, args);
35337 }
35338 }
35339 if (argc == 2) {
35340 int _v;
35341 void *vptr = 0;
35342 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
35343 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35344 if (_v) {
35345 {
35346 int res = SWIG_AsVal_int(argv[1], NULL__null);
35347 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35348 }
35349 if (_v) {
35350 return _wrap_GFitsTableCol_colnum__SWIG_0(self, args);
35351 }
35352 }
35353 }
35354
35355fail:
35356 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableCol_colnum'.\n"
35357 " Possible C/C++ prototypes are:\n"
35358 " GFitsTableCol::colnum(int const &)\n"
35359 " GFitsTableCol::colnum() const\n");
35360 return 0;
35361}
35362
35363
35364SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_type__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35365 PyObject *resultobj = 0;
35366 GFitsTableCol *arg1 = (GFitsTableCol *) 0 ;
35367 int *arg2 = 0 ;
35368 void *argp1 = 0 ;
35369 int res1 = 0 ;
35370 int temp2 ;
35371 int val2 ;
35372 int ecode2 = 0 ;
35373 PyObject * obj0 = 0 ;
35374 PyObject * obj1 = 0 ;
35375
35376 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableCol_type",&obj0,&obj1)) SWIG_failgoto fail;
35377 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
35378 if (!SWIG_IsOK(res1)(res1 >= 0)) {
35379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCol_type" "', argument " "1"" of type '" "GFitsTableCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCol_type" "', argument "
"1"" of type '" "GFitsTableCol *""'"); goto fail; } while(0)
;
35380 }
35381 arg1 = reinterpret_cast< GFitsTableCol * >(argp1);
35382 ecode2 = SWIG_AsVal_int(obj1, &val2);
35383 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
35384 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableCol_type" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableCol_type" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
35385 }
35386 temp2 = static_cast< int >(val2);
35387 arg2 = &temp2;
35388 {
35389 try {
35390 (arg1)->type((int const &)*arg2);
35391 }
35392 catch (const GException::out_of_range& e) {
35393 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
35394 }
35395 catch (const GExceptionHandler& e) {
35396 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35397 }
35398 catch (const std::exception& e) {
35399 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35400 }
35401 }
35402 resultobj = SWIG_Py_Void();
35403 return resultobj;
35404fail:
35405 return NULL__null;
35406}
35407
35408
35409SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_type__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35410 PyObject *resultobj = 0;
35411 GFitsTableCol *arg1 = (GFitsTableCol *) 0 ;
35412 void *argp1 = 0 ;
35413 int res1 = 0 ;
35414 PyObject * obj0 = 0 ;
35415 int *result = 0 ;
35416
35417 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableCol_type",&obj0)) SWIG_failgoto fail;
35418 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
35419 if (!SWIG_IsOK(res1)(res1 >= 0)) {
35420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCol_type" "', argument " "1"" of type '" "GFitsTableCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCol_type" "', argument "
"1"" of type '" "GFitsTableCol const *""'"); goto fail; } while
(0)
;
35421 }
35422 arg1 = reinterpret_cast< GFitsTableCol * >(argp1);
35423 {
35424 try {
35425 result = (int *) &((GFitsTableCol const *)arg1)->type();
35426 }
35427 catch (const GException::out_of_range& e) {
35428 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
35429 }
35430 catch (const GExceptionHandler& e) {
35431 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35432 }
35433 catch (const std::exception& e) {
35434 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35435 }
35436 }
35437 resultobj = SWIG_From_int(static_cast< int >(*result));
35438 return resultobj;
35439fail:
35440 return NULL__null;
35441}
35442
35443
35444SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_type(PyObject *self, PyObject *args) {
35445 int argc;
35446 PyObject *argv[3];
35447 int ii;
35448
35449 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
35450 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
35451 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
35452 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
35453 }
35454 if (argc == 1) {
35455 int _v;
35456 void *vptr = 0;
35457 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
35458 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35459 if (_v) {
35460 return _wrap_GFitsTableCol_type__SWIG_1(self, args);
35461 }
35462 }
35463 if (argc == 2) {
35464 int _v;
35465 void *vptr = 0;
35466 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
35467 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35468 if (_v) {
35469 {
35470 int res = SWIG_AsVal_int(argv[1], NULL__null);
35471 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35472 }
35473 if (_v) {
35474 return _wrap_GFitsTableCol_type__SWIG_0(self, args);
35475 }
35476 }
35477 }
35478
35479fail:
35480 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableCol_type'.\n"
35481 " Possible C/C++ prototypes are:\n"
35482 " GFitsTableCol::type(int const &)\n"
35483 " GFitsTableCol::type() const\n");
35484 return 0;
35485}
35486
35487
35488SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_repeat__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35489 PyObject *resultobj = 0;
35490 GFitsTableCol *arg1 = (GFitsTableCol *) 0 ;
35491 int *arg2 = 0 ;
35492 void *argp1 = 0 ;
35493 int res1 = 0 ;
35494 int temp2 ;
35495 int val2 ;
35496 int ecode2 = 0 ;
35497 PyObject * obj0 = 0 ;
35498 PyObject * obj1 = 0 ;
35499
35500 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableCol_repeat",&obj0,&obj1)) SWIG_failgoto fail;
35501 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
35502 if (!SWIG_IsOK(res1)(res1 >= 0)) {
35503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCol_repeat" "', argument " "1"" of type '" "GFitsTableCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCol_repeat" "', argument "
"1"" of type '" "GFitsTableCol *""'"); goto fail; } while(0)
;
35504 }
35505 arg1 = reinterpret_cast< GFitsTableCol * >(argp1);
35506 ecode2 = SWIG_AsVal_int(obj1, &val2);
35507 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
35508 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableCol_repeat" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableCol_repeat" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
35509 }
35510 temp2 = static_cast< int >(val2);
35511 arg2 = &temp2;
35512 {
35513 try {
35514 (arg1)->repeat((int const &)*arg2);
35515 }
35516 catch (const GException::out_of_range& e) {
35517 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
35518 }
35519 catch (const GExceptionHandler& e) {
35520 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35521 }
35522 catch (const std::exception& e) {
35523 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35524 }
35525 }
35526 resultobj = SWIG_Py_Void();
35527 return resultobj;
35528fail:
35529 return NULL__null;
35530}
35531
35532
35533SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_repeat__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35534 PyObject *resultobj = 0;
35535 GFitsTableCol *arg1 = (GFitsTableCol *) 0 ;
35536 void *argp1 = 0 ;
35537 int res1 = 0 ;
35538 PyObject * obj0 = 0 ;
35539 int *result = 0 ;
35540
35541 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableCol_repeat",&obj0)) SWIG_failgoto fail;
35542 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
35543 if (!SWIG_IsOK(res1)(res1 >= 0)) {
35544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCol_repeat" "', argument " "1"" of type '" "GFitsTableCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCol_repeat" "', argument "
"1"" of type '" "GFitsTableCol const *""'"); goto fail; } while
(0)
;
35545 }
35546 arg1 = reinterpret_cast< GFitsTableCol * >(argp1);
35547 {
35548 try {
35549 result = (int *) &((GFitsTableCol const *)arg1)->repeat();
35550 }
35551 catch (const GException::out_of_range& e) {
35552 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
35553 }
35554 catch (const GExceptionHandler& e) {
35555 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35556 }
35557 catch (const std::exception& e) {
35558 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35559 }
35560 }
35561 resultobj = SWIG_From_int(static_cast< int >(*result));
35562 return resultobj;
35563fail:
35564 return NULL__null;
35565}
35566
35567
35568SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_repeat(PyObject *self, PyObject *args) {
35569 int argc;
35570 PyObject *argv[3];
35571 int ii;
35572
35573 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
35574 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
35575 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
35576 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
35577 }
35578 if (argc == 1) {
35579 int _v;
35580 void *vptr = 0;
35581 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
35582 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35583 if (_v) {
35584 return _wrap_GFitsTableCol_repeat__SWIG_1(self, args);
35585 }
35586 }
35587 if (argc == 2) {
35588 int _v;
35589 void *vptr = 0;
35590 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
35591 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35592 if (_v) {
35593 {
35594 int res = SWIG_AsVal_int(argv[1], NULL__null);
35595 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35596 }
35597 if (_v) {
35598 return _wrap_GFitsTableCol_repeat__SWIG_0(self, args);
35599 }
35600 }
35601 }
35602
35603fail:
35604 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableCol_repeat'.\n"
35605 " Possible C/C++ prototypes are:\n"
35606 " GFitsTableCol::repeat(int const &)\n"
35607 " GFitsTableCol::repeat() const\n");
35608 return 0;
35609}
35610
35611
35612SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_width__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35613 PyObject *resultobj = 0;
35614 GFitsTableCol *arg1 = (GFitsTableCol *) 0 ;
35615 int *arg2 = 0 ;
35616 void *argp1 = 0 ;
35617 int res1 = 0 ;
35618 int temp2 ;
35619 int val2 ;
35620 int ecode2 = 0 ;
35621 PyObject * obj0 = 0 ;
35622 PyObject * obj1 = 0 ;
35623
35624 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableCol_width",&obj0,&obj1)) SWIG_failgoto fail;
35625 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
35626 if (!SWIG_IsOK(res1)(res1 >= 0)) {
35627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCol_width" "', argument " "1"" of type '" "GFitsTableCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCol_width" "', argument "
"1"" of type '" "GFitsTableCol *""'"); goto fail; } while(0)
;
35628 }
35629 arg1 = reinterpret_cast< GFitsTableCol * >(argp1);
35630 ecode2 = SWIG_AsVal_int(obj1, &val2);
35631 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
35632 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableCol_width" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableCol_width" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
35633 }
35634 temp2 = static_cast< int >(val2);
35635 arg2 = &temp2;
35636 {
35637 try {
35638 (arg1)->width((int const &)*arg2);
35639 }
35640 catch (const GException::out_of_range& e) {
35641 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
35642 }
35643 catch (const GExceptionHandler& e) {
35644 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35645 }
35646 catch (const std::exception& e) {
35647 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35648 }
35649 }
35650 resultobj = SWIG_Py_Void();
35651 return resultobj;
35652fail:
35653 return NULL__null;
35654}
35655
35656
35657SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_width__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35658 PyObject *resultobj = 0;
35659 GFitsTableCol *arg1 = (GFitsTableCol *) 0 ;
35660 void *argp1 = 0 ;
35661 int res1 = 0 ;
35662 PyObject * obj0 = 0 ;
35663 int *result = 0 ;
35664
35665 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableCol_width",&obj0)) SWIG_failgoto fail;
35666 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
35667 if (!SWIG_IsOK(res1)(res1 >= 0)) {
35668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCol_width" "', argument " "1"" of type '" "GFitsTableCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCol_width" "', argument "
"1"" of type '" "GFitsTableCol const *""'"); goto fail; } while
(0)
;
35669 }
35670 arg1 = reinterpret_cast< GFitsTableCol * >(argp1);
35671 {
35672 try {
35673 result = (int *) &((GFitsTableCol const *)arg1)->width();
35674 }
35675 catch (const GException::out_of_range& e) {
35676 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
35677 }
35678 catch (const GExceptionHandler& e) {
35679 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35680 }
35681 catch (const std::exception& e) {
35682 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35683 }
35684 }
35685 resultobj = SWIG_From_int(static_cast< int >(*result));
35686 return resultobj;
35687fail:
35688 return NULL__null;
35689}
35690
35691
35692SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_width(PyObject *self, PyObject *args) {
35693 int argc;
35694 PyObject *argv[3];
35695 int ii;
35696
35697 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
35698 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
35699 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
35700 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
35701 }
35702 if (argc == 1) {
35703 int _v;
35704 void *vptr = 0;
35705 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
35706 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35707 if (_v) {
35708 return _wrap_GFitsTableCol_width__SWIG_1(self, args);
35709 }
35710 }
35711 if (argc == 2) {
35712 int _v;
35713 void *vptr = 0;
35714 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
35715 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35716 if (_v) {
35717 {
35718 int res = SWIG_AsVal_int(argv[1], NULL__null);
35719 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35720 }
35721 if (_v) {
35722 return _wrap_GFitsTableCol_width__SWIG_0(self, args);
35723 }
35724 }
35725 }
35726
35727fail:
35728 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableCol_width'.\n"
35729 " Possible C/C++ prototypes are:\n"
35730 " GFitsTableCol::width(int const &)\n"
35731 " GFitsTableCol::width() const\n");
35732 return 0;
35733}
35734
35735
35736SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_number__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35737 PyObject *resultobj = 0;
35738 GFitsTableCol *arg1 = (GFitsTableCol *) 0 ;
35739 int *arg2 = 0 ;
35740 void *argp1 = 0 ;
35741 int res1 = 0 ;
35742 int temp2 ;
35743 int val2 ;
35744 int ecode2 = 0 ;
35745 PyObject * obj0 = 0 ;
35746 PyObject * obj1 = 0 ;
35747
35748 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableCol_number",&obj0,&obj1)) SWIG_failgoto fail;
35749 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
35750 if (!SWIG_IsOK(res1)(res1 >= 0)) {
35751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCol_number" "', argument " "1"" of type '" "GFitsTableCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCol_number" "', argument "
"1"" of type '" "GFitsTableCol *""'"); goto fail; } while(0)
;
35752 }
35753 arg1 = reinterpret_cast< GFitsTableCol * >(argp1);
35754 ecode2 = SWIG_AsVal_int(obj1, &val2);
35755 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
35756 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableCol_number" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableCol_number" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
35757 }
35758 temp2 = static_cast< int >(val2);
35759 arg2 = &temp2;
35760 {
35761 try {
35762 (arg1)->number((int const &)*arg2);
35763 }
35764 catch (const GException::out_of_range& e) {
35765 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
35766 }
35767 catch (const GExceptionHandler& e) {
35768 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35769 }
35770 catch (const std::exception& e) {
35771 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35772 }
35773 }
35774 resultobj = SWIG_Py_Void();
35775 return resultobj;
35776fail:
35777 return NULL__null;
35778}
35779
35780
35781SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_number__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35782 PyObject *resultobj = 0;
35783 GFitsTableCol *arg1 = (GFitsTableCol *) 0 ;
35784 void *argp1 = 0 ;
35785 int res1 = 0 ;
35786 PyObject * obj0 = 0 ;
35787 int *result = 0 ;
35788
35789 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableCol_number",&obj0)) SWIG_failgoto fail;
35790 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
35791 if (!SWIG_IsOK(res1)(res1 >= 0)) {
35792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCol_number" "', argument " "1"" of type '" "GFitsTableCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCol_number" "', argument "
"1"" of type '" "GFitsTableCol const *""'"); goto fail; } while
(0)
;
35793 }
35794 arg1 = reinterpret_cast< GFitsTableCol * >(argp1);
35795 {
35796 try {
35797 result = (int *) &((GFitsTableCol const *)arg1)->number();
35798 }
35799 catch (const GException::out_of_range& e) {
35800 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
35801 }
35802 catch (const GExceptionHandler& e) {
35803 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35804 }
35805 catch (const std::exception& e) {
35806 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35807 }
35808 }
35809 resultobj = SWIG_From_int(static_cast< int >(*result));
35810 return resultobj;
35811fail:
35812 return NULL__null;
35813}
35814
35815
35816SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_number(PyObject *self, PyObject *args) {
35817 int argc;
35818 PyObject *argv[3];
35819 int ii;
35820
35821 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
35822 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
35823 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
35824 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
35825 }
35826 if (argc == 1) {
35827 int _v;
35828 void *vptr = 0;
35829 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
35830 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35831 if (_v) {
35832 return _wrap_GFitsTableCol_number__SWIG_1(self, args);
35833 }
35834 }
35835 if (argc == 2) {
35836 int _v;
35837 void *vptr = 0;
35838 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
35839 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35840 if (_v) {
35841 {
35842 int res = SWIG_AsVal_int(argv[1], NULL__null);
35843 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35844 }
35845 if (_v) {
35846 return _wrap_GFitsTableCol_number__SWIG_0(self, args);
35847 }
35848 }
35849 }
35850
35851fail:
35852 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableCol_number'.\n"
35853 " Possible C/C++ prototypes are:\n"
35854 " GFitsTableCol::number(int const &)\n"
35855 " GFitsTableCol::number() const\n");
35856 return 0;
35857}
35858
35859
35860SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_elements__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35861 PyObject *resultobj = 0;
35862 GFitsTableCol *arg1 = (GFitsTableCol *) 0 ;
35863 int *arg2 = 0 ;
35864 int *arg3 = 0 ;
35865 void *argp1 = 0 ;
35866 int res1 = 0 ;
35867 int temp2 ;
35868 int val2 ;
35869 int ecode2 = 0 ;
35870 int temp3 ;
35871 int val3 ;
35872 int ecode3 = 0 ;
35873 PyObject * obj0 = 0 ;
35874 PyObject * obj1 = 0 ;
35875 PyObject * obj2 = 0 ;
35876
35877 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableCol_elements",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
35878 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
35879 if (!SWIG_IsOK(res1)(res1 >= 0)) {
35880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCol_elements" "', argument " "1"" of type '" "GFitsTableCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCol_elements" "', argument "
"1"" of type '" "GFitsTableCol *""'"); goto fail; } while(0)
;
35881 }
35882 arg1 = reinterpret_cast< GFitsTableCol * >(argp1);
35883 ecode2 = SWIG_AsVal_int(obj1, &val2);
35884 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
35885 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableCol_elements" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableCol_elements"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
35886 }
35887 temp2 = static_cast< int >(val2);
35888 arg2 = &temp2;
35889 ecode3 = SWIG_AsVal_int(obj2, &val3);
35890 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
35891 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableCol_elements" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableCol_elements"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
35892 }
35893 temp3 = static_cast< int >(val3);
35894 arg3 = &temp3;
35895 {
35896 try {
35897 (arg1)->elements((int const &)*arg2,(int const &)*arg3);
35898 }
35899 catch (const GException::out_of_range& e) {
35900 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
35901 }
35902 catch (const GExceptionHandler& e) {
35903 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35904 }
35905 catch (const std::exception& e) {
35906 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35907 }
35908 }
35909 resultobj = SWIG_Py_Void();
35910 return resultobj;
35911fail:
35912 return NULL__null;
35913}
35914
35915
35916SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_elements__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35917 PyObject *resultobj = 0;
35918 GFitsTableCol *arg1 = (GFitsTableCol *) 0 ;
35919 int *arg2 = 0 ;
35920 void *argp1 = 0 ;
35921 int res1 = 0 ;
35922 int temp2 ;
35923 int val2 ;
35924 int ecode2 = 0 ;
35925 PyObject * obj0 = 0 ;
35926 PyObject * obj1 = 0 ;
35927 int result;
35928
35929 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableCol_elements",&obj0,&obj1)) SWIG_failgoto fail;
35930 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
35931 if (!SWIG_IsOK(res1)(res1 >= 0)) {
35932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCol_elements" "', argument " "1"" of type '" "GFitsTableCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCol_elements" "', argument "
"1"" of type '" "GFitsTableCol const *""'"); goto fail; } while
(0)
;
35933 }
35934 arg1 = reinterpret_cast< GFitsTableCol * >(argp1);
35935 ecode2 = SWIG_AsVal_int(obj1, &val2);
35936 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
35937 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableCol_elements" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableCol_elements"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
35938 }
35939 temp2 = static_cast< int >(val2);
35940 arg2 = &temp2;
35941 {
35942 try {
35943 result = (int)((GFitsTableCol const *)arg1)->elements((int const &)*arg2);
35944 }
35945 catch (const GException::out_of_range& e) {
35946 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
35947 }
35948 catch (const GExceptionHandler& e) {
35949 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35950 }
35951 catch (const std::exception& e) {
35952 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
35953 }
35954 }
35955 resultobj = SWIG_From_int(static_cast< int >(result));
35956 return resultobj;
35957fail:
35958 return NULL__null;
35959}
35960
35961
35962SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_elements(PyObject *self, PyObject *args) {
35963 int argc;
35964 PyObject *argv[4];
35965 int ii;
35966
35967 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
35968 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
35969 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
35970 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
35971 }
35972 if (argc == 2) {
35973 int _v;
35974 void *vptr = 0;
35975 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
35976 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35977 if (_v) {
35978 {
35979 int res = SWIG_AsVal_int(argv[1], NULL__null);
35980 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35981 }
35982 if (_v) {
35983 return _wrap_GFitsTableCol_elements__SWIG_1(self, args);
35984 }
35985 }
35986 }
35987 if (argc == 3) {
35988 int _v;
35989 void *vptr = 0;
35990 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
35991 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35992 if (_v) {
35993 {
35994 int res = SWIG_AsVal_int(argv[1], NULL__null);
35995 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
35996 }
35997 if (_v) {
35998 {
35999 int res = SWIG_AsVal_int(argv[2], NULL__null);
36000 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36001 }
36002 if (_v) {
36003 return _wrap_GFitsTableCol_elements__SWIG_0(self, args);
36004 }
36005 }
36006 }
36007 }
36008
36009fail:
36010 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableCol_elements'.\n"
36011 " Possible C/C++ prototypes are:\n"
36012 " GFitsTableCol::elements(int const &,int const &)\n"
36013 " GFitsTableCol::elements(int const &) const\n");
36014 return 0;
36015}
36016
36017
36018SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_length__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36019 PyObject *resultobj = 0;
36020 GFitsTableCol *arg1 = (GFitsTableCol *) 0 ;
36021 int *arg2 = 0 ;
36022 void *argp1 = 0 ;
36023 int res1 = 0 ;
36024 int temp2 ;
36025 int val2 ;
36026 int ecode2 = 0 ;
36027 PyObject * obj0 = 0 ;
36028 PyObject * obj1 = 0 ;
36029
36030 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableCol_length",&obj0,&obj1)) SWIG_failgoto fail;
36031 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
36032 if (!SWIG_IsOK(res1)(res1 >= 0)) {
36033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCol_length" "', argument " "1"" of type '" "GFitsTableCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCol_length" "', argument "
"1"" of type '" "GFitsTableCol *""'"); goto fail; } while(0)
;
36034 }
36035 arg1 = reinterpret_cast< GFitsTableCol * >(argp1);
36036 ecode2 = SWIG_AsVal_int(obj1, &val2);
36037 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
36038 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableCol_length" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableCol_length" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
36039 }
36040 temp2 = static_cast< int >(val2);
36041 arg2 = &temp2;
36042 {
36043 try {
36044 (arg1)->length((int const &)*arg2);
36045 }
36046 catch (const GException::out_of_range& e) {
36047 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
36048 }
36049 catch (const GExceptionHandler& e) {
36050 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36051 }
36052 catch (const std::exception& e) {
36053 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36054 }
36055 }
36056 resultobj = SWIG_Py_Void();
36057 return resultobj;
36058fail:
36059 return NULL__null;
36060}
36061
36062
36063SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_length__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36064 PyObject *resultobj = 0;
36065 GFitsTableCol *arg1 = (GFitsTableCol *) 0 ;
36066 void *argp1 = 0 ;
36067 int res1 = 0 ;
36068 PyObject * obj0 = 0 ;
36069 int *result = 0 ;
36070
36071 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableCol_length",&obj0)) SWIG_failgoto fail;
36072 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
36073 if (!SWIG_IsOK(res1)(res1 >= 0)) {
36074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCol_length" "', argument " "1"" of type '" "GFitsTableCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCol_length" "', argument "
"1"" of type '" "GFitsTableCol const *""'"); goto fail; } while
(0)
;
36075 }
36076 arg1 = reinterpret_cast< GFitsTableCol * >(argp1);
36077 {
36078 try {
36079 result = (int *) &((GFitsTableCol const *)arg1)->length();
36080 }
36081 catch (const GException::out_of_range& e) {
36082 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
36083 }
36084 catch (const GExceptionHandler& e) {
36085 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36086 }
36087 catch (const std::exception& e) {
36088 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36089 }
36090 }
36091 resultobj = SWIG_From_int(static_cast< int >(*result));
36092 return resultobj;
36093fail:
36094 return NULL__null;
36095}
36096
36097
36098SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_length(PyObject *self, PyObject *args) {
36099 int argc;
36100 PyObject *argv[3];
36101 int ii;
36102
36103 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
36104 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
36105 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
36106 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
36107 }
36108 if (argc == 1) {
36109 int _v;
36110 void *vptr = 0;
36111 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
36112 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36113 if (_v) {
36114 return _wrap_GFitsTableCol_length__SWIG_1(self, args);
36115 }
36116 }
36117 if (argc == 2) {
36118 int _v;
36119 void *vptr = 0;
36120 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
36121 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36122 if (_v) {
36123 {
36124 int res = SWIG_AsVal_int(argv[1], NULL__null);
36125 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36126 }
36127 if (_v) {
36128 return _wrap_GFitsTableCol_length__SWIG_0(self, args);
36129 }
36130 }
36131 }
36132
36133fail:
36134 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableCol_length'.\n"
36135 " Possible C/C++ prototypes are:\n"
36136 " GFitsTableCol::length(int const &)\n"
36137 " GFitsTableCol::length() const\n");
36138 return 0;
36139}
36140
36141
36142SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_isvariable__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36143 PyObject *resultobj = 0;
36144 GFitsTableCol *arg1 = (GFitsTableCol *) 0 ;
36145 bool *arg2 = 0 ;
36146 void *argp1 = 0 ;
36147 int res1 = 0 ;
36148 bool temp2 ;
36149 bool val2 ;
36150 int ecode2 = 0 ;
36151 PyObject * obj0 = 0 ;
36152 PyObject * obj1 = 0 ;
36153
36154 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableCol_isvariable",&obj0,&obj1)) SWIG_failgoto fail;
36155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
36156 if (!SWIG_IsOK(res1)(res1 >= 0)) {
36157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCol_isvariable" "', argument " "1"" of type '" "GFitsTableCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCol_isvariable" "', argument "
"1"" of type '" "GFitsTableCol *""'"); goto fail; } while(0)
;
36158 }
36159 arg1 = reinterpret_cast< GFitsTableCol * >(argp1);
36160 ecode2 = SWIG_AsVal_bool(obj1, &val2);
36161 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
36162 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableCol_isvariable" "', argument " "2"" of type '" "bool""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableCol_isvariable"
"', argument " "2"" of type '" "bool""'"); goto fail; } while
(0)
;
36163 }
36164 temp2 = static_cast< bool >(val2);
36165 arg2 = &temp2;
36166 {
36167 try {
36168 (arg1)->isvariable((bool const &)*arg2);
36169 }
36170 catch (const GException::out_of_range& e) {
36171 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
36172 }
36173 catch (const GExceptionHandler& e) {
36174 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36175 }
36176 catch (const std::exception& e) {
36177 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36178 }
36179 }
36180 resultobj = SWIG_Py_Void();
36181 return resultobj;
36182fail:
36183 return NULL__null;
36184}
36185
36186
36187SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_isvariable__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36188 PyObject *resultobj = 0;
36189 GFitsTableCol *arg1 = (GFitsTableCol *) 0 ;
36190 void *argp1 = 0 ;
36191 int res1 = 0 ;
36192 PyObject * obj0 = 0 ;
36193 bool *result = 0 ;
36194
36195 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableCol_isvariable",&obj0)) SWIG_failgoto fail;
36196 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
36197 if (!SWIG_IsOK(res1)(res1 >= 0)) {
36198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCol_isvariable" "', argument " "1"" of type '" "GFitsTableCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCol_isvariable" "', argument "
"1"" of type '" "GFitsTableCol const *""'"); goto fail; } while
(0)
;
36199 }
36200 arg1 = reinterpret_cast< GFitsTableCol * >(argp1);
36201 {
36202 try {
36203 result = (bool *) &((GFitsTableCol const *)arg1)->isvariable();
36204 }
36205 catch (const GException::out_of_range& e) {
36206 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
36207 }
36208 catch (const GExceptionHandler& e) {
36209 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36210 }
36211 catch (const std::exception& e) {
36212 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36213 }
36214 }
36215 resultobj = SWIG_From_bool(static_cast< bool >(*result));
36216 return resultobj;
36217fail:
36218 return NULL__null;
36219}
36220
36221
36222SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_isvariable(PyObject *self, PyObject *args) {
36223 int argc;
36224 PyObject *argv[3];
36225 int ii;
36226
36227 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
36228 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
36229 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
36230 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
36231 }
36232 if (argc == 1) {
36233 int _v;
36234 void *vptr = 0;
36235 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
36236 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36237 if (_v) {
36238 return _wrap_GFitsTableCol_isvariable__SWIG_1(self, args);
36239 }
36240 }
36241 if (argc == 2) {
36242 int _v;
36243 void *vptr = 0;
36244 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
36245 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36246 if (_v) {
36247 {
36248 int res = SWIG_AsVal_bool(argv[1], NULL__null);
36249 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36250 }
36251 if (_v) {
36252 return _wrap_GFitsTableCol_isvariable__SWIG_0(self, args);
36253 }
36254 }
36255 }
36256
36257fail:
36258 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableCol_isvariable'.\n"
36259 " Possible C/C++ prototypes are:\n"
36260 " GFitsTableCol::isvariable(bool const &)\n"
36261 " GFitsTableCol::isvariable() const\n");
36262 return 0;
36263}
36264
36265
36266SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_anynul__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36267 PyObject *resultobj = 0;
36268 GFitsTableCol *arg1 = (GFitsTableCol *) 0 ;
36269 int *arg2 = 0 ;
36270 void *argp1 = 0 ;
36271 int res1 = 0 ;
36272 int temp2 ;
36273 int val2 ;
36274 int ecode2 = 0 ;
36275 PyObject * obj0 = 0 ;
36276 PyObject * obj1 = 0 ;
36277
36278 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableCol_anynul",&obj0,&obj1)) SWIG_failgoto fail;
36279 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
36280 if (!SWIG_IsOK(res1)(res1 >= 0)) {
36281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCol_anynul" "', argument " "1"" of type '" "GFitsTableCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCol_anynul" "', argument "
"1"" of type '" "GFitsTableCol *""'"); goto fail; } while(0)
;
36282 }
36283 arg1 = reinterpret_cast< GFitsTableCol * >(argp1);
36284 ecode2 = SWIG_AsVal_int(obj1, &val2);
36285 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
36286 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableCol_anynul" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableCol_anynul" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
36287 }
36288 temp2 = static_cast< int >(val2);
36289 arg2 = &temp2;
36290 {
36291 try {
36292 (arg1)->anynul((int const &)*arg2);
36293 }
36294 catch (const GException::out_of_range& e) {
36295 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
36296 }
36297 catch (const GExceptionHandler& e) {
36298 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36299 }
36300 catch (const std::exception& e) {
36301 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36302 }
36303 }
36304 resultobj = SWIG_Py_Void();
36305 return resultobj;
36306fail:
36307 return NULL__null;
36308}
36309
36310
36311SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_anynul__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36312 PyObject *resultobj = 0;
36313 GFitsTableCol *arg1 = (GFitsTableCol *) 0 ;
36314 void *argp1 = 0 ;
36315 int res1 = 0 ;
36316 PyObject * obj0 = 0 ;
36317 int *result = 0 ;
36318
36319 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableCol_anynul",&obj0)) SWIG_failgoto fail;
36320 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
36321 if (!SWIG_IsOK(res1)(res1 >= 0)) {
36322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCol_anynul" "', argument " "1"" of type '" "GFitsTableCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCol_anynul" "', argument "
"1"" of type '" "GFitsTableCol const *""'"); goto fail; } while
(0)
;
36323 }
36324 arg1 = reinterpret_cast< GFitsTableCol * >(argp1);
36325 {
36326 try {
36327 result = (int *) &((GFitsTableCol const *)arg1)->anynul();
36328 }
36329 catch (const GException::out_of_range& e) {
36330 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
36331 }
36332 catch (const GExceptionHandler& e) {
36333 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36334 }
36335 catch (const std::exception& e) {
36336 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36337 }
36338 }
36339 resultobj = SWIG_From_int(static_cast< int >(*result));
36340 return resultobj;
36341fail:
36342 return NULL__null;
36343}
36344
36345
36346SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_anynul(PyObject *self, PyObject *args) {
36347 int argc;
36348 PyObject *argv[3];
36349 int ii;
36350
36351 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
36352 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
36353 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
36354 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
36355 }
36356 if (argc == 1) {
36357 int _v;
36358 void *vptr = 0;
36359 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
36360 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36361 if (_v) {
36362 return _wrap_GFitsTableCol_anynul__SWIG_1(self, args);
36363 }
36364 }
36365 if (argc == 2) {
36366 int _v;
36367 void *vptr = 0;
36368 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
36369 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36370 if (_v) {
36371 {
36372 int res = SWIG_AsVal_int(argv[1], NULL__null);
36373 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36374 }
36375 if (_v) {
36376 return _wrap_GFitsTableCol_anynul__SWIG_0(self, args);
36377 }
36378 }
36379 }
36380
36381fail:
36382 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableCol_anynul'.\n"
36383 " Possible C/C++ prototypes are:\n"
36384 " GFitsTableCol::anynul(int const &)\n"
36385 " GFitsTableCol::anynul() const\n");
36386 return 0;
36387}
36388
36389
36390SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol_tform_binary(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36391 PyObject *resultobj = 0;
36392 GFitsTableCol *arg1 = (GFitsTableCol *) 0 ;
36393 void *argp1 = 0 ;
36394 int res1 = 0 ;
36395 PyObject * obj0 = 0 ;
36396 std::string result;
36397
36398 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableCol_tform_binary",&obj0)) SWIG_failgoto fail;
36399 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
36400 if (!SWIG_IsOK(res1)(res1 >= 0)) {
36401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCol_tform_binary" "', argument " "1"" of type '" "GFitsTableCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCol_tform_binary"
"', argument " "1"" of type '" "GFitsTableCol const *""'"); goto
fail; } while(0)
;
36402 }
36403 arg1 = reinterpret_cast< GFitsTableCol * >(argp1);
36404 {
36405 try {
36406 result = ((GFitsTableCol const *)arg1)->tform_binary();
36407 }
36408 catch (const GException::out_of_range& e) {
36409 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
36410 }
36411 catch (const GExceptionHandler& e) {
36412 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36413 }
36414 catch (const std::exception& e) {
36415 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36416 }
36417 }
36418 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
36419 return resultobj;
36420fail:
36421 return NULL__null;
36422}
36423
36424
36425SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36426 PyObject *resultobj = 0;
36427 GFitsTableCol *arg1 = (GFitsTableCol *) 0 ;
36428 int *arg2 ;
36429 std::string arg3 ;
36430 void *argp1 = 0 ;
36431 int res1 = 0 ;
36432 int temp2[3] ;
36433 PyObject * obj0 = 0 ;
36434 PyObject * obj1 = 0 ;
36435 PyObject * obj2 = 0 ;
36436
36437 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableCol___setitem__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
36438 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
36439 if (!SWIG_IsOK(res1)(res1 >= 0)) {
36440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCol___setitem__" "', argument " "1"" of type '" "GFitsTableCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCol___setitem__"
"', argument " "1"" of type '" "GFitsTableCol *""'"); goto fail
; } while(0)
;
36441 }
36442 arg1 = reinterpret_cast< GFitsTableCol * >(argp1);
36443 {
36444 if (!table_column_tuple(obj1,temp2)) {
36445 return NULL__null;
36446 }
36447 arg2 = &temp2[0];
36448 }
36449 {
36450 std::string *ptr = (std::string *)0;
36451 int res = SWIG_AsPtr_std_string(obj2, &ptr);
36452 if (!SWIG_IsOK(res)(res >= 0) || !ptr) {
36453 SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "GFitsTableCol___setitem__" "', argument " "3"" of type '" "std::string""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType((((ptr ? res
: -5) != (-1)) ? (ptr ? res : -5) : -5)), "in method '" "GFitsTableCol___setitem__"
"', argument " "3"" of type '" "std::string""'"); goto fail;
} while(0)
;
36454 }
36455 arg3 = *ptr;
36456 if (SWIG_IsNewObj(res)((res >= 0) && (res & ((1 << 8) <<
1)))
) delete ptr;
36457 }
36458 {
36459 try {
36460 GFitsTableCol___setitem____SWIG_0(arg1,arg2,arg3);
36461 }
36462 catch (const GException::out_of_range& e) {
36463 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
36464 }
36465 catch (const GExceptionHandler& e) {
36466 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36467 }
36468 catch (const std::exception& e) {
36469 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36470 }
36471 }
36472 resultobj = SWIG_Py_Void();
36473 return resultobj;
36474fail:
36475 return NULL__null;
36476}
36477
36478
36479SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36480 PyObject *resultobj = 0;
36481 GFitsTableCol *arg1 = (GFitsTableCol *) 0 ;
36482 int *arg2 ;
36483 int arg3 ;
36484 void *argp1 = 0 ;
36485 int res1 = 0 ;
36486 int temp2[3] ;
36487 int val3 ;
36488 int ecode3 = 0 ;
36489 PyObject * obj0 = 0 ;
36490 PyObject * obj1 = 0 ;
36491 PyObject * obj2 = 0 ;
36492
36493 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableCol___setitem__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
36494 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
36495 if (!SWIG_IsOK(res1)(res1 >= 0)) {
36496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCol___setitem__" "', argument " "1"" of type '" "GFitsTableCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCol___setitem__"
"', argument " "1"" of type '" "GFitsTableCol *""'"); goto fail
; } while(0)
;
36497 }
36498 arg1 = reinterpret_cast< GFitsTableCol * >(argp1);
36499 {
36500 if (!table_column_tuple(obj1,temp2)) {
36501 return NULL__null;
36502 }
36503 arg2 = &temp2[0];
36504 }
36505 ecode3 = SWIG_AsVal_int(obj2, &val3);
36506 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
36507 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableCol___setitem__" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableCol___setitem__"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
36508 }
36509 arg3 = static_cast< int >(val3);
36510 {
36511 try {
36512 GFitsTableCol___setitem____SWIG_1(arg1,arg2,arg3);
36513 }
36514 catch (const GException::out_of_range& e) {
36515 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
36516 }
36517 catch (const GExceptionHandler& e) {
36518 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36519 }
36520 catch (const std::exception& e) {
36521 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36522 }
36523 }
36524 resultobj = SWIG_Py_Void();
36525 return resultobj;
36526fail:
36527 return NULL__null;
36528}
36529
36530
36531SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol___setitem____SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36532 PyObject *resultobj = 0;
36533 GFitsTableCol *arg1 = (GFitsTableCol *) 0 ;
36534 int *arg2 ;
36535 double arg3 ;
36536 void *argp1 = 0 ;
36537 int res1 = 0 ;
36538 int temp2[3] ;
36539 double val3 ;
36540 int ecode3 = 0 ;
36541 PyObject * obj0 = 0 ;
36542 PyObject * obj1 = 0 ;
36543 PyObject * obj2 = 0 ;
36544
36545 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableCol___setitem__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
36546 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[24]
, 0 | 0, 0)
;
36547 if (!SWIG_IsOK(res1)(res1 >= 0)) {
36548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCol___setitem__" "', argument " "1"" of type '" "GFitsTableCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCol___setitem__"
"', argument " "1"" of type '" "GFitsTableCol *""'"); goto fail
; } while(0)
;
36549 }
36550 arg1 = reinterpret_cast< GFitsTableCol * >(argp1);
36551 {
36552 if (!table_column_tuple(obj1,temp2)) {
36553 return NULL__null;
36554 }
36555 arg2 = &temp2[0];
36556 }
36557 ecode3 = SWIG_AsVal_double(obj2, &val3);
36558 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
36559 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableCol___setitem__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableCol___setitem__"
"', argument " "3"" of type '" "double""'"); goto fail; } while
(0)
;
36560 }
36561 arg3 = static_cast< double >(val3);
36562 {
36563 try {
36564 GFitsTableCol___setitem____SWIG_2(arg1,arg2,arg3);
36565 }
36566 catch (const GException::out_of_range& e) {
36567 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
36568 }
36569 catch (const GExceptionHandler& e) {
36570 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36571 }
36572 catch (const std::exception& e) {
36573 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36574 }
36575 }
36576 resultobj = SWIG_Py_Void();
36577 return resultobj;
36578fail:
36579 return NULL__null;
36580}
36581
36582
36583SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCol___setitem__(PyObject *self, PyObject *args) {
36584 int argc;
36585 PyObject *argv[4];
36586 int ii;
36587
36588 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
36589 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
36590 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
36591 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
36592 }
36593 if (argc == 3) {
36594 int _v;
36595 void *vptr = 0;
36596 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
36597 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36598 if (_v) {
36599 {
36600 _v = 1;
36601 if (PySequence_Check(argv[1])) {
36602 int size = PyObject_LengthPyObject_Size(argv[1]);
36603 for (int i = 0; i < size; i++) {
36604 PyObject *o = PySequence_GetItem(argv[1],i);
36605 if (!PyInt_Check(o)((((o)->ob_type)->tp_flags & ((1L<<23))) != 0
)
) {
36606 _v = 0;
36607 break;
36608 }
36609 }
36610 }
36611 else {
36612 if (!PyInt_Check(argv[1])((((argv[1])->ob_type)->tp_flags & ((1L<<23))
) != 0)
) {
36613 _v = 0;
36614 }
36615 }
36616 }
36617 if (_v) {
36618 int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
36619 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36620 if (_v) {
36621 return _wrap_GFitsTableCol___setitem____SWIG_0(self, args);
36622 }
36623 }
36624 }
36625 }
36626 if (argc == 3) {
36627 int _v;
36628 void *vptr = 0;
36629 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
36630 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36631 if (_v) {
36632 {
36633 _v = 1;
36634 if (PySequence_Check(argv[1])) {
36635 int size = PyObject_LengthPyObject_Size(argv[1]);
36636 for (int i = 0; i < size; i++) {
36637 PyObject *o = PySequence_GetItem(argv[1],i);
36638 if (!PyInt_Check(o)((((o)->ob_type)->tp_flags & ((1L<<23))) != 0
)
) {
36639 _v = 0;
36640 break;
36641 }
36642 }
36643 }
36644 else {
36645 if (!PyInt_Check(argv[1])((((argv[1])->ob_type)->tp_flags & ((1L<<23))
) != 0)
) {
36646 _v = 0;
36647 }
36648 }
36649 }
36650 if (_v) {
36651 {
36652 int res = SWIG_AsVal_int(argv[2], NULL__null);
36653 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36654 }
36655 if (_v) {
36656 return _wrap_GFitsTableCol___setitem____SWIG_1(self, args);
36657 }
36658 }
36659 }
36660 }
36661 if (argc == 3) {
36662 int _v;
36663 void *vptr = 0;
36664 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[24
], 0, 0)
;
36665 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36666 if (_v) {
36667 {
36668 _v = 1;
36669 if (PySequence_Check(argv[1])) {
36670 int size = PyObject_LengthPyObject_Size(argv[1]);
36671 for (int i = 0; i < size; i++) {
36672 PyObject *o = PySequence_GetItem(argv[1],i);
36673 if (!PyInt_Check(o)((((o)->ob_type)->tp_flags & ((1L<<23))) != 0
)
) {
36674 _v = 0;
36675 break;
36676 }
36677 }
36678 }
36679 else {
36680 if (!PyInt_Check(argv[1])((((argv[1])->ob_type)->tp_flags & ((1L<<23))
) != 0)
) {
36681 _v = 0;
36682 }
36683 }
36684 }
36685 if (_v) {
36686 {
36687 int res = SWIG_AsVal_double(argv[2], NULL__null);
36688 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36689 }
36690 if (_v) {
36691 return _wrap_GFitsTableCol___setitem____SWIG_2(self, args);
36692 }
36693 }
36694 }
36695 }
36696
36697fail:
36698 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableCol___setitem__'.\n"
36699 " Possible C/C++ prototypes are:\n"
36700 " GFitsTableCol::__setitem__(int [],std::string)\n"
36701 " GFitsTableCol::__setitem__(int [],int)\n"
36702 " GFitsTableCol::__setitem__(int [],double)\n");
36703 return 0;
36704}
36705
36706
36707SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GFitsTableCol_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36708 PyObject *obj;
36709 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
36710 SWIG_TypeNewClientData(SWIGTYPE_p_GFitsTableColswig_types[24], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
36711 return SWIG_Py_Void();
36712}
36713
36714SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableBitCol__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36715 PyObject *resultobj = 0;
36716 GFitsTableBitCol *result = 0 ;
36717
36718 if (!PyArg_ParseTuple(args,(char *)":new_GFitsTableBitCol")) SWIG_failgoto fail;
36719 {
36720 try {
36721 result = (GFitsTableBitCol *)new GFitsTableBitCol();
36722 }
36723 catch (const GException::out_of_range& e) {
36724 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
36725 }
36726 catch (const GExceptionHandler& e) {
36727 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36728 }
36729 catch (const std::exception& e) {
36730 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36731 }
36732 }
36733 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableBitCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[19], (
(0x1 << 1) | 0x1) | 0)
;
36734 return resultobj;
36735fail:
36736 return NULL__null;
36737}
36738
36739
36740SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableBitCol__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36741 PyObject *resultobj = 0;
36742 std::string *arg1 = 0 ;
36743 int *arg2 = 0 ;
36744 int *arg3 = 0 ;
36745 int res1 = SWIG_OLDOBJ((0)) ;
36746 int temp2 ;
36747 int val2 ;
36748 int ecode2 = 0 ;
36749 int temp3 ;
36750 int val3 ;
36751 int ecode3 = 0 ;
36752 PyObject * obj0 = 0 ;
36753 PyObject * obj1 = 0 ;
36754 PyObject * obj2 = 0 ;
36755 GFitsTableBitCol *result = 0 ;
36756
36757 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GFitsTableBitCol",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
36758 {
36759 std::string *ptr = (std::string *)0;
36760 res1 = SWIG_AsPtr_std_string(obj0, &ptr);
36761 if (!SWIG_IsOK(res1)(res1 >= 0)) {
36762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsTableBitCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsTableBitCol" "', argument "
"1"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
36763 }
36764 if (!ptr) {
36765 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsTableBitCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsTableBitCol" "', argument " "1"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
36766 }
36767 arg1 = ptr;
36768 }
36769 ecode2 = SWIG_AsVal_int(obj1, &val2);
36770 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
36771 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsTableBitCol" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsTableBitCol" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
36772 }
36773 temp2 = static_cast< int >(val2);
36774 arg2 = &temp2;
36775 ecode3 = SWIG_AsVal_int(obj2, &val3);
36776 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
36777 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsTableBitCol" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsTableBitCol" "', argument "
"3"" of type '" "int""'"); goto fail; } while(0)
;
36778 }
36779 temp3 = static_cast< int >(val3);
36780 arg3 = &temp3;
36781 {
36782 try {
36783 result = (GFitsTableBitCol *)new GFitsTableBitCol((std::string const &)*arg1,(int const &)*arg2,(int const &)*arg3);
36784 }
36785 catch (const GException::out_of_range& e) {
36786 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
36787 }
36788 catch (const GExceptionHandler& e) {
36789 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36790 }
36791 catch (const std::exception& e) {
36792 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36793 }
36794 }
36795 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableBitCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[19], (
(0x1 << 1) | 0x1) | 0)
;
36796 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
36797 return resultobj;
36798fail:
36799 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
36800 return NULL__null;
36801}
36802
36803
36804SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableBitCol__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36805 PyObject *resultobj = 0;
36806 std::string *arg1 = 0 ;
36807 int *arg2 = 0 ;
36808 int res1 = SWIG_OLDOBJ((0)) ;
36809 int temp2 ;
36810 int val2 ;
36811 int ecode2 = 0 ;
36812 PyObject * obj0 = 0 ;
36813 PyObject * obj1 = 0 ;
36814 GFitsTableBitCol *result = 0 ;
36815
36816 if (!PyArg_ParseTuple(args,(char *)"OO:new_GFitsTableBitCol",&obj0,&obj1)) SWIG_failgoto fail;
36817 {
36818 std::string *ptr = (std::string *)0;
36819 res1 = SWIG_AsPtr_std_string(obj0, &ptr);
36820 if (!SWIG_IsOK(res1)(res1 >= 0)) {
36821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsTableBitCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsTableBitCol" "', argument "
"1"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
36822 }
36823 if (!ptr) {
36824 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsTableBitCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsTableBitCol" "', argument " "1"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
36825 }
36826 arg1 = ptr;
36827 }
36828 ecode2 = SWIG_AsVal_int(obj1, &val2);
36829 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
36830 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsTableBitCol" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsTableBitCol" "', argument "
"2"" of type '" "int""'"); goto fail; } while(0)
;
36831 }
36832 temp2 = static_cast< int >(val2);
36833 arg2 = &temp2;
36834 {
36835 try {
36836 result = (GFitsTableBitCol *)new GFitsTableBitCol((std::string const &)*arg1,(int const &)*arg2);
36837 }
36838 catch (const GException::out_of_range& e) {
36839 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
36840 }
36841 catch (const GExceptionHandler& e) {
36842 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36843 }
36844 catch (const std::exception& e) {
36845 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36846 }
36847 }
36848 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableBitCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[19], (
(0x1 << 1) | 0x1) | 0)
;
36849 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
36850 return resultobj;
36851fail:
36852 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
36853 return NULL__null;
36854}
36855
36856
36857SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableBitCol__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36858 PyObject *resultobj = 0;
36859 GFitsTableBitCol *arg1 = 0 ;
36860 void *argp1 = 0 ;
36861 int res1 = 0 ;
36862 PyObject * obj0 = 0 ;
36863 GFitsTableBitCol *result = 0 ;
36864
36865 if (!PyArg_ParseTuple(args,(char *)"O:new_GFitsTableBitCol",&obj0)) SWIG_failgoto fail;
36866 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GFitsTableBitCol, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
36867 if (!SWIG_IsOK(res1)(res1 >= 0)) {
36868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsTableBitCol" "', argument " "1"" of type '" "GFitsTableBitCol const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsTableBitCol" "', argument "
"1"" of type '" "GFitsTableBitCol const &""'"); goto fail
; } while(0)
;
36869 }
36870 if (!argp1) {
36871 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsTableBitCol" "', argument " "1"" of type '" "GFitsTableBitCol const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsTableBitCol" "', argument " "1"" of type '"
"GFitsTableBitCol const &""'"); goto fail; } while(0)
;
36872 }
36873 arg1 = reinterpret_cast< GFitsTableBitCol * >(argp1);
36874 {
36875 try {
36876 result = (GFitsTableBitCol *)new GFitsTableBitCol((GFitsTableBitCol const &)*arg1);
36877 }
36878 catch (const GException::out_of_range& e) {
36879 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
36880 }
36881 catch (const GExceptionHandler& e) {
36882 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36883 }
36884 catch (const std::exception& e) {
36885 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36886 }
36887 }
36888 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableBitCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[19], (
(0x1 << 1) | 0x1) | 0)
;
36889 return resultobj;
36890fail:
36891 return NULL__null;
36892}
36893
36894
36895SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableBitCol(PyObject *self, PyObject *args) {
36896 int argc;
36897 PyObject *argv[4];
36898 int ii;
36899
36900 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
36901 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
36902 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
36903 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
36904 }
36905 if (argc == 0) {
36906 return _wrap_new_GFitsTableBitCol__SWIG_0(self, args);
36907 }
36908 if (argc == 1) {
36909 int _v;
36910 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GFitsTableBitCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[19], 0, 0
)
;
36911 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36912 if (_v) {
36913 return _wrap_new_GFitsTableBitCol__SWIG_3(self, args);
36914 }
36915 }
36916 if (argc == 2) {
36917 int _v;
36918 int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
36919 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36920 if (_v) {
36921 {
36922 int res = SWIG_AsVal_int(argv[1], NULL__null);
36923 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36924 }
36925 if (_v) {
36926 return _wrap_new_GFitsTableBitCol__SWIG_2(self, args);
36927 }
36928 }
36929 }
36930 if (argc == 3) {
36931 int _v;
36932 int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
36933 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36934 if (_v) {
36935 {
36936 int res = SWIG_AsVal_int(argv[1], NULL__null);
36937 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36938 }
36939 if (_v) {
36940 {
36941 int res = SWIG_AsVal_int(argv[2], NULL__null);
36942 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
36943 }
36944 if (_v) {
36945 return _wrap_new_GFitsTableBitCol__SWIG_1(self, args);
36946 }
36947 }
36948 }
36949 }
36950
36951fail:
36952 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GFitsTableBitCol'.\n"
36953 " Possible C/C++ prototypes are:\n"
36954 " GFitsTableBitCol::GFitsTableBitCol()\n"
36955 " GFitsTableBitCol::GFitsTableBitCol(std::string const &,int const &,int const &)\n"
36956 " GFitsTableBitCol::GFitsTableBitCol(std::string const &,int const &)\n"
36957 " GFitsTableBitCol::GFitsTableBitCol(GFitsTableBitCol const &)\n");
36958 return 0;
36959}
36960
36961
36962SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GFitsTableBitCol(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36963 PyObject *resultobj = 0;
36964 GFitsTableBitCol *arg1 = (GFitsTableBitCol *) 0 ;
36965 void *argp1 = 0 ;
36966 int res1 = 0 ;
36967 PyObject * obj0 = 0 ;
36968
36969 if (!PyArg_ParseTuple(args,(char *)"O:delete_GFitsTableBitCol",&obj0)) SWIG_failgoto fail;
36970 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableBitCol, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0x1 | 0, 0)
;
36971 if (!SWIG_IsOK(res1)(res1 >= 0)) {
36972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GFitsTableBitCol" "', argument " "1"" of type '" "GFitsTableBitCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GFitsTableBitCol" "', argument "
"1"" of type '" "GFitsTableBitCol *""'"); goto fail; } while
(0)
;
36973 }
36974 arg1 = reinterpret_cast< GFitsTableBitCol * >(argp1);
36975 {
36976 try {
36977 delete arg1;
36978 }
36979 catch (const GException::out_of_range& e) {
36980 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
36981 }
36982 catch (const GExceptionHandler& e) {
36983 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36984 }
36985 catch (const std::exception& e) {
36986 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
36987 }
36988 }
36989 resultobj = SWIG_Py_Void();
36990 return resultobj;
36991fail:
36992 return NULL__null;
36993}
36994
36995
36996SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableBitCol_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36997 PyObject *resultobj = 0;
36998 GFitsTableBitCol *arg1 = (GFitsTableBitCol *) 0 ;
36999 void *argp1 = 0 ;
37000 int res1 = 0 ;
37001 PyObject * obj0 = 0 ;
37002
37003 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableBitCol_clear",&obj0)) SWIG_failgoto fail;
37004 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableBitCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
37005 if (!SWIG_IsOK(res1)(res1 >= 0)) {
37006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableBitCol_clear" "', argument " "1"" of type '" "GFitsTableBitCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableBitCol_clear" "', argument "
"1"" of type '" "GFitsTableBitCol *""'"); goto fail; } while
(0)
;
37007 }
37008 arg1 = reinterpret_cast< GFitsTableBitCol * >(argp1);
37009 {
37010 try {
37011 (arg1)->clear();
37012 }
37013 catch (const GException::out_of_range& e) {
37014 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
37015 }
37016 catch (const GExceptionHandler& e) {
37017 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37018 }
37019 catch (const std::exception& e) {
37020 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37021 }
37022 }
37023 resultobj = SWIG_Py_Void();
37024 return resultobj;
37025fail:
37026 return NULL__null;
37027}
37028
37029
37030SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableBitCol_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37031 PyObject *resultobj = 0;
37032 GFitsTableBitCol *arg1 = (GFitsTableBitCol *) 0 ;
37033 void *argp1 = 0 ;
37034 int res1 = 0 ;
37035 PyObject * obj0 = 0 ;
37036 GFitsTableBitCol *result = 0 ;
37037
37038 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableBitCol_clone",&obj0)) SWIG_failgoto fail;
37039 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableBitCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
37040 if (!SWIG_IsOK(res1)(res1 >= 0)) {
37041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableBitCol_clone" "', argument " "1"" of type '" "GFitsTableBitCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableBitCol_clone" "', argument "
"1"" of type '" "GFitsTableBitCol const *""'"); goto fail; }
while(0)
;
37042 }
37043 arg1 = reinterpret_cast< GFitsTableBitCol * >(argp1);
37044 {
37045 try {
37046 result = (GFitsTableBitCol *)((GFitsTableBitCol const *)arg1)->clone();
37047 }
37048 catch (const GException::out_of_range& e) {
37049 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
37050 }
37051 catch (const GExceptionHandler& e) {
37052 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37053 }
37054 catch (const std::exception& e) {
37055 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37056 }
37057 }
37058 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableBitCol, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[19], 0
| 0)
;
37059 return resultobj;
37060fail:
37061 return NULL__null;
37062}
37063
37064
37065SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableBitCol_string__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37066 PyObject *resultobj = 0;
37067 GFitsTableBitCol *arg1 = (GFitsTableBitCol *) 0 ;
37068 int *arg2 = 0 ;
37069 int *arg3 = 0 ;
37070 void *argp1 = 0 ;
37071 int res1 = 0 ;
37072 int temp2 ;
37073 int val2 ;
37074 int ecode2 = 0 ;
37075 int temp3 ;
37076 int val3 ;
37077 int ecode3 = 0 ;
37078 PyObject * obj0 = 0 ;
37079 PyObject * obj1 = 0 ;
37080 PyObject * obj2 = 0 ;
37081 std::string result;
37082
37083 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableBitCol_string",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
37084 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableBitCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
37085 if (!SWIG_IsOK(res1)(res1 >= 0)) {
37086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableBitCol_string" "', argument " "1"" of type '" "GFitsTableBitCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableBitCol_string" "', argument "
"1"" of type '" "GFitsTableBitCol const *""'"); goto fail; }
while(0)
;
37087 }
37088 arg1 = reinterpret_cast< GFitsTableBitCol * >(argp1);
37089 ecode2 = SWIG_AsVal_int(obj1, &val2);
37090 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
37091 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableBitCol_string" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableBitCol_string"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
37092 }
37093 temp2 = static_cast< int >(val2);
37094 arg2 = &temp2;
37095 ecode3 = SWIG_AsVal_int(obj2, &val3);
37096 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
37097 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableBitCol_string" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableBitCol_string"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
37098 }
37099 temp3 = static_cast< int >(val3);
37100 arg3 = &temp3;
37101 {
37102 try {
37103 result = ((GFitsTableBitCol const *)arg1)->string((int const &)*arg2,(int const &)*arg3);
37104 }
37105 catch (const GException::out_of_range& e) {
37106 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
37107 }
37108 catch (const GExceptionHandler& e) {
37109 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37110 }
37111 catch (const std::exception& e) {
37112 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37113 }
37114 }
37115 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
37116 return resultobj;
37117fail:
37118 return NULL__null;
37119}
37120
37121
37122SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableBitCol_string__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37123 PyObject *resultobj = 0;
37124 GFitsTableBitCol *arg1 = (GFitsTableBitCol *) 0 ;
37125 int *arg2 = 0 ;
37126 void *argp1 = 0 ;
37127 int res1 = 0 ;
37128 int temp2 ;
37129 int val2 ;
37130 int ecode2 = 0 ;
37131 PyObject * obj0 = 0 ;
37132 PyObject * obj1 = 0 ;
37133 std::string result;
37134
37135 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableBitCol_string",&obj0,&obj1)) SWIG_failgoto fail;
37136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableBitCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
37137 if (!SWIG_IsOK(res1)(res1 >= 0)) {
37138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableBitCol_string" "', argument " "1"" of type '" "GFitsTableBitCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableBitCol_string" "', argument "
"1"" of type '" "GFitsTableBitCol const *""'"); goto fail; }
while(0)
;
37139 }
37140 arg1 = reinterpret_cast< GFitsTableBitCol * >(argp1);
37141 ecode2 = SWIG_AsVal_int(obj1, &val2);
37142 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
37143 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableBitCol_string" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableBitCol_string"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
37144 }
37145 temp2 = static_cast< int >(val2);
37146 arg2 = &temp2;
37147 {
37148 try {
37149 result = ((GFitsTableBitCol const *)arg1)->string((int const &)*arg2);
37150 }
37151 catch (const GException::out_of_range& e) {
37152 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
37153 }
37154 catch (const GExceptionHandler& e) {
37155 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37156 }
37157 catch (const std::exception& e) {
37158 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37159 }
37160 }
37161 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
37162 return resultobj;
37163fail:
37164 return NULL__null;
37165}
37166
37167
37168SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableBitCol_string(PyObject *self, PyObject *args) {
37169 int argc;
37170 PyObject *argv[4];
37171 int ii;
37172
37173 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
37174 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
37175 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
37176 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
37177 }
37178 if (argc == 2) {
37179 int _v;
37180 void *vptr = 0;
37181 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableBitCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[19
], 0, 0)
;
37182 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37183 if (_v) {
37184 {
37185 int res = SWIG_AsVal_int(argv[1], NULL__null);
37186 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37187 }
37188 if (_v) {
37189 return _wrap_GFitsTableBitCol_string__SWIG_1(self, args);
37190 }
37191 }
37192 }
37193 if (argc == 3) {
37194 int _v;
37195 void *vptr = 0;
37196 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableBitCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[19
], 0, 0)
;
37197 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37198 if (_v) {
37199 {
37200 int res = SWIG_AsVal_int(argv[1], NULL__null);
37201 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37202 }
37203 if (_v) {
37204 {
37205 int res = SWIG_AsVal_int(argv[2], NULL__null);
37206 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37207 }
37208 if (_v) {
37209 return _wrap_GFitsTableBitCol_string__SWIG_0(self, args);
37210 }
37211 }
37212 }
37213 }
37214
37215fail:
37216 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableBitCol_string'.\n"
37217 " Possible C/C++ prototypes are:\n"
37218 " GFitsTableBitCol::string(int const &,int const &) const\n"
37219 " GFitsTableBitCol::string(int const &) const\n");
37220 return 0;
37221}
37222
37223
37224SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableBitCol_real__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37225 PyObject *resultobj = 0;
37226 GFitsTableBitCol *arg1 = (GFitsTableBitCol *) 0 ;
37227 int *arg2 = 0 ;
37228 int *arg3 = 0 ;
37229 void *argp1 = 0 ;
37230 int res1 = 0 ;
37231 int temp2 ;
37232 int val2 ;
37233 int ecode2 = 0 ;
37234 int temp3 ;
37235 int val3 ;
37236 int ecode3 = 0 ;
37237 PyObject * obj0 = 0 ;
37238 PyObject * obj1 = 0 ;
37239 PyObject * obj2 = 0 ;
37240 double result;
37241
37242 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableBitCol_real",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
37243 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableBitCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
37244 if (!SWIG_IsOK(res1)(res1 >= 0)) {
37245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableBitCol_real" "', argument " "1"" of type '" "GFitsTableBitCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableBitCol_real" "', argument "
"1"" of type '" "GFitsTableBitCol const *""'"); goto fail; }
while(0)
;
37246 }
37247 arg1 = reinterpret_cast< GFitsTableBitCol * >(argp1);
37248 ecode2 = SWIG_AsVal_int(obj1, &val2);
37249 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
37250 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableBitCol_real" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableBitCol_real"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
37251 }
37252 temp2 = static_cast< int >(val2);
37253 arg2 = &temp2;
37254 ecode3 = SWIG_AsVal_int(obj2, &val3);
37255 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
37256 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableBitCol_real" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableBitCol_real"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
37257 }
37258 temp3 = static_cast< int >(val3);
37259 arg3 = &temp3;
37260 {
37261 try {
37262 result = (double)((GFitsTableBitCol const *)arg1)->real((int const &)*arg2,(int const &)*arg3);
37263 }
37264 catch (const GException::out_of_range& e) {
37265 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
37266 }
37267 catch (const GExceptionHandler& e) {
37268 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37269 }
37270 catch (const std::exception& e) {
37271 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37272 }
37273 }
37274 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
37275 return resultobj;
37276fail:
37277 return NULL__null;
37278}
37279
37280
37281SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableBitCol_real__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37282 PyObject *resultobj = 0;
37283 GFitsTableBitCol *arg1 = (GFitsTableBitCol *) 0 ;
37284 int *arg2 = 0 ;
37285 void *argp1 = 0 ;
37286 int res1 = 0 ;
37287 int temp2 ;
37288 int val2 ;
37289 int ecode2 = 0 ;
37290 PyObject * obj0 = 0 ;
37291 PyObject * obj1 = 0 ;
37292 double result;
37293
37294 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableBitCol_real",&obj0,&obj1)) SWIG_failgoto fail;
37295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableBitCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
37296 if (!SWIG_IsOK(res1)(res1 >= 0)) {
37297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableBitCol_real" "', argument " "1"" of type '" "GFitsTableBitCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableBitCol_real" "', argument "
"1"" of type '" "GFitsTableBitCol const *""'"); goto fail; }
while(0)
;
37298 }
37299 arg1 = reinterpret_cast< GFitsTableBitCol * >(argp1);
37300 ecode2 = SWIG_AsVal_int(obj1, &val2);
37301 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
37302 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableBitCol_real" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableBitCol_real"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
37303 }
37304 temp2 = static_cast< int >(val2);
37305 arg2 = &temp2;
37306 {
37307 try {
37308 result = (double)((GFitsTableBitCol const *)arg1)->real((int const &)*arg2);
37309 }
37310 catch (const GException::out_of_range& e) {
37311 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
37312 }
37313 catch (const GExceptionHandler& e) {
37314 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37315 }
37316 catch (const std::exception& e) {
37317 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37318 }
37319 }
37320 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
37321 return resultobj;
37322fail:
37323 return NULL__null;
37324}
37325
37326
37327SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableBitCol_real(PyObject *self, PyObject *args) {
37328 int argc;
37329 PyObject *argv[4];
37330 int ii;
37331
37332 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
37333 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
37334 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
37335 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
37336 }
37337 if (argc == 2) {
37338 int _v;
37339 void *vptr = 0;
37340 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableBitCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[19
], 0, 0)
;
37341 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37342 if (_v) {
37343 {
37344 int res = SWIG_AsVal_int(argv[1], NULL__null);
37345 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37346 }
37347 if (_v) {
37348 return _wrap_GFitsTableBitCol_real__SWIG_1(self, args);
37349 }
37350 }
37351 }
37352 if (argc == 3) {
37353 int _v;
37354 void *vptr = 0;
37355 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableBitCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[19
], 0, 0)
;
37356 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37357 if (_v) {
37358 {
37359 int res = SWIG_AsVal_int(argv[1], NULL__null);
37360 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37361 }
37362 if (_v) {
37363 {
37364 int res = SWIG_AsVal_int(argv[2], NULL__null);
37365 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37366 }
37367 if (_v) {
37368 return _wrap_GFitsTableBitCol_real__SWIG_0(self, args);
37369 }
37370 }
37371 }
37372 }
37373
37374fail:
37375 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableBitCol_real'.\n"
37376 " Possible C/C++ prototypes are:\n"
37377 " GFitsTableBitCol::real(int const &,int const &) const\n"
37378 " GFitsTableBitCol::real(int const &) const\n");
37379 return 0;
37380}
37381
37382
37383SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableBitCol_integer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37384 PyObject *resultobj = 0;
37385 GFitsTableBitCol *arg1 = (GFitsTableBitCol *) 0 ;
37386 int *arg2 = 0 ;
37387 int *arg3 = 0 ;
37388 void *argp1 = 0 ;
37389 int res1 = 0 ;
37390 int temp2 ;
37391 int val2 ;
37392 int ecode2 = 0 ;
37393 int temp3 ;
37394 int val3 ;
37395 int ecode3 = 0 ;
37396 PyObject * obj0 = 0 ;
37397 PyObject * obj1 = 0 ;
37398 PyObject * obj2 = 0 ;
37399 int result;
37400
37401 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableBitCol_integer",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
37402 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableBitCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
37403 if (!SWIG_IsOK(res1)(res1 >= 0)) {
37404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableBitCol_integer" "', argument " "1"" of type '" "GFitsTableBitCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableBitCol_integer" "', argument "
"1"" of type '" "GFitsTableBitCol const *""'"); goto fail; }
while(0)
;
37405 }
37406 arg1 = reinterpret_cast< GFitsTableBitCol * >(argp1);
37407 ecode2 = SWIG_AsVal_int(obj1, &val2);
37408 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
37409 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableBitCol_integer" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableBitCol_integer"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
37410 }
37411 temp2 = static_cast< int >(val2);
37412 arg2 = &temp2;
37413 ecode3 = SWIG_AsVal_int(obj2, &val3);
37414 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
37415 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableBitCol_integer" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableBitCol_integer"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
37416 }
37417 temp3 = static_cast< int >(val3);
37418 arg3 = &temp3;
37419 {
37420 try {
37421 result = (int)((GFitsTableBitCol const *)arg1)->integer((int const &)*arg2,(int const &)*arg3);
37422 }
37423 catch (const GException::out_of_range& e) {
37424 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
37425 }
37426 catch (const GExceptionHandler& e) {
37427 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37428 }
37429 catch (const std::exception& e) {
37430 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37431 }
37432 }
37433 resultobj = SWIG_From_int(static_cast< int >(result));
37434 return resultobj;
37435fail:
37436 return NULL__null;
37437}
37438
37439
37440SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableBitCol_integer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37441 PyObject *resultobj = 0;
37442 GFitsTableBitCol *arg1 = (GFitsTableBitCol *) 0 ;
37443 int *arg2 = 0 ;
37444 void *argp1 = 0 ;
37445 int res1 = 0 ;
37446 int temp2 ;
37447 int val2 ;
37448 int ecode2 = 0 ;
37449 PyObject * obj0 = 0 ;
37450 PyObject * obj1 = 0 ;
37451 int result;
37452
37453 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableBitCol_integer",&obj0,&obj1)) SWIG_failgoto fail;
37454 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableBitCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
37455 if (!SWIG_IsOK(res1)(res1 >= 0)) {
37456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableBitCol_integer" "', argument " "1"" of type '" "GFitsTableBitCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableBitCol_integer" "', argument "
"1"" of type '" "GFitsTableBitCol const *""'"); goto fail; }
while(0)
;
37457 }
37458 arg1 = reinterpret_cast< GFitsTableBitCol * >(argp1);
37459 ecode2 = SWIG_AsVal_int(obj1, &val2);
37460 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
37461 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableBitCol_integer" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableBitCol_integer"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
37462 }
37463 temp2 = static_cast< int >(val2);
37464 arg2 = &temp2;
37465 {
37466 try {
37467 result = (int)((GFitsTableBitCol const *)arg1)->integer((int const &)*arg2);
37468 }
37469 catch (const GException::out_of_range& e) {
37470 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
37471 }
37472 catch (const GExceptionHandler& e) {
37473 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37474 }
37475 catch (const std::exception& e) {
37476 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37477 }
37478 }
37479 resultobj = SWIG_From_int(static_cast< int >(result));
37480 return resultobj;
37481fail:
37482 return NULL__null;
37483}
37484
37485
37486SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableBitCol_integer(PyObject *self, PyObject *args) {
37487 int argc;
37488 PyObject *argv[4];
37489 int ii;
37490
37491 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
37492 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
37493 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
37494 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
37495 }
37496 if (argc == 2) {
37497 int _v;
37498 void *vptr = 0;
37499 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableBitCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[19
], 0, 0)
;
37500 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37501 if (_v) {
37502 {
37503 int res = SWIG_AsVal_int(argv[1], NULL__null);
37504 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37505 }
37506 if (_v) {
37507 return _wrap_GFitsTableBitCol_integer__SWIG_1(self, args);
37508 }
37509 }
37510 }
37511 if (argc == 3) {
37512 int _v;
37513 void *vptr = 0;
37514 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableBitCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[19
], 0, 0)
;
37515 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37516 if (_v) {
37517 {
37518 int res = SWIG_AsVal_int(argv[1], NULL__null);
37519 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37520 }
37521 if (_v) {
37522 {
37523 int res = SWIG_AsVal_int(argv[2], NULL__null);
37524 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37525 }
37526 if (_v) {
37527 return _wrap_GFitsTableBitCol_integer__SWIG_0(self, args);
37528 }
37529 }
37530 }
37531 }
37532
37533fail:
37534 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableBitCol_integer'.\n"
37535 " Possible C/C++ prototypes are:\n"
37536 " GFitsTableBitCol::integer(int const &,int const &) const\n"
37537 " GFitsTableBitCol::integer(int const &) const\n");
37538 return 0;
37539}
37540
37541
37542SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableBitCol_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37543 PyObject *resultobj = 0;
37544 GFitsTableBitCol *arg1 = (GFitsTableBitCol *) 0 ;
37545 int *arg2 = 0 ;
37546 int *arg3 = 0 ;
37547 void *argp1 = 0 ;
37548 int res1 = 0 ;
37549 int temp2 ;
37550 int val2 ;
37551 int ecode2 = 0 ;
37552 int temp3 ;
37553 int val3 ;
37554 int ecode3 = 0 ;
37555 PyObject * obj0 = 0 ;
37556 PyObject * obj1 = 0 ;
37557 PyObject * obj2 = 0 ;
37558
37559 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableBitCol_insert",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
37560 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableBitCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
37561 if (!SWIG_IsOK(res1)(res1 >= 0)) {
37562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableBitCol_insert" "', argument " "1"" of type '" "GFitsTableBitCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableBitCol_insert" "', argument "
"1"" of type '" "GFitsTableBitCol *""'"); goto fail; } while
(0)
;
37563 }
37564 arg1 = reinterpret_cast< GFitsTableBitCol * >(argp1);
37565 ecode2 = SWIG_AsVal_int(obj1, &val2);
37566 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
37567 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableBitCol_insert" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableBitCol_insert"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
37568 }
37569 temp2 = static_cast< int >(val2);
37570 arg2 = &temp2;
37571 ecode3 = SWIG_AsVal_int(obj2, &val3);
37572 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
37573 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableBitCol_insert" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableBitCol_insert"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
37574 }
37575 temp3 = static_cast< int >(val3);
37576 arg3 = &temp3;
37577 {
37578 try {
37579 (arg1)->insert((int const &)*arg2,(int const &)*arg3);
37580 }
37581 catch (const GException::out_of_range& e) {
37582 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
37583 }
37584 catch (const GExceptionHandler& e) {
37585 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37586 }
37587 catch (const std::exception& e) {
37588 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37589 }
37590 }
37591 resultobj = SWIG_Py_Void();
37592 return resultobj;
37593fail:
37594 return NULL__null;
37595}
37596
37597
37598SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableBitCol_remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37599 PyObject *resultobj = 0;
37600 GFitsTableBitCol *arg1 = (GFitsTableBitCol *) 0 ;
37601 int *arg2 = 0 ;
37602 int *arg3 = 0 ;
37603 void *argp1 = 0 ;
37604 int res1 = 0 ;
37605 int temp2 ;
37606 int val2 ;
37607 int ecode2 = 0 ;
37608 int temp3 ;
37609 int val3 ;
37610 int ecode3 = 0 ;
37611 PyObject * obj0 = 0 ;
37612 PyObject * obj1 = 0 ;
37613 PyObject * obj2 = 0 ;
37614
37615 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableBitCol_remove",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
37616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableBitCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
37617 if (!SWIG_IsOK(res1)(res1 >= 0)) {
37618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableBitCol_remove" "', argument " "1"" of type '" "GFitsTableBitCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableBitCol_remove" "', argument "
"1"" of type '" "GFitsTableBitCol *""'"); goto fail; } while
(0)
;
37619 }
37620 arg1 = reinterpret_cast< GFitsTableBitCol * >(argp1);
37621 ecode2 = SWIG_AsVal_int(obj1, &val2);
37622 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
37623 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableBitCol_remove" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableBitCol_remove"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
37624 }
37625 temp2 = static_cast< int >(val2);
37626 arg2 = &temp2;
37627 ecode3 = SWIG_AsVal_int(obj2, &val3);
37628 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
37629 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableBitCol_remove" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableBitCol_remove"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
37630 }
37631 temp3 = static_cast< int >(val3);
37632 arg3 = &temp3;
37633 {
37634 try {
37635 (arg1)->remove((int const &)*arg2,(int const &)*arg3);
37636 }
37637 catch (const GException::out_of_range& e) {
37638 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
37639 }
37640 catch (const GExceptionHandler& e) {
37641 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37642 }
37643 catch (const std::exception& e) {
37644 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37645 }
37646 }
37647 resultobj = SWIG_Py_Void();
37648 return resultobj;
37649fail:
37650 return NULL__null;
37651}
37652
37653
37654SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableBitCol_isloaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37655 PyObject *resultobj = 0;
37656 GFitsTableBitCol *arg1 = (GFitsTableBitCol *) 0 ;
37657 void *argp1 = 0 ;
37658 int res1 = 0 ;
37659 PyObject * obj0 = 0 ;
37660 bool result;
37661
37662 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableBitCol_isloaded",&obj0)) SWIG_failgoto fail;
37663 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableBitCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
37664 if (!SWIG_IsOK(res1)(res1 >= 0)) {
37665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableBitCol_isloaded" "', argument " "1"" of type '" "GFitsTableBitCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableBitCol_isloaded"
"', argument " "1"" of type '" "GFitsTableBitCol const *""'"
); goto fail; } while(0)
;
37666 }
37667 arg1 = reinterpret_cast< GFitsTableBitCol * >(argp1);
37668 {
37669 try {
37670 result = (bool)((GFitsTableBitCol const *)arg1)->isloaded();
37671 }
37672 catch (const GException::out_of_range& e) {
37673 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
37674 }
37675 catch (const GExceptionHandler& e) {
37676 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37677 }
37678 catch (const std::exception& e) {
37679 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37680 }
37681 }
37682 resultobj = SWIG_From_bool(static_cast< bool >(result));
37683 return resultobj;
37684fail:
37685 return NULL__null;
37686}
37687
37688
37689SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableBitCol_data(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37690 PyObject *resultobj = 0;
37691 GFitsTableBitCol *arg1 = (GFitsTableBitCol *) 0 ;
37692 void *argp1 = 0 ;
37693 int res1 = 0 ;
37694 PyObject * obj0 = 0 ;
37695 unsigned char *result = 0 ;
37696
37697 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableBitCol_data",&obj0)) SWIG_failgoto fail;
37698 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableBitCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
37699 if (!SWIG_IsOK(res1)(res1 >= 0)) {
37700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableBitCol_data" "', argument " "1"" of type '" "GFitsTableBitCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableBitCol_data" "', argument "
"1"" of type '" "GFitsTableBitCol *""'"); goto fail; } while
(0)
;
37701 }
37702 arg1 = reinterpret_cast< GFitsTableBitCol * >(argp1);
37703 {
37704 try {
37705 result = (unsigned char *)(arg1)->data();
37706 }
37707 catch (const GException::out_of_range& e) {
37708 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
37709 }
37710 catch (const GExceptionHandler& e) {
37711 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37712 }
37713 catch (const std::exception& e) {
37714 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37715 }
37716 }
37717 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[53], 0
| 0)
;
37718 return resultobj;
37719fail:
37720 return NULL__null;
37721}
37722
37723
37724SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableBitCol_nulval__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37725 PyObject *resultobj = 0;
37726 GFitsTableBitCol *arg1 = (GFitsTableBitCol *) 0 ;
37727 void *argp1 = 0 ;
37728 int res1 = 0 ;
37729 PyObject * obj0 = 0 ;
37730 unsigned char *result = 0 ;
37731
37732 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableBitCol_nulval",&obj0)) SWIG_failgoto fail;
37733 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableBitCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
37734 if (!SWIG_IsOK(res1)(res1 >= 0)) {
37735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableBitCol_nulval" "', argument " "1"" of type '" "GFitsTableBitCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableBitCol_nulval" "', argument "
"1"" of type '" "GFitsTableBitCol *""'"); goto fail; } while
(0)
;
37736 }
37737 arg1 = reinterpret_cast< GFitsTableBitCol * >(argp1);
37738 {
37739 try {
37740 result = (unsigned char *)(arg1)->nulval();
37741 }
37742 catch (const GException::out_of_range& e) {
37743 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
37744 }
37745 catch (const GExceptionHandler& e) {
37746 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37747 }
37748 catch (const std::exception& e) {
37749 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37750 }
37751 }
37752 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[53], 0
| 0)
;
37753 return resultobj;
37754fail:
37755 return NULL__null;
37756}
37757
37758
37759SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableBitCol_nulval__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37760 PyObject *resultobj = 0;
37761 GFitsTableBitCol *arg1 = (GFitsTableBitCol *) 0 ;
37762 unsigned char *arg2 = (unsigned char *) 0 ;
37763 void *argp1 = 0 ;
37764 int res1 = 0 ;
37765 void *argp2 = 0 ;
37766 int res2 = 0 ;
37767 PyObject * obj0 = 0 ;
37768 PyObject * obj1 = 0 ;
37769
37770 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableBitCol_nulval",&obj0,&obj1)) SWIG_failgoto fail;
37771 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableBitCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
37772 if (!SWIG_IsOK(res1)(res1 >= 0)) {
37773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableBitCol_nulval" "', argument " "1"" of type '" "GFitsTableBitCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableBitCol_nulval" "', argument "
"1"" of type '" "GFitsTableBitCol *""'"); goto fail; } while
(0)
;
37774 }
37775 arg1 = reinterpret_cast< GFitsTableBitCol * >(argp1);
37776 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_char, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[53]
, 0 | 0, 0)
;
37777 if (!SWIG_IsOK(res2)(res2 >= 0)) {
37778 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsTableBitCol_nulval" "', argument " "2"" of type '" "unsigned char const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsTableBitCol_nulval" "', argument "
"2"" of type '" "unsigned char const *""'"); goto fail; } while
(0)
;
37779 }
37780 arg2 = reinterpret_cast< unsigned char * >(argp2);
37781 {
37782 try {
37783 (arg1)->nulval((unsigned char const *)arg2);
37784 }
37785 catch (const GException::out_of_range& e) {
37786 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
37787 }
37788 catch (const GExceptionHandler& e) {
37789 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37790 }
37791 catch (const std::exception& e) {
37792 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37793 }
37794 }
37795 resultobj = SWIG_Py_Void();
37796 return resultobj;
37797fail:
37798 return NULL__null;
37799}
37800
37801
37802SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableBitCol_nulval(PyObject *self, PyObject *args) {
37803 int argc;
37804 PyObject *argv[3];
37805 int ii;
37806
37807 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
37808 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
37809 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
37810 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
37811 }
37812 if (argc == 1) {
37813 int _v;
37814 void *vptr = 0;
37815 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableBitCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[19
], 0, 0)
;
37816 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37817 if (_v) {
37818 return _wrap_GFitsTableBitCol_nulval__SWIG_0(self, args);
37819 }
37820 }
37821 if (argc == 2) {
37822 int _v;
37823 void *vptr = 0;
37824 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableBitCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[19
], 0, 0)
;
37825 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37826 if (_v) {
37827 void *vptr = 0;
37828 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_char, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[53
], 0, 0)
;
37829 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
37830 if (_v) {
37831 return _wrap_GFitsTableBitCol_nulval__SWIG_1(self, args);
37832 }
37833 }
37834 }
37835
37836fail:
37837 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableBitCol_nulval'.\n"
37838 " Possible C/C++ prototypes are:\n"
37839 " GFitsTableBitCol::nulval()\n"
37840 " GFitsTableBitCol::nulval(unsigned char const *)\n");
37841 return 0;
37842}
37843
37844
37845SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableBitCol___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37846 PyObject *resultobj = 0;
37847 GFitsTableBitCol *arg1 = (GFitsTableBitCol *) 0 ;
37848 int *arg2 ;
37849 void *argp1 = 0 ;
37850 int res1 = 0 ;
37851 int temp2[3] ;
37852 PyObject * obj0 = 0 ;
37853 PyObject * obj1 = 0 ;
37854 bool result;
37855
37856 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableBitCol___getitem__",&obj0,&obj1)) SWIG_failgoto fail;
37857 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableBitCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
37858 if (!SWIG_IsOK(res1)(res1 >= 0)) {
37859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableBitCol___getitem__" "', argument " "1"" of type '" "GFitsTableBitCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableBitCol___getitem__"
"', argument " "1"" of type '" "GFitsTableBitCol *""'"); goto
fail; } while(0)
;
37860 }
37861 arg1 = reinterpret_cast< GFitsTableBitCol * >(argp1);
37862 {
37863 if (!table_column_tuple(obj1,temp2)) {
37864 return NULL__null;
37865 }
37866 arg2 = &temp2[0];
37867 }
37868 {
37869 try {
37870 result = (bool)GFitsTableBitCol___getitem__(arg1,arg2);
37871 }
37872 catch (const GException::out_of_range& e) {
37873 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
37874 }
37875 catch (const GExceptionHandler& e) {
37876 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37877 }
37878 catch (const std::exception& e) {
37879 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37880 }
37881 }
37882 resultobj = SWIG_From_bool(static_cast< bool >(result));
37883 return resultobj;
37884fail:
37885 return NULL__null;
37886}
37887
37888
37889SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableBitCol___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37890 PyObject *resultobj = 0;
37891 GFitsTableBitCol *arg1 = (GFitsTableBitCol *) 0 ;
37892 int *arg2 ;
37893 bool arg3 ;
37894 void *argp1 = 0 ;
37895 int res1 = 0 ;
37896 int temp2[3] ;
37897 bool val3 ;
37898 int ecode3 = 0 ;
37899 PyObject * obj0 = 0 ;
37900 PyObject * obj1 = 0 ;
37901 PyObject * obj2 = 0 ;
37902
37903 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableBitCol___setitem__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
37904 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableBitCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
37905 if (!SWIG_IsOK(res1)(res1 >= 0)) {
37906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableBitCol___setitem__" "', argument " "1"" of type '" "GFitsTableBitCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableBitCol___setitem__"
"', argument " "1"" of type '" "GFitsTableBitCol *""'"); goto
fail; } while(0)
;
37907 }
37908 arg1 = reinterpret_cast< GFitsTableBitCol * >(argp1);
37909 {
37910 if (!table_column_tuple(obj1,temp2)) {
37911 return NULL__null;
37912 }
37913 arg2 = &temp2[0];
37914 }
37915 ecode3 = SWIG_AsVal_bool(obj2, &val3);
37916 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
37917 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableBitCol___setitem__" "', argument " "3"" of type '" "bool""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableBitCol___setitem__"
"', argument " "3"" of type '" "bool""'"); goto fail; } while
(0)
;
37918 }
37919 arg3 = static_cast< bool >(val3);
37920 {
37921 try {
37922 GFitsTableBitCol___setitem__(arg1,arg2,arg3);
37923 }
37924 catch (const GException::out_of_range& e) {
37925 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
37926 }
37927 catch (const GExceptionHandler& e) {
37928 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37929 }
37930 catch (const std::exception& e) {
37931 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37932 }
37933 }
37934 resultobj = SWIG_Py_Void();
37935 return resultobj;
37936fail:
37937 return NULL__null;
37938}
37939
37940
37941SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableBitCol_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37942 PyObject *resultobj = 0;
37943 GFitsTableBitCol *arg1 = (GFitsTableBitCol *) 0 ;
37944 void *argp1 = 0 ;
37945 int res1 = 0 ;
37946 PyObject * obj0 = 0 ;
37947 GFitsTableBitCol result;
37948
37949 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableBitCol_copy",&obj0)) SWIG_failgoto fail;
37950 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableBitCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[19]
, 0 | 0, 0)
;
37951 if (!SWIG_IsOK(res1)(res1 >= 0)) {
37952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableBitCol_copy" "', argument " "1"" of type '" "GFitsTableBitCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableBitCol_copy" "', argument "
"1"" of type '" "GFitsTableBitCol *""'"); goto fail; } while
(0)
;
37953 }
37954 arg1 = reinterpret_cast< GFitsTableBitCol * >(argp1);
37955 {
37956 try {
37957 result = GFitsTableBitCol_copy(arg1);
37958 }
37959 catch (const GException::out_of_range& e) {
37960 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
37961 }
37962 catch (const GExceptionHandler& e) {
37963 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37964 }
37965 catch (const std::exception& e) {
37966 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37967 }
37968 }
37969 resultobj = SWIG_NewPointerObj((new GFitsTableBitCol(static_cast< const GFitsTableBitCol& >(result))), SWIGTYPE_p_GFitsTableBitCol, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GFitsTableBitCol(static_cast
< const GFitsTableBitCol& >(result))), swig_types[19
], 0x1 | 0)
;
37970 return resultobj;
37971fail:
37972 return NULL__null;
37973}
37974
37975
37976SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GFitsTableBitCol_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37977 PyObject *obj;
37978 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
37979 SWIG_TypeNewClientData(SWIGTYPE_p_GFitsTableBitColswig_types[19], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
37980 return SWIG_Py_Void();
37981}
37982
37983SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableByteCol__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37984 PyObject *resultobj = 0;
37985 GFitsTableByteCol *result = 0 ;
37986
37987 if (!PyArg_ParseTuple(args,(char *)":new_GFitsTableByteCol")) SWIG_failgoto fail;
37988 {
37989 try {
37990 result = (GFitsTableByteCol *)new GFitsTableByteCol();
37991 }
37992 catch (const GException::out_of_range& e) {
37993 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
37994 }
37995 catch (const GExceptionHandler& e) {
37996 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
37997 }
37998 catch (const std::exception& e) {
37999 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38000 }
38001 }
38002 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableByteCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[21], (
(0x1 << 1) | 0x1) | 0)
;
38003 return resultobj;
38004fail:
38005 return NULL__null;
38006}
38007
38008
38009SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableByteCol__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38010 PyObject *resultobj = 0;
38011 std::string *arg1 = 0 ;
38012 int *arg2 = 0 ;
38013 int *arg3 = 0 ;
38014 int res1 = SWIG_OLDOBJ((0)) ;
38015 int temp2 ;
38016 int val2 ;
38017 int ecode2 = 0 ;
38018 int temp3 ;
38019 int val3 ;
38020 int ecode3 = 0 ;
38021 PyObject * obj0 = 0 ;
38022 PyObject * obj1 = 0 ;
38023 PyObject * obj2 = 0 ;
38024 GFitsTableByteCol *result = 0 ;
38025
38026 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GFitsTableByteCol",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
38027 {
38028 std::string *ptr = (std::string *)0;
38029 res1 = SWIG_AsPtr_std_string(obj0, &ptr);
38030 if (!SWIG_IsOK(res1)(res1 >= 0)) {
38031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsTableByteCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsTableByteCol" "', argument "
"1"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
38032 }
38033 if (!ptr) {
38034 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsTableByteCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsTableByteCol" "', argument " "1"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
38035 }
38036 arg1 = ptr;
38037 }
38038 ecode2 = SWIG_AsVal_int(obj1, &val2);
38039 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
38040 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsTableByteCol" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsTableByteCol"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
38041 }
38042 temp2 = static_cast< int >(val2);
38043 arg2 = &temp2;
38044 ecode3 = SWIG_AsVal_int(obj2, &val3);
38045 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
38046 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsTableByteCol" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsTableByteCol"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
38047 }
38048 temp3 = static_cast< int >(val3);
38049 arg3 = &temp3;
38050 {
38051 try {
38052 result = (GFitsTableByteCol *)new GFitsTableByteCol((std::string const &)*arg1,(int const &)*arg2,(int const &)*arg3);
38053 }
38054 catch (const GException::out_of_range& e) {
38055 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
38056 }
38057 catch (const GExceptionHandler& e) {
38058 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38059 }
38060 catch (const std::exception& e) {
38061 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38062 }
38063 }
38064 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableByteCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[21], (
(0x1 << 1) | 0x1) | 0)
;
38065 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
38066 return resultobj;
38067fail:
38068 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
38069 return NULL__null;
38070}
38071
38072
38073SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableByteCol__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38074 PyObject *resultobj = 0;
38075 std::string *arg1 = 0 ;
38076 int *arg2 = 0 ;
38077 int res1 = SWIG_OLDOBJ((0)) ;
38078 int temp2 ;
38079 int val2 ;
38080 int ecode2 = 0 ;
38081 PyObject * obj0 = 0 ;
38082 PyObject * obj1 = 0 ;
38083 GFitsTableByteCol *result = 0 ;
38084
38085 if (!PyArg_ParseTuple(args,(char *)"OO:new_GFitsTableByteCol",&obj0,&obj1)) SWIG_failgoto fail;
38086 {
38087 std::string *ptr = (std::string *)0;
38088 res1 = SWIG_AsPtr_std_string(obj0, &ptr);
38089 if (!SWIG_IsOK(res1)(res1 >= 0)) {
38090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsTableByteCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsTableByteCol" "', argument "
"1"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
38091 }
38092 if (!ptr) {
38093 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsTableByteCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsTableByteCol" "', argument " "1"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
38094 }
38095 arg1 = ptr;
38096 }
38097 ecode2 = SWIG_AsVal_int(obj1, &val2);
38098 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
38099 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsTableByteCol" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsTableByteCol"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
38100 }
38101 temp2 = static_cast< int >(val2);
38102 arg2 = &temp2;
38103 {
38104 try {
38105 result = (GFitsTableByteCol *)new GFitsTableByteCol((std::string const &)*arg1,(int const &)*arg2);
38106 }
38107 catch (const GException::out_of_range& e) {
38108 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
38109 }
38110 catch (const GExceptionHandler& e) {
38111 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38112 }
38113 catch (const std::exception& e) {
38114 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38115 }
38116 }
38117 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableByteCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[21], (
(0x1 << 1) | 0x1) | 0)
;
38118 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
38119 return resultobj;
38120fail:
38121 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
38122 return NULL__null;
38123}
38124
38125
38126SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableByteCol__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38127 PyObject *resultobj = 0;
38128 GFitsTableByteCol *arg1 = 0 ;
38129 void *argp1 = 0 ;
38130 int res1 = 0 ;
38131 PyObject * obj0 = 0 ;
38132 GFitsTableByteCol *result = 0 ;
38133
38134 if (!PyArg_ParseTuple(args,(char *)"O:new_GFitsTableByteCol",&obj0)) SWIG_failgoto fail;
38135 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GFitsTableByteCol, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0 | 0, 0)
;
38136 if (!SWIG_IsOK(res1)(res1 >= 0)) {
38137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsTableByteCol" "', argument " "1"" of type '" "GFitsTableByteCol const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsTableByteCol" "', argument "
"1"" of type '" "GFitsTableByteCol const &""'"); goto fail
; } while(0)
;
38138 }
38139 if (!argp1) {
38140 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsTableByteCol" "', argument " "1"" of type '" "GFitsTableByteCol const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsTableByteCol" "', argument " "1"" of type '"
"GFitsTableByteCol const &""'"); goto fail; } while(0)
;
38141 }
38142 arg1 = reinterpret_cast< GFitsTableByteCol * >(argp1);
38143 {
38144 try {
38145 result = (GFitsTableByteCol *)new GFitsTableByteCol((GFitsTableByteCol const &)*arg1);
38146 }
38147 catch (const GException::out_of_range& e) {
38148 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
38149 }
38150 catch (const GExceptionHandler& e) {
38151 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38152 }
38153 catch (const std::exception& e) {
38154 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38155 }
38156 }
38157 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableByteCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[21], (
(0x1 << 1) | 0x1) | 0)
;
38158 return resultobj;
38159fail:
38160 return NULL__null;
38161}
38162
38163
38164SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableByteCol(PyObject *self, PyObject *args) {
38165 int argc;
38166 PyObject *argv[4];
38167 int ii;
38168
38169 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
38170 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
38171 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
38172 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
38173 }
38174 if (argc == 0) {
38175 return _wrap_new_GFitsTableByteCol__SWIG_0(self, args);
38176 }
38177 if (argc == 1) {
38178 int _v;
38179 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GFitsTableByteCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[21], 0, 0
)
;
38180 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38181 if (_v) {
38182 return _wrap_new_GFitsTableByteCol__SWIG_3(self, args);
38183 }
38184 }
38185 if (argc == 2) {
38186 int _v;
38187 int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
38188 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38189 if (_v) {
38190 {
38191 int res = SWIG_AsVal_int(argv[1], NULL__null);
38192 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38193 }
38194 if (_v) {
38195 return _wrap_new_GFitsTableByteCol__SWIG_2(self, args);
38196 }
38197 }
38198 }
38199 if (argc == 3) {
38200 int _v;
38201 int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
38202 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38203 if (_v) {
38204 {
38205 int res = SWIG_AsVal_int(argv[1], NULL__null);
38206 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38207 }
38208 if (_v) {
38209 {
38210 int res = SWIG_AsVal_int(argv[2], NULL__null);
38211 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38212 }
38213 if (_v) {
38214 return _wrap_new_GFitsTableByteCol__SWIG_1(self, args);
38215 }
38216 }
38217 }
38218 }
38219
38220fail:
38221 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GFitsTableByteCol'.\n"
38222 " Possible C/C++ prototypes are:\n"
38223 " GFitsTableByteCol::GFitsTableByteCol()\n"
38224 " GFitsTableByteCol::GFitsTableByteCol(std::string const &,int const &,int const &)\n"
38225 " GFitsTableByteCol::GFitsTableByteCol(std::string const &,int const &)\n"
38226 " GFitsTableByteCol::GFitsTableByteCol(GFitsTableByteCol const &)\n");
38227 return 0;
38228}
38229
38230
38231SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GFitsTableByteCol(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38232 PyObject *resultobj = 0;
38233 GFitsTableByteCol *arg1 = (GFitsTableByteCol *) 0 ;
38234 void *argp1 = 0 ;
38235 int res1 = 0 ;
38236 PyObject * obj0 = 0 ;
38237
38238 if (!PyArg_ParseTuple(args,(char *)"O:delete_GFitsTableByteCol",&obj0)) SWIG_failgoto fail;
38239 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableByteCol, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0x1 | 0, 0)
;
38240 if (!SWIG_IsOK(res1)(res1 >= 0)) {
38241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GFitsTableByteCol" "', argument " "1"" of type '" "GFitsTableByteCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GFitsTableByteCol" "', argument "
"1"" of type '" "GFitsTableByteCol *""'"); goto fail; } while
(0)
;
38242 }
38243 arg1 = reinterpret_cast< GFitsTableByteCol * >(argp1);
38244 {
38245 try {
38246 delete arg1;
38247 }
38248 catch (const GException::out_of_range& e) {
38249 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
38250 }
38251 catch (const GExceptionHandler& e) {
38252 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38253 }
38254 catch (const std::exception& e) {
38255 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38256 }
38257 }
38258 resultobj = SWIG_Py_Void();
38259 return resultobj;
38260fail:
38261 return NULL__null;
38262}
38263
38264
38265SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableByteCol_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38266 PyObject *resultobj = 0;
38267 GFitsTableByteCol *arg1 = (GFitsTableByteCol *) 0 ;
38268 void *argp1 = 0 ;
38269 int res1 = 0 ;
38270 PyObject * obj0 = 0 ;
38271
38272 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableByteCol_clear",&obj0)) SWIG_failgoto fail;
38273 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableByteCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0 | 0, 0)
;
38274 if (!SWIG_IsOK(res1)(res1 >= 0)) {
38275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableByteCol_clear" "', argument " "1"" of type '" "GFitsTableByteCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableByteCol_clear" "', argument "
"1"" of type '" "GFitsTableByteCol *""'"); goto fail; } while
(0)
;
38276 }
38277 arg1 = reinterpret_cast< GFitsTableByteCol * >(argp1);
38278 {
38279 try {
38280 (arg1)->clear();
38281 }
38282 catch (const GException::out_of_range& e) {
38283 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
38284 }
38285 catch (const GExceptionHandler& e) {
38286 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38287 }
38288 catch (const std::exception& e) {
38289 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38290 }
38291 }
38292 resultobj = SWIG_Py_Void();
38293 return resultobj;
38294fail:
38295 return NULL__null;
38296}
38297
38298
38299SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableByteCol_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38300 PyObject *resultobj = 0;
38301 GFitsTableByteCol *arg1 = (GFitsTableByteCol *) 0 ;
38302 void *argp1 = 0 ;
38303 int res1 = 0 ;
38304 PyObject * obj0 = 0 ;
38305 GFitsTableByteCol *result = 0 ;
38306
38307 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableByteCol_clone",&obj0)) SWIG_failgoto fail;
38308 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableByteCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0 | 0, 0)
;
38309 if (!SWIG_IsOK(res1)(res1 >= 0)) {
38310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableByteCol_clone" "', argument " "1"" of type '" "GFitsTableByteCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableByteCol_clone" "', argument "
"1"" of type '" "GFitsTableByteCol const *""'"); goto fail; }
while(0)
;
38311 }
38312 arg1 = reinterpret_cast< GFitsTableByteCol * >(argp1);
38313 {
38314 try {
38315 result = (GFitsTableByteCol *)((GFitsTableByteCol const *)arg1)->clone();
38316 }
38317 catch (const GException::out_of_range& e) {
38318 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
38319 }
38320 catch (const GExceptionHandler& e) {
38321 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38322 }
38323 catch (const std::exception& e) {
38324 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38325 }
38326 }
38327 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableByteCol, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[21], 0
| 0)
;
38328 return resultobj;
38329fail:
38330 return NULL__null;
38331}
38332
38333
38334SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableByteCol_string__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38335 PyObject *resultobj = 0;
38336 GFitsTableByteCol *arg1 = (GFitsTableByteCol *) 0 ;
38337 int *arg2 = 0 ;
38338 int *arg3 = 0 ;
38339 void *argp1 = 0 ;
38340 int res1 = 0 ;
38341 int temp2 ;
38342 int val2 ;
38343 int ecode2 = 0 ;
38344 int temp3 ;
38345 int val3 ;
38346 int ecode3 = 0 ;
38347 PyObject * obj0 = 0 ;
38348 PyObject * obj1 = 0 ;
38349 PyObject * obj2 = 0 ;
38350 std::string result;
38351
38352 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableByteCol_string",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
38353 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableByteCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0 | 0, 0)
;
38354 if (!SWIG_IsOK(res1)(res1 >= 0)) {
38355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableByteCol_string" "', argument " "1"" of type '" "GFitsTableByteCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableByteCol_string" "', argument "
"1"" of type '" "GFitsTableByteCol const *""'"); goto fail; }
while(0)
;
38356 }
38357 arg1 = reinterpret_cast< GFitsTableByteCol * >(argp1);
38358 ecode2 = SWIG_AsVal_int(obj1, &val2);
38359 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
38360 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableByteCol_string" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableByteCol_string"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
38361 }
38362 temp2 = static_cast< int >(val2);
38363 arg2 = &temp2;
38364 ecode3 = SWIG_AsVal_int(obj2, &val3);
38365 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
38366 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableByteCol_string" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableByteCol_string"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
38367 }
38368 temp3 = static_cast< int >(val3);
38369 arg3 = &temp3;
38370 {
38371 try {
38372 result = ((GFitsTableByteCol const *)arg1)->string((int const &)*arg2,(int const &)*arg3);
38373 }
38374 catch (const GException::out_of_range& e) {
38375 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
38376 }
38377 catch (const GExceptionHandler& e) {
38378 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38379 }
38380 catch (const std::exception& e) {
38381 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38382 }
38383 }
38384 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
38385 return resultobj;
38386fail:
38387 return NULL__null;
38388}
38389
38390
38391SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableByteCol_string__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38392 PyObject *resultobj = 0;
38393 GFitsTableByteCol *arg1 = (GFitsTableByteCol *) 0 ;
38394 int *arg2 = 0 ;
38395 void *argp1 = 0 ;
38396 int res1 = 0 ;
38397 int temp2 ;
38398 int val2 ;
38399 int ecode2 = 0 ;
38400 PyObject * obj0 = 0 ;
38401 PyObject * obj1 = 0 ;
38402 std::string result;
38403
38404 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableByteCol_string",&obj0,&obj1)) SWIG_failgoto fail;
38405 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableByteCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0 | 0, 0)
;
38406 if (!SWIG_IsOK(res1)(res1 >= 0)) {
38407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableByteCol_string" "', argument " "1"" of type '" "GFitsTableByteCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableByteCol_string" "', argument "
"1"" of type '" "GFitsTableByteCol const *""'"); goto fail; }
while(0)
;
38408 }
38409 arg1 = reinterpret_cast< GFitsTableByteCol * >(argp1);
38410 ecode2 = SWIG_AsVal_int(obj1, &val2);
38411 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
38412 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableByteCol_string" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableByteCol_string"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
38413 }
38414 temp2 = static_cast< int >(val2);
38415 arg2 = &temp2;
38416 {
38417 try {
38418 result = ((GFitsTableByteCol const *)arg1)->string((int const &)*arg2);
38419 }
38420 catch (const GException::out_of_range& e) {
38421 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
38422 }
38423 catch (const GExceptionHandler& e) {
38424 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38425 }
38426 catch (const std::exception& e) {
38427 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38428 }
38429 }
38430 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
38431 return resultobj;
38432fail:
38433 return NULL__null;
38434}
38435
38436
38437SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableByteCol_string(PyObject *self, PyObject *args) {
38438 int argc;
38439 PyObject *argv[4];
38440 int ii;
38441
38442 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
38443 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
38444 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
38445 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
38446 }
38447 if (argc == 2) {
38448 int _v;
38449 void *vptr = 0;
38450 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableByteCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[21
], 0, 0)
;
38451 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38452 if (_v) {
38453 {
38454 int res = SWIG_AsVal_int(argv[1], NULL__null);
38455 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38456 }
38457 if (_v) {
38458 return _wrap_GFitsTableByteCol_string__SWIG_1(self, args);
38459 }
38460 }
38461 }
38462 if (argc == 3) {
38463 int _v;
38464 void *vptr = 0;
38465 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableByteCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[21
], 0, 0)
;
38466 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38467 if (_v) {
38468 {
38469 int res = SWIG_AsVal_int(argv[1], NULL__null);
38470 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38471 }
38472 if (_v) {
38473 {
38474 int res = SWIG_AsVal_int(argv[2], NULL__null);
38475 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38476 }
38477 if (_v) {
38478 return _wrap_GFitsTableByteCol_string__SWIG_0(self, args);
38479 }
38480 }
38481 }
38482 }
38483
38484fail:
38485 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableByteCol_string'.\n"
38486 " Possible C/C++ prototypes are:\n"
38487 " GFitsTableByteCol::string(int const &,int const &) const\n"
38488 " GFitsTableByteCol::string(int const &) const\n");
38489 return 0;
38490}
38491
38492
38493SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableByteCol_real__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38494 PyObject *resultobj = 0;
38495 GFitsTableByteCol *arg1 = (GFitsTableByteCol *) 0 ;
38496 int *arg2 = 0 ;
38497 int *arg3 = 0 ;
38498 void *argp1 = 0 ;
38499 int res1 = 0 ;
38500 int temp2 ;
38501 int val2 ;
38502 int ecode2 = 0 ;
38503 int temp3 ;
38504 int val3 ;
38505 int ecode3 = 0 ;
38506 PyObject * obj0 = 0 ;
38507 PyObject * obj1 = 0 ;
38508 PyObject * obj2 = 0 ;
38509 double result;
38510
38511 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableByteCol_real",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
38512 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableByteCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0 | 0, 0)
;
38513 if (!SWIG_IsOK(res1)(res1 >= 0)) {
38514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableByteCol_real" "', argument " "1"" of type '" "GFitsTableByteCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableByteCol_real" "', argument "
"1"" of type '" "GFitsTableByteCol const *""'"); goto fail; }
while(0)
;
38515 }
38516 arg1 = reinterpret_cast< GFitsTableByteCol * >(argp1);
38517 ecode2 = SWIG_AsVal_int(obj1, &val2);
38518 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
38519 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableByteCol_real" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableByteCol_real"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
38520 }
38521 temp2 = static_cast< int >(val2);
38522 arg2 = &temp2;
38523 ecode3 = SWIG_AsVal_int(obj2, &val3);
38524 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
38525 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableByteCol_real" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableByteCol_real"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
38526 }
38527 temp3 = static_cast< int >(val3);
38528 arg3 = &temp3;
38529 {
38530 try {
38531 result = (double)((GFitsTableByteCol const *)arg1)->real((int const &)*arg2,(int const &)*arg3);
38532 }
38533 catch (const GException::out_of_range& e) {
38534 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
38535 }
38536 catch (const GExceptionHandler& e) {
38537 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38538 }
38539 catch (const std::exception& e) {
38540 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38541 }
38542 }
38543 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
38544 return resultobj;
38545fail:
38546 return NULL__null;
38547}
38548
38549
38550SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableByteCol_real__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38551 PyObject *resultobj = 0;
38552 GFitsTableByteCol *arg1 = (GFitsTableByteCol *) 0 ;
38553 int *arg2 = 0 ;
38554 void *argp1 = 0 ;
38555 int res1 = 0 ;
38556 int temp2 ;
38557 int val2 ;
38558 int ecode2 = 0 ;
38559 PyObject * obj0 = 0 ;
38560 PyObject * obj1 = 0 ;
38561 double result;
38562
38563 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableByteCol_real",&obj0,&obj1)) SWIG_failgoto fail;
38564 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableByteCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0 | 0, 0)
;
38565 if (!SWIG_IsOK(res1)(res1 >= 0)) {
38566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableByteCol_real" "', argument " "1"" of type '" "GFitsTableByteCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableByteCol_real" "', argument "
"1"" of type '" "GFitsTableByteCol const *""'"); goto fail; }
while(0)
;
38567 }
38568 arg1 = reinterpret_cast< GFitsTableByteCol * >(argp1);
38569 ecode2 = SWIG_AsVal_int(obj1, &val2);
38570 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
38571 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableByteCol_real" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableByteCol_real"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
38572 }
38573 temp2 = static_cast< int >(val2);
38574 arg2 = &temp2;
38575 {
38576 try {
38577 result = (double)((GFitsTableByteCol const *)arg1)->real((int const &)*arg2);
38578 }
38579 catch (const GException::out_of_range& e) {
38580 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
38581 }
38582 catch (const GExceptionHandler& e) {
38583 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38584 }
38585 catch (const std::exception& e) {
38586 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38587 }
38588 }
38589 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
38590 return resultobj;
38591fail:
38592 return NULL__null;
38593}
38594
38595
38596SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableByteCol_real(PyObject *self, PyObject *args) {
38597 int argc;
38598 PyObject *argv[4];
38599 int ii;
38600
38601 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
38602 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
38603 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
38604 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
38605 }
38606 if (argc == 2) {
38607 int _v;
38608 void *vptr = 0;
38609 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableByteCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[21
], 0, 0)
;
38610 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38611 if (_v) {
38612 {
38613 int res = SWIG_AsVal_int(argv[1], NULL__null);
38614 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38615 }
38616 if (_v) {
38617 return _wrap_GFitsTableByteCol_real__SWIG_1(self, args);
38618 }
38619 }
38620 }
38621 if (argc == 3) {
38622 int _v;
38623 void *vptr = 0;
38624 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableByteCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[21
], 0, 0)
;
38625 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38626 if (_v) {
38627 {
38628 int res = SWIG_AsVal_int(argv[1], NULL__null);
38629 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38630 }
38631 if (_v) {
38632 {
38633 int res = SWIG_AsVal_int(argv[2], NULL__null);
38634 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38635 }
38636 if (_v) {
38637 return _wrap_GFitsTableByteCol_real__SWIG_0(self, args);
38638 }
38639 }
38640 }
38641 }
38642
38643fail:
38644 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableByteCol_real'.\n"
38645 " Possible C/C++ prototypes are:\n"
38646 " GFitsTableByteCol::real(int const &,int const &) const\n"
38647 " GFitsTableByteCol::real(int const &) const\n");
38648 return 0;
38649}
38650
38651
38652SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableByteCol_integer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38653 PyObject *resultobj = 0;
38654 GFitsTableByteCol *arg1 = (GFitsTableByteCol *) 0 ;
38655 int *arg2 = 0 ;
38656 int *arg3 = 0 ;
38657 void *argp1 = 0 ;
38658 int res1 = 0 ;
38659 int temp2 ;
38660 int val2 ;
38661 int ecode2 = 0 ;
38662 int temp3 ;
38663 int val3 ;
38664 int ecode3 = 0 ;
38665 PyObject * obj0 = 0 ;
38666 PyObject * obj1 = 0 ;
38667 PyObject * obj2 = 0 ;
38668 int result;
38669
38670 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableByteCol_integer",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
38671 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableByteCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0 | 0, 0)
;
38672 if (!SWIG_IsOK(res1)(res1 >= 0)) {
38673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableByteCol_integer" "', argument " "1"" of type '" "GFitsTableByteCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableByteCol_integer"
"', argument " "1"" of type '" "GFitsTableByteCol const *""'"
); goto fail; } while(0)
;
38674 }
38675 arg1 = reinterpret_cast< GFitsTableByteCol * >(argp1);
38676 ecode2 = SWIG_AsVal_int(obj1, &val2);
38677 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
38678 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableByteCol_integer" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableByteCol_integer"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
38679 }
38680 temp2 = static_cast< int >(val2);
38681 arg2 = &temp2;
38682 ecode3 = SWIG_AsVal_int(obj2, &val3);
38683 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
38684 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableByteCol_integer" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableByteCol_integer"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
38685 }
38686 temp3 = static_cast< int >(val3);
38687 arg3 = &temp3;
38688 {
38689 try {
38690 result = (int)((GFitsTableByteCol const *)arg1)->integer((int const &)*arg2,(int const &)*arg3);
38691 }
38692 catch (const GException::out_of_range& e) {
38693 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
38694 }
38695 catch (const GExceptionHandler& e) {
38696 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38697 }
38698 catch (const std::exception& e) {
38699 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38700 }
38701 }
38702 resultobj = SWIG_From_int(static_cast< int >(result));
38703 return resultobj;
38704fail:
38705 return NULL__null;
38706}
38707
38708
38709SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableByteCol_integer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38710 PyObject *resultobj = 0;
38711 GFitsTableByteCol *arg1 = (GFitsTableByteCol *) 0 ;
38712 int *arg2 = 0 ;
38713 void *argp1 = 0 ;
38714 int res1 = 0 ;
38715 int temp2 ;
38716 int val2 ;
38717 int ecode2 = 0 ;
38718 PyObject * obj0 = 0 ;
38719 PyObject * obj1 = 0 ;
38720 int result;
38721
38722 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableByteCol_integer",&obj0,&obj1)) SWIG_failgoto fail;
38723 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableByteCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0 | 0, 0)
;
38724 if (!SWIG_IsOK(res1)(res1 >= 0)) {
38725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableByteCol_integer" "', argument " "1"" of type '" "GFitsTableByteCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableByteCol_integer"
"', argument " "1"" of type '" "GFitsTableByteCol const *""'"
); goto fail; } while(0)
;
38726 }
38727 arg1 = reinterpret_cast< GFitsTableByteCol * >(argp1);
38728 ecode2 = SWIG_AsVal_int(obj1, &val2);
38729 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
38730 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableByteCol_integer" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableByteCol_integer"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
38731 }
38732 temp2 = static_cast< int >(val2);
38733 arg2 = &temp2;
38734 {
38735 try {
38736 result = (int)((GFitsTableByteCol const *)arg1)->integer((int const &)*arg2);
38737 }
38738 catch (const GException::out_of_range& e) {
38739 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
38740 }
38741 catch (const GExceptionHandler& e) {
38742 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38743 }
38744 catch (const std::exception& e) {
38745 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38746 }
38747 }
38748 resultobj = SWIG_From_int(static_cast< int >(result));
38749 return resultobj;
38750fail:
38751 return NULL__null;
38752}
38753
38754
38755SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableByteCol_integer(PyObject *self, PyObject *args) {
38756 int argc;
38757 PyObject *argv[4];
38758 int ii;
38759
38760 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
38761 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
38762 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
38763 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
38764 }
38765 if (argc == 2) {
38766 int _v;
38767 void *vptr = 0;
38768 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableByteCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[21
], 0, 0)
;
38769 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38770 if (_v) {
38771 {
38772 int res = SWIG_AsVal_int(argv[1], NULL__null);
38773 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38774 }
38775 if (_v) {
38776 return _wrap_GFitsTableByteCol_integer__SWIG_1(self, args);
38777 }
38778 }
38779 }
38780 if (argc == 3) {
38781 int _v;
38782 void *vptr = 0;
38783 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableByteCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[21
], 0, 0)
;
38784 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38785 if (_v) {
38786 {
38787 int res = SWIG_AsVal_int(argv[1], NULL__null);
38788 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38789 }
38790 if (_v) {
38791 {
38792 int res = SWIG_AsVal_int(argv[2], NULL__null);
38793 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
38794 }
38795 if (_v) {
38796 return _wrap_GFitsTableByteCol_integer__SWIG_0(self, args);
38797 }
38798 }
38799 }
38800 }
38801
38802fail:
38803 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableByteCol_integer'.\n"
38804 " Possible C/C++ prototypes are:\n"
38805 " GFitsTableByteCol::integer(int const &,int const &) const\n"
38806 " GFitsTableByteCol::integer(int const &) const\n");
38807 return 0;
38808}
38809
38810
38811SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableByteCol_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38812 PyObject *resultobj = 0;
38813 GFitsTableByteCol *arg1 = (GFitsTableByteCol *) 0 ;
38814 int *arg2 = 0 ;
38815 int *arg3 = 0 ;
38816 void *argp1 = 0 ;
38817 int res1 = 0 ;
38818 int temp2 ;
38819 int val2 ;
38820 int ecode2 = 0 ;
38821 int temp3 ;
38822 int val3 ;
38823 int ecode3 = 0 ;
38824 PyObject * obj0 = 0 ;
38825 PyObject * obj1 = 0 ;
38826 PyObject * obj2 = 0 ;
38827
38828 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableByteCol_insert",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
38829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableByteCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0 | 0, 0)
;
38830 if (!SWIG_IsOK(res1)(res1 >= 0)) {
38831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableByteCol_insert" "', argument " "1"" of type '" "GFitsTableByteCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableByteCol_insert" "', argument "
"1"" of type '" "GFitsTableByteCol *""'"); goto fail; } while
(0)
;
38832 }
38833 arg1 = reinterpret_cast< GFitsTableByteCol * >(argp1);
38834 ecode2 = SWIG_AsVal_int(obj1, &val2);
38835 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
38836 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableByteCol_insert" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableByteCol_insert"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
38837 }
38838 temp2 = static_cast< int >(val2);
38839 arg2 = &temp2;
38840 ecode3 = SWIG_AsVal_int(obj2, &val3);
38841 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
38842 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableByteCol_insert" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableByteCol_insert"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
38843 }
38844 temp3 = static_cast< int >(val3);
38845 arg3 = &temp3;
38846 {
38847 try {
38848 (arg1)->insert((int const &)*arg2,(int const &)*arg3);
38849 }
38850 catch (const GException::out_of_range& e) {
38851 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
38852 }
38853 catch (const GExceptionHandler& e) {
38854 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38855 }
38856 catch (const std::exception& e) {
38857 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38858 }
38859 }
38860 resultobj = SWIG_Py_Void();
38861 return resultobj;
38862fail:
38863 return NULL__null;
38864}
38865
38866
38867SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableByteCol_remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38868 PyObject *resultobj = 0;
38869 GFitsTableByteCol *arg1 = (GFitsTableByteCol *) 0 ;
38870 int *arg2 = 0 ;
38871 int *arg3 = 0 ;
38872 void *argp1 = 0 ;
38873 int res1 = 0 ;
38874 int temp2 ;
38875 int val2 ;
38876 int ecode2 = 0 ;
38877 int temp3 ;
38878 int val3 ;
38879 int ecode3 = 0 ;
38880 PyObject * obj0 = 0 ;
38881 PyObject * obj1 = 0 ;
38882 PyObject * obj2 = 0 ;
38883
38884 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableByteCol_remove",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
38885 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableByteCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0 | 0, 0)
;
38886 if (!SWIG_IsOK(res1)(res1 >= 0)) {
38887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableByteCol_remove" "', argument " "1"" of type '" "GFitsTableByteCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableByteCol_remove" "', argument "
"1"" of type '" "GFitsTableByteCol *""'"); goto fail; } while
(0)
;
38888 }
38889 arg1 = reinterpret_cast< GFitsTableByteCol * >(argp1);
38890 ecode2 = SWIG_AsVal_int(obj1, &val2);
38891 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
38892 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableByteCol_remove" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableByteCol_remove"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
38893 }
38894 temp2 = static_cast< int >(val2);
38895 arg2 = &temp2;
38896 ecode3 = SWIG_AsVal_int(obj2, &val3);
38897 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
38898 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableByteCol_remove" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableByteCol_remove"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
38899 }
38900 temp3 = static_cast< int >(val3);
38901 arg3 = &temp3;
38902 {
38903 try {
38904 (arg1)->remove((int const &)*arg2,(int const &)*arg3);
38905 }
38906 catch (const GException::out_of_range& e) {
38907 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
38908 }
38909 catch (const GExceptionHandler& e) {
38910 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38911 }
38912 catch (const std::exception& e) {
38913 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38914 }
38915 }
38916 resultobj = SWIG_Py_Void();
38917 return resultobj;
38918fail:
38919 return NULL__null;
38920}
38921
38922
38923SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableByteCol_isloaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38924 PyObject *resultobj = 0;
38925 GFitsTableByteCol *arg1 = (GFitsTableByteCol *) 0 ;
38926 void *argp1 = 0 ;
38927 int res1 = 0 ;
38928 PyObject * obj0 = 0 ;
38929 bool result;
38930
38931 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableByteCol_isloaded",&obj0)) SWIG_failgoto fail;
38932 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableByteCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0 | 0, 0)
;
38933 if (!SWIG_IsOK(res1)(res1 >= 0)) {
38934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableByteCol_isloaded" "', argument " "1"" of type '" "GFitsTableByteCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableByteCol_isloaded"
"', argument " "1"" of type '" "GFitsTableByteCol const *""'"
); goto fail; } while(0)
;
38935 }
38936 arg1 = reinterpret_cast< GFitsTableByteCol * >(argp1);
38937 {
38938 try {
38939 result = (bool)((GFitsTableByteCol const *)arg1)->isloaded();
38940 }
38941 catch (const GException::out_of_range& e) {
38942 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
38943 }
38944 catch (const GExceptionHandler& e) {
38945 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38946 }
38947 catch (const std::exception& e) {
38948 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38949 }
38950 }
38951 resultobj = SWIG_From_bool(static_cast< bool >(result));
38952 return resultobj;
38953fail:
38954 return NULL__null;
38955}
38956
38957
38958SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableByteCol_data(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38959 PyObject *resultobj = 0;
38960 GFitsTableByteCol *arg1 = (GFitsTableByteCol *) 0 ;
38961 void *argp1 = 0 ;
38962 int res1 = 0 ;
38963 PyObject * obj0 = 0 ;
38964 unsigned char *result = 0 ;
38965
38966 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableByteCol_data",&obj0)) SWIG_failgoto fail;
38967 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableByteCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0 | 0, 0)
;
38968 if (!SWIG_IsOK(res1)(res1 >= 0)) {
38969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableByteCol_data" "', argument " "1"" of type '" "GFitsTableByteCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableByteCol_data" "', argument "
"1"" of type '" "GFitsTableByteCol *""'"); goto fail; } while
(0)
;
38970 }
38971 arg1 = reinterpret_cast< GFitsTableByteCol * >(argp1);
38972 {
38973 try {
38974 result = (unsigned char *)(arg1)->data();
38975 }
38976 catch (const GException::out_of_range& e) {
38977 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
38978 }
38979 catch (const GExceptionHandler& e) {
38980 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38981 }
38982 catch (const std::exception& e) {
38983 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
38984 }
38985 }
38986 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[53], 0
| 0)
;
38987 return resultobj;
38988fail:
38989 return NULL__null;
38990}
38991
38992
38993SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableByteCol_nulval__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38994 PyObject *resultobj = 0;
38995 GFitsTableByteCol *arg1 = (GFitsTableByteCol *) 0 ;
38996 void *argp1 = 0 ;
38997 int res1 = 0 ;
38998 PyObject * obj0 = 0 ;
38999 unsigned char *result = 0 ;
39000
39001 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableByteCol_nulval",&obj0)) SWIG_failgoto fail;
39002 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableByteCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0 | 0, 0)
;
39003 if (!SWIG_IsOK(res1)(res1 >= 0)) {
39004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableByteCol_nulval" "', argument " "1"" of type '" "GFitsTableByteCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableByteCol_nulval" "', argument "
"1"" of type '" "GFitsTableByteCol *""'"); goto fail; } while
(0)
;
39005 }
39006 arg1 = reinterpret_cast< GFitsTableByteCol * >(argp1);
39007 {
39008 try {
39009 result = (unsigned char *)(arg1)->nulval();
39010 }
39011 catch (const GException::out_of_range& e) {
39012 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
39013 }
39014 catch (const GExceptionHandler& e) {
39015 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39016 }
39017 catch (const std::exception& e) {
39018 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39019 }
39020 }
39021 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[53], 0
| 0)
;
39022 return resultobj;
39023fail:
39024 return NULL__null;
39025}
39026
39027
39028SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableByteCol_nulval__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39029 PyObject *resultobj = 0;
39030 GFitsTableByteCol *arg1 = (GFitsTableByteCol *) 0 ;
39031 unsigned char *arg2 = (unsigned char *) 0 ;
39032 void *argp1 = 0 ;
39033 int res1 = 0 ;
39034 void *argp2 = 0 ;
39035 int res2 = 0 ;
39036 PyObject * obj0 = 0 ;
39037 PyObject * obj1 = 0 ;
39038
39039 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableByteCol_nulval",&obj0,&obj1)) SWIG_failgoto fail;
39040 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableByteCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0 | 0, 0)
;
39041 if (!SWIG_IsOK(res1)(res1 >= 0)) {
39042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableByteCol_nulval" "', argument " "1"" of type '" "GFitsTableByteCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableByteCol_nulval" "', argument "
"1"" of type '" "GFitsTableByteCol *""'"); goto fail; } while
(0)
;
39043 }
39044 arg1 = reinterpret_cast< GFitsTableByteCol * >(argp1);
39045 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_char, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[53]
, 0 | 0, 0)
;
39046 if (!SWIG_IsOK(res2)(res2 >= 0)) {
39047 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsTableByteCol_nulval" "', argument " "2"" of type '" "unsigned char const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsTableByteCol_nulval" "', argument "
"2"" of type '" "unsigned char const *""'"); goto fail; } while
(0)
;
39048 }
39049 arg2 = reinterpret_cast< unsigned char * >(argp2);
39050 {
39051 try {
39052 (arg1)->nulval((unsigned char const *)arg2);
39053 }
39054 catch (const GException::out_of_range& e) {
39055 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
39056 }
39057 catch (const GExceptionHandler& e) {
39058 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39059 }
39060 catch (const std::exception& e) {
39061 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39062 }
39063 }
39064 resultobj = SWIG_Py_Void();
39065 return resultobj;
39066fail:
39067 return NULL__null;
39068}
39069
39070
39071SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableByteCol_nulval(PyObject *self, PyObject *args) {
39072 int argc;
39073 PyObject *argv[3];
39074 int ii;
39075
39076 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
39077 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
39078 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
39079 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
39080 }
39081 if (argc == 1) {
39082 int _v;
39083 void *vptr = 0;
39084 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableByteCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[21
], 0, 0)
;
39085 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
39086 if (_v) {
39087 return _wrap_GFitsTableByteCol_nulval__SWIG_0(self, args);
39088 }
39089 }
39090 if (argc == 2) {
39091 int _v;
39092 void *vptr = 0;
39093 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableByteCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[21
], 0, 0)
;
39094 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
39095 if (_v) {
39096 void *vptr = 0;
39097 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_char, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[53
], 0, 0)
;
39098 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
39099 if (_v) {
39100 return _wrap_GFitsTableByteCol_nulval__SWIG_1(self, args);
39101 }
39102 }
39103 }
39104
39105fail:
39106 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableByteCol_nulval'.\n"
39107 " Possible C/C++ prototypes are:\n"
39108 " GFitsTableByteCol::nulval()\n"
39109 " GFitsTableByteCol::nulval(unsigned char const *)\n");
39110 return 0;
39111}
39112
39113
39114SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableByteCol___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39115 PyObject *resultobj = 0;
39116 GFitsTableByteCol *arg1 = (GFitsTableByteCol *) 0 ;
39117 int *arg2 ;
39118 void *argp1 = 0 ;
39119 int res1 = 0 ;
39120 int temp2[3] ;
39121 PyObject * obj0 = 0 ;
39122 PyObject * obj1 = 0 ;
39123 unsigned char result;
39124
39125 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableByteCol___getitem__",&obj0,&obj1)) SWIG_failgoto fail;
39126 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableByteCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0 | 0, 0)
;
39127 if (!SWIG_IsOK(res1)(res1 >= 0)) {
39128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableByteCol___getitem__" "', argument " "1"" of type '" "GFitsTableByteCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableByteCol___getitem__"
"', argument " "1"" of type '" "GFitsTableByteCol *""'"); goto
fail; } while(0)
;
39129 }
39130 arg1 = reinterpret_cast< GFitsTableByteCol * >(argp1);
39131 {
39132 if (!table_column_tuple(obj1,temp2)) {
39133 return NULL__null;
39134 }
39135 arg2 = &temp2[0];
39136 }
39137 {
39138 try {
39139 result = (unsigned char)GFitsTableByteCol___getitem__(arg1,arg2);
39140 }
39141 catch (const GException::out_of_range& e) {
39142 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
39143 }
39144 catch (const GExceptionHandler& e) {
39145 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39146 }
39147 catch (const std::exception& e) {
39148 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39149 }
39150 }
39151 resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result));
39152 return resultobj;
39153fail:
39154 return NULL__null;
39155}
39156
39157
39158SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableByteCol___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39159 PyObject *resultobj = 0;
39160 GFitsTableByteCol *arg1 = (GFitsTableByteCol *) 0 ;
39161 int *arg2 ;
39162 unsigned char arg3 ;
39163 void *argp1 = 0 ;
39164 int res1 = 0 ;
39165 int temp2[3] ;
39166 unsigned char val3 ;
39167 int ecode3 = 0 ;
39168 PyObject * obj0 = 0 ;
39169 PyObject * obj1 = 0 ;
39170 PyObject * obj2 = 0 ;
39171
39172 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableByteCol___setitem__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
39173 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableByteCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0 | 0, 0)
;
39174 if (!SWIG_IsOK(res1)(res1 >= 0)) {
39175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableByteCol___setitem__" "', argument " "1"" of type '" "GFitsTableByteCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableByteCol___setitem__"
"', argument " "1"" of type '" "GFitsTableByteCol *""'"); goto
fail; } while(0)
;
39176 }
39177 arg1 = reinterpret_cast< GFitsTableByteCol * >(argp1);
39178 {
39179 if (!table_column_tuple(obj1,temp2)) {
39180 return NULL__null;
39181 }
39182 arg2 = &temp2[0];
39183 }
39184 ecode3 = SWIG_AsVal_unsigned_SS_char(obj2, &val3);
39185 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
39186 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableByteCol___setitem__" "', argument " "3"" of type '" "unsigned char""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableByteCol___setitem__"
"', argument " "3"" of type '" "unsigned char""'"); goto fail
; } while(0)
;
39187 }
39188 arg3 = static_cast< unsigned char >(val3);
39189 {
39190 try {
39191 GFitsTableByteCol___setitem__(arg1,arg2,arg3);
39192 }
39193 catch (const GException::out_of_range& e) {
39194 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
39195 }
39196 catch (const GExceptionHandler& e) {
39197 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39198 }
39199 catch (const std::exception& e) {
39200 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39201 }
39202 }
39203 resultobj = SWIG_Py_Void();
39204 return resultobj;
39205fail:
39206 return NULL__null;
39207}
39208
39209
39210SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableByteCol_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39211 PyObject *resultobj = 0;
39212 GFitsTableByteCol *arg1 = (GFitsTableByteCol *) 0 ;
39213 void *argp1 = 0 ;
39214 int res1 = 0 ;
39215 PyObject * obj0 = 0 ;
39216 GFitsTableByteCol result;
39217
39218 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableByteCol_copy",&obj0)) SWIG_failgoto fail;
39219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableByteCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[21]
, 0 | 0, 0)
;
39220 if (!SWIG_IsOK(res1)(res1 >= 0)) {
39221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableByteCol_copy" "', argument " "1"" of type '" "GFitsTableByteCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableByteCol_copy" "', argument "
"1"" of type '" "GFitsTableByteCol *""'"); goto fail; } while
(0)
;
39222 }
39223 arg1 = reinterpret_cast< GFitsTableByteCol * >(argp1);
39224 {
39225 try {
39226 result = GFitsTableByteCol_copy(arg1);
39227 }
39228 catch (const GException::out_of_range& e) {
39229 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
39230 }
39231 catch (const GExceptionHandler& e) {
39232 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39233 }
39234 catch (const std::exception& e) {
39235 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39236 }
39237 }
39238 resultobj = SWIG_NewPointerObj((new GFitsTableByteCol(static_cast< const GFitsTableByteCol& >(result))), SWIGTYPE_p_GFitsTableByteCol, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GFitsTableByteCol(static_cast
< const GFitsTableByteCol& >(result))), swig_types[
21], 0x1 | 0)
;
39239 return resultobj;
39240fail:
39241 return NULL__null;
39242}
39243
39244
39245SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GFitsTableByteCol_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39246 PyObject *obj;
39247 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
39248 SWIG_TypeNewClientData(SWIGTYPE_p_GFitsTableByteColswig_types[21], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
39249 return SWIG_Py_Void();
39250}
39251
39252SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableBoolCol__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39253 PyObject *resultobj = 0;
39254 GFitsTableBoolCol *result = 0 ;
39255
39256 if (!PyArg_ParseTuple(args,(char *)":new_GFitsTableBoolCol")) SWIG_failgoto fail;
39257 {
39258 try {
39259 result = (GFitsTableBoolCol *)new GFitsTableBoolCol();
39260 }
39261 catch (const GException::out_of_range& e) {
39262 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
39263 }
39264 catch (const GExceptionHandler& e) {
39265 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39266 }
39267 catch (const std::exception& e) {
39268 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39269 }
39270 }
39271 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableBoolCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[20], (
(0x1 << 1) | 0x1) | 0)
;
39272 return resultobj;
39273fail:
39274 return NULL__null;
39275}
39276
39277
39278SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableBoolCol__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39279 PyObject *resultobj = 0;
39280 std::string *arg1 = 0 ;
39281 int *arg2 = 0 ;
39282 int *arg3 = 0 ;
39283 int res1 = SWIG_OLDOBJ((0)) ;
39284 int temp2 ;
39285 int val2 ;
39286 int ecode2 = 0 ;
39287 int temp3 ;
39288 int val3 ;
39289 int ecode3 = 0 ;
39290 PyObject * obj0 = 0 ;
39291 PyObject * obj1 = 0 ;
39292 PyObject * obj2 = 0 ;
39293 GFitsTableBoolCol *result = 0 ;
39294
39295 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GFitsTableBoolCol",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
39296 {
39297 std::string *ptr = (std::string *)0;
39298 res1 = SWIG_AsPtr_std_string(obj0, &ptr);
39299 if (!SWIG_IsOK(res1)(res1 >= 0)) {
39300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsTableBoolCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsTableBoolCol" "', argument "
"1"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
39301 }
39302 if (!ptr) {
39303 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsTableBoolCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsTableBoolCol" "', argument " "1"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
39304 }
39305 arg1 = ptr;
39306 }
39307 ecode2 = SWIG_AsVal_int(obj1, &val2);
39308 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
39309 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsTableBoolCol" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsTableBoolCol"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
39310 }
39311 temp2 = static_cast< int >(val2);
39312 arg2 = &temp2;
39313 ecode3 = SWIG_AsVal_int(obj2, &val3);
39314 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
39315 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsTableBoolCol" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsTableBoolCol"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
39316 }
39317 temp3 = static_cast< int >(val3);
39318 arg3 = &temp3;
39319 {
39320 try {
39321 result = (GFitsTableBoolCol *)new GFitsTableBoolCol((std::string const &)*arg1,(int const &)*arg2,(int const &)*arg3);
39322 }
39323 catch (const GException::out_of_range& e) {
39324 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
39325 }
39326 catch (const GExceptionHandler& e) {
39327 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39328 }
39329 catch (const std::exception& e) {
39330 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39331 }
39332 }
39333 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableBoolCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[20], (
(0x1 << 1) | 0x1) | 0)
;
39334 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
39335 return resultobj;
39336fail:
39337 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
39338 return NULL__null;
39339}
39340
39341
39342SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableBoolCol__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39343 PyObject *resultobj = 0;
39344 std::string *arg1 = 0 ;
39345 int *arg2 = 0 ;
39346 int res1 = SWIG_OLDOBJ((0)) ;
39347 int temp2 ;
39348 int val2 ;
39349 int ecode2 = 0 ;
39350 PyObject * obj0 = 0 ;
39351 PyObject * obj1 = 0 ;
39352 GFitsTableBoolCol *result = 0 ;
39353
39354 if (!PyArg_ParseTuple(args,(char *)"OO:new_GFitsTableBoolCol",&obj0,&obj1)) SWIG_failgoto fail;
39355 {
39356 std::string *ptr = (std::string *)0;
39357 res1 = SWIG_AsPtr_std_string(obj0, &ptr);
39358 if (!SWIG_IsOK(res1)(res1 >= 0)) {
39359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsTableBoolCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsTableBoolCol" "', argument "
"1"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
39360 }
39361 if (!ptr) {
39362 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsTableBoolCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsTableBoolCol" "', argument " "1"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
39363 }
39364 arg1 = ptr;
39365 }
39366 ecode2 = SWIG_AsVal_int(obj1, &val2);
39367 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
39368 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsTableBoolCol" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsTableBoolCol"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
39369 }
39370 temp2 = static_cast< int >(val2);
39371 arg2 = &temp2;
39372 {
39373 try {
39374 result = (GFitsTableBoolCol *)new GFitsTableBoolCol((std::string const &)*arg1,(int const &)*arg2);
39375 }
39376 catch (const GException::out_of_range& e) {
39377 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
39378 }
39379 catch (const GExceptionHandler& e) {
39380 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39381 }
39382 catch (const std::exception& e) {
39383 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39384 }
39385 }
39386 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableBoolCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[20], (
(0x1 << 1) | 0x1) | 0)
;
39387 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
39388 return resultobj;
39389fail:
39390 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
39391 return NULL__null;
39392}
39393
39394
39395SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableBoolCol__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39396 PyObject *resultobj = 0;
39397 GFitsTableBoolCol *arg1 = 0 ;
39398 void *argp1 = 0 ;
39399 int res1 = 0 ;
39400 PyObject * obj0 = 0 ;
39401 GFitsTableBoolCol *result = 0 ;
39402
39403 if (!PyArg_ParseTuple(args,(char *)"O:new_GFitsTableBoolCol",&obj0)) SWIG_failgoto fail;
39404 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GFitsTableBoolCol, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[20]
, 0 | 0, 0)
;
39405 if (!SWIG_IsOK(res1)(res1 >= 0)) {
39406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsTableBoolCol" "', argument " "1"" of type '" "GFitsTableBoolCol const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsTableBoolCol" "', argument "
"1"" of type '" "GFitsTableBoolCol const &""'"); goto fail
; } while(0)
;
39407 }
39408 if (!argp1) {
39409 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsTableBoolCol" "', argument " "1"" of type '" "GFitsTableBoolCol const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsTableBoolCol" "', argument " "1"" of type '"
"GFitsTableBoolCol const &""'"); goto fail; } while(0)
;
39410 }
39411 arg1 = reinterpret_cast< GFitsTableBoolCol * >(argp1);
39412 {
39413 try {
39414 result = (GFitsTableBoolCol *)new GFitsTableBoolCol((GFitsTableBoolCol const &)*arg1);
39415 }
39416 catch (const GException::out_of_range& e) {
39417 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
39418 }
39419 catch (const GExceptionHandler& e) {
39420 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39421 }
39422 catch (const std::exception& e) {
39423 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39424 }
39425 }
39426 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableBoolCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[20], (
(0x1 << 1) | 0x1) | 0)
;
39427 return resultobj;
39428fail:
39429 return NULL__null;
39430}
39431
39432
39433SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableBoolCol(PyObject *self, PyObject *args) {
39434 int argc;
39435 PyObject *argv[4];
39436 int ii;
39437
39438 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
39439 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
39440 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
39441 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
39442 }
39443 if (argc == 0) {
39444 return _wrap_new_GFitsTableBoolCol__SWIG_0(self, args);
39445 }
39446 if (argc == 1) {
39447 int _v;
39448 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GFitsTableBoolCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[20], 0, 0
)
;
39449 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
39450 if (_v) {
39451 return _wrap_new_GFitsTableBoolCol__SWIG_3(self, args);
39452 }
39453 }
39454 if (argc == 2) {
39455 int _v;
39456 int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
39457 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
39458 if (_v) {
39459 {
39460 int res = SWIG_AsVal_int(argv[1], NULL__null);
39461 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
39462 }
39463 if (_v) {
39464 return _wrap_new_GFitsTableBoolCol__SWIG_2(self, args);
39465 }
39466 }
39467 }
39468 if (argc == 3) {
39469 int _v;
39470 int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
39471 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
39472 if (_v) {
39473 {
39474 int res = SWIG_AsVal_int(argv[1], NULL__null);
39475 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
39476 }
39477 if (_v) {
39478 {
39479 int res = SWIG_AsVal_int(argv[2], NULL__null);
39480 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
39481 }
39482 if (_v) {
39483 return _wrap_new_GFitsTableBoolCol__SWIG_1(self, args);
39484 }
39485 }
39486 }
39487 }
39488
39489fail:
39490 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GFitsTableBoolCol'.\n"
39491 " Possible C/C++ prototypes are:\n"
39492 " GFitsTableBoolCol::GFitsTableBoolCol()\n"
39493 " GFitsTableBoolCol::GFitsTableBoolCol(std::string const &,int const &,int const &)\n"
39494 " GFitsTableBoolCol::GFitsTableBoolCol(std::string const &,int const &)\n"
39495 " GFitsTableBoolCol::GFitsTableBoolCol(GFitsTableBoolCol const &)\n");
39496 return 0;
39497}
39498
39499
39500SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GFitsTableBoolCol(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39501 PyObject *resultobj = 0;
39502 GFitsTableBoolCol *arg1 = (GFitsTableBoolCol *) 0 ;
39503 void *argp1 = 0 ;
39504 int res1 = 0 ;
39505 PyObject * obj0 = 0 ;
39506
39507 if (!PyArg_ParseTuple(args,(char *)"O:delete_GFitsTableBoolCol",&obj0)) SWIG_failgoto fail;
39508 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableBoolCol, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[20]
, 0x1 | 0, 0)
;
39509 if (!SWIG_IsOK(res1)(res1 >= 0)) {
39510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GFitsTableBoolCol" "', argument " "1"" of type '" "GFitsTableBoolCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GFitsTableBoolCol" "', argument "
"1"" of type '" "GFitsTableBoolCol *""'"); goto fail; } while
(0)
;
39511 }
39512 arg1 = reinterpret_cast< GFitsTableBoolCol * >(argp1);
39513 {
39514 try {
39515 delete arg1;
39516 }
39517 catch (const GException::out_of_range& e) {
39518 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
39519 }
39520 catch (const GExceptionHandler& e) {
39521 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39522 }
39523 catch (const std::exception& e) {
39524 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39525 }
39526 }
39527 resultobj = SWIG_Py_Void();
39528 return resultobj;
39529fail:
39530 return NULL__null;
39531}
39532
39533
39534SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableBoolCol_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39535 PyObject *resultobj = 0;
39536 GFitsTableBoolCol *arg1 = (GFitsTableBoolCol *) 0 ;
39537 void *argp1 = 0 ;
39538 int res1 = 0 ;
39539 PyObject * obj0 = 0 ;
39540
39541 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableBoolCol_clear",&obj0)) SWIG_failgoto fail;
39542 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableBoolCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[20]
, 0 | 0, 0)
;
39543 if (!SWIG_IsOK(res1)(res1 >= 0)) {
39544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableBoolCol_clear" "', argument " "1"" of type '" "GFitsTableBoolCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableBoolCol_clear" "', argument "
"1"" of type '" "GFitsTableBoolCol *""'"); goto fail; } while
(0)
;
39545 }
39546 arg1 = reinterpret_cast< GFitsTableBoolCol * >(argp1);
39547 {
39548 try {
39549 (arg1)->clear();
39550 }
39551 catch (const GException::out_of_range& e) {
39552 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
39553 }
39554 catch (const GExceptionHandler& e) {
39555 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39556 }
39557 catch (const std::exception& e) {
39558 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39559 }
39560 }
39561 resultobj = SWIG_Py_Void();
39562 return resultobj;
39563fail:
39564 return NULL__null;
39565}
39566
39567
39568SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableBoolCol_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39569 PyObject *resultobj = 0;
39570 GFitsTableBoolCol *arg1 = (GFitsTableBoolCol *) 0 ;
39571 void *argp1 = 0 ;
39572 int res1 = 0 ;
39573 PyObject * obj0 = 0 ;
39574 GFitsTableBoolCol *result = 0 ;
39575
39576 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableBoolCol_clone",&obj0)) SWIG_failgoto fail;
39577 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableBoolCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[20]
, 0 | 0, 0)
;
39578 if (!SWIG_IsOK(res1)(res1 >= 0)) {
39579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableBoolCol_clone" "', argument " "1"" of type '" "GFitsTableBoolCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableBoolCol_clone" "', argument "
"1"" of type '" "GFitsTableBoolCol const *""'"); goto fail; }
while(0)
;
39580 }
39581 arg1 = reinterpret_cast< GFitsTableBoolCol * >(argp1);
39582 {
39583 try {
39584 result = (GFitsTableBoolCol *)((GFitsTableBoolCol const *)arg1)->clone();
39585 }
39586 catch (const GException::out_of_range& e) {
39587 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
39588 }
39589 catch (const GExceptionHandler& e) {
39590 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39591 }
39592 catch (const std::exception& e) {
39593 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39594 }
39595 }
39596 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableBoolCol, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[20], 0
| 0)
;
39597 return resultobj;
39598fail:
39599 return NULL__null;
39600}
39601
39602
39603SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableBoolCol_string__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39604 PyObject *resultobj = 0;
39605 GFitsTableBoolCol *arg1 = (GFitsTableBoolCol *) 0 ;
39606 int *arg2 = 0 ;
39607 int *arg3 = 0 ;
39608 void *argp1 = 0 ;
39609 int res1 = 0 ;
39610 int temp2 ;
39611 int val2 ;
39612 int ecode2 = 0 ;
39613 int temp3 ;
39614 int val3 ;
39615 int ecode3 = 0 ;
39616 PyObject * obj0 = 0 ;
39617 PyObject * obj1 = 0 ;
39618 PyObject * obj2 = 0 ;
39619 std::string result;
39620
39621 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableBoolCol_string",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
39622 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableBoolCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[20]
, 0 | 0, 0)
;
39623 if (!SWIG_IsOK(res1)(res1 >= 0)) {
39624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableBoolCol_string" "', argument " "1"" of type '" "GFitsTableBoolCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableBoolCol_string" "', argument "
"1"" of type '" "GFitsTableBoolCol const *""'"); goto fail; }
while(0)
;
39625 }
39626 arg1 = reinterpret_cast< GFitsTableBoolCol * >(argp1);
39627 ecode2 = SWIG_AsVal_int(obj1, &val2);
39628 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
39629 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableBoolCol_string" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableBoolCol_string"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
39630 }
39631 temp2 = static_cast< int >(val2);
39632 arg2 = &temp2;
39633 ecode3 = SWIG_AsVal_int(obj2, &val3);
39634 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
39635 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableBoolCol_string" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableBoolCol_string"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
39636 }
39637 temp3 = static_cast< int >(val3);
39638 arg3 = &temp3;
39639 {
39640 try {
39641 result = ((GFitsTableBoolCol const *)arg1)->string((int const &)*arg2,(int const &)*arg3);
39642 }
39643 catch (const GException::out_of_range& e) {
39644 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
39645 }
39646 catch (const GExceptionHandler& e) {
39647 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39648 }
39649 catch (const std::exception& e) {
39650 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39651 }
39652 }
39653 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
39654 return resultobj;
39655fail:
39656 return NULL__null;
39657}
39658
39659
39660SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableBoolCol_string__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39661 PyObject *resultobj = 0;
39662 GFitsTableBoolCol *arg1 = (GFitsTableBoolCol *) 0 ;
39663 int *arg2 = 0 ;
39664 void *argp1 = 0 ;
39665 int res1 = 0 ;
39666 int temp2 ;
39667 int val2 ;
39668 int ecode2 = 0 ;
39669 PyObject * obj0 = 0 ;
39670 PyObject * obj1 = 0 ;
39671 std::string result;
39672
39673 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableBoolCol_string",&obj0,&obj1)) SWIG_failgoto fail;
39674 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableBoolCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[20]
, 0 | 0, 0)
;
39675 if (!SWIG_IsOK(res1)(res1 >= 0)) {
39676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableBoolCol_string" "', argument " "1"" of type '" "GFitsTableBoolCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableBoolCol_string" "', argument "
"1"" of type '" "GFitsTableBoolCol const *""'"); goto fail; }
while(0)
;
39677 }
39678 arg1 = reinterpret_cast< GFitsTableBoolCol * >(argp1);
39679 ecode2 = SWIG_AsVal_int(obj1, &val2);
39680 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
39681 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableBoolCol_string" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableBoolCol_string"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
39682 }
39683 temp2 = static_cast< int >(val2);
39684 arg2 = &temp2;
39685 {
39686 try {
39687 result = ((GFitsTableBoolCol const *)arg1)->string((int const &)*arg2);
39688 }
39689 catch (const GException::out_of_range& e) {
39690 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
39691 }
39692 catch (const GExceptionHandler& e) {
39693 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39694 }
39695 catch (const std::exception& e) {
39696 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39697 }
39698 }
39699 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
39700 return resultobj;
39701fail:
39702 return NULL__null;
39703}
39704
39705
39706SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableBoolCol_string(PyObject *self, PyObject *args) {
39707 int argc;
39708 PyObject *argv[4];
39709 int ii;
39710
39711 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
39712 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
39713 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
39714 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
39715 }
39716 if (argc == 2) {
39717 int _v;
39718 void *vptr = 0;
39719 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableBoolCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[20
], 0, 0)
;
39720 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
39721 if (_v) {
39722 {
39723 int res = SWIG_AsVal_int(argv[1], NULL__null);
39724 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
39725 }
39726 if (_v) {
39727 return _wrap_GFitsTableBoolCol_string__SWIG_1(self, args);
39728 }
39729 }
39730 }
39731 if (argc == 3) {
39732 int _v;
39733 void *vptr = 0;
39734 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableBoolCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[20
], 0, 0)
;
39735 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
39736 if (_v) {
39737 {
39738 int res = SWIG_AsVal_int(argv[1], NULL__null);
39739 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
39740 }
39741 if (_v) {
39742 {
39743 int res = SWIG_AsVal_int(argv[2], NULL__null);
39744 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
39745 }
39746 if (_v) {
39747 return _wrap_GFitsTableBoolCol_string__SWIG_0(self, args);
39748 }
39749 }
39750 }
39751 }
39752
39753fail:
39754 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableBoolCol_string'.\n"
39755 " Possible C/C++ prototypes are:\n"
39756 " GFitsTableBoolCol::string(int const &,int const &) const\n"
39757 " GFitsTableBoolCol::string(int const &) const\n");
39758 return 0;
39759}
39760
39761
39762SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableBoolCol_real__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39763 PyObject *resultobj = 0;
39764 GFitsTableBoolCol *arg1 = (GFitsTableBoolCol *) 0 ;
39765 int *arg2 = 0 ;
39766 int *arg3 = 0 ;
39767 void *argp1 = 0 ;
39768 int res1 = 0 ;
39769 int temp2 ;
39770 int val2 ;
39771 int ecode2 = 0 ;
39772 int temp3 ;
39773 int val3 ;
39774 int ecode3 = 0 ;
39775 PyObject * obj0 = 0 ;
39776 PyObject * obj1 = 0 ;
39777 PyObject * obj2 = 0 ;
39778 double result;
39779
39780 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableBoolCol_real",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
39781 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableBoolCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[20]
, 0 | 0, 0)
;
39782 if (!SWIG_IsOK(res1)(res1 >= 0)) {
39783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableBoolCol_real" "', argument " "1"" of type '" "GFitsTableBoolCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableBoolCol_real" "', argument "
"1"" of type '" "GFitsTableBoolCol const *""'"); goto fail; }
while(0)
;
39784 }
39785 arg1 = reinterpret_cast< GFitsTableBoolCol * >(argp1);
39786 ecode2 = SWIG_AsVal_int(obj1, &val2);
39787 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
39788 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableBoolCol_real" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableBoolCol_real"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
39789 }
39790 temp2 = static_cast< int >(val2);
39791 arg2 = &temp2;
39792 ecode3 = SWIG_AsVal_int(obj2, &val3);
39793 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
39794 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableBoolCol_real" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableBoolCol_real"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
39795 }
39796 temp3 = static_cast< int >(val3);
39797 arg3 = &temp3;
39798 {
39799 try {
39800 result = (double)((GFitsTableBoolCol const *)arg1)->real((int const &)*arg2,(int const &)*arg3);
39801 }
39802 catch (const GException::out_of_range& e) {
39803 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
39804 }
39805 catch (const GExceptionHandler& e) {
39806 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39807 }
39808 catch (const std::exception& e) {
39809 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39810 }
39811 }
39812 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
39813 return resultobj;
39814fail:
39815 return NULL__null;
39816}
39817
39818
39819SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableBoolCol_real__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39820 PyObject *resultobj = 0;
39821 GFitsTableBoolCol *arg1 = (GFitsTableBoolCol *) 0 ;
39822 int *arg2 = 0 ;
39823 void *argp1 = 0 ;
39824 int res1 = 0 ;
39825 int temp2 ;
39826 int val2 ;
39827 int ecode2 = 0 ;
39828 PyObject * obj0 = 0 ;
39829 PyObject * obj1 = 0 ;
39830 double result;
39831
39832 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableBoolCol_real",&obj0,&obj1)) SWIG_failgoto fail;
39833 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableBoolCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[20]
, 0 | 0, 0)
;
39834 if (!SWIG_IsOK(res1)(res1 >= 0)) {
39835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableBoolCol_real" "', argument " "1"" of type '" "GFitsTableBoolCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableBoolCol_real" "', argument "
"1"" of type '" "GFitsTableBoolCol const *""'"); goto fail; }
while(0)
;
39836 }
39837 arg1 = reinterpret_cast< GFitsTableBoolCol * >(argp1);
39838 ecode2 = SWIG_AsVal_int(obj1, &val2);
39839 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
39840 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableBoolCol_real" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableBoolCol_real"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
39841 }
39842 temp2 = static_cast< int >(val2);
39843 arg2 = &temp2;
39844 {
39845 try {
39846 result = (double)((GFitsTableBoolCol const *)arg1)->real((int const &)*arg2);
39847 }
39848 catch (const GException::out_of_range& e) {
39849 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
39850 }
39851 catch (const GExceptionHandler& e) {
39852 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39853 }
39854 catch (const std::exception& e) {
39855 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39856 }
39857 }
39858 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
39859 return resultobj;
39860fail:
39861 return NULL__null;
39862}
39863
39864
39865SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableBoolCol_real(PyObject *self, PyObject *args) {
39866 int argc;
39867 PyObject *argv[4];
39868 int ii;
39869
39870 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
39871 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
39872 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
39873 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
39874 }
39875 if (argc == 2) {
39876 int _v;
39877 void *vptr = 0;
39878 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableBoolCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[20
], 0, 0)
;
39879 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
39880 if (_v) {
39881 {
39882 int res = SWIG_AsVal_int(argv[1], NULL__null);
39883 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
39884 }
39885 if (_v) {
39886 return _wrap_GFitsTableBoolCol_real__SWIG_1(self, args);
39887 }
39888 }
39889 }
39890 if (argc == 3) {
39891 int _v;
39892 void *vptr = 0;
39893 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableBoolCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[20
], 0, 0)
;
39894 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
39895 if (_v) {
39896 {
39897 int res = SWIG_AsVal_int(argv[1], NULL__null);
39898 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
39899 }
39900 if (_v) {
39901 {
39902 int res = SWIG_AsVal_int(argv[2], NULL__null);
39903 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
39904 }
39905 if (_v) {
39906 return _wrap_GFitsTableBoolCol_real__SWIG_0(self, args);
39907 }
39908 }
39909 }
39910 }
39911
39912fail:
39913 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableBoolCol_real'.\n"
39914 " Possible C/C++ prototypes are:\n"
39915 " GFitsTableBoolCol::real(int const &,int const &) const\n"
39916 " GFitsTableBoolCol::real(int const &) const\n");
39917 return 0;
39918}
39919
39920
39921SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableBoolCol_integer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39922 PyObject *resultobj = 0;
39923 GFitsTableBoolCol *arg1 = (GFitsTableBoolCol *) 0 ;
39924 int *arg2 = 0 ;
39925 int *arg3 = 0 ;
39926 void *argp1 = 0 ;
39927 int res1 = 0 ;
39928 int temp2 ;
39929 int val2 ;
39930 int ecode2 = 0 ;
39931 int temp3 ;
39932 int val3 ;
39933 int ecode3 = 0 ;
39934 PyObject * obj0 = 0 ;
39935 PyObject * obj1 = 0 ;
39936 PyObject * obj2 = 0 ;
39937 int result;
39938
39939 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableBoolCol_integer",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
39940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableBoolCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[20]
, 0 | 0, 0)
;
39941 if (!SWIG_IsOK(res1)(res1 >= 0)) {
39942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableBoolCol_integer" "', argument " "1"" of type '" "GFitsTableBoolCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableBoolCol_integer"
"', argument " "1"" of type '" "GFitsTableBoolCol const *""'"
); goto fail; } while(0)
;
39943 }
39944 arg1 = reinterpret_cast< GFitsTableBoolCol * >(argp1);
39945 ecode2 = SWIG_AsVal_int(obj1, &val2);
39946 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
39947 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableBoolCol_integer" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableBoolCol_integer"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
39948 }
39949 temp2 = static_cast< int >(val2);
39950 arg2 = &temp2;
39951 ecode3 = SWIG_AsVal_int(obj2, &val3);
39952 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
39953 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableBoolCol_integer" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableBoolCol_integer"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
39954 }
39955 temp3 = static_cast< int >(val3);
39956 arg3 = &temp3;
39957 {
39958 try {
39959 result = (int)((GFitsTableBoolCol const *)arg1)->integer((int const &)*arg2,(int const &)*arg3);
39960 }
39961 catch (const GException::out_of_range& e) {
39962 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
39963 }
39964 catch (const GExceptionHandler& e) {
39965 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39966 }
39967 catch (const std::exception& e) {
39968 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
39969 }
39970 }
39971 resultobj = SWIG_From_int(static_cast< int >(result));
39972 return resultobj;
39973fail:
39974 return NULL__null;
39975}
39976
39977
39978SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableBoolCol_integer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39979 PyObject *resultobj = 0;
39980 GFitsTableBoolCol *arg1 = (GFitsTableBoolCol *) 0 ;
39981 int *arg2 = 0 ;
39982 void *argp1 = 0 ;
39983 int res1 = 0 ;
39984 int temp2 ;
39985 int val2 ;
39986 int ecode2 = 0 ;
39987 PyObject * obj0 = 0 ;
39988 PyObject * obj1 = 0 ;
39989 int result;
39990
39991 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableBoolCol_integer",&obj0,&obj1)) SWIG_failgoto fail;
39992 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableBoolCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[20]
, 0 | 0, 0)
;
39993 if (!SWIG_IsOK(res1)(res1 >= 0)) {
39994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableBoolCol_integer" "', argument " "1"" of type '" "GFitsTableBoolCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableBoolCol_integer"
"', argument " "1"" of type '" "GFitsTableBoolCol const *""'"
); goto fail; } while(0)
;
39995 }
39996 arg1 = reinterpret_cast< GFitsTableBoolCol * >(argp1);
39997 ecode2 = SWIG_AsVal_int(obj1, &val2);
39998 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
39999 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableBoolCol_integer" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableBoolCol_integer"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
40000 }
40001 temp2 = static_cast< int >(val2);
40002 arg2 = &temp2;
40003 {
40004 try {
40005 result = (int)((GFitsTableBoolCol const *)arg1)->integer((int const &)*arg2);
40006 }
40007 catch (const GException::out_of_range& e) {
40008 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
40009 }
40010 catch (const GExceptionHandler& e) {
40011 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40012 }
40013 catch (const std::exception& e) {
40014 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40015 }
40016 }
40017 resultobj = SWIG_From_int(static_cast< int >(result));
40018 return resultobj;
40019fail:
40020 return NULL__null;
40021}
40022
40023
40024SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableBoolCol_integer(PyObject *self, PyObject *args) {
40025 int argc;
40026 PyObject *argv[4];
40027 int ii;
40028
40029 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
40030 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
40031 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
40032 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
40033 }
40034 if (argc == 2) {
40035 int _v;
40036 void *vptr = 0;
40037 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableBoolCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[20
], 0, 0)
;
40038 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
40039 if (_v) {
40040 {
40041 int res = SWIG_AsVal_int(argv[1], NULL__null);
40042 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
40043 }
40044 if (_v) {
40045 return _wrap_GFitsTableBoolCol_integer__SWIG_1(self, args);
40046 }
40047 }
40048 }
40049 if (argc == 3) {
40050 int _v;
40051 void *vptr = 0;
40052 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableBoolCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[20
], 0, 0)
;
40053 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
40054 if (_v) {
40055 {
40056 int res = SWIG_AsVal_int(argv[1], NULL__null);
40057 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
40058 }
40059 if (_v) {
40060 {
40061 int res = SWIG_AsVal_int(argv[2], NULL__null);
40062 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
40063 }
40064 if (_v) {
40065 return _wrap_GFitsTableBoolCol_integer__SWIG_0(self, args);
40066 }
40067 }
40068 }
40069 }
40070
40071fail:
40072 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableBoolCol_integer'.\n"
40073 " Possible C/C++ prototypes are:\n"
40074 " GFitsTableBoolCol::integer(int const &,int const &) const\n"
40075 " GFitsTableBoolCol::integer(int const &) const\n");
40076 return 0;
40077}
40078
40079
40080SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableBoolCol_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40081 PyObject *resultobj = 0;
40082 GFitsTableBoolCol *arg1 = (GFitsTableBoolCol *) 0 ;
40083 int *arg2 = 0 ;
40084 int *arg3 = 0 ;
40085 void *argp1 = 0 ;
40086 int res1 = 0 ;
40087 int temp2 ;
40088 int val2 ;
40089 int ecode2 = 0 ;
40090 int temp3 ;
40091 int val3 ;
40092 int ecode3 = 0 ;
40093 PyObject * obj0 = 0 ;
40094 PyObject * obj1 = 0 ;
40095 PyObject * obj2 = 0 ;
40096
40097 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableBoolCol_insert",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
40098 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableBoolCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[20]
, 0 | 0, 0)
;
40099 if (!SWIG_IsOK(res1)(res1 >= 0)) {
40100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableBoolCol_insert" "', argument " "1"" of type '" "GFitsTableBoolCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableBoolCol_insert" "', argument "
"1"" of type '" "GFitsTableBoolCol *""'"); goto fail; } while
(0)
;
40101 }
40102 arg1 = reinterpret_cast< GFitsTableBoolCol * >(argp1);
40103 ecode2 = SWIG_AsVal_int(obj1, &val2);
40104 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
40105 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableBoolCol_insert" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableBoolCol_insert"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
40106 }
40107 temp2 = static_cast< int >(val2);
40108 arg2 = &temp2;
40109 ecode3 = SWIG_AsVal_int(obj2, &val3);
40110 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
40111 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableBoolCol_insert" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableBoolCol_insert"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
40112 }
40113 temp3 = static_cast< int >(val3);
40114 arg3 = &temp3;
40115 {
40116 try {
40117 (arg1)->insert((int const &)*arg2,(int const &)*arg3);
40118 }
40119 catch (const GException::out_of_range& e) {
40120 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
40121 }
40122 catch (const GExceptionHandler& e) {
40123 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40124 }
40125 catch (const std::exception& e) {
40126 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40127 }
40128 }
40129 resultobj = SWIG_Py_Void();
40130 return resultobj;
40131fail:
40132 return NULL__null;
40133}
40134
40135
40136SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableBoolCol_remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40137 PyObject *resultobj = 0;
40138 GFitsTableBoolCol *arg1 = (GFitsTableBoolCol *) 0 ;
40139 int *arg2 = 0 ;
40140 int *arg3 = 0 ;
40141 void *argp1 = 0 ;
40142 int res1 = 0 ;
40143 int temp2 ;
40144 int val2 ;
40145 int ecode2 = 0 ;
40146 int temp3 ;
40147 int val3 ;
40148 int ecode3 = 0 ;
40149 PyObject * obj0 = 0 ;
40150 PyObject * obj1 = 0 ;
40151 PyObject * obj2 = 0 ;
40152
40153 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableBoolCol_remove",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
40154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableBoolCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[20]
, 0 | 0, 0)
;
40155 if (!SWIG_IsOK(res1)(res1 >= 0)) {
40156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableBoolCol_remove" "', argument " "1"" of type '" "GFitsTableBoolCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableBoolCol_remove" "', argument "
"1"" of type '" "GFitsTableBoolCol *""'"); goto fail; } while
(0)
;
40157 }
40158 arg1 = reinterpret_cast< GFitsTableBoolCol * >(argp1);
40159 ecode2 = SWIG_AsVal_int(obj1, &val2);
40160 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
40161 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableBoolCol_remove" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableBoolCol_remove"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
40162 }
40163 temp2 = static_cast< int >(val2);
40164 arg2 = &temp2;
40165 ecode3 = SWIG_AsVal_int(obj2, &val3);
40166 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
40167 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableBoolCol_remove" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableBoolCol_remove"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
40168 }
40169 temp3 = static_cast< int >(val3);
40170 arg3 = &temp3;
40171 {
40172 try {
40173 (arg1)->remove((int const &)*arg2,(int const &)*arg3);
40174 }
40175 catch (const GException::out_of_range& e) {
40176 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
40177 }
40178 catch (const GExceptionHandler& e) {
40179 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40180 }
40181 catch (const std::exception& e) {
40182 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40183 }
40184 }
40185 resultobj = SWIG_Py_Void();
40186 return resultobj;
40187fail:
40188 return NULL__null;
40189}
40190
40191
40192SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableBoolCol_isloaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40193 PyObject *resultobj = 0;
40194 GFitsTableBoolCol *arg1 = (GFitsTableBoolCol *) 0 ;
40195 void *argp1 = 0 ;
40196 int res1 = 0 ;
40197 PyObject * obj0 = 0 ;
40198 bool result;
40199
40200 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableBoolCol_isloaded",&obj0)) SWIG_failgoto fail;
40201 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableBoolCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[20]
, 0 | 0, 0)
;
40202 if (!SWIG_IsOK(res1)(res1 >= 0)) {
40203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableBoolCol_isloaded" "', argument " "1"" of type '" "GFitsTableBoolCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableBoolCol_isloaded"
"', argument " "1"" of type '" "GFitsTableBoolCol const *""'"
); goto fail; } while(0)
;
40204 }
40205 arg1 = reinterpret_cast< GFitsTableBoolCol * >(argp1);
40206 {
40207 try {
40208 result = (bool)((GFitsTableBoolCol const *)arg1)->isloaded();
40209 }
40210 catch (const GException::out_of_range& e) {
40211 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
40212 }
40213 catch (const GExceptionHandler& e) {
40214 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40215 }
40216 catch (const std::exception& e) {
40217 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40218 }
40219 }
40220 resultobj = SWIG_From_bool(static_cast< bool >(result));
40221 return resultobj;
40222fail:
40223 return NULL__null;
40224}
40225
40226
40227SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableBoolCol_data(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40228 PyObject *resultobj = 0;
40229 GFitsTableBoolCol *arg1 = (GFitsTableBoolCol *) 0 ;
40230 void *argp1 = 0 ;
40231 int res1 = 0 ;
40232 PyObject * obj0 = 0 ;
40233 bool *result = 0 ;
40234
40235 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableBoolCol_data",&obj0)) SWIG_failgoto fail;
40236 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableBoolCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[20]
, 0 | 0, 0)
;
40237 if (!SWIG_IsOK(res1)(res1 >= 0)) {
40238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableBoolCol_data" "', argument " "1"" of type '" "GFitsTableBoolCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableBoolCol_data" "', argument "
"1"" of type '" "GFitsTableBoolCol *""'"); goto fail; } while
(0)
;
40239 }
40240 arg1 = reinterpret_cast< GFitsTableBoolCol * >(argp1);
40241 {
40242 try {
40243 result = (bool *)(arg1)->data();
40244 }
40245 catch (const GException::out_of_range& e) {
40246 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
40247 }
40248 catch (const GExceptionHandler& e) {
40249 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40250 }
40251 catch (const std::exception& e) {
40252 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40253 }
40254 }
40255 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_bool, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[36], 0
| 0)
;
40256 return resultobj;
40257fail:
40258 return NULL__null;
40259}
40260
40261
40262SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableBoolCol_nulval__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40263 PyObject *resultobj = 0;
40264 GFitsTableBoolCol *arg1 = (GFitsTableBoolCol *) 0 ;
40265 void *argp1 = 0 ;
40266 int res1 = 0 ;
40267 PyObject * obj0 = 0 ;
40268 bool *result = 0 ;
40269
40270 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableBoolCol_nulval",&obj0)) SWIG_failgoto fail;
40271 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableBoolCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[20]
, 0 | 0, 0)
;
40272 if (!SWIG_IsOK(res1)(res1 >= 0)) {
40273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableBoolCol_nulval" "', argument " "1"" of type '" "GFitsTableBoolCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableBoolCol_nulval" "', argument "
"1"" of type '" "GFitsTableBoolCol *""'"); goto fail; } while
(0)
;
40274 }
40275 arg1 = reinterpret_cast< GFitsTableBoolCol * >(argp1);
40276 {
40277 try {
40278 result = (bool *)(arg1)->nulval();
40279 }
40280 catch (const GException::out_of_range& e) {
40281 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
40282 }
40283 catch (const GExceptionHandler& e) {
40284 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40285 }
40286 catch (const std::exception& e) {
40287 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40288 }
40289 }
40290 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_bool, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[36], 0
| 0)
;
40291 return resultobj;
40292fail:
40293 return NULL__null;
40294}
40295
40296
40297SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableBoolCol_nulval__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40298 PyObject *resultobj = 0;
40299 GFitsTableBoolCol *arg1 = (GFitsTableBoolCol *) 0 ;
40300 bool *arg2 = (bool *) 0 ;
40301 void *argp1 = 0 ;
40302 int res1 = 0 ;
40303 void *argp2 = 0 ;
40304 int res2 = 0 ;
40305 PyObject * obj0 = 0 ;
40306 PyObject * obj1 = 0 ;
40307
40308 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableBoolCol_nulval",&obj0,&obj1)) SWIG_failgoto fail;
40309 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableBoolCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[20]
, 0 | 0, 0)
;
40310 if (!SWIG_IsOK(res1)(res1 >= 0)) {
40311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableBoolCol_nulval" "', argument " "1"" of type '" "GFitsTableBoolCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableBoolCol_nulval" "', argument "
"1"" of type '" "GFitsTableBoolCol *""'"); goto fail; } while
(0)
;
40312 }
40313 arg1 = reinterpret_cast< GFitsTableBoolCol * >(argp1);
40314 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_bool, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[36]
, 0 | 0, 0)
;
40315 if (!SWIG_IsOK(res2)(res2 >= 0)) {
40316 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsTableBoolCol_nulval" "', argument " "2"" of type '" "bool const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsTableBoolCol_nulval" "', argument "
"2"" of type '" "bool const *""'"); goto fail; } while(0)
;
40317 }
40318 arg2 = reinterpret_cast< bool * >(argp2);
40319 {
40320 try {
40321 (arg1)->nulval((bool const *)arg2);
40322 }
40323 catch (const GException::out_of_range& e) {
40324 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
40325 }
40326 catch (const GExceptionHandler& e) {
40327 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40328 }
40329 catch (const std::exception& e) {
40330 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40331 }
40332 }
40333 resultobj = SWIG_Py_Void();
40334 return resultobj;
40335fail:
40336 return NULL__null;
40337}
40338
40339
40340SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableBoolCol_nulval(PyObject *self, PyObject *args) {
40341 int argc;
40342 PyObject *argv[3];
40343 int ii;
40344
40345 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
40346 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
40347 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
40348 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
40349 }
40350 if (argc == 1) {
40351 int _v;
40352 void *vptr = 0;
40353 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableBoolCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[20
], 0, 0)
;
40354 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
40355 if (_v) {
40356 return _wrap_GFitsTableBoolCol_nulval__SWIG_0(self, args);
40357 }
40358 }
40359 if (argc == 2) {
40360 int _v;
40361 void *vptr = 0;
40362 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableBoolCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[20
], 0, 0)
;
40363 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
40364 if (_v) {
40365 void *vptr = 0;
40366 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_bool, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[36
], 0, 0)
;
40367 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
40368 if (_v) {
40369 return _wrap_GFitsTableBoolCol_nulval__SWIG_1(self, args);
40370 }
40371 }
40372 }
40373
40374fail:
40375 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableBoolCol_nulval'.\n"
40376 " Possible C/C++ prototypes are:\n"
40377 " GFitsTableBoolCol::nulval()\n"
40378 " GFitsTableBoolCol::nulval(bool const *)\n");
40379 return 0;
40380}
40381
40382
40383SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableBoolCol___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40384 PyObject *resultobj = 0;
40385 GFitsTableBoolCol *arg1 = (GFitsTableBoolCol *) 0 ;
40386 int *arg2 ;
40387 void *argp1 = 0 ;
40388 int res1 = 0 ;
40389 int temp2[3] ;
40390 PyObject * obj0 = 0 ;
40391 PyObject * obj1 = 0 ;
40392 bool result;
40393
40394 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableBoolCol___getitem__",&obj0,&obj1)) SWIG_failgoto fail;
40395 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableBoolCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[20]
, 0 | 0, 0)
;
40396 if (!SWIG_IsOK(res1)(res1 >= 0)) {
40397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableBoolCol___getitem__" "', argument " "1"" of type '" "GFitsTableBoolCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableBoolCol___getitem__"
"', argument " "1"" of type '" "GFitsTableBoolCol *""'"); goto
fail; } while(0)
;
40398 }
40399 arg1 = reinterpret_cast< GFitsTableBoolCol * >(argp1);
40400 {
40401 if (!table_column_tuple(obj1,temp2)) {
40402 return NULL__null;
40403 }
40404 arg2 = &temp2[0];
40405 }
40406 {
40407 try {
40408 result = (bool)GFitsTableBoolCol___getitem__(arg1,arg2);
40409 }
40410 catch (const GException::out_of_range& e) {
40411 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
40412 }
40413 catch (const GExceptionHandler& e) {
40414 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40415 }
40416 catch (const std::exception& e) {
40417 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40418 }
40419 }
40420 resultobj = SWIG_From_bool(static_cast< bool >(result));
40421 return resultobj;
40422fail:
40423 return NULL__null;
40424}
40425
40426
40427SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableBoolCol___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40428 PyObject *resultobj = 0;
40429 GFitsTableBoolCol *arg1 = (GFitsTableBoolCol *) 0 ;
40430 int *arg2 ;
40431 bool arg3 ;
40432 void *argp1 = 0 ;
40433 int res1 = 0 ;
40434 int temp2[3] ;
40435 bool val3 ;
40436 int ecode3 = 0 ;
40437 PyObject * obj0 = 0 ;
40438 PyObject * obj1 = 0 ;
40439 PyObject * obj2 = 0 ;
40440
40441 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableBoolCol___setitem__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
40442 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableBoolCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[20]
, 0 | 0, 0)
;
40443 if (!SWIG_IsOK(res1)(res1 >= 0)) {
40444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableBoolCol___setitem__" "', argument " "1"" of type '" "GFitsTableBoolCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableBoolCol___setitem__"
"', argument " "1"" of type '" "GFitsTableBoolCol *""'"); goto
fail; } while(0)
;
40445 }
40446 arg1 = reinterpret_cast< GFitsTableBoolCol * >(argp1);
40447 {
40448 if (!table_column_tuple(obj1,temp2)) {
40449 return NULL__null;
40450 }
40451 arg2 = &temp2[0];
40452 }
40453 ecode3 = SWIG_AsVal_bool(obj2, &val3);
40454 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
40455 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableBoolCol___setitem__" "', argument " "3"" of type '" "bool""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableBoolCol___setitem__"
"', argument " "3"" of type '" "bool""'"); goto fail; } while
(0)
;
40456 }
40457 arg3 = static_cast< bool >(val3);
40458 {
40459 try {
40460 GFitsTableBoolCol___setitem__(arg1,arg2,arg3);
40461 }
40462 catch (const GException::out_of_range& e) {
40463 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
40464 }
40465 catch (const GExceptionHandler& e) {
40466 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40467 }
40468 catch (const std::exception& e) {
40469 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40470 }
40471 }
40472 resultobj = SWIG_Py_Void();
40473 return resultobj;
40474fail:
40475 return NULL__null;
40476}
40477
40478
40479SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableBoolCol_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40480 PyObject *resultobj = 0;
40481 GFitsTableBoolCol *arg1 = (GFitsTableBoolCol *) 0 ;
40482 void *argp1 = 0 ;
40483 int res1 = 0 ;
40484 PyObject * obj0 = 0 ;
40485 GFitsTableBoolCol result;
40486
40487 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableBoolCol_copy",&obj0)) SWIG_failgoto fail;
40488 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableBoolCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[20]
, 0 | 0, 0)
;
40489 if (!SWIG_IsOK(res1)(res1 >= 0)) {
40490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableBoolCol_copy" "', argument " "1"" of type '" "GFitsTableBoolCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableBoolCol_copy" "', argument "
"1"" of type '" "GFitsTableBoolCol *""'"); goto fail; } while
(0)
;
40491 }
40492 arg1 = reinterpret_cast< GFitsTableBoolCol * >(argp1);
40493 {
40494 try {
40495 result = GFitsTableBoolCol_copy(arg1);
40496 }
40497 catch (const GException::out_of_range& e) {
40498 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
40499 }
40500 catch (const GExceptionHandler& e) {
40501 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40502 }
40503 catch (const std::exception& e) {
40504 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40505 }
40506 }
40507 resultobj = SWIG_NewPointerObj((new GFitsTableBoolCol(static_cast< const GFitsTableBoolCol& >(result))), SWIGTYPE_p_GFitsTableBoolCol, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GFitsTableBoolCol(static_cast
< const GFitsTableBoolCol& >(result))), swig_types[
20], 0x1 | 0)
;
40508 return resultobj;
40509fail:
40510 return NULL__null;
40511}
40512
40513
40514SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GFitsTableBoolCol_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40515 PyObject *obj;
40516 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
40517 SWIG_TypeNewClientData(SWIGTYPE_p_GFitsTableBoolColswig_types[20], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
40518 return SWIG_Py_Void();
40519}
40520
40521SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableStringCol__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40522 PyObject *resultobj = 0;
40523 GFitsTableStringCol *result = 0 ;
40524
40525 if (!PyArg_ParseTuple(args,(char *)":new_GFitsTableStringCol")) SWIG_failgoto fail;
40526 {
40527 try {
40528 result = (GFitsTableStringCol *)new GFitsTableStringCol();
40529 }
40530 catch (const GException::out_of_range& e) {
40531 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
40532 }
40533 catch (const GExceptionHandler& e) {
40534 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40535 }
40536 catch (const std::exception& e) {
40537 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40538 }
40539 }
40540 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableStringCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[30], (
(0x1 << 1) | 0x1) | 0)
;
40541 return resultobj;
40542fail:
40543 return NULL__null;
40544}
40545
40546
40547SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableStringCol__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40548 PyObject *resultobj = 0;
40549 std::string *arg1 = 0 ;
40550 int *arg2 = 0 ;
40551 int *arg3 = 0 ;
40552 int *arg4 = 0 ;
40553 int res1 = SWIG_OLDOBJ((0)) ;
40554 int temp2 ;
40555 int val2 ;
40556 int ecode2 = 0 ;
40557 int temp3 ;
40558 int val3 ;
40559 int ecode3 = 0 ;
40560 int temp4 ;
40561 int val4 ;
40562 int ecode4 = 0 ;
40563 PyObject * obj0 = 0 ;
40564 PyObject * obj1 = 0 ;
40565 PyObject * obj2 = 0 ;
40566 PyObject * obj3 = 0 ;
40567 GFitsTableStringCol *result = 0 ;
40568
40569 if (!PyArg_ParseTuple(args,(char *)"OOOO:new_GFitsTableStringCol",&obj0,&obj1,&obj2,&obj3)) SWIG_failgoto fail;
40570 {
40571 std::string *ptr = (std::string *)0;
40572 res1 = SWIG_AsPtr_std_string(obj0, &ptr);
40573 if (!SWIG_IsOK(res1)(res1 >= 0)) {
40574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsTableStringCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsTableStringCol" "', argument "
"1"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
40575 }
40576 if (!ptr) {
40577 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsTableStringCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsTableStringCol" "', argument " "1"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
40578 }
40579 arg1 = ptr;
40580 }
40581 ecode2 = SWIG_AsVal_int(obj1, &val2);
40582 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
40583 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsTableStringCol" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsTableStringCol"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
40584 }
40585 temp2 = static_cast< int >(val2);
40586 arg2 = &temp2;
40587 ecode3 = SWIG_AsVal_int(obj2, &val3);
40588 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
40589 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsTableStringCol" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsTableStringCol"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
40590 }
40591 temp3 = static_cast< int >(val3);
40592 arg3 = &temp3;
40593 ecode4 = SWIG_AsVal_int(obj3, &val4);
40594 if (!SWIG_IsOK(ecode4)(ecode4 >= 0)) {
40595 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_GFitsTableStringCol" "', argument " "4"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode4 !=
(-1)) ? ecode4 : -5)), "in method '" "new_GFitsTableStringCol"
"', argument " "4"" of type '" "int""'"); goto fail; } while
(0)
;
40596 }
40597 temp4 = static_cast< int >(val4);
40598 arg4 = &temp4;
40599 {
40600 try {
40601 result = (GFitsTableStringCol *)new GFitsTableStringCol((std::string const &)*arg1,(int const &)*arg2,(int const &)*arg3,(int const &)*arg4);
40602 }
40603 catch (const GException::out_of_range& e) {
40604 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
40605 }
40606 catch (const GExceptionHandler& e) {
40607 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40608 }
40609 catch (const std::exception& e) {
40610 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40611 }
40612 }
40613 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableStringCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[30], (
(0x1 << 1) | 0x1) | 0)
;
40614 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
40615 return resultobj;
40616fail:
40617 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
40618 return NULL__null;
40619}
40620
40621
40622SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableStringCol__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40623 PyObject *resultobj = 0;
40624 std::string *arg1 = 0 ;
40625 int *arg2 = 0 ;
40626 int *arg3 = 0 ;
40627 int res1 = SWIG_OLDOBJ((0)) ;
40628 int temp2 ;
40629 int val2 ;
40630 int ecode2 = 0 ;
40631 int temp3 ;
40632 int val3 ;
40633 int ecode3 = 0 ;
40634 PyObject * obj0 = 0 ;
40635 PyObject * obj1 = 0 ;
40636 PyObject * obj2 = 0 ;
40637 GFitsTableStringCol *result = 0 ;
40638
40639 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GFitsTableStringCol",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
40640 {
40641 std::string *ptr = (std::string *)0;
40642 res1 = SWIG_AsPtr_std_string(obj0, &ptr);
40643 if (!SWIG_IsOK(res1)(res1 >= 0)) {
40644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsTableStringCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsTableStringCol" "', argument "
"1"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
40645 }
40646 if (!ptr) {
40647 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsTableStringCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsTableStringCol" "', argument " "1"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
40648 }
40649 arg1 = ptr;
40650 }
40651 ecode2 = SWIG_AsVal_int(obj1, &val2);
40652 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
40653 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsTableStringCol" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsTableStringCol"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
40654 }
40655 temp2 = static_cast< int >(val2);
40656 arg2 = &temp2;
40657 ecode3 = SWIG_AsVal_int(obj2, &val3);
40658 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
40659 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsTableStringCol" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsTableStringCol"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
40660 }
40661 temp3 = static_cast< int >(val3);
40662 arg3 = &temp3;
40663 {
40664 try {
40665 result = (GFitsTableStringCol *)new GFitsTableStringCol((std::string const &)*arg1,(int const &)*arg2,(int const &)*arg3);
40666 }
40667 catch (const GException::out_of_range& e) {
40668 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
40669 }
40670 catch (const GExceptionHandler& e) {
40671 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40672 }
40673 catch (const std::exception& e) {
40674 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40675 }
40676 }
40677 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableStringCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[30], (
(0x1 << 1) | 0x1) | 0)
;
40678 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
40679 return resultobj;
40680fail:
40681 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
40682 return NULL__null;
40683}
40684
40685
40686SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableStringCol__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40687 PyObject *resultobj = 0;
40688 GFitsTableStringCol *arg1 = 0 ;
40689 void *argp1 = 0 ;
40690 int res1 = 0 ;
40691 PyObject * obj0 = 0 ;
40692 GFitsTableStringCol *result = 0 ;
40693
40694 if (!PyArg_ParseTuple(args,(char *)"O:new_GFitsTableStringCol",&obj0)) SWIG_failgoto fail;
40695 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GFitsTableStringCol, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[30]
, 0 | 0, 0)
;
40696 if (!SWIG_IsOK(res1)(res1 >= 0)) {
40697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsTableStringCol" "', argument " "1"" of type '" "GFitsTableStringCol const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsTableStringCol" "', argument "
"1"" of type '" "GFitsTableStringCol const &""'"); goto fail
; } while(0)
;
40698 }
40699 if (!argp1) {
40700 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsTableStringCol" "', argument " "1"" of type '" "GFitsTableStringCol const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsTableStringCol" "', argument " "1"" of type '"
"GFitsTableStringCol const &""'"); goto fail; } while(0)
;
40701 }
40702 arg1 = reinterpret_cast< GFitsTableStringCol * >(argp1);
40703 {
40704 try {
40705 result = (GFitsTableStringCol *)new GFitsTableStringCol((GFitsTableStringCol const &)*arg1);
40706 }
40707 catch (const GException::out_of_range& e) {
40708 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
40709 }
40710 catch (const GExceptionHandler& e) {
40711 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40712 }
40713 catch (const std::exception& e) {
40714 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40715 }
40716 }
40717 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableStringCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[30], (
(0x1 << 1) | 0x1) | 0)
;
40718 return resultobj;
40719fail:
40720 return NULL__null;
40721}
40722
40723
40724SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableStringCol(PyObject *self, PyObject *args) {
40725 int argc;
40726 PyObject *argv[5];
40727 int ii;
40728
40729 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
40730 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
40731 for (ii = 0; (ii < 4) && (ii < argc); ii++) {
40732 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
40733 }
40734 if (argc == 0) {
40735 return _wrap_new_GFitsTableStringCol__SWIG_0(self, args);
40736 }
40737 if (argc == 1) {
40738 int _v;
40739 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GFitsTableStringCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[30], 0, 0
)
;
40740 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
40741 if (_v) {
40742 return _wrap_new_GFitsTableStringCol__SWIG_3(self, args);
40743 }
40744 }
40745 if (argc == 3) {
40746 int _v;
40747 int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
40748 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
40749 if (_v) {
40750 {
40751 int res = SWIG_AsVal_int(argv[1], NULL__null);
40752 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
40753 }
40754 if (_v) {
40755 {
40756 int res = SWIG_AsVal_int(argv[2], NULL__null);
40757 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
40758 }
40759 if (_v) {
40760 return _wrap_new_GFitsTableStringCol__SWIG_2(self, args);
40761 }
40762 }
40763 }
40764 }
40765 if (argc == 4) {
40766 int _v;
40767 int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
40768 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
40769 if (_v) {
40770 {
40771 int res = SWIG_AsVal_int(argv[1], NULL__null);
40772 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
40773 }
40774 if (_v) {
40775 {
40776 int res = SWIG_AsVal_int(argv[2], NULL__null);
40777 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
40778 }
40779 if (_v) {
40780 {
40781 int res = SWIG_AsVal_int(argv[3], NULL__null);
40782 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
40783 }
40784 if (_v) {
40785 return _wrap_new_GFitsTableStringCol__SWIG_1(self, args);
40786 }
40787 }
40788 }
40789 }
40790 }
40791
40792fail:
40793 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GFitsTableStringCol'.\n"
40794 " Possible C/C++ prototypes are:\n"
40795 " GFitsTableStringCol::GFitsTableStringCol()\n"
40796 " GFitsTableStringCol::GFitsTableStringCol(std::string const &,int const &,int const &,int const &)\n"
40797 " GFitsTableStringCol::GFitsTableStringCol(std::string const &,int const &,int const &)\n"
40798 " GFitsTableStringCol::GFitsTableStringCol(GFitsTableStringCol const &)\n");
40799 return 0;
40800}
40801
40802
40803SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GFitsTableStringCol(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40804 PyObject *resultobj = 0;
40805 GFitsTableStringCol *arg1 = (GFitsTableStringCol *) 0 ;
40806 void *argp1 = 0 ;
40807 int res1 = 0 ;
40808 PyObject * obj0 = 0 ;
40809
40810 if (!PyArg_ParseTuple(args,(char *)"O:delete_GFitsTableStringCol",&obj0)) SWIG_failgoto fail;
40811 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableStringCol, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[30]
, 0x1 | 0, 0)
;
40812 if (!SWIG_IsOK(res1)(res1 >= 0)) {
40813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GFitsTableStringCol" "', argument " "1"" of type '" "GFitsTableStringCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GFitsTableStringCol"
"', argument " "1"" of type '" "GFitsTableStringCol *""'"); goto
fail; } while(0)
;
40814 }
40815 arg1 = reinterpret_cast< GFitsTableStringCol * >(argp1);
40816 {
40817 try {
40818 delete arg1;
40819 }
40820 catch (const GException::out_of_range& e) {
40821 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
40822 }
40823 catch (const GExceptionHandler& e) {
40824 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40825 }
40826 catch (const std::exception& e) {
40827 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40828 }
40829 }
40830 resultobj = SWIG_Py_Void();
40831 return resultobj;
40832fail:
40833 return NULL__null;
40834}
40835
40836
40837SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableStringCol_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40838 PyObject *resultobj = 0;
40839 GFitsTableStringCol *arg1 = (GFitsTableStringCol *) 0 ;
40840 void *argp1 = 0 ;
40841 int res1 = 0 ;
40842 PyObject * obj0 = 0 ;
40843
40844 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableStringCol_clear",&obj0)) SWIG_failgoto fail;
40845 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableStringCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[30]
, 0 | 0, 0)
;
40846 if (!SWIG_IsOK(res1)(res1 >= 0)) {
40847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableStringCol_clear" "', argument " "1"" of type '" "GFitsTableStringCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableStringCol_clear"
"', argument " "1"" of type '" "GFitsTableStringCol *""'"); goto
fail; } while(0)
;
40848 }
40849 arg1 = reinterpret_cast< GFitsTableStringCol * >(argp1);
40850 {
40851 try {
40852 (arg1)->clear();
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_Py_Void();
40865 return resultobj;
40866fail:
40867 return NULL__null;
40868}
40869
40870
40871SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableStringCol_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40872 PyObject *resultobj = 0;
40873 GFitsTableStringCol *arg1 = (GFitsTableStringCol *) 0 ;
40874 void *argp1 = 0 ;
40875 int res1 = 0 ;
40876 PyObject * obj0 = 0 ;
40877 GFitsTableStringCol *result = 0 ;
40878
40879 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableStringCol_clone",&obj0)) SWIG_failgoto fail;
40880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableStringCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[30]
, 0 | 0, 0)
;
40881 if (!SWIG_IsOK(res1)(res1 >= 0)) {
40882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableStringCol_clone" "', argument " "1"" of type '" "GFitsTableStringCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableStringCol_clone"
"', argument " "1"" of type '" "GFitsTableStringCol const *"
"'"); goto fail; } while(0)
;
40883 }
40884 arg1 = reinterpret_cast< GFitsTableStringCol * >(argp1);
40885 {
40886 try {
40887 result = (GFitsTableStringCol *)((GFitsTableStringCol const *)arg1)->clone();
40888 }
40889 catch (const GException::out_of_range& e) {
40890 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
40891 }
40892 catch (const GExceptionHandler& e) {
40893 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40894 }
40895 catch (const std::exception& e) {
40896 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40897 }
40898 }
40899 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableStringCol, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[30], 0
| 0)
;
40900 return resultobj;
40901fail:
40902 return NULL__null;
40903}
40904
40905
40906SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableStringCol_string__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40907 PyObject *resultobj = 0;
40908 GFitsTableStringCol *arg1 = (GFitsTableStringCol *) 0 ;
40909 int *arg2 = 0 ;
40910 int *arg3 = 0 ;
40911 void *argp1 = 0 ;
40912 int res1 = 0 ;
40913 int temp2 ;
40914 int val2 ;
40915 int ecode2 = 0 ;
40916 int temp3 ;
40917 int val3 ;
40918 int ecode3 = 0 ;
40919 PyObject * obj0 = 0 ;
40920 PyObject * obj1 = 0 ;
40921 PyObject * obj2 = 0 ;
40922 std::string result;
40923
40924 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableStringCol_string",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
40925 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableStringCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[30]
, 0 | 0, 0)
;
40926 if (!SWIG_IsOK(res1)(res1 >= 0)) {
40927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableStringCol_string" "', argument " "1"" of type '" "GFitsTableStringCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableStringCol_string"
"', argument " "1"" of type '" "GFitsTableStringCol const *"
"'"); goto fail; } while(0)
;
40928 }
40929 arg1 = reinterpret_cast< GFitsTableStringCol * >(argp1);
40930 ecode2 = SWIG_AsVal_int(obj1, &val2);
40931 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
40932 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableStringCol_string" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableStringCol_string"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
40933 }
40934 temp2 = static_cast< int >(val2);
40935 arg2 = &temp2;
40936 ecode3 = SWIG_AsVal_int(obj2, &val3);
40937 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
40938 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableStringCol_string" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableStringCol_string"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
40939 }
40940 temp3 = static_cast< int >(val3);
40941 arg3 = &temp3;
40942 {
40943 try {
40944 result = ((GFitsTableStringCol const *)arg1)->string((int const &)*arg2,(int const &)*arg3);
40945 }
40946 catch (const GException::out_of_range& e) {
40947 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
40948 }
40949 catch (const GExceptionHandler& e) {
40950 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40951 }
40952 catch (const std::exception& e) {
40953 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40954 }
40955 }
40956 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
40957 return resultobj;
40958fail:
40959 return NULL__null;
40960}
40961
40962
40963SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableStringCol_string__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40964 PyObject *resultobj = 0;
40965 GFitsTableStringCol *arg1 = (GFitsTableStringCol *) 0 ;
40966 int *arg2 = 0 ;
40967 void *argp1 = 0 ;
40968 int res1 = 0 ;
40969 int temp2 ;
40970 int val2 ;
40971 int ecode2 = 0 ;
40972 PyObject * obj0 = 0 ;
40973 PyObject * obj1 = 0 ;
40974 std::string result;
40975
40976 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableStringCol_string",&obj0,&obj1)) SWIG_failgoto fail;
40977 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableStringCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[30]
, 0 | 0, 0)
;
40978 if (!SWIG_IsOK(res1)(res1 >= 0)) {
40979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableStringCol_string" "', argument " "1"" of type '" "GFitsTableStringCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableStringCol_string"
"', argument " "1"" of type '" "GFitsTableStringCol const *"
"'"); goto fail; } while(0)
;
40980 }
40981 arg1 = reinterpret_cast< GFitsTableStringCol * >(argp1);
40982 ecode2 = SWIG_AsVal_int(obj1, &val2);
40983 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
40984 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableStringCol_string" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableStringCol_string"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
40985 }
40986 temp2 = static_cast< int >(val2);
40987 arg2 = &temp2;
40988 {
40989 try {
40990 result = ((GFitsTableStringCol const *)arg1)->string((int const &)*arg2);
40991 }
40992 catch (const GException::out_of_range& e) {
40993 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
40994 }
40995 catch (const GExceptionHandler& e) {
40996 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
40997 }
40998 catch (const std::exception& e) {
40999 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41000 }
41001 }
41002 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
41003 return resultobj;
41004fail:
41005 return NULL__null;
41006}
41007
41008
41009SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableStringCol_string(PyObject *self, PyObject *args) {
41010 int argc;
41011 PyObject *argv[4];
41012 int ii;
41013
41014 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
41015 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
41016 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
41017 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
41018 }
41019 if (argc == 2) {
41020 int _v;
41021 void *vptr = 0;
41022 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableStringCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[30
], 0, 0)
;
41023 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
41024 if (_v) {
41025 {
41026 int res = SWIG_AsVal_int(argv[1], NULL__null);
41027 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
41028 }
41029 if (_v) {
41030 return _wrap_GFitsTableStringCol_string__SWIG_1(self, args);
41031 }
41032 }
41033 }
41034 if (argc == 3) {
41035 int _v;
41036 void *vptr = 0;
41037 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableStringCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[30
], 0, 0)
;
41038 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
41039 if (_v) {
41040 {
41041 int res = SWIG_AsVal_int(argv[1], NULL__null);
41042 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
41043 }
41044 if (_v) {
41045 {
41046 int res = SWIG_AsVal_int(argv[2], NULL__null);
41047 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
41048 }
41049 if (_v) {
41050 return _wrap_GFitsTableStringCol_string__SWIG_0(self, args);
41051 }
41052 }
41053 }
41054 }
41055
41056fail:
41057 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableStringCol_string'.\n"
41058 " Possible C/C++ prototypes are:\n"
41059 " GFitsTableStringCol::string(int const &,int const &) const\n"
41060 " GFitsTableStringCol::string(int const &) const\n");
41061 return 0;
41062}
41063
41064
41065SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableStringCol_real__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41066 PyObject *resultobj = 0;
41067 GFitsTableStringCol *arg1 = (GFitsTableStringCol *) 0 ;
41068 int *arg2 = 0 ;
41069 int *arg3 = 0 ;
41070 void *argp1 = 0 ;
41071 int res1 = 0 ;
41072 int temp2 ;
41073 int val2 ;
41074 int ecode2 = 0 ;
41075 int temp3 ;
41076 int val3 ;
41077 int ecode3 = 0 ;
41078 PyObject * obj0 = 0 ;
41079 PyObject * obj1 = 0 ;
41080 PyObject * obj2 = 0 ;
41081 double result;
41082
41083 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableStringCol_real",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
41084 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableStringCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[30]
, 0 | 0, 0)
;
41085 if (!SWIG_IsOK(res1)(res1 >= 0)) {
41086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableStringCol_real" "', argument " "1"" of type '" "GFitsTableStringCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableStringCol_real" "', argument "
"1"" of type '" "GFitsTableStringCol const *""'"); goto fail
; } while(0)
;
41087 }
41088 arg1 = reinterpret_cast< GFitsTableStringCol * >(argp1);
41089 ecode2 = SWIG_AsVal_int(obj1, &val2);
41090 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
41091 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableStringCol_real" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableStringCol_real"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
41092 }
41093 temp2 = static_cast< int >(val2);
41094 arg2 = &temp2;
41095 ecode3 = SWIG_AsVal_int(obj2, &val3);
41096 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
41097 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableStringCol_real" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableStringCol_real"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
41098 }
41099 temp3 = static_cast< int >(val3);
41100 arg3 = &temp3;
41101 {
41102 try {
41103 result = (double)((GFitsTableStringCol const *)arg1)->real((int const &)*arg2,(int const &)*arg3);
41104 }
41105 catch (const GException::out_of_range& e) {
41106 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
41107 }
41108 catch (const GExceptionHandler& e) {
41109 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41110 }
41111 catch (const std::exception& e) {
41112 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41113 }
41114 }
41115 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
41116 return resultobj;
41117fail:
41118 return NULL__null;
41119}
41120
41121
41122SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableStringCol_real__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41123 PyObject *resultobj = 0;
41124 GFitsTableStringCol *arg1 = (GFitsTableStringCol *) 0 ;
41125 int *arg2 = 0 ;
41126 void *argp1 = 0 ;
41127 int res1 = 0 ;
41128 int temp2 ;
41129 int val2 ;
41130 int ecode2 = 0 ;
41131 PyObject * obj0 = 0 ;
41132 PyObject * obj1 = 0 ;
41133 double result;
41134
41135 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableStringCol_real",&obj0,&obj1)) SWIG_failgoto fail;
41136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableStringCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[30]
, 0 | 0, 0)
;
41137 if (!SWIG_IsOK(res1)(res1 >= 0)) {
41138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableStringCol_real" "', argument " "1"" of type '" "GFitsTableStringCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableStringCol_real" "', argument "
"1"" of type '" "GFitsTableStringCol const *""'"); goto fail
; } while(0)
;
41139 }
41140 arg1 = reinterpret_cast< GFitsTableStringCol * >(argp1);
41141 ecode2 = SWIG_AsVal_int(obj1, &val2);
41142 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
41143 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableStringCol_real" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableStringCol_real"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
41144 }
41145 temp2 = static_cast< int >(val2);
41146 arg2 = &temp2;
41147 {
41148 try {
41149 result = (double)((GFitsTableStringCol const *)arg1)->real((int const &)*arg2);
41150 }
41151 catch (const GException::out_of_range& e) {
41152 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
41153 }
41154 catch (const GExceptionHandler& e) {
41155 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41156 }
41157 catch (const std::exception& e) {
41158 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41159 }
41160 }
41161 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
41162 return resultobj;
41163fail:
41164 return NULL__null;
41165}
41166
41167
41168SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableStringCol_real(PyObject *self, PyObject *args) {
41169 int argc;
41170 PyObject *argv[4];
41171 int ii;
41172
41173 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
41174 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
41175 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
41176 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
41177 }
41178 if (argc == 2) {
41179 int _v;
41180 void *vptr = 0;
41181 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableStringCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[30
], 0, 0)
;
41182 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
41183 if (_v) {
41184 {
41185 int res = SWIG_AsVal_int(argv[1], NULL__null);
41186 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
41187 }
41188 if (_v) {
41189 return _wrap_GFitsTableStringCol_real__SWIG_1(self, args);
41190 }
41191 }
41192 }
41193 if (argc == 3) {
41194 int _v;
41195 void *vptr = 0;
41196 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableStringCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[30
], 0, 0)
;
41197 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
41198 if (_v) {
41199 {
41200 int res = SWIG_AsVal_int(argv[1], NULL__null);
41201 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
41202 }
41203 if (_v) {
41204 {
41205 int res = SWIG_AsVal_int(argv[2], NULL__null);
41206 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
41207 }
41208 if (_v) {
41209 return _wrap_GFitsTableStringCol_real__SWIG_0(self, args);
41210 }
41211 }
41212 }
41213 }
41214
41215fail:
41216 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableStringCol_real'.\n"
41217 " Possible C/C++ prototypes are:\n"
41218 " GFitsTableStringCol::real(int const &,int const &) const\n"
41219 " GFitsTableStringCol::real(int const &) const\n");
41220 return 0;
41221}
41222
41223
41224SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableStringCol_integer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41225 PyObject *resultobj = 0;
41226 GFitsTableStringCol *arg1 = (GFitsTableStringCol *) 0 ;
41227 int *arg2 = 0 ;
41228 int *arg3 = 0 ;
41229 void *argp1 = 0 ;
41230 int res1 = 0 ;
41231 int temp2 ;
41232 int val2 ;
41233 int ecode2 = 0 ;
41234 int temp3 ;
41235 int val3 ;
41236 int ecode3 = 0 ;
41237 PyObject * obj0 = 0 ;
41238 PyObject * obj1 = 0 ;
41239 PyObject * obj2 = 0 ;
41240 int result;
41241
41242 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableStringCol_integer",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
41243 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableStringCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[30]
, 0 | 0, 0)
;
41244 if (!SWIG_IsOK(res1)(res1 >= 0)) {
41245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableStringCol_integer" "', argument " "1"" of type '" "GFitsTableStringCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableStringCol_integer"
"', argument " "1"" of type '" "GFitsTableStringCol const *"
"'"); goto fail; } while(0)
;
41246 }
41247 arg1 = reinterpret_cast< GFitsTableStringCol * >(argp1);
41248 ecode2 = SWIG_AsVal_int(obj1, &val2);
41249 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
41250 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableStringCol_integer" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableStringCol_integer"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
41251 }
41252 temp2 = static_cast< int >(val2);
41253 arg2 = &temp2;
41254 ecode3 = SWIG_AsVal_int(obj2, &val3);
41255 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
41256 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableStringCol_integer" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableStringCol_integer"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
41257 }
41258 temp3 = static_cast< int >(val3);
41259 arg3 = &temp3;
41260 {
41261 try {
41262 result = (int)((GFitsTableStringCol const *)arg1)->integer((int const &)*arg2,(int const &)*arg3);
41263 }
41264 catch (const GException::out_of_range& e) {
41265 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
41266 }
41267 catch (const GExceptionHandler& e) {
41268 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41269 }
41270 catch (const std::exception& e) {
41271 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41272 }
41273 }
41274 resultobj = SWIG_From_int(static_cast< int >(result));
41275 return resultobj;
41276fail:
41277 return NULL__null;
41278}
41279
41280
41281SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableStringCol_integer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41282 PyObject *resultobj = 0;
41283 GFitsTableStringCol *arg1 = (GFitsTableStringCol *) 0 ;
41284 int *arg2 = 0 ;
41285 void *argp1 = 0 ;
41286 int res1 = 0 ;
41287 int temp2 ;
41288 int val2 ;
41289 int ecode2 = 0 ;
41290 PyObject * obj0 = 0 ;
41291 PyObject * obj1 = 0 ;
41292 int result;
41293
41294 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableStringCol_integer",&obj0,&obj1)) SWIG_failgoto fail;
41295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableStringCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[30]
, 0 | 0, 0)
;
41296 if (!SWIG_IsOK(res1)(res1 >= 0)) {
41297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableStringCol_integer" "', argument " "1"" of type '" "GFitsTableStringCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableStringCol_integer"
"', argument " "1"" of type '" "GFitsTableStringCol const *"
"'"); goto fail; } while(0)
;
41298 }
41299 arg1 = reinterpret_cast< GFitsTableStringCol * >(argp1);
41300 ecode2 = SWIG_AsVal_int(obj1, &val2);
41301 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
41302 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableStringCol_integer" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableStringCol_integer"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
41303 }
41304 temp2 = static_cast< int >(val2);
41305 arg2 = &temp2;
41306 {
41307 try {
41308 result = (int)((GFitsTableStringCol const *)arg1)->integer((int const &)*arg2);
41309 }
41310 catch (const GException::out_of_range& e) {
41311 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
41312 }
41313 catch (const GExceptionHandler& e) {
41314 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41315 }
41316 catch (const std::exception& e) {
41317 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41318 }
41319 }
41320 resultobj = SWIG_From_int(static_cast< int >(result));
41321 return resultobj;
41322fail:
41323 return NULL__null;
41324}
41325
41326
41327SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableStringCol_integer(PyObject *self, PyObject *args) {
41328 int argc;
41329 PyObject *argv[4];
41330 int ii;
41331
41332 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
41333 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
41334 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
41335 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
41336 }
41337 if (argc == 2) {
41338 int _v;
41339 void *vptr = 0;
41340 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableStringCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[30
], 0, 0)
;
41341 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
41342 if (_v) {
41343 {
41344 int res = SWIG_AsVal_int(argv[1], NULL__null);
41345 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
41346 }
41347 if (_v) {
41348 return _wrap_GFitsTableStringCol_integer__SWIG_1(self, args);
41349 }
41350 }
41351 }
41352 if (argc == 3) {
41353 int _v;
41354 void *vptr = 0;
41355 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableStringCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[30
], 0, 0)
;
41356 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
41357 if (_v) {
41358 {
41359 int res = SWIG_AsVal_int(argv[1], NULL__null);
41360 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
41361 }
41362 if (_v) {
41363 {
41364 int res = SWIG_AsVal_int(argv[2], NULL__null);
41365 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
41366 }
41367 if (_v) {
41368 return _wrap_GFitsTableStringCol_integer__SWIG_0(self, args);
41369 }
41370 }
41371 }
41372 }
41373
41374fail:
41375 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableStringCol_integer'.\n"
41376 " Possible C/C++ prototypes are:\n"
41377 " GFitsTableStringCol::integer(int const &,int const &) const\n"
41378 " GFitsTableStringCol::integer(int const &) const\n");
41379 return 0;
41380}
41381
41382
41383SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableStringCol_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41384 PyObject *resultobj = 0;
41385 GFitsTableStringCol *arg1 = (GFitsTableStringCol *) 0 ;
41386 int *arg2 = 0 ;
41387 int *arg3 = 0 ;
41388 void *argp1 = 0 ;
41389 int res1 = 0 ;
41390 int temp2 ;
41391 int val2 ;
41392 int ecode2 = 0 ;
41393 int temp3 ;
41394 int val3 ;
41395 int ecode3 = 0 ;
41396 PyObject * obj0 = 0 ;
41397 PyObject * obj1 = 0 ;
41398 PyObject * obj2 = 0 ;
41399
41400 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableStringCol_insert",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
41401 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableStringCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[30]
, 0 | 0, 0)
;
41402 if (!SWIG_IsOK(res1)(res1 >= 0)) {
41403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableStringCol_insert" "', argument " "1"" of type '" "GFitsTableStringCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableStringCol_insert"
"', argument " "1"" of type '" "GFitsTableStringCol *""'"); goto
fail; } while(0)
;
41404 }
41405 arg1 = reinterpret_cast< GFitsTableStringCol * >(argp1);
41406 ecode2 = SWIG_AsVal_int(obj1, &val2);
41407 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
41408 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableStringCol_insert" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableStringCol_insert"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
41409 }
41410 temp2 = static_cast< int >(val2);
41411 arg2 = &temp2;
41412 ecode3 = SWIG_AsVal_int(obj2, &val3);
41413 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
41414 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableStringCol_insert" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableStringCol_insert"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
41415 }
41416 temp3 = static_cast< int >(val3);
41417 arg3 = &temp3;
41418 {
41419 try {
41420 (arg1)->insert((int const &)*arg2,(int const &)*arg3);
41421 }
41422 catch (const GException::out_of_range& e) {
41423 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
41424 }
41425 catch (const GExceptionHandler& e) {
41426 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41427 }
41428 catch (const std::exception& e) {
41429 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41430 }
41431 }
41432 resultobj = SWIG_Py_Void();
41433 return resultobj;
41434fail:
41435 return NULL__null;
41436}
41437
41438
41439SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableStringCol_remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41440 PyObject *resultobj = 0;
41441 GFitsTableStringCol *arg1 = (GFitsTableStringCol *) 0 ;
41442 int *arg2 = 0 ;
41443 int *arg3 = 0 ;
41444 void *argp1 = 0 ;
41445 int res1 = 0 ;
41446 int temp2 ;
41447 int val2 ;
41448 int ecode2 = 0 ;
41449 int temp3 ;
41450 int val3 ;
41451 int ecode3 = 0 ;
41452 PyObject * obj0 = 0 ;
41453 PyObject * obj1 = 0 ;
41454 PyObject * obj2 = 0 ;
41455
41456 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableStringCol_remove",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
41457 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableStringCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[30]
, 0 | 0, 0)
;
41458 if (!SWIG_IsOK(res1)(res1 >= 0)) {
41459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableStringCol_remove" "', argument " "1"" of type '" "GFitsTableStringCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableStringCol_remove"
"', argument " "1"" of type '" "GFitsTableStringCol *""'"); goto
fail; } while(0)
;
41460 }
41461 arg1 = reinterpret_cast< GFitsTableStringCol * >(argp1);
41462 ecode2 = SWIG_AsVal_int(obj1, &val2);
41463 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
41464 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableStringCol_remove" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableStringCol_remove"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
41465 }
41466 temp2 = static_cast< int >(val2);
41467 arg2 = &temp2;
41468 ecode3 = SWIG_AsVal_int(obj2, &val3);
41469 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
41470 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableStringCol_remove" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableStringCol_remove"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
41471 }
41472 temp3 = static_cast< int >(val3);
41473 arg3 = &temp3;
41474 {
41475 try {
41476 (arg1)->remove((int const &)*arg2,(int const &)*arg3);
41477 }
41478 catch (const GException::out_of_range& e) {
41479 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
41480 }
41481 catch (const GExceptionHandler& e) {
41482 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41483 }
41484 catch (const std::exception& e) {
41485 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41486 }
41487 }
41488 resultobj = SWIG_Py_Void();
41489 return resultobj;
41490fail:
41491 return NULL__null;
41492}
41493
41494
41495SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableStringCol_isloaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41496 PyObject *resultobj = 0;
41497 GFitsTableStringCol *arg1 = (GFitsTableStringCol *) 0 ;
41498 void *argp1 = 0 ;
41499 int res1 = 0 ;
41500 PyObject * obj0 = 0 ;
41501 bool result;
41502
41503 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableStringCol_isloaded",&obj0)) SWIG_failgoto fail;
41504 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableStringCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[30]
, 0 | 0, 0)
;
41505 if (!SWIG_IsOK(res1)(res1 >= 0)) {
41506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableStringCol_isloaded" "', argument " "1"" of type '" "GFitsTableStringCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableStringCol_isloaded"
"', argument " "1"" of type '" "GFitsTableStringCol const *"
"'"); goto fail; } while(0)
;
41507 }
41508 arg1 = reinterpret_cast< GFitsTableStringCol * >(argp1);
41509 {
41510 try {
41511 result = (bool)((GFitsTableStringCol const *)arg1)->isloaded();
41512 }
41513 catch (const GException::out_of_range& e) {
41514 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
41515 }
41516 catch (const GExceptionHandler& e) {
41517 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41518 }
41519 catch (const std::exception& e) {
41520 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41521 }
41522 }
41523 resultobj = SWIG_From_bool(static_cast< bool >(result));
41524 return resultobj;
41525fail:
41526 return NULL__null;
41527}
41528
41529
41530SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableStringCol_data(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41531 PyObject *resultobj = 0;
41532 GFitsTableStringCol *arg1 = (GFitsTableStringCol *) 0 ;
41533 void *argp1 = 0 ;
41534 int res1 = 0 ;
41535 PyObject * obj0 = 0 ;
41536 std::string *result = 0 ;
41537
41538 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableStringCol_data",&obj0)) SWIG_failgoto fail;
41539 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableStringCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[30]
, 0 | 0, 0)
;
41540 if (!SWIG_IsOK(res1)(res1 >= 0)) {
41541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableStringCol_data" "', argument " "1"" of type '" "GFitsTableStringCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableStringCol_data" "', argument "
"1"" of type '" "GFitsTableStringCol *""'"); goto fail; } while
(0)
;
41542 }
41543 arg1 = reinterpret_cast< GFitsTableStringCol * >(argp1);
41544 {
41545 try {
41546 result = (std::string *)(arg1)->data();
41547 }
41548 catch (const GException::out_of_range& e) {
41549 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
41550 }
41551 catch (const GExceptionHandler& e) {
41552 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41553 }
41554 catch (const std::exception& e) {
41555 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41556 }
41557 }
41558 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__string, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[49], 0
| 0)
;
41559 return resultobj;
41560fail:
41561 return NULL__null;
41562}
41563
41564
41565SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableStringCol_nulval__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41566 PyObject *resultobj = 0;
41567 GFitsTableStringCol *arg1 = (GFitsTableStringCol *) 0 ;
41568 void *argp1 = 0 ;
41569 int res1 = 0 ;
41570 PyObject * obj0 = 0 ;
41571 char *result = 0 ;
41572
41573 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableStringCol_nulval",&obj0)) SWIG_failgoto fail;
41574 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableStringCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[30]
, 0 | 0, 0)
;
41575 if (!SWIG_IsOK(res1)(res1 >= 0)) {
41576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableStringCol_nulval" "', argument " "1"" of type '" "GFitsTableStringCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableStringCol_nulval"
"', argument " "1"" of type '" "GFitsTableStringCol *""'"); goto
fail; } while(0)
;
41577 }
41578 arg1 = reinterpret_cast< GFitsTableStringCol * >(argp1);
41579 {
41580 try {
41581 result = (char *)(arg1)->nulval();
41582 }
41583 catch (const GException::out_of_range& e) {
41584 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
41585 }
41586 catch (const GExceptionHandler& e) {
41587 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41588 }
41589 catch (const std::exception& e) {
41590 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41591 }
41592 }
41593 resultobj = SWIG_FromCharPtr((const char *)result);
41594 return resultobj;
41595fail:
41596 return NULL__null;
41597}
41598
41599
41600SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableStringCol_nulval__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41601 PyObject *resultobj = 0;
41602 GFitsTableStringCol *arg1 = (GFitsTableStringCol *) 0 ;
41603 std::string *arg2 = 0 ;
41604 void *argp1 = 0 ;
41605 int res1 = 0 ;
41606 int res2 = SWIG_OLDOBJ((0)) ;
41607 PyObject * obj0 = 0 ;
41608 PyObject * obj1 = 0 ;
41609
41610 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableStringCol_nulval",&obj0,&obj1)) SWIG_failgoto fail;
41611 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableStringCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[30]
, 0 | 0, 0)
;
41612 if (!SWIG_IsOK(res1)(res1 >= 0)) {
41613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableStringCol_nulval" "', argument " "1"" of type '" "GFitsTableStringCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableStringCol_nulval"
"', argument " "1"" of type '" "GFitsTableStringCol *""'"); goto
fail; } while(0)
;
41614 }
41615 arg1 = reinterpret_cast< GFitsTableStringCol * >(argp1);
41616 {
41617 std::string *ptr = (std::string *)0;
41618 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
41619 if (!SWIG_IsOK(res2)(res2 >= 0)) {
41620 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsTableStringCol_nulval" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsTableStringCol_nulval"
"', argument " "2"" of type '" "std::string const &""'")
; goto fail; } while(0)
;
41621 }
41622 if (!ptr) {
41623 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsTableStringCol_nulval" "', argument " "2"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsTableStringCol_nulval" "', argument " "2"
" of type '" "std::string const &""'"); goto fail; } while
(0)
;
41624 }
41625 arg2 = ptr;
41626 }
41627 {
41628 try {
41629 (arg1)->nulval((std::string const &)*arg2);
41630 }
41631 catch (const GException::out_of_range& e) {
41632 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
41633 }
41634 catch (const GExceptionHandler& e) {
41635 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41636 }
41637 catch (const std::exception& e) {
41638 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41639 }
41640 }
41641 resultobj = SWIG_Py_Void();
41642 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
41643 return resultobj;
41644fail:
41645 if (SWIG_IsNewObj(res2)((res2 >= 0) && (res2 & ((1 << 8) <<
1)))
) delete arg2;
41646 return NULL__null;
41647}
41648
41649
41650SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableStringCol_nulval(PyObject *self, PyObject *args) {
41651 int argc;
41652 PyObject *argv[3];
41653 int ii;
41654
41655 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
41656 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
41657 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
41658 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
41659 }
41660 if (argc == 1) {
41661 int _v;
41662 void *vptr = 0;
41663 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableStringCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[30
], 0, 0)
;
41664 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
41665 if (_v) {
41666 return _wrap_GFitsTableStringCol_nulval__SWIG_0(self, args);
41667 }
41668 }
41669 if (argc == 2) {
41670 int _v;
41671 void *vptr = 0;
41672 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableStringCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[30
], 0, 0)
;
41673 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
41674 if (_v) {
41675 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
41676 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
41677 if (_v) {
41678 return _wrap_GFitsTableStringCol_nulval__SWIG_1(self, args);
41679 }
41680 }
41681 }
41682
41683fail:
41684 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableStringCol_nulval'.\n"
41685 " Possible C/C++ prototypes are:\n"
41686 " GFitsTableStringCol::nulval()\n"
41687 " GFitsTableStringCol::nulval(std::string const &)\n");
41688 return 0;
41689}
41690
41691
41692SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableStringCol___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41693 PyObject *resultobj = 0;
41694 GFitsTableStringCol *arg1 = (GFitsTableStringCol *) 0 ;
41695 int *arg2 ;
41696 void *argp1 = 0 ;
41697 int res1 = 0 ;
41698 int temp2[3] ;
41699 PyObject * obj0 = 0 ;
41700 PyObject * obj1 = 0 ;
41701 std::string result;
41702
41703 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableStringCol___getitem__",&obj0,&obj1)) SWIG_failgoto fail;
41704 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableStringCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[30]
, 0 | 0, 0)
;
41705 if (!SWIG_IsOK(res1)(res1 >= 0)) {
41706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableStringCol___getitem__" "', argument " "1"" of type '" "GFitsTableStringCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableStringCol___getitem__"
"', argument " "1"" of type '" "GFitsTableStringCol *""'"); goto
fail; } while(0)
;
41707 }
41708 arg1 = reinterpret_cast< GFitsTableStringCol * >(argp1);
41709 {
41710 if (!table_column_tuple(obj1,temp2)) {
41711 return NULL__null;
41712 }
41713 arg2 = &temp2[0];
41714 }
41715 {
41716 try {
41717 result = GFitsTableStringCol___getitem__(arg1,arg2);
41718 }
41719 catch (const GException::out_of_range& e) {
41720 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
41721 }
41722 catch (const GExceptionHandler& e) {
41723 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41724 }
41725 catch (const std::exception& e) {
41726 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41727 }
41728 }
41729 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
41730 return resultobj;
41731fail:
41732 return NULL__null;
41733}
41734
41735
41736SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableStringCol___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41737 PyObject *resultobj = 0;
41738 GFitsTableStringCol *arg1 = (GFitsTableStringCol *) 0 ;
41739 int *arg2 ;
41740 std::string arg3 ;
41741 void *argp1 = 0 ;
41742 int res1 = 0 ;
41743 int temp2[3] ;
41744 PyObject * obj0 = 0 ;
41745 PyObject * obj1 = 0 ;
41746 PyObject * obj2 = 0 ;
41747
41748 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableStringCol___setitem__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
41749 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableStringCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[30]
, 0 | 0, 0)
;
41750 if (!SWIG_IsOK(res1)(res1 >= 0)) {
41751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableStringCol___setitem__" "', argument " "1"" of type '" "GFitsTableStringCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableStringCol___setitem__"
"', argument " "1"" of type '" "GFitsTableStringCol *""'"); goto
fail; } while(0)
;
41752 }
41753 arg1 = reinterpret_cast< GFitsTableStringCol * >(argp1);
41754 {
41755 if (!table_column_tuple(obj1,temp2)) {
41756 return NULL__null;
41757 }
41758 arg2 = &temp2[0];
41759 }
41760 {
41761 std::string *ptr = (std::string *)0;
41762 int res = SWIG_AsPtr_std_string(obj2, &ptr);
41763 if (!SWIG_IsOK(res)(res >= 0) || !ptr) {
41764 SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "GFitsTableStringCol___setitem__" "', argument " "3"" of type '" "std::string""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType((((ptr ? res
: -5) != (-1)) ? (ptr ? res : -5) : -5)), "in method '" "GFitsTableStringCol___setitem__"
"', argument " "3"" of type '" "std::string""'"); goto fail;
} while(0)
;
41765 }
41766 arg3 = *ptr;
41767 if (SWIG_IsNewObj(res)((res >= 0) && (res & ((1 << 8) <<
1)))
) delete ptr;
41768 }
41769 {
41770 try {
41771 GFitsTableStringCol___setitem__(arg1,arg2,arg3);
41772 }
41773 catch (const GException::out_of_range& e) {
41774 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
41775 }
41776 catch (const GExceptionHandler& e) {
41777 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41778 }
41779 catch (const std::exception& e) {
41780 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41781 }
41782 }
41783 resultobj = SWIG_Py_Void();
41784 return resultobj;
41785fail:
41786 return NULL__null;
41787}
41788
41789
41790SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableStringCol_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41791 PyObject *resultobj = 0;
41792 GFitsTableStringCol *arg1 = (GFitsTableStringCol *) 0 ;
41793 void *argp1 = 0 ;
41794 int res1 = 0 ;
41795 PyObject * obj0 = 0 ;
41796 GFitsTableStringCol result;
41797
41798 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableStringCol_copy",&obj0)) SWIG_failgoto fail;
41799 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableStringCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[30]
, 0 | 0, 0)
;
41800 if (!SWIG_IsOK(res1)(res1 >= 0)) {
41801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableStringCol_copy" "', argument " "1"" of type '" "GFitsTableStringCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableStringCol_copy" "', argument "
"1"" of type '" "GFitsTableStringCol *""'"); goto fail; } while
(0)
;
41802 }
41803 arg1 = reinterpret_cast< GFitsTableStringCol * >(argp1);
41804 {
41805 try {
41806 result = GFitsTableStringCol_copy(arg1);
41807 }
41808 catch (const GException::out_of_range& e) {
41809 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
41810 }
41811 catch (const GExceptionHandler& e) {
41812 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41813 }
41814 catch (const std::exception& e) {
41815 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41816 }
41817 }
41818 resultobj = SWIG_NewPointerObj((new GFitsTableStringCol(static_cast< const GFitsTableStringCol& >(result))), SWIGTYPE_p_GFitsTableStringCol, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GFitsTableStringCol(static_cast
< const GFitsTableStringCol& >(result))), swig_types
[30], 0x1 | 0)
;
41819 return resultobj;
41820fail:
41821 return NULL__null;
41822}
41823
41824
41825SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GFitsTableStringCol_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41826 PyObject *obj;
41827 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
41828 SWIG_TypeNewClientData(SWIGTYPE_p_GFitsTableStringColswig_types[30], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
41829 return SWIG_Py_Void();
41830}
41831
41832SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableUShortCol__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41833 PyObject *resultobj = 0;
41834 GFitsTableUShortCol *result = 0 ;
41835
41836 if (!PyArg_ParseTuple(args,(char *)":new_GFitsTableUShortCol")) SWIG_failgoto fail;
41837 {
41838 try {
41839 result = (GFitsTableUShortCol *)new GFitsTableUShortCol();
41840 }
41841 catch (const GException::out_of_range& e) {
41842 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
41843 }
41844 catch (const GExceptionHandler& e) {
41845 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41846 }
41847 catch (const std::exception& e) {
41848 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41849 }
41850 }
41851 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableUShortCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[32], (
(0x1 << 1) | 0x1) | 0)
;
41852 return resultobj;
41853fail:
41854 return NULL__null;
41855}
41856
41857
41858SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableUShortCol__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41859 PyObject *resultobj = 0;
41860 std::string *arg1 = 0 ;
41861 int *arg2 = 0 ;
41862 int *arg3 = 0 ;
41863 int res1 = SWIG_OLDOBJ((0)) ;
41864 int temp2 ;
41865 int val2 ;
41866 int ecode2 = 0 ;
41867 int temp3 ;
41868 int val3 ;
41869 int ecode3 = 0 ;
41870 PyObject * obj0 = 0 ;
41871 PyObject * obj1 = 0 ;
41872 PyObject * obj2 = 0 ;
41873 GFitsTableUShortCol *result = 0 ;
41874
41875 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GFitsTableUShortCol",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
41876 {
41877 std::string *ptr = (std::string *)0;
41878 res1 = SWIG_AsPtr_std_string(obj0, &ptr);
41879 if (!SWIG_IsOK(res1)(res1 >= 0)) {
41880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsTableUShortCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsTableUShortCol" "', argument "
"1"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
41881 }
41882 if (!ptr) {
41883 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsTableUShortCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsTableUShortCol" "', argument " "1"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
41884 }
41885 arg1 = ptr;
41886 }
41887 ecode2 = SWIG_AsVal_int(obj1, &val2);
41888 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
41889 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsTableUShortCol" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsTableUShortCol"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
41890 }
41891 temp2 = static_cast< int >(val2);
41892 arg2 = &temp2;
41893 ecode3 = SWIG_AsVal_int(obj2, &val3);
41894 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
41895 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsTableUShortCol" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsTableUShortCol"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
41896 }
41897 temp3 = static_cast< int >(val3);
41898 arg3 = &temp3;
41899 {
41900 try {
41901 result = (GFitsTableUShortCol *)new GFitsTableUShortCol((std::string const &)*arg1,(int const &)*arg2,(int const &)*arg3);
41902 }
41903 catch (const GException::out_of_range& e) {
41904 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
41905 }
41906 catch (const GExceptionHandler& e) {
41907 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41908 }
41909 catch (const std::exception& e) {
41910 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41911 }
41912 }
41913 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableUShortCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[32], (
(0x1 << 1) | 0x1) | 0)
;
41914 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
41915 return resultobj;
41916fail:
41917 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
41918 return NULL__null;
41919}
41920
41921
41922SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableUShortCol__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41923 PyObject *resultobj = 0;
41924 std::string *arg1 = 0 ;
41925 int *arg2 = 0 ;
41926 int res1 = SWIG_OLDOBJ((0)) ;
41927 int temp2 ;
41928 int val2 ;
41929 int ecode2 = 0 ;
41930 PyObject * obj0 = 0 ;
41931 PyObject * obj1 = 0 ;
41932 GFitsTableUShortCol *result = 0 ;
41933
41934 if (!PyArg_ParseTuple(args,(char *)"OO:new_GFitsTableUShortCol",&obj0,&obj1)) SWIG_failgoto fail;
41935 {
41936 std::string *ptr = (std::string *)0;
41937 res1 = SWIG_AsPtr_std_string(obj0, &ptr);
41938 if (!SWIG_IsOK(res1)(res1 >= 0)) {
41939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsTableUShortCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsTableUShortCol" "', argument "
"1"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
41940 }
41941 if (!ptr) {
41942 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsTableUShortCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsTableUShortCol" "', argument " "1"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
41943 }
41944 arg1 = ptr;
41945 }
41946 ecode2 = SWIG_AsVal_int(obj1, &val2);
41947 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
41948 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsTableUShortCol" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsTableUShortCol"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
41949 }
41950 temp2 = static_cast< int >(val2);
41951 arg2 = &temp2;
41952 {
41953 try {
41954 result = (GFitsTableUShortCol *)new GFitsTableUShortCol((std::string const &)*arg1,(int const &)*arg2);
41955 }
41956 catch (const GException::out_of_range& e) {
41957 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
41958 }
41959 catch (const GExceptionHandler& e) {
41960 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41961 }
41962 catch (const std::exception& e) {
41963 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
41964 }
41965 }
41966 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableUShortCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[32], (
(0x1 << 1) | 0x1) | 0)
;
41967 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
41968 return resultobj;
41969fail:
41970 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
41971 return NULL__null;
41972}
41973
41974
41975SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableUShortCol__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41976 PyObject *resultobj = 0;
41977 GFitsTableUShortCol *arg1 = 0 ;
41978 void *argp1 = 0 ;
41979 int res1 = 0 ;
41980 PyObject * obj0 = 0 ;
41981 GFitsTableUShortCol *result = 0 ;
41982
41983 if (!PyArg_ParseTuple(args,(char *)"O:new_GFitsTableUShortCol",&obj0)) SWIG_failgoto fail;
41984 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GFitsTableUShortCol, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[32]
, 0 | 0, 0)
;
41985 if (!SWIG_IsOK(res1)(res1 >= 0)) {
41986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsTableUShortCol" "', argument " "1"" of type '" "GFitsTableUShortCol const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsTableUShortCol" "', argument "
"1"" of type '" "GFitsTableUShortCol const &""'"); goto fail
; } while(0)
;
41987 }
41988 if (!argp1) {
41989 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsTableUShortCol" "', argument " "1"" of type '" "GFitsTableUShortCol const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsTableUShortCol" "', argument " "1"" of type '"
"GFitsTableUShortCol const &""'"); goto fail; } while(0)
;
41990 }
41991 arg1 = reinterpret_cast< GFitsTableUShortCol * >(argp1);
41992 {
41993 try {
41994 result = (GFitsTableUShortCol *)new GFitsTableUShortCol((GFitsTableUShortCol const &)*arg1);
41995 }
41996 catch (const GException::out_of_range& e) {
41997 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
41998 }
41999 catch (const GExceptionHandler& e) {
42000 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42001 }
42002 catch (const std::exception& e) {
42003 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42004 }
42005 }
42006 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableUShortCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[32], (
(0x1 << 1) | 0x1) | 0)
;
42007 return resultobj;
42008fail:
42009 return NULL__null;
42010}
42011
42012
42013SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableUShortCol(PyObject *self, PyObject *args) {
42014 int argc;
42015 PyObject *argv[4];
42016 int ii;
42017
42018 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
42019 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
42020 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
42021 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
42022 }
42023 if (argc == 0) {
42024 return _wrap_new_GFitsTableUShortCol__SWIG_0(self, args);
42025 }
42026 if (argc == 1) {
42027 int _v;
42028 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GFitsTableUShortCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[32], 0, 0
)
;
42029 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
42030 if (_v) {
42031 return _wrap_new_GFitsTableUShortCol__SWIG_3(self, args);
42032 }
42033 }
42034 if (argc == 2) {
42035 int _v;
42036 int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
42037 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
42038 if (_v) {
42039 {
42040 int res = SWIG_AsVal_int(argv[1], NULL__null);
42041 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
42042 }
42043 if (_v) {
42044 return _wrap_new_GFitsTableUShortCol__SWIG_2(self, args);
42045 }
42046 }
42047 }
42048 if (argc == 3) {
42049 int _v;
42050 int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
42051 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
42052 if (_v) {
42053 {
42054 int res = SWIG_AsVal_int(argv[1], NULL__null);
42055 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
42056 }
42057 if (_v) {
42058 {
42059 int res = SWIG_AsVal_int(argv[2], NULL__null);
42060 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
42061 }
42062 if (_v) {
42063 return _wrap_new_GFitsTableUShortCol__SWIG_1(self, args);
42064 }
42065 }
42066 }
42067 }
42068
42069fail:
42070 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GFitsTableUShortCol'.\n"
42071 " Possible C/C++ prototypes are:\n"
42072 " GFitsTableUShortCol::GFitsTableUShortCol()\n"
42073 " GFitsTableUShortCol::GFitsTableUShortCol(std::string const &,int const &,int const &)\n"
42074 " GFitsTableUShortCol::GFitsTableUShortCol(std::string const &,int const &)\n"
42075 " GFitsTableUShortCol::GFitsTableUShortCol(GFitsTableUShortCol const &)\n");
42076 return 0;
42077}
42078
42079
42080SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GFitsTableUShortCol(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42081 PyObject *resultobj = 0;
42082 GFitsTableUShortCol *arg1 = (GFitsTableUShortCol *) 0 ;
42083 void *argp1 = 0 ;
42084 int res1 = 0 ;
42085 PyObject * obj0 = 0 ;
42086
42087 if (!PyArg_ParseTuple(args,(char *)"O:delete_GFitsTableUShortCol",&obj0)) SWIG_failgoto fail;
42088 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableUShortCol, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[32]
, 0x1 | 0, 0)
;
42089 if (!SWIG_IsOK(res1)(res1 >= 0)) {
42090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GFitsTableUShortCol" "', argument " "1"" of type '" "GFitsTableUShortCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GFitsTableUShortCol"
"', argument " "1"" of type '" "GFitsTableUShortCol *""'"); goto
fail; } while(0)
;
42091 }
42092 arg1 = reinterpret_cast< GFitsTableUShortCol * >(argp1);
42093 {
42094 try {
42095 delete arg1;
42096 }
42097 catch (const GException::out_of_range& e) {
42098 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
42099 }
42100 catch (const GExceptionHandler& e) {
42101 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42102 }
42103 catch (const std::exception& e) {
42104 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42105 }
42106 }
42107 resultobj = SWIG_Py_Void();
42108 return resultobj;
42109fail:
42110 return NULL__null;
42111}
42112
42113
42114SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableUShortCol_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42115 PyObject *resultobj = 0;
42116 GFitsTableUShortCol *arg1 = (GFitsTableUShortCol *) 0 ;
42117 void *argp1 = 0 ;
42118 int res1 = 0 ;
42119 PyObject * obj0 = 0 ;
42120
42121 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableUShortCol_clear",&obj0)) SWIG_failgoto fail;
42122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableUShortCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[32]
, 0 | 0, 0)
;
42123 if (!SWIG_IsOK(res1)(res1 >= 0)) {
42124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableUShortCol_clear" "', argument " "1"" of type '" "GFitsTableUShortCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableUShortCol_clear"
"', argument " "1"" of type '" "GFitsTableUShortCol *""'"); goto
fail; } while(0)
;
42125 }
42126 arg1 = reinterpret_cast< GFitsTableUShortCol * >(argp1);
42127 {
42128 try {
42129 (arg1)->clear();
42130 }
42131 catch (const GException::out_of_range& e) {
42132 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
42133 }
42134 catch (const GExceptionHandler& e) {
42135 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42136 }
42137 catch (const std::exception& e) {
42138 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42139 }
42140 }
42141 resultobj = SWIG_Py_Void();
42142 return resultobj;
42143fail:
42144 return NULL__null;
42145}
42146
42147
42148SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableUShortCol_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42149 PyObject *resultobj = 0;
42150 GFitsTableUShortCol *arg1 = (GFitsTableUShortCol *) 0 ;
42151 void *argp1 = 0 ;
42152 int res1 = 0 ;
42153 PyObject * obj0 = 0 ;
42154 GFitsTableUShortCol *result = 0 ;
42155
42156 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableUShortCol_clone",&obj0)) SWIG_failgoto fail;
42157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableUShortCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[32]
, 0 | 0, 0)
;
42158 if (!SWIG_IsOK(res1)(res1 >= 0)) {
42159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableUShortCol_clone" "', argument " "1"" of type '" "GFitsTableUShortCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableUShortCol_clone"
"', argument " "1"" of type '" "GFitsTableUShortCol const *"
"'"); goto fail; } while(0)
;
42160 }
42161 arg1 = reinterpret_cast< GFitsTableUShortCol * >(argp1);
42162 {
42163 try {
42164 result = (GFitsTableUShortCol *)((GFitsTableUShortCol const *)arg1)->clone();
42165 }
42166 catch (const GException::out_of_range& e) {
42167 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
42168 }
42169 catch (const GExceptionHandler& e) {
42170 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42171 }
42172 catch (const std::exception& e) {
42173 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42174 }
42175 }
42176 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableUShortCol, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[32], 0
| 0)
;
42177 return resultobj;
42178fail:
42179 return NULL__null;
42180}
42181
42182
42183SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableUShortCol_string__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42184 PyObject *resultobj = 0;
42185 GFitsTableUShortCol *arg1 = (GFitsTableUShortCol *) 0 ;
42186 int *arg2 = 0 ;
42187 int *arg3 = 0 ;
42188 void *argp1 = 0 ;
42189 int res1 = 0 ;
42190 int temp2 ;
42191 int val2 ;
42192 int ecode2 = 0 ;
42193 int temp3 ;
42194 int val3 ;
42195 int ecode3 = 0 ;
42196 PyObject * obj0 = 0 ;
42197 PyObject * obj1 = 0 ;
42198 PyObject * obj2 = 0 ;
42199 std::string result;
42200
42201 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableUShortCol_string",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
42202 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableUShortCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[32]
, 0 | 0, 0)
;
42203 if (!SWIG_IsOK(res1)(res1 >= 0)) {
42204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableUShortCol_string" "', argument " "1"" of type '" "GFitsTableUShortCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableUShortCol_string"
"', argument " "1"" of type '" "GFitsTableUShortCol const *"
"'"); goto fail; } while(0)
;
42205 }
42206 arg1 = reinterpret_cast< GFitsTableUShortCol * >(argp1);
42207 ecode2 = SWIG_AsVal_int(obj1, &val2);
42208 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
42209 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableUShortCol_string" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableUShortCol_string"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
42210 }
42211 temp2 = static_cast< int >(val2);
42212 arg2 = &temp2;
42213 ecode3 = SWIG_AsVal_int(obj2, &val3);
42214 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
42215 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableUShortCol_string" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableUShortCol_string"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
42216 }
42217 temp3 = static_cast< int >(val3);
42218 arg3 = &temp3;
42219 {
42220 try {
42221 result = ((GFitsTableUShortCol const *)arg1)->string((int const &)*arg2,(int const &)*arg3);
42222 }
42223 catch (const GException::out_of_range& e) {
42224 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
42225 }
42226 catch (const GExceptionHandler& e) {
42227 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42228 }
42229 catch (const std::exception& e) {
42230 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42231 }
42232 }
42233 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
42234 return resultobj;
42235fail:
42236 return NULL__null;
42237}
42238
42239
42240SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableUShortCol_string__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42241 PyObject *resultobj = 0;
42242 GFitsTableUShortCol *arg1 = (GFitsTableUShortCol *) 0 ;
42243 int *arg2 = 0 ;
42244 void *argp1 = 0 ;
42245 int res1 = 0 ;
42246 int temp2 ;
42247 int val2 ;
42248 int ecode2 = 0 ;
42249 PyObject * obj0 = 0 ;
42250 PyObject * obj1 = 0 ;
42251 std::string result;
42252
42253 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableUShortCol_string",&obj0,&obj1)) SWIG_failgoto fail;
42254 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableUShortCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[32]
, 0 | 0, 0)
;
42255 if (!SWIG_IsOK(res1)(res1 >= 0)) {
42256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableUShortCol_string" "', argument " "1"" of type '" "GFitsTableUShortCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableUShortCol_string"
"', argument " "1"" of type '" "GFitsTableUShortCol const *"
"'"); goto fail; } while(0)
;
42257 }
42258 arg1 = reinterpret_cast< GFitsTableUShortCol * >(argp1);
42259 ecode2 = SWIG_AsVal_int(obj1, &val2);
42260 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
42261 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableUShortCol_string" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableUShortCol_string"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
42262 }
42263 temp2 = static_cast< int >(val2);
42264 arg2 = &temp2;
42265 {
42266 try {
42267 result = ((GFitsTableUShortCol const *)arg1)->string((int const &)*arg2);
42268 }
42269 catch (const GException::out_of_range& e) {
42270 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
42271 }
42272 catch (const GExceptionHandler& e) {
42273 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42274 }
42275 catch (const std::exception& e) {
42276 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42277 }
42278 }
42279 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
42280 return resultobj;
42281fail:
42282 return NULL__null;
42283}
42284
42285
42286SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableUShortCol_string(PyObject *self, PyObject *args) {
42287 int argc;
42288 PyObject *argv[4];
42289 int ii;
42290
42291 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
42292 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
42293 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
42294 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
42295 }
42296 if (argc == 2) {
42297 int _v;
42298 void *vptr = 0;
42299 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableUShortCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[32
], 0, 0)
;
42300 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
42301 if (_v) {
42302 {
42303 int res = SWIG_AsVal_int(argv[1], NULL__null);
42304 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
42305 }
42306 if (_v) {
42307 return _wrap_GFitsTableUShortCol_string__SWIG_1(self, args);
42308 }
42309 }
42310 }
42311 if (argc == 3) {
42312 int _v;
42313 void *vptr = 0;
42314 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableUShortCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[32
], 0, 0)
;
42315 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
42316 if (_v) {
42317 {
42318 int res = SWIG_AsVal_int(argv[1], NULL__null);
42319 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
42320 }
42321 if (_v) {
42322 {
42323 int res = SWIG_AsVal_int(argv[2], NULL__null);
42324 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
42325 }
42326 if (_v) {
42327 return _wrap_GFitsTableUShortCol_string__SWIG_0(self, args);
42328 }
42329 }
42330 }
42331 }
42332
42333fail:
42334 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableUShortCol_string'.\n"
42335 " Possible C/C++ prototypes are:\n"
42336 " GFitsTableUShortCol::string(int const &,int const &) const\n"
42337 " GFitsTableUShortCol::string(int const &) const\n");
42338 return 0;
42339}
42340
42341
42342SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableUShortCol_real__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42343 PyObject *resultobj = 0;
42344 GFitsTableUShortCol *arg1 = (GFitsTableUShortCol *) 0 ;
42345 int *arg2 = 0 ;
42346 int *arg3 = 0 ;
42347 void *argp1 = 0 ;
42348 int res1 = 0 ;
42349 int temp2 ;
42350 int val2 ;
42351 int ecode2 = 0 ;
42352 int temp3 ;
42353 int val3 ;
42354 int ecode3 = 0 ;
42355 PyObject * obj0 = 0 ;
42356 PyObject * obj1 = 0 ;
42357 PyObject * obj2 = 0 ;
42358 double result;
42359
42360 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableUShortCol_real",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
42361 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableUShortCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[32]
, 0 | 0, 0)
;
42362 if (!SWIG_IsOK(res1)(res1 >= 0)) {
42363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableUShortCol_real" "', argument " "1"" of type '" "GFitsTableUShortCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableUShortCol_real" "', argument "
"1"" of type '" "GFitsTableUShortCol const *""'"); goto fail
; } while(0)
;
42364 }
42365 arg1 = reinterpret_cast< GFitsTableUShortCol * >(argp1);
42366 ecode2 = SWIG_AsVal_int(obj1, &val2);
42367 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
42368 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableUShortCol_real" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableUShortCol_real"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
42369 }
42370 temp2 = static_cast< int >(val2);
42371 arg2 = &temp2;
42372 ecode3 = SWIG_AsVal_int(obj2, &val3);
42373 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
42374 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableUShortCol_real" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableUShortCol_real"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
42375 }
42376 temp3 = static_cast< int >(val3);
42377 arg3 = &temp3;
42378 {
42379 try {
42380 result = (double)((GFitsTableUShortCol const *)arg1)->real((int const &)*arg2,(int const &)*arg3);
42381 }
42382 catch (const GException::out_of_range& e) {
42383 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
42384 }
42385 catch (const GExceptionHandler& e) {
42386 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42387 }
42388 catch (const std::exception& e) {
42389 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42390 }
42391 }
42392 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
42393 return resultobj;
42394fail:
42395 return NULL__null;
42396}
42397
42398
42399SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableUShortCol_real__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42400 PyObject *resultobj = 0;
42401 GFitsTableUShortCol *arg1 = (GFitsTableUShortCol *) 0 ;
42402 int *arg2 = 0 ;
42403 void *argp1 = 0 ;
42404 int res1 = 0 ;
42405 int temp2 ;
42406 int val2 ;
42407 int ecode2 = 0 ;
42408 PyObject * obj0 = 0 ;
42409 PyObject * obj1 = 0 ;
42410 double result;
42411
42412 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableUShortCol_real",&obj0,&obj1)) SWIG_failgoto fail;
42413 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableUShortCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[32]
, 0 | 0, 0)
;
42414 if (!SWIG_IsOK(res1)(res1 >= 0)) {
42415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableUShortCol_real" "', argument " "1"" of type '" "GFitsTableUShortCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableUShortCol_real" "', argument "
"1"" of type '" "GFitsTableUShortCol const *""'"); goto fail
; } while(0)
;
42416 }
42417 arg1 = reinterpret_cast< GFitsTableUShortCol * >(argp1);
42418 ecode2 = SWIG_AsVal_int(obj1, &val2);
42419 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
42420 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableUShortCol_real" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableUShortCol_real"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
42421 }
42422 temp2 = static_cast< int >(val2);
42423 arg2 = &temp2;
42424 {
42425 try {
42426 result = (double)((GFitsTableUShortCol const *)arg1)->real((int const &)*arg2);
42427 }
42428 catch (const GException::out_of_range& e) {
42429 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
42430 }
42431 catch (const GExceptionHandler& e) {
42432 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42433 }
42434 catch (const std::exception& e) {
42435 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42436 }
42437 }
42438 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
42439 return resultobj;
42440fail:
42441 return NULL__null;
42442}
42443
42444
42445SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableUShortCol_real(PyObject *self, PyObject *args) {
42446 int argc;
42447 PyObject *argv[4];
42448 int ii;
42449
42450 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
42451 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
42452 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
42453 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
42454 }
42455 if (argc == 2) {
42456 int _v;
42457 void *vptr = 0;
42458 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableUShortCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[32
], 0, 0)
;
42459 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
42460 if (_v) {
42461 {
42462 int res = SWIG_AsVal_int(argv[1], NULL__null);
42463 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
42464 }
42465 if (_v) {
42466 return _wrap_GFitsTableUShortCol_real__SWIG_1(self, args);
42467 }
42468 }
42469 }
42470 if (argc == 3) {
42471 int _v;
42472 void *vptr = 0;
42473 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableUShortCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[32
], 0, 0)
;
42474 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
42475 if (_v) {
42476 {
42477 int res = SWIG_AsVal_int(argv[1], NULL__null);
42478 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
42479 }
42480 if (_v) {
42481 {
42482 int res = SWIG_AsVal_int(argv[2], NULL__null);
42483 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
42484 }
42485 if (_v) {
42486 return _wrap_GFitsTableUShortCol_real__SWIG_0(self, args);
42487 }
42488 }
42489 }
42490 }
42491
42492fail:
42493 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableUShortCol_real'.\n"
42494 " Possible C/C++ prototypes are:\n"
42495 " GFitsTableUShortCol::real(int const &,int const &) const\n"
42496 " GFitsTableUShortCol::real(int const &) const\n");
42497 return 0;
42498}
42499
42500
42501SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableUShortCol_integer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42502 PyObject *resultobj = 0;
42503 GFitsTableUShortCol *arg1 = (GFitsTableUShortCol *) 0 ;
42504 int *arg2 = 0 ;
42505 int *arg3 = 0 ;
42506 void *argp1 = 0 ;
42507 int res1 = 0 ;
42508 int temp2 ;
42509 int val2 ;
42510 int ecode2 = 0 ;
42511 int temp3 ;
42512 int val3 ;
42513 int ecode3 = 0 ;
42514 PyObject * obj0 = 0 ;
42515 PyObject * obj1 = 0 ;
42516 PyObject * obj2 = 0 ;
42517 int result;
42518
42519 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableUShortCol_integer",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
42520 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableUShortCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[32]
, 0 | 0, 0)
;
42521 if (!SWIG_IsOK(res1)(res1 >= 0)) {
42522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableUShortCol_integer" "', argument " "1"" of type '" "GFitsTableUShortCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableUShortCol_integer"
"', argument " "1"" of type '" "GFitsTableUShortCol const *"
"'"); goto fail; } while(0)
;
42523 }
42524 arg1 = reinterpret_cast< GFitsTableUShortCol * >(argp1);
42525 ecode2 = SWIG_AsVal_int(obj1, &val2);
42526 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
42527 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableUShortCol_integer" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableUShortCol_integer"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
42528 }
42529 temp2 = static_cast< int >(val2);
42530 arg2 = &temp2;
42531 ecode3 = SWIG_AsVal_int(obj2, &val3);
42532 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
42533 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableUShortCol_integer" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableUShortCol_integer"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
42534 }
42535 temp3 = static_cast< int >(val3);
42536 arg3 = &temp3;
42537 {
42538 try {
42539 result = (int)((GFitsTableUShortCol const *)arg1)->integer((int const &)*arg2,(int const &)*arg3);
42540 }
42541 catch (const GException::out_of_range& e) {
42542 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
42543 }
42544 catch (const GExceptionHandler& e) {
42545 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42546 }
42547 catch (const std::exception& e) {
42548 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42549 }
42550 }
42551 resultobj = SWIG_From_int(static_cast< int >(result));
42552 return resultobj;
42553fail:
42554 return NULL__null;
42555}
42556
42557
42558SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableUShortCol_integer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42559 PyObject *resultobj = 0;
42560 GFitsTableUShortCol *arg1 = (GFitsTableUShortCol *) 0 ;
42561 int *arg2 = 0 ;
42562 void *argp1 = 0 ;
42563 int res1 = 0 ;
42564 int temp2 ;
42565 int val2 ;
42566 int ecode2 = 0 ;
42567 PyObject * obj0 = 0 ;
42568 PyObject * obj1 = 0 ;
42569 int result;
42570
42571 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableUShortCol_integer",&obj0,&obj1)) SWIG_failgoto fail;
42572 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableUShortCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[32]
, 0 | 0, 0)
;
42573 if (!SWIG_IsOK(res1)(res1 >= 0)) {
42574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableUShortCol_integer" "', argument " "1"" of type '" "GFitsTableUShortCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableUShortCol_integer"
"', argument " "1"" of type '" "GFitsTableUShortCol const *"
"'"); goto fail; } while(0)
;
42575 }
42576 arg1 = reinterpret_cast< GFitsTableUShortCol * >(argp1);
42577 ecode2 = SWIG_AsVal_int(obj1, &val2);
42578 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
42579 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableUShortCol_integer" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableUShortCol_integer"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
42580 }
42581 temp2 = static_cast< int >(val2);
42582 arg2 = &temp2;
42583 {
42584 try {
42585 result = (int)((GFitsTableUShortCol const *)arg1)->integer((int const &)*arg2);
42586 }
42587 catch (const GException::out_of_range& e) {
42588 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
42589 }
42590 catch (const GExceptionHandler& e) {
42591 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42592 }
42593 catch (const std::exception& e) {
42594 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42595 }
42596 }
42597 resultobj = SWIG_From_int(static_cast< int >(result));
42598 return resultobj;
42599fail:
42600 return NULL__null;
42601}
42602
42603
42604SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableUShortCol_integer(PyObject *self, PyObject *args) {
42605 int argc;
42606 PyObject *argv[4];
42607 int ii;
42608
42609 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
42610 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
42611 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
42612 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
42613 }
42614 if (argc == 2) {
42615 int _v;
42616 void *vptr = 0;
42617 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableUShortCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[32
], 0, 0)
;
42618 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
42619 if (_v) {
42620 {
42621 int res = SWIG_AsVal_int(argv[1], NULL__null);
42622 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
42623 }
42624 if (_v) {
42625 return _wrap_GFitsTableUShortCol_integer__SWIG_1(self, args);
42626 }
42627 }
42628 }
42629 if (argc == 3) {
42630 int _v;
42631 void *vptr = 0;
42632 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableUShortCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[32
], 0, 0)
;
42633 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
42634 if (_v) {
42635 {
42636 int res = SWIG_AsVal_int(argv[1], NULL__null);
42637 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
42638 }
42639 if (_v) {
42640 {
42641 int res = SWIG_AsVal_int(argv[2], NULL__null);
42642 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
42643 }
42644 if (_v) {
42645 return _wrap_GFitsTableUShortCol_integer__SWIG_0(self, args);
42646 }
42647 }
42648 }
42649 }
42650
42651fail:
42652 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableUShortCol_integer'.\n"
42653 " Possible C/C++ prototypes are:\n"
42654 " GFitsTableUShortCol::integer(int const &,int const &) const\n"
42655 " GFitsTableUShortCol::integer(int const &) const\n");
42656 return 0;
42657}
42658
42659
42660SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableUShortCol_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42661 PyObject *resultobj = 0;
42662 GFitsTableUShortCol *arg1 = (GFitsTableUShortCol *) 0 ;
42663 int *arg2 = 0 ;
42664 int *arg3 = 0 ;
42665 void *argp1 = 0 ;
42666 int res1 = 0 ;
42667 int temp2 ;
42668 int val2 ;
42669 int ecode2 = 0 ;
42670 int temp3 ;
42671 int val3 ;
42672 int ecode3 = 0 ;
42673 PyObject * obj0 = 0 ;
42674 PyObject * obj1 = 0 ;
42675 PyObject * obj2 = 0 ;
42676
42677 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableUShortCol_insert",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
42678 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableUShortCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[32]
, 0 | 0, 0)
;
42679 if (!SWIG_IsOK(res1)(res1 >= 0)) {
42680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableUShortCol_insert" "', argument " "1"" of type '" "GFitsTableUShortCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableUShortCol_insert"
"', argument " "1"" of type '" "GFitsTableUShortCol *""'"); goto
fail; } while(0)
;
42681 }
42682 arg1 = reinterpret_cast< GFitsTableUShortCol * >(argp1);
42683 ecode2 = SWIG_AsVal_int(obj1, &val2);
42684 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
42685 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableUShortCol_insert" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableUShortCol_insert"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
42686 }
42687 temp2 = static_cast< int >(val2);
42688 arg2 = &temp2;
42689 ecode3 = SWIG_AsVal_int(obj2, &val3);
42690 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
42691 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableUShortCol_insert" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableUShortCol_insert"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
42692 }
42693 temp3 = static_cast< int >(val3);
42694 arg3 = &temp3;
42695 {
42696 try {
42697 (arg1)->insert((int const &)*arg2,(int const &)*arg3);
42698 }
42699 catch (const GException::out_of_range& e) {
42700 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
42701 }
42702 catch (const GExceptionHandler& e) {
42703 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42704 }
42705 catch (const std::exception& e) {
42706 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42707 }
42708 }
42709 resultobj = SWIG_Py_Void();
42710 return resultobj;
42711fail:
42712 return NULL__null;
42713}
42714
42715
42716SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableUShortCol_remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42717 PyObject *resultobj = 0;
42718 GFitsTableUShortCol *arg1 = (GFitsTableUShortCol *) 0 ;
42719 int *arg2 = 0 ;
42720 int *arg3 = 0 ;
42721 void *argp1 = 0 ;
42722 int res1 = 0 ;
42723 int temp2 ;
42724 int val2 ;
42725 int ecode2 = 0 ;
42726 int temp3 ;
42727 int val3 ;
42728 int ecode3 = 0 ;
42729 PyObject * obj0 = 0 ;
42730 PyObject * obj1 = 0 ;
42731 PyObject * obj2 = 0 ;
42732
42733 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableUShortCol_remove",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
42734 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableUShortCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[32]
, 0 | 0, 0)
;
42735 if (!SWIG_IsOK(res1)(res1 >= 0)) {
42736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableUShortCol_remove" "', argument " "1"" of type '" "GFitsTableUShortCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableUShortCol_remove"
"', argument " "1"" of type '" "GFitsTableUShortCol *""'"); goto
fail; } while(0)
;
42737 }
42738 arg1 = reinterpret_cast< GFitsTableUShortCol * >(argp1);
42739 ecode2 = SWIG_AsVal_int(obj1, &val2);
42740 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
42741 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableUShortCol_remove" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableUShortCol_remove"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
42742 }
42743 temp2 = static_cast< int >(val2);
42744 arg2 = &temp2;
42745 ecode3 = SWIG_AsVal_int(obj2, &val3);
42746 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
42747 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableUShortCol_remove" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableUShortCol_remove"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
42748 }
42749 temp3 = static_cast< int >(val3);
42750 arg3 = &temp3;
42751 {
42752 try {
42753 (arg1)->remove((int const &)*arg2,(int const &)*arg3);
42754 }
42755 catch (const GException::out_of_range& e) {
42756 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
42757 }
42758 catch (const GExceptionHandler& e) {
42759 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42760 }
42761 catch (const std::exception& e) {
42762 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42763 }
42764 }
42765 resultobj = SWIG_Py_Void();
42766 return resultobj;
42767fail:
42768 return NULL__null;
42769}
42770
42771
42772SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableUShortCol_isloaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42773 PyObject *resultobj = 0;
42774 GFitsTableUShortCol *arg1 = (GFitsTableUShortCol *) 0 ;
42775 void *argp1 = 0 ;
42776 int res1 = 0 ;
42777 PyObject * obj0 = 0 ;
42778 bool result;
42779
42780 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableUShortCol_isloaded",&obj0)) SWIG_failgoto fail;
42781 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableUShortCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[32]
, 0 | 0, 0)
;
42782 if (!SWIG_IsOK(res1)(res1 >= 0)) {
42783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableUShortCol_isloaded" "', argument " "1"" of type '" "GFitsTableUShortCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableUShortCol_isloaded"
"', argument " "1"" of type '" "GFitsTableUShortCol const *"
"'"); goto fail; } while(0)
;
42784 }
42785 arg1 = reinterpret_cast< GFitsTableUShortCol * >(argp1);
42786 {
42787 try {
42788 result = (bool)((GFitsTableUShortCol const *)arg1)->isloaded();
42789 }
42790 catch (const GException::out_of_range& e) {
42791 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
42792 }
42793 catch (const GExceptionHandler& e) {
42794 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42795 }
42796 catch (const std::exception& e) {
42797 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42798 }
42799 }
42800 resultobj = SWIG_From_bool(static_cast< bool >(result));
42801 return resultobj;
42802fail:
42803 return NULL__null;
42804}
42805
42806
42807SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableUShortCol_data(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42808 PyObject *resultobj = 0;
42809 GFitsTableUShortCol *arg1 = (GFitsTableUShortCol *) 0 ;
42810 void *argp1 = 0 ;
42811 int res1 = 0 ;
42812 PyObject * obj0 = 0 ;
42813 unsigned short *result = 0 ;
42814
42815 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableUShortCol_data",&obj0)) SWIG_failgoto fail;
42816 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableUShortCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[32]
, 0 | 0, 0)
;
42817 if (!SWIG_IsOK(res1)(res1 >= 0)) {
42818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableUShortCol_data" "', argument " "1"" of type '" "GFitsTableUShortCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableUShortCol_data" "', argument "
"1"" of type '" "GFitsTableUShortCol *""'"); goto fail; } while
(0)
;
42819 }
42820 arg1 = reinterpret_cast< GFitsTableUShortCol * >(argp1);
42821 {
42822 try {
42823 result = (unsigned short *)(arg1)->data();
42824 }
42825 catch (const GException::out_of_range& e) {
42826 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
42827 }
42828 catch (const GExceptionHandler& e) {
42829 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42830 }
42831 catch (const std::exception& e) {
42832 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42833 }
42834 }
42835 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_short, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[55], 0
| 0)
;
42836 return resultobj;
42837fail:
42838 return NULL__null;
42839}
42840
42841
42842SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableUShortCol_nulval__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42843 PyObject *resultobj = 0;
42844 GFitsTableUShortCol *arg1 = (GFitsTableUShortCol *) 0 ;
42845 void *argp1 = 0 ;
42846 int res1 = 0 ;
42847 PyObject * obj0 = 0 ;
42848 unsigned short *result = 0 ;
42849
42850 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableUShortCol_nulval",&obj0)) SWIG_failgoto fail;
42851 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableUShortCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[32]
, 0 | 0, 0)
;
42852 if (!SWIG_IsOK(res1)(res1 >= 0)) {
42853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableUShortCol_nulval" "', argument " "1"" of type '" "GFitsTableUShortCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableUShortCol_nulval"
"', argument " "1"" of type '" "GFitsTableUShortCol *""'"); goto
fail; } while(0)
;
42854 }
42855 arg1 = reinterpret_cast< GFitsTableUShortCol * >(argp1);
42856 {
42857 try {
42858 result = (unsigned short *)(arg1)->nulval();
42859 }
42860 catch (const GException::out_of_range& e) {
42861 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
42862 }
42863 catch (const GExceptionHandler& e) {
42864 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42865 }
42866 catch (const std::exception& e) {
42867 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42868 }
42869 }
42870 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_short, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[55], 0
| 0)
;
42871 return resultobj;
42872fail:
42873 return NULL__null;
42874}
42875
42876
42877SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableUShortCol_nulval__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42878 PyObject *resultobj = 0;
42879 GFitsTableUShortCol *arg1 = (GFitsTableUShortCol *) 0 ;
42880 unsigned short *arg2 = (unsigned short *) 0 ;
42881 void *argp1 = 0 ;
42882 int res1 = 0 ;
42883 void *argp2 = 0 ;
42884 int res2 = 0 ;
42885 PyObject * obj0 = 0 ;
42886 PyObject * obj1 = 0 ;
42887
42888 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableUShortCol_nulval",&obj0,&obj1)) SWIG_failgoto fail;
42889 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableUShortCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[32]
, 0 | 0, 0)
;
42890 if (!SWIG_IsOK(res1)(res1 >= 0)) {
42891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableUShortCol_nulval" "', argument " "1"" of type '" "GFitsTableUShortCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableUShortCol_nulval"
"', argument " "1"" of type '" "GFitsTableUShortCol *""'"); goto
fail; } while(0)
;
42892 }
42893 arg1 = reinterpret_cast< GFitsTableUShortCol * >(argp1);
42894 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_short, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[55]
, 0 | 0, 0)
;
42895 if (!SWIG_IsOK(res2)(res2 >= 0)) {
42896 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsTableUShortCol_nulval" "', argument " "2"" of type '" "unsigned short const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsTableUShortCol_nulval"
"', argument " "2"" of type '" "unsigned short const *""'");
goto fail; } while(0)
;
42897 }
42898 arg2 = reinterpret_cast< unsigned short * >(argp2);
42899 {
42900 try {
42901 (arg1)->nulval((unsigned short const *)arg2);
42902 }
42903 catch (const GException::out_of_range& e) {
42904 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
42905 }
42906 catch (const GExceptionHandler& e) {
42907 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42908 }
42909 catch (const std::exception& e) {
42910 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42911 }
42912 }
42913 resultobj = SWIG_Py_Void();
42914 return resultobj;
42915fail:
42916 return NULL__null;
42917}
42918
42919
42920SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableUShortCol_nulval(PyObject *self, PyObject *args) {
42921 int argc;
42922 PyObject *argv[3];
42923 int ii;
42924
42925 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
42926 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
42927 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
42928 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
42929 }
42930 if (argc == 1) {
42931 int _v;
42932 void *vptr = 0;
42933 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableUShortCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[32
], 0, 0)
;
42934 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
42935 if (_v) {
42936 return _wrap_GFitsTableUShortCol_nulval__SWIG_0(self, args);
42937 }
42938 }
42939 if (argc == 2) {
42940 int _v;
42941 void *vptr = 0;
42942 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableUShortCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[32
], 0, 0)
;
42943 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
42944 if (_v) {
42945 void *vptr = 0;
42946 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_short, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[55
], 0, 0)
;
42947 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
42948 if (_v) {
42949 return _wrap_GFitsTableUShortCol_nulval__SWIG_1(self, args);
42950 }
42951 }
42952 }
42953
42954fail:
42955 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableUShortCol_nulval'.\n"
42956 " Possible C/C++ prototypes are:\n"
42957 " GFitsTableUShortCol::nulval()\n"
42958 " GFitsTableUShortCol::nulval(unsigned short const *)\n");
42959 return 0;
42960}
42961
42962
42963SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableUShortCol___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42964 PyObject *resultobj = 0;
42965 GFitsTableUShortCol *arg1 = (GFitsTableUShortCol *) 0 ;
42966 int *arg2 ;
42967 void *argp1 = 0 ;
42968 int res1 = 0 ;
42969 int temp2[3] ;
42970 PyObject * obj0 = 0 ;
42971 PyObject * obj1 = 0 ;
42972 unsigned short result;
42973
42974 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableUShortCol___getitem__",&obj0,&obj1)) SWIG_failgoto fail;
42975 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableUShortCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[32]
, 0 | 0, 0)
;
42976 if (!SWIG_IsOK(res1)(res1 >= 0)) {
42977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableUShortCol___getitem__" "', argument " "1"" of type '" "GFitsTableUShortCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableUShortCol___getitem__"
"', argument " "1"" of type '" "GFitsTableUShortCol *""'"); goto
fail; } while(0)
;
42978 }
42979 arg1 = reinterpret_cast< GFitsTableUShortCol * >(argp1);
42980 {
42981 if (!table_column_tuple(obj1,temp2)) {
42982 return NULL__null;
42983 }
42984 arg2 = &temp2[0];
42985 }
42986 {
42987 try {
42988 result = (unsigned short)GFitsTableUShortCol___getitem__(arg1,arg2);
42989 }
42990 catch (const GException::out_of_range& e) {
42991 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
42992 }
42993 catch (const GExceptionHandler& e) {
42994 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42995 }
42996 catch (const std::exception& e) {
42997 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
42998 }
42999 }
43000 resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result));
43001 return resultobj;
43002fail:
43003 return NULL__null;
43004}
43005
43006
43007SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableUShortCol___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43008 PyObject *resultobj = 0;
43009 GFitsTableUShortCol *arg1 = (GFitsTableUShortCol *) 0 ;
43010 int *arg2 ;
43011 unsigned short arg3 ;
43012 void *argp1 = 0 ;
43013 int res1 = 0 ;
43014 int temp2[3] ;
43015 unsigned short val3 ;
43016 int ecode3 = 0 ;
43017 PyObject * obj0 = 0 ;
43018 PyObject * obj1 = 0 ;
43019 PyObject * obj2 = 0 ;
43020
43021 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableUShortCol___setitem__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
43022 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableUShortCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[32]
, 0 | 0, 0)
;
43023 if (!SWIG_IsOK(res1)(res1 >= 0)) {
43024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableUShortCol___setitem__" "', argument " "1"" of type '" "GFitsTableUShortCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableUShortCol___setitem__"
"', argument " "1"" of type '" "GFitsTableUShortCol *""'"); goto
fail; } while(0)
;
43025 }
43026 arg1 = reinterpret_cast< GFitsTableUShortCol * >(argp1);
43027 {
43028 if (!table_column_tuple(obj1,temp2)) {
43029 return NULL__null;
43030 }
43031 arg2 = &temp2[0];
43032 }
43033 ecode3 = SWIG_AsVal_unsigned_SS_short(obj2, &val3);
43034 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
43035 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableUShortCol___setitem__" "', argument " "3"" of type '" "unsigned short""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableUShortCol___setitem__"
"', argument " "3"" of type '" "unsigned short""'"); goto fail
; } while(0)
;
43036 }
43037 arg3 = static_cast< unsigned short >(val3);
43038 {
43039 try {
43040 GFitsTableUShortCol___setitem__(arg1,arg2,arg3);
43041 }
43042 catch (const GException::out_of_range& e) {
43043 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
43044 }
43045 catch (const GExceptionHandler& e) {
43046 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43047 }
43048 catch (const std::exception& e) {
43049 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43050 }
43051 }
43052 resultobj = SWIG_Py_Void();
43053 return resultobj;
43054fail:
43055 return NULL__null;
43056}
43057
43058
43059SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableUShortCol_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43060 PyObject *resultobj = 0;
43061 GFitsTableUShortCol *arg1 = (GFitsTableUShortCol *) 0 ;
43062 void *argp1 = 0 ;
43063 int res1 = 0 ;
43064 PyObject * obj0 = 0 ;
43065 GFitsTableUShortCol result;
43066
43067 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableUShortCol_copy",&obj0)) SWIG_failgoto fail;
43068 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableUShortCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[32]
, 0 | 0, 0)
;
43069 if (!SWIG_IsOK(res1)(res1 >= 0)) {
43070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableUShortCol_copy" "', argument " "1"" of type '" "GFitsTableUShortCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableUShortCol_copy" "', argument "
"1"" of type '" "GFitsTableUShortCol *""'"); goto fail; } while
(0)
;
43071 }
43072 arg1 = reinterpret_cast< GFitsTableUShortCol * >(argp1);
43073 {
43074 try {
43075 result = GFitsTableUShortCol_copy(arg1);
43076 }
43077 catch (const GException::out_of_range& e) {
43078 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
43079 }
43080 catch (const GExceptionHandler& e) {
43081 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43082 }
43083 catch (const std::exception& e) {
43084 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43085 }
43086 }
43087 resultobj = SWIG_NewPointerObj((new GFitsTableUShortCol(static_cast< const GFitsTableUShortCol& >(result))), SWIGTYPE_p_GFitsTableUShortCol, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GFitsTableUShortCol(static_cast
< const GFitsTableUShortCol& >(result))), swig_types
[32], 0x1 | 0)
;
43088 return resultobj;
43089fail:
43090 return NULL__null;
43091}
43092
43093
43094SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GFitsTableUShortCol_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43095 PyObject *obj;
43096 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
43097 SWIG_TypeNewClientData(SWIGTYPE_p_GFitsTableUShortColswig_types[32], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
43098 return SWIG_Py_Void();
43099}
43100
43101SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableShortCol__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43102 PyObject *resultobj = 0;
43103 GFitsTableShortCol *result = 0 ;
43104
43105 if (!PyArg_ParseTuple(args,(char *)":new_GFitsTableShortCol")) SWIG_failgoto fail;
43106 {
43107 try {
43108 result = (GFitsTableShortCol *)new GFitsTableShortCol();
43109 }
43110 catch (const GException::out_of_range& e) {
43111 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
43112 }
43113 catch (const GExceptionHandler& e) {
43114 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43115 }
43116 catch (const std::exception& e) {
43117 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43118 }
43119 }
43120 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableShortCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[29], (
(0x1 << 1) | 0x1) | 0)
;
43121 return resultobj;
43122fail:
43123 return NULL__null;
43124}
43125
43126
43127SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableShortCol__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43128 PyObject *resultobj = 0;
43129 std::string *arg1 = 0 ;
43130 int *arg2 = 0 ;
43131 int *arg3 = 0 ;
43132 int res1 = SWIG_OLDOBJ((0)) ;
43133 int temp2 ;
43134 int val2 ;
43135 int ecode2 = 0 ;
43136 int temp3 ;
43137 int val3 ;
43138 int ecode3 = 0 ;
43139 PyObject * obj0 = 0 ;
43140 PyObject * obj1 = 0 ;
43141 PyObject * obj2 = 0 ;
43142 GFitsTableShortCol *result = 0 ;
43143
43144 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GFitsTableShortCol",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
43145 {
43146 std::string *ptr = (std::string *)0;
43147 res1 = SWIG_AsPtr_std_string(obj0, &ptr);
43148 if (!SWIG_IsOK(res1)(res1 >= 0)) {
43149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsTableShortCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsTableShortCol" "', argument "
"1"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
43150 }
43151 if (!ptr) {
43152 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsTableShortCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsTableShortCol" "', argument " "1"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
43153 }
43154 arg1 = ptr;
43155 }
43156 ecode2 = SWIG_AsVal_int(obj1, &val2);
43157 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
43158 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsTableShortCol" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsTableShortCol"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
43159 }
43160 temp2 = static_cast< int >(val2);
43161 arg2 = &temp2;
43162 ecode3 = SWIG_AsVal_int(obj2, &val3);
43163 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
43164 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsTableShortCol" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsTableShortCol"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
43165 }
43166 temp3 = static_cast< int >(val3);
43167 arg3 = &temp3;
43168 {
43169 try {
43170 result = (GFitsTableShortCol *)new GFitsTableShortCol((std::string const &)*arg1,(int const &)*arg2,(int const &)*arg3);
43171 }
43172 catch (const GException::out_of_range& e) {
43173 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
43174 }
43175 catch (const GExceptionHandler& e) {
43176 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43177 }
43178 catch (const std::exception& e) {
43179 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43180 }
43181 }
43182 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableShortCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[29], (
(0x1 << 1) | 0x1) | 0)
;
43183 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
43184 return resultobj;
43185fail:
43186 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
43187 return NULL__null;
43188}
43189
43190
43191SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableShortCol__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43192 PyObject *resultobj = 0;
43193 std::string *arg1 = 0 ;
43194 int *arg2 = 0 ;
43195 int res1 = SWIG_OLDOBJ((0)) ;
43196 int temp2 ;
43197 int val2 ;
43198 int ecode2 = 0 ;
43199 PyObject * obj0 = 0 ;
43200 PyObject * obj1 = 0 ;
43201 GFitsTableShortCol *result = 0 ;
43202
43203 if (!PyArg_ParseTuple(args,(char *)"OO:new_GFitsTableShortCol",&obj0,&obj1)) SWIG_failgoto fail;
43204 {
43205 std::string *ptr = (std::string *)0;
43206 res1 = SWIG_AsPtr_std_string(obj0, &ptr);
43207 if (!SWIG_IsOK(res1)(res1 >= 0)) {
43208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsTableShortCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsTableShortCol" "', argument "
"1"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
43209 }
43210 if (!ptr) {
43211 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsTableShortCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsTableShortCol" "', argument " "1"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
43212 }
43213 arg1 = ptr;
43214 }
43215 ecode2 = SWIG_AsVal_int(obj1, &val2);
43216 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
43217 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsTableShortCol" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsTableShortCol"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
43218 }
43219 temp2 = static_cast< int >(val2);
43220 arg2 = &temp2;
43221 {
43222 try {
43223 result = (GFitsTableShortCol *)new GFitsTableShortCol((std::string const &)*arg1,(int const &)*arg2);
43224 }
43225 catch (const GException::out_of_range& e) {
43226 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
43227 }
43228 catch (const GExceptionHandler& e) {
43229 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43230 }
43231 catch (const std::exception& e) {
43232 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43233 }
43234 }
43235 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableShortCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[29], (
(0x1 << 1) | 0x1) | 0)
;
43236 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
43237 return resultobj;
43238fail:
43239 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
43240 return NULL__null;
43241}
43242
43243
43244SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableShortCol__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43245 PyObject *resultobj = 0;
43246 GFitsTableShortCol *arg1 = 0 ;
43247 void *argp1 = 0 ;
43248 int res1 = 0 ;
43249 PyObject * obj0 = 0 ;
43250 GFitsTableShortCol *result = 0 ;
43251
43252 if (!PyArg_ParseTuple(args,(char *)"O:new_GFitsTableShortCol",&obj0)) SWIG_failgoto fail;
43253 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GFitsTableShortCol, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[29]
, 0 | 0, 0)
;
43254 if (!SWIG_IsOK(res1)(res1 >= 0)) {
43255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsTableShortCol" "', argument " "1"" of type '" "GFitsTableShortCol const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsTableShortCol" "', argument "
"1"" of type '" "GFitsTableShortCol const &""'"); goto fail
; } while(0)
;
43256 }
43257 if (!argp1) {
43258 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsTableShortCol" "', argument " "1"" of type '" "GFitsTableShortCol const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsTableShortCol" "', argument " "1"" of type '"
"GFitsTableShortCol const &""'"); goto fail; } while(0)
;
43259 }
43260 arg1 = reinterpret_cast< GFitsTableShortCol * >(argp1);
43261 {
43262 try {
43263 result = (GFitsTableShortCol *)new GFitsTableShortCol((GFitsTableShortCol const &)*arg1);
43264 }
43265 catch (const GException::out_of_range& e) {
43266 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
43267 }
43268 catch (const GExceptionHandler& e) {
43269 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43270 }
43271 catch (const std::exception& e) {
43272 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43273 }
43274 }
43275 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableShortCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[29], (
(0x1 << 1) | 0x1) | 0)
;
43276 return resultobj;
43277fail:
43278 return NULL__null;
43279}
43280
43281
43282SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableShortCol(PyObject *self, PyObject *args) {
43283 int argc;
43284 PyObject *argv[4];
43285 int ii;
43286
43287 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
43288 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
43289 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
43290 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
43291 }
43292 if (argc == 0) {
43293 return _wrap_new_GFitsTableShortCol__SWIG_0(self, args);
43294 }
43295 if (argc == 1) {
43296 int _v;
43297 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GFitsTableShortCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[29], 0, 0
)
;
43298 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
43299 if (_v) {
43300 return _wrap_new_GFitsTableShortCol__SWIG_3(self, args);
43301 }
43302 }
43303 if (argc == 2) {
43304 int _v;
43305 int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
43306 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
43307 if (_v) {
43308 {
43309 int res = SWIG_AsVal_int(argv[1], NULL__null);
43310 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
43311 }
43312 if (_v) {
43313 return _wrap_new_GFitsTableShortCol__SWIG_2(self, args);
43314 }
43315 }
43316 }
43317 if (argc == 3) {
43318 int _v;
43319 int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
43320 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
43321 if (_v) {
43322 {
43323 int res = SWIG_AsVal_int(argv[1], NULL__null);
43324 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
43325 }
43326 if (_v) {
43327 {
43328 int res = SWIG_AsVal_int(argv[2], NULL__null);
43329 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
43330 }
43331 if (_v) {
43332 return _wrap_new_GFitsTableShortCol__SWIG_1(self, args);
43333 }
43334 }
43335 }
43336 }
43337
43338fail:
43339 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GFitsTableShortCol'.\n"
43340 " Possible C/C++ prototypes are:\n"
43341 " GFitsTableShortCol::GFitsTableShortCol()\n"
43342 " GFitsTableShortCol::GFitsTableShortCol(std::string const &,int const &,int const &)\n"
43343 " GFitsTableShortCol::GFitsTableShortCol(std::string const &,int const &)\n"
43344 " GFitsTableShortCol::GFitsTableShortCol(GFitsTableShortCol const &)\n");
43345 return 0;
43346}
43347
43348
43349SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GFitsTableShortCol(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43350 PyObject *resultobj = 0;
43351 GFitsTableShortCol *arg1 = (GFitsTableShortCol *) 0 ;
43352 void *argp1 = 0 ;
43353 int res1 = 0 ;
43354 PyObject * obj0 = 0 ;
43355
43356 if (!PyArg_ParseTuple(args,(char *)"O:delete_GFitsTableShortCol",&obj0)) SWIG_failgoto fail;
43357 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableShortCol, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[29]
, 0x1 | 0, 0)
;
43358 if (!SWIG_IsOK(res1)(res1 >= 0)) {
43359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GFitsTableShortCol" "', argument " "1"" of type '" "GFitsTableShortCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GFitsTableShortCol"
"', argument " "1"" of type '" "GFitsTableShortCol *""'"); goto
fail; } while(0)
;
43360 }
43361 arg1 = reinterpret_cast< GFitsTableShortCol * >(argp1);
43362 {
43363 try {
43364 delete arg1;
43365 }
43366 catch (const GException::out_of_range& e) {
43367 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
43368 }
43369 catch (const GExceptionHandler& e) {
43370 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43371 }
43372 catch (const std::exception& e) {
43373 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43374 }
43375 }
43376 resultobj = SWIG_Py_Void();
43377 return resultobj;
43378fail:
43379 return NULL__null;
43380}
43381
43382
43383SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableShortCol_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43384 PyObject *resultobj = 0;
43385 GFitsTableShortCol *arg1 = (GFitsTableShortCol *) 0 ;
43386 void *argp1 = 0 ;
43387 int res1 = 0 ;
43388 PyObject * obj0 = 0 ;
43389
43390 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableShortCol_clear",&obj0)) SWIG_failgoto fail;
43391 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableShortCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[29]
, 0 | 0, 0)
;
43392 if (!SWIG_IsOK(res1)(res1 >= 0)) {
43393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableShortCol_clear" "', argument " "1"" of type '" "GFitsTableShortCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableShortCol_clear" "', argument "
"1"" of type '" "GFitsTableShortCol *""'"); goto fail; } while
(0)
;
43394 }
43395 arg1 = reinterpret_cast< GFitsTableShortCol * >(argp1);
43396 {
43397 try {
43398 (arg1)->clear();
43399 }
43400 catch (const GException::out_of_range& e) {
43401 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
43402 }
43403 catch (const GExceptionHandler& e) {
43404 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43405 }
43406 catch (const std::exception& e) {
43407 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43408 }
43409 }
43410 resultobj = SWIG_Py_Void();
43411 return resultobj;
43412fail:
43413 return NULL__null;
43414}
43415
43416
43417SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableShortCol_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43418 PyObject *resultobj = 0;
43419 GFitsTableShortCol *arg1 = (GFitsTableShortCol *) 0 ;
43420 void *argp1 = 0 ;
43421 int res1 = 0 ;
43422 PyObject * obj0 = 0 ;
43423 GFitsTableShortCol *result = 0 ;
43424
43425 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableShortCol_clone",&obj0)) SWIG_failgoto fail;
43426 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableShortCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[29]
, 0 | 0, 0)
;
43427 if (!SWIG_IsOK(res1)(res1 >= 0)) {
43428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableShortCol_clone" "', argument " "1"" of type '" "GFitsTableShortCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableShortCol_clone" "', argument "
"1"" of type '" "GFitsTableShortCol const *""'"); goto fail;
} while(0)
;
43429 }
43430 arg1 = reinterpret_cast< GFitsTableShortCol * >(argp1);
43431 {
43432 try {
43433 result = (GFitsTableShortCol *)((GFitsTableShortCol const *)arg1)->clone();
43434 }
43435 catch (const GException::out_of_range& e) {
43436 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
43437 }
43438 catch (const GExceptionHandler& e) {
43439 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43440 }
43441 catch (const std::exception& e) {
43442 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43443 }
43444 }
43445 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableShortCol, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[29], 0
| 0)
;
43446 return resultobj;
43447fail:
43448 return NULL__null;
43449}
43450
43451
43452SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableShortCol_string__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43453 PyObject *resultobj = 0;
43454 GFitsTableShortCol *arg1 = (GFitsTableShortCol *) 0 ;
43455 int *arg2 = 0 ;
43456 int *arg3 = 0 ;
43457 void *argp1 = 0 ;
43458 int res1 = 0 ;
43459 int temp2 ;
43460 int val2 ;
43461 int ecode2 = 0 ;
43462 int temp3 ;
43463 int val3 ;
43464 int ecode3 = 0 ;
43465 PyObject * obj0 = 0 ;
43466 PyObject * obj1 = 0 ;
43467 PyObject * obj2 = 0 ;
43468 std::string result;
43469
43470 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableShortCol_string",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
43471 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableShortCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[29]
, 0 | 0, 0)
;
43472 if (!SWIG_IsOK(res1)(res1 >= 0)) {
43473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableShortCol_string" "', argument " "1"" of type '" "GFitsTableShortCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableShortCol_string"
"', argument " "1"" of type '" "GFitsTableShortCol const *""'"
); goto fail; } while(0)
;
43474 }
43475 arg1 = reinterpret_cast< GFitsTableShortCol * >(argp1);
43476 ecode2 = SWIG_AsVal_int(obj1, &val2);
43477 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
43478 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableShortCol_string" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableShortCol_string"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
43479 }
43480 temp2 = static_cast< int >(val2);
43481 arg2 = &temp2;
43482 ecode3 = SWIG_AsVal_int(obj2, &val3);
43483 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
43484 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableShortCol_string" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableShortCol_string"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
43485 }
43486 temp3 = static_cast< int >(val3);
43487 arg3 = &temp3;
43488 {
43489 try {
43490 result = ((GFitsTableShortCol const *)arg1)->string((int const &)*arg2,(int const &)*arg3);
43491 }
43492 catch (const GException::out_of_range& e) {
43493 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
43494 }
43495 catch (const GExceptionHandler& e) {
43496 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43497 }
43498 catch (const std::exception& e) {
43499 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43500 }
43501 }
43502 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
43503 return resultobj;
43504fail:
43505 return NULL__null;
43506}
43507
43508
43509SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableShortCol_string__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43510 PyObject *resultobj = 0;
43511 GFitsTableShortCol *arg1 = (GFitsTableShortCol *) 0 ;
43512 int *arg2 = 0 ;
43513 void *argp1 = 0 ;
43514 int res1 = 0 ;
43515 int temp2 ;
43516 int val2 ;
43517 int ecode2 = 0 ;
43518 PyObject * obj0 = 0 ;
43519 PyObject * obj1 = 0 ;
43520 std::string result;
43521
43522 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableShortCol_string",&obj0,&obj1)) SWIG_failgoto fail;
43523 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableShortCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[29]
, 0 | 0, 0)
;
43524 if (!SWIG_IsOK(res1)(res1 >= 0)) {
43525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableShortCol_string" "', argument " "1"" of type '" "GFitsTableShortCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableShortCol_string"
"', argument " "1"" of type '" "GFitsTableShortCol const *""'"
); goto fail; } while(0)
;
43526 }
43527 arg1 = reinterpret_cast< GFitsTableShortCol * >(argp1);
43528 ecode2 = SWIG_AsVal_int(obj1, &val2);
43529 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
43530 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableShortCol_string" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableShortCol_string"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
43531 }
43532 temp2 = static_cast< int >(val2);
43533 arg2 = &temp2;
43534 {
43535 try {
43536 result = ((GFitsTableShortCol const *)arg1)->string((int const &)*arg2);
43537 }
43538 catch (const GException::out_of_range& e) {
43539 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
43540 }
43541 catch (const GExceptionHandler& e) {
43542 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43543 }
43544 catch (const std::exception& e) {
43545 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43546 }
43547 }
43548 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
43549 return resultobj;
43550fail:
43551 return NULL__null;
43552}
43553
43554
43555SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableShortCol_string(PyObject *self, PyObject *args) {
43556 int argc;
43557 PyObject *argv[4];
43558 int ii;
43559
43560 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
43561 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
43562 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
43563 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
43564 }
43565 if (argc == 2) {
43566 int _v;
43567 void *vptr = 0;
43568 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableShortCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[29
], 0, 0)
;
43569 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
43570 if (_v) {
43571 {
43572 int res = SWIG_AsVal_int(argv[1], NULL__null);
43573 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
43574 }
43575 if (_v) {
43576 return _wrap_GFitsTableShortCol_string__SWIG_1(self, args);
43577 }
43578 }
43579 }
43580 if (argc == 3) {
43581 int _v;
43582 void *vptr = 0;
43583 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableShortCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[29
], 0, 0)
;
43584 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
43585 if (_v) {
43586 {
43587 int res = SWIG_AsVal_int(argv[1], NULL__null);
43588 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
43589 }
43590 if (_v) {
43591 {
43592 int res = SWIG_AsVal_int(argv[2], NULL__null);
43593 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
43594 }
43595 if (_v) {
43596 return _wrap_GFitsTableShortCol_string__SWIG_0(self, args);
43597 }
43598 }
43599 }
43600 }
43601
43602fail:
43603 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableShortCol_string'.\n"
43604 " Possible C/C++ prototypes are:\n"
43605 " GFitsTableShortCol::string(int const &,int const &) const\n"
43606 " GFitsTableShortCol::string(int const &) const\n");
43607 return 0;
43608}
43609
43610
43611SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableShortCol_real__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43612 PyObject *resultobj = 0;
43613 GFitsTableShortCol *arg1 = (GFitsTableShortCol *) 0 ;
43614 int *arg2 = 0 ;
43615 int *arg3 = 0 ;
43616 void *argp1 = 0 ;
43617 int res1 = 0 ;
43618 int temp2 ;
43619 int val2 ;
43620 int ecode2 = 0 ;
43621 int temp3 ;
43622 int val3 ;
43623 int ecode3 = 0 ;
43624 PyObject * obj0 = 0 ;
43625 PyObject * obj1 = 0 ;
43626 PyObject * obj2 = 0 ;
43627 double result;
43628
43629 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableShortCol_real",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
43630 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableShortCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[29]
, 0 | 0, 0)
;
43631 if (!SWIG_IsOK(res1)(res1 >= 0)) {
43632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableShortCol_real" "', argument " "1"" of type '" "GFitsTableShortCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableShortCol_real" "', argument "
"1"" of type '" "GFitsTableShortCol const *""'"); goto fail;
} while(0)
;
43633 }
43634 arg1 = reinterpret_cast< GFitsTableShortCol * >(argp1);
43635 ecode2 = SWIG_AsVal_int(obj1, &val2);
43636 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
43637 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableShortCol_real" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableShortCol_real"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
43638 }
43639 temp2 = static_cast< int >(val2);
43640 arg2 = &temp2;
43641 ecode3 = SWIG_AsVal_int(obj2, &val3);
43642 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
43643 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableShortCol_real" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableShortCol_real"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
43644 }
43645 temp3 = static_cast< int >(val3);
43646 arg3 = &temp3;
43647 {
43648 try {
43649 result = (double)((GFitsTableShortCol const *)arg1)->real((int const &)*arg2,(int const &)*arg3);
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_GFitsTableShortCol_real__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43669 PyObject *resultobj = 0;
43670 GFitsTableShortCol *arg1 = (GFitsTableShortCol *) 0 ;
43671 int *arg2 = 0 ;
43672 void *argp1 = 0 ;
43673 int res1 = 0 ;
43674 int temp2 ;
43675 int val2 ;
43676 int ecode2 = 0 ;
43677 PyObject * obj0 = 0 ;
43678 PyObject * obj1 = 0 ;
43679 double result;
43680
43681 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableShortCol_real",&obj0,&obj1)) SWIG_failgoto fail;
43682 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableShortCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[29]
, 0 | 0, 0)
;
43683 if (!SWIG_IsOK(res1)(res1 >= 0)) {
43684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableShortCol_real" "', argument " "1"" of type '" "GFitsTableShortCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableShortCol_real" "', argument "
"1"" of type '" "GFitsTableShortCol const *""'"); goto fail;
} while(0)
;
43685 }
43686 arg1 = reinterpret_cast< GFitsTableShortCol * >(argp1);
43687 ecode2 = SWIG_AsVal_int(obj1, &val2);
43688 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
43689 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableShortCol_real" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableShortCol_real"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
43690 }
43691 temp2 = static_cast< int >(val2);
43692 arg2 = &temp2;
43693 {
43694 try {
43695 result = (double)((GFitsTableShortCol const *)arg1)->real((int 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_From_doublePyFloat_FromDouble(static_cast< double >(result));
43708 return resultobj;
43709fail:
43710 return NULL__null;
43711}
43712
43713
43714SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableShortCol_real(PyObject *self, PyObject *args) {
43715 int argc;
43716 PyObject *argv[4];
43717 int ii;
43718
43719 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
43720 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
43721 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
43722 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
43723 }
43724 if (argc == 2) {
43725 int _v;
43726 void *vptr = 0;
43727 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableShortCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[29
], 0, 0)
;
43728 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
43729 if (_v) {
43730 {
43731 int res = SWIG_AsVal_int(argv[1], NULL__null);
43732 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
43733 }
43734 if (_v) {
43735 return _wrap_GFitsTableShortCol_real__SWIG_1(self, args);
43736 }
43737 }
43738 }
43739 if (argc == 3) {
43740 int _v;
43741 void *vptr = 0;
43742 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableShortCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[29
], 0, 0)
;
43743 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
43744 if (_v) {
43745 {
43746 int res = SWIG_AsVal_int(argv[1], NULL__null);
43747 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
43748 }
43749 if (_v) {
43750 {
43751 int res = SWIG_AsVal_int(argv[2], NULL__null);
43752 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
43753 }
43754 if (_v) {
43755 return _wrap_GFitsTableShortCol_real__SWIG_0(self, args);
43756 }
43757 }
43758 }
43759 }
43760
43761fail:
43762 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableShortCol_real'.\n"
43763 " Possible C/C++ prototypes are:\n"
43764 " GFitsTableShortCol::real(int const &,int const &) const\n"
43765 " GFitsTableShortCol::real(int const &) const\n");
43766 return 0;
43767}
43768
43769
43770SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableShortCol_integer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43771 PyObject *resultobj = 0;
43772 GFitsTableShortCol *arg1 = (GFitsTableShortCol *) 0 ;
43773 int *arg2 = 0 ;
43774 int *arg3 = 0 ;
43775 void *argp1 = 0 ;
43776 int res1 = 0 ;
43777 int temp2 ;
43778 int val2 ;
43779 int ecode2 = 0 ;
43780 int temp3 ;
43781 int val3 ;
43782 int ecode3 = 0 ;
43783 PyObject * obj0 = 0 ;
43784 PyObject * obj1 = 0 ;
43785 PyObject * obj2 = 0 ;
43786 int result;
43787
43788 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableShortCol_integer",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
43789 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableShortCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[29]
, 0 | 0, 0)
;
43790 if (!SWIG_IsOK(res1)(res1 >= 0)) {
43791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableShortCol_integer" "', argument " "1"" of type '" "GFitsTableShortCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableShortCol_integer"
"', argument " "1"" of type '" "GFitsTableShortCol const *""'"
); goto fail; } while(0)
;
43792 }
43793 arg1 = reinterpret_cast< GFitsTableShortCol * >(argp1);
43794 ecode2 = SWIG_AsVal_int(obj1, &val2);
43795 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
43796 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableShortCol_integer" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableShortCol_integer"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
43797 }
43798 temp2 = static_cast< int >(val2);
43799 arg2 = &temp2;
43800 ecode3 = SWIG_AsVal_int(obj2, &val3);
43801 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
43802 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableShortCol_integer" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableShortCol_integer"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
43803 }
43804 temp3 = static_cast< int >(val3);
43805 arg3 = &temp3;
43806 {
43807 try {
43808 result = (int)((GFitsTableShortCol const *)arg1)->integer((int const &)*arg2,(int const &)*arg3);
43809 }
43810 catch (const GException::out_of_range& e) {
43811 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
43812 }
43813 catch (const GExceptionHandler& e) {
43814 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43815 }
43816 catch (const std::exception& e) {
43817 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43818 }
43819 }
43820 resultobj = SWIG_From_int(static_cast< int >(result));
43821 return resultobj;
43822fail:
43823 return NULL__null;
43824}
43825
43826
43827SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableShortCol_integer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43828 PyObject *resultobj = 0;
43829 GFitsTableShortCol *arg1 = (GFitsTableShortCol *) 0 ;
43830 int *arg2 = 0 ;
43831 void *argp1 = 0 ;
43832 int res1 = 0 ;
43833 int temp2 ;
43834 int val2 ;
43835 int ecode2 = 0 ;
43836 PyObject * obj0 = 0 ;
43837 PyObject * obj1 = 0 ;
43838 int result;
43839
43840 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableShortCol_integer",&obj0,&obj1)) SWIG_failgoto fail;
43841 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableShortCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[29]
, 0 | 0, 0)
;
43842 if (!SWIG_IsOK(res1)(res1 >= 0)) {
43843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableShortCol_integer" "', argument " "1"" of type '" "GFitsTableShortCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableShortCol_integer"
"', argument " "1"" of type '" "GFitsTableShortCol const *""'"
); goto fail; } while(0)
;
43844 }
43845 arg1 = reinterpret_cast< GFitsTableShortCol * >(argp1);
43846 ecode2 = SWIG_AsVal_int(obj1, &val2);
43847 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
43848 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableShortCol_integer" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableShortCol_integer"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
43849 }
43850 temp2 = static_cast< int >(val2);
43851 arg2 = &temp2;
43852 {
43853 try {
43854 result = (int)((GFitsTableShortCol const *)arg1)->integer((int const &)*arg2);
43855 }
43856 catch (const GException::out_of_range& e) {
43857 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
43858 }
43859 catch (const GExceptionHandler& e) {
43860 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43861 }
43862 catch (const std::exception& e) {
43863 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43864 }
43865 }
43866 resultobj = SWIG_From_int(static_cast< int >(result));
43867 return resultobj;
43868fail:
43869 return NULL__null;
43870}
43871
43872
43873SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableShortCol_integer(PyObject *self, PyObject *args) {
43874 int argc;
43875 PyObject *argv[4];
43876 int ii;
43877
43878 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
43879 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
43880 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
43881 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
43882 }
43883 if (argc == 2) {
43884 int _v;
43885 void *vptr = 0;
43886 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableShortCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[29
], 0, 0)
;
43887 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
43888 if (_v) {
43889 {
43890 int res = SWIG_AsVal_int(argv[1], NULL__null);
43891 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
43892 }
43893 if (_v) {
43894 return _wrap_GFitsTableShortCol_integer__SWIG_1(self, args);
43895 }
43896 }
43897 }
43898 if (argc == 3) {
43899 int _v;
43900 void *vptr = 0;
43901 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableShortCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[29
], 0, 0)
;
43902 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
43903 if (_v) {
43904 {
43905 int res = SWIG_AsVal_int(argv[1], NULL__null);
43906 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
43907 }
43908 if (_v) {
43909 {
43910 int res = SWIG_AsVal_int(argv[2], NULL__null);
43911 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
43912 }
43913 if (_v) {
43914 return _wrap_GFitsTableShortCol_integer__SWIG_0(self, args);
43915 }
43916 }
43917 }
43918 }
43919
43920fail:
43921 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableShortCol_integer'.\n"
43922 " Possible C/C++ prototypes are:\n"
43923 " GFitsTableShortCol::integer(int const &,int const &) const\n"
43924 " GFitsTableShortCol::integer(int const &) const\n");
43925 return 0;
43926}
43927
43928
43929SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableShortCol_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43930 PyObject *resultobj = 0;
43931 GFitsTableShortCol *arg1 = (GFitsTableShortCol *) 0 ;
43932 int *arg2 = 0 ;
43933 int *arg3 = 0 ;
43934 void *argp1 = 0 ;
43935 int res1 = 0 ;
43936 int temp2 ;
43937 int val2 ;
43938 int ecode2 = 0 ;
43939 int temp3 ;
43940 int val3 ;
43941 int ecode3 = 0 ;
43942 PyObject * obj0 = 0 ;
43943 PyObject * obj1 = 0 ;
43944 PyObject * obj2 = 0 ;
43945
43946 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableShortCol_insert",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
43947 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableShortCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[29]
, 0 | 0, 0)
;
43948 if (!SWIG_IsOK(res1)(res1 >= 0)) {
43949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableShortCol_insert" "', argument " "1"" of type '" "GFitsTableShortCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableShortCol_insert"
"', argument " "1"" of type '" "GFitsTableShortCol *""'"); goto
fail; } while(0)
;
43950 }
43951 arg1 = reinterpret_cast< GFitsTableShortCol * >(argp1);
43952 ecode2 = SWIG_AsVal_int(obj1, &val2);
43953 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
43954 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableShortCol_insert" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableShortCol_insert"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
43955 }
43956 temp2 = static_cast< int >(val2);
43957 arg2 = &temp2;
43958 ecode3 = SWIG_AsVal_int(obj2, &val3);
43959 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
43960 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableShortCol_insert" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableShortCol_insert"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
43961 }
43962 temp3 = static_cast< int >(val3);
43963 arg3 = &temp3;
43964 {
43965 try {
43966 (arg1)->insert((int const &)*arg2,(int const &)*arg3);
43967 }
43968 catch (const GException::out_of_range& e) {
43969 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
43970 }
43971 catch (const GExceptionHandler& e) {
43972 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43973 }
43974 catch (const std::exception& e) {
43975 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
43976 }
43977 }
43978 resultobj = SWIG_Py_Void();
43979 return resultobj;
43980fail:
43981 return NULL__null;
43982}
43983
43984
43985SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableShortCol_remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43986 PyObject *resultobj = 0;
43987 GFitsTableShortCol *arg1 = (GFitsTableShortCol *) 0 ;
43988 int *arg2 = 0 ;
43989 int *arg3 = 0 ;
43990 void *argp1 = 0 ;
43991 int res1 = 0 ;
43992 int temp2 ;
43993 int val2 ;
43994 int ecode2 = 0 ;
43995 int temp3 ;
43996 int val3 ;
43997 int ecode3 = 0 ;
43998 PyObject * obj0 = 0 ;
43999 PyObject * obj1 = 0 ;
44000 PyObject * obj2 = 0 ;
44001
44002 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableShortCol_remove",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
44003 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableShortCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[29]
, 0 | 0, 0)
;
44004 if (!SWIG_IsOK(res1)(res1 >= 0)) {
44005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableShortCol_remove" "', argument " "1"" of type '" "GFitsTableShortCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableShortCol_remove"
"', argument " "1"" of type '" "GFitsTableShortCol *""'"); goto
fail; } while(0)
;
44006 }
44007 arg1 = reinterpret_cast< GFitsTableShortCol * >(argp1);
44008 ecode2 = SWIG_AsVal_int(obj1, &val2);
44009 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
44010 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableShortCol_remove" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableShortCol_remove"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
44011 }
44012 temp2 = static_cast< int >(val2);
44013 arg2 = &temp2;
44014 ecode3 = SWIG_AsVal_int(obj2, &val3);
44015 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
44016 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableShortCol_remove" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableShortCol_remove"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
44017 }
44018 temp3 = static_cast< int >(val3);
44019 arg3 = &temp3;
44020 {
44021 try {
44022 (arg1)->remove((int const &)*arg2,(int const &)*arg3);
44023 }
44024 catch (const GException::out_of_range& e) {
44025 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
44026 }
44027 catch (const GExceptionHandler& e) {
44028 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44029 }
44030 catch (const std::exception& e) {
44031 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44032 }
44033 }
44034 resultobj = SWIG_Py_Void();
44035 return resultobj;
44036fail:
44037 return NULL__null;
44038}
44039
44040
44041SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableShortCol_isloaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44042 PyObject *resultobj = 0;
44043 GFitsTableShortCol *arg1 = (GFitsTableShortCol *) 0 ;
44044 void *argp1 = 0 ;
44045 int res1 = 0 ;
44046 PyObject * obj0 = 0 ;
44047 bool result;
44048
44049 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableShortCol_isloaded",&obj0)) SWIG_failgoto fail;
44050 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableShortCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[29]
, 0 | 0, 0)
;
44051 if (!SWIG_IsOK(res1)(res1 >= 0)) {
44052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableShortCol_isloaded" "', argument " "1"" of type '" "GFitsTableShortCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableShortCol_isloaded"
"', argument " "1"" of type '" "GFitsTableShortCol const *""'"
); goto fail; } while(0)
;
44053 }
44054 arg1 = reinterpret_cast< GFitsTableShortCol * >(argp1);
44055 {
44056 try {
44057 result = (bool)((GFitsTableShortCol const *)arg1)->isloaded();
44058 }
44059 catch (const GException::out_of_range& e) {
44060 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
44061 }
44062 catch (const GExceptionHandler& e) {
44063 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44064 }
44065 catch (const std::exception& e) {
44066 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44067 }
44068 }
44069 resultobj = SWIG_From_bool(static_cast< bool >(result));
44070 return resultobj;
44071fail:
44072 return NULL__null;
44073}
44074
44075
44076SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableShortCol_data(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44077 PyObject *resultobj = 0;
44078 GFitsTableShortCol *arg1 = (GFitsTableShortCol *) 0 ;
44079 void *argp1 = 0 ;
44080 int res1 = 0 ;
44081 PyObject * obj0 = 0 ;
44082 short *result = 0 ;
44083
44084 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableShortCol_data",&obj0)) SWIG_failgoto fail;
44085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableShortCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[29]
, 0 | 0, 0)
;
44086 if (!SWIG_IsOK(res1)(res1 >= 0)) {
44087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableShortCol_data" "', argument " "1"" of type '" "GFitsTableShortCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableShortCol_data" "', argument "
"1"" of type '" "GFitsTableShortCol *""'"); goto fail; } while
(0)
;
44088 }
44089 arg1 = reinterpret_cast< GFitsTableShortCol * >(argp1);
44090 {
44091 try {
44092 result = (short *)(arg1)->data();
44093 }
44094 catch (const GException::out_of_range& e) {
44095 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
44096 }
44097 catch (const GExceptionHandler& e) {
44098 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44099 }
44100 catch (const std::exception& e) {
44101 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44102 }
44103 }
44104 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_short, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[45], 0
| 0)
;
44105 return resultobj;
44106fail:
44107 return NULL__null;
44108}
44109
44110
44111SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableShortCol_nulval__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44112 PyObject *resultobj = 0;
44113 GFitsTableShortCol *arg1 = (GFitsTableShortCol *) 0 ;
44114 void *argp1 = 0 ;
44115 int res1 = 0 ;
44116 PyObject * obj0 = 0 ;
44117 short *result = 0 ;
44118
44119 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableShortCol_nulval",&obj0)) SWIG_failgoto fail;
44120 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableShortCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[29]
, 0 | 0, 0)
;
44121 if (!SWIG_IsOK(res1)(res1 >= 0)) {
44122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableShortCol_nulval" "', argument " "1"" of type '" "GFitsTableShortCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableShortCol_nulval"
"', argument " "1"" of type '" "GFitsTableShortCol *""'"); goto
fail; } while(0)
;
44123 }
44124 arg1 = reinterpret_cast< GFitsTableShortCol * >(argp1);
44125 {
44126 try {
44127 result = (short *)(arg1)->nulval();
44128 }
44129 catch (const GException::out_of_range& e) {
44130 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
44131 }
44132 catch (const GExceptionHandler& e) {
44133 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44134 }
44135 catch (const std::exception& e) {
44136 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44137 }
44138 }
44139 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_short, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[45], 0
| 0)
;
44140 return resultobj;
44141fail:
44142 return NULL__null;
44143}
44144
44145
44146SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableShortCol_nulval__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44147 PyObject *resultobj = 0;
44148 GFitsTableShortCol *arg1 = (GFitsTableShortCol *) 0 ;
44149 short *arg2 = (short *) 0 ;
44150 void *argp1 = 0 ;
44151 int res1 = 0 ;
44152 void *argp2 = 0 ;
44153 int res2 = 0 ;
44154 PyObject * obj0 = 0 ;
44155 PyObject * obj1 = 0 ;
44156
44157 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableShortCol_nulval",&obj0,&obj1)) SWIG_failgoto fail;
44158 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableShortCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[29]
, 0 | 0, 0)
;
44159 if (!SWIG_IsOK(res1)(res1 >= 0)) {
44160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableShortCol_nulval" "', argument " "1"" of type '" "GFitsTableShortCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableShortCol_nulval"
"', argument " "1"" of type '" "GFitsTableShortCol *""'"); goto
fail; } while(0)
;
44161 }
44162 arg1 = reinterpret_cast< GFitsTableShortCol * >(argp1);
44163 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_short, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[45]
, 0 | 0, 0)
;
44164 if (!SWIG_IsOK(res2)(res2 >= 0)) {
44165 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsTableShortCol_nulval" "', argument " "2"" of type '" "short const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsTableShortCol_nulval"
"', argument " "2"" of type '" "short const *""'"); goto fail
; } while(0)
;
44166 }
44167 arg2 = reinterpret_cast< short * >(argp2);
44168 {
44169 try {
44170 (arg1)->nulval((short const *)arg2);
44171 }
44172 catch (const GException::out_of_range& e) {
44173 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
44174 }
44175 catch (const GExceptionHandler& e) {
44176 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44177 }
44178 catch (const std::exception& e) {
44179 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44180 }
44181 }
44182 resultobj = SWIG_Py_Void();
44183 return resultobj;
44184fail:
44185 return NULL__null;
44186}
44187
44188
44189SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableShortCol_nulval(PyObject *self, PyObject *args) {
44190 int argc;
44191 PyObject *argv[3];
44192 int ii;
44193
44194 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
44195 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
44196 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
44197 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
44198 }
44199 if (argc == 1) {
44200 int _v;
44201 void *vptr = 0;
44202 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableShortCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[29
], 0, 0)
;
44203 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
44204 if (_v) {
44205 return _wrap_GFitsTableShortCol_nulval__SWIG_0(self, args);
44206 }
44207 }
44208 if (argc == 2) {
44209 int _v;
44210 void *vptr = 0;
44211 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableShortCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[29
], 0, 0)
;
44212 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
44213 if (_v) {
44214 void *vptr = 0;
44215 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_short, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[45
], 0, 0)
;
44216 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
44217 if (_v) {
44218 return _wrap_GFitsTableShortCol_nulval__SWIG_1(self, args);
44219 }
44220 }
44221 }
44222
44223fail:
44224 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableShortCol_nulval'.\n"
44225 " Possible C/C++ prototypes are:\n"
44226 " GFitsTableShortCol::nulval()\n"
44227 " GFitsTableShortCol::nulval(short const *)\n");
44228 return 0;
44229}
44230
44231
44232SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableShortCol___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44233 PyObject *resultobj = 0;
44234 GFitsTableShortCol *arg1 = (GFitsTableShortCol *) 0 ;
44235 int *arg2 ;
44236 void *argp1 = 0 ;
44237 int res1 = 0 ;
44238 int temp2[3] ;
44239 PyObject * obj0 = 0 ;
44240 PyObject * obj1 = 0 ;
44241 short result;
44242
44243 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableShortCol___getitem__",&obj0,&obj1)) SWIG_failgoto fail;
44244 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableShortCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[29]
, 0 | 0, 0)
;
44245 if (!SWIG_IsOK(res1)(res1 >= 0)) {
44246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableShortCol___getitem__" "', argument " "1"" of type '" "GFitsTableShortCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableShortCol___getitem__"
"', argument " "1"" of type '" "GFitsTableShortCol *""'"); goto
fail; } while(0)
;
44247 }
44248 arg1 = reinterpret_cast< GFitsTableShortCol * >(argp1);
44249 {
44250 if (!table_column_tuple(obj1,temp2)) {
44251 return NULL__null;
44252 }
44253 arg2 = &temp2[0];
44254 }
44255 {
44256 try {
44257 result = (short)GFitsTableShortCol___getitem__(arg1,arg2);
44258 }
44259 catch (const GException::out_of_range& e) {
44260 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
44261 }
44262 catch (const GExceptionHandler& e) {
44263 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44264 }
44265 catch (const std::exception& e) {
44266 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44267 }
44268 }
44269 resultobj = SWIG_From_short(static_cast< short >(result));
44270 return resultobj;
44271fail:
44272 return NULL__null;
44273}
44274
44275
44276SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableShortCol___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44277 PyObject *resultobj = 0;
44278 GFitsTableShortCol *arg1 = (GFitsTableShortCol *) 0 ;
44279 int *arg2 ;
44280 short arg3 ;
44281 void *argp1 = 0 ;
44282 int res1 = 0 ;
44283 int temp2[3] ;
44284 short val3 ;
44285 int ecode3 = 0 ;
44286 PyObject * obj0 = 0 ;
44287 PyObject * obj1 = 0 ;
44288 PyObject * obj2 = 0 ;
44289
44290 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableShortCol___setitem__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
44291 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableShortCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[29]
, 0 | 0, 0)
;
44292 if (!SWIG_IsOK(res1)(res1 >= 0)) {
44293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableShortCol___setitem__" "', argument " "1"" of type '" "GFitsTableShortCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableShortCol___setitem__"
"', argument " "1"" of type '" "GFitsTableShortCol *""'"); goto
fail; } while(0)
;
44294 }
44295 arg1 = reinterpret_cast< GFitsTableShortCol * >(argp1);
44296 {
44297 if (!table_column_tuple(obj1,temp2)) {
44298 return NULL__null;
44299 }
44300 arg2 = &temp2[0];
44301 }
44302 ecode3 = SWIG_AsVal_short(obj2, &val3);
44303 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
44304 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableShortCol___setitem__" "', argument " "3"" of type '" "short""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableShortCol___setitem__"
"', argument " "3"" of type '" "short""'"); goto fail; } while
(0)
;
44305 }
44306 arg3 = static_cast< short >(val3);
44307 {
44308 try {
44309 GFitsTableShortCol___setitem__(arg1,arg2,arg3);
44310 }
44311 catch (const GException::out_of_range& e) {
44312 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
44313 }
44314 catch (const GExceptionHandler& e) {
44315 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44316 }
44317 catch (const std::exception& e) {
44318 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44319 }
44320 }
44321 resultobj = SWIG_Py_Void();
44322 return resultobj;
44323fail:
44324 return NULL__null;
44325}
44326
44327
44328SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableShortCol_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44329 PyObject *resultobj = 0;
44330 GFitsTableShortCol *arg1 = (GFitsTableShortCol *) 0 ;
44331 void *argp1 = 0 ;
44332 int res1 = 0 ;
44333 PyObject * obj0 = 0 ;
44334 GFitsTableShortCol result;
44335
44336 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableShortCol_copy",&obj0)) SWIG_failgoto fail;
44337 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableShortCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[29]
, 0 | 0, 0)
;
44338 if (!SWIG_IsOK(res1)(res1 >= 0)) {
44339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableShortCol_copy" "', argument " "1"" of type '" "GFitsTableShortCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableShortCol_copy" "', argument "
"1"" of type '" "GFitsTableShortCol *""'"); goto fail; } while
(0)
;
44340 }
44341 arg1 = reinterpret_cast< GFitsTableShortCol * >(argp1);
44342 {
44343 try {
44344 result = GFitsTableShortCol_copy(arg1);
44345 }
44346 catch (const GException::out_of_range& e) {
44347 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
44348 }
44349 catch (const GExceptionHandler& e) {
44350 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44351 }
44352 catch (const std::exception& e) {
44353 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44354 }
44355 }
44356 resultobj = SWIG_NewPointerObj((new GFitsTableShortCol(static_cast< const GFitsTableShortCol& >(result))), SWIGTYPE_p_GFitsTableShortCol, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GFitsTableShortCol(static_cast
< const GFitsTableShortCol& >(result))), swig_types
[29], 0x1 | 0)
;
44357 return resultobj;
44358fail:
44359 return NULL__null;
44360}
44361
44362
44363SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GFitsTableShortCol_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44364 PyObject *obj;
44365 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
44366 SWIG_TypeNewClientData(SWIGTYPE_p_GFitsTableShortColswig_types[29], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
44367 return SWIG_Py_Void();
44368}
44369
44370SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableULongCol__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44371 PyObject *resultobj = 0;
44372 GFitsTableULongCol *result = 0 ;
44373
44374 if (!PyArg_ParseTuple(args,(char *)":new_GFitsTableULongCol")) SWIG_failgoto fail;
44375 {
44376 try {
44377 result = (GFitsTableULongCol *)new GFitsTableULongCol();
44378 }
44379 catch (const GException::out_of_range& e) {
44380 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
44381 }
44382 catch (const GExceptionHandler& e) {
44383 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44384 }
44385 catch (const std::exception& e) {
44386 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44387 }
44388 }
44389 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableULongCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[31], (
(0x1 << 1) | 0x1) | 0)
;
44390 return resultobj;
44391fail:
44392 return NULL__null;
44393}
44394
44395
44396SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableULongCol__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44397 PyObject *resultobj = 0;
44398 std::string *arg1 = 0 ;
44399 int *arg2 = 0 ;
44400 int *arg3 = 0 ;
44401 int res1 = SWIG_OLDOBJ((0)) ;
44402 int temp2 ;
44403 int val2 ;
44404 int ecode2 = 0 ;
44405 int temp3 ;
44406 int val3 ;
44407 int ecode3 = 0 ;
44408 PyObject * obj0 = 0 ;
44409 PyObject * obj1 = 0 ;
44410 PyObject * obj2 = 0 ;
44411 GFitsTableULongCol *result = 0 ;
44412
44413 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GFitsTableULongCol",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
44414 {
44415 std::string *ptr = (std::string *)0;
44416 res1 = SWIG_AsPtr_std_string(obj0, &ptr);
44417 if (!SWIG_IsOK(res1)(res1 >= 0)) {
44418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsTableULongCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsTableULongCol" "', argument "
"1"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
44419 }
44420 if (!ptr) {
44421 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsTableULongCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsTableULongCol" "', argument " "1"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
44422 }
44423 arg1 = ptr;
44424 }
44425 ecode2 = SWIG_AsVal_int(obj1, &val2);
44426 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
44427 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsTableULongCol" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsTableULongCol"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
44428 }
44429 temp2 = static_cast< int >(val2);
44430 arg2 = &temp2;
44431 ecode3 = SWIG_AsVal_int(obj2, &val3);
44432 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
44433 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsTableULongCol" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsTableULongCol"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
44434 }
44435 temp3 = static_cast< int >(val3);
44436 arg3 = &temp3;
44437 {
44438 try {
44439 result = (GFitsTableULongCol *)new GFitsTableULongCol((std::string const &)*arg1,(int const &)*arg2,(int const &)*arg3);
44440 }
44441 catch (const GException::out_of_range& e) {
44442 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
44443 }
44444 catch (const GExceptionHandler& e) {
44445 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44446 }
44447 catch (const std::exception& e) {
44448 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44449 }
44450 }
44451 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableULongCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[31], (
(0x1 << 1) | 0x1) | 0)
;
44452 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
44453 return resultobj;
44454fail:
44455 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
44456 return NULL__null;
44457}
44458
44459
44460SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableULongCol__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44461 PyObject *resultobj = 0;
44462 std::string *arg1 = 0 ;
44463 int *arg2 = 0 ;
44464 int res1 = SWIG_OLDOBJ((0)) ;
44465 int temp2 ;
44466 int val2 ;
44467 int ecode2 = 0 ;
44468 PyObject * obj0 = 0 ;
44469 PyObject * obj1 = 0 ;
44470 GFitsTableULongCol *result = 0 ;
44471
44472 if (!PyArg_ParseTuple(args,(char *)"OO:new_GFitsTableULongCol",&obj0,&obj1)) SWIG_failgoto fail;
44473 {
44474 std::string *ptr = (std::string *)0;
44475 res1 = SWIG_AsPtr_std_string(obj0, &ptr);
44476 if (!SWIG_IsOK(res1)(res1 >= 0)) {
44477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsTableULongCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsTableULongCol" "', argument "
"1"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
44478 }
44479 if (!ptr) {
44480 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsTableULongCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsTableULongCol" "', argument " "1"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
44481 }
44482 arg1 = ptr;
44483 }
44484 ecode2 = SWIG_AsVal_int(obj1, &val2);
44485 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
44486 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsTableULongCol" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsTableULongCol"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
44487 }
44488 temp2 = static_cast< int >(val2);
44489 arg2 = &temp2;
44490 {
44491 try {
44492 result = (GFitsTableULongCol *)new GFitsTableULongCol((std::string const &)*arg1,(int const &)*arg2);
44493 }
44494 catch (const GException::out_of_range& e) {
44495 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
44496 }
44497 catch (const GExceptionHandler& e) {
44498 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44499 }
44500 catch (const std::exception& e) {
44501 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44502 }
44503 }
44504 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableULongCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[31], (
(0x1 << 1) | 0x1) | 0)
;
44505 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
44506 return resultobj;
44507fail:
44508 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
44509 return NULL__null;
44510}
44511
44512
44513SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableULongCol__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44514 PyObject *resultobj = 0;
44515 GFitsTableULongCol *arg1 = 0 ;
44516 void *argp1 = 0 ;
44517 int res1 = 0 ;
44518 PyObject * obj0 = 0 ;
44519 GFitsTableULongCol *result = 0 ;
44520
44521 if (!PyArg_ParseTuple(args,(char *)"O:new_GFitsTableULongCol",&obj0)) SWIG_failgoto fail;
44522 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GFitsTableULongCol, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[31]
, 0 | 0, 0)
;
44523 if (!SWIG_IsOK(res1)(res1 >= 0)) {
44524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsTableULongCol" "', argument " "1"" of type '" "GFitsTableULongCol const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsTableULongCol" "', argument "
"1"" of type '" "GFitsTableULongCol const &""'"); goto fail
; } while(0)
;
44525 }
44526 if (!argp1) {
44527 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsTableULongCol" "', argument " "1"" of type '" "GFitsTableULongCol const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsTableULongCol" "', argument " "1"" of type '"
"GFitsTableULongCol const &""'"); goto fail; } while(0)
;
44528 }
44529 arg1 = reinterpret_cast< GFitsTableULongCol * >(argp1);
44530 {
44531 try {
44532 result = (GFitsTableULongCol *)new GFitsTableULongCol((GFitsTableULongCol const &)*arg1);
44533 }
44534 catch (const GException::out_of_range& e) {
44535 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
44536 }
44537 catch (const GExceptionHandler& e) {
44538 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44539 }
44540 catch (const std::exception& e) {
44541 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44542 }
44543 }
44544 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableULongCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[31], (
(0x1 << 1) | 0x1) | 0)
;
44545 return resultobj;
44546fail:
44547 return NULL__null;
44548}
44549
44550
44551SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableULongCol(PyObject *self, PyObject *args) {
44552 int argc;
44553 PyObject *argv[4];
44554 int ii;
44555
44556 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
44557 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
44558 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
44559 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
44560 }
44561 if (argc == 0) {
44562 return _wrap_new_GFitsTableULongCol__SWIG_0(self, args);
44563 }
44564 if (argc == 1) {
44565 int _v;
44566 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GFitsTableULongCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[31], 0, 0
)
;
44567 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
44568 if (_v) {
44569 return _wrap_new_GFitsTableULongCol__SWIG_3(self, args);
44570 }
44571 }
44572 if (argc == 2) {
44573 int _v;
44574 int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
44575 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
44576 if (_v) {
44577 {
44578 int res = SWIG_AsVal_int(argv[1], NULL__null);
44579 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
44580 }
44581 if (_v) {
44582 return _wrap_new_GFitsTableULongCol__SWIG_2(self, args);
44583 }
44584 }
44585 }
44586 if (argc == 3) {
44587 int _v;
44588 int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
44589 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
44590 if (_v) {
44591 {
44592 int res = SWIG_AsVal_int(argv[1], NULL__null);
44593 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
44594 }
44595 if (_v) {
44596 {
44597 int res = SWIG_AsVal_int(argv[2], NULL__null);
44598 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
44599 }
44600 if (_v) {
44601 return _wrap_new_GFitsTableULongCol__SWIG_1(self, args);
44602 }
44603 }
44604 }
44605 }
44606
44607fail:
44608 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GFitsTableULongCol'.\n"
44609 " Possible C/C++ prototypes are:\n"
44610 " GFitsTableULongCol::GFitsTableULongCol()\n"
44611 " GFitsTableULongCol::GFitsTableULongCol(std::string const &,int const &,int const &)\n"
44612 " GFitsTableULongCol::GFitsTableULongCol(std::string const &,int const &)\n"
44613 " GFitsTableULongCol::GFitsTableULongCol(GFitsTableULongCol const &)\n");
44614 return 0;
44615}
44616
44617
44618SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GFitsTableULongCol(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44619 PyObject *resultobj = 0;
44620 GFitsTableULongCol *arg1 = (GFitsTableULongCol *) 0 ;
44621 void *argp1 = 0 ;
44622 int res1 = 0 ;
44623 PyObject * obj0 = 0 ;
44624
44625 if (!PyArg_ParseTuple(args,(char *)"O:delete_GFitsTableULongCol",&obj0)) SWIG_failgoto fail;
44626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableULongCol, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[31]
, 0x1 | 0, 0)
;
44627 if (!SWIG_IsOK(res1)(res1 >= 0)) {
44628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GFitsTableULongCol" "', argument " "1"" of type '" "GFitsTableULongCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GFitsTableULongCol"
"', argument " "1"" of type '" "GFitsTableULongCol *""'"); goto
fail; } while(0)
;
44629 }
44630 arg1 = reinterpret_cast< GFitsTableULongCol * >(argp1);
44631 {
44632 try {
44633 delete arg1;
44634 }
44635 catch (const GException::out_of_range& e) {
44636 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
44637 }
44638 catch (const GExceptionHandler& e) {
44639 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44640 }
44641 catch (const std::exception& e) {
44642 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44643 }
44644 }
44645 resultobj = SWIG_Py_Void();
44646 return resultobj;
44647fail:
44648 return NULL__null;
44649}
44650
44651
44652SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableULongCol_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44653 PyObject *resultobj = 0;
44654 GFitsTableULongCol *arg1 = (GFitsTableULongCol *) 0 ;
44655 void *argp1 = 0 ;
44656 int res1 = 0 ;
44657 PyObject * obj0 = 0 ;
44658
44659 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableULongCol_clear",&obj0)) SWIG_failgoto fail;
44660 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableULongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[31]
, 0 | 0, 0)
;
44661 if (!SWIG_IsOK(res1)(res1 >= 0)) {
44662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableULongCol_clear" "', argument " "1"" of type '" "GFitsTableULongCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableULongCol_clear" "', argument "
"1"" of type '" "GFitsTableULongCol *""'"); goto fail; } while
(0)
;
44663 }
44664 arg1 = reinterpret_cast< GFitsTableULongCol * >(argp1);
44665 {
44666 try {
44667 (arg1)->clear();
44668 }
44669 catch (const GException::out_of_range& e) {
44670 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
44671 }
44672 catch (const GExceptionHandler& e) {
44673 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44674 }
44675 catch (const std::exception& e) {
44676 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44677 }
44678 }
44679 resultobj = SWIG_Py_Void();
44680 return resultobj;
44681fail:
44682 return NULL__null;
44683}
44684
44685
44686SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableULongCol_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44687 PyObject *resultobj = 0;
44688 GFitsTableULongCol *arg1 = (GFitsTableULongCol *) 0 ;
44689 void *argp1 = 0 ;
44690 int res1 = 0 ;
44691 PyObject * obj0 = 0 ;
44692 GFitsTableULongCol *result = 0 ;
44693
44694 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableULongCol_clone",&obj0)) SWIG_failgoto fail;
44695 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableULongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[31]
, 0 | 0, 0)
;
44696 if (!SWIG_IsOK(res1)(res1 >= 0)) {
44697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableULongCol_clone" "', argument " "1"" of type '" "GFitsTableULongCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableULongCol_clone" "', argument "
"1"" of type '" "GFitsTableULongCol const *""'"); goto fail;
} while(0)
;
44698 }
44699 arg1 = reinterpret_cast< GFitsTableULongCol * >(argp1);
44700 {
44701 try {
44702 result = (GFitsTableULongCol *)((GFitsTableULongCol const *)arg1)->clone();
44703 }
44704 catch (const GException::out_of_range& e) {
44705 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
44706 }
44707 catch (const GExceptionHandler& e) {
44708 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44709 }
44710 catch (const std::exception& e) {
44711 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44712 }
44713 }
44714 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableULongCol, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[31], 0
| 0)
;
44715 return resultobj;
44716fail:
44717 return NULL__null;
44718}
44719
44720
44721SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableULongCol_string__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44722 PyObject *resultobj = 0;
44723 GFitsTableULongCol *arg1 = (GFitsTableULongCol *) 0 ;
44724 int *arg2 = 0 ;
44725 int *arg3 = 0 ;
44726 void *argp1 = 0 ;
44727 int res1 = 0 ;
44728 int temp2 ;
44729 int val2 ;
44730 int ecode2 = 0 ;
44731 int temp3 ;
44732 int val3 ;
44733 int ecode3 = 0 ;
44734 PyObject * obj0 = 0 ;
44735 PyObject * obj1 = 0 ;
44736 PyObject * obj2 = 0 ;
44737 std::string result;
44738
44739 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableULongCol_string",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
44740 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableULongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[31]
, 0 | 0, 0)
;
44741 if (!SWIG_IsOK(res1)(res1 >= 0)) {
44742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableULongCol_string" "', argument " "1"" of type '" "GFitsTableULongCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableULongCol_string"
"', argument " "1"" of type '" "GFitsTableULongCol const *""'"
); goto fail; } while(0)
;
44743 }
44744 arg1 = reinterpret_cast< GFitsTableULongCol * >(argp1);
44745 ecode2 = SWIG_AsVal_int(obj1, &val2);
44746 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
44747 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableULongCol_string" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableULongCol_string"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
44748 }
44749 temp2 = static_cast< int >(val2);
44750 arg2 = &temp2;
44751 ecode3 = SWIG_AsVal_int(obj2, &val3);
44752 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
44753 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableULongCol_string" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableULongCol_string"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
44754 }
44755 temp3 = static_cast< int >(val3);
44756 arg3 = &temp3;
44757 {
44758 try {
44759 result = ((GFitsTableULongCol const *)arg1)->string((int const &)*arg2,(int const &)*arg3);
44760 }
44761 catch (const GException::out_of_range& e) {
44762 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
44763 }
44764 catch (const GExceptionHandler& e) {
44765 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44766 }
44767 catch (const std::exception& e) {
44768 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44769 }
44770 }
44771 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
44772 return resultobj;
44773fail:
44774 return NULL__null;
44775}
44776
44777
44778SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableULongCol_string__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44779 PyObject *resultobj = 0;
44780 GFitsTableULongCol *arg1 = (GFitsTableULongCol *) 0 ;
44781 int *arg2 = 0 ;
44782 void *argp1 = 0 ;
44783 int res1 = 0 ;
44784 int temp2 ;
44785 int val2 ;
44786 int ecode2 = 0 ;
44787 PyObject * obj0 = 0 ;
44788 PyObject * obj1 = 0 ;
44789 std::string result;
44790
44791 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableULongCol_string",&obj0,&obj1)) SWIG_failgoto fail;
44792 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableULongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[31]
, 0 | 0, 0)
;
44793 if (!SWIG_IsOK(res1)(res1 >= 0)) {
44794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableULongCol_string" "', argument " "1"" of type '" "GFitsTableULongCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableULongCol_string"
"', argument " "1"" of type '" "GFitsTableULongCol const *""'"
); goto fail; } while(0)
;
44795 }
44796 arg1 = reinterpret_cast< GFitsTableULongCol * >(argp1);
44797 ecode2 = SWIG_AsVal_int(obj1, &val2);
44798 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
44799 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableULongCol_string" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableULongCol_string"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
44800 }
44801 temp2 = static_cast< int >(val2);
44802 arg2 = &temp2;
44803 {
44804 try {
44805 result = ((GFitsTableULongCol const *)arg1)->string((int const &)*arg2);
44806 }
44807 catch (const GException::out_of_range& e) {
44808 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
44809 }
44810 catch (const GExceptionHandler& e) {
44811 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44812 }
44813 catch (const std::exception& e) {
44814 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44815 }
44816 }
44817 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
44818 return resultobj;
44819fail:
44820 return NULL__null;
44821}
44822
44823
44824SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableULongCol_string(PyObject *self, PyObject *args) {
44825 int argc;
44826 PyObject *argv[4];
44827 int ii;
44828
44829 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
44830 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
44831 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
44832 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
44833 }
44834 if (argc == 2) {
44835 int _v;
44836 void *vptr = 0;
44837 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableULongCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[31
], 0, 0)
;
44838 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
44839 if (_v) {
44840 {
44841 int res = SWIG_AsVal_int(argv[1], NULL__null);
44842 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
44843 }
44844 if (_v) {
44845 return _wrap_GFitsTableULongCol_string__SWIG_1(self, args);
44846 }
44847 }
44848 }
44849 if (argc == 3) {
44850 int _v;
44851 void *vptr = 0;
44852 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableULongCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[31
], 0, 0)
;
44853 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
44854 if (_v) {
44855 {
44856 int res = SWIG_AsVal_int(argv[1], NULL__null);
44857 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
44858 }
44859 if (_v) {
44860 {
44861 int res = SWIG_AsVal_int(argv[2], NULL__null);
44862 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
44863 }
44864 if (_v) {
44865 return _wrap_GFitsTableULongCol_string__SWIG_0(self, args);
44866 }
44867 }
44868 }
44869 }
44870
44871fail:
44872 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableULongCol_string'.\n"
44873 " Possible C/C++ prototypes are:\n"
44874 " GFitsTableULongCol::string(int const &,int const &) const\n"
44875 " GFitsTableULongCol::string(int const &) const\n");
44876 return 0;
44877}
44878
44879
44880SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableULongCol_real__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44881 PyObject *resultobj = 0;
44882 GFitsTableULongCol *arg1 = (GFitsTableULongCol *) 0 ;
44883 int *arg2 = 0 ;
44884 int *arg3 = 0 ;
44885 void *argp1 = 0 ;
44886 int res1 = 0 ;
44887 int temp2 ;
44888 int val2 ;
44889 int ecode2 = 0 ;
44890 int temp3 ;
44891 int val3 ;
44892 int ecode3 = 0 ;
44893 PyObject * obj0 = 0 ;
44894 PyObject * obj1 = 0 ;
44895 PyObject * obj2 = 0 ;
44896 double result;
44897
44898 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableULongCol_real",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
44899 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableULongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[31]
, 0 | 0, 0)
;
44900 if (!SWIG_IsOK(res1)(res1 >= 0)) {
44901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableULongCol_real" "', argument " "1"" of type '" "GFitsTableULongCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableULongCol_real" "', argument "
"1"" of type '" "GFitsTableULongCol const *""'"); goto fail;
} while(0)
;
44902 }
44903 arg1 = reinterpret_cast< GFitsTableULongCol * >(argp1);
44904 ecode2 = SWIG_AsVal_int(obj1, &val2);
44905 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
44906 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableULongCol_real" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableULongCol_real"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
44907 }
44908 temp2 = static_cast< int >(val2);
44909 arg2 = &temp2;
44910 ecode3 = SWIG_AsVal_int(obj2, &val3);
44911 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
44912 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableULongCol_real" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableULongCol_real"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
44913 }
44914 temp3 = static_cast< int >(val3);
44915 arg3 = &temp3;
44916 {
44917 try {
44918 result = (double)((GFitsTableULongCol const *)arg1)->real((int const &)*arg2,(int const &)*arg3);
44919 }
44920 catch (const GException::out_of_range& e) {
44921 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
44922 }
44923 catch (const GExceptionHandler& e) {
44924 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44925 }
44926 catch (const std::exception& e) {
44927 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44928 }
44929 }
44930 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
44931 return resultobj;
44932fail:
44933 return NULL__null;
44934}
44935
44936
44937SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableULongCol_real__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44938 PyObject *resultobj = 0;
44939 GFitsTableULongCol *arg1 = (GFitsTableULongCol *) 0 ;
44940 int *arg2 = 0 ;
44941 void *argp1 = 0 ;
44942 int res1 = 0 ;
44943 int temp2 ;
44944 int val2 ;
44945 int ecode2 = 0 ;
44946 PyObject * obj0 = 0 ;
44947 PyObject * obj1 = 0 ;
44948 double result;
44949
44950 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableULongCol_real",&obj0,&obj1)) SWIG_failgoto fail;
44951 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableULongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[31]
, 0 | 0, 0)
;
44952 if (!SWIG_IsOK(res1)(res1 >= 0)) {
44953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableULongCol_real" "', argument " "1"" of type '" "GFitsTableULongCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableULongCol_real" "', argument "
"1"" of type '" "GFitsTableULongCol const *""'"); goto fail;
} while(0)
;
44954 }
44955 arg1 = reinterpret_cast< GFitsTableULongCol * >(argp1);
44956 ecode2 = SWIG_AsVal_int(obj1, &val2);
44957 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
44958 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableULongCol_real" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableULongCol_real"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
44959 }
44960 temp2 = static_cast< int >(val2);
44961 arg2 = &temp2;
44962 {
44963 try {
44964 result = (double)((GFitsTableULongCol const *)arg1)->real((int const &)*arg2);
44965 }
44966 catch (const GException::out_of_range& e) {
44967 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
44968 }
44969 catch (const GExceptionHandler& e) {
44970 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44971 }
44972 catch (const std::exception& e) {
44973 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
44974 }
44975 }
44976 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
44977 return resultobj;
44978fail:
44979 return NULL__null;
44980}
44981
44982
44983SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableULongCol_real(PyObject *self, PyObject *args) {
44984 int argc;
44985 PyObject *argv[4];
44986 int ii;
44987
44988 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
44989 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
44990 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
44991 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
44992 }
44993 if (argc == 2) {
44994 int _v;
44995 void *vptr = 0;
44996 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableULongCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[31
], 0, 0)
;
44997 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
44998 if (_v) {
44999 {
45000 int res = SWIG_AsVal_int(argv[1], NULL__null);
45001 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
45002 }
45003 if (_v) {
45004 return _wrap_GFitsTableULongCol_real__SWIG_1(self, args);
45005 }
45006 }
45007 }
45008 if (argc == 3) {
45009 int _v;
45010 void *vptr = 0;
45011 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableULongCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[31
], 0, 0)
;
45012 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
45013 if (_v) {
45014 {
45015 int res = SWIG_AsVal_int(argv[1], NULL__null);
45016 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
45017 }
45018 if (_v) {
45019 {
45020 int res = SWIG_AsVal_int(argv[2], NULL__null);
45021 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
45022 }
45023 if (_v) {
45024 return _wrap_GFitsTableULongCol_real__SWIG_0(self, args);
45025 }
45026 }
45027 }
45028 }
45029
45030fail:
45031 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableULongCol_real'.\n"
45032 " Possible C/C++ prototypes are:\n"
45033 " GFitsTableULongCol::real(int const &,int const &) const\n"
45034 " GFitsTableULongCol::real(int const &) const\n");
45035 return 0;
45036}
45037
45038
45039SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableULongCol_integer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45040 PyObject *resultobj = 0;
45041 GFitsTableULongCol *arg1 = (GFitsTableULongCol *) 0 ;
45042 int *arg2 = 0 ;
45043 int *arg3 = 0 ;
45044 void *argp1 = 0 ;
45045 int res1 = 0 ;
45046 int temp2 ;
45047 int val2 ;
45048 int ecode2 = 0 ;
45049 int temp3 ;
45050 int val3 ;
45051 int ecode3 = 0 ;
45052 PyObject * obj0 = 0 ;
45053 PyObject * obj1 = 0 ;
45054 PyObject * obj2 = 0 ;
45055 int result;
45056
45057 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableULongCol_integer",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
45058 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableULongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[31]
, 0 | 0, 0)
;
45059 if (!SWIG_IsOK(res1)(res1 >= 0)) {
45060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableULongCol_integer" "', argument " "1"" of type '" "GFitsTableULongCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableULongCol_integer"
"', argument " "1"" of type '" "GFitsTableULongCol const *""'"
); goto fail; } while(0)
;
45061 }
45062 arg1 = reinterpret_cast< GFitsTableULongCol * >(argp1);
45063 ecode2 = SWIG_AsVal_int(obj1, &val2);
45064 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
45065 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableULongCol_integer" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableULongCol_integer"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
45066 }
45067 temp2 = static_cast< int >(val2);
45068 arg2 = &temp2;
45069 ecode3 = SWIG_AsVal_int(obj2, &val3);
45070 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
45071 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableULongCol_integer" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableULongCol_integer"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
45072 }
45073 temp3 = static_cast< int >(val3);
45074 arg3 = &temp3;
45075 {
45076 try {
45077 result = (int)((GFitsTableULongCol const *)arg1)->integer((int const &)*arg2,(int const &)*arg3);
45078 }
45079 catch (const GException::out_of_range& e) {
45080 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
45081 }
45082 catch (const GExceptionHandler& e) {
45083 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
45084 }
45085 catch (const std::exception& e) {
45086 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
45087 }
45088 }
45089 resultobj = SWIG_From_int(static_cast< int >(result));
45090 return resultobj;
45091fail:
45092 return NULL__null;
45093}
45094
45095
45096SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableULongCol_integer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45097 PyObject *resultobj = 0;
45098 GFitsTableULongCol *arg1 = (GFitsTableULongCol *) 0 ;
45099 int *arg2 = 0 ;
45100 void *argp1 = 0 ;
45101 int res1 = 0 ;
45102 int temp2 ;
45103 int val2 ;
45104 int ecode2 = 0 ;
45105 PyObject * obj0 = 0 ;
45106 PyObject * obj1 = 0 ;
45107 int result;
45108
45109 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableULongCol_integer",&obj0,&obj1)) SWIG_failgoto fail;
45110 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableULongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[31]
, 0 | 0, 0)
;
45111 if (!SWIG_IsOK(res1)(res1 >= 0)) {
45112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableULongCol_integer" "', argument " "1"" of type '" "GFitsTableULongCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableULongCol_integer"
"', argument " "1"" of type '" "GFitsTableULongCol const *""'"
); goto fail; } while(0)
;
45113 }
45114 arg1 = reinterpret_cast< GFitsTableULongCol * >(argp1);
45115 ecode2 = SWIG_AsVal_int(obj1, &val2);
45116 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
45117 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableULongCol_integer" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableULongCol_integer"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
45118 }
45119 temp2 = static_cast< int >(val2);
45120 arg2 = &temp2;
45121 {
45122 try {
45123 result = (int)((GFitsTableULongCol const *)arg1)->integer((int const &)*arg2);
45124 }
45125 catch (const GException::out_of_range& e) {
45126 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
45127 }
45128 catch (const GExceptionHandler& e) {
45129 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
45130 }
45131 catch (const std::exception& e) {
45132 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
45133 }
45134 }
45135 resultobj = SWIG_From_int(static_cast< int >(result));
45136 return resultobj;
45137fail:
45138 return NULL__null;
45139}
45140
45141
45142SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableULongCol_integer(PyObject *self, PyObject *args) {
45143 int argc;
45144 PyObject *argv[4];
45145 int ii;
45146
45147 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
45148 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
45149 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
45150 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
45151 }
45152 if (argc == 2) {
45153 int _v;
45154 void *vptr = 0;
45155 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableULongCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[31
], 0, 0)
;
45156 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
45157 if (_v) {
45158 {
45159 int res = SWIG_AsVal_int(argv[1], NULL__null);
45160 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
45161 }
45162 if (_v) {
45163 return _wrap_GFitsTableULongCol_integer__SWIG_1(self, args);
45164 }
45165 }
45166 }
45167 if (argc == 3) {
45168 int _v;
45169 void *vptr = 0;
45170 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableULongCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[31
], 0, 0)
;
45171 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
45172 if (_v) {
45173 {
45174 int res = SWIG_AsVal_int(argv[1], NULL__null);
45175 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
45176 }
45177 if (_v) {
45178 {
45179 int res = SWIG_AsVal_int(argv[2], NULL__null);
45180 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
45181 }
45182 if (_v) {
45183 return _wrap_GFitsTableULongCol_integer__SWIG_0(self, args);
45184 }
45185 }
45186 }
45187 }
45188
45189fail:
45190 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableULongCol_integer'.\n"
45191 " Possible C/C++ prototypes are:\n"
45192 " GFitsTableULongCol::integer(int const &,int const &) const\n"
45193 " GFitsTableULongCol::integer(int const &) const\n");
45194 return 0;
45195}
45196
45197
45198SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableULongCol_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45199 PyObject *resultobj = 0;
45200 GFitsTableULongCol *arg1 = (GFitsTableULongCol *) 0 ;
45201 int *arg2 = 0 ;
45202 int *arg3 = 0 ;
45203 void *argp1 = 0 ;
45204 int res1 = 0 ;
45205 int temp2 ;
45206 int val2 ;
45207 int ecode2 = 0 ;
45208 int temp3 ;
45209 int val3 ;
45210 int ecode3 = 0 ;
45211 PyObject * obj0 = 0 ;
45212 PyObject * obj1 = 0 ;
45213 PyObject * obj2 = 0 ;
45214
45215 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableULongCol_insert",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
45216 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableULongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[31]
, 0 | 0, 0)
;
45217 if (!SWIG_IsOK(res1)(res1 >= 0)) {
45218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableULongCol_insert" "', argument " "1"" of type '" "GFitsTableULongCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableULongCol_insert"
"', argument " "1"" of type '" "GFitsTableULongCol *""'"); goto
fail; } while(0)
;
45219 }
45220 arg1 = reinterpret_cast< GFitsTableULongCol * >(argp1);
45221 ecode2 = SWIG_AsVal_int(obj1, &val2);
45222 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
45223 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableULongCol_insert" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableULongCol_insert"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
45224 }
45225 temp2 = static_cast< int >(val2);
45226 arg2 = &temp2;
45227 ecode3 = SWIG_AsVal_int(obj2, &val3);
45228 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
45229 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableULongCol_insert" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableULongCol_insert"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
45230 }
45231 temp3 = static_cast< int >(val3);
45232 arg3 = &temp3;
45233 {
45234 try {
45235 (arg1)->insert((int const &)*arg2,(int const &)*arg3);
45236 }
45237 catch (const GException::out_of_range& e) {
45238 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
45239 }
45240 catch (const GExceptionHandler& e) {
45241 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
45242 }
45243 catch (const std::exception& e) {
45244 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
45245 }
45246 }
45247 resultobj = SWIG_Py_Void();
45248 return resultobj;
45249fail:
45250 return NULL__null;
45251}
45252
45253
45254SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableULongCol_remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45255 PyObject *resultobj = 0;
45256 GFitsTableULongCol *arg1 = (GFitsTableULongCol *) 0 ;
45257 int *arg2 = 0 ;
45258 int *arg3 = 0 ;
45259 void *argp1 = 0 ;
45260 int res1 = 0 ;
45261 int temp2 ;
45262 int val2 ;
45263 int ecode2 = 0 ;
45264 int temp3 ;
45265 int val3 ;
45266 int ecode3 = 0 ;
45267 PyObject * obj0 = 0 ;
45268 PyObject * obj1 = 0 ;
45269 PyObject * obj2 = 0 ;
45270
45271 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableULongCol_remove",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
45272 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableULongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[31]
, 0 | 0, 0)
;
45273 if (!SWIG_IsOK(res1)(res1 >= 0)) {
45274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableULongCol_remove" "', argument " "1"" of type '" "GFitsTableULongCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableULongCol_remove"
"', argument " "1"" of type '" "GFitsTableULongCol *""'"); goto
fail; } while(0)
;
45275 }
45276 arg1 = reinterpret_cast< GFitsTableULongCol * >(argp1);
45277 ecode2 = SWIG_AsVal_int(obj1, &val2);
45278 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
45279 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableULongCol_remove" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableULongCol_remove"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
45280 }
45281 temp2 = static_cast< int >(val2);
45282 arg2 = &temp2;
45283 ecode3 = SWIG_AsVal_int(obj2, &val3);
45284 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
45285 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableULongCol_remove" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableULongCol_remove"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
45286 }
45287 temp3 = static_cast< int >(val3);
45288 arg3 = &temp3;
45289 {
45290 try {
45291 (arg1)->remove((int const &)*arg2,(int const &)*arg3);
45292 }
45293 catch (const GException::out_of_range& e) {
45294 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
45295 }
45296 catch (const GExceptionHandler& e) {
45297 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
45298 }
45299 catch (const std::exception& e) {
45300 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
45301 }
45302 }
45303 resultobj = SWIG_Py_Void();
45304 return resultobj;
45305fail:
45306 return NULL__null;
45307}
45308
45309
45310SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableULongCol_isloaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45311 PyObject *resultobj = 0;
45312 GFitsTableULongCol *arg1 = (GFitsTableULongCol *) 0 ;
45313 void *argp1 = 0 ;
45314 int res1 = 0 ;
45315 PyObject * obj0 = 0 ;
45316 bool result;
45317
45318 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableULongCol_isloaded",&obj0)) SWIG_failgoto fail;
45319 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableULongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[31]
, 0 | 0, 0)
;
45320 if (!SWIG_IsOK(res1)(res1 >= 0)) {
45321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableULongCol_isloaded" "', argument " "1"" of type '" "GFitsTableULongCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableULongCol_isloaded"
"', argument " "1"" of type '" "GFitsTableULongCol const *""'"
); goto fail; } while(0)
;
45322 }
45323 arg1 = reinterpret_cast< GFitsTableULongCol * >(argp1);
45324 {
45325 try {
45326 result = (bool)((GFitsTableULongCol const *)arg1)->isloaded();
45327 }
45328 catch (const GException::out_of_range& e) {
45329 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
45330 }
45331 catch (const GExceptionHandler& e) {
45332 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
45333 }
45334 catch (const std::exception& e) {
45335 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
45336 }
45337 }
45338 resultobj = SWIG_From_bool(static_cast< bool >(result));
45339 return resultobj;
45340fail:
45341 return NULL__null;
45342}
45343
45344
45345SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableULongCol_data(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45346 PyObject *resultobj = 0;
45347 GFitsTableULongCol *arg1 = (GFitsTableULongCol *) 0 ;
45348 void *argp1 = 0 ;
45349 int res1 = 0 ;
45350 PyObject * obj0 = 0 ;
45351 unsigned long *result = 0 ;
45352
45353 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableULongCol_data",&obj0)) SWIG_failgoto fail;
45354 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableULongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[31]
, 0 | 0, 0)
;
45355 if (!SWIG_IsOK(res1)(res1 >= 0)) {
45356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableULongCol_data" "', argument " "1"" of type '" "GFitsTableULongCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableULongCol_data" "', argument "
"1"" of type '" "GFitsTableULongCol *""'"); goto fail; } while
(0)
;
45357 }
45358 arg1 = reinterpret_cast< GFitsTableULongCol * >(argp1);
45359 {
45360 try {
45361 result = (unsigned long *)(arg1)->data();
45362 }
45363 catch (const GException::out_of_range& e) {
45364 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
45365 }
45366 catch (const GExceptionHandler& e) {
45367 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
45368 }
45369 catch (const std::exception& e) {
45370 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
45371 }
45372 }
45373 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_long, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[54], 0
| 0)
;
45374 return resultobj;
45375fail:
45376 return NULL__null;
45377}
45378
45379
45380SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableULongCol_nulval__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45381 PyObject *resultobj = 0;
45382 GFitsTableULongCol *arg1 = (GFitsTableULongCol *) 0 ;
45383 void *argp1 = 0 ;
45384 int res1 = 0 ;
45385 PyObject * obj0 = 0 ;
45386 unsigned long *result = 0 ;
45387
45388 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableULongCol_nulval",&obj0)) SWIG_failgoto fail;
45389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableULongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[31]
, 0 | 0, 0)
;
45390 if (!SWIG_IsOK(res1)(res1 >= 0)) {
45391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableULongCol_nulval" "', argument " "1"" of type '" "GFitsTableULongCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableULongCol_nulval"
"', argument " "1"" of type '" "GFitsTableULongCol *""'"); goto
fail; } while(0)
;
45392 }
45393 arg1 = reinterpret_cast< GFitsTableULongCol * >(argp1);
45394 {
45395 try {
45396 result = (unsigned long *)(arg1)->nulval();
45397 }
45398 catch (const GException::out_of_range& e) {
45399 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
45400 }
45401 catch (const GExceptionHandler& e) {
45402 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
45403 }
45404 catch (const std::exception& e) {
45405 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
45406 }
45407 }
45408 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_long, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[54], 0
| 0)
;
45409 return resultobj;
45410fail:
45411 return NULL__null;
45412}
45413
45414
45415SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableULongCol_nulval__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45416 PyObject *resultobj = 0;
45417 GFitsTableULongCol *arg1 = (GFitsTableULongCol *) 0 ;
45418 unsigned long *arg2 = (unsigned long *) 0 ;
45419 void *argp1 = 0 ;
45420 int res1 = 0 ;
45421 void *argp2 = 0 ;
45422 int res2 = 0 ;
45423 PyObject * obj0 = 0 ;
45424 PyObject * obj1 = 0 ;
45425
45426 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableULongCol_nulval",&obj0,&obj1)) SWIG_failgoto fail;
45427 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableULongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[31]
, 0 | 0, 0)
;
45428 if (!SWIG_IsOK(res1)(res1 >= 0)) {
45429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableULongCol_nulval" "', argument " "1"" of type '" "GFitsTableULongCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableULongCol_nulval"
"', argument " "1"" of type '" "GFitsTableULongCol *""'"); goto
fail; } while(0)
;
45430 }
45431 arg1 = reinterpret_cast< GFitsTableULongCol * >(argp1);
45432 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_long, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[54]
, 0 | 0, 0)
;
45433 if (!SWIG_IsOK(res2)(res2 >= 0)) {
45434 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsTableULongCol_nulval" "', argument " "2"" of type '" "unsigned long const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsTableULongCol_nulval"
"', argument " "2"" of type '" "unsigned long const *""'"); goto
fail; } while(0)
;
45435 }
45436 arg2 = reinterpret_cast< unsigned long * >(argp2);
45437 {
45438 try {
45439 (arg1)->nulval((unsigned long const *)arg2);
45440 }
45441 catch (const GException::out_of_range& e) {
45442 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
45443 }
45444 catch (const GExceptionHandler& e) {
45445 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
45446 }
45447 catch (const std::exception& e) {
45448 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
45449 }
45450 }
45451 resultobj = SWIG_Py_Void();
45452 return resultobj;
45453fail:
45454 return NULL__null;
45455}
45456
45457
45458SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableULongCol_nulval(PyObject *self, PyObject *args) {
45459 int argc;
45460 PyObject *argv[3];
45461 int ii;
45462
45463 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
45464 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
45465 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
45466 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
45467 }
45468 if (argc == 1) {
45469 int _v;
45470 void *vptr = 0;
45471 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableULongCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[31
], 0, 0)
;
45472 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
45473 if (_v) {
45474 return _wrap_GFitsTableULongCol_nulval__SWIG_0(self, args);
45475 }
45476 }
45477 if (argc == 2) {
45478 int _v;
45479 void *vptr = 0;
45480 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableULongCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[31
], 0, 0)
;
45481 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
45482 if (_v) {
45483 void *vptr = 0;
45484 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[54
], 0, 0)
;
45485 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
45486 if (_v) {
45487 return _wrap_GFitsTableULongCol_nulval__SWIG_1(self, args);
45488 }
45489 }
45490 }
45491
45492fail:
45493 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableULongCol_nulval'.\n"
45494 " Possible C/C++ prototypes are:\n"
45495 " GFitsTableULongCol::nulval()\n"
45496 " GFitsTableULongCol::nulval(unsigned long const *)\n");
45497 return 0;
45498}
45499
45500
45501SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableULongCol___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45502 PyObject *resultobj = 0;
45503 GFitsTableULongCol *arg1 = (GFitsTableULongCol *) 0 ;
45504 int *arg2 ;
45505 void *argp1 = 0 ;
45506 int res1 = 0 ;
45507 int temp2[3] ;
45508 PyObject * obj0 = 0 ;
45509 PyObject * obj1 = 0 ;
45510 unsigned long result;
45511
45512 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableULongCol___getitem__",&obj0,&obj1)) SWIG_failgoto fail;
45513 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableULongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[31]
, 0 | 0, 0)
;
45514 if (!SWIG_IsOK(res1)(res1 >= 0)) {
45515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableULongCol___getitem__" "', argument " "1"" of type '" "GFitsTableULongCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableULongCol___getitem__"
"', argument " "1"" of type '" "GFitsTableULongCol *""'"); goto
fail; } while(0)
;
45516 }
45517 arg1 = reinterpret_cast< GFitsTableULongCol * >(argp1);
45518 {
45519 if (!table_column_tuple(obj1,temp2)) {
45520 return NULL__null;
45521 }
45522 arg2 = &temp2[0];
45523 }
45524 {
45525 try {
45526 result = (unsigned long)GFitsTableULongCol___getitem__(arg1,arg2);
45527 }
45528 catch (const GException::out_of_range& e) {
45529 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
45530 }
45531 catch (const GExceptionHandler& e) {
45532 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
45533 }
45534 catch (const std::exception& e) {
45535 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
45536 }
45537 }
45538 resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
45539 return resultobj;
45540fail:
45541 return NULL__null;
45542}
45543
45544
45545SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableULongCol___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45546 PyObject *resultobj = 0;
45547 GFitsTableULongCol *arg1 = (GFitsTableULongCol *) 0 ;
45548 int *arg2 ;
45549 unsigned long arg3 ;
45550 void *argp1 = 0 ;
45551 int res1 = 0 ;
45552 int temp2[3] ;
45553 unsigned long val3 ;
45554 int ecode3 = 0 ;
45555 PyObject * obj0 = 0 ;
45556 PyObject * obj1 = 0 ;
45557 PyObject * obj2 = 0 ;
45558
45559 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableULongCol___setitem__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
45560 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableULongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[31]
, 0 | 0, 0)
;
45561 if (!SWIG_IsOK(res1)(res1 >= 0)) {
45562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableULongCol___setitem__" "', argument " "1"" of type '" "GFitsTableULongCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableULongCol___setitem__"
"', argument " "1"" of type '" "GFitsTableULongCol *""'"); goto
fail; } while(0)
;
45563 }
45564 arg1 = reinterpret_cast< GFitsTableULongCol * >(argp1);
45565 {
45566 if (!table_column_tuple(obj1,temp2)) {
45567 return NULL__null;
45568 }
45569 arg2 = &temp2[0];
45570 }
45571 ecode3 = SWIG_AsVal_unsigned_SS_long(obj2, &val3);
45572 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
45573 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableULongCol___setitem__" "', argument " "3"" of type '" "unsigned long""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableULongCol___setitem__"
"', argument " "3"" of type '" "unsigned long""'"); goto fail
; } while(0)
;
45574 }
45575 arg3 = static_cast< unsigned long >(val3);
45576 {
45577 try {
45578 GFitsTableULongCol___setitem__(arg1,arg2,arg3);
45579 }
45580 catch (const GException::out_of_range& e) {
45581 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
45582 }
45583 catch (const GExceptionHandler& e) {
45584 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
45585 }
45586 catch (const std::exception& e) {
45587 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
45588 }
45589 }
45590 resultobj = SWIG_Py_Void();
45591 return resultobj;
45592fail:
45593 return NULL__null;
45594}
45595
45596
45597SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableULongCol_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45598 PyObject *resultobj = 0;
45599 GFitsTableULongCol *arg1 = (GFitsTableULongCol *) 0 ;
45600 void *argp1 = 0 ;
45601 int res1 = 0 ;
45602 PyObject * obj0 = 0 ;
45603 GFitsTableULongCol result;
45604
45605 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableULongCol_copy",&obj0)) SWIG_failgoto fail;
45606 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableULongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[31]
, 0 | 0, 0)
;
45607 if (!SWIG_IsOK(res1)(res1 >= 0)) {
45608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableULongCol_copy" "', argument " "1"" of type '" "GFitsTableULongCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableULongCol_copy" "', argument "
"1"" of type '" "GFitsTableULongCol *""'"); goto fail; } while
(0)
;
45609 }
45610 arg1 = reinterpret_cast< GFitsTableULongCol * >(argp1);
45611 {
45612 try {
45613 result = GFitsTableULongCol_copy(arg1);
45614 }
45615 catch (const GException::out_of_range& e) {
45616 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
45617 }
45618 catch (const GExceptionHandler& e) {
45619 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
45620 }
45621 catch (const std::exception& e) {
45622 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
45623 }
45624 }
45625 resultobj = SWIG_NewPointerObj((new GFitsTableULongCol(static_cast< const GFitsTableULongCol& >(result))), SWIGTYPE_p_GFitsTableULongCol, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GFitsTableULongCol(static_cast
< const GFitsTableULongCol& >(result))), swig_types
[31], 0x1 | 0)
;
45626 return resultobj;
45627fail:
45628 return NULL__null;
45629}
45630
45631
45632SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GFitsTableULongCol_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45633 PyObject *obj;
45634 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
45635 SWIG_TypeNewClientData(SWIGTYPE_p_GFitsTableULongColswig_types[31], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
45636 return SWIG_Py_Void();
45637}
45638
45639SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableLongCol__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45640 PyObject *resultobj = 0;
45641 GFitsTableLongCol *result = 0 ;
45642
45643 if (!PyArg_ParseTuple(args,(char *)":new_GFitsTableLongCol")) SWIG_failgoto fail;
45644 {
45645 try {
45646 result = (GFitsTableLongCol *)new GFitsTableLongCol();
45647 }
45648 catch (const GException::out_of_range& e) {
45649 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
45650 }
45651 catch (const GExceptionHandler& e) {
45652 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
45653 }
45654 catch (const std::exception& e) {
45655 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
45656 }
45657 }
45658 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableLongCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[27], (
(0x1 << 1) | 0x1) | 0)
;
45659 return resultobj;
45660fail:
45661 return NULL__null;
45662}
45663
45664
45665SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableLongCol__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45666 PyObject *resultobj = 0;
45667 std::string *arg1 = 0 ;
45668 int *arg2 = 0 ;
45669 int *arg3 = 0 ;
45670 int res1 = SWIG_OLDOBJ((0)) ;
45671 int temp2 ;
45672 int val2 ;
45673 int ecode2 = 0 ;
45674 int temp3 ;
45675 int val3 ;
45676 int ecode3 = 0 ;
45677 PyObject * obj0 = 0 ;
45678 PyObject * obj1 = 0 ;
45679 PyObject * obj2 = 0 ;
45680 GFitsTableLongCol *result = 0 ;
45681
45682 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GFitsTableLongCol",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
45683 {
45684 std::string *ptr = (std::string *)0;
45685 res1 = SWIG_AsPtr_std_string(obj0, &ptr);
45686 if (!SWIG_IsOK(res1)(res1 >= 0)) {
45687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsTableLongCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsTableLongCol" "', argument "
"1"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
45688 }
45689 if (!ptr) {
45690 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsTableLongCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsTableLongCol" "', argument " "1"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
45691 }
45692 arg1 = ptr;
45693 }
45694 ecode2 = SWIG_AsVal_int(obj1, &val2);
45695 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
45696 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsTableLongCol" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsTableLongCol"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
45697 }
45698 temp2 = static_cast< int >(val2);
45699 arg2 = &temp2;
45700 ecode3 = SWIG_AsVal_int(obj2, &val3);
45701 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
45702 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsTableLongCol" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsTableLongCol"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
45703 }
45704 temp3 = static_cast< int >(val3);
45705 arg3 = &temp3;
45706 {
45707 try {
45708 result = (GFitsTableLongCol *)new GFitsTableLongCol((std::string const &)*arg1,(int const &)*arg2,(int const &)*arg3);
45709 }
45710 catch (const GException::out_of_range& e) {
45711 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
45712 }
45713 catch (const GExceptionHandler& e) {
45714 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
45715 }
45716 catch (const std::exception& e) {
45717 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
45718 }
45719 }
45720 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableLongCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[27], (
(0x1 << 1) | 0x1) | 0)
;
45721 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
45722 return resultobj;
45723fail:
45724 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
45725 return NULL__null;
45726}
45727
45728
45729SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableLongCol__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45730 PyObject *resultobj = 0;
45731 std::string *arg1 = 0 ;
45732 int *arg2 = 0 ;
45733 int res1 = SWIG_OLDOBJ((0)) ;
45734 int temp2 ;
45735 int val2 ;
45736 int ecode2 = 0 ;
45737 PyObject * obj0 = 0 ;
45738 PyObject * obj1 = 0 ;
45739 GFitsTableLongCol *result = 0 ;
45740
45741 if (!PyArg_ParseTuple(args,(char *)"OO:new_GFitsTableLongCol",&obj0,&obj1)) SWIG_failgoto fail;
45742 {
45743 std::string *ptr = (std::string *)0;
45744 res1 = SWIG_AsPtr_std_string(obj0, &ptr);
45745 if (!SWIG_IsOK(res1)(res1 >= 0)) {
45746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsTableLongCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsTableLongCol" "', argument "
"1"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
45747 }
45748 if (!ptr) {
45749 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsTableLongCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsTableLongCol" "', argument " "1"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
45750 }
45751 arg1 = ptr;
45752 }
45753 ecode2 = SWIG_AsVal_int(obj1, &val2);
45754 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
45755 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsTableLongCol" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsTableLongCol"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
45756 }
45757 temp2 = static_cast< int >(val2);
45758 arg2 = &temp2;
45759 {
45760 try {
45761 result = (GFitsTableLongCol *)new GFitsTableLongCol((std::string const &)*arg1,(int const &)*arg2);
45762 }
45763 catch (const GException::out_of_range& e) {
45764 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
45765 }
45766 catch (const GExceptionHandler& e) {
45767 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
45768 }
45769 catch (const std::exception& e) {
45770 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
45771 }
45772 }
45773 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableLongCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[27], (
(0x1 << 1) | 0x1) | 0)
;
45774 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
45775 return resultobj;
45776fail:
45777 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
45778 return NULL__null;
45779}
45780
45781
45782SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableLongCol__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45783 PyObject *resultobj = 0;
45784 GFitsTableLongCol *arg1 = 0 ;
45785 void *argp1 = 0 ;
45786 int res1 = 0 ;
45787 PyObject * obj0 = 0 ;
45788 GFitsTableLongCol *result = 0 ;
45789
45790 if (!PyArg_ParseTuple(args,(char *)"O:new_GFitsTableLongCol",&obj0)) SWIG_failgoto fail;
45791 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GFitsTableLongCol, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0 | 0, 0)
;
45792 if (!SWIG_IsOK(res1)(res1 >= 0)) {
45793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsTableLongCol" "', argument " "1"" of type '" "GFitsTableLongCol const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsTableLongCol" "', argument "
"1"" of type '" "GFitsTableLongCol const &""'"); goto fail
; } while(0)
;
45794 }
45795 if (!argp1) {
45796 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsTableLongCol" "', argument " "1"" of type '" "GFitsTableLongCol const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsTableLongCol" "', argument " "1"" of type '"
"GFitsTableLongCol const &""'"); goto fail; } while(0)
;
45797 }
45798 arg1 = reinterpret_cast< GFitsTableLongCol * >(argp1);
45799 {
45800 try {
45801 result = (GFitsTableLongCol *)new GFitsTableLongCol((GFitsTableLongCol const &)*arg1);
45802 }
45803 catch (const GException::out_of_range& e) {
45804 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
45805 }
45806 catch (const GExceptionHandler& e) {
45807 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
45808 }
45809 catch (const std::exception& e) {
45810 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
45811 }
45812 }
45813 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableLongCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[27], (
(0x1 << 1) | 0x1) | 0)
;
45814 return resultobj;
45815fail:
45816 return NULL__null;
45817}
45818
45819
45820SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableLongCol(PyObject *self, PyObject *args) {
45821 int argc;
45822 PyObject *argv[4];
45823 int ii;
45824
45825 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
45826 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
45827 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
45828 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
45829 }
45830 if (argc == 0) {
45831 return _wrap_new_GFitsTableLongCol__SWIG_0(self, args);
45832 }
45833 if (argc == 1) {
45834 int _v;
45835 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GFitsTableLongCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[27], 0, 0
)
;
45836 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
45837 if (_v) {
45838 return _wrap_new_GFitsTableLongCol__SWIG_3(self, args);
45839 }
45840 }
45841 if (argc == 2) {
45842 int _v;
45843 int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
45844 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
45845 if (_v) {
45846 {
45847 int res = SWIG_AsVal_int(argv[1], NULL__null);
45848 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
45849 }
45850 if (_v) {
45851 return _wrap_new_GFitsTableLongCol__SWIG_2(self, args);
45852 }
45853 }
45854 }
45855 if (argc == 3) {
45856 int _v;
45857 int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
45858 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
45859 if (_v) {
45860 {
45861 int res = SWIG_AsVal_int(argv[1], NULL__null);
45862 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
45863 }
45864 if (_v) {
45865 {
45866 int res = SWIG_AsVal_int(argv[2], NULL__null);
45867 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
45868 }
45869 if (_v) {
45870 return _wrap_new_GFitsTableLongCol__SWIG_1(self, args);
45871 }
45872 }
45873 }
45874 }
45875
45876fail:
45877 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GFitsTableLongCol'.\n"
45878 " Possible C/C++ prototypes are:\n"
45879 " GFitsTableLongCol::GFitsTableLongCol()\n"
45880 " GFitsTableLongCol::GFitsTableLongCol(std::string const &,int const &,int const &)\n"
45881 " GFitsTableLongCol::GFitsTableLongCol(std::string const &,int const &)\n"
45882 " GFitsTableLongCol::GFitsTableLongCol(GFitsTableLongCol const &)\n");
45883 return 0;
45884}
45885
45886
45887SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GFitsTableLongCol(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45888 PyObject *resultobj = 0;
45889 GFitsTableLongCol *arg1 = (GFitsTableLongCol *) 0 ;
45890 void *argp1 = 0 ;
45891 int res1 = 0 ;
45892 PyObject * obj0 = 0 ;
45893
45894 if (!PyArg_ParseTuple(args,(char *)"O:delete_GFitsTableLongCol",&obj0)) SWIG_failgoto fail;
45895 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableLongCol, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0x1 | 0, 0)
;
45896 if (!SWIG_IsOK(res1)(res1 >= 0)) {
45897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GFitsTableLongCol" "', argument " "1"" of type '" "GFitsTableLongCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GFitsTableLongCol" "', argument "
"1"" of type '" "GFitsTableLongCol *""'"); goto fail; } while
(0)
;
45898 }
45899 arg1 = reinterpret_cast< GFitsTableLongCol * >(argp1);
45900 {
45901 try {
45902 delete arg1;
45903 }
45904 catch (const GException::out_of_range& e) {
45905 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
45906 }
45907 catch (const GExceptionHandler& e) {
45908 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
45909 }
45910 catch (const std::exception& e) {
45911 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
45912 }
45913 }
45914 resultobj = SWIG_Py_Void();
45915 return resultobj;
45916fail:
45917 return NULL__null;
45918}
45919
45920
45921SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableLongCol_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45922 PyObject *resultobj = 0;
45923 GFitsTableLongCol *arg1 = (GFitsTableLongCol *) 0 ;
45924 void *argp1 = 0 ;
45925 int res1 = 0 ;
45926 PyObject * obj0 = 0 ;
45927
45928 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableLongCol_clear",&obj0)) SWIG_failgoto fail;
45929 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableLongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0 | 0, 0)
;
45930 if (!SWIG_IsOK(res1)(res1 >= 0)) {
45931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableLongCol_clear" "', argument " "1"" of type '" "GFitsTableLongCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableLongCol_clear" "', argument "
"1"" of type '" "GFitsTableLongCol *""'"); goto fail; } while
(0)
;
45932 }
45933 arg1 = reinterpret_cast< GFitsTableLongCol * >(argp1);
45934 {
45935 try {
45936 (arg1)->clear();
45937 }
45938 catch (const GException::out_of_range& e) {
45939 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
45940 }
45941 catch (const GExceptionHandler& e) {
45942 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
45943 }
45944 catch (const std::exception& e) {
45945 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
45946 }
45947 }
45948 resultobj = SWIG_Py_Void();
45949 return resultobj;
45950fail:
45951 return NULL__null;
45952}
45953
45954
45955SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableLongCol_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45956 PyObject *resultobj = 0;
45957 GFitsTableLongCol *arg1 = (GFitsTableLongCol *) 0 ;
45958 void *argp1 = 0 ;
45959 int res1 = 0 ;
45960 PyObject * obj0 = 0 ;
45961 GFitsTableLongCol *result = 0 ;
45962
45963 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableLongCol_clone",&obj0)) SWIG_failgoto fail;
45964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableLongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0 | 0, 0)
;
45965 if (!SWIG_IsOK(res1)(res1 >= 0)) {
45966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableLongCol_clone" "', argument " "1"" of type '" "GFitsTableLongCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableLongCol_clone" "', argument "
"1"" of type '" "GFitsTableLongCol const *""'"); goto fail; }
while(0)
;
45967 }
45968 arg1 = reinterpret_cast< GFitsTableLongCol * >(argp1);
45969 {
45970 try {
45971 result = (GFitsTableLongCol *)((GFitsTableLongCol const *)arg1)->clone();
45972 }
45973 catch (const GException::out_of_range& e) {
45974 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
45975 }
45976 catch (const GExceptionHandler& e) {
45977 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
45978 }
45979 catch (const std::exception& e) {
45980 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
45981 }
45982 }
45983 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableLongCol, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[27], 0
| 0)
;
45984 return resultobj;
45985fail:
45986 return NULL__null;
45987}
45988
45989
45990SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableLongCol_string__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45991 PyObject *resultobj = 0;
45992 GFitsTableLongCol *arg1 = (GFitsTableLongCol *) 0 ;
45993 int *arg2 = 0 ;
45994 int *arg3 = 0 ;
45995 void *argp1 = 0 ;
45996 int res1 = 0 ;
45997 int temp2 ;
45998 int val2 ;
45999 int ecode2 = 0 ;
46000 int temp3 ;
46001 int val3 ;
46002 int ecode3 = 0 ;
46003 PyObject * obj0 = 0 ;
46004 PyObject * obj1 = 0 ;
46005 PyObject * obj2 = 0 ;
46006 std::string result;
46007
46008 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableLongCol_string",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
46009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableLongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0 | 0, 0)
;
46010 if (!SWIG_IsOK(res1)(res1 >= 0)) {
46011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableLongCol_string" "', argument " "1"" of type '" "GFitsTableLongCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableLongCol_string" "', argument "
"1"" of type '" "GFitsTableLongCol const *""'"); goto fail; }
while(0)
;
46012 }
46013 arg1 = reinterpret_cast< GFitsTableLongCol * >(argp1);
46014 ecode2 = SWIG_AsVal_int(obj1, &val2);
46015 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
46016 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableLongCol_string" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableLongCol_string"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
46017 }
46018 temp2 = static_cast< int >(val2);
46019 arg2 = &temp2;
46020 ecode3 = SWIG_AsVal_int(obj2, &val3);
46021 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
46022 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableLongCol_string" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableLongCol_string"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
46023 }
46024 temp3 = static_cast< int >(val3);
46025 arg3 = &temp3;
46026 {
46027 try {
46028 result = ((GFitsTableLongCol const *)arg1)->string((int const &)*arg2,(int const &)*arg3);
46029 }
46030 catch (const GException::out_of_range& e) {
46031 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
46032 }
46033 catch (const GExceptionHandler& e) {
46034 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
46035 }
46036 catch (const std::exception& e) {
46037 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
46038 }
46039 }
46040 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
46041 return resultobj;
46042fail:
46043 return NULL__null;
46044}
46045
46046
46047SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableLongCol_string__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46048 PyObject *resultobj = 0;
46049 GFitsTableLongCol *arg1 = (GFitsTableLongCol *) 0 ;
46050 int *arg2 = 0 ;
46051 void *argp1 = 0 ;
46052 int res1 = 0 ;
46053 int temp2 ;
46054 int val2 ;
46055 int ecode2 = 0 ;
46056 PyObject * obj0 = 0 ;
46057 PyObject * obj1 = 0 ;
46058 std::string result;
46059
46060 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableLongCol_string",&obj0,&obj1)) SWIG_failgoto fail;
46061 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableLongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0 | 0, 0)
;
46062 if (!SWIG_IsOK(res1)(res1 >= 0)) {
46063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableLongCol_string" "', argument " "1"" of type '" "GFitsTableLongCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableLongCol_string" "', argument "
"1"" of type '" "GFitsTableLongCol const *""'"); goto fail; }
while(0)
;
46064 }
46065 arg1 = reinterpret_cast< GFitsTableLongCol * >(argp1);
46066 ecode2 = SWIG_AsVal_int(obj1, &val2);
46067 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
46068 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableLongCol_string" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableLongCol_string"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
46069 }
46070 temp2 = static_cast< int >(val2);
46071 arg2 = &temp2;
46072 {
46073 try {
46074 result = ((GFitsTableLongCol const *)arg1)->string((int const &)*arg2);
46075 }
46076 catch (const GException::out_of_range& e) {
46077 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
46078 }
46079 catch (const GExceptionHandler& e) {
46080 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
46081 }
46082 catch (const std::exception& e) {
46083 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
46084 }
46085 }
46086 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
46087 return resultobj;
46088fail:
46089 return NULL__null;
46090}
46091
46092
46093SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableLongCol_string(PyObject *self, PyObject *args) {
46094 int argc;
46095 PyObject *argv[4];
46096 int ii;
46097
46098 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
46099 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
46100 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
46101 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
46102 }
46103 if (argc == 2) {
46104 int _v;
46105 void *vptr = 0;
46106 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableLongCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[27
], 0, 0)
;
46107 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
46108 if (_v) {
46109 {
46110 int res = SWIG_AsVal_int(argv[1], NULL__null);
46111 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
46112 }
46113 if (_v) {
46114 return _wrap_GFitsTableLongCol_string__SWIG_1(self, args);
46115 }
46116 }
46117 }
46118 if (argc == 3) {
46119 int _v;
46120 void *vptr = 0;
46121 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableLongCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[27
], 0, 0)
;
46122 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
46123 if (_v) {
46124 {
46125 int res = SWIG_AsVal_int(argv[1], NULL__null);
46126 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
46127 }
46128 if (_v) {
46129 {
46130 int res = SWIG_AsVal_int(argv[2], NULL__null);
46131 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
46132 }
46133 if (_v) {
46134 return _wrap_GFitsTableLongCol_string__SWIG_0(self, args);
46135 }
46136 }
46137 }
46138 }
46139
46140fail:
46141 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableLongCol_string'.\n"
46142 " Possible C/C++ prototypes are:\n"
46143 " GFitsTableLongCol::string(int const &,int const &) const\n"
46144 " GFitsTableLongCol::string(int const &) const\n");
46145 return 0;
46146}
46147
46148
46149SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableLongCol_real__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46150 PyObject *resultobj = 0;
46151 GFitsTableLongCol *arg1 = (GFitsTableLongCol *) 0 ;
46152 int *arg2 = 0 ;
46153 int *arg3 = 0 ;
46154 void *argp1 = 0 ;
46155 int res1 = 0 ;
46156 int temp2 ;
46157 int val2 ;
46158 int ecode2 = 0 ;
46159 int temp3 ;
46160 int val3 ;
46161 int ecode3 = 0 ;
46162 PyObject * obj0 = 0 ;
46163 PyObject * obj1 = 0 ;
46164 PyObject * obj2 = 0 ;
46165 double result;
46166
46167 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableLongCol_real",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
46168 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableLongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0 | 0, 0)
;
46169 if (!SWIG_IsOK(res1)(res1 >= 0)) {
46170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableLongCol_real" "', argument " "1"" of type '" "GFitsTableLongCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableLongCol_real" "', argument "
"1"" of type '" "GFitsTableLongCol const *""'"); goto fail; }
while(0)
;
46171 }
46172 arg1 = reinterpret_cast< GFitsTableLongCol * >(argp1);
46173 ecode2 = SWIG_AsVal_int(obj1, &val2);
46174 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
46175 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableLongCol_real" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableLongCol_real"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
46176 }
46177 temp2 = static_cast< int >(val2);
46178 arg2 = &temp2;
46179 ecode3 = SWIG_AsVal_int(obj2, &val3);
46180 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
46181 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableLongCol_real" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableLongCol_real"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
46182 }
46183 temp3 = static_cast< int >(val3);
46184 arg3 = &temp3;
46185 {
46186 try {
46187 result = (double)((GFitsTableLongCol const *)arg1)->real((int const &)*arg2,(int const &)*arg3);
46188 }
46189 catch (const GException::out_of_range& e) {
46190 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
46191 }
46192 catch (const GExceptionHandler& e) {
46193 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
46194 }
46195 catch (const std::exception& e) {
46196 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
46197 }
46198 }
46199 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
46200 return resultobj;
46201fail:
46202 return NULL__null;
46203}
46204
46205
46206SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableLongCol_real__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46207 PyObject *resultobj = 0;
46208 GFitsTableLongCol *arg1 = (GFitsTableLongCol *) 0 ;
46209 int *arg2 = 0 ;
46210 void *argp1 = 0 ;
46211 int res1 = 0 ;
46212 int temp2 ;
46213 int val2 ;
46214 int ecode2 = 0 ;
46215 PyObject * obj0 = 0 ;
46216 PyObject * obj1 = 0 ;
46217 double result;
46218
46219 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableLongCol_real",&obj0,&obj1)) SWIG_failgoto fail;
46220 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableLongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0 | 0, 0)
;
46221 if (!SWIG_IsOK(res1)(res1 >= 0)) {
46222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableLongCol_real" "', argument " "1"" of type '" "GFitsTableLongCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableLongCol_real" "', argument "
"1"" of type '" "GFitsTableLongCol const *""'"); goto fail; }
while(0)
;
46223 }
46224 arg1 = reinterpret_cast< GFitsTableLongCol * >(argp1);
46225 ecode2 = SWIG_AsVal_int(obj1, &val2);
46226 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
46227 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableLongCol_real" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableLongCol_real"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
46228 }
46229 temp2 = static_cast< int >(val2);
46230 arg2 = &temp2;
46231 {
46232 try {
46233 result = (double)((GFitsTableLongCol const *)arg1)->real((int const &)*arg2);
46234 }
46235 catch (const GException::out_of_range& e) {
46236 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
46237 }
46238 catch (const GExceptionHandler& e) {
46239 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
46240 }
46241 catch (const std::exception& e) {
46242 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
46243 }
46244 }
46245 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
46246 return resultobj;
46247fail:
46248 return NULL__null;
46249}
46250
46251
46252SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableLongCol_real(PyObject *self, PyObject *args) {
46253 int argc;
46254 PyObject *argv[4];
46255 int ii;
46256
46257 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
46258 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
46259 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
46260 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
46261 }
46262 if (argc == 2) {
46263 int _v;
46264 void *vptr = 0;
46265 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableLongCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[27
], 0, 0)
;
46266 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
46267 if (_v) {
46268 {
46269 int res = SWIG_AsVal_int(argv[1], NULL__null);
46270 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
46271 }
46272 if (_v) {
46273 return _wrap_GFitsTableLongCol_real__SWIG_1(self, args);
46274 }
46275 }
46276 }
46277 if (argc == 3) {
46278 int _v;
46279 void *vptr = 0;
46280 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableLongCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[27
], 0, 0)
;
46281 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
46282 if (_v) {
46283 {
46284 int res = SWIG_AsVal_int(argv[1], NULL__null);
46285 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
46286 }
46287 if (_v) {
46288 {
46289 int res = SWIG_AsVal_int(argv[2], NULL__null);
46290 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
46291 }
46292 if (_v) {
46293 return _wrap_GFitsTableLongCol_real__SWIG_0(self, args);
46294 }
46295 }
46296 }
46297 }
46298
46299fail:
46300 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableLongCol_real'.\n"
46301 " Possible C/C++ prototypes are:\n"
46302 " GFitsTableLongCol::real(int const &,int const &) const\n"
46303 " GFitsTableLongCol::real(int const &) const\n");
46304 return 0;
46305}
46306
46307
46308SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableLongCol_integer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46309 PyObject *resultobj = 0;
46310 GFitsTableLongCol *arg1 = (GFitsTableLongCol *) 0 ;
46311 int *arg2 = 0 ;
46312 int *arg3 = 0 ;
46313 void *argp1 = 0 ;
46314 int res1 = 0 ;
46315 int temp2 ;
46316 int val2 ;
46317 int ecode2 = 0 ;
46318 int temp3 ;
46319 int val3 ;
46320 int ecode3 = 0 ;
46321 PyObject * obj0 = 0 ;
46322 PyObject * obj1 = 0 ;
46323 PyObject * obj2 = 0 ;
46324 int result;
46325
46326 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableLongCol_integer",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
46327 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableLongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0 | 0, 0)
;
46328 if (!SWIG_IsOK(res1)(res1 >= 0)) {
46329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableLongCol_integer" "', argument " "1"" of type '" "GFitsTableLongCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableLongCol_integer"
"', argument " "1"" of type '" "GFitsTableLongCol const *""'"
); goto fail; } while(0)
;
46330 }
46331 arg1 = reinterpret_cast< GFitsTableLongCol * >(argp1);
46332 ecode2 = SWIG_AsVal_int(obj1, &val2);
46333 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
46334 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableLongCol_integer" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableLongCol_integer"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
46335 }
46336 temp2 = static_cast< int >(val2);
46337 arg2 = &temp2;
46338 ecode3 = SWIG_AsVal_int(obj2, &val3);
46339 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
46340 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableLongCol_integer" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableLongCol_integer"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
46341 }
46342 temp3 = static_cast< int >(val3);
46343 arg3 = &temp3;
46344 {
46345 try {
46346 result = (int)((GFitsTableLongCol const *)arg1)->integer((int const &)*arg2,(int const &)*arg3);
46347 }
46348 catch (const GException::out_of_range& e) {
46349 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
46350 }
46351 catch (const GExceptionHandler& e) {
46352 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
46353 }
46354 catch (const std::exception& e) {
46355 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
46356 }
46357 }
46358 resultobj = SWIG_From_int(static_cast< int >(result));
46359 return resultobj;
46360fail:
46361 return NULL__null;
46362}
46363
46364
46365SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableLongCol_integer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46366 PyObject *resultobj = 0;
46367 GFitsTableLongCol *arg1 = (GFitsTableLongCol *) 0 ;
46368 int *arg2 = 0 ;
46369 void *argp1 = 0 ;
46370 int res1 = 0 ;
46371 int temp2 ;
46372 int val2 ;
46373 int ecode2 = 0 ;
46374 PyObject * obj0 = 0 ;
46375 PyObject * obj1 = 0 ;
46376 int result;
46377
46378 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableLongCol_integer",&obj0,&obj1)) SWIG_failgoto fail;
46379 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableLongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0 | 0, 0)
;
46380 if (!SWIG_IsOK(res1)(res1 >= 0)) {
46381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableLongCol_integer" "', argument " "1"" of type '" "GFitsTableLongCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableLongCol_integer"
"', argument " "1"" of type '" "GFitsTableLongCol const *""'"
); goto fail; } while(0)
;
46382 }
46383 arg1 = reinterpret_cast< GFitsTableLongCol * >(argp1);
46384 ecode2 = SWIG_AsVal_int(obj1, &val2);
46385 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
46386 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableLongCol_integer" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableLongCol_integer"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
46387 }
46388 temp2 = static_cast< int >(val2);
46389 arg2 = &temp2;
46390 {
46391 try {
46392 result = (int)((GFitsTableLongCol const *)arg1)->integer((int const &)*arg2);
46393 }
46394 catch (const GException::out_of_range& e) {
46395 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
46396 }
46397 catch (const GExceptionHandler& e) {
46398 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
46399 }
46400 catch (const std::exception& e) {
46401 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
46402 }
46403 }
46404 resultobj = SWIG_From_int(static_cast< int >(result));
46405 return resultobj;
46406fail:
46407 return NULL__null;
46408}
46409
46410
46411SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableLongCol_integer(PyObject *self, PyObject *args) {
46412 int argc;
46413 PyObject *argv[4];
46414 int ii;
46415
46416 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
46417 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
46418 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
46419 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
46420 }
46421 if (argc == 2) {
46422 int _v;
46423 void *vptr = 0;
46424 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableLongCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[27
], 0, 0)
;
46425 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
46426 if (_v) {
46427 {
46428 int res = SWIG_AsVal_int(argv[1], NULL__null);
46429 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
46430 }
46431 if (_v) {
46432 return _wrap_GFitsTableLongCol_integer__SWIG_1(self, args);
46433 }
46434 }
46435 }
46436 if (argc == 3) {
46437 int _v;
46438 void *vptr = 0;
46439 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableLongCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[27
], 0, 0)
;
46440 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
46441 if (_v) {
46442 {
46443 int res = SWIG_AsVal_int(argv[1], NULL__null);
46444 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
46445 }
46446 if (_v) {
46447 {
46448 int res = SWIG_AsVal_int(argv[2], NULL__null);
46449 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
46450 }
46451 if (_v) {
46452 return _wrap_GFitsTableLongCol_integer__SWIG_0(self, args);
46453 }
46454 }
46455 }
46456 }
46457
46458fail:
46459 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableLongCol_integer'.\n"
46460 " Possible C/C++ prototypes are:\n"
46461 " GFitsTableLongCol::integer(int const &,int const &) const\n"
46462 " GFitsTableLongCol::integer(int const &) const\n");
46463 return 0;
46464}
46465
46466
46467SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableLongCol_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46468 PyObject *resultobj = 0;
46469 GFitsTableLongCol *arg1 = (GFitsTableLongCol *) 0 ;
46470 int *arg2 = 0 ;
46471 int *arg3 = 0 ;
46472 void *argp1 = 0 ;
46473 int res1 = 0 ;
46474 int temp2 ;
46475 int val2 ;
46476 int ecode2 = 0 ;
46477 int temp3 ;
46478 int val3 ;
46479 int ecode3 = 0 ;
46480 PyObject * obj0 = 0 ;
46481 PyObject * obj1 = 0 ;
46482 PyObject * obj2 = 0 ;
46483
46484 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableLongCol_insert",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
46485 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableLongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0 | 0, 0)
;
46486 if (!SWIG_IsOK(res1)(res1 >= 0)) {
46487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableLongCol_insert" "', argument " "1"" of type '" "GFitsTableLongCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableLongCol_insert" "', argument "
"1"" of type '" "GFitsTableLongCol *""'"); goto fail; } while
(0)
;
46488 }
46489 arg1 = reinterpret_cast< GFitsTableLongCol * >(argp1);
46490 ecode2 = SWIG_AsVal_int(obj1, &val2);
46491 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
46492 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableLongCol_insert" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableLongCol_insert"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
46493 }
46494 temp2 = static_cast< int >(val2);
46495 arg2 = &temp2;
46496 ecode3 = SWIG_AsVal_int(obj2, &val3);
46497 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
46498 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableLongCol_insert" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableLongCol_insert"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
46499 }
46500 temp3 = static_cast< int >(val3);
46501 arg3 = &temp3;
46502 {
46503 try {
46504 (arg1)->insert((int const &)*arg2,(int const &)*arg3);
46505 }
46506 catch (const GException::out_of_range& e) {
46507 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
46508 }
46509 catch (const GExceptionHandler& e) {
46510 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
46511 }
46512 catch (const std::exception& e) {
46513 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
46514 }
46515 }
46516 resultobj = SWIG_Py_Void();
46517 return resultobj;
46518fail:
46519 return NULL__null;
46520}
46521
46522
46523SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableLongCol_remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46524 PyObject *resultobj = 0;
46525 GFitsTableLongCol *arg1 = (GFitsTableLongCol *) 0 ;
46526 int *arg2 = 0 ;
46527 int *arg3 = 0 ;
46528 void *argp1 = 0 ;
46529 int res1 = 0 ;
46530 int temp2 ;
46531 int val2 ;
46532 int ecode2 = 0 ;
46533 int temp3 ;
46534 int val3 ;
46535 int ecode3 = 0 ;
46536 PyObject * obj0 = 0 ;
46537 PyObject * obj1 = 0 ;
46538 PyObject * obj2 = 0 ;
46539
46540 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableLongCol_remove",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
46541 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableLongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0 | 0, 0)
;
46542 if (!SWIG_IsOK(res1)(res1 >= 0)) {
46543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableLongCol_remove" "', argument " "1"" of type '" "GFitsTableLongCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableLongCol_remove" "', argument "
"1"" of type '" "GFitsTableLongCol *""'"); goto fail; } while
(0)
;
46544 }
46545 arg1 = reinterpret_cast< GFitsTableLongCol * >(argp1);
46546 ecode2 = SWIG_AsVal_int(obj1, &val2);
46547 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
46548 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableLongCol_remove" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableLongCol_remove"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
46549 }
46550 temp2 = static_cast< int >(val2);
46551 arg2 = &temp2;
46552 ecode3 = SWIG_AsVal_int(obj2, &val3);
46553 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
46554 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableLongCol_remove" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableLongCol_remove"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
46555 }
46556 temp3 = static_cast< int >(val3);
46557 arg3 = &temp3;
46558 {
46559 try {
46560 (arg1)->remove((int const &)*arg2,(int const &)*arg3);
46561 }
46562 catch (const GException::out_of_range& e) {
46563 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
46564 }
46565 catch (const GExceptionHandler& e) {
46566 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
46567 }
46568 catch (const std::exception& e) {
46569 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
46570 }
46571 }
46572 resultobj = SWIG_Py_Void();
46573 return resultobj;
46574fail:
46575 return NULL__null;
46576}
46577
46578
46579SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableLongCol_isloaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46580 PyObject *resultobj = 0;
46581 GFitsTableLongCol *arg1 = (GFitsTableLongCol *) 0 ;
46582 void *argp1 = 0 ;
46583 int res1 = 0 ;
46584 PyObject * obj0 = 0 ;
46585 bool result;
46586
46587 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableLongCol_isloaded",&obj0)) SWIG_failgoto fail;
46588 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableLongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0 | 0, 0)
;
46589 if (!SWIG_IsOK(res1)(res1 >= 0)) {
46590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableLongCol_isloaded" "', argument " "1"" of type '" "GFitsTableLongCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableLongCol_isloaded"
"', argument " "1"" of type '" "GFitsTableLongCol const *""'"
); goto fail; } while(0)
;
46591 }
46592 arg1 = reinterpret_cast< GFitsTableLongCol * >(argp1);
46593 {
46594 try {
46595 result = (bool)((GFitsTableLongCol const *)arg1)->isloaded();
46596 }
46597 catch (const GException::out_of_range& e) {
46598 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
46599 }
46600 catch (const GExceptionHandler& e) {
46601 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
46602 }
46603 catch (const std::exception& e) {
46604 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
46605 }
46606 }
46607 resultobj = SWIG_From_bool(static_cast< bool >(result));
46608 return resultobj;
46609fail:
46610 return NULL__null;
46611}
46612
46613
46614SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableLongCol_data(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46615 PyObject *resultobj = 0;
46616 GFitsTableLongCol *arg1 = (GFitsTableLongCol *) 0 ;
46617 void *argp1 = 0 ;
46618 int res1 = 0 ;
46619 PyObject * obj0 = 0 ;
46620 long *result = 0 ;
46621
46622 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableLongCol_data",&obj0)) SWIG_failgoto fail;
46623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableLongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0 | 0, 0)
;
46624 if (!SWIG_IsOK(res1)(res1 >= 0)) {
46625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableLongCol_data" "', argument " "1"" of type '" "GFitsTableLongCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableLongCol_data" "', argument "
"1"" of type '" "GFitsTableLongCol *""'"); goto fail; } while
(0)
;
46626 }
46627 arg1 = reinterpret_cast< GFitsTableLongCol * >(argp1);
46628 {
46629 try {
46630 result = (long *)(arg1)->data();
46631 }
46632 catch (const GException::out_of_range& e) {
46633 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
46634 }
46635 catch (const GExceptionHandler& e) {
46636 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
46637 }
46638 catch (const std::exception& e) {
46639 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
46640 }
46641 }
46642 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_long, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[42], 0
| 0)
;
46643 return resultobj;
46644fail:
46645 return NULL__null;
46646}
46647
46648
46649SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableLongCol_nulval__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46650 PyObject *resultobj = 0;
46651 GFitsTableLongCol *arg1 = (GFitsTableLongCol *) 0 ;
46652 void *argp1 = 0 ;
46653 int res1 = 0 ;
46654 PyObject * obj0 = 0 ;
46655 long *result = 0 ;
46656
46657 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableLongCol_nulval",&obj0)) SWIG_failgoto fail;
46658 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableLongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0 | 0, 0)
;
46659 if (!SWIG_IsOK(res1)(res1 >= 0)) {
46660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableLongCol_nulval" "', argument " "1"" of type '" "GFitsTableLongCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableLongCol_nulval" "', argument "
"1"" of type '" "GFitsTableLongCol *""'"); goto fail; } while
(0)
;
46661 }
46662 arg1 = reinterpret_cast< GFitsTableLongCol * >(argp1);
46663 {
46664 try {
46665 result = (long *)(arg1)->nulval();
46666 }
46667 catch (const GException::out_of_range& e) {
46668 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
46669 }
46670 catch (const GExceptionHandler& e) {
46671 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
46672 }
46673 catch (const std::exception& e) {
46674 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
46675 }
46676 }
46677 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_long, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[42], 0
| 0)
;
46678 return resultobj;
46679fail:
46680 return NULL__null;
46681}
46682
46683
46684SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableLongCol_nulval__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46685 PyObject *resultobj = 0;
46686 GFitsTableLongCol *arg1 = (GFitsTableLongCol *) 0 ;
46687 long *arg2 = (long *) 0 ;
46688 void *argp1 = 0 ;
46689 int res1 = 0 ;
46690 void *argp2 = 0 ;
46691 int res2 = 0 ;
46692 PyObject * obj0 = 0 ;
46693 PyObject * obj1 = 0 ;
46694
46695 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableLongCol_nulval",&obj0,&obj1)) SWIG_failgoto fail;
46696 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableLongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0 | 0, 0)
;
46697 if (!SWIG_IsOK(res1)(res1 >= 0)) {
46698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableLongCol_nulval" "', argument " "1"" of type '" "GFitsTableLongCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableLongCol_nulval" "', argument "
"1"" of type '" "GFitsTableLongCol *""'"); goto fail; } while
(0)
;
46699 }
46700 arg1 = reinterpret_cast< GFitsTableLongCol * >(argp1);
46701 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_long, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[42]
, 0 | 0, 0)
;
46702 if (!SWIG_IsOK(res2)(res2 >= 0)) {
46703 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsTableLongCol_nulval" "', argument " "2"" of type '" "long const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsTableLongCol_nulval" "', argument "
"2"" of type '" "long const *""'"); goto fail; } while(0)
;
46704 }
46705 arg2 = reinterpret_cast< long * >(argp2);
46706 {
46707 try {
46708 (arg1)->nulval((long const *)arg2);
46709 }
46710 catch (const GException::out_of_range& e) {
46711 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
46712 }
46713 catch (const GExceptionHandler& e) {
46714 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
46715 }
46716 catch (const std::exception& e) {
46717 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
46718 }
46719 }
46720 resultobj = SWIG_Py_Void();
46721 return resultobj;
46722fail:
46723 return NULL__null;
46724}
46725
46726
46727SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableLongCol_nulval(PyObject *self, PyObject *args) {
46728 int argc;
46729 PyObject *argv[3];
46730 int ii;
46731
46732 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
46733 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
46734 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
46735 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
46736 }
46737 if (argc == 1) {
46738 int _v;
46739 void *vptr = 0;
46740 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableLongCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[27
], 0, 0)
;
46741 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
46742 if (_v) {
46743 return _wrap_GFitsTableLongCol_nulval__SWIG_0(self, args);
46744 }
46745 }
46746 if (argc == 2) {
46747 int _v;
46748 void *vptr = 0;
46749 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableLongCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[27
], 0, 0)
;
46750 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
46751 if (_v) {
46752 void *vptr = 0;
46753 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_long, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[42
], 0, 0)
;
46754 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
46755 if (_v) {
46756 return _wrap_GFitsTableLongCol_nulval__SWIG_1(self, args);
46757 }
46758 }
46759 }
46760
46761fail:
46762 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableLongCol_nulval'.\n"
46763 " Possible C/C++ prototypes are:\n"
46764 " GFitsTableLongCol::nulval()\n"
46765 " GFitsTableLongCol::nulval(long const *)\n");
46766 return 0;
46767}
46768
46769
46770SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableLongCol___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46771 PyObject *resultobj = 0;
46772 GFitsTableLongCol *arg1 = (GFitsTableLongCol *) 0 ;
46773 int *arg2 ;
46774 void *argp1 = 0 ;
46775 int res1 = 0 ;
46776 int temp2[3] ;
46777 PyObject * obj0 = 0 ;
46778 PyObject * obj1 = 0 ;
46779 long result;
46780
46781 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableLongCol___getitem__",&obj0,&obj1)) SWIG_failgoto fail;
46782 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableLongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0 | 0, 0)
;
46783 if (!SWIG_IsOK(res1)(res1 >= 0)) {
46784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableLongCol___getitem__" "', argument " "1"" of type '" "GFitsTableLongCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableLongCol___getitem__"
"', argument " "1"" of type '" "GFitsTableLongCol *""'"); goto
fail; } while(0)
;
46785 }
46786 arg1 = reinterpret_cast< GFitsTableLongCol * >(argp1);
46787 {
46788 if (!table_column_tuple(obj1,temp2)) {
46789 return NULL__null;
46790 }
46791 arg2 = &temp2[0];
46792 }
46793 {
46794 try {
46795 result = (long)GFitsTableLongCol___getitem__(arg1,arg2);
46796 }
46797 catch (const GException::out_of_range& e) {
46798 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
46799 }
46800 catch (const GExceptionHandler& e) {
46801 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
46802 }
46803 catch (const std::exception& e) {
46804 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
46805 }
46806 }
46807 resultobj = SWIG_From_longPyLong_FromLong(static_cast< long >(result));
46808 return resultobj;
46809fail:
46810 return NULL__null;
46811}
46812
46813
46814SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableLongCol___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46815 PyObject *resultobj = 0;
46816 GFitsTableLongCol *arg1 = (GFitsTableLongCol *) 0 ;
46817 int *arg2 ;
46818 long arg3 ;
46819 void *argp1 = 0 ;
46820 int res1 = 0 ;
46821 int temp2[3] ;
46822 long val3 ;
46823 int ecode3 = 0 ;
46824 PyObject * obj0 = 0 ;
46825 PyObject * obj1 = 0 ;
46826 PyObject * obj2 = 0 ;
46827
46828 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableLongCol___setitem__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
46829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableLongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0 | 0, 0)
;
46830 if (!SWIG_IsOK(res1)(res1 >= 0)) {
46831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableLongCol___setitem__" "', argument " "1"" of type '" "GFitsTableLongCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableLongCol___setitem__"
"', argument " "1"" of type '" "GFitsTableLongCol *""'"); goto
fail; } while(0)
;
46832 }
46833 arg1 = reinterpret_cast< GFitsTableLongCol * >(argp1);
46834 {
46835 if (!table_column_tuple(obj1,temp2)) {
46836 return NULL__null;
46837 }
46838 arg2 = &temp2[0];
46839 }
46840 ecode3 = SWIG_AsVal_long(obj2, &val3);
46841 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
46842 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableLongCol___setitem__" "', argument " "3"" of type '" "long""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableLongCol___setitem__"
"', argument " "3"" of type '" "long""'"); goto fail; } while
(0)
;
46843 }
46844 arg3 = static_cast< long >(val3);
46845 {
46846 try {
46847 GFitsTableLongCol___setitem__(arg1,arg2,arg3);
46848 }
46849 catch (const GException::out_of_range& e) {
46850 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
46851 }
46852 catch (const GExceptionHandler& e) {
46853 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
46854 }
46855 catch (const std::exception& e) {
46856 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
46857 }
46858 }
46859 resultobj = SWIG_Py_Void();
46860 return resultobj;
46861fail:
46862 return NULL__null;
46863}
46864
46865
46866SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableLongCol_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46867 PyObject *resultobj = 0;
46868 GFitsTableLongCol *arg1 = (GFitsTableLongCol *) 0 ;
46869 void *argp1 = 0 ;
46870 int res1 = 0 ;
46871 PyObject * obj0 = 0 ;
46872 GFitsTableLongCol result;
46873
46874 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableLongCol_copy",&obj0)) SWIG_failgoto fail;
46875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableLongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[27]
, 0 | 0, 0)
;
46876 if (!SWIG_IsOK(res1)(res1 >= 0)) {
46877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableLongCol_copy" "', argument " "1"" of type '" "GFitsTableLongCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableLongCol_copy" "', argument "
"1"" of type '" "GFitsTableLongCol *""'"); goto fail; } while
(0)
;
46878 }
46879 arg1 = reinterpret_cast< GFitsTableLongCol * >(argp1);
46880 {
46881 try {
46882 result = GFitsTableLongCol_copy(arg1);
46883 }
46884 catch (const GException::out_of_range& e) {
46885 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
46886 }
46887 catch (const GExceptionHandler& e) {
46888 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
46889 }
46890 catch (const std::exception& e) {
46891 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
46892 }
46893 }
46894 resultobj = SWIG_NewPointerObj((new GFitsTableLongCol(static_cast< const GFitsTableLongCol& >(result))), SWIGTYPE_p_GFitsTableLongCol, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GFitsTableLongCol(static_cast
< const GFitsTableLongCol& >(result))), swig_types[
27], 0x1 | 0)
;
46895 return resultobj;
46896fail:
46897 return NULL__null;
46898}
46899
46900
46901SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GFitsTableLongCol_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46902 PyObject *obj;
46903 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
46904 SWIG_TypeNewClientData(SWIGTYPE_p_GFitsTableLongColswig_types[27], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
46905 return SWIG_Py_Void();
46906}
46907
46908SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableLongLongCol__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46909 PyObject *resultobj = 0;
46910 GFitsTableLongLongCol *result = 0 ;
46911
46912 if (!PyArg_ParseTuple(args,(char *)":new_GFitsTableLongLongCol")) SWIG_failgoto fail;
46913 {
46914 try {
46915 result = (GFitsTableLongLongCol *)new GFitsTableLongLongCol();
46916 }
46917 catch (const GException::out_of_range& e) {
46918 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
46919 }
46920 catch (const GExceptionHandler& e) {
46921 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
46922 }
46923 catch (const std::exception& e) {
46924 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
46925 }
46926 }
46927 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableLongLongCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[28], (
(0x1 << 1) | 0x1) | 0)
;
46928 return resultobj;
46929fail:
46930 return NULL__null;
46931}
46932
46933
46934SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableLongLongCol__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46935 PyObject *resultobj = 0;
46936 std::string *arg1 = 0 ;
46937 int *arg2 = 0 ;
46938 int *arg3 = 0 ;
46939 int res1 = SWIG_OLDOBJ((0)) ;
46940 int temp2 ;
46941 int val2 ;
46942 int ecode2 = 0 ;
46943 int temp3 ;
46944 int val3 ;
46945 int ecode3 = 0 ;
46946 PyObject * obj0 = 0 ;
46947 PyObject * obj1 = 0 ;
46948 PyObject * obj2 = 0 ;
46949 GFitsTableLongLongCol *result = 0 ;
46950
46951 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GFitsTableLongLongCol",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
46952 {
46953 std::string *ptr = (std::string *)0;
46954 res1 = SWIG_AsPtr_std_string(obj0, &ptr);
46955 if (!SWIG_IsOK(res1)(res1 >= 0)) {
46956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsTableLongLongCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsTableLongLongCol"
"', argument " "1"" of type '" "std::string const &""'")
; goto fail; } while(0)
;
46957 }
46958 if (!ptr) {
46959 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsTableLongLongCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsTableLongLongCol" "', argument " "1"
" of type '" "std::string const &""'"); goto fail; } while
(0)
;
46960 }
46961 arg1 = ptr;
46962 }
46963 ecode2 = SWIG_AsVal_int(obj1, &val2);
46964 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
46965 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsTableLongLongCol" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsTableLongLongCol"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
46966 }
46967 temp2 = static_cast< int >(val2);
46968 arg2 = &temp2;
46969 ecode3 = SWIG_AsVal_int(obj2, &val3);
46970 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
46971 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsTableLongLongCol" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsTableLongLongCol"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
46972 }
46973 temp3 = static_cast< int >(val3);
46974 arg3 = &temp3;
46975 {
46976 try {
46977 result = (GFitsTableLongLongCol *)new GFitsTableLongLongCol((std::string const &)*arg1,(int const &)*arg2,(int const &)*arg3);
46978 }
46979 catch (const GException::out_of_range& e) {
46980 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
46981 }
46982 catch (const GExceptionHandler& e) {
46983 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
46984 }
46985 catch (const std::exception& e) {
46986 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
46987 }
46988 }
46989 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableLongLongCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[28], (
(0x1 << 1) | 0x1) | 0)
;
46990 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
46991 return resultobj;
46992fail:
46993 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
46994 return NULL__null;
46995}
46996
46997
46998SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableLongLongCol__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46999 PyObject *resultobj = 0;
47000 std::string *arg1 = 0 ;
47001 int *arg2 = 0 ;
47002 int res1 = SWIG_OLDOBJ((0)) ;
47003 int temp2 ;
47004 int val2 ;
47005 int ecode2 = 0 ;
47006 PyObject * obj0 = 0 ;
47007 PyObject * obj1 = 0 ;
47008 GFitsTableLongLongCol *result = 0 ;
47009
47010 if (!PyArg_ParseTuple(args,(char *)"OO:new_GFitsTableLongLongCol",&obj0,&obj1)) SWIG_failgoto fail;
47011 {
47012 std::string *ptr = (std::string *)0;
47013 res1 = SWIG_AsPtr_std_string(obj0, &ptr);
47014 if (!SWIG_IsOK(res1)(res1 >= 0)) {
47015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsTableLongLongCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsTableLongLongCol"
"', argument " "1"" of type '" "std::string const &""'")
; goto fail; } while(0)
;
47016 }
47017 if (!ptr) {
47018 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsTableLongLongCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsTableLongLongCol" "', argument " "1"
" of type '" "std::string const &""'"); goto fail; } while
(0)
;
47019 }
47020 arg1 = ptr;
47021 }
47022 ecode2 = SWIG_AsVal_int(obj1, &val2);
47023 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
47024 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsTableLongLongCol" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsTableLongLongCol"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
47025 }
47026 temp2 = static_cast< int >(val2);
47027 arg2 = &temp2;
47028 {
47029 try {
47030 result = (GFitsTableLongLongCol *)new GFitsTableLongLongCol((std::string const &)*arg1,(int const &)*arg2);
47031 }
47032 catch (const GException::out_of_range& e) {
47033 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
47034 }
47035 catch (const GExceptionHandler& e) {
47036 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
47037 }
47038 catch (const std::exception& e) {
47039 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
47040 }
47041 }
47042 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableLongLongCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[28], (
(0x1 << 1) | 0x1) | 0)
;
47043 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
47044 return resultobj;
47045fail:
47046 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
47047 return NULL__null;
47048}
47049
47050
47051SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableLongLongCol__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47052 PyObject *resultobj = 0;
47053 GFitsTableLongLongCol *arg1 = 0 ;
47054 void *argp1 = 0 ;
47055 int res1 = 0 ;
47056 PyObject * obj0 = 0 ;
47057 GFitsTableLongLongCol *result = 0 ;
47058
47059 if (!PyArg_ParseTuple(args,(char *)"O:new_GFitsTableLongLongCol",&obj0)) SWIG_failgoto fail;
47060 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GFitsTableLongLongCol, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
47061 if (!SWIG_IsOK(res1)(res1 >= 0)) {
47062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsTableLongLongCol" "', argument " "1"" of type '" "GFitsTableLongLongCol const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsTableLongLongCol"
"', argument " "1"" of type '" "GFitsTableLongLongCol const &"
"'"); goto fail; } while(0)
;
47063 }
47064 if (!argp1) {
47065 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsTableLongLongCol" "', argument " "1"" of type '" "GFitsTableLongLongCol const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsTableLongLongCol" "', argument " "1"
" of type '" "GFitsTableLongLongCol const &""'"); goto fail
; } while(0)
;
47066 }
47067 arg1 = reinterpret_cast< GFitsTableLongLongCol * >(argp1);
47068 {
47069 try {
47070 result = (GFitsTableLongLongCol *)new GFitsTableLongLongCol((GFitsTableLongLongCol const &)*arg1);
47071 }
47072 catch (const GException::out_of_range& e) {
47073 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
47074 }
47075 catch (const GExceptionHandler& e) {
47076 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
47077 }
47078 catch (const std::exception& e) {
47079 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
47080 }
47081 }
47082 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableLongLongCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[28], (
(0x1 << 1) | 0x1) | 0)
;
47083 return resultobj;
47084fail:
47085 return NULL__null;
47086}
47087
47088
47089SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableLongLongCol(PyObject *self, PyObject *args) {
47090 int argc;
47091 PyObject *argv[4];
47092 int ii;
47093
47094 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
47095 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
47096 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
47097 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
47098 }
47099 if (argc == 0) {
47100 return _wrap_new_GFitsTableLongLongCol__SWIG_0(self, args);
47101 }
47102 if (argc == 1) {
47103 int _v;
47104 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GFitsTableLongLongCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[28], 0, 0
)
;
47105 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
47106 if (_v) {
47107 return _wrap_new_GFitsTableLongLongCol__SWIG_3(self, args);
47108 }
47109 }
47110 if (argc == 2) {
47111 int _v;
47112 int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
47113 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
47114 if (_v) {
47115 {
47116 int res = SWIG_AsVal_int(argv[1], NULL__null);
47117 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
47118 }
47119 if (_v) {
47120 return _wrap_new_GFitsTableLongLongCol__SWIG_2(self, args);
47121 }
47122 }
47123 }
47124 if (argc == 3) {
47125 int _v;
47126 int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
47127 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
47128 if (_v) {
47129 {
47130 int res = SWIG_AsVal_int(argv[1], NULL__null);
47131 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
47132 }
47133 if (_v) {
47134 {
47135 int res = SWIG_AsVal_int(argv[2], NULL__null);
47136 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
47137 }
47138 if (_v) {
47139 return _wrap_new_GFitsTableLongLongCol__SWIG_1(self, args);
47140 }
47141 }
47142 }
47143 }
47144
47145fail:
47146 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GFitsTableLongLongCol'.\n"
47147 " Possible C/C++ prototypes are:\n"
47148 " GFitsTableLongLongCol::GFitsTableLongLongCol()\n"
47149 " GFitsTableLongLongCol::GFitsTableLongLongCol(std::string const &,int const &,int const &)\n"
47150 " GFitsTableLongLongCol::GFitsTableLongLongCol(std::string const &,int const &)\n"
47151 " GFitsTableLongLongCol::GFitsTableLongLongCol(GFitsTableLongLongCol const &)\n");
47152 return 0;
47153}
47154
47155
47156SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GFitsTableLongLongCol(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47157 PyObject *resultobj = 0;
47158 GFitsTableLongLongCol *arg1 = (GFitsTableLongLongCol *) 0 ;
47159 void *argp1 = 0 ;
47160 int res1 = 0 ;
47161 PyObject * obj0 = 0 ;
47162
47163 if (!PyArg_ParseTuple(args,(char *)"O:delete_GFitsTableLongLongCol",&obj0)) SWIG_failgoto fail;
47164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableLongLongCol, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0x1 | 0, 0)
;
47165 if (!SWIG_IsOK(res1)(res1 >= 0)) {
47166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GFitsTableLongLongCol" "', argument " "1"" of type '" "GFitsTableLongLongCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GFitsTableLongLongCol"
"', argument " "1"" of type '" "GFitsTableLongLongCol *""'")
; goto fail; } while(0)
;
47167 }
47168 arg1 = reinterpret_cast< GFitsTableLongLongCol * >(argp1);
47169 {
47170 try {
47171 delete arg1;
47172 }
47173 catch (const GException::out_of_range& e) {
47174 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
47175 }
47176 catch (const GExceptionHandler& e) {
47177 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
47178 }
47179 catch (const std::exception& e) {
47180 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
47181 }
47182 }
47183 resultobj = SWIG_Py_Void();
47184 return resultobj;
47185fail:
47186 return NULL__null;
47187}
47188
47189
47190SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableLongLongCol_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47191 PyObject *resultobj = 0;
47192 GFitsTableLongLongCol *arg1 = (GFitsTableLongLongCol *) 0 ;
47193 void *argp1 = 0 ;
47194 int res1 = 0 ;
47195 PyObject * obj0 = 0 ;
47196
47197 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableLongLongCol_clear",&obj0)) SWIG_failgoto fail;
47198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableLongLongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
47199 if (!SWIG_IsOK(res1)(res1 >= 0)) {
47200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableLongLongCol_clear" "', argument " "1"" of type '" "GFitsTableLongLongCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableLongLongCol_clear"
"', argument " "1"" of type '" "GFitsTableLongLongCol *""'")
; goto fail; } while(0)
;
47201 }
47202 arg1 = reinterpret_cast< GFitsTableLongLongCol * >(argp1);
47203 {
47204 try {
47205 (arg1)->clear();
47206 }
47207 catch (const GException::out_of_range& e) {
47208 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
47209 }
47210 catch (const GExceptionHandler& e) {
47211 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
47212 }
47213 catch (const std::exception& e) {
47214 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
47215 }
47216 }
47217 resultobj = SWIG_Py_Void();
47218 return resultobj;
47219fail:
47220 return NULL__null;
47221}
47222
47223
47224SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableLongLongCol_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47225 PyObject *resultobj = 0;
47226 GFitsTableLongLongCol *arg1 = (GFitsTableLongLongCol *) 0 ;
47227 void *argp1 = 0 ;
47228 int res1 = 0 ;
47229 PyObject * obj0 = 0 ;
47230 GFitsTableLongLongCol *result = 0 ;
47231
47232 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableLongLongCol_clone",&obj0)) SWIG_failgoto fail;
47233 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableLongLongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
47234 if (!SWIG_IsOK(res1)(res1 >= 0)) {
47235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableLongLongCol_clone" "', argument " "1"" of type '" "GFitsTableLongLongCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableLongLongCol_clone"
"', argument " "1"" of type '" "GFitsTableLongLongCol const *"
"'"); goto fail; } while(0)
;
47236 }
47237 arg1 = reinterpret_cast< GFitsTableLongLongCol * >(argp1);
47238 {
47239 try {
47240 result = (GFitsTableLongLongCol *)((GFitsTableLongLongCol const *)arg1)->clone();
47241 }
47242 catch (const GException::out_of_range& e) {
47243 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
47244 }
47245 catch (const GExceptionHandler& e) {
47246 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
47247 }
47248 catch (const std::exception& e) {
47249 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
47250 }
47251 }
47252 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableLongLongCol, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[28], 0
| 0)
;
47253 return resultobj;
47254fail:
47255 return NULL__null;
47256}
47257
47258
47259SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableLongLongCol_string__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47260 PyObject *resultobj = 0;
47261 GFitsTableLongLongCol *arg1 = (GFitsTableLongLongCol *) 0 ;
47262 int *arg2 = 0 ;
47263 int *arg3 = 0 ;
47264 void *argp1 = 0 ;
47265 int res1 = 0 ;
47266 int temp2 ;
47267 int val2 ;
47268 int ecode2 = 0 ;
47269 int temp3 ;
47270 int val3 ;
47271 int ecode3 = 0 ;
47272 PyObject * obj0 = 0 ;
47273 PyObject * obj1 = 0 ;
47274 PyObject * obj2 = 0 ;
47275 std::string result;
47276
47277 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableLongLongCol_string",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
47278 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableLongLongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
47279 if (!SWIG_IsOK(res1)(res1 >= 0)) {
47280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableLongLongCol_string" "', argument " "1"" of type '" "GFitsTableLongLongCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableLongLongCol_string"
"', argument " "1"" of type '" "GFitsTableLongLongCol const *"
"'"); goto fail; } while(0)
;
47281 }
47282 arg1 = reinterpret_cast< GFitsTableLongLongCol * >(argp1);
47283 ecode2 = SWIG_AsVal_int(obj1, &val2);
47284 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
47285 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableLongLongCol_string" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableLongLongCol_string"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
47286 }
47287 temp2 = static_cast< int >(val2);
47288 arg2 = &temp2;
47289 ecode3 = SWIG_AsVal_int(obj2, &val3);
47290 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
47291 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableLongLongCol_string" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableLongLongCol_string"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
47292 }
47293 temp3 = static_cast< int >(val3);
47294 arg3 = &temp3;
47295 {
47296 try {
47297 result = ((GFitsTableLongLongCol const *)arg1)->string((int const &)*arg2,(int const &)*arg3);
47298 }
47299 catch (const GException::out_of_range& e) {
47300 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
47301 }
47302 catch (const GExceptionHandler& e) {
47303 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
47304 }
47305 catch (const std::exception& e) {
47306 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
47307 }
47308 }
47309 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
47310 return resultobj;
47311fail:
47312 return NULL__null;
47313}
47314
47315
47316SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableLongLongCol_string__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47317 PyObject *resultobj = 0;
47318 GFitsTableLongLongCol *arg1 = (GFitsTableLongLongCol *) 0 ;
47319 int *arg2 = 0 ;
47320 void *argp1 = 0 ;
47321 int res1 = 0 ;
47322 int temp2 ;
47323 int val2 ;
47324 int ecode2 = 0 ;
47325 PyObject * obj0 = 0 ;
47326 PyObject * obj1 = 0 ;
47327 std::string result;
47328
47329 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableLongLongCol_string",&obj0,&obj1)) SWIG_failgoto fail;
47330 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableLongLongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
47331 if (!SWIG_IsOK(res1)(res1 >= 0)) {
47332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableLongLongCol_string" "', argument " "1"" of type '" "GFitsTableLongLongCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableLongLongCol_string"
"', argument " "1"" of type '" "GFitsTableLongLongCol const *"
"'"); goto fail; } while(0)
;
47333 }
47334 arg1 = reinterpret_cast< GFitsTableLongLongCol * >(argp1);
47335 ecode2 = SWIG_AsVal_int(obj1, &val2);
47336 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
47337 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableLongLongCol_string" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableLongLongCol_string"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
47338 }
47339 temp2 = static_cast< int >(val2);
47340 arg2 = &temp2;
47341 {
47342 try {
47343 result = ((GFitsTableLongLongCol const *)arg1)->string((int const &)*arg2);
47344 }
47345 catch (const GException::out_of_range& e) {
47346 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
47347 }
47348 catch (const GExceptionHandler& e) {
47349 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
47350 }
47351 catch (const std::exception& e) {
47352 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
47353 }
47354 }
47355 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
47356 return resultobj;
47357fail:
47358 return NULL__null;
47359}
47360
47361
47362SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableLongLongCol_string(PyObject *self, PyObject *args) {
47363 int argc;
47364 PyObject *argv[4];
47365 int ii;
47366
47367 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
47368 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
47369 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
47370 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
47371 }
47372 if (argc == 2) {
47373 int _v;
47374 void *vptr = 0;
47375 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableLongLongCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[28
], 0, 0)
;
47376 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
47377 if (_v) {
47378 {
47379 int res = SWIG_AsVal_int(argv[1], NULL__null);
47380 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
47381 }
47382 if (_v) {
47383 return _wrap_GFitsTableLongLongCol_string__SWIG_1(self, args);
47384 }
47385 }
47386 }
47387 if (argc == 3) {
47388 int _v;
47389 void *vptr = 0;
47390 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableLongLongCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[28
], 0, 0)
;
47391 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
47392 if (_v) {
47393 {
47394 int res = SWIG_AsVal_int(argv[1], NULL__null);
47395 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
47396 }
47397 if (_v) {
47398 {
47399 int res = SWIG_AsVal_int(argv[2], NULL__null);
47400 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
47401 }
47402 if (_v) {
47403 return _wrap_GFitsTableLongLongCol_string__SWIG_0(self, args);
47404 }
47405 }
47406 }
47407 }
47408
47409fail:
47410 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableLongLongCol_string'.\n"
47411 " Possible C/C++ prototypes are:\n"
47412 " GFitsTableLongLongCol::string(int const &,int const &) const\n"
47413 " GFitsTableLongLongCol::string(int const &) const\n");
47414 return 0;
47415}
47416
47417
47418SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableLongLongCol_real__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47419 PyObject *resultobj = 0;
47420 GFitsTableLongLongCol *arg1 = (GFitsTableLongLongCol *) 0 ;
47421 int *arg2 = 0 ;
47422 int *arg3 = 0 ;
47423 void *argp1 = 0 ;
47424 int res1 = 0 ;
47425 int temp2 ;
47426 int val2 ;
47427 int ecode2 = 0 ;
47428 int temp3 ;
47429 int val3 ;
47430 int ecode3 = 0 ;
47431 PyObject * obj0 = 0 ;
47432 PyObject * obj1 = 0 ;
47433 PyObject * obj2 = 0 ;
47434 double result;
47435
47436 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableLongLongCol_real",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
47437 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableLongLongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
47438 if (!SWIG_IsOK(res1)(res1 >= 0)) {
47439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableLongLongCol_real" "', argument " "1"" of type '" "GFitsTableLongLongCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableLongLongCol_real"
"', argument " "1"" of type '" "GFitsTableLongLongCol const *"
"'"); goto fail; } while(0)
;
47440 }
47441 arg1 = reinterpret_cast< GFitsTableLongLongCol * >(argp1);
47442 ecode2 = SWIG_AsVal_int(obj1, &val2);
47443 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
47444 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableLongLongCol_real" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableLongLongCol_real"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
47445 }
47446 temp2 = static_cast< int >(val2);
47447 arg2 = &temp2;
47448 ecode3 = SWIG_AsVal_int(obj2, &val3);
47449 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
47450 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableLongLongCol_real" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableLongLongCol_real"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
47451 }
47452 temp3 = static_cast< int >(val3);
47453 arg3 = &temp3;
47454 {
47455 try {
47456 result = (double)((GFitsTableLongLongCol const *)arg1)->real((int const &)*arg2,(int const &)*arg3);
47457 }
47458 catch (const GException::out_of_range& e) {
47459 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
47460 }
47461 catch (const GExceptionHandler& e) {
47462 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
47463 }
47464 catch (const std::exception& e) {
47465 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
47466 }
47467 }
47468 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
47469 return resultobj;
47470fail:
47471 return NULL__null;
47472}
47473
47474
47475SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableLongLongCol_real__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47476 PyObject *resultobj = 0;
47477 GFitsTableLongLongCol *arg1 = (GFitsTableLongLongCol *) 0 ;
47478 int *arg2 = 0 ;
47479 void *argp1 = 0 ;
47480 int res1 = 0 ;
47481 int temp2 ;
47482 int val2 ;
47483 int ecode2 = 0 ;
47484 PyObject * obj0 = 0 ;
47485 PyObject * obj1 = 0 ;
47486 double result;
47487
47488 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableLongLongCol_real",&obj0,&obj1)) SWIG_failgoto fail;
47489 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableLongLongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
47490 if (!SWIG_IsOK(res1)(res1 >= 0)) {
47491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableLongLongCol_real" "', argument " "1"" of type '" "GFitsTableLongLongCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableLongLongCol_real"
"', argument " "1"" of type '" "GFitsTableLongLongCol const *"
"'"); goto fail; } while(0)
;
47492 }
47493 arg1 = reinterpret_cast< GFitsTableLongLongCol * >(argp1);
47494 ecode2 = SWIG_AsVal_int(obj1, &val2);
47495 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
47496 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableLongLongCol_real" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableLongLongCol_real"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
47497 }
47498 temp2 = static_cast< int >(val2);
47499 arg2 = &temp2;
47500 {
47501 try {
47502 result = (double)((GFitsTableLongLongCol const *)arg1)->real((int const &)*arg2);
47503 }
47504 catch (const GException::out_of_range& e) {
47505 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
47506 }
47507 catch (const GExceptionHandler& e) {
47508 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
47509 }
47510 catch (const std::exception& e) {
47511 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
47512 }
47513 }
47514 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
47515 return resultobj;
47516fail:
47517 return NULL__null;
47518}
47519
47520
47521SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableLongLongCol_real(PyObject *self, PyObject *args) {
47522 int argc;
47523 PyObject *argv[4];
47524 int ii;
47525
47526 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
47527 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
47528 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
47529 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
47530 }
47531 if (argc == 2) {
47532 int _v;
47533 void *vptr = 0;
47534 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableLongLongCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[28
], 0, 0)
;
47535 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
47536 if (_v) {
47537 {
47538 int res = SWIG_AsVal_int(argv[1], NULL__null);
47539 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
47540 }
47541 if (_v) {
47542 return _wrap_GFitsTableLongLongCol_real__SWIG_1(self, args);
47543 }
47544 }
47545 }
47546 if (argc == 3) {
47547 int _v;
47548 void *vptr = 0;
47549 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableLongLongCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[28
], 0, 0)
;
47550 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
47551 if (_v) {
47552 {
47553 int res = SWIG_AsVal_int(argv[1], NULL__null);
47554 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
47555 }
47556 if (_v) {
47557 {
47558 int res = SWIG_AsVal_int(argv[2], NULL__null);
47559 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
47560 }
47561 if (_v) {
47562 return _wrap_GFitsTableLongLongCol_real__SWIG_0(self, args);
47563 }
47564 }
47565 }
47566 }
47567
47568fail:
47569 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableLongLongCol_real'.\n"
47570 " Possible C/C++ prototypes are:\n"
47571 " GFitsTableLongLongCol::real(int const &,int const &) const\n"
47572 " GFitsTableLongLongCol::real(int const &) const\n");
47573 return 0;
47574}
47575
47576
47577SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableLongLongCol_integer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47578 PyObject *resultobj = 0;
47579 GFitsTableLongLongCol *arg1 = (GFitsTableLongLongCol *) 0 ;
47580 int *arg2 = 0 ;
47581 int *arg3 = 0 ;
47582 void *argp1 = 0 ;
47583 int res1 = 0 ;
47584 int temp2 ;
47585 int val2 ;
47586 int ecode2 = 0 ;
47587 int temp3 ;
47588 int val3 ;
47589 int ecode3 = 0 ;
47590 PyObject * obj0 = 0 ;
47591 PyObject * obj1 = 0 ;
47592 PyObject * obj2 = 0 ;
47593 int result;
47594
47595 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableLongLongCol_integer",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
47596 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableLongLongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
47597 if (!SWIG_IsOK(res1)(res1 >= 0)) {
47598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableLongLongCol_integer" "', argument " "1"" of type '" "GFitsTableLongLongCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableLongLongCol_integer"
"', argument " "1"" of type '" "GFitsTableLongLongCol const *"
"'"); goto fail; } while(0)
;
47599 }
47600 arg1 = reinterpret_cast< GFitsTableLongLongCol * >(argp1);
47601 ecode2 = SWIG_AsVal_int(obj1, &val2);
47602 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
47603 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableLongLongCol_integer" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableLongLongCol_integer"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
47604 }
47605 temp2 = static_cast< int >(val2);
47606 arg2 = &temp2;
47607 ecode3 = SWIG_AsVal_int(obj2, &val3);
47608 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
47609 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableLongLongCol_integer" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableLongLongCol_integer"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
47610 }
47611 temp3 = static_cast< int >(val3);
47612 arg3 = &temp3;
47613 {
47614 try {
47615 result = (int)((GFitsTableLongLongCol const *)arg1)->integer((int const &)*arg2,(int const &)*arg3);
47616 }
47617 catch (const GException::out_of_range& e) {
47618 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
47619 }
47620 catch (const GExceptionHandler& e) {
47621 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
47622 }
47623 catch (const std::exception& e) {
47624 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
47625 }
47626 }
47627 resultobj = SWIG_From_int(static_cast< int >(result));
47628 return resultobj;
47629fail:
47630 return NULL__null;
47631}
47632
47633
47634SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableLongLongCol_integer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47635 PyObject *resultobj = 0;
47636 GFitsTableLongLongCol *arg1 = (GFitsTableLongLongCol *) 0 ;
47637 int *arg2 = 0 ;
47638 void *argp1 = 0 ;
47639 int res1 = 0 ;
47640 int temp2 ;
47641 int val2 ;
47642 int ecode2 = 0 ;
47643 PyObject * obj0 = 0 ;
47644 PyObject * obj1 = 0 ;
47645 int result;
47646
47647 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableLongLongCol_integer",&obj0,&obj1)) SWIG_failgoto fail;
47648 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableLongLongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
47649 if (!SWIG_IsOK(res1)(res1 >= 0)) {
47650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableLongLongCol_integer" "', argument " "1"" of type '" "GFitsTableLongLongCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableLongLongCol_integer"
"', argument " "1"" of type '" "GFitsTableLongLongCol const *"
"'"); goto fail; } while(0)
;
47651 }
47652 arg1 = reinterpret_cast< GFitsTableLongLongCol * >(argp1);
47653 ecode2 = SWIG_AsVal_int(obj1, &val2);
47654 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
47655 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableLongLongCol_integer" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableLongLongCol_integer"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
47656 }
47657 temp2 = static_cast< int >(val2);
47658 arg2 = &temp2;
47659 {
47660 try {
47661 result = (int)((GFitsTableLongLongCol const *)arg1)->integer((int const &)*arg2);
47662 }
47663 catch (const GException::out_of_range& e) {
47664 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
47665 }
47666 catch (const GExceptionHandler& e) {
47667 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
47668 }
47669 catch (const std::exception& e) {
47670 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
47671 }
47672 }
47673 resultobj = SWIG_From_int(static_cast< int >(result));
47674 return resultobj;
47675fail:
47676 return NULL__null;
47677}
47678
47679
47680SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableLongLongCol_integer(PyObject *self, PyObject *args) {
47681 int argc;
47682 PyObject *argv[4];
47683 int ii;
47684
47685 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
47686 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
47687 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
47688 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
47689 }
47690 if (argc == 2) {
47691 int _v;
47692 void *vptr = 0;
47693 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableLongLongCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[28
], 0, 0)
;
47694 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
47695 if (_v) {
47696 {
47697 int res = SWIG_AsVal_int(argv[1], NULL__null);
47698 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
47699 }
47700 if (_v) {
47701 return _wrap_GFitsTableLongLongCol_integer__SWIG_1(self, args);
47702 }
47703 }
47704 }
47705 if (argc == 3) {
47706 int _v;
47707 void *vptr = 0;
47708 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableLongLongCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[28
], 0, 0)
;
47709 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
47710 if (_v) {
47711 {
47712 int res = SWIG_AsVal_int(argv[1], NULL__null);
47713 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
47714 }
47715 if (_v) {
47716 {
47717 int res = SWIG_AsVal_int(argv[2], NULL__null);
47718 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
47719 }
47720 if (_v) {
47721 return _wrap_GFitsTableLongLongCol_integer__SWIG_0(self, args);
47722 }
47723 }
47724 }
47725 }
47726
47727fail:
47728 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableLongLongCol_integer'.\n"
47729 " Possible C/C++ prototypes are:\n"
47730 " GFitsTableLongLongCol::integer(int const &,int const &) const\n"
47731 " GFitsTableLongLongCol::integer(int const &) const\n");
47732 return 0;
47733}
47734
47735
47736SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableLongLongCol_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47737 PyObject *resultobj = 0;
47738 GFitsTableLongLongCol *arg1 = (GFitsTableLongLongCol *) 0 ;
47739 int *arg2 = 0 ;
47740 int *arg3 = 0 ;
47741 void *argp1 = 0 ;
47742 int res1 = 0 ;
47743 int temp2 ;
47744 int val2 ;
47745 int ecode2 = 0 ;
47746 int temp3 ;
47747 int val3 ;
47748 int ecode3 = 0 ;
47749 PyObject * obj0 = 0 ;
47750 PyObject * obj1 = 0 ;
47751 PyObject * obj2 = 0 ;
47752
47753 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableLongLongCol_insert",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
47754 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableLongLongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
47755 if (!SWIG_IsOK(res1)(res1 >= 0)) {
47756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableLongLongCol_insert" "', argument " "1"" of type '" "GFitsTableLongLongCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableLongLongCol_insert"
"', argument " "1"" of type '" "GFitsTableLongLongCol *""'")
; goto fail; } while(0)
;
47757 }
47758 arg1 = reinterpret_cast< GFitsTableLongLongCol * >(argp1);
47759 ecode2 = SWIG_AsVal_int(obj1, &val2);
47760 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
47761 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableLongLongCol_insert" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableLongLongCol_insert"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
47762 }
47763 temp2 = static_cast< int >(val2);
47764 arg2 = &temp2;
47765 ecode3 = SWIG_AsVal_int(obj2, &val3);
47766 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
47767 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableLongLongCol_insert" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableLongLongCol_insert"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
47768 }
47769 temp3 = static_cast< int >(val3);
47770 arg3 = &temp3;
47771 {
47772 try {
47773 (arg1)->insert((int const &)*arg2,(int const &)*arg3);
47774 }
47775 catch (const GException::out_of_range& e) {
47776 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
47777 }
47778 catch (const GExceptionHandler& e) {
47779 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
47780 }
47781 catch (const std::exception& e) {
47782 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
47783 }
47784 }
47785 resultobj = SWIG_Py_Void();
47786 return resultobj;
47787fail:
47788 return NULL__null;
47789}
47790
47791
47792SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableLongLongCol_remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47793 PyObject *resultobj = 0;
47794 GFitsTableLongLongCol *arg1 = (GFitsTableLongLongCol *) 0 ;
47795 int *arg2 = 0 ;
47796 int *arg3 = 0 ;
47797 void *argp1 = 0 ;
47798 int res1 = 0 ;
47799 int temp2 ;
47800 int val2 ;
47801 int ecode2 = 0 ;
47802 int temp3 ;
47803 int val3 ;
47804 int ecode3 = 0 ;
47805 PyObject * obj0 = 0 ;
47806 PyObject * obj1 = 0 ;
47807 PyObject * obj2 = 0 ;
47808
47809 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableLongLongCol_remove",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
47810 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableLongLongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
47811 if (!SWIG_IsOK(res1)(res1 >= 0)) {
47812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableLongLongCol_remove" "', argument " "1"" of type '" "GFitsTableLongLongCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableLongLongCol_remove"
"', argument " "1"" of type '" "GFitsTableLongLongCol *""'")
; goto fail; } while(0)
;
47813 }
47814 arg1 = reinterpret_cast< GFitsTableLongLongCol * >(argp1);
47815 ecode2 = SWIG_AsVal_int(obj1, &val2);
47816 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
47817 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableLongLongCol_remove" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableLongLongCol_remove"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
47818 }
47819 temp2 = static_cast< int >(val2);
47820 arg2 = &temp2;
47821 ecode3 = SWIG_AsVal_int(obj2, &val3);
47822 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
47823 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableLongLongCol_remove" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableLongLongCol_remove"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
47824 }
47825 temp3 = static_cast< int >(val3);
47826 arg3 = &temp3;
47827 {
47828 try {
47829 (arg1)->remove((int const &)*arg2,(int const &)*arg3);
47830 }
47831 catch (const GException::out_of_range& e) {
47832 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
47833 }
47834 catch (const GExceptionHandler& e) {
47835 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
47836 }
47837 catch (const std::exception& e) {
47838 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
47839 }
47840 }
47841 resultobj = SWIG_Py_Void();
47842 return resultobj;
47843fail:
47844 return NULL__null;
47845}
47846
47847
47848SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableLongLongCol_isloaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47849 PyObject *resultobj = 0;
47850 GFitsTableLongLongCol *arg1 = (GFitsTableLongLongCol *) 0 ;
47851 void *argp1 = 0 ;
47852 int res1 = 0 ;
47853 PyObject * obj0 = 0 ;
47854 bool result;
47855
47856 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableLongLongCol_isloaded",&obj0)) SWIG_failgoto fail;
47857 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableLongLongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
47858 if (!SWIG_IsOK(res1)(res1 >= 0)) {
47859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableLongLongCol_isloaded" "', argument " "1"" of type '" "GFitsTableLongLongCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableLongLongCol_isloaded"
"', argument " "1"" of type '" "GFitsTableLongLongCol const *"
"'"); goto fail; } while(0)
;
47860 }
47861 arg1 = reinterpret_cast< GFitsTableLongLongCol * >(argp1);
47862 {
47863 try {
47864 result = (bool)((GFitsTableLongLongCol const *)arg1)->isloaded();
47865 }
47866 catch (const GException::out_of_range& e) {
47867 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
47868 }
47869 catch (const GExceptionHandler& e) {
47870 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
47871 }
47872 catch (const std::exception& e) {
47873 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
47874 }
47875 }
47876 resultobj = SWIG_From_bool(static_cast< bool >(result));
47877 return resultobj;
47878fail:
47879 return NULL__null;
47880}
47881
47882
47883SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableLongLongCol_data(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47884 PyObject *resultobj = 0;
47885 GFitsTableLongLongCol *arg1 = (GFitsTableLongLongCol *) 0 ;
47886 void *argp1 = 0 ;
47887 int res1 = 0 ;
47888 PyObject * obj0 = 0 ;
47889 long long *result = 0 ;
47890
47891 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableLongLongCol_data",&obj0)) SWIG_failgoto fail;
47892 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableLongLongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
47893 if (!SWIG_IsOK(res1)(res1 >= 0)) {
47894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableLongLongCol_data" "', argument " "1"" of type '" "GFitsTableLongLongCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableLongLongCol_data"
"', argument " "1"" of type '" "GFitsTableLongLongCol *""'")
; goto fail; } while(0)
;
47895 }
47896 arg1 = reinterpret_cast< GFitsTableLongLongCol * >(argp1);
47897 {
47898 try {
47899 result = (long long *)(arg1)->data();
47900 }
47901 catch (const GException::out_of_range& e) {
47902 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
47903 }
47904 catch (const GExceptionHandler& e) {
47905 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
47906 }
47907 catch (const std::exception& e) {
47908 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
47909 }
47910 }
47911 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_long_long, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[43], 0
| 0)
;
47912 return resultobj;
47913fail:
47914 return NULL__null;
47915}
47916
47917
47918SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableLongLongCol_nulval__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47919 PyObject *resultobj = 0;
47920 GFitsTableLongLongCol *arg1 = (GFitsTableLongLongCol *) 0 ;
47921 void *argp1 = 0 ;
47922 int res1 = 0 ;
47923 PyObject * obj0 = 0 ;
47924 long long *result = 0 ;
47925
47926 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableLongLongCol_nulval",&obj0)) SWIG_failgoto fail;
47927 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableLongLongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
47928 if (!SWIG_IsOK(res1)(res1 >= 0)) {
47929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableLongLongCol_nulval" "', argument " "1"" of type '" "GFitsTableLongLongCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableLongLongCol_nulval"
"', argument " "1"" of type '" "GFitsTableLongLongCol *""'")
; goto fail; } while(0)
;
47930 }
47931 arg1 = reinterpret_cast< GFitsTableLongLongCol * >(argp1);
47932 {
47933 try {
47934 result = (long long *)(arg1)->nulval();
47935 }
47936 catch (const GException::out_of_range& e) {
47937 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
47938 }
47939 catch (const GExceptionHandler& e) {
47940 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
47941 }
47942 catch (const std::exception& e) {
47943 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
47944 }
47945 }
47946 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_long_long, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[43], 0
| 0)
;
47947 return resultobj;
47948fail:
47949 return NULL__null;
47950}
47951
47952
47953SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableLongLongCol_nulval__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47954 PyObject *resultobj = 0;
47955 GFitsTableLongLongCol *arg1 = (GFitsTableLongLongCol *) 0 ;
47956 long long *arg2 = (long long *) 0 ;
47957 void *argp1 = 0 ;
47958 int res1 = 0 ;
47959 void *argp2 = 0 ;
47960 int res2 = 0 ;
47961 PyObject * obj0 = 0 ;
47962 PyObject * obj1 = 0 ;
47963
47964 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableLongLongCol_nulval",&obj0,&obj1)) SWIG_failgoto fail;
47965 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableLongLongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
47966 if (!SWIG_IsOK(res1)(res1 >= 0)) {
47967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableLongLongCol_nulval" "', argument " "1"" of type '" "GFitsTableLongLongCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableLongLongCol_nulval"
"', argument " "1"" of type '" "GFitsTableLongLongCol *""'")
; goto fail; } while(0)
;
47968 }
47969 arg1 = reinterpret_cast< GFitsTableLongLongCol * >(argp1);
47970 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_long_long, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[43]
, 0 | 0, 0)
;
47971 if (!SWIG_IsOK(res2)(res2 >= 0)) {
47972 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsTableLongLongCol_nulval" "', argument " "2"" of type '" "long long const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsTableLongLongCol_nulval"
"', argument " "2"" of type '" "long long const *""'"); goto
fail; } while(0)
;
47973 }
47974 arg2 = reinterpret_cast< long long * >(argp2);
47975 {
47976 try {
47977 (arg1)->nulval((long long const *)arg2);
47978 }
47979 catch (const GException::out_of_range& e) {
47980 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
47981 }
47982 catch (const GExceptionHandler& e) {
47983 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
47984 }
47985 catch (const std::exception& e) {
47986 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
47987 }
47988 }
47989 resultobj = SWIG_Py_Void();
47990 return resultobj;
47991fail:
47992 return NULL__null;
47993}
47994
47995
47996SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableLongLongCol_nulval(PyObject *self, PyObject *args) {
47997 int argc;
47998 PyObject *argv[3];
47999 int ii;
48000
48001 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
48002 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
48003 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
48004 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
48005 }
48006 if (argc == 1) {
48007 int _v;
48008 void *vptr = 0;
48009 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableLongLongCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[28
], 0, 0)
;
48010 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
48011 if (_v) {
48012 return _wrap_GFitsTableLongLongCol_nulval__SWIG_0(self, args);
48013 }
48014 }
48015 if (argc == 2) {
48016 int _v;
48017 void *vptr = 0;
48018 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableLongLongCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[28
], 0, 0)
;
48019 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
48020 if (_v) {
48021 void *vptr = 0;
48022 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_long_long, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[43
], 0, 0)
;
48023 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
48024 if (_v) {
48025 return _wrap_GFitsTableLongLongCol_nulval__SWIG_1(self, args);
48026 }
48027 }
48028 }
48029
48030fail:
48031 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableLongLongCol_nulval'.\n"
48032 " Possible C/C++ prototypes are:\n"
48033 " GFitsTableLongLongCol::nulval()\n"
48034 " GFitsTableLongLongCol::nulval(long long const *)\n");
48035 return 0;
48036}
48037
48038
48039SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableLongLongCol___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
48040 PyObject *resultobj = 0;
48041 GFitsTableLongLongCol *arg1 = (GFitsTableLongLongCol *) 0 ;
48042 int *arg2 ;
48043 void *argp1 = 0 ;
48044 int res1 = 0 ;
48045 int temp2[3] ;
48046 PyObject * obj0 = 0 ;
48047 PyObject * obj1 = 0 ;
48048 long long result;
48049
48050 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableLongLongCol___getitem__",&obj0,&obj1)) SWIG_failgoto fail;
48051 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableLongLongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
48052 if (!SWIG_IsOK(res1)(res1 >= 0)) {
48053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableLongLongCol___getitem__" "', argument " "1"" of type '" "GFitsTableLongLongCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableLongLongCol___getitem__"
"', argument " "1"" of type '" "GFitsTableLongLongCol *""'")
; goto fail; } while(0)
;
48054 }
48055 arg1 = reinterpret_cast< GFitsTableLongLongCol * >(argp1);
48056 {
48057 if (!table_column_tuple(obj1,temp2)) {
48058 return NULL__null;
48059 }
48060 arg2 = &temp2[0];
48061 }
48062 {
48063 try {
48064 result = (long long)GFitsTableLongLongCol___getitem__(arg1,arg2);
48065 }
48066 catch (const GException::out_of_range& e) {
48067 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
48068 }
48069 catch (const GExceptionHandler& e) {
48070 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
48071 }
48072 catch (const std::exception& e) {
48073 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
48074 }
48075 }
48076 resultobj = SWIG_From_long_SS_long(static_cast< long long >(result));
48077 return resultobj;
48078fail:
48079 return NULL__null;
48080}
48081
48082
48083SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableLongLongCol___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
48084 PyObject *resultobj = 0;
48085 GFitsTableLongLongCol *arg1 = (GFitsTableLongLongCol *) 0 ;
48086 int *arg2 ;
48087 long long arg3 ;
48088 void *argp1 = 0 ;
48089 int res1 = 0 ;
48090 int temp2[3] ;
48091 long long val3 ;
48092 int ecode3 = 0 ;
48093 PyObject * obj0 = 0 ;
48094 PyObject * obj1 = 0 ;
48095 PyObject * obj2 = 0 ;
48096
48097 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableLongLongCol___setitem__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
48098 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableLongLongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
48099 if (!SWIG_IsOK(res1)(res1 >= 0)) {
48100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableLongLongCol___setitem__" "', argument " "1"" of type '" "GFitsTableLongLongCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableLongLongCol___setitem__"
"', argument " "1"" of type '" "GFitsTableLongLongCol *""'")
; goto fail; } while(0)
;
48101 }
48102 arg1 = reinterpret_cast< GFitsTableLongLongCol * >(argp1);
48103 {
48104 if (!table_column_tuple(obj1,temp2)) {
48105 return NULL__null;
48106 }
48107 arg2 = &temp2[0];
48108 }
48109 ecode3 = SWIG_AsVal_long_SS_long(obj2, &val3);
48110 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
48111 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableLongLongCol___setitem__" "', argument " "3"" of type '" "long long""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableLongLongCol___setitem__"
"', argument " "3"" of type '" "long long""'"); goto fail; }
while(0)
;
48112 }
48113 arg3 = static_cast< long long >(val3);
48114 {
48115 try {
48116 GFitsTableLongLongCol___setitem__(arg1,arg2,arg3);
48117 }
48118 catch (const GException::out_of_range& e) {
48119 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
48120 }
48121 catch (const GExceptionHandler& e) {
48122 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
48123 }
48124 catch (const std::exception& e) {
48125 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
48126 }
48127 }
48128 resultobj = SWIG_Py_Void();
48129 return resultobj;
48130fail:
48131 return NULL__null;
48132}
48133
48134
48135SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableLongLongCol_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
48136 PyObject *resultobj = 0;
48137 GFitsTableLongLongCol *arg1 = (GFitsTableLongLongCol *) 0 ;
48138 void *argp1 = 0 ;
48139 int res1 = 0 ;
48140 PyObject * obj0 = 0 ;
48141 GFitsTableLongLongCol result;
48142
48143 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableLongLongCol_copy",&obj0)) SWIG_failgoto fail;
48144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableLongLongCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[28]
, 0 | 0, 0)
;
48145 if (!SWIG_IsOK(res1)(res1 >= 0)) {
48146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableLongLongCol_copy" "', argument " "1"" of type '" "GFitsTableLongLongCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableLongLongCol_copy"
"', argument " "1"" of type '" "GFitsTableLongLongCol *""'")
; goto fail; } while(0)
;
48147 }
48148 arg1 = reinterpret_cast< GFitsTableLongLongCol * >(argp1);
48149 {
48150 try {
48151 result = GFitsTableLongLongCol_copy(arg1);
48152 }
48153 catch (const GException::out_of_range& e) {
48154 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
48155 }
48156 catch (const GExceptionHandler& e) {
48157 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
48158 }
48159 catch (const std::exception& e) {
48160 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
48161 }
48162 }
48163 resultobj = SWIG_NewPointerObj((new GFitsTableLongLongCol(static_cast< const GFitsTableLongLongCol& >(result))), SWIGTYPE_p_GFitsTableLongLongCol, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GFitsTableLongLongCol(
static_cast< const GFitsTableLongLongCol& >(result)
)), swig_types[28], 0x1 | 0)
;
48164 return resultobj;
48165fail:
48166 return NULL__null;
48167}
48168
48169
48170SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GFitsTableLongLongCol_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
48171 PyObject *obj;
48172 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
48173 SWIG_TypeNewClientData(SWIGTYPE_p_GFitsTableLongLongColswig_types[28], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
48174 return SWIG_Py_Void();
48175}
48176
48177SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableFloatCol__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
48178 PyObject *resultobj = 0;
48179 GFitsTableFloatCol *result = 0 ;
48180
48181 if (!PyArg_ParseTuple(args,(char *)":new_GFitsTableFloatCol")) SWIG_failgoto fail;
48182 {
48183 try {
48184 result = (GFitsTableFloatCol *)new GFitsTableFloatCol();
48185 }
48186 catch (const GException::out_of_range& e) {
48187 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
48188 }
48189 catch (const GExceptionHandler& e) {
48190 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
48191 }
48192 catch (const std::exception& e) {
48193 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
48194 }
48195 }
48196 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableFloatCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[26], (
(0x1 << 1) | 0x1) | 0)
;
48197 return resultobj;
48198fail:
48199 return NULL__null;
48200}
48201
48202
48203SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableFloatCol__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
48204 PyObject *resultobj = 0;
48205 std::string *arg1 = 0 ;
48206 int *arg2 = 0 ;
48207 int *arg3 = 0 ;
48208 int res1 = SWIG_OLDOBJ((0)) ;
48209 int temp2 ;
48210 int val2 ;
48211 int ecode2 = 0 ;
48212 int temp3 ;
48213 int val3 ;
48214 int ecode3 = 0 ;
48215 PyObject * obj0 = 0 ;
48216 PyObject * obj1 = 0 ;
48217 PyObject * obj2 = 0 ;
48218 GFitsTableFloatCol *result = 0 ;
48219
48220 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GFitsTableFloatCol",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
48221 {
48222 std::string *ptr = (std::string *)0;
48223 res1 = SWIG_AsPtr_std_string(obj0, &ptr);
48224 if (!SWIG_IsOK(res1)(res1 >= 0)) {
48225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsTableFloatCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsTableFloatCol" "', argument "
"1"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
48226 }
48227 if (!ptr) {
48228 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsTableFloatCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsTableFloatCol" "', argument " "1"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
48229 }
48230 arg1 = ptr;
48231 }
48232 ecode2 = SWIG_AsVal_int(obj1, &val2);
48233 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
48234 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsTableFloatCol" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsTableFloatCol"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
48235 }
48236 temp2 = static_cast< int >(val2);
48237 arg2 = &temp2;
48238 ecode3 = SWIG_AsVal_int(obj2, &val3);
48239 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
48240 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsTableFloatCol" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsTableFloatCol"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
48241 }
48242 temp3 = static_cast< int >(val3);
48243 arg3 = &temp3;
48244 {
48245 try {
48246 result = (GFitsTableFloatCol *)new GFitsTableFloatCol((std::string const &)*arg1,(int const &)*arg2,(int const &)*arg3);
48247 }
48248 catch (const GException::out_of_range& e) {
48249 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
48250 }
48251 catch (const GExceptionHandler& e) {
48252 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
48253 }
48254 catch (const std::exception& e) {
48255 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
48256 }
48257 }
48258 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableFloatCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[26], (
(0x1 << 1) | 0x1) | 0)
;
48259 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
48260 return resultobj;
48261fail:
48262 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
48263 return NULL__null;
48264}
48265
48266
48267SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableFloatCol__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
48268 PyObject *resultobj = 0;
48269 std::string *arg1 = 0 ;
48270 int *arg2 = 0 ;
48271 int res1 = SWIG_OLDOBJ((0)) ;
48272 int temp2 ;
48273 int val2 ;
48274 int ecode2 = 0 ;
48275 PyObject * obj0 = 0 ;
48276 PyObject * obj1 = 0 ;
48277 GFitsTableFloatCol *result = 0 ;
48278
48279 if (!PyArg_ParseTuple(args,(char *)"OO:new_GFitsTableFloatCol",&obj0,&obj1)) SWIG_failgoto fail;
48280 {
48281 std::string *ptr = (std::string *)0;
48282 res1 = SWIG_AsPtr_std_string(obj0, &ptr);
48283 if (!SWIG_IsOK(res1)(res1 >= 0)) {
48284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsTableFloatCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsTableFloatCol" "', argument "
"1"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
48285 }
48286 if (!ptr) {
48287 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsTableFloatCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsTableFloatCol" "', argument " "1"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
48288 }
48289 arg1 = ptr;
48290 }
48291 ecode2 = SWIG_AsVal_int(obj1, &val2);
48292 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
48293 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsTableFloatCol" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsTableFloatCol"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
48294 }
48295 temp2 = static_cast< int >(val2);
48296 arg2 = &temp2;
48297 {
48298 try {
48299 result = (GFitsTableFloatCol *)new GFitsTableFloatCol((std::string const &)*arg1,(int const &)*arg2);
48300 }
48301 catch (const GException::out_of_range& e) {
48302 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
48303 }
48304 catch (const GExceptionHandler& e) {
48305 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
48306 }
48307 catch (const std::exception& e) {
48308 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
48309 }
48310 }
48311 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableFloatCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[26], (
(0x1 << 1) | 0x1) | 0)
;
48312 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
48313 return resultobj;
48314fail:
48315 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
48316 return NULL__null;
48317}
48318
48319
48320SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableFloatCol__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
48321 PyObject *resultobj = 0;
48322 GFitsTableFloatCol *arg1 = 0 ;
48323 void *argp1 = 0 ;
48324 int res1 = 0 ;
48325 PyObject * obj0 = 0 ;
48326 GFitsTableFloatCol *result = 0 ;
48327
48328 if (!PyArg_ParseTuple(args,(char *)"O:new_GFitsTableFloatCol",&obj0)) SWIG_failgoto fail;
48329 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GFitsTableFloatCol, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0 | 0, 0)
;
48330 if (!SWIG_IsOK(res1)(res1 >= 0)) {
48331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsTableFloatCol" "', argument " "1"" of type '" "GFitsTableFloatCol const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsTableFloatCol" "', argument "
"1"" of type '" "GFitsTableFloatCol const &""'"); goto fail
; } while(0)
;
48332 }
48333 if (!argp1) {
48334 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsTableFloatCol" "', argument " "1"" of type '" "GFitsTableFloatCol const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsTableFloatCol" "', argument " "1"" of type '"
"GFitsTableFloatCol const &""'"); goto fail; } while(0)
;
48335 }
48336 arg1 = reinterpret_cast< GFitsTableFloatCol * >(argp1);
48337 {
48338 try {
48339 result = (GFitsTableFloatCol *)new GFitsTableFloatCol((GFitsTableFloatCol const &)*arg1);
48340 }
48341 catch (const GException::out_of_range& e) {
48342 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
48343 }
48344 catch (const GExceptionHandler& e) {
48345 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
48346 }
48347 catch (const std::exception& e) {
48348 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
48349 }
48350 }
48351 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableFloatCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[26], (
(0x1 << 1) | 0x1) | 0)
;
48352 return resultobj;
48353fail:
48354 return NULL__null;
48355}
48356
48357
48358SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableFloatCol(PyObject *self, PyObject *args) {
48359 int argc;
48360 PyObject *argv[4];
48361 int ii;
48362
48363 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
48364 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
48365 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
48366 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
48367 }
48368 if (argc == 0) {
48369 return _wrap_new_GFitsTableFloatCol__SWIG_0(self, args);
48370 }
48371 if (argc == 1) {
48372 int _v;
48373 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GFitsTableFloatCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[26], 0, 0
)
;
48374 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
48375 if (_v) {
48376 return _wrap_new_GFitsTableFloatCol__SWIG_3(self, args);
48377 }
48378 }
48379 if (argc == 2) {
48380 int _v;
48381 int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
48382 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
48383 if (_v) {
48384 {
48385 int res = SWIG_AsVal_int(argv[1], NULL__null);
48386 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
48387 }
48388 if (_v) {
48389 return _wrap_new_GFitsTableFloatCol__SWIG_2(self, args);
48390 }
48391 }
48392 }
48393 if (argc == 3) {
48394 int _v;
48395 int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
48396 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
48397 if (_v) {
48398 {
48399 int res = SWIG_AsVal_int(argv[1], NULL__null);
48400 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
48401 }
48402 if (_v) {
48403 {
48404 int res = SWIG_AsVal_int(argv[2], NULL__null);
48405 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
48406 }
48407 if (_v) {
48408 return _wrap_new_GFitsTableFloatCol__SWIG_1(self, args);
48409 }
48410 }
48411 }
48412 }
48413
48414fail:
48415 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GFitsTableFloatCol'.\n"
48416 " Possible C/C++ prototypes are:\n"
48417 " GFitsTableFloatCol::GFitsTableFloatCol()\n"
48418 " GFitsTableFloatCol::GFitsTableFloatCol(std::string const &,int const &,int const &)\n"
48419 " GFitsTableFloatCol::GFitsTableFloatCol(std::string const &,int const &)\n"
48420 " GFitsTableFloatCol::GFitsTableFloatCol(GFitsTableFloatCol const &)\n");
48421 return 0;
48422}
48423
48424
48425SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GFitsTableFloatCol(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
48426 PyObject *resultobj = 0;
48427 GFitsTableFloatCol *arg1 = (GFitsTableFloatCol *) 0 ;
48428 void *argp1 = 0 ;
48429 int res1 = 0 ;
48430 PyObject * obj0 = 0 ;
48431
48432 if (!PyArg_ParseTuple(args,(char *)"O:delete_GFitsTableFloatCol",&obj0)) SWIG_failgoto fail;
48433 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableFloatCol, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0x1 | 0, 0)
;
48434 if (!SWIG_IsOK(res1)(res1 >= 0)) {
48435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GFitsTableFloatCol" "', argument " "1"" of type '" "GFitsTableFloatCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GFitsTableFloatCol"
"', argument " "1"" of type '" "GFitsTableFloatCol *""'"); goto
fail; } while(0)
;
48436 }
48437 arg1 = reinterpret_cast< GFitsTableFloatCol * >(argp1);
48438 {
48439 try {
48440 delete arg1;
48441 }
48442 catch (const GException::out_of_range& e) {
48443 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
48444 }
48445 catch (const GExceptionHandler& e) {
48446 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
48447 }
48448 catch (const std::exception& e) {
48449 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
48450 }
48451 }
48452 resultobj = SWIG_Py_Void();
48453 return resultobj;
48454fail:
48455 return NULL__null;
48456}
48457
48458
48459SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableFloatCol_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
48460 PyObject *resultobj = 0;
48461 GFitsTableFloatCol *arg1 = (GFitsTableFloatCol *) 0 ;
48462 void *argp1 = 0 ;
48463 int res1 = 0 ;
48464 PyObject * obj0 = 0 ;
48465
48466 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableFloatCol_clear",&obj0)) SWIG_failgoto fail;
48467 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableFloatCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0 | 0, 0)
;
48468 if (!SWIG_IsOK(res1)(res1 >= 0)) {
48469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableFloatCol_clear" "', argument " "1"" of type '" "GFitsTableFloatCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableFloatCol_clear" "', argument "
"1"" of type '" "GFitsTableFloatCol *""'"); goto fail; } while
(0)
;
48470 }
48471 arg1 = reinterpret_cast< GFitsTableFloatCol * >(argp1);
48472 {
48473 try {
48474 (arg1)->clear();
48475 }
48476 catch (const GException::out_of_range& e) {
48477 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
48478 }
48479 catch (const GExceptionHandler& e) {
48480 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
48481 }
48482 catch (const std::exception& e) {
48483 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
48484 }
48485 }
48486 resultobj = SWIG_Py_Void();
48487 return resultobj;
48488fail:
48489 return NULL__null;
48490}
48491
48492
48493SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableFloatCol_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
48494 PyObject *resultobj = 0;
48495 GFitsTableFloatCol *arg1 = (GFitsTableFloatCol *) 0 ;
48496 void *argp1 = 0 ;
48497 int res1 = 0 ;
48498 PyObject * obj0 = 0 ;
48499 GFitsTableFloatCol *result = 0 ;
48500
48501 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableFloatCol_clone",&obj0)) SWIG_failgoto fail;
48502 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableFloatCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0 | 0, 0)
;
48503 if (!SWIG_IsOK(res1)(res1 >= 0)) {
48504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableFloatCol_clone" "', argument " "1"" of type '" "GFitsTableFloatCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableFloatCol_clone" "', argument "
"1"" of type '" "GFitsTableFloatCol const *""'"); goto fail;
} while(0)
;
48505 }
48506 arg1 = reinterpret_cast< GFitsTableFloatCol * >(argp1);
48507 {
48508 try {
48509 result = (GFitsTableFloatCol *)((GFitsTableFloatCol const *)arg1)->clone();
48510 }
48511 catch (const GException::out_of_range& e) {
48512 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
48513 }
48514 catch (const GExceptionHandler& e) {
48515 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
48516 }
48517 catch (const std::exception& e) {
48518 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
48519 }
48520 }
48521 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableFloatCol, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[26], 0
| 0)
;
48522 return resultobj;
48523fail:
48524 return NULL__null;
48525}
48526
48527
48528SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableFloatCol_string__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
48529 PyObject *resultobj = 0;
48530 GFitsTableFloatCol *arg1 = (GFitsTableFloatCol *) 0 ;
48531 int *arg2 = 0 ;
48532 int *arg3 = 0 ;
48533 void *argp1 = 0 ;
48534 int res1 = 0 ;
48535 int temp2 ;
48536 int val2 ;
48537 int ecode2 = 0 ;
48538 int temp3 ;
48539 int val3 ;
48540 int ecode3 = 0 ;
48541 PyObject * obj0 = 0 ;
48542 PyObject * obj1 = 0 ;
48543 PyObject * obj2 = 0 ;
48544 std::string result;
48545
48546 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableFloatCol_string",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
48547 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableFloatCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0 | 0, 0)
;
48548 if (!SWIG_IsOK(res1)(res1 >= 0)) {
48549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableFloatCol_string" "', argument " "1"" of type '" "GFitsTableFloatCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableFloatCol_string"
"', argument " "1"" of type '" "GFitsTableFloatCol const *""'"
); goto fail; } while(0)
;
48550 }
48551 arg1 = reinterpret_cast< GFitsTableFloatCol * >(argp1);
48552 ecode2 = SWIG_AsVal_int(obj1, &val2);
48553 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
48554 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableFloatCol_string" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableFloatCol_string"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
48555 }
48556 temp2 = static_cast< int >(val2);
48557 arg2 = &temp2;
48558 ecode3 = SWIG_AsVal_int(obj2, &val3);
48559 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
48560 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableFloatCol_string" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableFloatCol_string"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
48561 }
48562 temp3 = static_cast< int >(val3);
48563 arg3 = &temp3;
48564 {
48565 try {
48566 result = ((GFitsTableFloatCol const *)arg1)->string((int const &)*arg2,(int const &)*arg3);
48567 }
48568 catch (const GException::out_of_range& e) {
48569 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
48570 }
48571 catch (const GExceptionHandler& e) {
48572 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
48573 }
48574 catch (const std::exception& e) {
48575 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
48576 }
48577 }
48578 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
48579 return resultobj;
48580fail:
48581 return NULL__null;
48582}
48583
48584
48585SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableFloatCol_string__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
48586 PyObject *resultobj = 0;
48587 GFitsTableFloatCol *arg1 = (GFitsTableFloatCol *) 0 ;
48588 int *arg2 = 0 ;
48589 void *argp1 = 0 ;
48590 int res1 = 0 ;
48591 int temp2 ;
48592 int val2 ;
48593 int ecode2 = 0 ;
48594 PyObject * obj0 = 0 ;
48595 PyObject * obj1 = 0 ;
48596 std::string result;
48597
48598 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableFloatCol_string",&obj0,&obj1)) SWIG_failgoto fail;
48599 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableFloatCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0 | 0, 0)
;
48600 if (!SWIG_IsOK(res1)(res1 >= 0)) {
48601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableFloatCol_string" "', argument " "1"" of type '" "GFitsTableFloatCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableFloatCol_string"
"', argument " "1"" of type '" "GFitsTableFloatCol const *""'"
); goto fail; } while(0)
;
48602 }
48603 arg1 = reinterpret_cast< GFitsTableFloatCol * >(argp1);
48604 ecode2 = SWIG_AsVal_int(obj1, &val2);
48605 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
48606 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableFloatCol_string" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableFloatCol_string"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
48607 }
48608 temp2 = static_cast< int >(val2);
48609 arg2 = &temp2;
48610 {
48611 try {
48612 result = ((GFitsTableFloatCol const *)arg1)->string((int const &)*arg2);
48613 }
48614 catch (const GException::out_of_range& e) {
48615 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
48616 }
48617 catch (const GExceptionHandler& e) {
48618 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
48619 }
48620 catch (const std::exception& e) {
48621 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
48622 }
48623 }
48624 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
48625 return resultobj;
48626fail:
48627 return NULL__null;
48628}
48629
48630
48631SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableFloatCol_string(PyObject *self, PyObject *args) {
48632 int argc;
48633 PyObject *argv[4];
48634 int ii;
48635
48636 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
48637 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
48638 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
48639 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
48640 }
48641 if (argc == 2) {
48642 int _v;
48643 void *vptr = 0;
48644 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableFloatCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[26
], 0, 0)
;
48645 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
48646 if (_v) {
48647 {
48648 int res = SWIG_AsVal_int(argv[1], NULL__null);
48649 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
48650 }
48651 if (_v) {
48652 return _wrap_GFitsTableFloatCol_string__SWIG_1(self, args);
48653 }
48654 }
48655 }
48656 if (argc == 3) {
48657 int _v;
48658 void *vptr = 0;
48659 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableFloatCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[26
], 0, 0)
;
48660 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
48661 if (_v) {
48662 {
48663 int res = SWIG_AsVal_int(argv[1], NULL__null);
48664 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
48665 }
48666 if (_v) {
48667 {
48668 int res = SWIG_AsVal_int(argv[2], NULL__null);
48669 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
48670 }
48671 if (_v) {
48672 return _wrap_GFitsTableFloatCol_string__SWIG_0(self, args);
48673 }
48674 }
48675 }
48676 }
48677
48678fail:
48679 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableFloatCol_string'.\n"
48680 " Possible C/C++ prototypes are:\n"
48681 " GFitsTableFloatCol::string(int const &,int const &) const\n"
48682 " GFitsTableFloatCol::string(int const &) const\n");
48683 return 0;
48684}
48685
48686
48687SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableFloatCol_real__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
48688 PyObject *resultobj = 0;
48689 GFitsTableFloatCol *arg1 = (GFitsTableFloatCol *) 0 ;
48690 int *arg2 = 0 ;
48691 int *arg3 = 0 ;
48692 void *argp1 = 0 ;
48693 int res1 = 0 ;
48694 int temp2 ;
48695 int val2 ;
48696 int ecode2 = 0 ;
48697 int temp3 ;
48698 int val3 ;
48699 int ecode3 = 0 ;
48700 PyObject * obj0 = 0 ;
48701 PyObject * obj1 = 0 ;
48702 PyObject * obj2 = 0 ;
48703 double result;
48704
48705 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableFloatCol_real",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
48706 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableFloatCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0 | 0, 0)
;
48707 if (!SWIG_IsOK(res1)(res1 >= 0)) {
48708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableFloatCol_real" "', argument " "1"" of type '" "GFitsTableFloatCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableFloatCol_real" "', argument "
"1"" of type '" "GFitsTableFloatCol const *""'"); goto fail;
} while(0)
;
48709 }
48710 arg1 = reinterpret_cast< GFitsTableFloatCol * >(argp1);
48711 ecode2 = SWIG_AsVal_int(obj1, &val2);
48712 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
48713 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableFloatCol_real" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableFloatCol_real"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
48714 }
48715 temp2 = static_cast< int >(val2);
48716 arg2 = &temp2;
48717 ecode3 = SWIG_AsVal_int(obj2, &val3);
48718 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
48719 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableFloatCol_real" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableFloatCol_real"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
48720 }
48721 temp3 = static_cast< int >(val3);
48722 arg3 = &temp3;
48723 {
48724 try {
48725 result = (double)((GFitsTableFloatCol const *)arg1)->real((int const &)*arg2,(int const &)*arg3);
48726 }
48727 catch (const GException::out_of_range& e) {
48728 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
48729 }
48730 catch (const GExceptionHandler& e) {
48731 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
48732 }
48733 catch (const std::exception& e) {
48734 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
48735 }
48736 }
48737 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
48738 return resultobj;
48739fail:
48740 return NULL__null;
48741}
48742
48743
48744SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableFloatCol_real__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
48745 PyObject *resultobj = 0;
48746 GFitsTableFloatCol *arg1 = (GFitsTableFloatCol *) 0 ;
48747 int *arg2 = 0 ;
48748 void *argp1 = 0 ;
48749 int res1 = 0 ;
48750 int temp2 ;
48751 int val2 ;
48752 int ecode2 = 0 ;
48753 PyObject * obj0 = 0 ;
48754 PyObject * obj1 = 0 ;
48755 double result;
48756
48757 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableFloatCol_real",&obj0,&obj1)) SWIG_failgoto fail;
48758 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableFloatCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0 | 0, 0)
;
48759 if (!SWIG_IsOK(res1)(res1 >= 0)) {
48760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableFloatCol_real" "', argument " "1"" of type '" "GFitsTableFloatCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableFloatCol_real" "', argument "
"1"" of type '" "GFitsTableFloatCol const *""'"); goto fail;
} while(0)
;
48761 }
48762 arg1 = reinterpret_cast< GFitsTableFloatCol * >(argp1);
48763 ecode2 = SWIG_AsVal_int(obj1, &val2);
48764 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
48765 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableFloatCol_real" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableFloatCol_real"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
48766 }
48767 temp2 = static_cast< int >(val2);
48768 arg2 = &temp2;
48769 {
48770 try {
48771 result = (double)((GFitsTableFloatCol const *)arg1)->real((int const &)*arg2);
48772 }
48773 catch (const GException::out_of_range& e) {
48774 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
48775 }
48776 catch (const GExceptionHandler& e) {
48777 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
48778 }
48779 catch (const std::exception& e) {
48780 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
48781 }
48782 }
48783 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
48784 return resultobj;
48785fail:
48786 return NULL__null;
48787}
48788
48789
48790SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableFloatCol_real(PyObject *self, PyObject *args) {
48791 int argc;
48792 PyObject *argv[4];
48793 int ii;
48794
48795 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
48796 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
48797 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
48798 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
48799 }
48800 if (argc == 2) {
48801 int _v;
48802 void *vptr = 0;
48803 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableFloatCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[26
], 0, 0)
;
48804 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
48805 if (_v) {
48806 {
48807 int res = SWIG_AsVal_int(argv[1], NULL__null);
48808 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
48809 }
48810 if (_v) {
48811 return _wrap_GFitsTableFloatCol_real__SWIG_1(self, args);
48812 }
48813 }
48814 }
48815 if (argc == 3) {
48816 int _v;
48817 void *vptr = 0;
48818 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableFloatCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[26
], 0, 0)
;
48819 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
48820 if (_v) {
48821 {
48822 int res = SWIG_AsVal_int(argv[1], NULL__null);
48823 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
48824 }
48825 if (_v) {
48826 {
48827 int res = SWIG_AsVal_int(argv[2], NULL__null);
48828 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
48829 }
48830 if (_v) {
48831 return _wrap_GFitsTableFloatCol_real__SWIG_0(self, args);
48832 }
48833 }
48834 }
48835 }
48836
48837fail:
48838 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableFloatCol_real'.\n"
48839 " Possible C/C++ prototypes are:\n"
48840 " GFitsTableFloatCol::real(int const &,int const &) const\n"
48841 " GFitsTableFloatCol::real(int const &) const\n");
48842 return 0;
48843}
48844
48845
48846SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableFloatCol_integer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
48847 PyObject *resultobj = 0;
48848 GFitsTableFloatCol *arg1 = (GFitsTableFloatCol *) 0 ;
48849 int *arg2 = 0 ;
48850 int *arg3 = 0 ;
48851 void *argp1 = 0 ;
48852 int res1 = 0 ;
48853 int temp2 ;
48854 int val2 ;
48855 int ecode2 = 0 ;
48856 int temp3 ;
48857 int val3 ;
48858 int ecode3 = 0 ;
48859 PyObject * obj0 = 0 ;
48860 PyObject * obj1 = 0 ;
48861 PyObject * obj2 = 0 ;
48862 int result;
48863
48864 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableFloatCol_integer",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
48865 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableFloatCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0 | 0, 0)
;
48866 if (!SWIG_IsOK(res1)(res1 >= 0)) {
48867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableFloatCol_integer" "', argument " "1"" of type '" "GFitsTableFloatCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableFloatCol_integer"
"', argument " "1"" of type '" "GFitsTableFloatCol const *""'"
); goto fail; } while(0)
;
48868 }
48869 arg1 = reinterpret_cast< GFitsTableFloatCol * >(argp1);
48870 ecode2 = SWIG_AsVal_int(obj1, &val2);
48871 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
48872 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableFloatCol_integer" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableFloatCol_integer"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
48873 }
48874 temp2 = static_cast< int >(val2);
48875 arg2 = &temp2;
48876 ecode3 = SWIG_AsVal_int(obj2, &val3);
48877 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
48878 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableFloatCol_integer" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableFloatCol_integer"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
48879 }
48880 temp3 = static_cast< int >(val3);
48881 arg3 = &temp3;
48882 {
48883 try {
48884 result = (int)((GFitsTableFloatCol const *)arg1)->integer((int const &)*arg2,(int const &)*arg3);
48885 }
48886 catch (const GException::out_of_range& e) {
48887 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
48888 }
48889 catch (const GExceptionHandler& e) {
48890 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
48891 }
48892 catch (const std::exception& e) {
48893 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
48894 }
48895 }
48896 resultobj = SWIG_From_int(static_cast< int >(result));
48897 return resultobj;
48898fail:
48899 return NULL__null;
48900}
48901
48902
48903SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableFloatCol_integer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
48904 PyObject *resultobj = 0;
48905 GFitsTableFloatCol *arg1 = (GFitsTableFloatCol *) 0 ;
48906 int *arg2 = 0 ;
48907 void *argp1 = 0 ;
48908 int res1 = 0 ;
48909 int temp2 ;
48910 int val2 ;
48911 int ecode2 = 0 ;
48912 PyObject * obj0 = 0 ;
48913 PyObject * obj1 = 0 ;
48914 int result;
48915
48916 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableFloatCol_integer",&obj0,&obj1)) SWIG_failgoto fail;
48917 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableFloatCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0 | 0, 0)
;
48918 if (!SWIG_IsOK(res1)(res1 >= 0)) {
48919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableFloatCol_integer" "', argument " "1"" of type '" "GFitsTableFloatCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableFloatCol_integer"
"', argument " "1"" of type '" "GFitsTableFloatCol const *""'"
); goto fail; } while(0)
;
48920 }
48921 arg1 = reinterpret_cast< GFitsTableFloatCol * >(argp1);
48922 ecode2 = SWIG_AsVal_int(obj1, &val2);
48923 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
48924 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableFloatCol_integer" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableFloatCol_integer"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
48925 }
48926 temp2 = static_cast< int >(val2);
48927 arg2 = &temp2;
48928 {
48929 try {
48930 result = (int)((GFitsTableFloatCol const *)arg1)->integer((int const &)*arg2);
48931 }
48932 catch (const GException::out_of_range& e) {
48933 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
48934 }
48935 catch (const GExceptionHandler& e) {
48936 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
48937 }
48938 catch (const std::exception& e) {
48939 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
48940 }
48941 }
48942 resultobj = SWIG_From_int(static_cast< int >(result));
48943 return resultobj;
48944fail:
48945 return NULL__null;
48946}
48947
48948
48949SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableFloatCol_integer(PyObject *self, PyObject *args) {
48950 int argc;
48951 PyObject *argv[4];
48952 int ii;
48953
48954 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
48955 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
48956 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
48957 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
48958 }
48959 if (argc == 2) {
48960 int _v;
48961 void *vptr = 0;
48962 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableFloatCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[26
], 0, 0)
;
48963 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
48964 if (_v) {
48965 {
48966 int res = SWIG_AsVal_int(argv[1], NULL__null);
48967 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
48968 }
48969 if (_v) {
48970 return _wrap_GFitsTableFloatCol_integer__SWIG_1(self, args);
48971 }
48972 }
48973 }
48974 if (argc == 3) {
48975 int _v;
48976 void *vptr = 0;
48977 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableFloatCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[26
], 0, 0)
;
48978 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
48979 if (_v) {
48980 {
48981 int res = SWIG_AsVal_int(argv[1], NULL__null);
48982 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
48983 }
48984 if (_v) {
48985 {
48986 int res = SWIG_AsVal_int(argv[2], NULL__null);
48987 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
48988 }
48989 if (_v) {
48990 return _wrap_GFitsTableFloatCol_integer__SWIG_0(self, args);
48991 }
48992 }
48993 }
48994 }
48995
48996fail:
48997 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableFloatCol_integer'.\n"
48998 " Possible C/C++ prototypes are:\n"
48999 " GFitsTableFloatCol::integer(int const &,int const &) const\n"
49000 " GFitsTableFloatCol::integer(int const &) const\n");
49001 return 0;
49002}
49003
49004
49005SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableFloatCol_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
49006 PyObject *resultobj = 0;
49007 GFitsTableFloatCol *arg1 = (GFitsTableFloatCol *) 0 ;
49008 int *arg2 = 0 ;
49009 int *arg3 = 0 ;
49010 void *argp1 = 0 ;
49011 int res1 = 0 ;
49012 int temp2 ;
49013 int val2 ;
49014 int ecode2 = 0 ;
49015 int temp3 ;
49016 int val3 ;
49017 int ecode3 = 0 ;
49018 PyObject * obj0 = 0 ;
49019 PyObject * obj1 = 0 ;
49020 PyObject * obj2 = 0 ;
49021
49022 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableFloatCol_insert",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
49023 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableFloatCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0 | 0, 0)
;
49024 if (!SWIG_IsOK(res1)(res1 >= 0)) {
49025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableFloatCol_insert" "', argument " "1"" of type '" "GFitsTableFloatCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableFloatCol_insert"
"', argument " "1"" of type '" "GFitsTableFloatCol *""'"); goto
fail; } while(0)
;
49026 }
49027 arg1 = reinterpret_cast< GFitsTableFloatCol * >(argp1);
49028 ecode2 = SWIG_AsVal_int(obj1, &val2);
49029 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
49030 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableFloatCol_insert" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableFloatCol_insert"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
49031 }
49032 temp2 = static_cast< int >(val2);
49033 arg2 = &temp2;
49034 ecode3 = SWIG_AsVal_int(obj2, &val3);
49035 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
49036 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableFloatCol_insert" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableFloatCol_insert"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
49037 }
49038 temp3 = static_cast< int >(val3);
49039 arg3 = &temp3;
49040 {
49041 try {
49042 (arg1)->insert((int const &)*arg2,(int const &)*arg3);
49043 }
49044 catch (const GException::out_of_range& e) {
49045 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
49046 }
49047 catch (const GExceptionHandler& e) {
49048 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
49049 }
49050 catch (const std::exception& e) {
49051 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
49052 }
49053 }
49054 resultobj = SWIG_Py_Void();
49055 return resultobj;
49056fail:
49057 return NULL__null;
49058}
49059
49060
49061SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableFloatCol_remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
49062 PyObject *resultobj = 0;
49063 GFitsTableFloatCol *arg1 = (GFitsTableFloatCol *) 0 ;
49064 int *arg2 = 0 ;
49065 int *arg3 = 0 ;
49066 void *argp1 = 0 ;
49067 int res1 = 0 ;
49068 int temp2 ;
49069 int val2 ;
49070 int ecode2 = 0 ;
49071 int temp3 ;
49072 int val3 ;
49073 int ecode3 = 0 ;
49074 PyObject * obj0 = 0 ;
49075 PyObject * obj1 = 0 ;
49076 PyObject * obj2 = 0 ;
49077
49078 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableFloatCol_remove",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
49079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableFloatCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0 | 0, 0)
;
49080 if (!SWIG_IsOK(res1)(res1 >= 0)) {
49081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableFloatCol_remove" "', argument " "1"" of type '" "GFitsTableFloatCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableFloatCol_remove"
"', argument " "1"" of type '" "GFitsTableFloatCol *""'"); goto
fail; } while(0)
;
49082 }
49083 arg1 = reinterpret_cast< GFitsTableFloatCol * >(argp1);
49084 ecode2 = SWIG_AsVal_int(obj1, &val2);
49085 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
49086 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableFloatCol_remove" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableFloatCol_remove"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
49087 }
49088 temp2 = static_cast< int >(val2);
49089 arg2 = &temp2;
49090 ecode3 = SWIG_AsVal_int(obj2, &val3);
49091 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
49092 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableFloatCol_remove" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableFloatCol_remove"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
49093 }
49094 temp3 = static_cast< int >(val3);
49095 arg3 = &temp3;
49096 {
49097 try {
49098 (arg1)->remove((int const &)*arg2,(int const &)*arg3);
49099 }
49100 catch (const GException::out_of_range& e) {
49101 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
49102 }
49103 catch (const GExceptionHandler& e) {
49104 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
49105 }
49106 catch (const std::exception& e) {
49107 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
49108 }
49109 }
49110 resultobj = SWIG_Py_Void();
49111 return resultobj;
49112fail:
49113 return NULL__null;
49114}
49115
49116
49117SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableFloatCol_isloaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
49118 PyObject *resultobj = 0;
49119 GFitsTableFloatCol *arg1 = (GFitsTableFloatCol *) 0 ;
49120 void *argp1 = 0 ;
49121 int res1 = 0 ;
49122 PyObject * obj0 = 0 ;
49123 bool result;
49124
49125 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableFloatCol_isloaded",&obj0)) SWIG_failgoto fail;
49126 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableFloatCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0 | 0, 0)
;
49127 if (!SWIG_IsOK(res1)(res1 >= 0)) {
49128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableFloatCol_isloaded" "', argument " "1"" of type '" "GFitsTableFloatCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableFloatCol_isloaded"
"', argument " "1"" of type '" "GFitsTableFloatCol const *""'"
); goto fail; } while(0)
;
49129 }
49130 arg1 = reinterpret_cast< GFitsTableFloatCol * >(argp1);
49131 {
49132 try {
49133 result = (bool)((GFitsTableFloatCol const *)arg1)->isloaded();
49134 }
49135 catch (const GException::out_of_range& e) {
49136 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
49137 }
49138 catch (const GExceptionHandler& e) {
49139 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
49140 }
49141 catch (const std::exception& e) {
49142 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
49143 }
49144 }
49145 resultobj = SWIG_From_bool(static_cast< bool >(result));
49146 return resultobj;
49147fail:
49148 return NULL__null;
49149}
49150
49151
49152SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableFloatCol_data(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
49153 PyObject *resultobj = 0;
49154 GFitsTableFloatCol *arg1 = (GFitsTableFloatCol *) 0 ;
49155 void *argp1 = 0 ;
49156 int res1 = 0 ;
49157 PyObject * obj0 = 0 ;
49158 float *result = 0 ;
49159
49160 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableFloatCol_data",&obj0)) SWIG_failgoto fail;
49161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableFloatCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0 | 0, 0)
;
49162 if (!SWIG_IsOK(res1)(res1 >= 0)) {
49163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableFloatCol_data" "', argument " "1"" of type '" "GFitsTableFloatCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableFloatCol_data" "', argument "
"1"" of type '" "GFitsTableFloatCol *""'"); goto fail; } while
(0)
;
49164 }
49165 arg1 = reinterpret_cast< GFitsTableFloatCol * >(argp1);
49166 {
49167 try {
49168 result = (float *)(arg1)->data();
49169 }
49170 catch (const GException::out_of_range& e) {
49171 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
49172 }
49173 catch (const GExceptionHandler& e) {
49174 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
49175 }
49176 catch (const std::exception& e) {
49177 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
49178 }
49179 }
49180 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[40], 0
| 0)
;
49181 return resultobj;
49182fail:
49183 return NULL__null;
49184}
49185
49186
49187SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableFloatCol_nulval__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
49188 PyObject *resultobj = 0;
49189 GFitsTableFloatCol *arg1 = (GFitsTableFloatCol *) 0 ;
49190 void *argp1 = 0 ;
49191 int res1 = 0 ;
49192 PyObject * obj0 = 0 ;
49193 float *result = 0 ;
49194
49195 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableFloatCol_nulval",&obj0)) SWIG_failgoto fail;
49196 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableFloatCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0 | 0, 0)
;
49197 if (!SWIG_IsOK(res1)(res1 >= 0)) {
49198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableFloatCol_nulval" "', argument " "1"" of type '" "GFitsTableFloatCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableFloatCol_nulval"
"', argument " "1"" of type '" "GFitsTableFloatCol *""'"); goto
fail; } while(0)
;
49199 }
49200 arg1 = reinterpret_cast< GFitsTableFloatCol * >(argp1);
49201 {
49202 try {
49203 result = (float *)(arg1)->nulval();
49204 }
49205 catch (const GException::out_of_range& e) {
49206 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
49207 }
49208 catch (const GExceptionHandler& e) {
49209 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
49210 }
49211 catch (const std::exception& e) {
49212 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
49213 }
49214 }
49215 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[40], 0
| 0)
;
49216 return resultobj;
49217fail:
49218 return NULL__null;
49219}
49220
49221
49222SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableFloatCol_nulval__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
49223 PyObject *resultobj = 0;
49224 GFitsTableFloatCol *arg1 = (GFitsTableFloatCol *) 0 ;
49225 float *arg2 = (float *) 0 ;
49226 void *argp1 = 0 ;
49227 int res1 = 0 ;
49228 void *argp2 = 0 ;
49229 int res2 = 0 ;
49230 PyObject * obj0 = 0 ;
49231 PyObject * obj1 = 0 ;
49232
49233 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableFloatCol_nulval",&obj0,&obj1)) SWIG_failgoto fail;
49234 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableFloatCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0 | 0, 0)
;
49235 if (!SWIG_IsOK(res1)(res1 >= 0)) {
49236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableFloatCol_nulval" "', argument " "1"" of type '" "GFitsTableFloatCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableFloatCol_nulval"
"', argument " "1"" of type '" "GFitsTableFloatCol *""'"); goto
fail; } while(0)
;
49237 }
49238 arg1 = reinterpret_cast< GFitsTableFloatCol * >(argp1);
49239 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_float, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[40]
, 0 | 0, 0)
;
49240 if (!SWIG_IsOK(res2)(res2 >= 0)) {
49241 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsTableFloatCol_nulval" "', argument " "2"" of type '" "float const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsTableFloatCol_nulval"
"', argument " "2"" of type '" "float const *""'"); goto fail
; } while(0)
;
49242 }
49243 arg2 = reinterpret_cast< float * >(argp2);
49244 {
49245 try {
49246 (arg1)->nulval((float const *)arg2);
49247 }
49248 catch (const GException::out_of_range& e) {
49249 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
49250 }
49251 catch (const GExceptionHandler& e) {
49252 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
49253 }
49254 catch (const std::exception& e) {
49255 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
49256 }
49257 }
49258 resultobj = SWIG_Py_Void();
49259 return resultobj;
49260fail:
49261 return NULL__null;
49262}
49263
49264
49265SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableFloatCol_nulval(PyObject *self, PyObject *args) {
49266 int argc;
49267 PyObject *argv[3];
49268 int ii;
49269
49270 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
49271 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
49272 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
49273 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
49274 }
49275 if (argc == 1) {
49276 int _v;
49277 void *vptr = 0;
49278 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableFloatCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[26
], 0, 0)
;
49279 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
49280 if (_v) {
49281 return _wrap_GFitsTableFloatCol_nulval__SWIG_0(self, args);
49282 }
49283 }
49284 if (argc == 2) {
49285 int _v;
49286 void *vptr = 0;
49287 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableFloatCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[26
], 0, 0)
;
49288 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
49289 if (_v) {
49290 void *vptr = 0;
49291 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_float, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[40
], 0, 0)
;
49292 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
49293 if (_v) {
49294 return _wrap_GFitsTableFloatCol_nulval__SWIG_1(self, args);
49295 }
49296 }
49297 }
49298
49299fail:
49300 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableFloatCol_nulval'.\n"
49301 " Possible C/C++ prototypes are:\n"
49302 " GFitsTableFloatCol::nulval()\n"
49303 " GFitsTableFloatCol::nulval(float const *)\n");
49304 return 0;
49305}
49306
49307
49308SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableFloatCol___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
49309 PyObject *resultobj = 0;
49310 GFitsTableFloatCol *arg1 = (GFitsTableFloatCol *) 0 ;
49311 int *arg2 ;
49312 void *argp1 = 0 ;
49313 int res1 = 0 ;
49314 int temp2[3] ;
49315 PyObject * obj0 = 0 ;
49316 PyObject * obj1 = 0 ;
49317 float result;
49318
49319 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableFloatCol___getitem__",&obj0,&obj1)) SWIG_failgoto fail;
49320 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableFloatCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0 | 0, 0)
;
49321 if (!SWIG_IsOK(res1)(res1 >= 0)) {
49322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableFloatCol___getitem__" "', argument " "1"" of type '" "GFitsTableFloatCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableFloatCol___getitem__"
"', argument " "1"" of type '" "GFitsTableFloatCol *""'"); goto
fail; } while(0)
;
49323 }
49324 arg1 = reinterpret_cast< GFitsTableFloatCol * >(argp1);
49325 {
49326 if (!table_column_tuple(obj1,temp2)) {
49327 return NULL__null;
49328 }
49329 arg2 = &temp2[0];
49330 }
49331 {
49332 try {
49333 result = (float)GFitsTableFloatCol___getitem__(arg1,arg2);
49334 }
49335 catch (const GException::out_of_range& e) {
49336 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
49337 }
49338 catch (const GExceptionHandler& e) {
49339 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
49340 }
49341 catch (const std::exception& e) {
49342 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
49343 }
49344 }
49345 resultobj = SWIG_From_float(static_cast< float >(result));
49346 return resultobj;
49347fail:
49348 return NULL__null;
49349}
49350
49351
49352SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableFloatCol___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
49353 PyObject *resultobj = 0;
49354 GFitsTableFloatCol *arg1 = (GFitsTableFloatCol *) 0 ;
49355 int *arg2 ;
49356 float arg3 ;
49357 void *argp1 = 0 ;
49358 int res1 = 0 ;
49359 int temp2[3] ;
49360 float val3 ;
49361 int ecode3 = 0 ;
49362 PyObject * obj0 = 0 ;
49363 PyObject * obj1 = 0 ;
49364 PyObject * obj2 = 0 ;
49365
49366 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableFloatCol___setitem__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
49367 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableFloatCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0 | 0, 0)
;
49368 if (!SWIG_IsOK(res1)(res1 >= 0)) {
49369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableFloatCol___setitem__" "', argument " "1"" of type '" "GFitsTableFloatCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableFloatCol___setitem__"
"', argument " "1"" of type '" "GFitsTableFloatCol *""'"); goto
fail; } while(0)
;
49370 }
49371 arg1 = reinterpret_cast< GFitsTableFloatCol * >(argp1);
49372 {
49373 if (!table_column_tuple(obj1,temp2)) {
49374 return NULL__null;
49375 }
49376 arg2 = &temp2[0];
49377 }
49378 ecode3 = SWIG_AsVal_float(obj2, &val3);
49379 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
49380 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableFloatCol___setitem__" "', argument " "3"" of type '" "float""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableFloatCol___setitem__"
"', argument " "3"" of type '" "float""'"); goto fail; } while
(0)
;
49381 }
49382 arg3 = static_cast< float >(val3);
49383 {
49384 try {
49385 GFitsTableFloatCol___setitem__(arg1,arg2,arg3);
49386 }
49387 catch (const GException::out_of_range& e) {
49388 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
49389 }
49390 catch (const GExceptionHandler& e) {
49391 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
49392 }
49393 catch (const std::exception& e) {
49394 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
49395 }
49396 }
49397 resultobj = SWIG_Py_Void();
49398 return resultobj;
49399fail:
49400 return NULL__null;
49401}
49402
49403
49404SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableFloatCol_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
49405 PyObject *resultobj = 0;
49406 GFitsTableFloatCol *arg1 = (GFitsTableFloatCol *) 0 ;
49407 void *argp1 = 0 ;
49408 int res1 = 0 ;
49409 PyObject * obj0 = 0 ;
49410 GFitsTableFloatCol result;
49411
49412 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableFloatCol_copy",&obj0)) SWIG_failgoto fail;
49413 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableFloatCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[26]
, 0 | 0, 0)
;
49414 if (!SWIG_IsOK(res1)(res1 >= 0)) {
49415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableFloatCol_copy" "', argument " "1"" of type '" "GFitsTableFloatCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableFloatCol_copy" "', argument "
"1"" of type '" "GFitsTableFloatCol *""'"); goto fail; } while
(0)
;
49416 }
49417 arg1 = reinterpret_cast< GFitsTableFloatCol * >(argp1);
49418 {
49419 try {
49420 result = GFitsTableFloatCol_copy(arg1);
49421 }
49422 catch (const GException::out_of_range& e) {
49423 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
49424 }
49425 catch (const GExceptionHandler& e) {
49426 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
49427 }
49428 catch (const std::exception& e) {
49429 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
49430 }
49431 }
49432 resultobj = SWIG_NewPointerObj((new GFitsTableFloatCol(static_cast< const GFitsTableFloatCol& >(result))), SWIGTYPE_p_GFitsTableFloatCol, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GFitsTableFloatCol(static_cast
< const GFitsTableFloatCol& >(result))), swig_types
[26], 0x1 | 0)
;
49433 return resultobj;
49434fail:
49435 return NULL__null;
49436}
49437
49438
49439SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GFitsTableFloatCol_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
49440 PyObject *obj;
49441 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
49442 SWIG_TypeNewClientData(SWIGTYPE_p_GFitsTableFloatColswig_types[26], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
49443 return SWIG_Py_Void();
49444}
49445
49446SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableDoubleCol__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
49447 PyObject *resultobj = 0;
49448 GFitsTableDoubleCol *result = 0 ;
49449
49450 if (!PyArg_ParseTuple(args,(char *)":new_GFitsTableDoubleCol")) SWIG_failgoto fail;
49451 {
49452 try {
49453 result = (GFitsTableDoubleCol *)new GFitsTableDoubleCol();
49454 }
49455 catch (const GException::out_of_range& e) {
49456 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
49457 }
49458 catch (const GExceptionHandler& e) {
49459 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
49460 }
49461 catch (const std::exception& e) {
49462 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
49463 }
49464 }
49465 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableDoubleCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[25], (
(0x1 << 1) | 0x1) | 0)
;
49466 return resultobj;
49467fail:
49468 return NULL__null;
49469}
49470
49471
49472SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableDoubleCol__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
49473 PyObject *resultobj = 0;
49474 std::string *arg1 = 0 ;
49475 int *arg2 = 0 ;
49476 int *arg3 = 0 ;
49477 int res1 = SWIG_OLDOBJ((0)) ;
49478 int temp2 ;
49479 int val2 ;
49480 int ecode2 = 0 ;
49481 int temp3 ;
49482 int val3 ;
49483 int ecode3 = 0 ;
49484 PyObject * obj0 = 0 ;
49485 PyObject * obj1 = 0 ;
49486 PyObject * obj2 = 0 ;
49487 GFitsTableDoubleCol *result = 0 ;
49488
49489 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GFitsTableDoubleCol",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
49490 {
49491 std::string *ptr = (std::string *)0;
49492 res1 = SWIG_AsPtr_std_string(obj0, &ptr);
49493 if (!SWIG_IsOK(res1)(res1 >= 0)) {
49494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsTableDoubleCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsTableDoubleCol" "', argument "
"1"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
49495 }
49496 if (!ptr) {
49497 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsTableDoubleCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsTableDoubleCol" "', argument " "1"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
49498 }
49499 arg1 = ptr;
49500 }
49501 ecode2 = SWIG_AsVal_int(obj1, &val2);
49502 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
49503 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsTableDoubleCol" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsTableDoubleCol"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
49504 }
49505 temp2 = static_cast< int >(val2);
49506 arg2 = &temp2;
49507 ecode3 = SWIG_AsVal_int(obj2, &val3);
49508 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
49509 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsTableDoubleCol" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsTableDoubleCol"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
49510 }
49511 temp3 = static_cast< int >(val3);
49512 arg3 = &temp3;
49513 {
49514 try {
49515 result = (GFitsTableDoubleCol *)new GFitsTableDoubleCol((std::string const &)*arg1,(int const &)*arg2,(int const &)*arg3);
49516 }
49517 catch (const GException::out_of_range& e) {
49518 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
49519 }
49520 catch (const GExceptionHandler& e) {
49521 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
49522 }
49523 catch (const std::exception& e) {
49524 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
49525 }
49526 }
49527 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableDoubleCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[25], (
(0x1 << 1) | 0x1) | 0)
;
49528 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
49529 return resultobj;
49530fail:
49531 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
49532 return NULL__null;
49533}
49534
49535
49536SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableDoubleCol__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
49537 PyObject *resultobj = 0;
49538 std::string *arg1 = 0 ;
49539 int *arg2 = 0 ;
49540 int res1 = SWIG_OLDOBJ((0)) ;
49541 int temp2 ;
49542 int val2 ;
49543 int ecode2 = 0 ;
49544 PyObject * obj0 = 0 ;
49545 PyObject * obj1 = 0 ;
49546 GFitsTableDoubleCol *result = 0 ;
49547
49548 if (!PyArg_ParseTuple(args,(char *)"OO:new_GFitsTableDoubleCol",&obj0,&obj1)) SWIG_failgoto fail;
49549 {
49550 std::string *ptr = (std::string *)0;
49551 res1 = SWIG_AsPtr_std_string(obj0, &ptr);
49552 if (!SWIG_IsOK(res1)(res1 >= 0)) {
49553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsTableDoubleCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsTableDoubleCol" "', argument "
"1"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
49554 }
49555 if (!ptr) {
49556 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsTableDoubleCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsTableDoubleCol" "', argument " "1"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
49557 }
49558 arg1 = ptr;
49559 }
49560 ecode2 = SWIG_AsVal_int(obj1, &val2);
49561 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
49562 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsTableDoubleCol" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsTableDoubleCol"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
49563 }
49564 temp2 = static_cast< int >(val2);
49565 arg2 = &temp2;
49566 {
49567 try {
49568 result = (GFitsTableDoubleCol *)new GFitsTableDoubleCol((std::string const &)*arg1,(int const &)*arg2);
49569 }
49570 catch (const GException::out_of_range& e) {
49571 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
49572 }
49573 catch (const GExceptionHandler& e) {
49574 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
49575 }
49576 catch (const std::exception& e) {
49577 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
49578 }
49579 }
49580 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableDoubleCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[25], (
(0x1 << 1) | 0x1) | 0)
;
49581 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
49582 return resultobj;
49583fail:
49584 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
49585 return NULL__null;
49586}
49587
49588
49589SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableDoubleCol__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
49590 PyObject *resultobj = 0;
49591 GFitsTableDoubleCol *arg1 = 0 ;
49592 void *argp1 = 0 ;
49593 int res1 = 0 ;
49594 PyObject * obj0 = 0 ;
49595 GFitsTableDoubleCol *result = 0 ;
49596
49597 if (!PyArg_ParseTuple(args,(char *)"O:new_GFitsTableDoubleCol",&obj0)) SWIG_failgoto fail;
49598 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GFitsTableDoubleCol, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0 | 0, 0)
;
49599 if (!SWIG_IsOK(res1)(res1 >= 0)) {
49600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsTableDoubleCol" "', argument " "1"" of type '" "GFitsTableDoubleCol const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsTableDoubleCol" "', argument "
"1"" of type '" "GFitsTableDoubleCol const &""'"); goto fail
; } while(0)
;
49601 }
49602 if (!argp1) {
49603 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsTableDoubleCol" "', argument " "1"" of type '" "GFitsTableDoubleCol const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsTableDoubleCol" "', argument " "1"" of type '"
"GFitsTableDoubleCol const &""'"); goto fail; } while(0)
;
49604 }
49605 arg1 = reinterpret_cast< GFitsTableDoubleCol * >(argp1);
49606 {
49607 try {
49608 result = (GFitsTableDoubleCol *)new GFitsTableDoubleCol((GFitsTableDoubleCol const &)*arg1);
49609 }
49610 catch (const GException::out_of_range& e) {
49611 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
49612 }
49613 catch (const GExceptionHandler& e) {
49614 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
49615 }
49616 catch (const std::exception& e) {
49617 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
49618 }
49619 }
49620 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableDoubleCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[25], (
(0x1 << 1) | 0x1) | 0)
;
49621 return resultobj;
49622fail:
49623 return NULL__null;
49624}
49625
49626
49627SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableDoubleCol(PyObject *self, PyObject *args) {
49628 int argc;
49629 PyObject *argv[4];
49630 int ii;
49631
49632 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
49633 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
49634 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
49635 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
49636 }
49637 if (argc == 0) {
49638 return _wrap_new_GFitsTableDoubleCol__SWIG_0(self, args);
49639 }
49640 if (argc == 1) {
49641 int _v;
49642 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GFitsTableDoubleCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[25], 0, 0
)
;
49643 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
49644 if (_v) {
49645 return _wrap_new_GFitsTableDoubleCol__SWIG_3(self, args);
49646 }
49647 }
49648 if (argc == 2) {
49649 int _v;
49650 int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
49651 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
49652 if (_v) {
49653 {
49654 int res = SWIG_AsVal_int(argv[1], NULL__null);
49655 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
49656 }
49657 if (_v) {
49658 return _wrap_new_GFitsTableDoubleCol__SWIG_2(self, args);
49659 }
49660 }
49661 }
49662 if (argc == 3) {
49663 int _v;
49664 int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
49665 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
49666 if (_v) {
49667 {
49668 int res = SWIG_AsVal_int(argv[1], NULL__null);
49669 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
49670 }
49671 if (_v) {
49672 {
49673 int res = SWIG_AsVal_int(argv[2], NULL__null);
49674 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
49675 }
49676 if (_v) {
49677 return _wrap_new_GFitsTableDoubleCol__SWIG_1(self, args);
49678 }
49679 }
49680 }
49681 }
49682
49683fail:
49684 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GFitsTableDoubleCol'.\n"
49685 " Possible C/C++ prototypes are:\n"
49686 " GFitsTableDoubleCol::GFitsTableDoubleCol()\n"
49687 " GFitsTableDoubleCol::GFitsTableDoubleCol(std::string const &,int const &,int const &)\n"
49688 " GFitsTableDoubleCol::GFitsTableDoubleCol(std::string const &,int const &)\n"
49689 " GFitsTableDoubleCol::GFitsTableDoubleCol(GFitsTableDoubleCol const &)\n");
49690 return 0;
49691}
49692
49693
49694SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GFitsTableDoubleCol(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
49695 PyObject *resultobj = 0;
49696 GFitsTableDoubleCol *arg1 = (GFitsTableDoubleCol *) 0 ;
49697 void *argp1 = 0 ;
49698 int res1 = 0 ;
49699 PyObject * obj0 = 0 ;
49700
49701 if (!PyArg_ParseTuple(args,(char *)"O:delete_GFitsTableDoubleCol",&obj0)) SWIG_failgoto fail;
49702 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableDoubleCol, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0x1 | 0, 0)
;
49703 if (!SWIG_IsOK(res1)(res1 >= 0)) {
49704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GFitsTableDoubleCol" "', argument " "1"" of type '" "GFitsTableDoubleCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GFitsTableDoubleCol"
"', argument " "1"" of type '" "GFitsTableDoubleCol *""'"); goto
fail; } while(0)
;
49705 }
49706 arg1 = reinterpret_cast< GFitsTableDoubleCol * >(argp1);
49707 {
49708 try {
49709 delete arg1;
49710 }
49711 catch (const GException::out_of_range& e) {
49712 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
49713 }
49714 catch (const GExceptionHandler& e) {
49715 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
49716 }
49717 catch (const std::exception& e) {
49718 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
49719 }
49720 }
49721 resultobj = SWIG_Py_Void();
49722 return resultobj;
49723fail:
49724 return NULL__null;
49725}
49726
49727
49728SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableDoubleCol_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
49729 PyObject *resultobj = 0;
49730 GFitsTableDoubleCol *arg1 = (GFitsTableDoubleCol *) 0 ;
49731 void *argp1 = 0 ;
49732 int res1 = 0 ;
49733 PyObject * obj0 = 0 ;
49734
49735 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableDoubleCol_clear",&obj0)) SWIG_failgoto fail;
49736 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableDoubleCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0 | 0, 0)
;
49737 if (!SWIG_IsOK(res1)(res1 >= 0)) {
49738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableDoubleCol_clear" "', argument " "1"" of type '" "GFitsTableDoubleCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableDoubleCol_clear"
"', argument " "1"" of type '" "GFitsTableDoubleCol *""'"); goto
fail; } while(0)
;
49739 }
49740 arg1 = reinterpret_cast< GFitsTableDoubleCol * >(argp1);
49741 {
49742 try {
49743 (arg1)->clear();
49744 }
49745 catch (const GException::out_of_range& e) {
49746 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
49747 }
49748 catch (const GExceptionHandler& e) {
49749 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
49750 }
49751 catch (const std::exception& e) {
49752 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
49753 }
49754 }
49755 resultobj = SWIG_Py_Void();
49756 return resultobj;
49757fail:
49758 return NULL__null;
49759}
49760
49761
49762SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableDoubleCol_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
49763 PyObject *resultobj = 0;
49764 GFitsTableDoubleCol *arg1 = (GFitsTableDoubleCol *) 0 ;
49765 void *argp1 = 0 ;
49766 int res1 = 0 ;
49767 PyObject * obj0 = 0 ;
49768 GFitsTableDoubleCol *result = 0 ;
49769
49770 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableDoubleCol_clone",&obj0)) SWIG_failgoto fail;
49771 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableDoubleCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0 | 0, 0)
;
49772 if (!SWIG_IsOK(res1)(res1 >= 0)) {
49773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableDoubleCol_clone" "', argument " "1"" of type '" "GFitsTableDoubleCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableDoubleCol_clone"
"', argument " "1"" of type '" "GFitsTableDoubleCol const *"
"'"); goto fail; } while(0)
;
49774 }
49775 arg1 = reinterpret_cast< GFitsTableDoubleCol * >(argp1);
49776 {
49777 try {
49778 result = (GFitsTableDoubleCol *)((GFitsTableDoubleCol const *)arg1)->clone();
49779 }
49780 catch (const GException::out_of_range& e) {
49781 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
49782 }
49783 catch (const GExceptionHandler& e) {
49784 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
49785 }
49786 catch (const std::exception& e) {
49787 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
49788 }
49789 }
49790 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableDoubleCol, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[25], 0
| 0)
;
49791 return resultobj;
49792fail:
49793 return NULL__null;
49794}
49795
49796
49797SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableDoubleCol_string__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
49798 PyObject *resultobj = 0;
49799 GFitsTableDoubleCol *arg1 = (GFitsTableDoubleCol *) 0 ;
49800 int *arg2 = 0 ;
49801 int *arg3 = 0 ;
49802 void *argp1 = 0 ;
49803 int res1 = 0 ;
49804 int temp2 ;
49805 int val2 ;
49806 int ecode2 = 0 ;
49807 int temp3 ;
49808 int val3 ;
49809 int ecode3 = 0 ;
49810 PyObject * obj0 = 0 ;
49811 PyObject * obj1 = 0 ;
49812 PyObject * obj2 = 0 ;
49813 std::string result;
49814
49815 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableDoubleCol_string",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
49816 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableDoubleCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0 | 0, 0)
;
49817 if (!SWIG_IsOK(res1)(res1 >= 0)) {
49818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableDoubleCol_string" "', argument " "1"" of type '" "GFitsTableDoubleCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableDoubleCol_string"
"', argument " "1"" of type '" "GFitsTableDoubleCol const *"
"'"); goto fail; } while(0)
;
49819 }
49820 arg1 = reinterpret_cast< GFitsTableDoubleCol * >(argp1);
49821 ecode2 = SWIG_AsVal_int(obj1, &val2);
49822 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
49823 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableDoubleCol_string" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableDoubleCol_string"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
49824 }
49825 temp2 = static_cast< int >(val2);
49826 arg2 = &temp2;
49827 ecode3 = SWIG_AsVal_int(obj2, &val3);
49828 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
49829 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableDoubleCol_string" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableDoubleCol_string"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
49830 }
49831 temp3 = static_cast< int >(val3);
49832 arg3 = &temp3;
49833 {
49834 try {
49835 result = ((GFitsTableDoubleCol const *)arg1)->string((int const &)*arg2,(int const &)*arg3);
49836 }
49837 catch (const GException::out_of_range& e) {
49838 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
49839 }
49840 catch (const GExceptionHandler& e) {
49841 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
49842 }
49843 catch (const std::exception& e) {
49844 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
49845 }
49846 }
49847 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
49848 return resultobj;
49849fail:
49850 return NULL__null;
49851}
49852
49853
49854SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableDoubleCol_string__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
49855 PyObject *resultobj = 0;
49856 GFitsTableDoubleCol *arg1 = (GFitsTableDoubleCol *) 0 ;
49857 int *arg2 = 0 ;
49858 void *argp1 = 0 ;
49859 int res1 = 0 ;
49860 int temp2 ;
49861 int val2 ;
49862 int ecode2 = 0 ;
49863 PyObject * obj0 = 0 ;
49864 PyObject * obj1 = 0 ;
49865 std::string result;
49866
49867 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableDoubleCol_string",&obj0,&obj1)) SWIG_failgoto fail;
49868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableDoubleCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0 | 0, 0)
;
49869 if (!SWIG_IsOK(res1)(res1 >= 0)) {
49870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableDoubleCol_string" "', argument " "1"" of type '" "GFitsTableDoubleCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableDoubleCol_string"
"', argument " "1"" of type '" "GFitsTableDoubleCol const *"
"'"); goto fail; } while(0)
;
49871 }
49872 arg1 = reinterpret_cast< GFitsTableDoubleCol * >(argp1);
49873 ecode2 = SWIG_AsVal_int(obj1, &val2);
49874 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
49875 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableDoubleCol_string" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableDoubleCol_string"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
49876 }
49877 temp2 = static_cast< int >(val2);
49878 arg2 = &temp2;
49879 {
49880 try {
49881 result = ((GFitsTableDoubleCol const *)arg1)->string((int const &)*arg2);
49882 }
49883 catch (const GException::out_of_range& e) {
49884 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
49885 }
49886 catch (const GExceptionHandler& e) {
49887 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
49888 }
49889 catch (const std::exception& e) {
49890 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
49891 }
49892 }
49893 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
49894 return resultobj;
49895fail:
49896 return NULL__null;
49897}
49898
49899
49900SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableDoubleCol_string(PyObject *self, PyObject *args) {
49901 int argc;
49902 PyObject *argv[4];
49903 int ii;
49904
49905 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
49906 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
49907 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
49908 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
49909 }
49910 if (argc == 2) {
49911 int _v;
49912 void *vptr = 0;
49913 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableDoubleCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[25
], 0, 0)
;
49914 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
49915 if (_v) {
49916 {
49917 int res = SWIG_AsVal_int(argv[1], NULL__null);
49918 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
49919 }
49920 if (_v) {
49921 return _wrap_GFitsTableDoubleCol_string__SWIG_1(self, args);
49922 }
49923 }
49924 }
49925 if (argc == 3) {
49926 int _v;
49927 void *vptr = 0;
49928 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableDoubleCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[25
], 0, 0)
;
49929 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
49930 if (_v) {
49931 {
49932 int res = SWIG_AsVal_int(argv[1], NULL__null);
49933 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
49934 }
49935 if (_v) {
49936 {
49937 int res = SWIG_AsVal_int(argv[2], NULL__null);
49938 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
49939 }
49940 if (_v) {
49941 return _wrap_GFitsTableDoubleCol_string__SWIG_0(self, args);
49942 }
49943 }
49944 }
49945 }
49946
49947fail:
49948 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableDoubleCol_string'.\n"
49949 " Possible C/C++ prototypes are:\n"
49950 " GFitsTableDoubleCol::string(int const &,int const &) const\n"
49951 " GFitsTableDoubleCol::string(int const &) const\n");
49952 return 0;
49953}
49954
49955
49956SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableDoubleCol_real__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
49957 PyObject *resultobj = 0;
49958 GFitsTableDoubleCol *arg1 = (GFitsTableDoubleCol *) 0 ;
49959 int *arg2 = 0 ;
49960 int *arg3 = 0 ;
49961 void *argp1 = 0 ;
49962 int res1 = 0 ;
49963 int temp2 ;
49964 int val2 ;
49965 int ecode2 = 0 ;
49966 int temp3 ;
49967 int val3 ;
49968 int ecode3 = 0 ;
49969 PyObject * obj0 = 0 ;
49970 PyObject * obj1 = 0 ;
49971 PyObject * obj2 = 0 ;
49972 double result;
49973
49974 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableDoubleCol_real",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
49975 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableDoubleCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0 | 0, 0)
;
49976 if (!SWIG_IsOK(res1)(res1 >= 0)) {
49977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableDoubleCol_real" "', argument " "1"" of type '" "GFitsTableDoubleCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableDoubleCol_real" "', argument "
"1"" of type '" "GFitsTableDoubleCol const *""'"); goto fail
; } while(0)
;
49978 }
49979 arg1 = reinterpret_cast< GFitsTableDoubleCol * >(argp1);
49980 ecode2 = SWIG_AsVal_int(obj1, &val2);
49981 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
49982 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableDoubleCol_real" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableDoubleCol_real"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
49983 }
49984 temp2 = static_cast< int >(val2);
49985 arg2 = &temp2;
49986 ecode3 = SWIG_AsVal_int(obj2, &val3);
49987 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
49988 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableDoubleCol_real" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableDoubleCol_real"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
49989 }
49990 temp3 = static_cast< int >(val3);
49991 arg3 = &temp3;
49992 {
49993 try {
49994 result = (double)((GFitsTableDoubleCol const *)arg1)->real((int const &)*arg2,(int const &)*arg3);
49995 }
49996 catch (const GException::out_of_range& e) {
49997 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
49998 }
49999 catch (const GExceptionHandler& e) {
50000 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
50001 }
50002 catch (const std::exception& e) {
50003 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
50004 }
50005 }
50006 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
50007 return resultobj;
50008fail:
50009 return NULL__null;
50010}
50011
50012
50013SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableDoubleCol_real__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
50014 PyObject *resultobj = 0;
50015 GFitsTableDoubleCol *arg1 = (GFitsTableDoubleCol *) 0 ;
50016 int *arg2 = 0 ;
50017 void *argp1 = 0 ;
50018 int res1 = 0 ;
50019 int temp2 ;
50020 int val2 ;
50021 int ecode2 = 0 ;
50022 PyObject * obj0 = 0 ;
50023 PyObject * obj1 = 0 ;
50024 double result;
50025
50026 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableDoubleCol_real",&obj0,&obj1)) SWIG_failgoto fail;
50027 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableDoubleCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0 | 0, 0)
;
50028 if (!SWIG_IsOK(res1)(res1 >= 0)) {
50029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableDoubleCol_real" "', argument " "1"" of type '" "GFitsTableDoubleCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableDoubleCol_real" "', argument "
"1"" of type '" "GFitsTableDoubleCol const *""'"); goto fail
; } while(0)
;
50030 }
50031 arg1 = reinterpret_cast< GFitsTableDoubleCol * >(argp1);
50032 ecode2 = SWIG_AsVal_int(obj1, &val2);
50033 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
50034 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableDoubleCol_real" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableDoubleCol_real"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
50035 }
50036 temp2 = static_cast< int >(val2);
50037 arg2 = &temp2;
50038 {
50039 try {
50040 result = (double)((GFitsTableDoubleCol const *)arg1)->real((int const &)*arg2);
50041 }
50042 catch (const GException::out_of_range& e) {
50043 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
50044 }
50045 catch (const GExceptionHandler& e) {
50046 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
50047 }
50048 catch (const std::exception& e) {
50049 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
50050 }
50051 }
50052 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
50053 return resultobj;
50054fail:
50055 return NULL__null;
50056}
50057
50058
50059SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableDoubleCol_real(PyObject *self, PyObject *args) {
50060 int argc;
50061 PyObject *argv[4];
50062 int ii;
50063
50064 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
50065 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
50066 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
50067 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
50068 }
50069 if (argc == 2) {
50070 int _v;
50071 void *vptr = 0;
50072 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableDoubleCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[25
], 0, 0)
;
50073 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
50074 if (_v) {
50075 {
50076 int res = SWIG_AsVal_int(argv[1], NULL__null);
50077 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
50078 }
50079 if (_v) {
50080 return _wrap_GFitsTableDoubleCol_real__SWIG_1(self, args);
50081 }
50082 }
50083 }
50084 if (argc == 3) {
50085 int _v;
50086 void *vptr = 0;
50087 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableDoubleCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[25
], 0, 0)
;
50088 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
50089 if (_v) {
50090 {
50091 int res = SWIG_AsVal_int(argv[1], NULL__null);
50092 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
50093 }
50094 if (_v) {
50095 {
50096 int res = SWIG_AsVal_int(argv[2], NULL__null);
50097 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
50098 }
50099 if (_v) {
50100 return _wrap_GFitsTableDoubleCol_real__SWIG_0(self, args);
50101 }
50102 }
50103 }
50104 }
50105
50106fail:
50107 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableDoubleCol_real'.\n"
50108 " Possible C/C++ prototypes are:\n"
50109 " GFitsTableDoubleCol::real(int const &,int const &) const\n"
50110 " GFitsTableDoubleCol::real(int const &) const\n");
50111 return 0;
50112}
50113
50114
50115SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableDoubleCol_integer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
50116 PyObject *resultobj = 0;
50117 GFitsTableDoubleCol *arg1 = (GFitsTableDoubleCol *) 0 ;
50118 int *arg2 = 0 ;
50119 int *arg3 = 0 ;
50120 void *argp1 = 0 ;
50121 int res1 = 0 ;
50122 int temp2 ;
50123 int val2 ;
50124 int ecode2 = 0 ;
50125 int temp3 ;
50126 int val3 ;
50127 int ecode3 = 0 ;
50128 PyObject * obj0 = 0 ;
50129 PyObject * obj1 = 0 ;
50130 PyObject * obj2 = 0 ;
50131 int result;
50132
50133 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableDoubleCol_integer",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
50134 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableDoubleCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0 | 0, 0)
;
50135 if (!SWIG_IsOK(res1)(res1 >= 0)) {
50136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableDoubleCol_integer" "', argument " "1"" of type '" "GFitsTableDoubleCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableDoubleCol_integer"
"', argument " "1"" of type '" "GFitsTableDoubleCol const *"
"'"); goto fail; } while(0)
;
50137 }
50138 arg1 = reinterpret_cast< GFitsTableDoubleCol * >(argp1);
50139 ecode2 = SWIG_AsVal_int(obj1, &val2);
50140 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
50141 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableDoubleCol_integer" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableDoubleCol_integer"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
50142 }
50143 temp2 = static_cast< int >(val2);
50144 arg2 = &temp2;
50145 ecode3 = SWIG_AsVal_int(obj2, &val3);
50146 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
50147 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableDoubleCol_integer" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableDoubleCol_integer"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
50148 }
50149 temp3 = static_cast< int >(val3);
50150 arg3 = &temp3;
50151 {
50152 try {
50153 result = (int)((GFitsTableDoubleCol const *)arg1)->integer((int const &)*arg2,(int const &)*arg3);
50154 }
50155 catch (const GException::out_of_range& e) {
50156 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
50157 }
50158 catch (const GExceptionHandler& e) {
50159 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
50160 }
50161 catch (const std::exception& e) {
50162 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
50163 }
50164 }
50165 resultobj = SWIG_From_int(static_cast< int >(result));
50166 return resultobj;
50167fail:
50168 return NULL__null;
50169}
50170
50171
50172SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableDoubleCol_integer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
50173 PyObject *resultobj = 0;
50174 GFitsTableDoubleCol *arg1 = (GFitsTableDoubleCol *) 0 ;
50175 int *arg2 = 0 ;
50176 void *argp1 = 0 ;
50177 int res1 = 0 ;
50178 int temp2 ;
50179 int val2 ;
50180 int ecode2 = 0 ;
50181 PyObject * obj0 = 0 ;
50182 PyObject * obj1 = 0 ;
50183 int result;
50184
50185 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableDoubleCol_integer",&obj0,&obj1)) SWIG_failgoto fail;
50186 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableDoubleCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0 | 0, 0)
;
50187 if (!SWIG_IsOK(res1)(res1 >= 0)) {
50188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableDoubleCol_integer" "', argument " "1"" of type '" "GFitsTableDoubleCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableDoubleCol_integer"
"', argument " "1"" of type '" "GFitsTableDoubleCol const *"
"'"); goto fail; } while(0)
;
50189 }
50190 arg1 = reinterpret_cast< GFitsTableDoubleCol * >(argp1);
50191 ecode2 = SWIG_AsVal_int(obj1, &val2);
50192 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
50193 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableDoubleCol_integer" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableDoubleCol_integer"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
50194 }
50195 temp2 = static_cast< int >(val2);
50196 arg2 = &temp2;
50197 {
50198 try {
50199 result = (int)((GFitsTableDoubleCol const *)arg1)->integer((int const &)*arg2);
50200 }
50201 catch (const GException::out_of_range& e) {
50202 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
50203 }
50204 catch (const GExceptionHandler& e) {
50205 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
50206 }
50207 catch (const std::exception& e) {
50208 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
50209 }
50210 }
50211 resultobj = SWIG_From_int(static_cast< int >(result));
50212 return resultobj;
50213fail:
50214 return NULL__null;
50215}
50216
50217
50218SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableDoubleCol_integer(PyObject *self, PyObject *args) {
50219 int argc;
50220 PyObject *argv[4];
50221 int ii;
50222
50223 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
50224 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
50225 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
50226 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
50227 }
50228 if (argc == 2) {
50229 int _v;
50230 void *vptr = 0;
50231 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableDoubleCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[25
], 0, 0)
;
50232 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
50233 if (_v) {
50234 {
50235 int res = SWIG_AsVal_int(argv[1], NULL__null);
50236 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
50237 }
50238 if (_v) {
50239 return _wrap_GFitsTableDoubleCol_integer__SWIG_1(self, args);
50240 }
50241 }
50242 }
50243 if (argc == 3) {
50244 int _v;
50245 void *vptr = 0;
50246 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableDoubleCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[25
], 0, 0)
;
50247 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
50248 if (_v) {
50249 {
50250 int res = SWIG_AsVal_int(argv[1], NULL__null);
50251 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
50252 }
50253 if (_v) {
50254 {
50255 int res = SWIG_AsVal_int(argv[2], NULL__null);
50256 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
50257 }
50258 if (_v) {
50259 return _wrap_GFitsTableDoubleCol_integer__SWIG_0(self, args);
50260 }
50261 }
50262 }
50263 }
50264
50265fail:
50266 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableDoubleCol_integer'.\n"
50267 " Possible C/C++ prototypes are:\n"
50268 " GFitsTableDoubleCol::integer(int const &,int const &) const\n"
50269 " GFitsTableDoubleCol::integer(int const &) const\n");
50270 return 0;
50271}
50272
50273
50274SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableDoubleCol_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
50275 PyObject *resultobj = 0;
50276 GFitsTableDoubleCol *arg1 = (GFitsTableDoubleCol *) 0 ;
50277 int *arg2 = 0 ;
50278 int *arg3 = 0 ;
50279 void *argp1 = 0 ;
50280 int res1 = 0 ;
50281 int temp2 ;
50282 int val2 ;
50283 int ecode2 = 0 ;
50284 int temp3 ;
50285 int val3 ;
50286 int ecode3 = 0 ;
50287 PyObject * obj0 = 0 ;
50288 PyObject * obj1 = 0 ;
50289 PyObject * obj2 = 0 ;
50290
50291 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableDoubleCol_insert",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
50292 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableDoubleCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0 | 0, 0)
;
50293 if (!SWIG_IsOK(res1)(res1 >= 0)) {
50294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableDoubleCol_insert" "', argument " "1"" of type '" "GFitsTableDoubleCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableDoubleCol_insert"
"', argument " "1"" of type '" "GFitsTableDoubleCol *""'"); goto
fail; } while(0)
;
50295 }
50296 arg1 = reinterpret_cast< GFitsTableDoubleCol * >(argp1);
50297 ecode2 = SWIG_AsVal_int(obj1, &val2);
50298 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
50299 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableDoubleCol_insert" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableDoubleCol_insert"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
50300 }
50301 temp2 = static_cast< int >(val2);
50302 arg2 = &temp2;
50303 ecode3 = SWIG_AsVal_int(obj2, &val3);
50304 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
50305 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableDoubleCol_insert" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableDoubleCol_insert"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
50306 }
50307 temp3 = static_cast< int >(val3);
50308 arg3 = &temp3;
50309 {
50310 try {
50311 (arg1)->insert((int const &)*arg2,(int const &)*arg3);
50312 }
50313 catch (const GException::out_of_range& e) {
50314 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
50315 }
50316 catch (const GExceptionHandler& e) {
50317 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
50318 }
50319 catch (const std::exception& e) {
50320 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
50321 }
50322 }
50323 resultobj = SWIG_Py_Void();
50324 return resultobj;
50325fail:
50326 return NULL__null;
50327}
50328
50329
50330SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableDoubleCol_remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
50331 PyObject *resultobj = 0;
50332 GFitsTableDoubleCol *arg1 = (GFitsTableDoubleCol *) 0 ;
50333 int *arg2 = 0 ;
50334 int *arg3 = 0 ;
50335 void *argp1 = 0 ;
50336 int res1 = 0 ;
50337 int temp2 ;
50338 int val2 ;
50339 int ecode2 = 0 ;
50340 int temp3 ;
50341 int val3 ;
50342 int ecode3 = 0 ;
50343 PyObject * obj0 = 0 ;
50344 PyObject * obj1 = 0 ;
50345 PyObject * obj2 = 0 ;
50346
50347 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableDoubleCol_remove",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
50348 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableDoubleCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0 | 0, 0)
;
50349 if (!SWIG_IsOK(res1)(res1 >= 0)) {
50350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableDoubleCol_remove" "', argument " "1"" of type '" "GFitsTableDoubleCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableDoubleCol_remove"
"', argument " "1"" of type '" "GFitsTableDoubleCol *""'"); goto
fail; } while(0)
;
50351 }
50352 arg1 = reinterpret_cast< GFitsTableDoubleCol * >(argp1);
50353 ecode2 = SWIG_AsVal_int(obj1, &val2);
50354 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
50355 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableDoubleCol_remove" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableDoubleCol_remove"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
50356 }
50357 temp2 = static_cast< int >(val2);
50358 arg2 = &temp2;
50359 ecode3 = SWIG_AsVal_int(obj2, &val3);
50360 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
50361 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableDoubleCol_remove" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableDoubleCol_remove"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
50362 }
50363 temp3 = static_cast< int >(val3);
50364 arg3 = &temp3;
50365 {
50366 try {
50367 (arg1)->remove((int const &)*arg2,(int const &)*arg3);
50368 }
50369 catch (const GException::out_of_range& e) {
50370 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
50371 }
50372 catch (const GExceptionHandler& e) {
50373 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
50374 }
50375 catch (const std::exception& e) {
50376 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
50377 }
50378 }
50379 resultobj = SWIG_Py_Void();
50380 return resultobj;
50381fail:
50382 return NULL__null;
50383}
50384
50385
50386SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableDoubleCol_isloaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
50387 PyObject *resultobj = 0;
50388 GFitsTableDoubleCol *arg1 = (GFitsTableDoubleCol *) 0 ;
50389 void *argp1 = 0 ;
50390 int res1 = 0 ;
50391 PyObject * obj0 = 0 ;
50392 bool result;
50393
50394 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableDoubleCol_isloaded",&obj0)) SWIG_failgoto fail;
50395 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableDoubleCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0 | 0, 0)
;
50396 if (!SWIG_IsOK(res1)(res1 >= 0)) {
50397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableDoubleCol_isloaded" "', argument " "1"" of type '" "GFitsTableDoubleCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableDoubleCol_isloaded"
"', argument " "1"" of type '" "GFitsTableDoubleCol const *"
"'"); goto fail; } while(0)
;
50398 }
50399 arg1 = reinterpret_cast< GFitsTableDoubleCol * >(argp1);
50400 {
50401 try {
50402 result = (bool)((GFitsTableDoubleCol const *)arg1)->isloaded();
50403 }
50404 catch (const GException::out_of_range& e) {
50405 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
50406 }
50407 catch (const GExceptionHandler& e) {
50408 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
50409 }
50410 catch (const std::exception& e) {
50411 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
50412 }
50413 }
50414 resultobj = SWIG_From_bool(static_cast< bool >(result));
50415 return resultobj;
50416fail:
50417 return NULL__null;
50418}
50419
50420
50421SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableDoubleCol_data(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
50422 PyObject *resultobj = 0;
50423 GFitsTableDoubleCol *arg1 = (GFitsTableDoubleCol *) 0 ;
50424 void *argp1 = 0 ;
50425 int res1 = 0 ;
50426 PyObject * obj0 = 0 ;
50427 double *result = 0 ;
50428
50429 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableDoubleCol_data",&obj0)) SWIG_failgoto fail;
50430 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableDoubleCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0 | 0, 0)
;
50431 if (!SWIG_IsOK(res1)(res1 >= 0)) {
50432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableDoubleCol_data" "', argument " "1"" of type '" "GFitsTableDoubleCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableDoubleCol_data" "', argument "
"1"" of type '" "GFitsTableDoubleCol *""'"); goto fail; } while
(0)
;
50433 }
50434 arg1 = reinterpret_cast< GFitsTableDoubleCol * >(argp1);
50435 {
50436 try {
50437 result = (double *)(arg1)->data();
50438 }
50439 catch (const GException::out_of_range& e) {
50440 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
50441 }
50442 catch (const GExceptionHandler& e) {
50443 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
50444 }
50445 catch (const std::exception& e) {
50446 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
50447 }
50448 }
50449 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[39], 0
| 0)
;
50450 return resultobj;
50451fail:
50452 return NULL__null;
50453}
50454
50455
50456SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableDoubleCol_nulval__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
50457 PyObject *resultobj = 0;
50458 GFitsTableDoubleCol *arg1 = (GFitsTableDoubleCol *) 0 ;
50459 double *arg2 = (double *) 0 ;
50460 void *argp1 = 0 ;
50461 int res1 = 0 ;
50462 void *argp2 = 0 ;
50463 int res2 = 0 ;
50464 PyObject * obj0 = 0 ;
50465 PyObject * obj1 = 0 ;
50466
50467 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableDoubleCol_nulval",&obj0,&obj1)) SWIG_failgoto fail;
50468 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableDoubleCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0 | 0, 0)
;
50469 if (!SWIG_IsOK(res1)(res1 >= 0)) {
50470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableDoubleCol_nulval" "', argument " "1"" of type '" "GFitsTableDoubleCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableDoubleCol_nulval"
"', argument " "1"" of type '" "GFitsTableDoubleCol *""'"); goto
fail; } while(0)
;
50471 }
50472 arg1 = reinterpret_cast< GFitsTableDoubleCol * >(argp1);
50473 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_double, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[39]
, 0 | 0, 0)
;
50474 if (!SWIG_IsOK(res2)(res2 >= 0)) {
50475 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsTableDoubleCol_nulval" "', argument " "2"" of type '" "double const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsTableDoubleCol_nulval"
"', argument " "2"" of type '" "double const *""'"); goto fail
; } while(0)
;
50476 }
50477 arg2 = reinterpret_cast< double * >(argp2);
50478 {
50479 try {
50480 (arg1)->nulval((double const *)arg2);
50481 }
50482 catch (const GException::out_of_range& e) {
50483 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
50484 }
50485 catch (const GExceptionHandler& e) {
50486 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
50487 }
50488 catch (const std::exception& e) {
50489 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
50490 }
50491 }
50492 resultobj = SWIG_Py_Void();
50493 return resultobj;
50494fail:
50495 return NULL__null;
50496}
50497
50498
50499SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableDoubleCol_nulval__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
50500 PyObject *resultobj = 0;
50501 GFitsTableDoubleCol *arg1 = (GFitsTableDoubleCol *) 0 ;
50502 void *argp1 = 0 ;
50503 int res1 = 0 ;
50504 PyObject * obj0 = 0 ;
50505 double *result = 0 ;
50506
50507 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableDoubleCol_nulval",&obj0)) SWIG_failgoto fail;
50508 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableDoubleCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0 | 0, 0)
;
50509 if (!SWIG_IsOK(res1)(res1 >= 0)) {
50510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableDoubleCol_nulval" "', argument " "1"" of type '" "GFitsTableDoubleCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableDoubleCol_nulval"
"', argument " "1"" of type '" "GFitsTableDoubleCol *""'"); goto
fail; } while(0)
;
50511 }
50512 arg1 = reinterpret_cast< GFitsTableDoubleCol * >(argp1);
50513 {
50514 try {
50515 result = (double *)(arg1)->nulval();
50516 }
50517 catch (const GException::out_of_range& e) {
50518 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
50519 }
50520 catch (const GExceptionHandler& e) {
50521 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
50522 }
50523 catch (const std::exception& e) {
50524 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
50525 }
50526 }
50527 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[39], 0
| 0)
;
50528 return resultobj;
50529fail:
50530 return NULL__null;
50531}
50532
50533
50534SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableDoubleCol_nulval(PyObject *self, PyObject *args) {
50535 int argc;
50536 PyObject *argv[3];
50537 int ii;
50538
50539 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
50540 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
50541 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
50542 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
50543 }
50544 if (argc == 1) {
50545 int _v;
50546 void *vptr = 0;
50547 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableDoubleCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[25
], 0, 0)
;
50548 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
50549 if (_v) {
50550 return _wrap_GFitsTableDoubleCol_nulval__SWIG_1(self, args);
50551 }
50552 }
50553 if (argc == 2) {
50554 int _v;
50555 void *vptr = 0;
50556 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableDoubleCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[25
], 0, 0)
;
50557 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
50558 if (_v) {
50559 void *vptr = 0;
50560 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_double, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[39
], 0, 0)
;
50561 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
50562 if (_v) {
50563 return _wrap_GFitsTableDoubleCol_nulval__SWIG_0(self, args);
50564 }
50565 }
50566 }
50567
50568fail:
50569 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableDoubleCol_nulval'.\n"
50570 " Possible C/C++ prototypes are:\n"
50571 " GFitsTableDoubleCol::nulval(double const *)\n"
50572 " GFitsTableDoubleCol::nulval()\n");
50573 return 0;
50574}
50575
50576
50577SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableDoubleCol___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
50578 PyObject *resultobj = 0;
50579 GFitsTableDoubleCol *arg1 = (GFitsTableDoubleCol *) 0 ;
50580 int *arg2 ;
50581 void *argp1 = 0 ;
50582 int res1 = 0 ;
50583 int temp2[3] ;
50584 PyObject * obj0 = 0 ;
50585 PyObject * obj1 = 0 ;
50586 double result;
50587
50588 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableDoubleCol___getitem__",&obj0,&obj1)) SWIG_failgoto fail;
50589 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableDoubleCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0 | 0, 0)
;
50590 if (!SWIG_IsOK(res1)(res1 >= 0)) {
50591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableDoubleCol___getitem__" "', argument " "1"" of type '" "GFitsTableDoubleCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableDoubleCol___getitem__"
"', argument " "1"" of type '" "GFitsTableDoubleCol *""'"); goto
fail; } while(0)
;
50592 }
50593 arg1 = reinterpret_cast< GFitsTableDoubleCol * >(argp1);
50594 {
50595 if (!table_column_tuple(obj1,temp2)) {
50596 return NULL__null;
50597 }
50598 arg2 = &temp2[0];
50599 }
50600 {
50601 try {
50602 result = (double)GFitsTableDoubleCol___getitem__(arg1,arg2);
50603 }
50604 catch (const GException::out_of_range& e) {
50605 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
50606 }
50607 catch (const GExceptionHandler& e) {
50608 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
50609 }
50610 catch (const std::exception& e) {
50611 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
50612 }
50613 }
50614 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
50615 return resultobj;
50616fail:
50617 return NULL__null;
50618}
50619
50620
50621SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableDoubleCol___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
50622 PyObject *resultobj = 0;
50623 GFitsTableDoubleCol *arg1 = (GFitsTableDoubleCol *) 0 ;
50624 int *arg2 ;
50625 double arg3 ;
50626 void *argp1 = 0 ;
50627 int res1 = 0 ;
50628 int temp2[3] ;
50629 double val3 ;
50630 int ecode3 = 0 ;
50631 PyObject * obj0 = 0 ;
50632 PyObject * obj1 = 0 ;
50633 PyObject * obj2 = 0 ;
50634
50635 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableDoubleCol___setitem__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
50636 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableDoubleCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0 | 0, 0)
;
50637 if (!SWIG_IsOK(res1)(res1 >= 0)) {
50638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableDoubleCol___setitem__" "', argument " "1"" of type '" "GFitsTableDoubleCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableDoubleCol___setitem__"
"', argument " "1"" of type '" "GFitsTableDoubleCol *""'"); goto
fail; } while(0)
;
50639 }
50640 arg1 = reinterpret_cast< GFitsTableDoubleCol * >(argp1);
50641 {
50642 if (!table_column_tuple(obj1,temp2)) {
50643 return NULL__null;
50644 }
50645 arg2 = &temp2[0];
50646 }
50647 ecode3 = SWIG_AsVal_double(obj2, &val3);
50648 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
50649 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableDoubleCol___setitem__" "', argument " "3"" of type '" "double""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableDoubleCol___setitem__"
"', argument " "3"" of type '" "double""'"); goto fail; } while
(0)
;
50650 }
50651 arg3 = static_cast< double >(val3);
50652 {
50653 try {
50654 GFitsTableDoubleCol___setitem__(arg1,arg2,arg3);
50655 }
50656 catch (const GException::out_of_range& e) {
50657 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
50658 }
50659 catch (const GExceptionHandler& e) {
50660 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
50661 }
50662 catch (const std::exception& e) {
50663 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
50664 }
50665 }
50666 resultobj = SWIG_Py_Void();
50667 return resultobj;
50668fail:
50669 return NULL__null;
50670}
50671
50672
50673SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableDoubleCol_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
50674 PyObject *resultobj = 0;
50675 GFitsTableDoubleCol *arg1 = (GFitsTableDoubleCol *) 0 ;
50676 void *argp1 = 0 ;
50677 int res1 = 0 ;
50678 PyObject * obj0 = 0 ;
50679 GFitsTableDoubleCol result;
50680
50681 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableDoubleCol_copy",&obj0)) SWIG_failgoto fail;
50682 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableDoubleCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[25]
, 0 | 0, 0)
;
50683 if (!SWIG_IsOK(res1)(res1 >= 0)) {
50684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableDoubleCol_copy" "', argument " "1"" of type '" "GFitsTableDoubleCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableDoubleCol_copy" "', argument "
"1"" of type '" "GFitsTableDoubleCol *""'"); goto fail; } while
(0)
;
50685 }
50686 arg1 = reinterpret_cast< GFitsTableDoubleCol * >(argp1);
50687 {
50688 try {
50689 result = GFitsTableDoubleCol_copy(arg1);
50690 }
50691 catch (const GException::out_of_range& e) {
50692 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
50693 }
50694 catch (const GExceptionHandler& e) {
50695 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
50696 }
50697 catch (const std::exception& e) {
50698 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
50699 }
50700 }
50701 resultobj = SWIG_NewPointerObj((new GFitsTableDoubleCol(static_cast< const GFitsTableDoubleCol& >(result))), SWIGTYPE_p_GFitsTableDoubleCol, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GFitsTableDoubleCol(static_cast
< const GFitsTableDoubleCol& >(result))), swig_types
[25], 0x1 | 0)
;
50702 return resultobj;
50703fail:
50704 return NULL__null;
50705}
50706
50707
50708SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GFitsTableDoubleCol_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
50709 PyObject *obj;
50710 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
50711 SWIG_TypeNewClientData(SWIGTYPE_p_GFitsTableDoubleColswig_types[25], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
50712 return SWIG_Py_Void();
50713}
50714
50715SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableCFloatCol__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
50716 PyObject *resultobj = 0;
50717 GFitsTableCFloatCol *result = 0 ;
50718
50719 if (!PyArg_ParseTuple(args,(char *)":new_GFitsTableCFloatCol")) SWIG_failgoto fail;
50720 {
50721 try {
50722 result = (GFitsTableCFloatCol *)new GFitsTableCFloatCol();
50723 }
50724 catch (const GException::out_of_range& e) {
50725 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
50726 }
50727 catch (const GExceptionHandler& e) {
50728 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
50729 }
50730 catch (const std::exception& e) {
50731 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
50732 }
50733 }
50734 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableCFloatCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[23], (
(0x1 << 1) | 0x1) | 0)
;
50735 return resultobj;
50736fail:
50737 return NULL__null;
50738}
50739
50740
50741SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableCFloatCol__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
50742 PyObject *resultobj = 0;
50743 std::string *arg1 = 0 ;
50744 int *arg2 = 0 ;
50745 int *arg3 = 0 ;
50746 int res1 = SWIG_OLDOBJ((0)) ;
50747 int temp2 ;
50748 int val2 ;
50749 int ecode2 = 0 ;
50750 int temp3 ;
50751 int val3 ;
50752 int ecode3 = 0 ;
50753 PyObject * obj0 = 0 ;
50754 PyObject * obj1 = 0 ;
50755 PyObject * obj2 = 0 ;
50756 GFitsTableCFloatCol *result = 0 ;
50757
50758 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GFitsTableCFloatCol",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
50759 {
50760 std::string *ptr = (std::string *)0;
50761 res1 = SWIG_AsPtr_std_string(obj0, &ptr);
50762 if (!SWIG_IsOK(res1)(res1 >= 0)) {
50763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsTableCFloatCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsTableCFloatCol" "', argument "
"1"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
50764 }
50765 if (!ptr) {
50766 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsTableCFloatCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsTableCFloatCol" "', argument " "1"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
50767 }
50768 arg1 = ptr;
50769 }
50770 ecode2 = SWIG_AsVal_int(obj1, &val2);
50771 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
50772 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsTableCFloatCol" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsTableCFloatCol"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
50773 }
50774 temp2 = static_cast< int >(val2);
50775 arg2 = &temp2;
50776 ecode3 = SWIG_AsVal_int(obj2, &val3);
50777 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
50778 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsTableCFloatCol" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsTableCFloatCol"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
50779 }
50780 temp3 = static_cast< int >(val3);
50781 arg3 = &temp3;
50782 {
50783 try {
50784 result = (GFitsTableCFloatCol *)new GFitsTableCFloatCol((std::string const &)*arg1,(int const &)*arg2,(int const &)*arg3);
50785 }
50786 catch (const GException::out_of_range& e) {
50787 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
50788 }
50789 catch (const GExceptionHandler& e) {
50790 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
50791 }
50792 catch (const std::exception& e) {
50793 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
50794 }
50795 }
50796 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableCFloatCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[23], (
(0x1 << 1) | 0x1) | 0)
;
50797 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
50798 return resultobj;
50799fail:
50800 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
50801 return NULL__null;
50802}
50803
50804
50805SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableCFloatCol__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
50806 PyObject *resultobj = 0;
50807 std::string *arg1 = 0 ;
50808 int *arg2 = 0 ;
50809 int res1 = SWIG_OLDOBJ((0)) ;
50810 int temp2 ;
50811 int val2 ;
50812 int ecode2 = 0 ;
50813 PyObject * obj0 = 0 ;
50814 PyObject * obj1 = 0 ;
50815 GFitsTableCFloatCol *result = 0 ;
50816
50817 if (!PyArg_ParseTuple(args,(char *)"OO:new_GFitsTableCFloatCol",&obj0,&obj1)) SWIG_failgoto fail;
50818 {
50819 std::string *ptr = (std::string *)0;
50820 res1 = SWIG_AsPtr_std_string(obj0, &ptr);
50821 if (!SWIG_IsOK(res1)(res1 >= 0)) {
50822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsTableCFloatCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsTableCFloatCol" "', argument "
"1"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
50823 }
50824 if (!ptr) {
50825 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsTableCFloatCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsTableCFloatCol" "', argument " "1"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
50826 }
50827 arg1 = ptr;
50828 }
50829 ecode2 = SWIG_AsVal_int(obj1, &val2);
50830 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
50831 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsTableCFloatCol" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsTableCFloatCol"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
50832 }
50833 temp2 = static_cast< int >(val2);
50834 arg2 = &temp2;
50835 {
50836 try {
50837 result = (GFitsTableCFloatCol *)new GFitsTableCFloatCol((std::string const &)*arg1,(int const &)*arg2);
50838 }
50839 catch (const GException::out_of_range& e) {
50840 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
50841 }
50842 catch (const GExceptionHandler& e) {
50843 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
50844 }
50845 catch (const std::exception& e) {
50846 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
50847 }
50848 }
50849 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableCFloatCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[23], (
(0x1 << 1) | 0x1) | 0)
;
50850 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
50851 return resultobj;
50852fail:
50853 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
50854 return NULL__null;
50855}
50856
50857
50858SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableCFloatCol__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
50859 PyObject *resultobj = 0;
50860 GFitsTableCFloatCol *arg1 = 0 ;
50861 void *argp1 = 0 ;
50862 int res1 = 0 ;
50863 PyObject * obj0 = 0 ;
50864 GFitsTableCFloatCol *result = 0 ;
50865
50866 if (!PyArg_ParseTuple(args,(char *)"O:new_GFitsTableCFloatCol",&obj0)) SWIG_failgoto fail;
50867 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GFitsTableCFloatCol, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[23]
, 0 | 0, 0)
;
50868 if (!SWIG_IsOK(res1)(res1 >= 0)) {
50869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsTableCFloatCol" "', argument " "1"" of type '" "GFitsTableCFloatCol const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsTableCFloatCol" "', argument "
"1"" of type '" "GFitsTableCFloatCol const &""'"); goto fail
; } while(0)
;
50870 }
50871 if (!argp1) {
50872 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsTableCFloatCol" "', argument " "1"" of type '" "GFitsTableCFloatCol const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsTableCFloatCol" "', argument " "1"" of type '"
"GFitsTableCFloatCol const &""'"); goto fail; } while(0)
;
50873 }
50874 arg1 = reinterpret_cast< GFitsTableCFloatCol * >(argp1);
50875 {
50876 try {
50877 result = (GFitsTableCFloatCol *)new GFitsTableCFloatCol((GFitsTableCFloatCol const &)*arg1);
50878 }
50879 catch (const GException::out_of_range& e) {
50880 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
50881 }
50882 catch (const GExceptionHandler& e) {
50883 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
50884 }
50885 catch (const std::exception& e) {
50886 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
50887 }
50888 }
50889 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableCFloatCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[23], (
(0x1 << 1) | 0x1) | 0)
;
50890 return resultobj;
50891fail:
50892 return NULL__null;
50893}
50894
50895
50896SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableCFloatCol(PyObject *self, PyObject *args) {
50897 int argc;
50898 PyObject *argv[4];
50899 int ii;
50900
50901 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
50902 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
50903 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
50904 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
50905 }
50906 if (argc == 0) {
50907 return _wrap_new_GFitsTableCFloatCol__SWIG_0(self, args);
50908 }
50909 if (argc == 1) {
50910 int _v;
50911 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GFitsTableCFloatCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[23], 0, 0
)
;
50912 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
50913 if (_v) {
50914 return _wrap_new_GFitsTableCFloatCol__SWIG_3(self, args);
50915 }
50916 }
50917 if (argc == 2) {
50918 int _v;
50919 int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
50920 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
50921 if (_v) {
50922 {
50923 int res = SWIG_AsVal_int(argv[1], NULL__null);
50924 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
50925 }
50926 if (_v) {
50927 return _wrap_new_GFitsTableCFloatCol__SWIG_2(self, args);
50928 }
50929 }
50930 }
50931 if (argc == 3) {
50932 int _v;
50933 int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
50934 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
50935 if (_v) {
50936 {
50937 int res = SWIG_AsVal_int(argv[1], NULL__null);
50938 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
50939 }
50940 if (_v) {
50941 {
50942 int res = SWIG_AsVal_int(argv[2], NULL__null);
50943 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
50944 }
50945 if (_v) {
50946 return _wrap_new_GFitsTableCFloatCol__SWIG_1(self, args);
50947 }
50948 }
50949 }
50950 }
50951
50952fail:
50953 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GFitsTableCFloatCol'.\n"
50954 " Possible C/C++ prototypes are:\n"
50955 " GFitsTableCFloatCol::GFitsTableCFloatCol()\n"
50956 " GFitsTableCFloatCol::GFitsTableCFloatCol(std::string const &,int const &,int const &)\n"
50957 " GFitsTableCFloatCol::GFitsTableCFloatCol(std::string const &,int const &)\n"
50958 " GFitsTableCFloatCol::GFitsTableCFloatCol(GFitsTableCFloatCol const &)\n");
50959 return 0;
50960}
50961
50962
50963SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GFitsTableCFloatCol(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
50964 PyObject *resultobj = 0;
50965 GFitsTableCFloatCol *arg1 = (GFitsTableCFloatCol *) 0 ;
50966 void *argp1 = 0 ;
50967 int res1 = 0 ;
50968 PyObject * obj0 = 0 ;
50969
50970 if (!PyArg_ParseTuple(args,(char *)"O:delete_GFitsTableCFloatCol",&obj0)) SWIG_failgoto fail;
50971 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCFloatCol, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[23]
, 0x1 | 0, 0)
;
50972 if (!SWIG_IsOK(res1)(res1 >= 0)) {
50973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GFitsTableCFloatCol" "', argument " "1"" of type '" "GFitsTableCFloatCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GFitsTableCFloatCol"
"', argument " "1"" of type '" "GFitsTableCFloatCol *""'"); goto
fail; } while(0)
;
50974 }
50975 arg1 = reinterpret_cast< GFitsTableCFloatCol * >(argp1);
50976 {
50977 try {
50978 delete arg1;
50979 }
50980 catch (const GException::out_of_range& e) {
50981 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
50982 }
50983 catch (const GExceptionHandler& e) {
50984 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
50985 }
50986 catch (const std::exception& e) {
50987 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
50988 }
50989 }
50990 resultobj = SWIG_Py_Void();
50991 return resultobj;
50992fail:
50993 return NULL__null;
50994}
50995
50996
50997SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCFloatCol_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
50998 PyObject *resultobj = 0;
50999 GFitsTableCFloatCol *arg1 = (GFitsTableCFloatCol *) 0 ;
51000 void *argp1 = 0 ;
51001 int res1 = 0 ;
51002 PyObject * obj0 = 0 ;
51003
51004 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableCFloatCol_clear",&obj0)) SWIG_failgoto fail;
51005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCFloatCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[23]
, 0 | 0, 0)
;
51006 if (!SWIG_IsOK(res1)(res1 >= 0)) {
51007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCFloatCol_clear" "', argument " "1"" of type '" "GFitsTableCFloatCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCFloatCol_clear"
"', argument " "1"" of type '" "GFitsTableCFloatCol *""'"); goto
fail; } while(0)
;
51008 }
51009 arg1 = reinterpret_cast< GFitsTableCFloatCol * >(argp1);
51010 {
51011 try {
51012 (arg1)->clear();
51013 }
51014 catch (const GException::out_of_range& e) {
51015 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
51016 }
51017 catch (const GExceptionHandler& e) {
51018 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
51019 }
51020 catch (const std::exception& e) {
51021 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
51022 }
51023 }
51024 resultobj = SWIG_Py_Void();
51025 return resultobj;
51026fail:
51027 return NULL__null;
51028}
51029
51030
51031SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCFloatCol_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
51032 PyObject *resultobj = 0;
51033 GFitsTableCFloatCol *arg1 = (GFitsTableCFloatCol *) 0 ;
51034 void *argp1 = 0 ;
51035 int res1 = 0 ;
51036 PyObject * obj0 = 0 ;
51037 GFitsTableCFloatCol *result = 0 ;
51038
51039 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableCFloatCol_clone",&obj0)) SWIG_failgoto fail;
51040 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCFloatCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[23]
, 0 | 0, 0)
;
51041 if (!SWIG_IsOK(res1)(res1 >= 0)) {
51042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCFloatCol_clone" "', argument " "1"" of type '" "GFitsTableCFloatCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCFloatCol_clone"
"', argument " "1"" of type '" "GFitsTableCFloatCol const *"
"'"); goto fail; } while(0)
;
51043 }
51044 arg1 = reinterpret_cast< GFitsTableCFloatCol * >(argp1);
51045 {
51046 try {
51047 result = (GFitsTableCFloatCol *)((GFitsTableCFloatCol const *)arg1)->clone();
51048 }
51049 catch (const GException::out_of_range& e) {
51050 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
51051 }
51052 catch (const GExceptionHandler& e) {
51053 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
51054 }
51055 catch (const std::exception& e) {
51056 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
51057 }
51058 }
51059 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableCFloatCol, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[23], 0
| 0)
;
51060 return resultobj;
51061fail:
51062 return NULL__null;
51063}
51064
51065
51066SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCFloatCol_string__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
51067 PyObject *resultobj = 0;
51068 GFitsTableCFloatCol *arg1 = (GFitsTableCFloatCol *) 0 ;
51069 int *arg2 = 0 ;
51070 int *arg3 = 0 ;
51071 void *argp1 = 0 ;
51072 int res1 = 0 ;
51073 int temp2 ;
51074 int val2 ;
51075 int ecode2 = 0 ;
51076 int temp3 ;
51077 int val3 ;
51078 int ecode3 = 0 ;
51079 PyObject * obj0 = 0 ;
51080 PyObject * obj1 = 0 ;
51081 PyObject * obj2 = 0 ;
51082 std::string result;
51083
51084 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableCFloatCol_string",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
51085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCFloatCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[23]
, 0 | 0, 0)
;
51086 if (!SWIG_IsOK(res1)(res1 >= 0)) {
51087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCFloatCol_string" "', argument " "1"" of type '" "GFitsTableCFloatCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCFloatCol_string"
"', argument " "1"" of type '" "GFitsTableCFloatCol const *"
"'"); goto fail; } while(0)
;
51088 }
51089 arg1 = reinterpret_cast< GFitsTableCFloatCol * >(argp1);
51090 ecode2 = SWIG_AsVal_int(obj1, &val2);
51091 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
51092 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableCFloatCol_string" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableCFloatCol_string"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
51093 }
51094 temp2 = static_cast< int >(val2);
51095 arg2 = &temp2;
51096 ecode3 = SWIG_AsVal_int(obj2, &val3);
51097 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
51098 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableCFloatCol_string" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableCFloatCol_string"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
51099 }
51100 temp3 = static_cast< int >(val3);
51101 arg3 = &temp3;
51102 {
51103 try {
51104 result = ((GFitsTableCFloatCol const *)arg1)->string((int const &)*arg2,(int const &)*arg3);
51105 }
51106 catch (const GException::out_of_range& e) {
51107 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
51108 }
51109 catch (const GExceptionHandler& e) {
51110 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
51111 }
51112 catch (const std::exception& e) {
51113 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
51114 }
51115 }
51116 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
51117 return resultobj;
51118fail:
51119 return NULL__null;
51120}
51121
51122
51123SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCFloatCol_string__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
51124 PyObject *resultobj = 0;
51125 GFitsTableCFloatCol *arg1 = (GFitsTableCFloatCol *) 0 ;
51126 int *arg2 = 0 ;
51127 void *argp1 = 0 ;
51128 int res1 = 0 ;
51129 int temp2 ;
51130 int val2 ;
51131 int ecode2 = 0 ;
51132 PyObject * obj0 = 0 ;
51133 PyObject * obj1 = 0 ;
51134 std::string result;
51135
51136 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableCFloatCol_string",&obj0,&obj1)) SWIG_failgoto fail;
51137 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCFloatCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[23]
, 0 | 0, 0)
;
51138 if (!SWIG_IsOK(res1)(res1 >= 0)) {
51139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCFloatCol_string" "', argument " "1"" of type '" "GFitsTableCFloatCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCFloatCol_string"
"', argument " "1"" of type '" "GFitsTableCFloatCol const *"
"'"); goto fail; } while(0)
;
51140 }
51141 arg1 = reinterpret_cast< GFitsTableCFloatCol * >(argp1);
51142 ecode2 = SWIG_AsVal_int(obj1, &val2);
51143 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
51144 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableCFloatCol_string" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableCFloatCol_string"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
51145 }
51146 temp2 = static_cast< int >(val2);
51147 arg2 = &temp2;
51148 {
51149 try {
51150 result = ((GFitsTableCFloatCol const *)arg1)->string((int const &)*arg2);
51151 }
51152 catch (const GException::out_of_range& e) {
51153 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
51154 }
51155 catch (const GExceptionHandler& e) {
51156 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
51157 }
51158 catch (const std::exception& e) {
51159 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
51160 }
51161 }
51162 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
51163 return resultobj;
51164fail:
51165 return NULL__null;
51166}
51167
51168
51169SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCFloatCol_string(PyObject *self, PyObject *args) {
51170 int argc;
51171 PyObject *argv[4];
51172 int ii;
51173
51174 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
51175 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
51176 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
51177 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
51178 }
51179 if (argc == 2) {
51180 int _v;
51181 void *vptr = 0;
51182 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCFloatCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[23
], 0, 0)
;
51183 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
51184 if (_v) {
51185 {
51186 int res = SWIG_AsVal_int(argv[1], NULL__null);
51187 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
51188 }
51189 if (_v) {
51190 return _wrap_GFitsTableCFloatCol_string__SWIG_1(self, args);
51191 }
51192 }
51193 }
51194 if (argc == 3) {
51195 int _v;
51196 void *vptr = 0;
51197 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCFloatCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[23
], 0, 0)
;
51198 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
51199 if (_v) {
51200 {
51201 int res = SWIG_AsVal_int(argv[1], NULL__null);
51202 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
51203 }
51204 if (_v) {
51205 {
51206 int res = SWIG_AsVal_int(argv[2], NULL__null);
51207 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
51208 }
51209 if (_v) {
51210 return _wrap_GFitsTableCFloatCol_string__SWIG_0(self, args);
51211 }
51212 }
51213 }
51214 }
51215
51216fail:
51217 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableCFloatCol_string'.\n"
51218 " Possible C/C++ prototypes are:\n"
51219 " GFitsTableCFloatCol::string(int const &,int const &) const\n"
51220 " GFitsTableCFloatCol::string(int const &) const\n");
51221 return 0;
51222}
51223
51224
51225SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCFloatCol_real__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
51226 PyObject *resultobj = 0;
51227 GFitsTableCFloatCol *arg1 = (GFitsTableCFloatCol *) 0 ;
51228 int *arg2 = 0 ;
51229 int *arg3 = 0 ;
51230 void *argp1 = 0 ;
51231 int res1 = 0 ;
51232 int temp2 ;
51233 int val2 ;
51234 int ecode2 = 0 ;
51235 int temp3 ;
51236 int val3 ;
51237 int ecode3 = 0 ;
51238 PyObject * obj0 = 0 ;
51239 PyObject * obj1 = 0 ;
51240 PyObject * obj2 = 0 ;
51241 double result;
51242
51243 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableCFloatCol_real",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
51244 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCFloatCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[23]
, 0 | 0, 0)
;
51245 if (!SWIG_IsOK(res1)(res1 >= 0)) {
51246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCFloatCol_real" "', argument " "1"" of type '" "GFitsTableCFloatCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCFloatCol_real" "', argument "
"1"" of type '" "GFitsTableCFloatCol const *""'"); goto fail
; } while(0)
;
51247 }
51248 arg1 = reinterpret_cast< GFitsTableCFloatCol * >(argp1);
51249 ecode2 = SWIG_AsVal_int(obj1, &val2);
51250 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
51251 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableCFloatCol_real" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableCFloatCol_real"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
51252 }
51253 temp2 = static_cast< int >(val2);
51254 arg2 = &temp2;
51255 ecode3 = SWIG_AsVal_int(obj2, &val3);
51256 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
51257 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableCFloatCol_real" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableCFloatCol_real"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
51258 }
51259 temp3 = static_cast< int >(val3);
51260 arg3 = &temp3;
51261 {
51262 try {
51263 result = (double)((GFitsTableCFloatCol const *)arg1)->real((int const &)*arg2,(int const &)*arg3);
51264 }
51265 catch (const GException::out_of_range& e) {
51266 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
51267 }
51268 catch (const GExceptionHandler& e) {
51269 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
51270 }
51271 catch (const std::exception& e) {
51272 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
51273 }
51274 }
51275 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
51276 return resultobj;
51277fail:
51278 return NULL__null;
51279}
51280
51281
51282SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCFloatCol_real__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
51283 PyObject *resultobj = 0;
51284 GFitsTableCFloatCol *arg1 = (GFitsTableCFloatCol *) 0 ;
51285 int *arg2 = 0 ;
51286 void *argp1 = 0 ;
51287 int res1 = 0 ;
51288 int temp2 ;
51289 int val2 ;
51290 int ecode2 = 0 ;
51291 PyObject * obj0 = 0 ;
51292 PyObject * obj1 = 0 ;
51293 double result;
51294
51295 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableCFloatCol_real",&obj0,&obj1)) SWIG_failgoto fail;
51296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCFloatCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[23]
, 0 | 0, 0)
;
51297 if (!SWIG_IsOK(res1)(res1 >= 0)) {
51298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCFloatCol_real" "', argument " "1"" of type '" "GFitsTableCFloatCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCFloatCol_real" "', argument "
"1"" of type '" "GFitsTableCFloatCol const *""'"); goto fail
; } while(0)
;
51299 }
51300 arg1 = reinterpret_cast< GFitsTableCFloatCol * >(argp1);
51301 ecode2 = SWIG_AsVal_int(obj1, &val2);
51302 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
51303 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableCFloatCol_real" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableCFloatCol_real"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
51304 }
51305 temp2 = static_cast< int >(val2);
51306 arg2 = &temp2;
51307 {
51308 try {
51309 result = (double)((GFitsTableCFloatCol const *)arg1)->real((int const &)*arg2);
51310 }
51311 catch (const GException::out_of_range& e) {
51312 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
51313 }
51314 catch (const GExceptionHandler& e) {
51315 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
51316 }
51317 catch (const std::exception& e) {
51318 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
51319 }
51320 }
51321 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
51322 return resultobj;
51323fail:
51324 return NULL__null;
51325}
51326
51327
51328SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCFloatCol_real(PyObject *self, PyObject *args) {
51329 int argc;
51330 PyObject *argv[4];
51331 int ii;
51332
51333 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
51334 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
51335 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
51336 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
51337 }
51338 if (argc == 2) {
51339 int _v;
51340 void *vptr = 0;
51341 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCFloatCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[23
], 0, 0)
;
51342 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
51343 if (_v) {
51344 {
51345 int res = SWIG_AsVal_int(argv[1], NULL__null);
51346 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
51347 }
51348 if (_v) {
51349 return _wrap_GFitsTableCFloatCol_real__SWIG_1(self, args);
51350 }
51351 }
51352 }
51353 if (argc == 3) {
51354 int _v;
51355 void *vptr = 0;
51356 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCFloatCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[23
], 0, 0)
;
51357 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
51358 if (_v) {
51359 {
51360 int res = SWIG_AsVal_int(argv[1], NULL__null);
51361 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
51362 }
51363 if (_v) {
51364 {
51365 int res = SWIG_AsVal_int(argv[2], NULL__null);
51366 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
51367 }
51368 if (_v) {
51369 return _wrap_GFitsTableCFloatCol_real__SWIG_0(self, args);
51370 }
51371 }
51372 }
51373 }
51374
51375fail:
51376 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableCFloatCol_real'.\n"
51377 " Possible C/C++ prototypes are:\n"
51378 " GFitsTableCFloatCol::real(int const &,int const &) const\n"
51379 " GFitsTableCFloatCol::real(int const &) const\n");
51380 return 0;
51381}
51382
51383
51384SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCFloatCol_integer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
51385 PyObject *resultobj = 0;
51386 GFitsTableCFloatCol *arg1 = (GFitsTableCFloatCol *) 0 ;
51387 int *arg2 = 0 ;
51388 int *arg3 = 0 ;
51389 void *argp1 = 0 ;
51390 int res1 = 0 ;
51391 int temp2 ;
51392 int val2 ;
51393 int ecode2 = 0 ;
51394 int temp3 ;
51395 int val3 ;
51396 int ecode3 = 0 ;
51397 PyObject * obj0 = 0 ;
51398 PyObject * obj1 = 0 ;
51399 PyObject * obj2 = 0 ;
51400 int result;
51401
51402 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableCFloatCol_integer",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
51403 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCFloatCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[23]
, 0 | 0, 0)
;
51404 if (!SWIG_IsOK(res1)(res1 >= 0)) {
51405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCFloatCol_integer" "', argument " "1"" of type '" "GFitsTableCFloatCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCFloatCol_integer"
"', argument " "1"" of type '" "GFitsTableCFloatCol const *"
"'"); goto fail; } while(0)
;
51406 }
51407 arg1 = reinterpret_cast< GFitsTableCFloatCol * >(argp1);
51408 ecode2 = SWIG_AsVal_int(obj1, &val2);
51409 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
51410 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableCFloatCol_integer" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableCFloatCol_integer"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
51411 }
51412 temp2 = static_cast< int >(val2);
51413 arg2 = &temp2;
51414 ecode3 = SWIG_AsVal_int(obj2, &val3);
51415 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
51416 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableCFloatCol_integer" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableCFloatCol_integer"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
51417 }
51418 temp3 = static_cast< int >(val3);
51419 arg3 = &temp3;
51420 {
51421 try {
51422 result = (int)((GFitsTableCFloatCol const *)arg1)->integer((int const &)*arg2,(int const &)*arg3);
51423 }
51424 catch (const GException::out_of_range& e) {
51425 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
51426 }
51427 catch (const GExceptionHandler& e) {
51428 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
51429 }
51430 catch (const std::exception& e) {
51431 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
51432 }
51433 }
51434 resultobj = SWIG_From_int(static_cast< int >(result));
51435 return resultobj;
51436fail:
51437 return NULL__null;
51438}
51439
51440
51441SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCFloatCol_integer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
51442 PyObject *resultobj = 0;
51443 GFitsTableCFloatCol *arg1 = (GFitsTableCFloatCol *) 0 ;
51444 int *arg2 = 0 ;
51445 void *argp1 = 0 ;
51446 int res1 = 0 ;
51447 int temp2 ;
51448 int val2 ;
51449 int ecode2 = 0 ;
51450 PyObject * obj0 = 0 ;
51451 PyObject * obj1 = 0 ;
51452 int result;
51453
51454 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableCFloatCol_integer",&obj0,&obj1)) SWIG_failgoto fail;
51455 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCFloatCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[23]
, 0 | 0, 0)
;
51456 if (!SWIG_IsOK(res1)(res1 >= 0)) {
51457 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCFloatCol_integer" "', argument " "1"" of type '" "GFitsTableCFloatCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCFloatCol_integer"
"', argument " "1"" of type '" "GFitsTableCFloatCol const *"
"'"); goto fail; } while(0)
;
51458 }
51459 arg1 = reinterpret_cast< GFitsTableCFloatCol * >(argp1);
51460 ecode2 = SWIG_AsVal_int(obj1, &val2);
51461 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
51462 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableCFloatCol_integer" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableCFloatCol_integer"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
51463 }
51464 temp2 = static_cast< int >(val2);
51465 arg2 = &temp2;
51466 {
51467 try {
51468 result = (int)((GFitsTableCFloatCol const *)arg1)->integer((int const &)*arg2);
51469 }
51470 catch (const GException::out_of_range& e) {
51471 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
51472 }
51473 catch (const GExceptionHandler& e) {
51474 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
51475 }
51476 catch (const std::exception& e) {
51477 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
51478 }
51479 }
51480 resultobj = SWIG_From_int(static_cast< int >(result));
51481 return resultobj;
51482fail:
51483 return NULL__null;
51484}
51485
51486
51487SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCFloatCol_integer(PyObject *self, PyObject *args) {
51488 int argc;
51489 PyObject *argv[4];
51490 int ii;
51491
51492 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
51493 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
51494 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
51495 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
51496 }
51497 if (argc == 2) {
51498 int _v;
51499 void *vptr = 0;
51500 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCFloatCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[23
], 0, 0)
;
51501 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
51502 if (_v) {
51503 {
51504 int res = SWIG_AsVal_int(argv[1], NULL__null);
51505 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
51506 }
51507 if (_v) {
51508 return _wrap_GFitsTableCFloatCol_integer__SWIG_1(self, args);
51509 }
51510 }
51511 }
51512 if (argc == 3) {
51513 int _v;
51514 void *vptr = 0;
51515 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCFloatCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[23
], 0, 0)
;
51516 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
51517 if (_v) {
51518 {
51519 int res = SWIG_AsVal_int(argv[1], NULL__null);
51520 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
51521 }
51522 if (_v) {
51523 {
51524 int res = SWIG_AsVal_int(argv[2], NULL__null);
51525 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
51526 }
51527 if (_v) {
51528 return _wrap_GFitsTableCFloatCol_integer__SWIG_0(self, args);
51529 }
51530 }
51531 }
51532 }
51533
51534fail:
51535 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableCFloatCol_integer'.\n"
51536 " Possible C/C++ prototypes are:\n"
51537 " GFitsTableCFloatCol::integer(int const &,int const &) const\n"
51538 " GFitsTableCFloatCol::integer(int const &) const\n");
51539 return 0;
51540}
51541
51542
51543SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCFloatCol_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
51544 PyObject *resultobj = 0;
51545 GFitsTableCFloatCol *arg1 = (GFitsTableCFloatCol *) 0 ;
51546 int *arg2 = 0 ;
51547 int *arg3 = 0 ;
51548 void *argp1 = 0 ;
51549 int res1 = 0 ;
51550 int temp2 ;
51551 int val2 ;
51552 int ecode2 = 0 ;
51553 int temp3 ;
51554 int val3 ;
51555 int ecode3 = 0 ;
51556 PyObject * obj0 = 0 ;
51557 PyObject * obj1 = 0 ;
51558 PyObject * obj2 = 0 ;
51559
51560 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableCFloatCol_insert",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
51561 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCFloatCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[23]
, 0 | 0, 0)
;
51562 if (!SWIG_IsOK(res1)(res1 >= 0)) {
51563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCFloatCol_insert" "', argument " "1"" of type '" "GFitsTableCFloatCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCFloatCol_insert"
"', argument " "1"" of type '" "GFitsTableCFloatCol *""'"); goto
fail; } while(0)
;
51564 }
51565 arg1 = reinterpret_cast< GFitsTableCFloatCol * >(argp1);
51566 ecode2 = SWIG_AsVal_int(obj1, &val2);
51567 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
51568 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableCFloatCol_insert" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableCFloatCol_insert"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
51569 }
51570 temp2 = static_cast< int >(val2);
51571 arg2 = &temp2;
51572 ecode3 = SWIG_AsVal_int(obj2, &val3);
51573 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
51574 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableCFloatCol_insert" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableCFloatCol_insert"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
51575 }
51576 temp3 = static_cast< int >(val3);
51577 arg3 = &temp3;
51578 {
51579 try {
51580 (arg1)->insert((int const &)*arg2,(int const &)*arg3);
51581 }
51582 catch (const GException::out_of_range& e) {
51583 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
51584 }
51585 catch (const GExceptionHandler& e) {
51586 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
51587 }
51588 catch (const std::exception& e) {
51589 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
51590 }
51591 }
51592 resultobj = SWIG_Py_Void();
51593 return resultobj;
51594fail:
51595 return NULL__null;
51596}
51597
51598
51599SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCFloatCol_remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
51600 PyObject *resultobj = 0;
51601 GFitsTableCFloatCol *arg1 = (GFitsTableCFloatCol *) 0 ;
51602 int *arg2 = 0 ;
51603 int *arg3 = 0 ;
51604 void *argp1 = 0 ;
51605 int res1 = 0 ;
51606 int temp2 ;
51607 int val2 ;
51608 int ecode2 = 0 ;
51609 int temp3 ;
51610 int val3 ;
51611 int ecode3 = 0 ;
51612 PyObject * obj0 = 0 ;
51613 PyObject * obj1 = 0 ;
51614 PyObject * obj2 = 0 ;
51615
51616 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableCFloatCol_remove",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
51617 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCFloatCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[23]
, 0 | 0, 0)
;
51618 if (!SWIG_IsOK(res1)(res1 >= 0)) {
51619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCFloatCol_remove" "', argument " "1"" of type '" "GFitsTableCFloatCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCFloatCol_remove"
"', argument " "1"" of type '" "GFitsTableCFloatCol *""'"); goto
fail; } while(0)
;
51620 }
51621 arg1 = reinterpret_cast< GFitsTableCFloatCol * >(argp1);
51622 ecode2 = SWIG_AsVal_int(obj1, &val2);
51623 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
51624 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableCFloatCol_remove" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableCFloatCol_remove"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
51625 }
51626 temp2 = static_cast< int >(val2);
51627 arg2 = &temp2;
51628 ecode3 = SWIG_AsVal_int(obj2, &val3);
51629 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
51630 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableCFloatCol_remove" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableCFloatCol_remove"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
51631 }
51632 temp3 = static_cast< int >(val3);
51633 arg3 = &temp3;
51634 {
51635 try {
51636 (arg1)->remove((int const &)*arg2,(int const &)*arg3);
51637 }
51638 catch (const GException::out_of_range& e) {
51639 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
51640 }
51641 catch (const GExceptionHandler& e) {
51642 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
51643 }
51644 catch (const std::exception& e) {
51645 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
51646 }
51647 }
51648 resultobj = SWIG_Py_Void();
51649 return resultobj;
51650fail:
51651 return NULL__null;
51652}
51653
51654
51655SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCFloatCol_isloaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
51656 PyObject *resultobj = 0;
51657 GFitsTableCFloatCol *arg1 = (GFitsTableCFloatCol *) 0 ;
51658 void *argp1 = 0 ;
51659 int res1 = 0 ;
51660 PyObject * obj0 = 0 ;
51661 bool result;
51662
51663 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableCFloatCol_isloaded",&obj0)) SWIG_failgoto fail;
51664 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCFloatCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[23]
, 0 | 0, 0)
;
51665 if (!SWIG_IsOK(res1)(res1 >= 0)) {
51666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCFloatCol_isloaded" "', argument " "1"" of type '" "GFitsTableCFloatCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCFloatCol_isloaded"
"', argument " "1"" of type '" "GFitsTableCFloatCol const *"
"'"); goto fail; } while(0)
;
51667 }
51668 arg1 = reinterpret_cast< GFitsTableCFloatCol * >(argp1);
51669 {
51670 try {
51671 result = (bool)((GFitsTableCFloatCol const *)arg1)->isloaded();
51672 }
51673 catch (const GException::out_of_range& e) {
51674 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
51675 }
51676 catch (const GExceptionHandler& e) {
51677 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
51678 }
51679 catch (const std::exception& e) {
51680 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
51681 }
51682 }
51683 resultobj = SWIG_From_bool(static_cast< bool >(result));
51684 return resultobj;
51685fail:
51686 return NULL__null;
51687}
51688
51689
51690SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCFloatCol_data(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
51691 PyObject *resultobj = 0;
51692 GFitsTableCFloatCol *arg1 = (GFitsTableCFloatCol *) 0 ;
51693 void *argp1 = 0 ;
51694 int res1 = 0 ;
51695 PyObject * obj0 = 0 ;
51696 GFits::cfloat *result = 0 ;
51697
51698 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableCFloatCol_data",&obj0)) SWIG_failgoto fail;
51699 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCFloatCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[23]
, 0 | 0, 0)
;
51700 if (!SWIG_IsOK(res1)(res1 >= 0)) {
51701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCFloatCol_data" "', argument " "1"" of type '" "GFitsTableCFloatCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCFloatCol_data" "', argument "
"1"" of type '" "GFitsTableCFloatCol *""'"); goto fail; } while
(0)
;
51702 }
51703 arg1 = reinterpret_cast< GFitsTableCFloatCol * >(argp1);
51704 {
51705 try {
51706 result = (GFits::cfloat *)(arg1)->data();
51707 }
51708 catch (const GException::out_of_range& e) {
51709 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
51710 }
51711 catch (const GExceptionHandler& e) {
51712 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
51713 }
51714 catch (const std::exception& e) {
51715 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
51716 }
51717 }
51718 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFits__cfloat, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[34], 0
| 0)
;
51719 return resultobj;
51720fail:
51721 return NULL__null;
51722}
51723
51724
51725SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCFloatCol_nulval__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
51726 PyObject *resultobj = 0;
51727 GFitsTableCFloatCol *arg1 = (GFitsTableCFloatCol *) 0 ;
51728 void *argp1 = 0 ;
51729 int res1 = 0 ;
51730 PyObject * obj0 = 0 ;
51731 GFits::cfloat *result = 0 ;
51732
51733 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableCFloatCol_nulval",&obj0)) SWIG_failgoto fail;
51734 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCFloatCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[23]
, 0 | 0, 0)
;
51735 if (!SWIG_IsOK(res1)(res1 >= 0)) {
51736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCFloatCol_nulval" "', argument " "1"" of type '" "GFitsTableCFloatCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCFloatCol_nulval"
"', argument " "1"" of type '" "GFitsTableCFloatCol *""'"); goto
fail; } while(0)
;
51737 }
51738 arg1 = reinterpret_cast< GFitsTableCFloatCol * >(argp1);
51739 {
51740 try {
51741 result = (GFits::cfloat *)(arg1)->nulval();
51742 }
51743 catch (const GException::out_of_range& e) {
51744 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
51745 }
51746 catch (const GExceptionHandler& e) {
51747 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
51748 }
51749 catch (const std::exception& e) {
51750 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
51751 }
51752 }
51753 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFits__cfloat, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[34], 0
| 0)
;
51754 return resultobj;
51755fail:
51756 return NULL__null;
51757}
51758
51759
51760SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCFloatCol_nulval__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
51761 PyObject *resultobj = 0;
51762 GFitsTableCFloatCol *arg1 = (GFitsTableCFloatCol *) 0 ;
51763 GFits::cfloat *arg2 = (GFits::cfloat *) 0 ;
51764 void *argp1 = 0 ;
51765 int res1 = 0 ;
51766 void *argp2 = 0 ;
51767 int res2 = 0 ;
51768 PyObject * obj0 = 0 ;
51769 PyObject * obj1 = 0 ;
51770
51771 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableCFloatCol_nulval",&obj0,&obj1)) SWIG_failgoto fail;
51772 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCFloatCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[23]
, 0 | 0, 0)
;
51773 if (!SWIG_IsOK(res1)(res1 >= 0)) {
51774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCFloatCol_nulval" "', argument " "1"" of type '" "GFitsTableCFloatCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCFloatCol_nulval"
"', argument " "1"" of type '" "GFitsTableCFloatCol *""'"); goto
fail; } while(0)
;
51775 }
51776 arg1 = reinterpret_cast< GFitsTableCFloatCol * >(argp1);
51777 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_GFits__cfloat, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[34]
, 0 | 0, 0)
;
51778 if (!SWIG_IsOK(res2)(res2 >= 0)) {
51779 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsTableCFloatCol_nulval" "', argument " "2"" of type '" "GFits::cfloat const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsTableCFloatCol_nulval"
"', argument " "2"" of type '" "GFits::cfloat const *""'"); goto
fail; } while(0)
;
51780 }
51781 arg2 = reinterpret_cast< GFits::cfloat * >(argp2);
51782 {
51783 try {
51784 (arg1)->nulval((GFits::cfloat const *)arg2);
51785 }
51786 catch (const GException::out_of_range& e) {
51787 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
51788 }
51789 catch (const GExceptionHandler& e) {
51790 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
51791 }
51792 catch (const std::exception& e) {
51793 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
51794 }
51795 }
51796 resultobj = SWIG_Py_Void();
51797 return resultobj;
51798fail:
51799 return NULL__null;
51800}
51801
51802
51803SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCFloatCol_nulval(PyObject *self, PyObject *args) {
51804 int argc;
51805 PyObject *argv[3];
51806 int ii;
51807
51808 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
51809 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
51810 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
51811 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
51812 }
51813 if (argc == 1) {
51814 int _v;
51815 void *vptr = 0;
51816 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCFloatCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[23
], 0, 0)
;
51817 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
51818 if (_v) {
51819 return _wrap_GFitsTableCFloatCol_nulval__SWIG_0(self, args);
51820 }
51821 }
51822 if (argc == 2) {
51823 int _v;
51824 void *vptr = 0;
51825 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCFloatCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[23
], 0, 0)
;
51826 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
51827 if (_v) {
51828 void *vptr = 0;
51829 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_GFits__cfloat, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[34
], 0, 0)
;
51830 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
51831 if (_v) {
51832 return _wrap_GFitsTableCFloatCol_nulval__SWIG_1(self, args);
51833 }
51834 }
51835 }
51836
51837fail:
51838 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableCFloatCol_nulval'.\n"
51839 " Possible C/C++ prototypes are:\n"
51840 " GFitsTableCFloatCol::nulval()\n"
51841 " GFitsTableCFloatCol::nulval(GFits::cfloat const *)\n");
51842 return 0;
51843}
51844
51845
51846SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCFloatCol___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
51847 PyObject *resultobj = 0;
51848 GFitsTableCFloatCol *arg1 = (GFitsTableCFloatCol *) 0 ;
51849 int *arg2 ;
51850 GFits::cfloat arg3 ;
51851 void *argp1 = 0 ;
51852 int res1 = 0 ;
51853 int temp2[3] ;
51854 void *argp3 ;
51855 int res3 = 0 ;
51856 PyObject * obj0 = 0 ;
51857 PyObject * obj1 = 0 ;
51858 PyObject * obj2 = 0 ;
51859
51860 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableCFloatCol___setitem__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
51861 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCFloatCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[23]
, 0 | 0, 0)
;
51862 if (!SWIG_IsOK(res1)(res1 >= 0)) {
51863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCFloatCol___setitem__" "', argument " "1"" of type '" "GFitsTableCFloatCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCFloatCol___setitem__"
"', argument " "1"" of type '" "GFitsTableCFloatCol *""'"); goto
fail; } while(0)
;
51864 }
51865 arg1 = reinterpret_cast< GFitsTableCFloatCol * >(argp1);
51866 {
51867 if (!table_column_tuple(obj1,temp2)) {
51868 return NULL__null;
51869 }
51870 arg2 = &temp2[0];
51871 }
51872 {
51873 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GFits__cfloat, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[34]
, 0 | 0, 0)
;
51874 if (!SWIG_IsOK(res3)(res3 >= 0)) {
51875 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GFitsTableCFloatCol___setitem__" "', argument " "3"" of type '" "GFits::cfloat""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GFitsTableCFloatCol___setitem__"
"', argument " "3"" of type '" "GFits::cfloat""'"); goto fail
; } while(0)
;
51876 }
51877 if (!argp3) {
51878 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsTableCFloatCol___setitem__" "', argument " "3"" of type '" "GFits::cfloat""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsTableCFloatCol___setitem__" "', argument "
"3"" of type '" "GFits::cfloat""'"); goto fail; } while(0)
;
51879 } else {
51880 GFits::cfloat * temp = reinterpret_cast< GFits::cfloat * >(argp3);
51881 arg3 = *temp;
51882 if (SWIG_IsNewObj(res3)((res3 >= 0) && (res3 & ((1 << 8) <<
1)))
) delete temp;
51883 }
51884 }
51885 {
51886 try {
51887 GFitsTableCFloatCol___setitem__(arg1,arg2,arg3);
51888 }
51889 catch (const GException::out_of_range& e) {
51890 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
51891 }
51892 catch (const GExceptionHandler& e) {
51893 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
51894 }
51895 catch (const std::exception& e) {
51896 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
51897 }
51898 }
51899 resultobj = SWIG_Py_Void();
51900 return resultobj;
51901fail:
51902 return NULL__null;
51903}
51904
51905
51906SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCFloatCol_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
51907 PyObject *resultobj = 0;
51908 GFitsTableCFloatCol *arg1 = (GFitsTableCFloatCol *) 0 ;
51909 void *argp1 = 0 ;
51910 int res1 = 0 ;
51911 PyObject * obj0 = 0 ;
51912 GFitsTableCFloatCol result;
51913
51914 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableCFloatCol_copy",&obj0)) SWIG_failgoto fail;
51915 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCFloatCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[23]
, 0 | 0, 0)
;
51916 if (!SWIG_IsOK(res1)(res1 >= 0)) {
51917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCFloatCol_copy" "', argument " "1"" of type '" "GFitsTableCFloatCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCFloatCol_copy" "', argument "
"1"" of type '" "GFitsTableCFloatCol *""'"); goto fail; } while
(0)
;
51918 }
51919 arg1 = reinterpret_cast< GFitsTableCFloatCol * >(argp1);
51920 {
51921 try {
51922 result = GFitsTableCFloatCol_copy(arg1);
51923 }
51924 catch (const GException::out_of_range& e) {
51925 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
51926 }
51927 catch (const GExceptionHandler& e) {
51928 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
51929 }
51930 catch (const std::exception& e) {
51931 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
51932 }
51933 }
51934 resultobj = SWIG_NewPointerObj((new GFitsTableCFloatCol(static_cast< const GFitsTableCFloatCol& >(result))), SWIGTYPE_p_GFitsTableCFloatCol, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GFitsTableCFloatCol(static_cast
< const GFitsTableCFloatCol& >(result))), swig_types
[23], 0x1 | 0)
;
51935 return resultobj;
51936fail:
51937 return NULL__null;
51938}
51939
51940
51941SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GFitsTableCFloatCol_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
51942 PyObject *obj;
51943 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
51944 SWIG_TypeNewClientData(SWIGTYPE_p_GFitsTableCFloatColswig_types[23], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
51945 return SWIG_Py_Void();
51946}
51947
51948SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableCDoubleCol__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
51949 PyObject *resultobj = 0;
51950 GFitsTableCDoubleCol *result = 0 ;
51951
51952 if (!PyArg_ParseTuple(args,(char *)":new_GFitsTableCDoubleCol")) SWIG_failgoto fail;
51953 {
51954 try {
51955 result = (GFitsTableCDoubleCol *)new GFitsTableCDoubleCol();
51956 }
51957 catch (const GException::out_of_range& e) {
51958 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
51959 }
51960 catch (const GExceptionHandler& e) {
51961 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
51962 }
51963 catch (const std::exception& e) {
51964 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
51965 }
51966 }
51967 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableCDoubleCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[22], (
(0x1 << 1) | 0x1) | 0)
;
51968 return resultobj;
51969fail:
51970 return NULL__null;
51971}
51972
51973
51974SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableCDoubleCol__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
51975 PyObject *resultobj = 0;
51976 std::string *arg1 = 0 ;
51977 int *arg2 = 0 ;
51978 int *arg3 = 0 ;
51979 int res1 = SWIG_OLDOBJ((0)) ;
51980 int temp2 ;
51981 int val2 ;
51982 int ecode2 = 0 ;
51983 int temp3 ;
51984 int val3 ;
51985 int ecode3 = 0 ;
51986 PyObject * obj0 = 0 ;
51987 PyObject * obj1 = 0 ;
51988 PyObject * obj2 = 0 ;
51989 GFitsTableCDoubleCol *result = 0 ;
51990
51991 if (!PyArg_ParseTuple(args,(char *)"OOO:new_GFitsTableCDoubleCol",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
51992 {
51993 std::string *ptr = (std::string *)0;
51994 res1 = SWIG_AsPtr_std_string(obj0, &ptr);
51995 if (!SWIG_IsOK(res1)(res1 >= 0)) {
51996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsTableCDoubleCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsTableCDoubleCol" "', argument "
"1"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
51997 }
51998 if (!ptr) {
51999 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsTableCDoubleCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsTableCDoubleCol" "', argument " "1"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
52000 }
52001 arg1 = ptr;
52002 }
52003 ecode2 = SWIG_AsVal_int(obj1, &val2);
52004 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
52005 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsTableCDoubleCol" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsTableCDoubleCol"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
52006 }
52007 temp2 = static_cast< int >(val2);
52008 arg2 = &temp2;
52009 ecode3 = SWIG_AsVal_int(obj2, &val3);
52010 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
52011 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GFitsTableCDoubleCol" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "new_GFitsTableCDoubleCol"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
52012 }
52013 temp3 = static_cast< int >(val3);
52014 arg3 = &temp3;
52015 {
52016 try {
52017 result = (GFitsTableCDoubleCol *)new GFitsTableCDoubleCol((std::string const &)*arg1,(int const &)*arg2,(int const &)*arg3);
52018 }
52019 catch (const GException::out_of_range& e) {
52020 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
52021 }
52022 catch (const GExceptionHandler& e) {
52023 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
52024 }
52025 catch (const std::exception& e) {
52026 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
52027 }
52028 }
52029 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableCDoubleCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[22], (
(0x1 << 1) | 0x1) | 0)
;
52030 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
52031 return resultobj;
52032fail:
52033 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
52034 return NULL__null;
52035}
52036
52037
52038SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableCDoubleCol__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
52039 PyObject *resultobj = 0;
52040 std::string *arg1 = 0 ;
52041 int *arg2 = 0 ;
52042 int res1 = SWIG_OLDOBJ((0)) ;
52043 int temp2 ;
52044 int val2 ;
52045 int ecode2 = 0 ;
52046 PyObject * obj0 = 0 ;
52047 PyObject * obj1 = 0 ;
52048 GFitsTableCDoubleCol *result = 0 ;
52049
52050 if (!PyArg_ParseTuple(args,(char *)"OO:new_GFitsTableCDoubleCol",&obj0,&obj1)) SWIG_failgoto fail;
52051 {
52052 std::string *ptr = (std::string *)0;
52053 res1 = SWIG_AsPtr_std_string(obj0, &ptr);
52054 if (!SWIG_IsOK(res1)(res1 >= 0)) {
52055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsTableCDoubleCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsTableCDoubleCol" "', argument "
"1"" of type '" "std::string const &""'"); goto fail; } while
(0)
;
52056 }
52057 if (!ptr) {
52058 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsTableCDoubleCol" "', argument " "1"" of type '" "std::string const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsTableCDoubleCol" "', argument " "1"" of type '"
"std::string const &""'"); goto fail; } while(0)
;
52059 }
52060 arg1 = ptr;
52061 }
52062 ecode2 = SWIG_AsVal_int(obj1, &val2);
52063 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
52064 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GFitsTableCDoubleCol" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "new_GFitsTableCDoubleCol"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
52065 }
52066 temp2 = static_cast< int >(val2);
52067 arg2 = &temp2;
52068 {
52069 try {
52070 result = (GFitsTableCDoubleCol *)new GFitsTableCDoubleCol((std::string const &)*arg1,(int const &)*arg2);
52071 }
52072 catch (const GException::out_of_range& e) {
52073 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
52074 }
52075 catch (const GExceptionHandler& e) {
52076 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
52077 }
52078 catch (const std::exception& e) {
52079 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
52080 }
52081 }
52082 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableCDoubleCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[22], (
(0x1 << 1) | 0x1) | 0)
;
52083 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
52084 return resultobj;
52085fail:
52086 if (SWIG_IsNewObj(res1)((res1 >= 0) && (res1 & ((1 << 8) <<
1)))
) delete arg1;
52087 return NULL__null;
52088}
52089
52090
52091SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableCDoubleCol__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
52092 PyObject *resultobj = 0;
52093 GFitsTableCDoubleCol *arg1 = 0 ;
52094 void *argp1 = 0 ;
52095 int res1 = 0 ;
52096 PyObject * obj0 = 0 ;
52097 GFitsTableCDoubleCol *result = 0 ;
52098
52099 if (!PyArg_ParseTuple(args,(char *)"O:new_GFitsTableCDoubleCol",&obj0)) SWIG_failgoto fail;
52100 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_GFitsTableCDoubleCol, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[22]
, 0 | 0, 0)
;
52101 if (!SWIG_IsOK(res1)(res1 >= 0)) {
52102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GFitsTableCDoubleCol" "', argument " "1"" of type '" "GFitsTableCDoubleCol const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "new_GFitsTableCDoubleCol" "', argument "
"1"" of type '" "GFitsTableCDoubleCol const &""'"); goto
fail; } while(0)
;
52103 }
52104 if (!argp1) {
52105 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GFitsTableCDoubleCol" "', argument " "1"" of type '" "GFitsTableCDoubleCol const &""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "new_GFitsTableCDoubleCol" "', argument " "1"" of type '"
"GFitsTableCDoubleCol const &""'"); goto fail; } while(0
)
;
52106 }
52107 arg1 = reinterpret_cast< GFitsTableCDoubleCol * >(argp1);
52108 {
52109 try {
52110 result = (GFitsTableCDoubleCol *)new GFitsTableCDoubleCol((GFitsTableCDoubleCol const &)*arg1);
52111 }
52112 catch (const GException::out_of_range& e) {
52113 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
52114 }
52115 catch (const GExceptionHandler& e) {
52116 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
52117 }
52118 catch (const std::exception& e) {
52119 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
52120 }
52121 }
52122 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableCDoubleCol, SWIG_POINTER_NEW | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[22], (
(0x1 << 1) | 0x1) | 0)
;
52123 return resultobj;
52124fail:
52125 return NULL__null;
52126}
52127
52128
52129SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_new_GFitsTableCDoubleCol(PyObject *self, PyObject *args) {
52130 int argc;
52131 PyObject *argv[4];
52132 int ii;
52133
52134 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
52135 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
52136 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
52137 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
52138 }
52139 if (argc == 0) {
52140 return _wrap_new_GFitsTableCDoubleCol__SWIG_0(self, args);
52141 }
52142 if (argc == 1) {
52143 int _v;
52144 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_GFitsTableCDoubleCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], 0, swig_types[22], 0, 0
)
;
52145 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
52146 if (_v) {
52147 return _wrap_new_GFitsTableCDoubleCol__SWIG_3(self, args);
52148 }
52149 }
52150 if (argc == 2) {
52151 int _v;
52152 int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
52153 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
52154 if (_v) {
52155 {
52156 int res = SWIG_AsVal_int(argv[1], NULL__null);
52157 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
52158 }
52159 if (_v) {
52160 return _wrap_new_GFitsTableCDoubleCol__SWIG_2(self, args);
52161 }
52162 }
52163 }
52164 if (argc == 3) {
52165 int _v;
52166 int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
52167 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
52168 if (_v) {
52169 {
52170 int res = SWIG_AsVal_int(argv[1], NULL__null);
52171 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
52172 }
52173 if (_v) {
52174 {
52175 int res = SWIG_AsVal_int(argv[2], NULL__null);
52176 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
52177 }
52178 if (_v) {
52179 return _wrap_new_GFitsTableCDoubleCol__SWIG_1(self, args);
52180 }
52181 }
52182 }
52183 }
52184
52185fail:
52186 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_GFitsTableCDoubleCol'.\n"
52187 " Possible C/C++ prototypes are:\n"
52188 " GFitsTableCDoubleCol::GFitsTableCDoubleCol()\n"
52189 " GFitsTableCDoubleCol::GFitsTableCDoubleCol(std::string const &,int const &,int const &)\n"
52190 " GFitsTableCDoubleCol::GFitsTableCDoubleCol(std::string const &,int const &)\n"
52191 " GFitsTableCDoubleCol::GFitsTableCDoubleCol(GFitsTableCDoubleCol const &)\n");
52192 return 0;
52193}
52194
52195
52196SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_delete_GFitsTableCDoubleCol(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
52197 PyObject *resultobj = 0;
52198 GFitsTableCDoubleCol *arg1 = (GFitsTableCDoubleCol *) 0 ;
52199 void *argp1 = 0 ;
52200 int res1 = 0 ;
52201 PyObject * obj0 = 0 ;
52202
52203 if (!PyArg_ParseTuple(args,(char *)"O:delete_GFitsTableCDoubleCol",&obj0)) SWIG_failgoto fail;
52204 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCDoubleCol, SWIG_POINTER_DISOWN | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[22]
, 0x1 | 0, 0)
;
52205 if (!SWIG_IsOK(res1)(res1 >= 0)) {
52206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GFitsTableCDoubleCol" "', argument " "1"" of type '" "GFitsTableCDoubleCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "delete_GFitsTableCDoubleCol"
"', argument " "1"" of type '" "GFitsTableCDoubleCol *""'");
goto fail; } while(0)
;
52207 }
52208 arg1 = reinterpret_cast< GFitsTableCDoubleCol * >(argp1);
52209 {
52210 try {
52211 delete arg1;
52212 }
52213 catch (const GException::out_of_range& e) {
52214 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
52215 }
52216 catch (const GExceptionHandler& e) {
52217 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
52218 }
52219 catch (const std::exception& e) {
52220 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
52221 }
52222 }
52223 resultobj = SWIG_Py_Void();
52224 return resultobj;
52225fail:
52226 return NULL__null;
52227}
52228
52229
52230SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCDoubleCol_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
52231 PyObject *resultobj = 0;
52232 GFitsTableCDoubleCol *arg1 = (GFitsTableCDoubleCol *) 0 ;
52233 void *argp1 = 0 ;
52234 int res1 = 0 ;
52235 PyObject * obj0 = 0 ;
52236
52237 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableCDoubleCol_clear",&obj0)) SWIG_failgoto fail;
52238 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCDoubleCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[22]
, 0 | 0, 0)
;
52239 if (!SWIG_IsOK(res1)(res1 >= 0)) {
52240 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCDoubleCol_clear" "', argument " "1"" of type '" "GFitsTableCDoubleCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCDoubleCol_clear"
"', argument " "1"" of type '" "GFitsTableCDoubleCol *""'");
goto fail; } while(0)
;
52241 }
52242 arg1 = reinterpret_cast< GFitsTableCDoubleCol * >(argp1);
52243 {
52244 try {
52245 (arg1)->clear();
52246 }
52247 catch (const GException::out_of_range& e) {
52248 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
52249 }
52250 catch (const GExceptionHandler& e) {
52251 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
52252 }
52253 catch (const std::exception& e) {
52254 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
52255 }
52256 }
52257 resultobj = SWIG_Py_Void();
52258 return resultobj;
52259fail:
52260 return NULL__null;
52261}
52262
52263
52264SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCDoubleCol_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
52265 PyObject *resultobj = 0;
52266 GFitsTableCDoubleCol *arg1 = (GFitsTableCDoubleCol *) 0 ;
52267 void *argp1 = 0 ;
52268 int res1 = 0 ;
52269 PyObject * obj0 = 0 ;
52270 GFitsTableCDoubleCol *result = 0 ;
52271
52272 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableCDoubleCol_clone",&obj0)) SWIG_failgoto fail;
52273 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCDoubleCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[22]
, 0 | 0, 0)
;
52274 if (!SWIG_IsOK(res1)(res1 >= 0)) {
52275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCDoubleCol_clone" "', argument " "1"" of type '" "GFitsTableCDoubleCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCDoubleCol_clone"
"', argument " "1"" of type '" "GFitsTableCDoubleCol const *"
"'"); goto fail; } while(0)
;
52276 }
52277 arg1 = reinterpret_cast< GFitsTableCDoubleCol * >(argp1);
52278 {
52279 try {
52280 result = (GFitsTableCDoubleCol *)((GFitsTableCDoubleCol const *)arg1)->clone();
52281 }
52282 catch (const GException::out_of_range& e) {
52283 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
52284 }
52285 catch (const GExceptionHandler& e) {
52286 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
52287 }
52288 catch (const std::exception& e) {
52289 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
52290 }
52291 }
52292 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFitsTableCDoubleCol, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[22], 0
| 0)
;
52293 return resultobj;
52294fail:
52295 return NULL__null;
52296}
52297
52298
52299SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCDoubleCol_string__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
52300 PyObject *resultobj = 0;
52301 GFitsTableCDoubleCol *arg1 = (GFitsTableCDoubleCol *) 0 ;
52302 int *arg2 = 0 ;
52303 int *arg3 = 0 ;
52304 void *argp1 = 0 ;
52305 int res1 = 0 ;
52306 int temp2 ;
52307 int val2 ;
52308 int ecode2 = 0 ;
52309 int temp3 ;
52310 int val3 ;
52311 int ecode3 = 0 ;
52312 PyObject * obj0 = 0 ;
52313 PyObject * obj1 = 0 ;
52314 PyObject * obj2 = 0 ;
52315 std::string result;
52316
52317 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableCDoubleCol_string",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
52318 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCDoubleCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[22]
, 0 | 0, 0)
;
52319 if (!SWIG_IsOK(res1)(res1 >= 0)) {
52320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCDoubleCol_string" "', argument " "1"" of type '" "GFitsTableCDoubleCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCDoubleCol_string"
"', argument " "1"" of type '" "GFitsTableCDoubleCol const *"
"'"); goto fail; } while(0)
;
52321 }
52322 arg1 = reinterpret_cast< GFitsTableCDoubleCol * >(argp1);
52323 ecode2 = SWIG_AsVal_int(obj1, &val2);
52324 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
52325 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableCDoubleCol_string" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableCDoubleCol_string"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
52326 }
52327 temp2 = static_cast< int >(val2);
52328 arg2 = &temp2;
52329 ecode3 = SWIG_AsVal_int(obj2, &val3);
52330 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
52331 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableCDoubleCol_string" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableCDoubleCol_string"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
52332 }
52333 temp3 = static_cast< int >(val3);
52334 arg3 = &temp3;
52335 {
52336 try {
52337 result = ((GFitsTableCDoubleCol const *)arg1)->string((int const &)*arg2,(int const &)*arg3);
52338 }
52339 catch (const GException::out_of_range& e) {
52340 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
52341 }
52342 catch (const GExceptionHandler& e) {
52343 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
52344 }
52345 catch (const std::exception& e) {
52346 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
52347 }
52348 }
52349 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
52350 return resultobj;
52351fail:
52352 return NULL__null;
52353}
52354
52355
52356SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCDoubleCol_string__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
52357 PyObject *resultobj = 0;
52358 GFitsTableCDoubleCol *arg1 = (GFitsTableCDoubleCol *) 0 ;
52359 int *arg2 = 0 ;
52360 void *argp1 = 0 ;
52361 int res1 = 0 ;
52362 int temp2 ;
52363 int val2 ;
52364 int ecode2 = 0 ;
52365 PyObject * obj0 = 0 ;
52366 PyObject * obj1 = 0 ;
52367 std::string result;
52368
52369 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableCDoubleCol_string",&obj0,&obj1)) SWIG_failgoto fail;
52370 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCDoubleCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[22]
, 0 | 0, 0)
;
52371 if (!SWIG_IsOK(res1)(res1 >= 0)) {
52372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCDoubleCol_string" "', argument " "1"" of type '" "GFitsTableCDoubleCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCDoubleCol_string"
"', argument " "1"" of type '" "GFitsTableCDoubleCol const *"
"'"); goto fail; } while(0)
;
52373 }
52374 arg1 = reinterpret_cast< GFitsTableCDoubleCol * >(argp1);
52375 ecode2 = SWIG_AsVal_int(obj1, &val2);
52376 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
52377 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableCDoubleCol_string" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableCDoubleCol_string"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
52378 }
52379 temp2 = static_cast< int >(val2);
52380 arg2 = &temp2;
52381 {
52382 try {
52383 result = ((GFitsTableCDoubleCol const *)arg1)->string((int const &)*arg2);
52384 }
52385 catch (const GException::out_of_range& e) {
52386 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
52387 }
52388 catch (const GExceptionHandler& e) {
52389 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
52390 }
52391 catch (const std::exception& e) {
52392 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
52393 }
52394 }
52395 resultobj = SWIG_From_std_string(static_cast< std::string >(result));
52396 return resultobj;
52397fail:
52398 return NULL__null;
52399}
52400
52401
52402SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCDoubleCol_string(PyObject *self, PyObject *args) {
52403 int argc;
52404 PyObject *argv[4];
52405 int ii;
52406
52407 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
52408 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
52409 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
52410 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
52411 }
52412 if (argc == 2) {
52413 int _v;
52414 void *vptr = 0;
52415 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCDoubleCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[22
], 0, 0)
;
52416 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
52417 if (_v) {
52418 {
52419 int res = SWIG_AsVal_int(argv[1], NULL__null);
52420 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
52421 }
52422 if (_v) {
52423 return _wrap_GFitsTableCDoubleCol_string__SWIG_1(self, args);
52424 }
52425 }
52426 }
52427 if (argc == 3) {
52428 int _v;
52429 void *vptr = 0;
52430 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCDoubleCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[22
], 0, 0)
;
52431 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
52432 if (_v) {
52433 {
52434 int res = SWIG_AsVal_int(argv[1], NULL__null);
52435 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
52436 }
52437 if (_v) {
52438 {
52439 int res = SWIG_AsVal_int(argv[2], NULL__null);
52440 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
52441 }
52442 if (_v) {
52443 return _wrap_GFitsTableCDoubleCol_string__SWIG_0(self, args);
52444 }
52445 }
52446 }
52447 }
52448
52449fail:
52450 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableCDoubleCol_string'.\n"
52451 " Possible C/C++ prototypes are:\n"
52452 " GFitsTableCDoubleCol::string(int const &,int const &) const\n"
52453 " GFitsTableCDoubleCol::string(int const &) const\n");
52454 return 0;
52455}
52456
52457
52458SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCDoubleCol_real__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
52459 PyObject *resultobj = 0;
52460 GFitsTableCDoubleCol *arg1 = (GFitsTableCDoubleCol *) 0 ;
52461 int *arg2 = 0 ;
52462 int *arg3 = 0 ;
52463 void *argp1 = 0 ;
52464 int res1 = 0 ;
52465 int temp2 ;
52466 int val2 ;
52467 int ecode2 = 0 ;
52468 int temp3 ;
52469 int val3 ;
52470 int ecode3 = 0 ;
52471 PyObject * obj0 = 0 ;
52472 PyObject * obj1 = 0 ;
52473 PyObject * obj2 = 0 ;
52474 double result;
52475
52476 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableCDoubleCol_real",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
52477 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCDoubleCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[22]
, 0 | 0, 0)
;
52478 if (!SWIG_IsOK(res1)(res1 >= 0)) {
52479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCDoubleCol_real" "', argument " "1"" of type '" "GFitsTableCDoubleCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCDoubleCol_real"
"', argument " "1"" of type '" "GFitsTableCDoubleCol const *"
"'"); goto fail; } while(0)
;
52480 }
52481 arg1 = reinterpret_cast< GFitsTableCDoubleCol * >(argp1);
52482 ecode2 = SWIG_AsVal_int(obj1, &val2);
52483 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
52484 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableCDoubleCol_real" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableCDoubleCol_real"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
52485 }
52486 temp2 = static_cast< int >(val2);
52487 arg2 = &temp2;
52488 ecode3 = SWIG_AsVal_int(obj2, &val3);
52489 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
52490 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableCDoubleCol_real" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableCDoubleCol_real"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
52491 }
52492 temp3 = static_cast< int >(val3);
52493 arg3 = &temp3;
52494 {
52495 try {
52496 result = (double)((GFitsTableCDoubleCol const *)arg1)->real((int const &)*arg2,(int const &)*arg3);
52497 }
52498 catch (const GException::out_of_range& e) {
52499 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
52500 }
52501 catch (const GExceptionHandler& e) {
52502 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
52503 }
52504 catch (const std::exception& e) {
52505 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
52506 }
52507 }
52508 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
52509 return resultobj;
52510fail:
52511 return NULL__null;
52512}
52513
52514
52515SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCDoubleCol_real__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
52516 PyObject *resultobj = 0;
52517 GFitsTableCDoubleCol *arg1 = (GFitsTableCDoubleCol *) 0 ;
52518 int *arg2 = 0 ;
52519 void *argp1 = 0 ;
52520 int res1 = 0 ;
52521 int temp2 ;
52522 int val2 ;
52523 int ecode2 = 0 ;
52524 PyObject * obj0 = 0 ;
52525 PyObject * obj1 = 0 ;
52526 double result;
52527
52528 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableCDoubleCol_real",&obj0,&obj1)) SWIG_failgoto fail;
52529 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCDoubleCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[22]
, 0 | 0, 0)
;
52530 if (!SWIG_IsOK(res1)(res1 >= 0)) {
52531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCDoubleCol_real" "', argument " "1"" of type '" "GFitsTableCDoubleCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCDoubleCol_real"
"', argument " "1"" of type '" "GFitsTableCDoubleCol const *"
"'"); goto fail; } while(0)
;
52532 }
52533 arg1 = reinterpret_cast< GFitsTableCDoubleCol * >(argp1);
52534 ecode2 = SWIG_AsVal_int(obj1, &val2);
52535 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
52536 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableCDoubleCol_real" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableCDoubleCol_real"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
52537 }
52538 temp2 = static_cast< int >(val2);
52539 arg2 = &temp2;
52540 {
52541 try {
52542 result = (double)((GFitsTableCDoubleCol const *)arg1)->real((int const &)*arg2);
52543 }
52544 catch (const GException::out_of_range& e) {
52545 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
52546 }
52547 catch (const GExceptionHandler& e) {
52548 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
52549 }
52550 catch (const std::exception& e) {
52551 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
52552 }
52553 }
52554 resultobj = SWIG_From_doublePyFloat_FromDouble(static_cast< double >(result));
52555 return resultobj;
52556fail:
52557 return NULL__null;
52558}
52559
52560
52561SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCDoubleCol_real(PyObject *self, PyObject *args) {
52562 int argc;
52563 PyObject *argv[4];
52564 int ii;
52565
52566 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
52567 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
52568 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
52569 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
52570 }
52571 if (argc == 2) {
52572 int _v;
52573 void *vptr = 0;
52574 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCDoubleCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[22
], 0, 0)
;
52575 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
52576 if (_v) {
52577 {
52578 int res = SWIG_AsVal_int(argv[1], NULL__null);
52579 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
52580 }
52581 if (_v) {
52582 return _wrap_GFitsTableCDoubleCol_real__SWIG_1(self, args);
52583 }
52584 }
52585 }
52586 if (argc == 3) {
52587 int _v;
52588 void *vptr = 0;
52589 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCDoubleCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[22
], 0, 0)
;
52590 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
52591 if (_v) {
52592 {
52593 int res = SWIG_AsVal_int(argv[1], NULL__null);
52594 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
52595 }
52596 if (_v) {
52597 {
52598 int res = SWIG_AsVal_int(argv[2], NULL__null);
52599 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
52600 }
52601 if (_v) {
52602 return _wrap_GFitsTableCDoubleCol_real__SWIG_0(self, args);
52603 }
52604 }
52605 }
52606 }
52607
52608fail:
52609 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableCDoubleCol_real'.\n"
52610 " Possible C/C++ prototypes are:\n"
52611 " GFitsTableCDoubleCol::real(int const &,int const &) const\n"
52612 " GFitsTableCDoubleCol::real(int const &) const\n");
52613 return 0;
52614}
52615
52616
52617SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCDoubleCol_integer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
52618 PyObject *resultobj = 0;
52619 GFitsTableCDoubleCol *arg1 = (GFitsTableCDoubleCol *) 0 ;
52620 int *arg2 = 0 ;
52621 int *arg3 = 0 ;
52622 void *argp1 = 0 ;
52623 int res1 = 0 ;
52624 int temp2 ;
52625 int val2 ;
52626 int ecode2 = 0 ;
52627 int temp3 ;
52628 int val3 ;
52629 int ecode3 = 0 ;
52630 PyObject * obj0 = 0 ;
52631 PyObject * obj1 = 0 ;
52632 PyObject * obj2 = 0 ;
52633 int result;
52634
52635 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableCDoubleCol_integer",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
52636 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCDoubleCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[22]
, 0 | 0, 0)
;
52637 if (!SWIG_IsOK(res1)(res1 >= 0)) {
52638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCDoubleCol_integer" "', argument " "1"" of type '" "GFitsTableCDoubleCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCDoubleCol_integer"
"', argument " "1"" of type '" "GFitsTableCDoubleCol const *"
"'"); goto fail; } while(0)
;
52639 }
52640 arg1 = reinterpret_cast< GFitsTableCDoubleCol * >(argp1);
52641 ecode2 = SWIG_AsVal_int(obj1, &val2);
52642 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
52643 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableCDoubleCol_integer" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableCDoubleCol_integer"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
52644 }
52645 temp2 = static_cast< int >(val2);
52646 arg2 = &temp2;
52647 ecode3 = SWIG_AsVal_int(obj2, &val3);
52648 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
52649 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableCDoubleCol_integer" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableCDoubleCol_integer"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
52650 }
52651 temp3 = static_cast< int >(val3);
52652 arg3 = &temp3;
52653 {
52654 try {
52655 result = (int)((GFitsTableCDoubleCol const *)arg1)->integer((int const &)*arg2,(int const &)*arg3);
52656 }
52657 catch (const GException::out_of_range& e) {
52658 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
52659 }
52660 catch (const GExceptionHandler& e) {
52661 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
52662 }
52663 catch (const std::exception& e) {
52664 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
52665 }
52666 }
52667 resultobj = SWIG_From_int(static_cast< int >(result));
52668 return resultobj;
52669fail:
52670 return NULL__null;
52671}
52672
52673
52674SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCDoubleCol_integer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
52675 PyObject *resultobj = 0;
52676 GFitsTableCDoubleCol *arg1 = (GFitsTableCDoubleCol *) 0 ;
52677 int *arg2 = 0 ;
52678 void *argp1 = 0 ;
52679 int res1 = 0 ;
52680 int temp2 ;
52681 int val2 ;
52682 int ecode2 = 0 ;
52683 PyObject * obj0 = 0 ;
52684 PyObject * obj1 = 0 ;
52685 int result;
52686
52687 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableCDoubleCol_integer",&obj0,&obj1)) SWIG_failgoto fail;
52688 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCDoubleCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[22]
, 0 | 0, 0)
;
52689 if (!SWIG_IsOK(res1)(res1 >= 0)) {
52690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCDoubleCol_integer" "', argument " "1"" of type '" "GFitsTableCDoubleCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCDoubleCol_integer"
"', argument " "1"" of type '" "GFitsTableCDoubleCol const *"
"'"); goto fail; } while(0)
;
52691 }
52692 arg1 = reinterpret_cast< GFitsTableCDoubleCol * >(argp1);
52693 ecode2 = SWIG_AsVal_int(obj1, &val2);
52694 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
52695 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableCDoubleCol_integer" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableCDoubleCol_integer"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
52696 }
52697 temp2 = static_cast< int >(val2);
52698 arg2 = &temp2;
52699 {
52700 try {
52701 result = (int)((GFitsTableCDoubleCol const *)arg1)->integer((int const &)*arg2);
52702 }
52703 catch (const GException::out_of_range& e) {
52704 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
52705 }
52706 catch (const GExceptionHandler& e) {
52707 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
52708 }
52709 catch (const std::exception& e) {
52710 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
52711 }
52712 }
52713 resultobj = SWIG_From_int(static_cast< int >(result));
52714 return resultobj;
52715fail:
52716 return NULL__null;
52717}
52718
52719
52720SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCDoubleCol_integer(PyObject *self, PyObject *args) {
52721 int argc;
52722 PyObject *argv[4];
52723 int ii;
52724
52725 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
52726 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
52727 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
52728 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
52729 }
52730 if (argc == 2) {
52731 int _v;
52732 void *vptr = 0;
52733 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCDoubleCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[22
], 0, 0)
;
52734 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
52735 if (_v) {
52736 {
52737 int res = SWIG_AsVal_int(argv[1], NULL__null);
52738 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
52739 }
52740 if (_v) {
52741 return _wrap_GFitsTableCDoubleCol_integer__SWIG_1(self, args);
52742 }
52743 }
52744 }
52745 if (argc == 3) {
52746 int _v;
52747 void *vptr = 0;
52748 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCDoubleCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[22
], 0, 0)
;
52749 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
52750 if (_v) {
52751 {
52752 int res = SWIG_AsVal_int(argv[1], NULL__null);
52753 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
52754 }
52755 if (_v) {
52756 {
52757 int res = SWIG_AsVal_int(argv[2], NULL__null);
52758 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
52759 }
52760 if (_v) {
52761 return _wrap_GFitsTableCDoubleCol_integer__SWIG_0(self, args);
52762 }
52763 }
52764 }
52765 }
52766
52767fail:
52768 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableCDoubleCol_integer'.\n"
52769 " Possible C/C++ prototypes are:\n"
52770 " GFitsTableCDoubleCol::integer(int const &,int const &) const\n"
52771 " GFitsTableCDoubleCol::integer(int const &) const\n");
52772 return 0;
52773}
52774
52775
52776SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCDoubleCol_insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
52777 PyObject *resultobj = 0;
52778 GFitsTableCDoubleCol *arg1 = (GFitsTableCDoubleCol *) 0 ;
52779 int *arg2 = 0 ;
52780 int *arg3 = 0 ;
52781 void *argp1 = 0 ;
52782 int res1 = 0 ;
52783 int temp2 ;
52784 int val2 ;
52785 int ecode2 = 0 ;
52786 int temp3 ;
52787 int val3 ;
52788 int ecode3 = 0 ;
52789 PyObject * obj0 = 0 ;
52790 PyObject * obj1 = 0 ;
52791 PyObject * obj2 = 0 ;
52792
52793 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableCDoubleCol_insert",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
52794 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCDoubleCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[22]
, 0 | 0, 0)
;
52795 if (!SWIG_IsOK(res1)(res1 >= 0)) {
52796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCDoubleCol_insert" "', argument " "1"" of type '" "GFitsTableCDoubleCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCDoubleCol_insert"
"', argument " "1"" of type '" "GFitsTableCDoubleCol *""'");
goto fail; } while(0)
;
52797 }
52798 arg1 = reinterpret_cast< GFitsTableCDoubleCol * >(argp1);
52799 ecode2 = SWIG_AsVal_int(obj1, &val2);
52800 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
52801 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableCDoubleCol_insert" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableCDoubleCol_insert"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
52802 }
52803 temp2 = static_cast< int >(val2);
52804 arg2 = &temp2;
52805 ecode3 = SWIG_AsVal_int(obj2, &val3);
52806 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
52807 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableCDoubleCol_insert" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableCDoubleCol_insert"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
52808 }
52809 temp3 = static_cast< int >(val3);
52810 arg3 = &temp3;
52811 {
52812 try {
52813 (arg1)->insert((int const &)*arg2,(int const &)*arg3);
52814 }
52815 catch (const GException::out_of_range& e) {
52816 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
52817 }
52818 catch (const GExceptionHandler& e) {
52819 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
52820 }
52821 catch (const std::exception& e) {
52822 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
52823 }
52824 }
52825 resultobj = SWIG_Py_Void();
52826 return resultobj;
52827fail:
52828 return NULL__null;
52829}
52830
52831
52832SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCDoubleCol_remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
52833 PyObject *resultobj = 0;
52834 GFitsTableCDoubleCol *arg1 = (GFitsTableCDoubleCol *) 0 ;
52835 int *arg2 = 0 ;
52836 int *arg3 = 0 ;
52837 void *argp1 = 0 ;
52838 int res1 = 0 ;
52839 int temp2 ;
52840 int val2 ;
52841 int ecode2 = 0 ;
52842 int temp3 ;
52843 int val3 ;
52844 int ecode3 = 0 ;
52845 PyObject * obj0 = 0 ;
52846 PyObject * obj1 = 0 ;
52847 PyObject * obj2 = 0 ;
52848
52849 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableCDoubleCol_remove",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
52850 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCDoubleCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[22]
, 0 | 0, 0)
;
52851 if (!SWIG_IsOK(res1)(res1 >= 0)) {
52852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCDoubleCol_remove" "', argument " "1"" of type '" "GFitsTableCDoubleCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCDoubleCol_remove"
"', argument " "1"" of type '" "GFitsTableCDoubleCol *""'");
goto fail; } while(0)
;
52853 }
52854 arg1 = reinterpret_cast< GFitsTableCDoubleCol * >(argp1);
52855 ecode2 = SWIG_AsVal_int(obj1, &val2);
52856 if (!SWIG_IsOK(ecode2)(ecode2 >= 0)) {
52857 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GFitsTableCDoubleCol_remove" "', argument " "2"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode2 !=
(-1)) ? ecode2 : -5)), "in method '" "GFitsTableCDoubleCol_remove"
"', argument " "2"" of type '" "int""'"); goto fail; } while
(0)
;
52858 }
52859 temp2 = static_cast< int >(val2);
52860 arg2 = &temp2;
52861 ecode3 = SWIG_AsVal_int(obj2, &val3);
52862 if (!SWIG_IsOK(ecode3)(ecode3 >= 0)) {
52863 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GFitsTableCDoubleCol_remove" "', argument " "3"" of type '" "int""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((ecode3 !=
(-1)) ? ecode3 : -5)), "in method '" "GFitsTableCDoubleCol_remove"
"', argument " "3"" of type '" "int""'"); goto fail; } while
(0)
;
52864 }
52865 temp3 = static_cast< int >(val3);
52866 arg3 = &temp3;
52867 {
52868 try {
52869 (arg1)->remove((int const &)*arg2,(int const &)*arg3);
52870 }
52871 catch (const GException::out_of_range& e) {
52872 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
52873 }
52874 catch (const GExceptionHandler& e) {
52875 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
52876 }
52877 catch (const std::exception& e) {
52878 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
52879 }
52880 }
52881 resultobj = SWIG_Py_Void();
52882 return resultobj;
52883fail:
52884 return NULL__null;
52885}
52886
52887
52888SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCDoubleCol_isloaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
52889 PyObject *resultobj = 0;
52890 GFitsTableCDoubleCol *arg1 = (GFitsTableCDoubleCol *) 0 ;
52891 void *argp1 = 0 ;
52892 int res1 = 0 ;
52893 PyObject * obj0 = 0 ;
52894 bool result;
52895
52896 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableCDoubleCol_isloaded",&obj0)) SWIG_failgoto fail;
52897 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCDoubleCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[22]
, 0 | 0, 0)
;
52898 if (!SWIG_IsOK(res1)(res1 >= 0)) {
52899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCDoubleCol_isloaded" "', argument " "1"" of type '" "GFitsTableCDoubleCol const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCDoubleCol_isloaded"
"', argument " "1"" of type '" "GFitsTableCDoubleCol const *"
"'"); goto fail; } while(0)
;
52900 }
52901 arg1 = reinterpret_cast< GFitsTableCDoubleCol * >(argp1);
52902 {
52903 try {
52904 result = (bool)((GFitsTableCDoubleCol const *)arg1)->isloaded();
52905 }
52906 catch (const GException::out_of_range& e) {
52907 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
52908 }
52909 catch (const GExceptionHandler& e) {
52910 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
52911 }
52912 catch (const std::exception& e) {
52913 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
52914 }
52915 }
52916 resultobj = SWIG_From_bool(static_cast< bool >(result));
52917 return resultobj;
52918fail:
52919 return NULL__null;
52920}
52921
52922
52923SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCDoubleCol_data(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
52924 PyObject *resultobj = 0;
52925 GFitsTableCDoubleCol *arg1 = (GFitsTableCDoubleCol *) 0 ;
52926 void *argp1 = 0 ;
52927 int res1 = 0 ;
52928 PyObject * obj0 = 0 ;
52929 GFits::cdouble *result = 0 ;
52930
52931 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableCDoubleCol_data",&obj0)) SWIG_failgoto fail;
52932 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCDoubleCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[22]
, 0 | 0, 0)
;
52933 if (!SWIG_IsOK(res1)(res1 >= 0)) {
52934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCDoubleCol_data" "', argument " "1"" of type '" "GFitsTableCDoubleCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCDoubleCol_data"
"', argument " "1"" of type '" "GFitsTableCDoubleCol *""'");
goto fail; } while(0)
;
52935 }
52936 arg1 = reinterpret_cast< GFitsTableCDoubleCol * >(argp1);
52937 {
52938 try {
52939 result = (GFits::cdouble *)(arg1)->data();
52940 }
52941 catch (const GException::out_of_range& e) {
52942 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
52943 }
52944 catch (const GExceptionHandler& e) {
52945 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
52946 }
52947 catch (const std::exception& e) {
52948 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
52949 }
52950 }
52951 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFits__cdouble, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[33], 0
| 0)
;
52952 return resultobj;
52953fail:
52954 return NULL__null;
52955}
52956
52957
52958SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCDoubleCol_nulval__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
52959 PyObject *resultobj = 0;
52960 GFitsTableCDoubleCol *arg1 = (GFitsTableCDoubleCol *) 0 ;
52961 void *argp1 = 0 ;
52962 int res1 = 0 ;
52963 PyObject * obj0 = 0 ;
52964 GFits::cdouble *result = 0 ;
52965
52966 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableCDoubleCol_nulval",&obj0)) SWIG_failgoto fail;
52967 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCDoubleCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[22]
, 0 | 0, 0)
;
52968 if (!SWIG_IsOK(res1)(res1 >= 0)) {
52969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCDoubleCol_nulval" "', argument " "1"" of type '" "GFitsTableCDoubleCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCDoubleCol_nulval"
"', argument " "1"" of type '" "GFitsTableCDoubleCol *""'");
goto fail; } while(0)
;
52970 }
52971 arg1 = reinterpret_cast< GFitsTableCDoubleCol * >(argp1);
52972 {
52973 try {
52974 result = (GFits::cdouble *)(arg1)->nulval();
52975 }
52976 catch (const GException::out_of_range& e) {
52977 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
52978 }
52979 catch (const GExceptionHandler& e) {
52980 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
52981 }
52982 catch (const std::exception& e) {
52983 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
52984 }
52985 }
52986 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GFits__cdouble, 0 | 0 )SWIG_Python_NewPointerObj(__null, const_cast< void * >(
static_cast< const void * >(result)), swig_types[33], 0
| 0)
;
52987 return resultobj;
52988fail:
52989 return NULL__null;
52990}
52991
52992
52993SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCDoubleCol_nulval__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
52994 PyObject *resultobj = 0;
52995 GFitsTableCDoubleCol *arg1 = (GFitsTableCDoubleCol *) 0 ;
52996 GFits::cdouble *arg2 = (GFits::cdouble *) 0 ;
52997 void *argp1 = 0 ;
52998 int res1 = 0 ;
52999 void *argp2 = 0 ;
53000 int res2 = 0 ;
53001 PyObject * obj0 = 0 ;
53002 PyObject * obj1 = 0 ;
53003
53004 if (!PyArg_ParseTuple(args,(char *)"OO:GFitsTableCDoubleCol_nulval",&obj0,&obj1)) SWIG_failgoto fail;
53005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCDoubleCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[22]
, 0 | 0, 0)
;
53006 if (!SWIG_IsOK(res1)(res1 >= 0)) {
53007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCDoubleCol_nulval" "', argument " "1"" of type '" "GFitsTableCDoubleCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCDoubleCol_nulval"
"', argument " "1"" of type '" "GFitsTableCDoubleCol *""'");
goto fail; } while(0)
;
53008 }
53009 arg1 = reinterpret_cast< GFitsTableCDoubleCol * >(argp1);
53010 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_GFits__cdouble, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj1, &argp2, swig_types[33]
, 0 | 0, 0)
;
53011 if (!SWIG_IsOK(res2)(res2 >= 0)) {
53012 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GFitsTableCDoubleCol_nulval" "', argument " "2"" of type '" "GFits::cdouble const *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res2 != (
-1)) ? res2 : -5)), "in method '" "GFitsTableCDoubleCol_nulval"
"', argument " "2"" of type '" "GFits::cdouble const *""'");
goto fail; } while(0)
;
53013 }
53014 arg2 = reinterpret_cast< GFits::cdouble * >(argp2);
53015 {
53016 try {
53017 (arg1)->nulval((GFits::cdouble const *)arg2);
53018 }
53019 catch (const GException::out_of_range& e) {
53020 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
53021 }
53022 catch (const GExceptionHandler& e) {
53023 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
53024 }
53025 catch (const std::exception& e) {
53026 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
53027 }
53028 }
53029 resultobj = SWIG_Py_Void();
53030 return resultobj;
53031fail:
53032 return NULL__null;
53033}
53034
53035
53036SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCDoubleCol_nulval(PyObject *self, PyObject *args) {
53037 int argc;
53038 PyObject *argv[3];
53039 int ii;
53040
53041 if (!PyTuple_Check(args)((((((PyObject*)(args))->ob_type))->tp_flags & ((1L
<<26))) != 0)
) SWIG_failgoto fail;
53042 argc = args ? (int)PyObject_LengthPyObject_Size(args) : 0;
53043 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
53044 argv[ii] = PyTuple_GET_ITEM(args,ii)(((PyTupleObject *)(args))->ob_item[ii]);
53045 }
53046 if (argc == 1) {
53047 int _v;
53048 void *vptr = 0;
53049 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCDoubleCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[22
], 0, 0)
;
53050 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
53051 if (_v) {
53052 return _wrap_GFitsTableCDoubleCol_nulval__SWIG_0(self, args);
53053 }
53054 }
53055 if (argc == 2) {
53056 int _v;
53057 void *vptr = 0;
53058 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GFitsTableCDoubleCol, 0)SWIG_Python_ConvertPtrAndOwn(argv[0], &vptr, swig_types[22
], 0, 0)
;
53059 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
53060 if (_v) {
53061 void *vptr = 0;
53062 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_GFits__cdouble, 0)SWIG_Python_ConvertPtrAndOwn(argv[1], &vptr, swig_types[33
], 0, 0)
;
53063 _v = SWIG_CheckState(res)((res >= 0) ? 1 : 0);
53064 if (_v) {
53065 return _wrap_GFitsTableCDoubleCol_nulval__SWIG_1(self, args);
53066 }
53067 }
53068 }
53069
53070fail:
53071 SWIG_SetErrorMsgSWIG_Python_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'GFitsTableCDoubleCol_nulval'.\n"
53072 " Possible C/C++ prototypes are:\n"
53073 " GFitsTableCDoubleCol::nulval()\n"
53074 " GFitsTableCDoubleCol::nulval(GFits::cdouble const *)\n");
53075 return 0;
53076}
53077
53078
53079SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCDoubleCol___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
53080 PyObject *resultobj = 0;
53081 GFitsTableCDoubleCol *arg1 = (GFitsTableCDoubleCol *) 0 ;
53082 int *arg2 ;
53083 GFits::cdouble arg3 ;
53084 void *argp1 = 0 ;
53085 int res1 = 0 ;
53086 int temp2[3] ;
53087 void *argp3 ;
53088 int res3 = 0 ;
53089 PyObject * obj0 = 0 ;
53090 PyObject * obj1 = 0 ;
53091 PyObject * obj2 = 0 ;
53092
53093 if (!PyArg_ParseTuple(args,(char *)"OOO:GFitsTableCDoubleCol___setitem__",&obj0,&obj1,&obj2)) SWIG_failgoto fail;
53094 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCDoubleCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[22]
, 0 | 0, 0)
;
53095 if (!SWIG_IsOK(res1)(res1 >= 0)) {
53096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCDoubleCol___setitem__" "', argument " "1"" of type '" "GFitsTableCDoubleCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCDoubleCol___setitem__"
"', argument " "1"" of type '" "GFitsTableCDoubleCol *""'");
goto fail; } while(0)
;
53097 }
53098 arg1 = reinterpret_cast< GFitsTableCDoubleCol * >(argp1);
53099 {
53100 if (!table_column_tuple(obj1,temp2)) {
53101 return NULL__null;
53102 }
53103 arg2 = &temp2[0];
53104 }
53105 {
53106 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_GFits__cdouble, 0 | 0)SWIG_Python_ConvertPtrAndOwn(obj2, &argp3, swig_types[33]
, 0 | 0, 0)
;
53107 if (!SWIG_IsOK(res3)(res3 >= 0)) {
53108 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GFitsTableCDoubleCol___setitem__" "', argument " "3"" of type '" "GFits::cdouble""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res3 != (
-1)) ? res3 : -5)), "in method '" "GFitsTableCDoubleCol___setitem__"
"', argument " "3"" of type '" "GFits::cdouble""'"); goto fail
; } while(0)
;
53109 }
53110 if (!argp3) {
53111 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GFitsTableCDoubleCol___setitem__" "', argument " "3"" of type '" "GFits::cdouble""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-9), "invalid null reference "
"in method '" "GFitsTableCDoubleCol___setitem__" "', argument "
"3"" of type '" "GFits::cdouble""'"); goto fail; } while(0)
;
53112 } else {
53113 GFits::cdouble * temp = reinterpret_cast< GFits::cdouble * >(argp3);
53114 arg3 = *temp;
53115 if (SWIG_IsNewObj(res3)((res3 >= 0) && (res3 & ((1 << 8) <<
1)))
) delete temp;
53116 }
53117 }
53118 {
53119 try {
53120 GFitsTableCDoubleCol___setitem__(arg1,arg2,arg3);
53121 }
53122 catch (const GException::out_of_range& e) {
53123 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
53124 }
53125 catch (const GExceptionHandler& e) {
53126 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
53127 }
53128 catch (const std::exception& e) {
53129 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
53130 }
53131 }
53132 resultobj = SWIG_Py_Void();
53133 return resultobj;
53134fail:
53135 return NULL__null;
53136}
53137
53138
53139SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *_wrap_GFitsTableCDoubleCol_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
53140 PyObject *resultobj = 0;
53141 GFitsTableCDoubleCol *arg1 = (GFitsTableCDoubleCol *) 0 ;
53142 void *argp1 = 0 ;
53143 int res1 = 0 ;
53144 PyObject * obj0 = 0 ;
53145 GFitsTableCDoubleCol result;
53146
53147 if (!PyArg_ParseTuple(args,(char *)"O:GFitsTableCDoubleCol_copy",&obj0)) SWIG_failgoto fail;
53148 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GFitsTableCDoubleCol, 0 | 0 )SWIG_Python_ConvertPtrAndOwn(obj0, &argp1, swig_types[22]
, 0 | 0, 0)
;
53149 if (!SWIG_IsOK(res1)(res1 >= 0)) {
53150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GFitsTableCDoubleCol_copy" "', argument " "1"" of type '" "GFitsTableCDoubleCol *""'")do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(((res1 != (
-1)) ? res1 : -5)), "in method '" "GFitsTableCDoubleCol_copy"
"', argument " "1"" of type '" "GFitsTableCDoubleCol *""'");
goto fail; } while(0)
;
53151 }
53152 arg1 = reinterpret_cast< GFitsTableCDoubleCol * >(argp1);
53153 {
53154 try {
53155 result = GFitsTableCDoubleCol_copy(arg1);
53156 }
53157 catch (const GException::out_of_range& e) {
53158 SWIG_exception(SWIG_IndexError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-4), e.what
()); goto fail;; } while(0)
;
53159 }
53160 catch (const GExceptionHandler& e) {
53161 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
53162 }
53163 catch (const std::exception& e) {
53164 SWIG_exception(SWIG_RuntimeError, e.what())do { SWIG_Python_SetErrorMsg(SWIG_Python_ErrorType(-3), e.what
()); goto fail;; } while(0)
;
53165 }
53166 }
53167 resultobj = SWIG_NewPointerObj((new GFitsTableCDoubleCol(static_cast< const GFitsTableCDoubleCol& >(result))), SWIGTYPE_p_GFitsTableCDoubleCol, SWIG_POINTER_OWN | 0 )SWIG_Python_NewPointerObj(__null, (new GFitsTableCDoubleCol(static_cast
< const GFitsTableCDoubleCol& >(result))), swig_types
[22], 0x1 | 0)
;
53168 return resultobj;
53169fail:
53170 return NULL__null;
53171}
53172
53173
53174SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *GFitsTableCDoubleCol_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
53175 PyObject *obj;
53176 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL__null;
53177 SWIG_TypeNewClientData(SWIGTYPE_p_GFitsTableCDoubleColswig_types[22], SWIG_NewClientData(obj)SwigPyClientData_New(obj));
53178 return SWIG_Py_Void();
53179}
53180
53181static PyMethodDef SwigMethods[] = {
53182 { (char *)"SWIG_PyInstanceMethod_New", (PyCFunction)SWIG_PyInstanceMethod_New, METH_O0x0008, NULL__null},
53183 { (char *)"delete_SwigPyIterator", _wrap_delete_SwigPyIterator, METH_VARARGS0x0001, (char *)"delete_SwigPyIterator(SwigPyIterator self)"},
53184 { (char *)"SwigPyIterator_value", _wrap_SwigPyIterator_value, METH_VARARGS0x0001, (char *)"SwigPyIterator_value(SwigPyIterator self) -> PyObject *"},
53185 { (char *)"SwigPyIterator_incr", _wrap_SwigPyIterator_incr, METH_VARARGS0x0001, (char *)"\n"
53186 "incr(size_t n=1) -> SwigPyIterator\n"
53187 "SwigPyIterator_incr(SwigPyIterator self) -> SwigPyIterator\n"
53188 ""},
53189 { (char *)"SwigPyIterator_decr", _wrap_SwigPyIterator_decr, METH_VARARGS0x0001, (char *)"\n"
53190 "decr(size_t n=1) -> SwigPyIterator\n"
53191 "SwigPyIterator_decr(SwigPyIterator self) -> SwigPyIterator\n"
53192 ""},
53193 { (char *)"SwigPyIterator_distance", _wrap_SwigPyIterator_distance, METH_VARARGS0x0001, (char *)"SwigPyIterator_distance(SwigPyIterator self, SwigPyIterator x) -> ptrdiff_t"},
53194 { (char *)"SwigPyIterator_equal", _wrap_SwigPyIterator_equal, METH_VARARGS0x0001, (char *)"SwigPyIterator_equal(SwigPyIterator self, SwigPyIterator x) -> bool"},
53195 { (char *)"SwigPyIterator_copy", _wrap_SwigPyIterator_copy, METH_VARARGS0x0001, (char *)"SwigPyIterator_copy(SwigPyIterator self) -> SwigPyIterator"},
53196 { (char *)"SwigPyIterator_next", _wrap_SwigPyIterator_next, METH_VARARGS0x0001, (char *)"SwigPyIterator_next(SwigPyIterator self) -> PyObject *"},
53197 { (char *)"SwigPyIterator___next__", _wrap_SwigPyIterator___next__, METH_VARARGS0x0001, (char *)"SwigPyIterator___next__(SwigPyIterator self) -> PyObject *"},
53198 { (char *)"SwigPyIterator_previous", _wrap_SwigPyIterator_previous, METH_VARARGS0x0001, (char *)"SwigPyIterator_previous(SwigPyIterator self) -> PyObject *"},
53199 { (char *)"SwigPyIterator_advance", _wrap_SwigPyIterator_advance, METH_VARARGS0x0001, (char *)"SwigPyIterator_advance(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"},
53200 { (char *)"SwigPyIterator___eq__", _wrap_SwigPyIterator___eq__, METH_VARARGS0x0001, (char *)"SwigPyIterator___eq__(SwigPyIterator self, SwigPyIterator x) -> bool"},
53201 { (char *)"SwigPyIterator___ne__", _wrap_SwigPyIterator___ne__, METH_VARARGS0x0001, (char *)"SwigPyIterator___ne__(SwigPyIterator self, SwigPyIterator x) -> bool"},
53202 { (char *)"SwigPyIterator___iadd__", _wrap_SwigPyIterator___iadd__, METH_VARARGS0x0001, (char *)"SwigPyIterator___iadd__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"},
53203 { (char *)"SwigPyIterator___isub__", _wrap_SwigPyIterator___isub__, METH_VARARGS0x0001, (char *)"SwigPyIterator___isub__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"},
53204 { (char *)"SwigPyIterator___add__", _wrap_SwigPyIterator___add__, METH_VARARGS0x0001, (char *)"SwigPyIterator___add__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"},
53205 { (char *)"SwigPyIterator___sub__", _wrap_SwigPyIterator___sub__, METH_VARARGS0x0001, (char *)"\n"
53206 "__sub__(ptrdiff_t n) -> SwigPyIterator\n"
53207 "SwigPyIterator___sub__(SwigPyIterator self, SwigPyIterator x) -> ptrdiff_t\n"
53208 ""},
53209 { (char *)"SwigPyIterator_swigregister", SwigPyIterator_swigregister, METH_VARARGS0x0001, NULL__null},
53210 { (char *)"new_GFits", _wrap_new_GFits, METH_VARARGS0x0001, (char *)"\n"
53211 "GFits()\n"
53212 "GFits(std::string const & filename, bool const & create=False)\n"
53213 "GFits(std::string const & filename)\n"
53214 "new_GFits(GFits fits) -> GFits\n"
53215 ""},
53216 { (char *)"delete_GFits", _wrap_delete_GFits, METH_VARARGS0x0001, (char *)"delete_GFits(GFits self)"},
53217 { (char *)"GFits_clear", _wrap_GFits_clear, METH_VARARGS0x0001, (char *)"GFits_clear(GFits self)"},
53218 { (char *)"GFits_clone", _wrap_GFits_clone, METH_VARARGS0x0001, (char *)"GFits_clone(GFits self) -> GFits"},
53219 { (char *)"GFits_at", _wrap_GFits_at, METH_VARARGS0x0001, (char *)"\n"
53220 "at(int const & extno) -> GFitsHDU\n"
53221 "GFits_at(GFits self, std::string const & extname) -> GFitsHDU\n"
53222 ""},
53223 { (char *)"GFits_image", _wrap_GFits_image, METH_VARARGS0x0001, (char *)"\n"
53224 "image(int const & extno) -> GFitsImage\n"
53225 "GFits_image(GFits self, std::string const & extname) -> GFitsImage\n"
53226 ""},
53227 { (char *)"GFits_table", _wrap_GFits_table, METH_VARARGS0x0001, (char *)"\n"
53228 "table(int const & extno) -> GFitsTable\n"
53229 "GFits_table(GFits self, std::string const & extname) -> GFitsTable\n"
53230 ""},
53231 { (char *)"GFits_size", _wrap_GFits_size, METH_VARARGS0x0001, (char *)"GFits_size(GFits self) -> int"},
53232 { (char *)"GFits_isempty", _wrap_GFits_isempty, METH_VARARGS0x0001, (char *)"GFits_isempty(GFits self) -> bool"},
53233 { (char *)"GFits_set", _wrap_GFits_set, METH_VARARGS0x0001, (char *)"\n"
53234 "set(int const & extno, GFitsHDU hdu) -> GFitsHDU\n"
53235 "GFits_set(GFits self, std::string const & extname, GFitsHDU hdu) -> GFitsHDU\n"
53236 ""},
53237 { (char *)"GFits_append", _wrap_GFits_append, METH_VARARGS0x0001, (char *)"GFits_append(GFits self, GFitsHDU hdu) -> GFitsHDU"},
53238 { (char *)"GFits_insert", _wrap_GFits_insert, METH_VARARGS0x0001, (char *)"\n"
53239 "insert(int const & extno, GFitsHDU hdu) -> GFitsHDU\n"
53240 "GFits_insert(GFits self, std::string const & extname, GFitsHDU hdu) -> GFitsHDU\n"
53241 ""},
53242 { (char *)"GFits_remove", _wrap_GFits_remove, METH_VARARGS0x0001, (char *)"\n"
53243 "remove(int const & extno)\n"
53244 "GFits_remove(GFits self, std::string const & extname)\n"
53245 ""},
53246 { (char *)"GFits_reserve", _wrap_GFits_reserve, METH_VARARGS0x0001, (char *)"GFits_reserve(GFits self, int const & num)"},
53247 { (char *)"GFits_extend", _wrap_GFits_extend, METH_VARARGS0x0001, (char *)"GFits_extend(GFits self, GFits fits)"},
53248 { (char *)"GFits_contains", _wrap_GFits_contains, METH_VARARGS0x0001, (char *)"\n"
53249 "contains(int const & extno) -> bool\n"
53250 "GFits_contains(GFits self, std::string const & extname) -> bool\n"
53251 ""},
53252 { (char *)"GFits_filename", _wrap_GFits_filename, METH_VARARGS0x0001, (char *)"GFits_filename(GFits self) -> std::string const &"},
53253 { (char *)"GFits_extno", _wrap_GFits_extno, METH_VARARGS0x0001, (char *)"GFits_extno(GFits self, std::string const & extname) -> int"},
53254 { (char *)"GFits_open", _wrap_GFits_open, METH_VARARGS0x0001, (char *)"\n"
53255 "open(std::string const & filename, bool const & create=False)\n"
53256 "GFits_open(GFits self, std::string const & filename)\n"
53257 ""},
53258 { (char *)"GFits_save", _wrap_GFits_save, METH_VARARGS0x0001, (char *)"\n"
53259 "save(bool const & clobber=False)\n"
53260 "GFits_save(GFits self)\n"
53261 ""},
53262 { (char *)"GFits_saveto", _wrap_GFits_saveto, METH_VARARGS0x0001, (char *)"\n"
53263 "saveto(std::string const & filename, bool const & clobber=False)\n"
53264 "GFits_saveto(GFits self, std::string const & filename)\n"
53265 ""},
53266 { (char *)"GFits_close", _wrap_GFits_close, METH_VARARGS0x0001, (char *)"GFits_close(GFits self)"},
53267 { (char *)"GFits___getitem__", _wrap_GFits___getitem__, METH_VARARGS0x0001, (char *)"\n"
53268 "__getitem__(int const & extno) -> GFitsHDU\n"
53269 "GFits___getitem__(GFits self, std::string const & extname) -> GFitsHDU\n"
53270 ""},
53271 { (char *)"GFits___setitem__", _wrap_GFits___setitem__, METH_VARARGS0x0001, (char *)"\n"
53272 "__setitem__(int const & extno, GFitsHDU hdu)\n"
53273 "GFits___setitem__(GFits self, std::string const & extname, GFitsHDU hdu)\n"
53274 ""},
53275 { (char *)"GFits_copy", _wrap_GFits_copy, METH_VARARGS0x0001, (char *)"GFits_copy(GFits self) -> GFits"},
53276 { (char *)"GFits_swigregister", GFits_swigregister, METH_VARARGS0x0001, NULL__null},
53277 { (char *)"delete_GFitsHDU", _wrap_delete_GFitsHDU, METH_VARARGS0x0001, (char *)"delete_GFitsHDU(GFitsHDU self)"},
53278 { (char *)"GFitsHDU_clear", _wrap_GFitsHDU_clear, METH_VARARGS0x0001, (char *)"GFitsHDU_clear(GFitsHDU self)"},
53279 { (char *)"GFitsHDU_clone", _wrap_GFitsHDU_clone, METH_VARARGS0x0001, (char *)"GFitsHDU_clone(GFitsHDU self) -> GFitsHDU"},
53280 { (char *)"GFitsHDU_exttype", _wrap_GFitsHDU_exttype, METH_VARARGS0x0001, (char *)"GFitsHDU_exttype(GFitsHDU self) -> GFitsHDU::HDUType"},
53281 { (char *)"GFitsHDU_size", _wrap_GFitsHDU_size, METH_VARARGS0x0001, (char *)"GFitsHDU_size(GFitsHDU self) -> int"},
53282 { (char *)"GFitsHDU_extname", _wrap_GFitsHDU_extname, METH_VARARGS0x0001, (char *)"\n"
53283 "extname() -> std::string const\n"
53284 "GFitsHDU_extname(GFitsHDU self, std::string const & extname)\n"
53285 ""},
53286 { (char *)"GFitsHDU_extno", _wrap_GFitsHDU_extno, METH_VARARGS0x0001, (char *)"\n"
53287 "extno() -> int const\n"
53288 "GFitsHDU_extno(GFitsHDU self, int const & extno)\n"
53289 ""},
53290 { (char *)"GFitsHDU_header", _wrap_GFitsHDU_header, METH_VARARGS0x0001, (char *)"GFitsHDU_header(GFitsHDU self) -> GFitsHeader"},
53291 { (char *)"GFitsHDU_hascard", _wrap_GFitsHDU_hascard, METH_VARARGS0x0001, (char *)"\n"
53292 "hascard(int const & cardno) -> bool\n"
53293 "GFitsHDU_hascard(GFitsHDU self, std::string const & keyname) -> bool\n"
53294 ""},
53295 { (char *)"GFitsHDU_card", _wrap_GFitsHDU_card, METH_VARARGS0x0001, (char *)"\n"
53296 "card(int const & cardno) -> GFitsHeaderCard\n"
53297 "card(std::string const & keyname) -> GFitsHeaderCard\n"
53298 "card(GFitsHeaderCard card)\n"
53299 "card(std::string const & keyname, std::string const & value, std::string const & comment)\n"
53300 "card(std::string const & keyname, double const & value, std::string const & comment)\n"
53301 "GFitsHDU_card(GFitsHDU self, std::string const & keyname, int const & value, std::string const & comment)\n"
53302 ""},
53303 { (char *)"GFitsHDU_string", _wrap_GFitsHDU_string, METH_VARARGS0x0001, (char *)"GFitsHDU_string(GFitsHDU self, std::string const & keyname) -> std::string"},
53304 { (char *)"GFitsHDU_real", _wrap_GFitsHDU_real, METH_VARARGS0x0001, (char *)"GFitsHDU_real(GFitsHDU self, std::string const & keyname) -> double"},
53305 { (char *)"GFitsHDU_integer", _wrap_GFitsHDU_integer, METH_VARARGS0x0001, (char *)"GFitsHDU_integer(GFitsHDU self, std::string const & keyname) -> int"},
53306 { (char *)"GFitsHDU_swigregister", GFitsHDU_swigregister, METH_VARARGS0x0001, NULL__null},
53307 { (char *)"new_GFitsHeader", _wrap_new_GFitsHeader, METH_VARARGS0x0001, (char *)"\n"
53308 "GFitsHeader()\n"
53309 "new_GFitsHeader(GFitsHeader header) -> GFitsHeader\n"
53310 ""},
53311 { (char *)"delete_GFitsHeader", _wrap_delete_GFitsHeader, METH_VARARGS0x0001, (char *)"delete_GFitsHeader(GFitsHeader self)"},
53312 { (char *)"GFitsHeader_clear", _wrap_GFitsHeader_clear, METH_VARARGS0x0001, (char *)"GFitsHeader_clear(GFitsHeader self)"},
53313 { (char *)"GFitsHeader_clone", _wrap_GFitsHeader_clone, METH_VARARGS0x0001, (char *)"GFitsHeader_clone(GFitsHeader self) -> GFitsHeader"},
53314 { (char *)"GFitsHeader_at", _wrap_GFitsHeader_at, METH_VARARGS0x0001, (char *)"\n"
53315 "at(int const & cardno) -> GFitsHeaderCard\n"
53316 "GFitsHeader_at(GFitsHeader self, std::string const & keyname) -> GFitsHeaderCard\n"
53317 ""},
53318 { (char *)"GFitsHeader_string", _wrap_GFitsHeader_string, METH_VARARGS0x0001, (char *)"\n"
53319 "string(int const & cardno) -> std::string\n"
53320 "GFitsHeader_string(GFitsHeader self, std::string const & keyname) -> std::string\n"
53321 ""},
53322 { (char *)"GFitsHeader_real", _wrap_GFitsHeader_real, METH_VARARGS0x0001, (char *)"\n"
53323 "real(int const & cardno) -> double\n"
53324 "GFitsHeader_real(GFitsHeader self, std::string const & keyname) -> double\n"
53325 ""},
53326 { (char *)"GFitsHeader_integer", _wrap_GFitsHeader_integer, METH_VARARGS0x0001, (char *)"\n"
53327 "integer(int const & cardno) -> int\n"
53328 "GFitsHeader_integer(GFitsHeader self, std::string const & keyname) -> int\n"
53329 ""},
53330 { (char *)"GFitsHeader_size", _wrap_GFitsHeader_size, METH_VARARGS0x0001, (char *)"GFitsHeader_size(GFitsHeader self) -> int"},
53331 { (char *)"GFitsHeader_isempty", _wrap_GFitsHeader_isempty, METH_VARARGS0x0001, (char *)"GFitsHeader_isempty(GFitsHeader self) -> bool"},
53332 { (char *)"GFitsHeader_append", _wrap_GFitsHeader_append, METH_VARARGS0x0001, (char *)"GFitsHeader_append(GFitsHeader self, GFitsHeaderCard card) -> GFitsHeaderCard"},
53333 { (char *)"GFitsHeader_insert", _wrap_GFitsHeader_insert, METH_VARARGS0x0001, (char *)"\n"
53334 "insert(int const & cardno, GFitsHeaderCard card) -> GFitsHeaderCard\n"
53335 "GFitsHeader_insert(GFitsHeader self, std::string const & keyname, GFitsHeaderCard card) -> GFitsHeaderCard\n"
53336 ""},
53337 { (char *)"GFitsHeader_remove", _wrap_GFitsHeader_remove, METH_VARARGS0x0001, (char *)"\n"
53338 "remove(int const & cardno)\n"
53339 "GFitsHeader_remove(GFitsHeader self, std::string const & keyname)\n"
53340 ""},
53341 { (char *)"GFitsHeader_reserve", _wrap_GFitsHeader_reserve, METH_VARARGS0x0001, (char *)"GFitsHeader_reserve(GFitsHeader self, int const & num)"},
53342 { (char *)"GFitsHeader_extend", _wrap_GFitsHeader_extend, METH_VARARGS0x0001, (char *)"GFitsHeader_extend(GFitsHeader self, GFitsHeader header)"},
53343 { (char *)"GFitsHeader_contains", _wrap_GFitsHeader_contains, METH_VARARGS0x0001, (char *)"\n"
53344 "contains(int const & cardno) -> bool\n"
53345 "GFitsHeader_contains(GFitsHeader self, std::string const & keyname) -> bool\n"
53346 ""},
53347 { (char *)"GFitsHeader_load", _wrap_GFitsHeader_load, METH_VARARGS0x0001, (char *)"GFitsHeader_load(GFitsHeader self, void * vptr)"},
53348 { (char *)"GFitsHeader_save", _wrap_GFitsHeader_save, METH_VARARGS0x0001, (char *)"GFitsHeader_save(GFitsHeader self, void * vptr)"},
53349 { (char *)"GFitsHeader___getitem__", _wrap_GFitsHeader___getitem__, METH_VARARGS0x0001, (char *)"\n"
53350 "__getitem__(int const & cardno) -> GFitsHeaderCard\n"
53351 "GFitsHeader___getitem__(GFitsHeader self, std::string const & keyname) -> GFitsHeaderCard\n"
53352 ""},
53353 { (char *)"GFitsHeader___setitem__", _wrap_GFitsHeader___setitem__, METH_VARARGS0x0001, (char *)"\n"
53354 "__setitem__(int const & cardno, GFitsHeaderCard card)\n"
53355 "GFitsHeader___setitem__(GFitsHeader self, std::string const & keyname, GFitsHeaderCard card)\n"
53356 ""},
53357 { (char *)"GFitsHeader_copy", _wrap_GFitsHeader_copy, METH_VARARGS0x0001, (char *)"GFitsHeader_copy(GFitsHeader self) -> GFitsHeader"},
53358 { (char *)"GFitsHeader_swigregister", GFitsHeader_swigregister, METH_VARARGS0x0001, NULL__null},
53359 { (char *)"new_GFitsHeaderCard", _wrap_new_GFitsHeaderCard, METH_VARARGS0x0001, (char *)"\n"
53360 "GFitsHeaderCard()\n"
53361 "GFitsHeaderCard(std::string const & keyname, std::string const & value, std::string const & comment)\n"
53362 "GFitsHeaderCard(std::string const & keyname, double const & value, std::string const & comment)\n"
53363 "GFitsHeaderCard(std::string const & keyname, int const & value, std::string const & comment)\n"
53364 "new_GFitsHeaderCard(GFitsHeaderCard card) -> GFitsHeaderCard\n"
53365 ""},
53366 { (char *)"delete_GFitsHeaderCard", _wrap_delete_GFitsHeaderCard, METH_VARARGS0x0001, (char *)"delete_GFitsHeaderCard(GFitsHeaderCard self)"},
53367 { (char *)"GFitsHeaderCard_clear", _wrap_GFitsHeaderCard_clear, METH_VARARGS0x0001, (char *)"GFitsHeaderCard_clear(GFitsHeaderCard self)"},
53368 { (char *)"GFitsHeaderCard_clone", _wrap_GFitsHeaderCard_clone, METH_VARARGS0x0001, (char *)"GFitsHeaderCard_clone(GFitsHeaderCard self) -> GFitsHeaderCard"},
53369 { (char *)"GFitsHeaderCard_keyname", _wrap_GFitsHeaderCard_keyname, METH_VARARGS0x0001, (char *)"\n"
53370 "keyname(std::string const & keyname)\n"
53371 "GFitsHeaderCard_keyname(GFitsHeaderCard self) -> std::string\n"
53372 ""},
53373 { (char *)"GFitsHeaderCard_value", _wrap_GFitsHeaderCard_value, METH_VARARGS0x0001, (char *)"\n"
53374 "value(std::string const & value)\n"
53375 "value(bool const & value)\n"
53376 "value(float const & value)\n"
53377 "value(double const & value)\n"
53378 "value(unsigned short const & value)\n"
53379 "value(short const & value)\n"
53380 "value(unsigned int const & value)\n"
53381 "value(int const & value)\n"
53382 "value(long const & value)\n"
53383 "value(unsigned long const & value)\n"
53384 "value(long long const & value)\n"
53385 "GFitsHeaderCard_value(GFitsHeaderCard self) -> std::string\n"
53386 ""},
53387 { (char *)"GFitsHeaderCard_decimals", _wrap_GFitsHeaderCard_decimals, METH_VARARGS0x0001, (char *)"GFitsHeaderCard_decimals(GFitsHeaderCard self) -> int"},
53388 { (char *)"GFitsHeaderCard_unit", _wrap_GFitsHeaderCard_unit, METH_VARARGS0x0001, (char *)"\n"
53389 "unit(std::string const & unit)\n"
53390 "GFitsHeaderCard_unit(GFitsHeaderCard self) -> std::string\n"
53391 ""},
53392 { (char *)"GFitsHeaderCard_comment", _wrap_GFitsHeaderCard_comment, METH_VARARGS0x0001, (char *)"\n"
53393 "comment(std::string const & comment)\n"
53394 "GFitsHeaderCard_comment(GFitsHeaderCard self) -> std::string\n"
53395 ""},
53396 { (char *)"GFitsHeaderCard_string", _wrap_GFitsHeaderCard_string, METH_VARARGS0x0001, (char *)"GFitsHeaderCard_string(GFitsHeaderCard self) -> std::string"},
53397 { (char *)"GFitsHeaderCard_real", _wrap_GFitsHeaderCard_real, METH_VARARGS0x0001, (char *)"GFitsHeaderCard_real(GFitsHeaderCard self) -> double"},
53398 { (char *)"GFitsHeaderCard_integer", _wrap_GFitsHeaderCard_integer, METH_VARARGS0x0001, (char *)"GFitsHeaderCard_integer(GFitsHeaderCard self) -> int"},
53399 { (char *)"GFitsHeaderCard_copy", _wrap_GFitsHeaderCard_copy, METH_VARARGS0x0001, (char *)"GFitsHeaderCard_copy(GFitsHeaderCard self) -> GFitsHeaderCard"},
53400 { (char *)"GFitsHeaderCard_swigregister", GFitsHeaderCard_swigregister, METH_VARARGS0x0001, NULL__null},
53401 { (char *)"delete_GFitsImage", _wrap_delete_GFitsImage, METH_VARARGS0x0001, (char *)"delete_GFitsImage(GFitsImage self)"},
53402 { (char *)"GFitsImage_clear", _wrap_GFitsImage_clear, METH_VARARGS0x0001, (char *)"GFitsImage_clear(GFitsImage self)"},
53403 { (char *)"GFitsImage_clone", _wrap_GFitsImage_clone, METH_VARARGS0x0001, (char *)"GFitsImage_clone(GFitsImage self) -> GFitsImage"},
53404 { (char *)"GFitsImage_pixels", _wrap_GFitsImage_pixels, METH_VARARGS0x0001, (char *)"GFitsImage_pixels(GFitsImage self) -> void *"},
53405 { (char *)"GFitsImage_pixel", _wrap_GFitsImage_pixel, METH_VARARGS0x0001, (char *)"\n"
53406 "pixel(int const & ix) -> double\n"
53407 "pixel(int const & ix, int const & iy) -> double\n"
53408 "pixel(int const & ix, int const & iy, int const & iz) -> double\n"
53409 "GFitsImage_pixel(GFitsImage self, int const & ix, int const & iy, int const & iz, int const & it) -> double\n"
53410 ""},
53411 { (char *)"GFitsImage_type", _wrap_GFitsImage_type, METH_VARARGS0x0001, (char *)"GFitsImage_type(GFitsImage self) -> int"},
53412 { (char *)"GFitsImage_exttype", _wrap_GFitsImage_exttype, METH_VARARGS0x0001, (char *)"GFitsImage_exttype(GFitsImage self) -> GFitsHDU::HDUType"},
53413 { (char *)"GFitsImage_size", _wrap_GFitsImage_size, METH_VARARGS0x0001, (char *)"GFitsImage_size(GFitsImage self) -> int const &"},
53414 { (char *)"GFitsImage_bitpix", _wrap_GFitsImage_bitpix, METH_VARARGS0x0001, (char *)"GFitsImage_bitpix(GFitsImage self) -> int const &"},
53415 { (char *)"GFitsImage_naxis", _wrap_GFitsImage_naxis, METH_VARARGS0x0001, (char *)"GFitsImage_naxis(GFitsImage self) -> int const &"},
53416 { (char *)"GFitsImage_naxes", _wrap_GFitsImage_naxes, METH_VARARGS0x0001, (char *)"GFitsImage_naxes(GFitsImage self, int const & axis) -> int"},
53417 { (char *)"GFitsImage_anynul", _wrap_GFitsImage_anynul, METH_VARARGS0x0001, (char *)"GFitsImage_anynul(GFitsImage self) -> int const &"},
53418 { (char *)"GFitsImage_nulval", _wrap_GFitsImage_nulval, METH_VARARGS0x0001, (char *)"\n"
53419 "nulval(void const * value)\n"
53420 "GFitsImage_nulval(GFitsImage self) -> void const *\n"
53421 ""},
53422 { (char *)"GFitsImage_swigregister", GFitsImage_swigregister, METH_VARARGS0x0001, NULL__null},
53423 { (char *)"new_GFitsImageByte", _wrap_new_GFitsImageByte, METH_VARARGS0x0001, (char *)"\n"
53424 "GFitsImageByte()\n"
53425 "GFitsImageByte(int const & nx, unsigned char const * pixels=None)\n"
53426 "GFitsImageByte(int const & nx)\n"
53427 "GFitsImageByte(int const & nx, int const & ny, unsigned char const * pixels=None)\n"
53428 "GFitsImageByte(int const & nx, int const & ny)\n"
53429 "GFitsImageByte(int const & nx, int const & ny, int const & nz, unsigned char const * pixels=None)\n"
53430 "GFitsImageByte(int const & nx, int const & ny, int const & nz)\n"
53431 "GFitsImageByte(int const & nx, int const & ny, int const & nz, int const & nt, unsigned char const * pixels=None)\n"
53432 "GFitsImageByte(int const & nx, int const & ny, int const & nz, int const & nt)\n"
53433 "GFitsImageByte(int const & naxis, int const * naxes, unsigned char const * pixels=None)\n"
53434 "GFitsImageByte(int const & naxis, int const * naxes)\n"
53435 "new_GFitsImageByte(GFitsImageByte image) -> GFitsImageByte\n"
53436 ""},
53437 { (char *)"delete_GFitsImageByte", _wrap_delete_GFitsImageByte, METH_VARARGS0x0001, (char *)"delete_GFitsImageByte(GFitsImageByte self)"},
53438 { (char *)"GFitsImageByte_clear", _wrap_GFitsImageByte_clear, METH_VARARGS0x0001, (char *)"GFitsImageByte_clear(GFitsImageByte self)"},
53439 { (char *)"GFitsImageByte_clone", _wrap_GFitsImageByte_clone, METH_VARARGS0x0001, (char *)"GFitsImageByte_clone(GFitsImageByte self) -> GFitsImageByte"},
53440 { (char *)"GFitsImageByte_pixel", _wrap_GFitsImageByte_pixel, METH_VARARGS0x0001, (char *)"\n"
53441 "pixel(int const & ix) -> double\n"
53442 "pixel(int const & ix, int const & iy) -> double\n"
53443 "pixel(int const & ix, int const & iy, int const & iz) -> double\n"
53444 "GFitsImageByte_pixel(GFitsImageByte self, int const & ix, int const & iy, int const & iz, int const & it) -> double\n"
53445 ""},
53446 { (char *)"GFitsImageByte_pixels", _wrap_GFitsImageByte_pixels, METH_VARARGS0x0001, (char *)"GFitsImageByte_pixels(GFitsImageByte self) -> void *"},
53447 { (char *)"GFitsImageByte_type", _wrap_GFitsImageByte_type, METH_VARARGS0x0001, (char *)"GFitsImageByte_type(GFitsImageByte self) -> int"},
53448 { (char *)"GFitsImageByte___getitem__", _wrap_GFitsImageByte___getitem__, METH_VARARGS0x0001, (char *)"GFitsImageByte___getitem__(GFitsImageByte self, int [] GFitsImageInx) -> unsigned char"},
53449 { (char *)"GFitsImageByte___setitem__", _wrap_GFitsImageByte___setitem__, METH_VARARGS0x0001, (char *)"GFitsImageByte___setitem__(GFitsImageByte self, int [] GFitsImageInx, unsigned char value)"},
53450 { (char *)"GFitsImageByte_copy", _wrap_GFitsImageByte_copy, METH_VARARGS0x0001, (char *)"GFitsImageByte_copy(GFitsImageByte self) -> GFitsImageByte"},
53451 { (char *)"GFitsImageByte_swigregister", GFitsImageByte_swigregister, METH_VARARGS0x0001, NULL__null},
53452 { (char *)"new_GFitsImageSByte", _wrap_new_GFitsImageSByte, METH_VARARGS0x0001, (char *)"\n"
53453 "GFitsImageSByte()\n"
53454 "GFitsImageSByte(int const & nx, char const * pixels=None)\n"
53455 "GFitsImageSByte(int const & nx)\n"
53456 "GFitsImageSByte(int const & nx, int const & ny, char const * pixels=None)\n"
53457 "GFitsImageSByte(int const & nx, int const & ny)\n"
53458 "GFitsImageSByte(int const & nx, int const & ny, int const & nz, char const * pixels=None)\n"
53459 "GFitsImageSByte(int const & nx, int const & ny, int const & nz)\n"
53460 "GFitsImageSByte(int const & nx, int const & ny, int const & nz, int const & nt, char const * pixels=None)\n"
53461 "GFitsImageSByte(int const & nx, int const & ny, int const & nz, int const & nt)\n"
53462 "GFitsImageSByte(int const & naxis, int const * naxes, char const * pixels=None)\n"
53463 "GFitsImageSByte(int const & naxis, int const * naxes)\n"
53464 "new_GFitsImageSByte(GFitsImageSByte image) -> GFitsImageSByte\n"
53465 ""},
53466 { (char *)"delete_GFitsImageSByte", _wrap_delete_GFitsImageSByte, METH_VARARGS0x0001, (char *)"delete_GFitsImageSByte(GFitsImageSByte self)"},
53467 { (char *)"GFitsImageSByte_clear", _wrap_GFitsImageSByte_clear, METH_VARARGS0x0001, (char *)"GFitsImageSByte_clear(GFitsImageSByte self)"},
53468 { (char *)"GFitsImageSByte_clone", _wrap_GFitsImageSByte_clone, METH_VARARGS0x0001, (char *)"GFitsImageSByte_clone(GFitsImageSByte self) -> GFitsImageSByte"},
53469 { (char *)"GFitsImageSByte_pixel", _wrap_GFitsImageSByte_pixel, METH_VARARGS0x0001, (char *)"\n"
53470 "pixel(int const & ix) -> double\n"
53471 "pixel(int const & ix, int const & iy) -> double\n"
53472 "pixel(int const & ix, int const & iy, int const & iz) -> double\n"
53473 "GFitsImageSByte_pixel(GFitsImageSByte self, int const & ix, int const & iy, int const & iz, int const & it) -> double\n"
53474 ""},
53475 { (char *)"GFitsImageSByte_pixels", _wrap_GFitsImageSByte_pixels, METH_VARARGS0x0001, (char *)"GFitsImageSByte_pixels(GFitsImageSByte self) -> void *"},
53476 { (char *)"GFitsImageSByte_type", _wrap_GFitsImageSByte_type, METH_VARARGS0x0001, (char *)"GFitsImageSByte_type(GFitsImageSByte self) -> int"},
53477 { (char *)"GFitsImageSByte___getitem__", _wrap_GFitsImageSByte___getitem__, METH_VARARGS0x0001, (char *)"GFitsImageSByte___getitem__(GFitsImageSByte self, int [] GFitsImageInx) -> char"},
53478 { (char *)"GFitsImageSByte___setitem__", _wrap_GFitsImageSByte___setitem__, METH_VARARGS0x0001, (char *)"GFitsImageSByte___setitem__(GFitsImageSByte self, int [] GFitsImageInx, char value)"},
53479 { (char *)"GFitsImageSByte_copy", _wrap_GFitsImageSByte_copy, METH_VARARGS0x0001, (char *)"GFitsImageSByte_copy(GFitsImageSByte self) -> GFitsImageSByte"},
53480 { (char *)"GFitsImageSByte_swigregister", GFitsImageSByte_swigregister, METH_VARARGS0x0001, NULL__null},
53481 { (char *)"new_GFitsImageUShort", _wrap_new_GFitsImageUShort, METH_VARARGS0x0001, (char *)"\n"
53482 "GFitsImageUShort()\n"
53483 "GFitsImageUShort(int const & nx, unsigned short const * pixels=None)\n"
53484 "GFitsImageUShort(int const & nx)\n"
53485 "GFitsImageUShort(int const & nx, int const & ny, unsigned short const * pixels=None)\n"
53486 "GFitsImageUShort(int const & nx, int const & ny)\n"
53487 "GFitsImageUShort(int const & nx, int const & ny, int const & nz, unsigned short const * pixels=None)\n"
53488 "GFitsImageUShort(int const & nx, int const & ny, int const & nz)\n"
53489 "GFitsImageUShort(int const & nx, int const & ny, int const & nz, int const & nt, unsigned short const * pixels=None)\n"
53490 "GFitsImageUShort(int const & nx, int const & ny, int const & nz, int const & nt)\n"
53491 "GFitsImageUShort(int const & naxis, int const * naxes, unsigned short const * pixels=None)\n"
53492 "GFitsImageUShort(int const & naxis, int const * naxes)\n"
53493 "new_GFitsImageUShort(GFitsImageUShort image) -> GFitsImageUShort\n"
53494 ""},
53495 { (char *)"delete_GFitsImageUShort", _wrap_delete_GFitsImageUShort, METH_VARARGS0x0001, (char *)"delete_GFitsImageUShort(GFitsImageUShort self)"},
53496 { (char *)"GFitsImageUShort_clear", _wrap_GFitsImageUShort_clear, METH_VARARGS0x0001, (char *)"GFitsImageUShort_clear(GFitsImageUShort self)"},
53497 { (char *)"GFitsImageUShort_clone", _wrap_GFitsImageUShort_clone, METH_VARARGS0x0001, (char *)"GFitsImageUShort_clone(GFitsImageUShort self) -> GFitsImageUShort"},
53498 { (char *)"GFitsImageUShort_pixel", _wrap_GFitsImageUShort_pixel, METH_VARARGS0x0001, (char *)"\n"
53499 "pixel(int const & ix) -> double\n"
53500 "pixel(int const & ix, int const & iy) -> double\n"
53501 "pixel(int const & ix, int const & iy, int const & iz) -> double\n"
53502 "GFitsImageUShort_pixel(GFitsImageUShort self, int const & ix, int const & iy, int const & iz, int const & it) -> double\n"
53503 ""},
53504 { (char *)"GFitsImageUShort_pixels", _wrap_GFitsImageUShort_pixels, METH_VARARGS0x0001, (char *)"GFitsImageUShort_pixels(GFitsImageUShort self) -> void *"},
53505 { (char *)"GFitsImageUShort_type", _wrap_GFitsImageUShort_type, METH_VARARGS0x0001, (char *)"GFitsImageUShort_type(GFitsImageUShort self) -> int"},
53506 { (char *)"GFitsImageUShort___getitem__", _wrap_GFitsImageUShort___getitem__, METH_VARARGS0x0001, (char *)"GFitsImageUShort___getitem__(GFitsImageUShort self, int [] GFitsImageInx) -> unsigned short"},
53507 { (char *)"GFitsImageUShort___setitem__", _wrap_GFitsImageUShort___setitem__, METH_VARARGS0x0001, (char *)"GFitsImageUShort___setitem__(GFitsImageUShort self, int [] GFitsImageInx, unsigned short value)"},
53508 { (char *)"GFitsImageUShort_copy", _wrap_GFitsImageUShort_copy, METH_VARARGS0x0001, (char *)"GFitsImageUShort_copy(GFitsImageUShort self) -> GFitsImageUShort"},
53509 { (char *)"GFitsImageUShort_swigregister", GFitsImageUShort_swigregister, METH_VARARGS0x0001, NULL__null},
53510 { (char *)"new_GFitsImageShort", _wrap_new_GFitsImageShort, METH_VARARGS0x0001, (char *)"\n"
53511 "GFitsImageShort()\n"
53512 "GFitsImageShort(int const & nx, short const * pixels=None)\n"
53513 "GFitsImageShort(int const & nx)\n"
53514 "GFitsImageShort(int const & nx, int const & ny, short const * pixels=None)\n"
53515 "GFitsImageShort(int const & nx, int const & ny)\n"
53516 "GFitsImageShort(int const & nx, int const & ny, int const & nz, short const * pixels=None)\n"
53517 "GFitsImageShort(int const & nx, int const & ny, int const & nz)\n"
53518 "GFitsImageShort(int const & nx, int const & ny, int const & nz, int const & nt, short const * pixels=None)\n"
53519 "GFitsImageShort(int const & nx, int const & ny, int const & nz, int const & nt)\n"
53520 "GFitsImageShort(int const & naxis, int const * naxes, short const * pixels=None)\n"
53521 "GFitsImageShort(int const & naxis, int const * naxes)\n"
53522 "new_GFitsImageShort(GFitsImageShort image) -> GFitsImageShort\n"
53523 ""},
53524 { (char *)"delete_GFitsImageShort", _wrap_delete_GFitsImageShort, METH_VARARGS0x0001, (char *)"delete_GFitsImageShort(GFitsImageShort self)"},
53525 { (char *)"GFitsImageShort_clear", _wrap_GFitsImageShort_clear, METH_VARARGS0x0001, (char *)"GFitsImageShort_clear(GFitsImageShort self)"},
53526 { (char *)"GFitsImageShort_clone", _wrap_GFitsImageShort_clone, METH_VARARGS0x0001, (char *)"GFitsImageShort_clone(GFitsImageShort self) -> GFitsImageShort"},
53527 { (char *)"GFitsImageShort_pixel", _wrap_GFitsImageShort_pixel, METH_VARARGS0x0001, (char *)"\n"
53528 "pixel(int const & ix) -> double\n"
53529 "pixel(int const & ix, int const & iy) -> double\n"
53530 "pixel(int const & ix, int const & iy, int const & iz) -> double\n"
53531 "GFitsImageShort_pixel(GFitsImageShort self, int const & ix, int const & iy, int const & iz, int const & it) -> double\n"
53532 ""},
53533 { (char *)"GFitsImageShort_pixels", _wrap_GFitsImageShort_pixels, METH_VARARGS0x0001, (char *)"GFitsImageShort_pixels(GFitsImageShort self) -> void *"},
53534 { (char *)"GFitsImageShort_type", _wrap_GFitsImageShort_type, METH_VARARGS0x0001, (char *)"GFitsImageShort_type(GFitsImageShort self) -> int"},
53535 { (char *)"GFitsImageShort___getitem__", _wrap_GFitsImageShort___getitem__, METH_VARARGS0x0001, (char *)"GFitsImageShort___getitem__(GFitsImageShort self, int [] GFitsImageInx) -> short"},
53536 { (char *)"GFitsImageShort___setitem__", _wrap_GFitsImageShort___setitem__, METH_VARARGS0x0001, (char *)"GFitsImageShort___setitem__(GFitsImageShort self, int [] GFitsImageInx, short value)"},
53537 { (char *)"GFitsImageShort_copy", _wrap_GFitsImageShort_copy, METH_VARARGS0x0001, (char *)"GFitsImageShort_copy(GFitsImageShort self) -> GFitsImageShort"},
53538 { (char *)"GFitsImageShort_swigregister", GFitsImageShort_swigregister, METH_VARARGS0x0001, NULL__null},
53539 { (char *)"new_GFitsImageULong", _wrap_new_GFitsImageULong, METH_VARARGS0x0001, (char *)"\n"
53540 "GFitsImageULong()\n"
53541 "GFitsImageULong(int const & nx, unsigned long const * pixels=None)\n"
53542 "GFitsImageULong(int const & nx)\n"
53543 "GFitsImageULong(int const & nx, int const & ny, unsigned long const * pixels=None)\n"
53544 "GFitsImageULong(int const & nx, int const & ny)\n"
53545 "GFitsImageULong(int const & nx, int const & ny, int const & nz, unsigned long const * pixels=None)\n"
53546 "GFitsImageULong(int const & nx, int const & ny, int const & nz)\n"
53547 "GFitsImageULong(int const & nx, int const & ny, int const & nz, int const & nt, unsigned long const * pixels=None)\n"
53548 "GFitsImageULong(int const & nx, int const & ny, int const & nz, int const & nt)\n"
53549 "GFitsImageULong(int const & naxis, int const * naxes, unsigned long const * pixels=None)\n"
53550 "GFitsImageULong(int const & naxis, int const * naxes)\n"
53551 "new_GFitsImageULong(GFitsImageULong image) -> GFitsImageULong\n"
53552 ""},
53553 { (char *)"delete_GFitsImageULong", _wrap_delete_GFitsImageULong, METH_VARARGS0x0001, (char *)"delete_GFitsImageULong(GFitsImageULong self)"},
53554 { (char *)"GFitsImageULong_clear", _wrap_GFitsImageULong_clear, METH_VARARGS0x0001, (char *)"GFitsImageULong_clear(GFitsImageULong self)"},
53555 { (char *)"GFitsImageULong_clone", _wrap_GFitsImageULong_clone, METH_VARARGS0x0001, (char *)"GFitsImageULong_clone(GFitsImageULong self) -> GFitsImageULong"},
53556 { (char *)"GFitsImageULong_pixel", _wrap_GFitsImageULong_pixel, METH_VARARGS0x0001, (char *)"\n"
53557 "pixel(int const & ix) -> double\n"
53558 "pixel(int const & ix, int const & iy) -> double\n"
53559 "pixel(int const & ix, int const & iy, int const & iz) -> double\n"
53560 "GFitsImageULong_pixel(GFitsImageULong self, int const & ix, int const & iy, int const & iz, int const & it) -> double\n"
53561 ""},
53562 { (char *)"GFitsImageULong_pixels", _wrap_GFitsImageULong_pixels, METH_VARARGS0x0001, (char *)"GFitsImageULong_pixels(GFitsImageULong self) -> void *"},
53563 { (char *)"GFitsImageULong_type", _wrap_GFitsImageULong_type, METH_VARARGS0x0001, (char *)"GFitsImageULong_type(GFitsImageULong self) -> int"},
53564 { (char *)"GFitsImageULong___getitem__", _wrap_GFitsImageULong___getitem__, METH_VARARGS0x0001, (char *)"GFitsImageULong___getitem__(GFitsImageULong self, int [] GFitsImageInx) -> unsigned long"},
53565 { (char *)"GFitsImageULong___setitem__", _wrap_GFitsImageULong___setitem__, METH_VARARGS0x0001, (char *)"GFitsImageULong___setitem__(GFitsImageULong self, int [] GFitsImageInx, unsigned long value)"},
53566 { (char *)"GFitsImageULong_copy", _wrap_GFitsImageULong_copy, METH_VARARGS0x0001, (char *)"GFitsImageULong_copy(GFitsImageULong self) -> GFitsImageULong"},
53567 { (char *)"GFitsImageULong_swigregister", GFitsImageULong_swigregister, METH_VARARGS0x0001, NULL__null},
53568 { (char *)"new_GFitsImageLong", _wrap_new_GFitsImageLong, METH_VARARGS0x0001, (char *)"\n"
53569 "GFitsImageLong()\n"
53570 "GFitsImageLong(int const & nx, long const * pixels=None)\n"
53571 "GFitsImageLong(int const & nx)\n"
53572 "GFitsImageLong(int const & nx, int const & ny, long const * pixels=None)\n"
53573 "GFitsImageLong(int const & nx, int const & ny)\n"
53574 "GFitsImageLong(int const & nx, int const & ny, int const & nz, long const * pixels=None)\n"
53575 "GFitsImageLong(int const & nx, int const & ny, int const & nz)\n"
53576 "GFitsImageLong(int const & nx, int const & ny, int const & nz, int const & nt, long const * pixels=None)\n"
53577 "GFitsImageLong(int const & nx, int const & ny, int const & nz, int const & nt)\n"
53578 "GFitsImageLong(int const & naxis, int const * naxes, long const * pixels=None)\n"
53579 "GFitsImageLong(int const & naxis, int const * naxes)\n"
53580 "new_GFitsImageLong(GFitsImageLong image) -> GFitsImageLong\n"
53581 ""},
53582 { (char *)"delete_GFitsImageLong", _wrap_delete_GFitsImageLong, METH_VARARGS0x0001, (char *)"delete_GFitsImageLong(GFitsImageLong self)"},
53583 { (char *)"GFitsImageLong_clear", _wrap_GFitsImageLong_clear, METH_VARARGS0x0001, (char *)"GFitsImageLong_clear(GFitsImageLong self)"},
53584 { (char *)"GFitsImageLong_clone", _wrap_GFitsImageLong_clone, METH_VARARGS0x0001, (char *)"GFitsImageLong_clone(GFitsImageLong self) -> GFitsImageLong"},
53585 { (char *)"GFitsImageLong_pixel", _wrap_GFitsImageLong_pixel, METH_VARARGS0x0001, (char *)"\n"
53586 "pixel(int const & ix) -> double\n"
53587 "pixel(int const & ix, int const & iy) -> double\n"
53588 "pixel(int const & ix, int const & iy, int const & iz) -> double\n"
53589 "GFitsImageLong_pixel(GFitsImageLong self, int const & ix, int const & iy, int const & iz, int const & it) -> double\n"
53590 ""},
53591 { (char *)"GFitsImageLong_pixels", _wrap_GFitsImageLong_pixels, METH_VARARGS0x0001, (char *)"GFitsImageLong_pixels(GFitsImageLong self) -> void *"},
53592 { (char *)"GFitsImageLong_type", _wrap_GFitsImageLong_type, METH_VARARGS0x0001, (char *)"GFitsImageLong_type(GFitsImageLong self) -> int"},
53593 { (char *)"GFitsImageLong___getitem__", _wrap_GFitsImageLong___getitem__, METH_VARARGS0x0001, (char *)"GFitsImageLong___getitem__(GFitsImageLong self, int [] GFitsImageInx) -> long"},
53594 { (char *)"GFitsImageLong___setitem__", _wrap_GFitsImageLong___setitem__, METH_VARARGS0x0001, (char *)"GFitsImageLong___setitem__(GFitsImageLong self, int [] GFitsImageInx, long value)"},
53595 { (char *)"GFitsImageLong_copy", _wrap_GFitsImageLong_copy, METH_VARARGS0x0001, (char *)"GFitsImageLong_copy(GFitsImageLong self) -> GFitsImageLong"},
53596 { (char *)"GFitsImageLong_swigregister", GFitsImageLong_swigregister, METH_VARARGS0x0001, NULL__null},
53597 { (char *)"new_GFitsImageLongLong", _wrap_new_GFitsImageLongLong, METH_VARARGS0x0001, (char *)"\n"
53598 "GFitsImageLongLong()\n"
53599 "GFitsImageLongLong(int const & nx, long long const * pixels=None)\n"
53600 "GFitsImageLongLong(int const & nx)\n"
53601 "GFitsImageLongLong(int const & nx, int const & ny, long long const * pixels=None)\n"
53602 "GFitsImageLongLong(int const & nx, int const & ny)\n"
53603 "GFitsImageLongLong(int const & nx, int const & ny, int const & nz, long long const * pixels=None)\n"
53604 "GFitsImageLongLong(int const & nx, int const & ny, int const & nz)\n"
53605 "GFitsImageLongLong(int const & nx, int const & ny, int const & nz, int const & nt, long long const * pixels=None)\n"
53606 "GFitsImageLongLong(int const & nx, int const & ny, int const & nz, int const & nt)\n"
53607 "GFitsImageLongLong(int const & naxis, int const * naxes, long long const * pixels=None)\n"
53608 "GFitsImageLongLong(int const & naxis, int const * naxes)\n"
53609 "new_GFitsImageLongLong(GFitsImageLongLong image) -> GFitsImageLongLong\n"
53610 ""},
53611 { (char *)"delete_GFitsImageLongLong", _wrap_delete_GFitsImageLongLong, METH_VARARGS0x0001, (char *)"delete_GFitsImageLongLong(GFitsImageLongLong self)"},
53612 { (char *)"GFitsImageLongLong_clear", _wrap_GFitsImageLongLong_clear, METH_VARARGS0x0001, (char *)"GFitsImageLongLong_clear(GFitsImageLongLong self)"},
53613 { (char *)"GFitsImageLongLong_clone", _wrap_GFitsImageLongLong_clone, METH_VARARGS0x0001, (char *)"GFitsImageLongLong_clone(GFitsImageLongLong self) -> GFitsImageLongLong"},
53614 { (char *)"GFitsImageLongLong_pixel", _wrap_GFitsImageLongLong_pixel, METH_VARARGS0x0001, (char *)"\n"
53615 "pixel(int const & ix) -> double\n"
53616 "pixel(int const & ix, int const & iy) -> double\n"
53617 "pixel(int const & ix, int const & iy, int const & iz) -> double\n"
53618 "GFitsImageLongLong_pixel(GFitsImageLongLong self, int const & ix, int const & iy, int const & iz, int const & it) -> double\n"
53619 ""},
53620 { (char *)"GFitsImageLongLong_pixels", _wrap_GFitsImageLongLong_pixels, METH_VARARGS0x0001, (char *)"GFitsImageLongLong_pixels(GFitsImageLongLong self) -> void *"},
53621 { (char *)"GFitsImageLongLong_type", _wrap_GFitsImageLongLong_type, METH_VARARGS0x0001, (char *)"GFitsImageLongLong_type(GFitsImageLongLong self) -> int"},
53622 { (char *)"GFitsImageLongLong___getitem__", _wrap_GFitsImageLongLong___getitem__, METH_VARARGS0x0001, (char *)"GFitsImageLongLong___getitem__(GFitsImageLongLong self, int [] GFitsImageInx) -> long long"},
53623 { (char *)"GFitsImageLongLong___setitem__", _wrap_GFitsImageLongLong___setitem__, METH_VARARGS0x0001, (char *)"GFitsImageLongLong___setitem__(GFitsImageLongLong self, int [] GFitsImageInx, long long value)"},
53624 { (char *)"GFitsImageLongLong_copy", _wrap_GFitsImageLongLong_copy, METH_VARARGS0x0001, (char *)"GFitsImageLongLong_copy(GFitsImageLongLong self) -> GFitsImageLongLong"},
53625 { (char *)"GFitsImageLongLong_swigregister", GFitsImageLongLong_swigregister, METH_VARARGS0x0001, NULL__null},
53626 { (char *)"new_GFitsImageFloat", _wrap_new_GFitsImageFloat, METH_VARARGS0x0001, (char *)"\n"
53627 "GFitsImageFloat()\n"
53628 "GFitsImageFloat(int const & nx, float const * pixels=None)\n"
53629 "GFitsImageFloat(int const & nx)\n"
53630 "GFitsImageFloat(int const & nx, int const & ny, float const * pixels=None)\n"
53631 "GFitsImageFloat(int const & nx, int const & ny)\n"
53632 "GFitsImageFloat(int const & nx, int const & ny, int const & nz, float const * pixels=None)\n"
53633 "GFitsImageFloat(int const & nx, int const & ny, int const & nz)\n"
53634 "GFitsImageFloat(int const & nx, int const & ny, int const & nz, int const & nt, float const * pixels=None)\n"
53635 "GFitsImageFloat(int const & nx, int const & ny, int const & nz, int const & nt)\n"
53636 "GFitsImageFloat(int const & naxis, int const * naxes, float const * pixels=None)\n"
53637 "GFitsImageFloat(int const & naxis, int const * naxes)\n"
53638 "new_GFitsImageFloat(GFitsImageFloat image) -> GFitsImageFloat\n"
53639 ""},
53640 { (char *)"delete_GFitsImageFloat", _wrap_delete_GFitsImageFloat, METH_VARARGS0x0001, (char *)"delete_GFitsImageFloat(GFitsImageFloat self)"},
53641 { (char *)"GFitsImageFloat_clear", _wrap_GFitsImageFloat_clear, METH_VARARGS0x0001, (char *)"GFitsImageFloat_clear(GFitsImageFloat self)"},
53642 { (char *)"GFitsImageFloat_clone", _wrap_GFitsImageFloat_clone, METH_VARARGS0x0001, (char *)"GFitsImageFloat_clone(GFitsImageFloat self) -> GFitsImageFloat"},
53643 { (char *)"GFitsImageFloat_pixel", _wrap_GFitsImageFloat_pixel, METH_VARARGS0x0001, (char *)"\n"
53644 "pixel(int const & ix) -> double\n"
53645 "pixel(int const & ix, int const & iy) -> double\n"
53646 "pixel(int const & ix, int const & iy, int const & iz) -> double\n"
53647 "GFitsImageFloat_pixel(GFitsImageFloat self, int const & ix, int const & iy, int const & iz, int const & it) -> double\n"
53648 ""},
53649 { (char *)"GFitsImageFloat_pixels", _wrap_GFitsImageFloat_pixels, METH_VARARGS0x0001, (char *)"GFitsImageFloat_pixels(GFitsImageFloat self) -> void *"},
53650 { (char *)"GFitsImageFloat_type", _wrap_GFitsImageFloat_type, METH_VARARGS0x0001, (char *)"GFitsImageFloat_type(GFitsImageFloat self) -> int"},
53651 { (char *)"GFitsImageFloat___getitem__", _wrap_GFitsImageFloat___getitem__, METH_VARARGS0x0001, (char *)"GFitsImageFloat___getitem__(GFitsImageFloat self, int [] GFitsImageInx) -> float"},
53652 { (char *)"GFitsImageFloat___setitem__", _wrap_GFitsImageFloat___setitem__, METH_VARARGS0x0001, (char *)"GFitsImageFloat___setitem__(GFitsImageFloat self, int [] GFitsImageInx, float value)"},
53653 { (char *)"GFitsImageFloat_copy", _wrap_GFitsImageFloat_copy, METH_VARARGS0x0001, (char *)"GFitsImageFloat_copy(GFitsImageFloat self) -> GFitsImageFloat"},
53654 { (char *)"GFitsImageFloat_swigregister", GFitsImageFloat_swigregister, METH_VARARGS0x0001, NULL__null},
53655 { (char *)"new_GFitsImageDouble", _wrap_new_GFitsImageDouble, METH_VARARGS0x0001, (char *)"\n"
53656 "GFitsImageDouble()\n"
53657 "GFitsImageDouble(int const & nx, double const * pixels=None)\n"
53658 "GFitsImageDouble(int const & nx)\n"
53659 "GFitsImageDouble(int const & nx, int const & ny, double const * pixels=None)\n"
53660 "GFitsImageDouble(int const & nx, int const & ny)\n"
53661 "GFitsImageDouble(int const & nx, int const & ny, int const & nz, double const * pixels=None)\n"
53662 "GFitsImageDouble(int const & nx, int const & ny, int const & nz)\n"
53663 "GFitsImageDouble(int const & nx, int const & ny, int const & nz, int const & nt, double const * pixels=None)\n"
53664 "GFitsImageDouble(int const & nx, int const & ny, int const & nz, int const & nt)\n"
53665 "GFitsImageDouble(int const & naxis, int const * naxes, double const * pixels=None)\n"
53666 "GFitsImageDouble(int const & naxis, int const * naxes)\n"
53667 "new_GFitsImageDouble(GFitsImageDouble image) -> GFitsImageDouble\n"
53668 ""},
53669 { (char *)"delete_GFitsImageDouble", _wrap_delete_GFitsImageDouble, METH_VARARGS0x0001, (char *)"delete_GFitsImageDouble(GFitsImageDouble self)"},
53670 { (char *)"GFitsImageDouble_clear", _wrap_GFitsImageDouble_clear, METH_VARARGS0x0001, (char *)"GFitsImageDouble_clear(GFitsImageDouble self)"},
53671 { (char *)"GFitsImageDouble_clone", _wrap_GFitsImageDouble_clone, METH_VARARGS0x0001, (char *)"GFitsImageDouble_clone(GFitsImageDouble self) -> GFitsImageDouble"},
53672 { (char *)"GFitsImageDouble_pixel", _wrap_GFitsImageDouble_pixel, METH_VARARGS0x0001, (char *)"\n"
53673 "pixel(int const & ix) -> double\n"
53674 "pixel(int const & ix, int const & iy) -> double\n"
53675 "pixel(int const & ix, int const & iy, int const & iz) -> double\n"
53676 "GFitsImageDouble_pixel(GFitsImageDouble self, int const & ix, int const & iy, int const & iz, int const & it) -> double\n"
53677 ""},
53678 { (char *)"GFitsImageDouble_pixels", _wrap_GFitsImageDouble_pixels, METH_VARARGS0x0001, (char *)"GFitsImageDouble_pixels(GFitsImageDouble self) -> void *"},
53679 { (char *)"GFitsImageDouble_type", _wrap_GFitsImageDouble_type, METH_VARARGS0x0001, (char *)"GFitsImageDouble_type(GFitsImageDouble self) -> int"},
53680 { (char *)"GFitsImageDouble___getitem__", _wrap_GFitsImageDouble___getitem__, METH_VARARGS0x0001, (char *)"GFitsImageDouble___getitem__(GFitsImageDouble self, int [] GFitsImageInx) -> double"},
53681 { (char *)"GFitsImageDouble___setitem__", _wrap_GFitsImageDouble___setitem__, METH_VARARGS0x0001, (char *)"GFitsImageDouble___setitem__(GFitsImageDouble self, int [] GFitsImageInx, double value)"},
53682 { (char *)"GFitsImageDouble_copy", _wrap_GFitsImageDouble_copy, METH_VARARGS0x0001, (char *)"GFitsImageDouble_copy(GFitsImageDouble self) -> GFitsImageDouble"},
53683 { (char *)"GFitsImageDouble_swigregister", GFitsImageDouble_swigregister, METH_VARARGS0x0001, NULL__null},
53684 { (char *)"delete_GFitsTable", _wrap_delete_GFitsTable, METH_VARARGS0x0001, (char *)"delete_GFitsTable(GFitsTable self)"},
53685 { (char *)"GFitsTable_clear", _wrap_GFitsTable_clear, METH_VARARGS0x0001, (char *)"GFitsTable_clear(GFitsTable self)"},
53686 { (char *)"GFitsTable_clone", _wrap_GFitsTable_clone, METH_VARARGS0x0001, (char *)"GFitsTable_clone(GFitsTable self) -> GFitsTable"},
53687 { (char *)"GFitsTable_exttype", _wrap_GFitsTable_exttype, METH_VARARGS0x0001, (char *)"GFitsTable_exttype(GFitsTable self) -> GFitsHDU::HDUType"},
53688 { (char *)"GFitsTable_size", _wrap_GFitsTable_size, METH_VARARGS0x0001, (char *)"GFitsTable_size(GFitsTable self) -> int const &"},
53689 { (char *)"GFitsTable_set", _wrap_GFitsTable_set, METH_VARARGS0x0001, (char *)"\n"
53690 "set(int const & colnum, GFitsTableCol column) -> GFitsTableCol\n"
53691 "GFitsTable_set(GFitsTable self, std::string const & colname, GFitsTableCol column) -> GFitsTableCol\n"
53692 ""},
53693 { (char *)"GFitsTable_append", _wrap_GFitsTable_append, METH_VARARGS0x0001, (char *)"GFitsTable_append(GFitsTable self, GFitsTableCol column) -> GFitsTableCol"},
53694 { (char *)"GFitsTable_insert", _wrap_GFitsTable_insert, METH_VARARGS0x0001, (char *)"\n"
53695 "insert(int colnum, GFitsTableCol column) -> GFitsTableCol\n"
53696 "GFitsTable_insert(GFitsTable self, std::string const & colname, GFitsTableCol column) -> GFitsTableCol\n"
53697 ""},
53698 { (char *)"GFitsTable_append_rows", _wrap_GFitsTable_append_rows, METH_VARARGS0x0001, (char *)"GFitsTable_append_rows(GFitsTable self, int const & nrows)"},
53699 { (char *)"GFitsTable_insert_rows", _wrap_GFitsTable_insert_rows, METH_VARARGS0x0001, (char *)"GFitsTable_insert_rows(GFitsTable self, int const & row, int const & nrows)"},
53700 { (char *)"GFitsTable_remove_rows", _wrap_GFitsTable_remove_rows, METH_VARARGS0x0001, (char *)"GFitsTable_remove_rows(GFitsTable self, int const & row, int const & nrows)"},
53701 { (char *)"GFitsTable_nrows", _wrap_GFitsTable_nrows, METH_VARARGS0x0001, (char *)"GFitsTable_nrows(GFitsTable self) -> int const &"},
53702 { (char *)"GFitsTable_ncols", _wrap_GFitsTable_ncols, METH_VARARGS0x0001, (char *)"GFitsTable_ncols(GFitsTable self) -> int const &"},
53703 { (char *)"GFitsTable_contains", _wrap_GFitsTable_contains, METH_VARARGS0x0001, (char *)"GFitsTable_contains(GFitsTable self, std::string const & colname) -> bool"},
53704 { (char *)"GFitsTable___getitem__", _wrap_GFitsTable___getitem__, METH_VARARGS0x0001, (char *)"\n"
53705 "__getitem__(int const & colnum) -> GFitsTableCol\n"
53706 "GFitsTable___getitem__(GFitsTable self, std::string const & colname) -> GFitsTableCol\n"
53707 ""},
53708 { (char *)"GFitsTable___setitem__", _wrap_GFitsTable___setitem__, METH_VARARGS0x0001, (char *)"\n"
53709 "__setitem__(int const & colnum, GFitsTableCol col)\n"
53710 "GFitsTable___setitem__(GFitsTable self, std::string const & colname, GFitsTableCol col)\n"
53711 ""},
53712 { (char *)"GFitsTable_swigregister", GFitsTable_swigregister, METH_VARARGS0x0001, NULL__null},
53713 { (char *)"new_GFitsAsciiTable", _wrap_new_GFitsAsciiTable, METH_VARARGS0x0001, (char *)"\n"
53714 "GFitsAsciiTable()\n"
53715 "GFitsAsciiTable(int nrows)\n"
53716 "new_GFitsAsciiTable(GFitsAsciiTable table) -> GFitsAsciiTable\n"
53717 ""},
53718 { (char *)"delete_GFitsAsciiTable", _wrap_delete_GFitsAsciiTable, METH_VARARGS0x0001, (char *)"delete_GFitsAsciiTable(GFitsAsciiTable self)"},
53719 { (char *)"GFitsAsciiTable_clear", _wrap_GFitsAsciiTable_clear, METH_VARARGS0x0001, (char *)"GFitsAsciiTable_clear(GFitsAsciiTable self)"},
53720 { (char *)"GFitsAsciiTable_clone", _wrap_GFitsAsciiTable_clone, METH_VARARGS0x0001, (char *)"GFitsAsciiTable_clone(GFitsAsciiTable self) -> GFitsAsciiTable"},
53721 { (char *)"GFitsAsciiTable_exttype", _wrap_GFitsAsciiTable_exttype, METH_VARARGS0x0001, (char *)"GFitsAsciiTable_exttype(GFitsAsciiTable self) -> GFitsHDU::HDUType"},
53722 { (char *)"GFitsAsciiTable_copy", _wrap_GFitsAsciiTable_copy, METH_VARARGS0x0001, (char *)"GFitsAsciiTable_copy(GFitsAsciiTable self) -> GFitsAsciiTable"},
53723 { (char *)"GFitsAsciiTable_swigregister", GFitsAsciiTable_swigregister, METH_VARARGS0x0001, NULL__null},
53724 { (char *)"new_GFitsBinTable", _wrap_new_GFitsBinTable, METH_VARARGS0x0001, (char *)"\n"
53725 "GFitsBinTable()\n"
53726 "GFitsBinTable(int nrows)\n"
53727 "new_GFitsBinTable(GFitsBinTable table) -> GFitsBinTable\n"
53728 ""},
53729 { (char *)"delete_GFitsBinTable", _wrap_delete_GFitsBinTable, METH_VARARGS0x0001, (char *)"delete_GFitsBinTable(GFitsBinTable self)"},
53730 { (char *)"GFitsBinTable_clear", _wrap_GFitsBinTable_clear, METH_VARARGS0x0001, (char *)"GFitsBinTable_clear(GFitsBinTable self)"},
53731 { (char *)"GFitsBinTable_clone", _wrap_GFitsBinTable_clone, METH_VARARGS0x0001, (char *)"GFitsBinTable_clone(GFitsBinTable self) -> GFitsBinTable"},
53732 { (char *)"GFitsBinTable_exttype", _wrap_GFitsBinTable_exttype, METH_VARARGS0x0001, (char *)"GFitsBinTable_exttype(GFitsBinTable self) -> GFitsHDU::HDUType"},
53733 { (char *)"GFitsBinTable_copy", _wrap_GFitsBinTable_copy, METH_VARARGS0x0001, (char *)"GFitsBinTable_copy(GFitsBinTable self) -> GFitsBinTable"},
53734 { (char *)"GFitsBinTable_swigregister", GFitsBinTable_swigregister, METH_VARARGS0x0001, NULL__null},
53735 { (char *)"vectori_iterator", _wrap_vectori_iterator, METH_VARARGS0x0001, (char *)"vectori_iterator(vectori self) -> SwigPyIterator"},
53736 { (char *)"vectori___nonzero__", _wrap_vectori___nonzero__, METH_VARARGS0x0001, (char *)"vectori___nonzero__(vectori self) -> bool"},
53737 { (char *)"vectori___bool__", _wrap_vectori___bool__, METH_VARARGS0x0001, (char *)"vectori___bool__(vectori self) -> bool"},
53738 { (char *)"vectori___len__", _wrap_vectori___len__, METH_VARARGS0x0001, (char *)"vectori___len__(vectori self) -> std::vector< int >::size_type"},
53739 { (char *)"vectori_pop", _wrap_vectori_pop, METH_VARARGS0x0001, (char *)"vectori_pop(vectori self) -> std::vector< int >::value_type"},
53740 { (char *)"vectori___getslice__", _wrap_vectori___getslice__, METH_VARARGS0x0001, (char *)"vectori___getslice__(vectori self, std::vector< int >::difference_type i, std::vector< int >::difference_type j) -> vectori"},
53741 { (char *)"vectori___setslice__", _wrap_vectori___setslice__, METH_VARARGS0x0001, (char *)"\n"
53742 "__setslice__(std::vector< int >::difference_type i, std::vector< int >::difference_type j, vectori v=std::vector< int,std::allocator< int > >())\n"
53743 "vectori___setslice__(vectori self, std::vector< int >::difference_type i, std::vector< int >::difference_type j)\n"
53744 ""},
53745 { (char *)"vectori___delslice__", _wrap_vectori___delslice__, METH_VARARGS0x0001, (char *)"vectori___delslice__(vectori self, std::vector< int >::difference_type i, std::vector< int >::difference_type j)"},
53746 { (char *)"vectori___delitem__", _wrap_vectori___delitem__, METH_VARARGS0x0001, (char *)"\n"
53747 "__delitem__(std::vector< int >::difference_type i)\n"
53748 "vectori___delitem__(vectori self, PySliceObject * slice)\n"
53749 ""},
53750 { (char *)"vectori___getitem__", _wrap_vectori___getitem__, METH_VARARGS0x0001, (char *)"\n"
53751 "__getitem__(PySliceObject * slice) -> vectori\n"
53752 "vectori___getitem__(vectori self, std::vector< int >::difference_type i) -> std::vector< int >::value_type const &\n"
53753 ""},
53754 { (char *)"vectori___setitem__", _wrap_vectori___setitem__, METH_VARARGS0x0001, (char *)"\n"
53755 "__setitem__(PySliceObject * slice, vectori v)\n"
53756 "__setitem__(PySliceObject * slice)\n"
53757 "vectori___setitem__(vectori self, std::vector< int >::difference_type i, std::vector< int >::value_type const & x)\n"
53758 ""},
53759 { (char *)"vectori_append", _wrap_vectori_append, METH_VARARGS0x0001, (char *)"vectori_append(vectori self, std::vector< int >::value_type const & x)"},
53760 { (char *)"vectori_empty", _wrap_vectori_empty, METH_VARARGS0x0001, (char *)"vectori_empty(vectori self) -> bool"},
53761 { (char *)"vectori_size", _wrap_vectori_size, METH_VARARGS0x0001, (char *)"vectori_size(vectori self) -> std::vector< int >::size_type"},
53762 { (char *)"vectori_clear", _wrap_vectori_clear, METH_VARARGS0x0001, (char *)"vectori_clear(vectori self)"},
53763 { (char *)"vectori_swap", _wrap_vectori_swap, METH_VARARGS0x0001, (char *)"vectori_swap(vectori self, vectori v)"},
53764 { (char *)"vectori_get_allocator", _wrap_vectori_get_allocator, METH_VARARGS0x0001, (char *)"vectori_get_allocator(vectori self) -> std::vector< int >::allocator_type"},
53765 { (char *)"vectori_begin", _wrap_vectori_begin, METH_VARARGS0x0001, (char *)"vectori_begin(vectori self) -> std::vector< int >::iterator"},
53766 { (char *)"vectori_end", _wrap_vectori_end, METH_VARARGS0x0001, (char *)"vectori_end(vectori self) -> std::vector< int >::iterator"},
53767 { (char *)"vectori_rbegin", _wrap_vectori_rbegin, METH_VARARGS0x0001, (char *)"vectori_rbegin(vectori self) -> std::vector< int >::reverse_iterator"},
53768 { (char *)"vectori_rend", _wrap_vectori_rend, METH_VARARGS0x0001, (char *)"vectori_rend(vectori self) -> std::vector< int >::reverse_iterator"},
53769 { (char *)"vectori_pop_back", _wrap_vectori_pop_back, METH_VARARGS0x0001, (char *)"vectori_pop_back(vectori self)"},
53770 { (char *)"vectori_erase", _wrap_vectori_erase, METH_VARARGS0x0001, (char *)"\n"
53771 "erase(std::vector< int >::iterator pos) -> std::vector< int >::iterator\n"
53772 "vectori_erase(vectori self, std::vector< int >::iterator first, std::vector< int >::iterator last) -> std::vector< int >::iterator\n"
53773 ""},
53774 { (char *)"new_vectori", _wrap_new_vectori, METH_VARARGS0x0001, (char *)"\n"
53775 "vectori()\n"
53776 "vectori(vectori arg2)\n"
53777 "vectori(std::vector< int >::size_type size)\n"
53778 "new_vectori(std::vector< int >::size_type size, std::vector< int >::value_type const & value) -> vectori\n"
53779 ""},
53780 { (char *)"vectori_push_back", _wrap_vectori_push_back, METH_VARARGS0x0001, (char *)"vectori_push_back(vectori self, std::vector< int >::value_type const & x)"},
53781 { (char *)"vectori_front", _wrap_vectori_front, METH_VARARGS0x0001, (char *)"vectori_front(vectori self) -> std::vector< int >::value_type const &"},
53782 { (char *)"vectori_back", _wrap_vectori_back, METH_VARARGS0x0001, (char *)"vectori_back(vectori self) -> std::vector< int >::value_type const &"},
53783 { (char *)"vectori_assign", _wrap_vectori_assign, METH_VARARGS0x0001, (char *)"vectori_assign(vectori self, std::vector< int >::size_type n, std::vector< int >::value_type const & x)"},
53784 { (char *)"vectori_resize", _wrap_vectori_resize, METH_VARARGS0x0001, (char *)"\n"
53785 "resize(std::vector< int >::size_type new_size)\n"
53786 "vectori_resize(vectori self, std::vector< int >::size_type new_size, std::vector< int >::value_type const & x)\n"
53787 ""},
53788 { (char *)"vectori_insert", _wrap_vectori_insert, METH_VARARGS0x0001, (char *)"\n"
53789 "insert(std::vector< int >::iterator pos, std::vector< int >::value_type const & x) -> std::vector< int >::iterator\n"
53790 "vectori_insert(vectori self, std::vector< int >::iterator pos, std::vector< int >::size_type n, \n"
53791 " std::vector< int >::value_type const & x)\n"
53792 ""},
53793 { (char *)"vectori_reserve", _wrap_vectori_reserve, METH_VARARGS0x0001, (char *)"vectori_reserve(vectori self, std::vector< int >::size_type n)"},
53794 { (char *)"vectori_capacity", _wrap_vectori_capacity, METH_VARARGS0x0001, (char *)"vectori_capacity(vectori self) -> std::vector< int >::size_type"},
53795 { (char *)"delete_vectori", _wrap_delete_vectori, METH_VARARGS0x0001, (char *)"delete_vectori(vectori self)"},
53796 { (char *)"vectori_swigregister", vectori_swigregister, METH_VARARGS0x0001, NULL__null},
53797 { (char *)"delete_GFitsTableCol", _wrap_delete_GFitsTableCol, METH_VARARGS0x0001, (char *)"delete_GFitsTableCol(GFitsTableCol self)"},
53798 { (char *)"GFitsTableCol_clear", _wrap_GFitsTableCol_clear, METH_VARARGS0x0001, (char *)"GFitsTableCol_clear(GFitsTableCol self)"},
53799 { (char *)"GFitsTableCol_clone", _wrap_GFitsTableCol_clone, METH_VARARGS0x0001, (char *)"GFitsTableCol_clone(GFitsTableCol self) -> GFitsTableCol"},
53800 { (char *)"GFitsTableCol_string", _wrap_GFitsTableCol_string, METH_VARARGS0x0001, (char *)"\n"
53801 "string(int const & row, int const & inx=0) -> std::string\n"
53802 "GFitsTableCol_string(GFitsTableCol self, int const & row) -> std::string\n"
53803 ""},
53804 { (char *)"GFitsTableCol_real", _wrap_GFitsTableCol_real, METH_VARARGS0x0001, (char *)"\n"
53805 "real(int const & row, int const & inx=0) -> double\n"
53806 "GFitsTableCol_real(GFitsTableCol self, int const & row) -> double\n"
53807 ""},
53808 { (char *)"GFitsTableCol_integer", _wrap_GFitsTableCol_integer, METH_VARARGS0x0001, (char *)"\n"
53809 "integer(int const & row, int const & inx=0) -> int\n"
53810 "GFitsTableCol_integer(GFitsTableCol self, int const & row) -> int\n"
53811 ""},
53812 { (char *)"GFitsTableCol_insert", _wrap_GFitsTableCol_insert, METH_VARARGS0x0001, (char *)"GFitsTableCol_insert(GFitsTableCol self, int const & row, int const & nrows)"},
53813 { (char *)"GFitsTableCol_remove", _wrap_GFitsTableCol_remove, METH_VARARGS0x0001, (char *)"GFitsTableCol_remove(GFitsTableCol self, int const & row, int const & nrows)"},
53814 { (char *)"GFitsTableCol_isloaded", _wrap_GFitsTableCol_isloaded, METH_VARARGS0x0001, (char *)"GFitsTableCol_isloaded(GFitsTableCol self) -> bool"},
53815 { (char *)"GFitsTableCol_name", _wrap_GFitsTableCol_name, METH_VARARGS0x0001, (char *)"\n"
53816 "name(std::string const & name)\n"
53817 "GFitsTableCol_name(GFitsTableCol self) -> std::string const &\n"
53818 ""},
53819 { (char *)"GFitsTableCol_unit", _wrap_GFitsTableCol_unit, METH_VARARGS0x0001, (char *)"\n"
53820 "unit(std::string const & unit)\n"
53821 "GFitsTableCol_unit(GFitsTableCol self) -> std::string const &\n"
53822 ""},
53823 { (char *)"GFitsTableCol_dim", _wrap_GFitsTableCol_dim, METH_VARARGS0x0001, (char *)"\n"
53824 "dim(vectori dim)\n"
53825 "GFitsTableCol_dim(GFitsTableCol self) -> vectori\n"
53826 ""},
53827 { (char *)"GFitsTableCol_colnum", _wrap_GFitsTableCol_colnum, METH_VARARGS0x0001, (char *)"\n"
53828 "colnum(int const & colnum)\n"
53829 "GFitsTableCol_colnum(GFitsTableCol self) -> int const &\n"
53830 ""},
53831 { (char *)"GFitsTableCol_type", _wrap_GFitsTableCol_type, METH_VARARGS0x0001, (char *)"\n"
53832 "type(int const & type)\n"
53833 "GFitsTableCol_type(GFitsTableCol self) -> int const &\n"
53834 ""},
53835 { (char *)"GFitsTableCol_repeat", _wrap_GFitsTableCol_repeat, METH_VARARGS0x0001, (char *)"\n"
53836 "repeat(int const & repeat)\n"
53837 "GFitsTableCol_repeat(GFitsTableCol self) -> int const &\n"
53838 ""},
53839 { (char *)"GFitsTableCol_width", _wrap_GFitsTableCol_width, METH_VARARGS0x0001, (char *)"\n"
53840 "width(int const & width)\n"
53841 "GFitsTableCol_width(GFitsTableCol self) -> int const &\n"
53842 ""},
53843 { (char *)"GFitsTableCol_number", _wrap_GFitsTableCol_number, METH_VARARGS0x0001, (char *)"\n"
53844 "number(int const & number)\n"
53845 "GFitsTableCol_number(GFitsTableCol self) -> int const &\n"
53846 ""},
53847 { (char *)"GFitsTableCol_elements", _wrap_GFitsTableCol_elements, METH_VARARGS0x0001, (char *)"\n"
53848 "elements(int const & row, int const & elements)\n"
53849 "GFitsTableCol_elements(GFitsTableCol self, int const & row) -> int\n"
53850 ""},
53851 { (char *)"GFitsTableCol_length", _wrap_GFitsTableCol_length, METH_VARARGS0x0001, (char *)"\n"
53852 "length(int const & length)\n"
53853 "GFitsTableCol_length(GFitsTableCol self) -> int const &\n"
53854 ""},
53855 { (char *)"GFitsTableCol_isvariable", _wrap_GFitsTableCol_isvariable, METH_VARARGS0x0001, (char *)"\n"
53856 "isvariable(bool const & variable)\n"
53857 "GFitsTableCol_isvariable(GFitsTableCol self) -> bool const &\n"
53858 ""},
53859 { (char *)"GFitsTableCol_anynul", _wrap_GFitsTableCol_anynul, METH_VARARGS0x0001, (char *)"\n"
53860 "anynul(int const & anynul)\n"
53861 "GFitsTableCol_anynul(GFitsTableCol self) -> int const &\n"
53862 ""},
53863 { (char *)"GFitsTableCol_tform_binary", _wrap_GFitsTableCol_tform_binary, METH_VARARGS0x0001, (char *)"GFitsTableCol_tform_binary(GFitsTableCol self) -> std::string"},
53864 { (char *)"GFitsTableCol___setitem__", _wrap_GFitsTableCol___setitem__, METH_VARARGS0x0001, (char *)"\n"
53865 "__setitem__(int [] GFitsTableColInx, std::string value)\n"
53866 "__setitem__(int [] GFitsTableColInx, int value)\n"
53867 "GFitsTableCol___setitem__(GFitsTableCol self, int [] GFitsTableColInx, double value)\n"
53868 ""},
53869 { (char *)"GFitsTableCol_swigregister", GFitsTableCol_swigregister, METH_VARARGS0x0001, NULL__null},
53870 { (char *)"new_GFitsTableBitCol", _wrap_new_GFitsTableBitCol, METH_VARARGS0x0001, (char *)"\n"
53871 "GFitsTableBitCol()\n"
53872 "GFitsTableBitCol(std::string const & name, int const & length, int const & size=1)\n"
53873 "GFitsTableBitCol(std::string const & name, int const & length)\n"
53874 "new_GFitsTableBitCol(GFitsTableBitCol column) -> GFitsTableBitCol\n"
53875 ""},
53876 { (char *)"delete_GFitsTableBitCol", _wrap_delete_GFitsTableBitCol, METH_VARARGS0x0001, (char *)"delete_GFitsTableBitCol(GFitsTableBitCol self)"},
53877 { (char *)"GFitsTableBitCol_clear", _wrap_GFitsTableBitCol_clear, METH_VARARGS0x0001, (char *)"GFitsTableBitCol_clear(GFitsTableBitCol self)"},
53878 { (char *)"GFitsTableBitCol_clone", _wrap_GFitsTableBitCol_clone, METH_VARARGS0x0001, (char *)"GFitsTableBitCol_clone(GFitsTableBitCol self) -> GFitsTableBitCol"},
53879 { (char *)"GFitsTableBitCol_string", _wrap_GFitsTableBitCol_string, METH_VARARGS0x0001, (char *)"\n"
53880 "string(int const & row, int const & col=0) -> std::string\n"
53881 "GFitsTableBitCol_string(GFitsTableBitCol self, int const & row) -> std::string\n"
53882 ""},
53883 { (char *)"GFitsTableBitCol_real", _wrap_GFitsTableBitCol_real, METH_VARARGS0x0001, (char *)"\n"
53884 "real(int const & row, int const & col=0) -> double\n"
53885 "GFitsTableBitCol_real(GFitsTableBitCol self, int const & row) -> double\n"
53886 ""},
53887 { (char *)"GFitsTableBitCol_integer", _wrap_GFitsTableBitCol_integer, METH_VARARGS0x0001, (char *)"\n"
53888 "integer(int const & row, int const & col=0) -> int\n"
53889 "GFitsTableBitCol_integer(GFitsTableBitCol self, int const & row) -> int\n"
53890 ""},
53891 { (char *)"GFitsTableBitCol_insert", _wrap_GFitsTableBitCol_insert, METH_VARARGS0x0001, (char *)"GFitsTableBitCol_insert(GFitsTableBitCol self, int const & row, int const & nrows)"},
53892 { (char *)"GFitsTableBitCol_remove", _wrap_GFitsTableBitCol_remove, METH_VARARGS0x0001, (char *)"GFitsTableBitCol_remove(GFitsTableBitCol self, int const & row, int const & nrows)"},
53893 { (char *)"GFitsTableBitCol_isloaded", _wrap_GFitsTableBitCol_isloaded, METH_VARARGS0x0001, (char *)"GFitsTableBitCol_isloaded(GFitsTableBitCol self) -> bool"},
53894 { (char *)"GFitsTableBitCol_data", _wrap_GFitsTableBitCol_data, METH_VARARGS0x0001, (char *)"GFitsTableBitCol_data(GFitsTableBitCol self) -> unsigned char *"},
53895 { (char *)"GFitsTableBitCol_nulval", _wrap_GFitsTableBitCol_nulval, METH_VARARGS0x0001, (char *)"\n"
53896 "nulval() -> unsigned char\n"
53897 "GFitsTableBitCol_nulval(GFitsTableBitCol self, unsigned char const * value)\n"
53898 ""},
53899 { (char *)"GFitsTableBitCol___getitem__", _wrap_GFitsTableBitCol___getitem__, METH_VARARGS0x0001, (char *)"GFitsTableBitCol___getitem__(GFitsTableBitCol self, int [] GFitsTableColInx) -> bool"},
53900 { (char *)"GFitsTableBitCol___setitem__", _wrap_GFitsTableBitCol___setitem__, METH_VARARGS0x0001, (char *)"GFitsTableBitCol___setitem__(GFitsTableBitCol self, int [] GFitsTableColInx, bool value)"},
53901 { (char *)"GFitsTableBitCol_copy", _wrap_GFitsTableBitCol_copy, METH_VARARGS0x0001, (char *)"GFitsTableBitCol_copy(GFitsTableBitCol self) -> GFitsTableBitCol"},
53902 { (char *)"GFitsTableBitCol_swigregister", GFitsTableBitCol_swigregister, METH_VARARGS0x0001, NULL__null},
53903 { (char *)"new_GFitsTableByteCol", _wrap_new_GFitsTableByteCol, METH_VARARGS0x0001, (char *)"\n"
53904 "GFitsTableByteCol()\n"
53905 "GFitsTableByteCol(std::string const & name, int const & length, int const & size=1)\n"
53906 "GFitsTableByteCol(std::string const & name, int const & length)\n"
53907 "new_GFitsTableByteCol(GFitsTableByteCol column) -> GFitsTableByteCol\n"
53908 ""},
53909 { (char *)"delete_GFitsTableByteCol", _wrap_delete_GFitsTableByteCol, METH_VARARGS0x0001, (char *)"delete_GFitsTableByteCol(GFitsTableByteCol self)"},
53910 { (char *)"GFitsTableByteCol_clear", _wrap_GFitsTableByteCol_clear, METH_VARARGS0x0001, (char *)"GFitsTableByteCol_clear(GFitsTableByteCol self)"},
53911 { (char *)"GFitsTableByteCol_clone", _wrap_GFitsTableByteCol_clone, METH_VARARGS0x0001, (char *)"GFitsTableByteCol_clone(GFitsTableByteCol self) -> GFitsTableByteCol"},
53912 { (char *)"GFitsTableByteCol_string", _wrap_GFitsTableByteCol_string, METH_VARARGS0x0001, (char *)"\n"
53913 "string(int const & row, int const & col=0) -> std::string\n"
53914 "GFitsTableByteCol_string(GFitsTableByteCol self, int const & row) -> std::string\n"
53915 ""},
53916 { (char *)"GFitsTableByteCol_real", _wrap_GFitsTableByteCol_real, METH_VARARGS0x0001, (char *)"\n"
53917 "real(int const & row, int const & col=0) -> double\n"
53918 "GFitsTableByteCol_real(GFitsTableByteCol self, int const & row) -> double\n"
53919 ""},
53920 { (char *)"GFitsTableByteCol_integer", _wrap_GFitsTableByteCol_integer, METH_VARARGS0x0001, (char *)"\n"
53921 "integer(int const & row, int const & col=0) -> int\n"
53922 "GFitsTableByteCol_integer(GFitsTableByteCol self, int const & row) -> int\n"
53923 ""},
53924 { (char *)"GFitsTableByteCol_insert", _wrap_GFitsTableByteCol_insert, METH_VARARGS0x0001, (char *)"GFitsTableByteCol_insert(GFitsTableByteCol self, int const & row, int const & nrows)"},
53925 { (char *)"GFitsTableByteCol_remove", _wrap_GFitsTableByteCol_remove, METH_VARARGS0x0001, (char *)"GFitsTableByteCol_remove(GFitsTableByteCol self, int const & row, int const & nrows)"},
53926 { (char *)"GFitsTableByteCol_isloaded", _wrap_GFitsTableByteCol_isloaded, METH_VARARGS0x0001, (char *)"GFitsTableByteCol_isloaded(GFitsTableByteCol self) -> bool"},
53927 { (char *)"GFitsTableByteCol_data", _wrap_GFitsTableByteCol_data, METH_VARARGS0x0001, (char *)"GFitsTableByteCol_data(GFitsTableByteCol self) -> unsigned char *"},
53928 { (char *)"GFitsTableByteCol_nulval", _wrap_GFitsTableByteCol_nulval, METH_VARARGS0x0001, (char *)"\n"
53929 "nulval() -> unsigned char\n"
53930 "GFitsTableByteCol_nulval(GFitsTableByteCol self, unsigned char const * value)\n"
53931 ""},
53932 { (char *)"GFitsTableByteCol___getitem__", _wrap_GFitsTableByteCol___getitem__, METH_VARARGS0x0001, (char *)"GFitsTableByteCol___getitem__(GFitsTableByteCol self, int [] GFitsTableColInx) -> unsigned char"},
53933 { (char *)"GFitsTableByteCol___setitem__", _wrap_GFitsTableByteCol___setitem__, METH_VARARGS0x0001, (char *)"GFitsTableByteCol___setitem__(GFitsTableByteCol self, int [] GFitsTableColInx, unsigned char value)"},
53934 { (char *)"GFitsTableByteCol_copy", _wrap_GFitsTableByteCol_copy, METH_VARARGS0x0001, (char *)"GFitsTableByteCol_copy(GFitsTableByteCol self) -> GFitsTableByteCol"},
53935 { (char *)"GFitsTableByteCol_swigregister", GFitsTableByteCol_swigregister, METH_VARARGS0x0001, NULL__null},
53936 { (char *)"new_GFitsTableBoolCol", _wrap_new_GFitsTableBoolCol, METH_VARARGS0x0001, (char *)"\n"
53937 "GFitsTableBoolCol()\n"
53938 "GFitsTableBoolCol(std::string const & name, int const & length, int const & size=1)\n"
53939 "GFitsTableBoolCol(std::string const & name, int const & length)\n"
53940 "new_GFitsTableBoolCol(GFitsTableBoolCol column) -> GFitsTableBoolCol\n"
53941 ""},
53942 { (char *)"delete_GFitsTableBoolCol", _wrap_delete_GFitsTableBoolCol, METH_VARARGS0x0001, (char *)"delete_GFitsTableBoolCol(GFitsTableBoolCol self)"},
53943 { (char *)"GFitsTableBoolCol_clear", _wrap_GFitsTableBoolCol_clear, METH_VARARGS0x0001, (char *)"GFitsTableBoolCol_clear(GFitsTableBoolCol self)"},
53944 { (char *)"GFitsTableBoolCol_clone", _wrap_GFitsTableBoolCol_clone, METH_VARARGS0x0001, (char *)"GFitsTableBoolCol_clone(GFitsTableBoolCol self) -> GFitsTableBoolCol"},
53945 { (char *)"GFitsTableBoolCol_string", _wrap_GFitsTableBoolCol_string, METH_VARARGS0x0001, (char *)"\n"
53946 "string(int const & row, int const & col=0) -> std::string\n"
53947 "GFitsTableBoolCol_string(GFitsTableBoolCol self, int const & row) -> std::string\n"
53948 ""},
53949 { (char *)"GFitsTableBoolCol_real", _wrap_GFitsTableBoolCol_real, METH_VARARGS0x0001, (char *)"\n"
53950 "real(int const & row, int const & col=0) -> double\n"
53951 "GFitsTableBoolCol_real(GFitsTableBoolCol self, int const & row) -> double\n"
53952 ""},
53953 { (char *)"GFitsTableBoolCol_integer", _wrap_GFitsTableBoolCol_integer, METH_VARARGS0x0001, (char *)"\n"
53954 "integer(int const & row, int const & col=0) -> int\n"
53955 "GFitsTableBoolCol_integer(GFitsTableBoolCol self, int const & row) -> int\n"
53956 ""},
53957 { (char *)"GFitsTableBoolCol_insert", _wrap_GFitsTableBoolCol_insert, METH_VARARGS0x0001, (char *)"GFitsTableBoolCol_insert(GFitsTableBoolCol self, int const & row, int const & nrows)"},
53958 { (char *)"GFitsTableBoolCol_remove", _wrap_GFitsTableBoolCol_remove, METH_VARARGS0x0001, (char *)"GFitsTableBoolCol_remove(GFitsTableBoolCol self, int const & row, int const & nrows)"},
53959 { (char *)"GFitsTableBoolCol_isloaded", _wrap_GFitsTableBoolCol_isloaded, METH_VARARGS0x0001, (char *)"GFitsTableBoolCol_isloaded(GFitsTableBoolCol self) -> bool"},
53960 { (char *)"GFitsTableBoolCol_data", _wrap_GFitsTableBoolCol_data, METH_VARARGS0x0001, (char *)"GFitsTableBoolCol_data(GFitsTableBoolCol self) -> bool *"},
53961 { (char *)"GFitsTableBoolCol_nulval", _wrap_GFitsTableBoolCol_nulval, METH_VARARGS0x0001, (char *)"\n"
53962 "nulval() -> bool\n"
53963 "GFitsTableBoolCol_nulval(GFitsTableBoolCol self, bool const * value)\n"
53964 ""},
53965 { (char *)"GFitsTableBoolCol___getitem__", _wrap_GFitsTableBoolCol___getitem__, METH_VARARGS0x0001, (char *)"GFitsTableBoolCol___getitem__(GFitsTableBoolCol self, int [] GFitsTableColInx) -> bool"},
53966 { (char *)"GFitsTableBoolCol___setitem__", _wrap_GFitsTableBoolCol___setitem__, METH_VARARGS0x0001, (char *)"GFitsTableBoolCol___setitem__(GFitsTableBoolCol self, int [] GFitsTableColInx, bool value)"},
53967 { (char *)"GFitsTableBoolCol_copy", _wrap_GFitsTableBoolCol_copy, METH_VARARGS0x0001, (char *)"GFitsTableBoolCol_copy(GFitsTableBoolCol self) -> GFitsTableBoolCol"},
53968 { (char *)"GFitsTableBoolCol_swigregister", GFitsTableBoolCol_swigregister, METH_VARARGS0x0001, NULL__null},
53969 { (char *)"new_GFitsTableStringCol", _wrap_new_GFitsTableStringCol, METH_VARARGS0x0001, (char *)"\n"
53970 "GFitsTableStringCol()\n"
53971 "GFitsTableStringCol(std::string const & name, int const & length, int const & width, int const & size=1)\n"
53972 "GFitsTableStringCol(std::string const & name, int const & length, int const & width)\n"
53973 "new_GFitsTableStringCol(GFitsTableStringCol column) -> GFitsTableStringCol\n"
53974 ""},
53975 { (char *)"delete_GFitsTableStringCol", _wrap_delete_GFitsTableStringCol, METH_VARARGS0x0001, (char *)"delete_GFitsTableStringCol(GFitsTableStringCol self)"},
53976 { (char *)"GFitsTableStringCol_clear", _wrap_GFitsTableStringCol_clear, METH_VARARGS0x0001, (char *)"GFitsTableStringCol_clear(GFitsTableStringCol self)"},
53977 { (char *)"GFitsTableStringCol_clone", _wrap_GFitsTableStringCol_clone, METH_VARARGS0x0001, (char *)"GFitsTableStringCol_clone(GFitsTableStringCol self) -> GFitsTableStringCol"},
53978 { (char *)"GFitsTableStringCol_string", _wrap_GFitsTableStringCol_string, METH_VARARGS0x0001, (char *)"\n"
53979 "string(int const & row, int const & col=0) -> std::string\n"
53980 "GFitsTableStringCol_string(GFitsTableStringCol self, int const & row) -> std::string\n"
53981 ""},
53982 { (char *)"GFitsTableStringCol_real", _wrap_GFitsTableStringCol_real, METH_VARARGS0x0001, (char *)"\n"
53983 "real(int const & row, int const & col=0) -> double\n"
53984 "GFitsTableStringCol_real(GFitsTableStringCol self, int const & row) -> double\n"
53985 ""},
53986 { (char *)"GFitsTableStringCol_integer", _wrap_GFitsTableStringCol_integer, METH_VARARGS0x0001, (char *)"\n"
53987 "integer(int const & row, int const & col=0) -> int\n"
53988 "GFitsTableStringCol_integer(GFitsTableStringCol self, int const & row) -> int\n"
53989 ""},
53990 { (char *)"GFitsTableStringCol_insert", _wrap_GFitsTableStringCol_insert, METH_VARARGS0x0001, (char *)"GFitsTableStringCol_insert(GFitsTableStringCol self, int const & row, int const & nrows)"},
53991 { (char *)"GFitsTableStringCol_remove", _wrap_GFitsTableStringCol_remove, METH_VARARGS0x0001, (char *)"GFitsTableStringCol_remove(GFitsTableStringCol self, int const & row, int const & nrows)"},
53992 { (char *)"GFitsTableStringCol_isloaded", _wrap_GFitsTableStringCol_isloaded, METH_VARARGS0x0001, (char *)"GFitsTableStringCol_isloaded(GFitsTableStringCol self) -> bool"},
53993 { (char *)"GFitsTableStringCol_data", _wrap_GFitsTableStringCol_data, METH_VARARGS0x0001, (char *)"GFitsTableStringCol_data(GFitsTableStringCol self) -> std::string *"},
53994 { (char *)"GFitsTableStringCol_nulval", _wrap_GFitsTableStringCol_nulval, METH_VARARGS0x0001, (char *)"\n"
53995 "nulval() -> char\n"
53996 "GFitsTableStringCol_nulval(GFitsTableStringCol self, std::string const & value)\n"
53997 ""},
53998 { (char *)"GFitsTableStringCol___getitem__", _wrap_GFitsTableStringCol___getitem__, METH_VARARGS0x0001, (char *)"GFitsTableStringCol___getitem__(GFitsTableStringCol self, int [] GFitsTableColInx) -> std::string"},
53999 { (char *)"GFitsTableStringCol___setitem__", _wrap_GFitsTableStringCol___setitem__, METH_VARARGS0x0001, (char *)"GFitsTableStringCol___setitem__(GFitsTableStringCol self, int [] GFitsTableColInx, std::string value)"},
54000 { (char *)"GFitsTableStringCol_copy", _wrap_GFitsTableStringCol_copy, METH_VARARGS0x0001, (char *)"GFitsTableStringCol_copy(GFitsTableStringCol self) -> GFitsTableStringCol"},
54001 { (char *)"GFitsTableStringCol_swigregister", GFitsTableStringCol_swigregister, METH_VARARGS0x0001, NULL__null},
54002 { (char *)"new_GFitsTableUShortCol", _wrap_new_GFitsTableUShortCol, METH_VARARGS0x0001, (char *)"\n"
54003 "GFitsTableUShortCol()\n"
54004 "GFitsTableUShortCol(std::string const & name, int const & length, int const & size=1)\n"
54005 "GFitsTableUShortCol(std::string const & name, int const & length)\n"
54006 "new_GFitsTableUShortCol(GFitsTableUShortCol column) -> GFitsTableUShortCol\n"
54007 ""},
54008 { (char *)"delete_GFitsTableUShortCol", _wrap_delete_GFitsTableUShortCol, METH_VARARGS0x0001, (char *)"delete_GFitsTableUShortCol(GFitsTableUShortCol self)"},
54009 { (char *)"GFitsTableUShortCol_clear", _wrap_GFitsTableUShortCol_clear, METH_VARARGS0x0001, (char *)"GFitsTableUShortCol_clear(GFitsTableUShortCol self)"},
54010 { (char *)"GFitsTableUShortCol_clone", _wrap_GFitsTableUShortCol_clone, METH_VARARGS0x0001, (char *)"GFitsTableUShortCol_clone(GFitsTableUShortCol self) -> GFitsTableUShortCol"},
54011 { (char *)"GFitsTableUShortCol_string", _wrap_GFitsTableUShortCol_string, METH_VARARGS0x0001, (char *)"\n"
54012 "string(int const & row, int const & col=0) -> std::string\n"
54013 "GFitsTableUShortCol_string(GFitsTableUShortCol self, int const & row) -> std::string\n"
54014 ""},
54015 { (char *)"GFitsTableUShortCol_real", _wrap_GFitsTableUShortCol_real, METH_VARARGS0x0001, (char *)"\n"
54016 "real(int const & row, int const & col=0) -> double\n"
54017 "GFitsTableUShortCol_real(GFitsTableUShortCol self, int const & row) -> double\n"
54018 ""},
54019 { (char *)"GFitsTableUShortCol_integer", _wrap_GFitsTableUShortCol_integer, METH_VARARGS0x0001, (char *)"\n"
54020 "integer(int const & row, int const & col=0) -> int\n"
54021 "GFitsTableUShortCol_integer(GFitsTableUShortCol self, int const & row) -> int\n"
54022 ""},
54023 { (char *)"GFitsTableUShortCol_insert", _wrap_GFitsTableUShortCol_insert, METH_VARARGS0x0001, (char *)"GFitsTableUShortCol_insert(GFitsTableUShortCol self, int const & row, int const & nrows)"},
54024 { (char *)"GFitsTableUShortCol_remove", _wrap_GFitsTableUShortCol_remove, METH_VARARGS0x0001, (char *)"GFitsTableUShortCol_remove(GFitsTableUShortCol self, int const & row, int const & nrows)"},
54025 { (char *)"GFitsTableUShortCol_isloaded", _wrap_GFitsTableUShortCol_isloaded, METH_VARARGS0x0001, (char *)"GFitsTableUShortCol_isloaded(GFitsTableUShortCol self) -> bool"},
54026 { (char *)"GFitsTableUShortCol_data", _wrap_GFitsTableUShortCol_data, METH_VARARGS0x0001, (char *)"GFitsTableUShortCol_data(GFitsTableUShortCol self) -> unsigned short *"},
54027 { (char *)"GFitsTableUShortCol_nulval", _wrap_GFitsTableUShortCol_nulval, METH_VARARGS0x0001, (char *)"\n"
54028 "nulval() -> unsigned short\n"
54029 "GFitsTableUShortCol_nulval(GFitsTableUShortCol self, unsigned short const * value)\n"
54030 ""},
54031 { (char *)"GFitsTableUShortCol___getitem__", _wrap_GFitsTableUShortCol___getitem__, METH_VARARGS0x0001, (char *)"GFitsTableUShortCol___getitem__(GFitsTableUShortCol self, int [] GFitsTableColInx) -> unsigned short"},
54032 { (char *)"GFitsTableUShortCol___setitem__", _wrap_GFitsTableUShortCol___setitem__, METH_VARARGS0x0001, (char *)"GFitsTableUShortCol___setitem__(GFitsTableUShortCol self, int [] GFitsTableColInx, unsigned short value)"},
54033 { (char *)"GFitsTableUShortCol_copy", _wrap_GFitsTableUShortCol_copy, METH_VARARGS0x0001, (char *)"GFitsTableUShortCol_copy(GFitsTableUShortCol self) -> GFitsTableUShortCol"},
54034 { (char *)"GFitsTableUShortCol_swigregister", GFitsTableUShortCol_swigregister, METH_VARARGS0x0001, NULL__null},
54035 { (char *)"new_GFitsTableShortCol", _wrap_new_GFitsTableShortCol, METH_VARARGS0x0001, (char *)"\n"
54036 "GFitsTableShortCol()\n"
54037 "GFitsTableShortCol(std::string const & name, int const & length, int const & size=1)\n"
54038 "GFitsTableShortCol(std::string const & name, int const & length)\n"
54039 "new_GFitsTableShortCol(GFitsTableShortCol column) -> GFitsTableShortCol\n"
54040 ""},
54041 { (char *)"delete_GFitsTableShortCol", _wrap_delete_GFitsTableShortCol, METH_VARARGS0x0001, (char *)"delete_GFitsTableShortCol(GFitsTableShortCol self)"},
54042 { (char *)"GFitsTableShortCol_clear", _wrap_GFitsTableShortCol_clear, METH_VARARGS0x0001, (char *)"GFitsTableShortCol_clear(GFitsTableShortCol self)"},
54043 { (char *)"GFitsTableShortCol_clone", _wrap_GFitsTableShortCol_clone, METH_VARARGS0x0001, (char *)"GFitsTableShortCol_clone(GFitsTableShortCol self) -> GFitsTableShortCol"},
54044 { (char *)"GFitsTableShortCol_string", _wrap_GFitsTableShortCol_string, METH_VARARGS0x0001, (char *)"\n"
54045 "string(int const & row, int const & col=0) -> std::string\n"
54046 "GFitsTableShortCol_string(GFitsTableShortCol self, int const & row) -> std::string\n"
54047 ""},
54048 { (char *)"GFitsTableShortCol_real", _wrap_GFitsTableShortCol_real, METH_VARARGS0x0001, (char *)"\n"
54049 "real(int const & row, int const & col=0) -> double\n"
54050 "GFitsTableShortCol_real(GFitsTableShortCol self, int const & row) -> double\n"
54051 ""},
54052 { (char *)"GFitsTableShortCol_integer", _wrap_GFitsTableShortCol_integer, METH_VARARGS0x0001, (char *)"\n"
54053 "integer(int const & row, int const & col=0) -> int\n"
54054 "GFitsTableShortCol_integer(GFitsTableShortCol self, int const & row) -> int\n"
54055 ""},
54056 { (char *)"GFitsTableShortCol_insert", _wrap_GFitsTableShortCol_insert, METH_VARARGS0x0001, (char *)"GFitsTableShortCol_insert(GFitsTableShortCol self, int const & row, int const & nrows)"},
54057 { (char *)"GFitsTableShortCol_remove", _wrap_GFitsTableShortCol_remove, METH_VARARGS0x0001, (char *)"GFitsTableShortCol_remove(GFitsTableShortCol self, int const & row, int const & nrows)"},
54058 { (char *)"GFitsTableShortCol_isloaded", _wrap_GFitsTableShortCol_isloaded, METH_VARARGS0x0001, (char *)"GFitsTableShortCol_isloaded(GFitsTableShortCol self) -> bool"},
54059 { (char *)"GFitsTableShortCol_data", _wrap_GFitsTableShortCol_data, METH_VARARGS0x0001, (char *)"GFitsTableShortCol_data(GFitsTableShortCol self) -> short *"},
54060 { (char *)"GFitsTableShortCol_nulval", _wrap_GFitsTableShortCol_nulval, METH_VARARGS0x0001, (char *)"\n"
54061 "nulval() -> short\n"
54062 "GFitsTableShortCol_nulval(GFitsTableShortCol self, short const * value)\n"
54063 ""},
54064 { (char *)"GFitsTableShortCol___getitem__", _wrap_GFitsTableShortCol___getitem__, METH_VARARGS0x0001, (char *)"GFitsTableShortCol___getitem__(GFitsTableShortCol self, int [] GFitsTableColInx) -> short"},
54065 { (char *)"GFitsTableShortCol___setitem__", _wrap_GFitsTableShortCol___setitem__, METH_VARARGS0x0001, (char *)"GFitsTableShortCol___setitem__(GFitsTableShortCol self, int [] GFitsTableColInx, short value)"},
54066 { (char *)"GFitsTableShortCol_copy", _wrap_GFitsTableShortCol_copy, METH_VARARGS0x0001, (char *)"GFitsTableShortCol_copy(GFitsTableShortCol self) -> GFitsTableShortCol"},
54067 { (char *)"GFitsTableShortCol_swigregister", GFitsTableShortCol_swigregister, METH_VARARGS0x0001, NULL__null},
54068 { (char *)"new_GFitsTableULongCol", _wrap_new_GFitsTableULongCol, METH_VARARGS0x0001, (char *)"\n"
54069 "GFitsTableULongCol()\n"
54070 "GFitsTableULongCol(std::string const & name, int const & length, int const & size=1)\n"
54071 "GFitsTableULongCol(std::string const & name, int const & length)\n"
54072 "new_GFitsTableULongCol(GFitsTableULongCol column) -> GFitsTableULongCol\n"
54073 ""},
54074 { (char *)"delete_GFitsTableULongCol", _wrap_delete_GFitsTableULongCol, METH_VARARGS0x0001, (char *)"delete_GFitsTableULongCol(GFitsTableULongCol self)"},
54075 { (char *)"GFitsTableULongCol_clear", _wrap_GFitsTableULongCol_clear, METH_VARARGS0x0001, (char *)"GFitsTableULongCol_clear(GFitsTableULongCol self)"},
54076 { (char *)"GFitsTableULongCol_clone", _wrap_GFitsTableULongCol_clone, METH_VARARGS0x0001, (char *)"GFitsTableULongCol_clone(GFitsTableULongCol self) -> GFitsTableULongCol"},
54077 { (char *)"GFitsTableULongCol_string", _wrap_GFitsTableULongCol_string, METH_VARARGS0x0001, (char *)"\n"
54078 "string(int const & row, int const & col=0) -> std::string\n"
54079 "GFitsTableULongCol_string(GFitsTableULongCol self, int const & row) -> std::string\n"
54080 ""},
54081 { (char *)"GFitsTableULongCol_real", _wrap_GFitsTableULongCol_real, METH_VARARGS0x0001, (char *)"\n"
54082 "real(int const & row, int const & col=0) -> double\n"
54083 "GFitsTableULongCol_real(GFitsTableULongCol self, int const & row) -> double\n"
54084 ""},
54085 { (char *)"GFitsTableULongCol_integer", _wrap_GFitsTableULongCol_integer, METH_VARARGS0x0001, (char *)"\n"
54086 "integer(int const & row, int const & col=0) -> int\n"
54087 "GFitsTableULongCol_integer(GFitsTableULongCol self, int const & row) -> int\n"
54088 ""},
54089 { (char *)"GFitsTableULongCol_insert", _wrap_GFitsTableULongCol_insert, METH_VARARGS0x0001, (char *)"GFitsTableULongCol_insert(GFitsTableULongCol self, int const & row, int const & nrows)"},
54090 { (char *)"GFitsTableULongCol_remove", _wrap_GFitsTableULongCol_remove, METH_VARARGS0x0001, (char *)"GFitsTableULongCol_remove(GFitsTableULongCol self, int const & row, int const & nrows)"},
54091 { (char *)"GFitsTableULongCol_isloaded", _wrap_GFitsTableULongCol_isloaded, METH_VARARGS0x0001, (char *)"GFitsTableULongCol_isloaded(GFitsTableULongCol self) -> bool"},
54092 { (char *)"GFitsTableULongCol_data", _wrap_GFitsTableULongCol_data, METH_VARARGS0x0001, (char *)"GFitsTableULongCol_data(GFitsTableULongCol self) -> unsigned long *"},
54093 { (char *)"GFitsTableULongCol_nulval", _wrap_GFitsTableULongCol_nulval, METH_VARARGS0x0001, (char *)"\n"
54094 "nulval() -> unsigned long\n"
54095 "GFitsTableULongCol_nulval(GFitsTableULongCol self, unsigned long const * value)\n"
54096 ""},
54097 { (char *)"GFitsTableULongCol___getitem__", _wrap_GFitsTableULongCol___getitem__, METH_VARARGS0x0001, (char *)"GFitsTableULongCol___getitem__(GFitsTableULongCol self, int [] GFitsTableColInx) -> unsigned long"},
54098 { (char *)"GFitsTableULongCol___setitem__", _wrap_GFitsTableULongCol___setitem__, METH_VARARGS0x0001, (char *)"GFitsTableULongCol___setitem__(GFitsTableULongCol self, int [] GFitsTableColInx, unsigned long value)"},
54099 { (char *)"GFitsTableULongCol_copy", _wrap_GFitsTableULongCol_copy, METH_VARARGS0x0001, (char *)"GFitsTableULongCol_copy(GFitsTableULongCol self) -> GFitsTableULongCol"},
54100 { (char *)"GFitsTableULongCol_swigregister", GFitsTableULongCol_swigregister, METH_VARARGS0x0001, NULL__null},
54101 { (char *)"new_GFitsTableLongCol", _wrap_new_GFitsTableLongCol, METH_VARARGS0x0001, (char *)"\n"
54102 "GFitsTableLongCol()\n"
54103 "GFitsTableLongCol(std::string const & name, int const & length, int const & size=1)\n"
54104 "GFitsTableLongCol(std::string const & name, int const & length)\n"
54105 "new_GFitsTableLongCol(GFitsTableLongCol column) -> GFitsTableLongCol\n"
54106 ""},
54107 { (char *)"delete_GFitsTableLongCol", _wrap_delete_GFitsTableLongCol, METH_VARARGS0x0001, (char *)"delete_GFitsTableLongCol(GFitsTableLongCol self)"},
54108 { (char *)"GFitsTableLongCol_clear", _wrap_GFitsTableLongCol_clear, METH_VARARGS0x0001, (char *)"GFitsTableLongCol_clear(GFitsTableLongCol self)"},
54109 { (char *)"GFitsTableLongCol_clone", _wrap_GFitsTableLongCol_clone, METH_VARARGS0x0001, (char *)"GFitsTableLongCol_clone(GFitsTableLongCol self) -> GFitsTableLongCol"},
54110 { (char *)"GFitsTableLongCol_string", _wrap_GFitsTableLongCol_string, METH_VARARGS0x0001, (char *)"\n"
54111 "string(int const & row, int const & col=0) -> std::string\n"
54112 "GFitsTableLongCol_string(GFitsTableLongCol self, int const & row) -> std::string\n"
54113 ""},
54114 { (char *)"GFitsTableLongCol_real", _wrap_GFitsTableLongCol_real, METH_VARARGS0x0001, (char *)"\n"
54115 "real(int const & row, int const & col=0) -> double\n"
54116 "GFitsTableLongCol_real(GFitsTableLongCol self, int const & row) -> double\n"
54117 ""},
54118 { (char *)"GFitsTableLongCol_integer", _wrap_GFitsTableLongCol_integer, METH_VARARGS0x0001, (char *)"\n"
54119 "integer(int const & row, int const & col=0) -> int\n"
54120 "GFitsTableLongCol_integer(GFitsTableLongCol self, int const & row) -> int\n"
54121 ""},
54122 { (char *)"GFitsTableLongCol_insert", _wrap_GFitsTableLongCol_insert, METH_VARARGS0x0001, (char *)"GFitsTableLongCol_insert(GFitsTableLongCol self, int const & row, int const & nrows)"},
54123 { (char *)"GFitsTableLongCol_remove", _wrap_GFitsTableLongCol_remove, METH_VARARGS0x0001, (char *)"GFitsTableLongCol_remove(GFitsTableLongCol self, int const & row, int const & nrows)"},
54124 { (char *)"GFitsTableLongCol_isloaded", _wrap_GFitsTableLongCol_isloaded, METH_VARARGS0x0001, (char *)"GFitsTableLongCol_isloaded(GFitsTableLongCol self) -> bool"},
54125 { (char *)"GFitsTableLongCol_data", _wrap_GFitsTableLongCol_data, METH_VARARGS0x0001, (char *)"GFitsTableLongCol_data(GFitsTableLongCol self) -> long *"},
54126 { (char *)"GFitsTableLongCol_nulval", _wrap_GFitsTableLongCol_nulval, METH_VARARGS0x0001, (char *)"\n"
54127 "nulval() -> long\n"
54128 "GFitsTableLongCol_nulval(GFitsTableLongCol self, long const * value)\n"
54129 ""},
54130 { (char *)"GFitsTableLongCol___getitem__", _wrap_GFitsTableLongCol___getitem__, METH_VARARGS0x0001, (char *)"GFitsTableLongCol___getitem__(GFitsTableLongCol self, int [] GFitsTableColInx) -> long"},
54131 { (char *)"GFitsTableLongCol___setitem__", _wrap_GFitsTableLongCol___setitem__, METH_VARARGS0x0001, (char *)"GFitsTableLongCol___setitem__(GFitsTableLongCol self, int [] GFitsTableColInx, long value)"},
54132 { (char *)"GFitsTableLongCol_copy", _wrap_GFitsTableLongCol_copy, METH_VARARGS0x0001, (char *)"GFitsTableLongCol_copy(GFitsTableLongCol self) -> GFitsTableLongCol"},
54133 { (char *)"GFitsTableLongCol_swigregister", GFitsTableLongCol_swigregister, METH_VARARGS0x0001, NULL__null},
54134 { (char *)"new_GFitsTableLongLongCol", _wrap_new_GFitsTableLongLongCol, METH_VARARGS0x0001, (char *)"\n"
54135 "GFitsTableLongLongCol()\n"
54136 "GFitsTableLongLongCol(std::string const & name, int const & length, int const & size=1)\n"
54137 "GFitsTableLongLongCol(std::string const & name, int const & length)\n"
54138 "new_GFitsTableLongLongCol(GFitsTableLongLongCol column) -> GFitsTableLongLongCol\n"
54139 ""},
54140 { (char *)"delete_GFitsTableLongLongCol", _wrap_delete_GFitsTableLongLongCol, METH_VARARGS0x0001, (char *)"delete_GFitsTableLongLongCol(GFitsTableLongLongCol self)"},
54141 { (char *)"GFitsTableLongLongCol_clear", _wrap_GFitsTableLongLongCol_clear, METH_VARARGS0x0001, (char *)"GFitsTableLongLongCol_clear(GFitsTableLongLongCol self)"},
54142 { (char *)"GFitsTableLongLongCol_clone", _wrap_GFitsTableLongLongCol_clone, METH_VARARGS0x0001, (char *)"GFitsTableLongLongCol_clone(GFitsTableLongLongCol self) -> GFitsTableLongLongCol"},
54143 { (char *)"GFitsTableLongLongCol_string", _wrap_GFitsTableLongLongCol_string, METH_VARARGS0x0001, (char *)"\n"
54144 "string(int const & row, int const & col=0) -> std::string\n"
54145 "GFitsTableLongLongCol_string(GFitsTableLongLongCol self, int const & row) -> std::string\n"
54146 ""},
54147 { (char *)"GFitsTableLongLongCol_real", _wrap_GFitsTableLongLongCol_real, METH_VARARGS0x0001, (char *)"\n"
54148 "real(int const & row, int const & col=0) -> double\n"
54149 "GFitsTableLongLongCol_real(GFitsTableLongLongCol self, int const & row) -> double\n"
54150 ""},
54151 { (char *)"GFitsTableLongLongCol_integer", _wrap_GFitsTableLongLongCol_integer, METH_VARARGS0x0001, (char *)"\n"
54152 "integer(int const & row, int const & col=0) -> int\n"
54153 "GFitsTableLongLongCol_integer(GFitsTableLongLongCol self, int const & row) -> int\n"
54154 ""},
54155 { (char *)"GFitsTableLongLongCol_insert", _wrap_GFitsTableLongLongCol_insert, METH_VARARGS0x0001, (char *)"GFitsTableLongLongCol_insert(GFitsTableLongLongCol self, int const & row, int const & nrows)"},
54156 { (char *)"GFitsTableLongLongCol_remove", _wrap_GFitsTableLongLongCol_remove, METH_VARARGS0x0001, (char *)"GFitsTableLongLongCol_remove(GFitsTableLongLongCol self, int const & row, int const & nrows)"},
54157 { (char *)"GFitsTableLongLongCol_isloaded", _wrap_GFitsTableLongLongCol_isloaded, METH_VARARGS0x0001, (char *)"GFitsTableLongLongCol_isloaded(GFitsTableLongLongCol self) -> bool"},
54158 { (char *)"GFitsTableLongLongCol_data", _wrap_GFitsTableLongLongCol_data, METH_VARARGS0x0001, (char *)"GFitsTableLongLongCol_data(GFitsTableLongLongCol self) -> long long *"},
54159 { (char *)"GFitsTableLongLongCol_nulval", _wrap_GFitsTableLongLongCol_nulval, METH_VARARGS0x0001, (char *)"\n"
54160 "nulval() -> long long\n"
54161 "GFitsTableLongLongCol_nulval(GFitsTableLongLongCol self, long long const * value)\n"
54162 ""},
54163 { (char *)"GFitsTableLongLongCol___getitem__", _wrap_GFitsTableLongLongCol___getitem__, METH_VARARGS0x0001, (char *)"GFitsTableLongLongCol___getitem__(GFitsTableLongLongCol self, int [] GFitsTableColInx) -> long long"},
54164 { (char *)"GFitsTableLongLongCol___setitem__", _wrap_GFitsTableLongLongCol___setitem__, METH_VARARGS0x0001, (char *)"GFitsTableLongLongCol___setitem__(GFitsTableLongLongCol self, int [] GFitsTableColInx, long long value)"},
54165 { (char *)"GFitsTableLongLongCol_copy", _wrap_GFitsTableLongLongCol_copy, METH_VARARGS0x0001, (char *)"GFitsTableLongLongCol_copy(GFitsTableLongLongCol self) -> GFitsTableLongLongCol"},
54166 { (char *)"GFitsTableLongLongCol_swigregister", GFitsTableLongLongCol_swigregister, METH_VARARGS0x0001, NULL__null},
54167 { (char *)"new_GFitsTableFloatCol", _wrap_new_GFitsTableFloatCol, METH_VARARGS0x0001, (char *)"\n"
54168 "GFitsTableFloatCol()\n"
54169 "GFitsTableFloatCol(std::string const & name, int const & length, int const & size=1)\n"
54170 "GFitsTableFloatCol(std::string const & name, int const & length)\n"
54171 "new_GFitsTableFloatCol(GFitsTableFloatCol column) -> GFitsTableFloatCol\n"
54172 ""},
54173 { (char *)"delete_GFitsTableFloatCol", _wrap_delete_GFitsTableFloatCol, METH_VARARGS0x0001, (char *)"delete_GFitsTableFloatCol(GFitsTableFloatCol self)"},
54174 { (char *)"GFitsTableFloatCol_clear", _wrap_GFitsTableFloatCol_clear, METH_VARARGS0x0001, (char *)"GFitsTableFloatCol_clear(GFitsTableFloatCol self)"},
54175 { (char *)"GFitsTableFloatCol_clone", _wrap_GFitsTableFloatCol_clone, METH_VARARGS0x0001, (char *)"GFitsTableFloatCol_clone(GFitsTableFloatCol self) -> GFitsTableFloatCol"},
54176 { (char *)"GFitsTableFloatCol_string", _wrap_GFitsTableFloatCol_string, METH_VARARGS0x0001, (char *)"\n"
54177 "string(int const & row, int const & col=0) -> std::string\n"
54178 "GFitsTableFloatCol_string(GFitsTableFloatCol self, int const & row) -> std::string\n"
54179 ""},
54180 { (char *)"GFitsTableFloatCol_real", _wrap_GFitsTableFloatCol_real, METH_VARARGS0x0001, (char *)"\n"
54181 "real(int const & row, int const & col=0) -> double\n"
54182 "GFitsTableFloatCol_real(GFitsTableFloatCol self, int const & row) -> double\n"
54183 ""},
54184 { (char *)"GFitsTableFloatCol_integer", _wrap_GFitsTableFloatCol_integer, METH_VARARGS0x0001, (char *)"\n"
54185 "integer(int const & row, int const & col=0) -> int\n"
54186 "GFitsTableFloatCol_integer(GFitsTableFloatCol self, int const & row) -> int\n"
54187 ""},
54188 { (char *)"GFitsTableFloatCol_insert", _wrap_GFitsTableFloatCol_insert, METH_VARARGS0x0001, (char *)"GFitsTableFloatCol_insert(GFitsTableFloatCol self, int const & row, int const & nrows)"},
54189 { (char *)"GFitsTableFloatCol_remove", _wrap_GFitsTableFloatCol_remove, METH_VARARGS0x0001, (char *)"GFitsTableFloatCol_remove(GFitsTableFloatCol self, int const & row, int const & nrows)"},
54190 { (char *)"GFitsTableFloatCol_isloaded", _wrap_GFitsTableFloatCol_isloaded, METH_VARARGS0x0001, (char *)"GFitsTableFloatCol_isloaded(GFitsTableFloatCol self) -> bool"},
54191 { (char *)"GFitsTableFloatCol_data", _wrap_GFitsTableFloatCol_data, METH_VARARGS0x0001, (char *)"GFitsTableFloatCol_data(GFitsTableFloatCol self) -> float *"},
54192 { (char *)"GFitsTableFloatCol_nulval", _wrap_GFitsTableFloatCol_nulval, METH_VARARGS0x0001, (char *)"\n"
54193 "nulval() -> float\n"
54194 "GFitsTableFloatCol_nulval(GFitsTableFloatCol self, float const * value)\n"
54195 ""},
54196 { (char *)"GFitsTableFloatCol___getitem__", _wrap_GFitsTableFloatCol___getitem__, METH_VARARGS0x0001, (char *)"GFitsTableFloatCol___getitem__(GFitsTableFloatCol self, int [] GFitsTableColInx) -> float"},
54197 { (char *)"GFitsTableFloatCol___setitem__", _wrap_GFitsTableFloatCol___setitem__, METH_VARARGS0x0001, (char *)"GFitsTableFloatCol___setitem__(GFitsTableFloatCol self, int [] GFitsTableColInx, float value)"},
54198 { (char *)"GFitsTableFloatCol_copy", _wrap_GFitsTableFloatCol_copy, METH_VARARGS0x0001, (char *)"GFitsTableFloatCol_copy(GFitsTableFloatCol self) -> GFitsTableFloatCol"},
54199 { (char *)"GFitsTableFloatCol_swigregister", GFitsTableFloatCol_swigregister, METH_VARARGS0x0001, NULL__null},
54200 { (char *)"new_GFitsTableDoubleCol", _wrap_new_GFitsTableDoubleCol, METH_VARARGS0x0001, (char *)"\n"
54201 "GFitsTableDoubleCol()\n"
54202 "GFitsTableDoubleCol(std::string const & name, int const & length, int const & size=1)\n"
54203 "GFitsTableDoubleCol(std::string const & name, int const & length)\n"
54204 "new_GFitsTableDoubleCol(GFitsTableDoubleCol column) -> GFitsTableDoubleCol\n"
54205 ""},
54206 { (char *)"delete_GFitsTableDoubleCol", _wrap_delete_GFitsTableDoubleCol, METH_VARARGS0x0001, (char *)"delete_GFitsTableDoubleCol(GFitsTableDoubleCol self)"},
54207 { (char *)"GFitsTableDoubleCol_clear", _wrap_GFitsTableDoubleCol_clear, METH_VARARGS0x0001, (char *)"GFitsTableDoubleCol_clear(GFitsTableDoubleCol self)"},
54208 { (char *)"GFitsTableDoubleCol_clone", _wrap_GFitsTableDoubleCol_clone, METH_VARARGS0x0001, (char *)"GFitsTableDoubleCol_clone(GFitsTableDoubleCol self) -> GFitsTableDoubleCol"},
54209 { (char *)"GFitsTableDoubleCol_string", _wrap_GFitsTableDoubleCol_string, METH_VARARGS0x0001, (char *)"\n"
54210 "string(int const & row, int const & col=0) -> std::string\n"
54211 "GFitsTableDoubleCol_string(GFitsTableDoubleCol self, int const & row) -> std::string\n"
54212 ""},
54213 { (char *)"GFitsTableDoubleCol_real", _wrap_GFitsTableDoubleCol_real, METH_VARARGS0x0001, (char *)"\n"
54214 "real(int const & row, int const & col=0) -> double\n"
54215 "GFitsTableDoubleCol_real(GFitsTableDoubleCol self, int const & row) -> double\n"
54216 ""},
54217 { (char *)"GFitsTableDoubleCol_integer", _wrap_GFitsTableDoubleCol_integer, METH_VARARGS0x0001, (char *)"\n"
54218 "integer(int const & row, int const & col=0) -> int\n"
54219 "GFitsTableDoubleCol_integer(GFitsTableDoubleCol self, int const & row) -> int\n"
54220 ""},
54221 { (char *)"GFitsTableDoubleCol_insert", _wrap_GFitsTableDoubleCol_insert, METH_VARARGS0x0001, (char *)"GFitsTableDoubleCol_insert(GFitsTableDoubleCol self, int const & row, int const & nrows)"},
54222 { (char *)"GFitsTableDoubleCol_remove", _wrap_GFitsTableDoubleCol_remove, METH_VARARGS0x0001, (char *)"GFitsTableDoubleCol_remove(GFitsTableDoubleCol self, int const & row, int const & nrows)"},
54223 { (char *)"GFitsTableDoubleCol_isloaded", _wrap_GFitsTableDoubleCol_isloaded, METH_VARARGS0x0001, (char *)"GFitsTableDoubleCol_isloaded(GFitsTableDoubleCol self) -> bool"},
54224 { (char *)"GFitsTableDoubleCol_data", _wrap_GFitsTableDoubleCol_data, METH_VARARGS0x0001, (char *)"GFitsTableDoubleCol_data(GFitsTableDoubleCol self) -> double *"},
54225 { (char *)"GFitsTableDoubleCol_nulval", _wrap_GFitsTableDoubleCol_nulval, METH_VARARGS0x0001, (char *)"\n"
54226 "nulval(double const * value)\n"
54227 "GFitsTableDoubleCol_nulval(GFitsTableDoubleCol self) -> double *\n"
54228 ""},
54229 { (char *)"GFitsTableDoubleCol___getitem__", _wrap_GFitsTableDoubleCol___getitem__, METH_VARARGS0x0001, (char *)"GFitsTableDoubleCol___getitem__(GFitsTableDoubleCol self, int [] GFitsTableColInx) -> double"},
54230 { (char *)"GFitsTableDoubleCol___setitem__", _wrap_GFitsTableDoubleCol___setitem__, METH_VARARGS0x0001, (char *)"GFitsTableDoubleCol___setitem__(GFitsTableDoubleCol self, int [] GFitsTableColInx, double value)"},
54231 { (char *)"GFitsTableDoubleCol_copy", _wrap_GFitsTableDoubleCol_copy, METH_VARARGS0x0001, (char *)"GFitsTableDoubleCol_copy(GFitsTableDoubleCol self) -> GFitsTableDoubleCol"},
54232 { (char *)"GFitsTableDoubleCol_swigregister", GFitsTableDoubleCol_swigregister, METH_VARARGS0x0001, NULL__null},
54233 { (char *)"new_GFitsTableCFloatCol", _wrap_new_GFitsTableCFloatCol, METH_VARARGS0x0001, (char *)"\n"
54234 "GFitsTableCFloatCol()\n"
54235 "GFitsTableCFloatCol(std::string const & name, int const & length, int const & size=1)\n"
54236 "GFitsTableCFloatCol(std::string const & name, int const & length)\n"
54237 "new_GFitsTableCFloatCol(GFitsTableCFloatCol column) -> GFitsTableCFloatCol\n"
54238 ""},
54239 { (char *)"delete_GFitsTableCFloatCol", _wrap_delete_GFitsTableCFloatCol, METH_VARARGS0x0001, (char *)"delete_GFitsTableCFloatCol(GFitsTableCFloatCol self)"},
54240 { (char *)"GFitsTableCFloatCol_clear", _wrap_GFitsTableCFloatCol_clear, METH_VARARGS0x0001, (char *)"GFitsTableCFloatCol_clear(GFitsTableCFloatCol self)"},
54241 { (char *)"GFitsTableCFloatCol_clone", _wrap_GFitsTableCFloatCol_clone, METH_VARARGS0x0001, (char *)"GFitsTableCFloatCol_clone(GFitsTableCFloatCol self) -> GFitsTableCFloatCol"},
54242 { (char *)"GFitsTableCFloatCol_string", _wrap_GFitsTableCFloatCol_string, METH_VARARGS0x0001, (char *)"\n"
54243 "string(int const & row, int const & col=0) -> std::string\n"
54244 "GFitsTableCFloatCol_string(GFitsTableCFloatCol self, int const & row) -> std::string\n"
54245 ""},
54246 { (char *)"GFitsTableCFloatCol_real", _wrap_GFitsTableCFloatCol_real, METH_VARARGS0x0001, (char *)"\n"
54247 "real(int const & row, int const & col=0) -> double\n"
54248 "GFitsTableCFloatCol_real(GFitsTableCFloatCol self, int const & row) -> double\n"
54249 ""},
54250 { (char *)"GFitsTableCFloatCol_integer", _wrap_GFitsTableCFloatCol_integer, METH_VARARGS0x0001, (char *)"\n"
54251 "integer(int const & row, int const & col=0) -> int\n"
54252 "GFitsTableCFloatCol_integer(GFitsTableCFloatCol self, int const & row) -> int\n"
54253 ""},
54254 { (char *)"GFitsTableCFloatCol_insert", _wrap_GFitsTableCFloatCol_insert, METH_VARARGS0x0001, (char *)"GFitsTableCFloatCol_insert(GFitsTableCFloatCol self, int const & row, int const & nrows)"},
54255 { (char *)"GFitsTableCFloatCol_remove", _wrap_GFitsTableCFloatCol_remove, METH_VARARGS0x0001, (char *)"GFitsTableCFloatCol_remove(GFitsTableCFloatCol self, int const & row, int const & nrows)"},
54256 { (char *)"GFitsTableCFloatCol_isloaded", _wrap_GFitsTableCFloatCol_isloaded, METH_VARARGS0x0001, (char *)"GFitsTableCFloatCol_isloaded(GFitsTableCFloatCol self) -> bool"},
54257 { (char *)"GFitsTableCFloatCol_data", _wrap_GFitsTableCFloatCol_data, METH_VARARGS0x0001, (char *)"GFitsTableCFloatCol_data(GFitsTableCFloatCol self) -> GFits::cfloat *"},
54258 { (char *)"GFitsTableCFloatCol_nulval", _wrap_GFitsTableCFloatCol_nulval, METH_VARARGS0x0001, (char *)"\n"
54259 "nulval() -> GFits::cfloat\n"
54260 "GFitsTableCFloatCol_nulval(GFitsTableCFloatCol self, GFits::cfloat const * value)\n"
54261 ""},
54262 { (char *)"GFitsTableCFloatCol___setitem__", _wrap_GFitsTableCFloatCol___setitem__, METH_VARARGS0x0001, (char *)"GFitsTableCFloatCol___setitem__(GFitsTableCFloatCol self, int [] GFitsTableColInx, GFits::cfloat value)"},
54263 { (char *)"GFitsTableCFloatCol_copy", _wrap_GFitsTableCFloatCol_copy, METH_VARARGS0x0001, (char *)"GFitsTableCFloatCol_copy(GFitsTableCFloatCol self) -> GFitsTableCFloatCol"},
54264 { (char *)"GFitsTableCFloatCol_swigregister", GFitsTableCFloatCol_swigregister, METH_VARARGS0x0001, NULL__null},
54265 { (char *)"new_GFitsTableCDoubleCol", _wrap_new_GFitsTableCDoubleCol, METH_VARARGS0x0001, (char *)"\n"
54266 "GFitsTableCDoubleCol()\n"
54267 "GFitsTableCDoubleCol(std::string const & name, int const & length, int const & size=1)\n"
54268 "GFitsTableCDoubleCol(std::string const & name, int const & length)\n"
54269 "new_GFitsTableCDoubleCol(GFitsTableCDoubleCol column) -> GFitsTableCDoubleCol\n"
54270 ""},
54271 { (char *)"delete_GFitsTableCDoubleCol", _wrap_delete_GFitsTableCDoubleCol, METH_VARARGS0x0001, (char *)"delete_GFitsTableCDoubleCol(GFitsTableCDoubleCol self)"},
54272 { (char *)"GFitsTableCDoubleCol_clear", _wrap_GFitsTableCDoubleCol_clear, METH_VARARGS0x0001, (char *)"GFitsTableCDoubleCol_clear(GFitsTableCDoubleCol self)"},
54273 { (char *)"GFitsTableCDoubleCol_clone", _wrap_GFitsTableCDoubleCol_clone, METH_VARARGS0x0001, (char *)"GFitsTableCDoubleCol_clone(GFitsTableCDoubleCol self) -> GFitsTableCDoubleCol"},
54274 { (char *)"GFitsTableCDoubleCol_string", _wrap_GFitsTableCDoubleCol_string, METH_VARARGS0x0001, (char *)"\n"
54275 "string(int const & row, int const & col=0) -> std::string\n"
54276 "GFitsTableCDoubleCol_string(GFitsTableCDoubleCol self, int const & row) -> std::string\n"
54277 ""},
54278 { (char *)"GFitsTableCDoubleCol_real", _wrap_GFitsTableCDoubleCol_real, METH_VARARGS0x0001, (char *)"\n"
54279 "real(int const & row, int const & col=0) -> double\n"
54280 "GFitsTableCDoubleCol_real(GFitsTableCDoubleCol self, int const & row) -> double\n"
54281 ""},
54282 { (char *)"GFitsTableCDoubleCol_integer", _wrap_GFitsTableCDoubleCol_integer, METH_VARARGS0x0001, (char *)"\n"
54283 "integer(int const & row, int const & col=0) -> int\n"
54284 "GFitsTableCDoubleCol_integer(GFitsTableCDoubleCol self, int const & row) -> int\n"
54285 ""},
54286 { (char *)"GFitsTableCDoubleCol_insert", _wrap_GFitsTableCDoubleCol_insert, METH_VARARGS0x0001, (char *)"GFitsTableCDoubleCol_insert(GFitsTableCDoubleCol self, int const & row, int const & nrows)"},
54287 { (char *)"GFitsTableCDoubleCol_remove", _wrap_GFitsTableCDoubleCol_remove, METH_VARARGS0x0001, (char *)"GFitsTableCDoubleCol_remove(GFitsTableCDoubleCol self, int const & row, int const & nrows)"},
54288 { (char *)"GFitsTableCDoubleCol_isloaded", _wrap_GFitsTableCDoubleCol_isloaded, METH_VARARGS0x0001, (char *)"GFitsTableCDoubleCol_isloaded(GFitsTableCDoubleCol self) -> bool"},
54289 { (char *)"GFitsTableCDoubleCol_data", _wrap_GFitsTableCDoubleCol_data, METH_VARARGS0x0001, (char *)"GFitsTableCDoubleCol_data(GFitsTableCDoubleCol self) -> GFits::cdouble *"},
54290 { (char *)"GFitsTableCDoubleCol_nulval", _wrap_GFitsTableCDoubleCol_nulval, METH_VARARGS0x0001, (char *)"\n"
54291 "nulval() -> GFits::cdouble\n"
54292 "GFitsTableCDoubleCol_nulval(GFitsTableCDoubleCol self, GFits::cdouble const * value)\n"
54293 ""},
54294 { (char *)"GFitsTableCDoubleCol___setitem__", _wrap_GFitsTableCDoubleCol___setitem__, METH_VARARGS0x0001, (char *)"GFitsTableCDoubleCol___setitem__(GFitsTableCDoubleCol self, int [] GFitsTableColInx, GFits::cdouble value)"},
54295 { (char *)"GFitsTableCDoubleCol_copy", _wrap_GFitsTableCDoubleCol_copy, METH_VARARGS0x0001, (char *)"GFitsTableCDoubleCol_copy(GFitsTableCDoubleCol self) -> GFitsTableCDoubleCol"},
54296 { (char *)"GFitsTableCDoubleCol_swigregister", GFitsTableCDoubleCol_swigregister, METH_VARARGS0x0001, NULL__null},
54297 { NULL__null, NULL__null, 0, NULL__null }
54298};
54299
54300
54301/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
54302
54303static void *_p_GFitsImageLongLongTo_p_GFitsImage(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54304 return (void *)((GFitsImage *) ((GFitsImageLongLong *) x));
54305}
54306static void *_p_GFitsImageShortTo_p_GFitsImage(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54307 return (void *)((GFitsImage *) ((GFitsImageShort *) x));
54308}
54309static void *_p_GFitsImageULongTo_p_GFitsImage(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54310 return (void *)((GFitsImage *) ((GFitsImageULong *) x));
54311}
54312static void *_p_GFitsImageByteTo_p_GFitsImage(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54313 return (void *)((GFitsImage *) ((GFitsImageByte *) x));
54314}
54315static void *_p_GFitsImageSByteTo_p_GFitsImage(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54316 return (void *)((GFitsImage *) ((GFitsImageSByte *) x));
54317}
54318static void *_p_GFitsImageFloatTo_p_GFitsImage(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54319 return (void *)((GFitsImage *) ((GFitsImageFloat *) x));
54320}
54321static void *_p_GFitsImageDoubleTo_p_GFitsImage(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54322 return (void *)((GFitsImage *) ((GFitsImageDouble *) x));
54323}
54324static void *_p_GFitsImageUShortTo_p_GFitsImage(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54325 return (void *)((GFitsImage *) ((GFitsImageUShort *) x));
54326}
54327static void *_p_GFitsImageLongTo_p_GFitsImage(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54328 return (void *)((GFitsImage *) ((GFitsImageLong *) x));
54329}
54330static void *_p_GFitsTo_p_GContainer(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54331 return (void *)((GContainer *) ((GFits *) x));
54332}
54333static void *_p_GFitsTableByteColTo_p_GFitsTableCol(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54334 return (void *)((GFitsTableCol *) ((GFitsTableByteCol *) x));
54335}
54336static void *_p_GFitsTableULongColTo_p_GFitsTableCol(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54337 return (void *)((GFitsTableCol *) ((GFitsTableULongCol *) x));
54338}
54339static void *_p_GFitsTableLongColTo_p_GFitsTableCol(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54340 return (void *)((GFitsTableCol *) ((GFitsTableLongCol *) x));
54341}
54342static void *_p_GFitsTableLongLongColTo_p_GFitsTableCol(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54343 return (void *)((GFitsTableCol *) ((GFitsTableLongLongCol *) x));
54344}
54345static void *_p_GFitsTableUShortColTo_p_GFitsTableCol(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54346 return (void *)((GFitsTableCol *) ((GFitsTableUShortCol *) x));
54347}
54348static void *_p_GFitsTableShortColTo_p_GFitsTableCol(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54349 return (void *)((GFitsTableCol *) ((GFitsTableShortCol *) x));
54350}
54351static void *_p_GFitsTableBitColTo_p_GFitsTableCol(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54352 return (void *)((GFitsTableCol *) ((GFitsTableBitCol *) x));
54353}
54354static void *_p_GFitsTableBoolColTo_p_GFitsTableCol(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54355 return (void *)((GFitsTableCol *) ((GFitsTableBoolCol *) x));
54356}
54357static void *_p_GFitsTableStringColTo_p_GFitsTableCol(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54358 return (void *)((GFitsTableCol *) ((GFitsTableStringCol *) x));
54359}
54360static void *_p_GFitsTableFloatColTo_p_GFitsTableCol(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54361 return (void *)((GFitsTableCol *) ((GFitsTableFloatCol *) x));
54362}
54363static void *_p_GFitsTableCFloatColTo_p_GFitsTableCol(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54364 return (void *)((GFitsTableCol *) ((GFitsTableCFloatCol *) x));
54365}
54366static void *_p_GFitsTableDoubleColTo_p_GFitsTableCol(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54367 return (void *)((GFitsTableCol *) ((GFitsTableDoubleCol *) x));
54368}
54369static void *_p_GFitsTableCDoubleColTo_p_GFitsTableCol(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54370 return (void *)((GFitsTableCol *) ((GFitsTableCDoubleCol *) x));
54371}
54372static void *_p_GFitsImageTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54373 return (void *)((GBase *) (GFitsHDU *) ((GFitsImage *) x));
54374}
54375static void *_p_GFitsImageULongTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54376 return (void *)((GBase *) (GFitsHDU *)(GFitsImage *) ((GFitsImageULong *) x));
54377}
54378static void *_p_GFitsImageLongLongTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54379 return (void *)((GBase *) (GFitsHDU *)(GFitsImage *) ((GFitsImageLongLong *) x));
54380}
54381static void *_p_GFitsImageFloatTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54382 return (void *)((GBase *) (GFitsHDU *)(GFitsImage *) ((GFitsImageFloat *) x));
54383}
54384static void *_p_GFitsTableBoolColTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54385 return (void *)((GBase *) (GFitsTableCol *) ((GFitsTableBoolCol *) x));
54386}
54387static void *_p_GFitsImageShortTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54388 return (void *)((GBase *) (GFitsHDU *)(GFitsImage *) ((GFitsImageShort *) x));
54389}
54390static void *_p_GFitsTableBitColTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54391 return (void *)((GBase *) (GFitsTableCol *) ((GFitsTableBitCol *) x));
54392}
54393static void *_p_GFitsTableUShortColTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54394 return (void *)((GBase *) (GFitsTableCol *) ((GFitsTableUShortCol *) x));
54395}
54396static void *_p_GFitsTableShortColTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54397 return (void *)((GBase *) (GFitsTableCol *) ((GFitsTableShortCol *) x));
54398}
54399static void *_p_GFitsTableFloatColTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54400 return (void *)((GBase *) (GFitsTableCol *) ((GFitsTableFloatCol *) x));
54401}
54402static void *_p_GFitsTableCFloatColTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54403 return (void *)((GBase *) (GFitsTableCol *) ((GFitsTableCFloatCol *) x));
54404}
54405static void *_p_GFitsImageLongTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54406 return (void *)((GBase *) (GFitsHDU *)(GFitsImage *) ((GFitsImageLong *) x));
54407}
54408static void *_p_GFitsBinTableTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54409 return (void *)((GBase *) (GFitsHDU *)(GFitsTable *) ((GFitsBinTable *) x));
54410}
54411static void *_p_GFitsImageSByteTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54412 return (void *)((GBase *) (GFitsHDU *)(GFitsImage *) ((GFitsImageSByte *) x));
54413}
54414static void *_p_GFitsHeaderCardTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54415 return (void *)((GBase *) ((GFitsHeaderCard *) x));
54416}
54417static void *_p_GFitsTableColTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54418 return (void *)((GBase *) ((GFitsTableCol *) x));
54419}
54420static void *_p_GFitsTableByteColTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54421 return (void *)((GBase *) (GFitsTableCol *) ((GFitsTableByteCol *) x));
54422}
54423static void *_p_GFitsTableDoubleColTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54424 return (void *)((GBase *) (GFitsTableCol *) ((GFitsTableDoubleCol *) x));
54425}
54426static void *_p_GFitsTableCDoubleColTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54427 return (void *)((GBase *) (GFitsTableCol *) ((GFitsTableCDoubleCol *) x));
54428}
54429static void *_p_GFitsHeaderTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54430 return (void *)((GBase *) ((GFitsHeader *) x));
54431}
54432static void *_p_GFitsImageByteTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54433 return (void *)((GBase *) (GFitsHDU *)(GFitsImage *) ((GFitsImageByte *) x));
54434}
54435static void *_p_GFitsTableULongColTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54436 return (void *)((GBase *) (GFitsTableCol *) ((GFitsTableULongCol *) x));
54437}
54438static void *_p_GFitsTableLongColTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54439 return (void *)((GBase *) (GFitsTableCol *) ((GFitsTableLongCol *) x));
54440}
54441static void *_p_GFitsTableLongLongColTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54442 return (void *)((GBase *) (GFitsTableCol *) ((GFitsTableLongLongCol *) x));
54443}
54444static void *_p_GContainerTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54445 return (void *)((GBase *) ((GContainer *) x));
54446}
54447static void *_p_GFitsTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54448 return (void *)((GBase *) (GContainer *) ((GFits *) x));
54449}
54450static void *_p_GFitsTableTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54451 return (void *)((GBase *) (GFitsHDU *) ((GFitsTable *) x));
54452}
54453static void *_p_GFitsAsciiTableTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54454 return (void *)((GBase *) (GFitsHDU *)(GFitsTable *) ((GFitsAsciiTable *) x));
54455}
54456static void *_p_GFitsHDUTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54457 return (void *)((GBase *) ((GFitsHDU *) x));
54458}
54459static void *_p_GFitsImageUShortTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54460 return (void *)((GBase *) (GFitsHDU *)(GFitsImage *) ((GFitsImageUShort *) x));
54461}
54462static void *_p_GFitsImageDoubleTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54463 return (void *)((GBase *) (GFitsHDU *)(GFitsImage *) ((GFitsImageDouble *) x));
54464}
54465static void *_p_GFitsTableStringColTo_p_GBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54466 return (void *)((GBase *) (GFitsTableCol *) ((GFitsTableStringCol *) x));
54467}
54468static void *_p_GFitsImageLongLongTo_p_GFitsHDU(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54469 return (void *)((GFitsHDU *) (GFitsImage *) ((GFitsImageLongLong *) x));
54470}
54471static void *_p_GFitsBinTableTo_p_GFitsHDU(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54472 return (void *)((GFitsHDU *) (GFitsTable *) ((GFitsBinTable *) x));
54473}
54474static void *_p_GFitsImageShortTo_p_GFitsHDU(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54475 return (void *)((GFitsHDU *) (GFitsImage *) ((GFitsImageShort *) x));
54476}
54477static void *_p_GFitsImageULongTo_p_GFitsHDU(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54478 return (void *)((GFitsHDU *) (GFitsImage *) ((GFitsImageULong *) x));
54479}
54480static void *_p_GFitsImageByteTo_p_GFitsHDU(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54481 return (void *)((GFitsHDU *) (GFitsImage *) ((GFitsImageByte *) x));
54482}
54483static void *_p_GFitsImageSByteTo_p_GFitsHDU(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54484 return (void *)((GFitsHDU *) (GFitsImage *) ((GFitsImageSByte *) x));
54485}
54486static void *_p_GFitsImageFloatTo_p_GFitsHDU(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54487 return (void *)((GFitsHDU *) (GFitsImage *) ((GFitsImageFloat *) x));
54488}
54489static void *_p_GFitsImageDoubleTo_p_GFitsHDU(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54490 return (void *)((GFitsHDU *) (GFitsImage *) ((GFitsImageDouble *) x));
54491}
54492static void *_p_GFitsTableTo_p_GFitsHDU(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54493 return (void *)((GFitsHDU *) ((GFitsTable *) x));
54494}
54495static void *_p_GFitsAsciiTableTo_p_GFitsHDU(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54496 return (void *)((GFitsHDU *) (GFitsTable *) ((GFitsAsciiTable *) x));
54497}
54498static void *_p_GFitsImageTo_p_GFitsHDU(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54499 return (void *)((GFitsHDU *) ((GFitsImage *) x));
54500}
54501static void *_p_GFitsImageUShortTo_p_GFitsHDU(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54502 return (void *)((GFitsHDU *) (GFitsImage *) ((GFitsImageUShort *) x));
54503}
54504static void *_p_GFitsImageLongTo_p_GFitsHDU(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54505 return (void *)((GFitsHDU *) (GFitsImage *) ((GFitsImageLong *) x));
54506}
54507static void *_p_GFitsBinTableTo_p_GFitsTable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54508 return (void *)((GFitsTable *) ((GFitsBinTable *) x));
54509}
54510static void *_p_GFitsAsciiTableTo_p_GFitsTable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
54511 return (void *)((GFitsTable *) ((GFitsAsciiTable *) x));
54512}
54513static swig_type_info _swigt__p_GBase = {"_p_GBase", "GBase *", 0, 0, (void*)0, 0};
54514static swig_type_info _swigt__p_GContainer = {"_p_GContainer", "GContainer *", 0, 0, (void*)0, 0};
54515static swig_type_info _swigt__p_GFits = {"_p_GFits", "GFits *", 0, 0, (void*)0, 0};
54516static swig_type_info _swigt__p_GFitsAsciiTable = {"_p_GFitsAsciiTable", "GFitsAsciiTable *", 0, 0, (void*)0, 0};
54517static swig_type_info _swigt__p_GFitsBinTable = {"_p_GFitsBinTable", "GFitsBinTable *", 0, 0, (void*)0, 0};
54518static swig_type_info _swigt__p_GFitsHDU = {"_p_GFitsHDU", "GFitsHDU *", 0, 0, (void*)0, 0};
54519static swig_type_info _swigt__p_GFitsHeader = {"_p_GFitsHeader", "GFitsHeader *", 0, 0, (void*)0, 0};
54520static swig_type_info _swigt__p_GFitsHeaderCard = {"_p_GFitsHeaderCard", "GFitsHeaderCard *", 0, 0, (void*)0, 0};
54521static swig_type_info _swigt__p_GFitsImage = {"_p_GFitsImage", "GFitsImage *", 0, 0, (void*)0, 0};
54522static swig_type_info _swigt__p_GFitsImageByte = {"_p_GFitsImageByte", "GFitsImageByte *", 0, 0, (void*)0, 0};
54523static swig_type_info _swigt__p_GFitsImageDouble = {"_p_GFitsImageDouble", "GFitsImageDouble *", 0, 0, (void*)0, 0};
54524static swig_type_info _swigt__p_GFitsImageFloat = {"_p_GFitsImageFloat", "GFitsImageFloat *", 0, 0, (void*)0, 0};
54525static swig_type_info _swigt__p_GFitsImageLong = {"_p_GFitsImageLong", "GFitsImageLong *", 0, 0, (void*)0, 0};
54526static swig_type_info _swigt__p_GFitsImageLongLong = {"_p_GFitsImageLongLong", "GFitsImageLongLong *", 0, 0, (void*)0, 0};
54527static swig_type_info _swigt__p_GFitsImageSByte = {"_p_GFitsImageSByte", "GFitsImageSByte *", 0, 0, (void*)0, 0};
54528static swig_type_info _swigt__p_GFitsImageShort = {"_p_GFitsImageShort", "GFitsImageShort *", 0, 0, (void*)0, 0};
54529static swig_type_info _swigt__p_GFitsImageULong = {"_p_GFitsImageULong", "GFitsImageULong *", 0, 0, (void*)0, 0};
54530static swig_type_info _swigt__p_GFitsImageUShort = {"_p_GFitsImageUShort", "GFitsImageUShort *", 0, 0, (void*)0, 0};
54531static swig_type_info _swigt__p_GFitsTable = {"_p_GFitsTable", "GFitsTable *", 0, 0, (void*)0, 0};
54532static swig_type_info _swigt__p_GFitsTableBitCol = {"_p_GFitsTableBitCol", "GFitsTableBitCol *", 0, 0, (void*)0, 0};
54533static swig_type_info _swigt__p_GFitsTableBoolCol = {"_p_GFitsTableBoolCol", "GFitsTableBoolCol *", 0, 0, (void*)0, 0};
54534static swig_type_info _swigt__p_GFitsTableByteCol = {"_p_GFitsTableByteCol", "GFitsTableByteCol *", 0, 0, (void*)0, 0};
54535static swig_type_info _swigt__p_GFitsTableCDoubleCol = {"_p_GFitsTableCDoubleCol", "GFitsTableCDoubleCol *", 0, 0, (void*)0, 0};
54536static swig_type_info _swigt__p_GFitsTableCFloatCol = {"_p_GFitsTableCFloatCol", "GFitsTableCFloatCol *", 0, 0, (void*)0, 0};
54537static swig_type_info _swigt__p_GFitsTableCol = {"_p_GFitsTableCol", "GFitsTableCol *", 0, 0, (void*)0, 0};
54538static swig_type_info _swigt__p_GFitsTableDoubleCol = {"_p_GFitsTableDoubleCol", "GFitsTableDoubleCol *", 0, 0, (void*)0, 0};
54539static swig_type_info _swigt__p_GFitsTableFloatCol = {"_p_GFitsTableFloatCol", "GFitsTableFloatCol *", 0, 0, (void*)0, 0};
54540static swig_type_info _swigt__p_GFitsTableLongCol = {"_p_GFitsTableLongCol", "GFitsTableLongCol *", 0, 0, (void*)0, 0};
54541static swig_type_info _swigt__p_GFitsTableLongLongCol = {"_p_GFitsTableLongLongCol", "GFitsTableLongLongCol *", 0, 0, (void*)0, 0};
54542static swig_type_info _swigt__p_GFitsTableShortCol = {"_p_GFitsTableShortCol", "GFitsTableShortCol *", 0, 0, (void*)0, 0};
54543static swig_type_info _swigt__p_GFitsTableStringCol = {"_p_GFitsTableStringCol", "GFitsTableStringCol *", 0, 0, (void*)0, 0};
54544static swig_type_info _swigt__p_GFitsTableULongCol = {"_p_GFitsTableULongCol", "GFitsTableULongCol *", 0, 0, (void*)0, 0};
54545static swig_type_info _swigt__p_GFitsTableUShortCol = {"_p_GFitsTableUShortCol", "GFitsTableUShortCol *", 0, 0, (void*)0, 0};
54546static swig_type_info _swigt__p_GFits__cdouble = {"_p_GFits__cdouble", "GFits::cdouble *", 0, 0, (void*)0, 0};
54547static swig_type_info _swigt__p_GFits__cfloat = {"_p_GFits__cfloat", "GFits::cfloat *", 0, 0, (void*)0, 0};
54548static swig_type_info _swigt__p_allocator_type = {"_p_allocator_type", "allocator_type *", 0, 0, (void*)0, 0};
54549static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
54550static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
54551static swig_type_info _swigt__p_difference_type = {"_p_difference_type", "difference_type *", 0, 0, (void*)0, 0};
54552static swig_type_info _swigt__p_double = {"_p_double", "double *", 0, 0, (void*)0, 0};
54553static swig_type_info _swigt__p_float = {"_p_float", "float *", 0, 0, (void*)0, 0};
54554static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
54555static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, (void*)0, 0};
54556static swig_type_info _swigt__p_long_long = {"_p_long_long", "long long *", 0, 0, (void*)0, 0};
54557static swig_type_info _swigt__p_p_PyObject = {"_p_p_PyObject", "PyObject **", 0, 0, (void*)0, 0};
54558static swig_type_info _swigt__p_short = {"_p_short", "short *", 0, 0, (void*)0, 0};
54559static swig_type_info _swigt__p_size_type = {"_p_size_type", "size_type *", 0, 0, (void*)0, 0};
54560static swig_type_info _swigt__p_std__allocatorT_int_t = {"_p_std__allocatorT_int_t", "std::vector< int >::allocator_type *|std::allocator< int > *", 0, 0, (void*)0, 0};
54561static swig_type_info _swigt__p_std__invalid_argument = {"_p_std__invalid_argument", "std::invalid_argument *", 0, 0, (void*)0, 0};
54562static swig_type_info _swigt__p_std__string = {"_p_std__string", "std::string *", 0, 0, (void*)0, 0};
54563static 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};
54564static swig_type_info _swigt__p_std__vectorT_int_std__allocatorT_int_t_t = {"_p_std__vectorT_int_std__allocatorT_int_t_t", "std::vector< int,std::allocator< int > > *|std::vector< int > *", 0, 0, (void*)0, 0};
54565static swig_type_info _swigt__p_swig__SwigPyIterator = {"_p_swig__SwigPyIterator", "swig::SwigPyIterator *", 0, 0, (void*)0, 0};
54566static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *", 0, 0, (void*)0, 0};
54567static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *", 0, 0, (void*)0, 0};
54568static swig_type_info _swigt__p_unsigned_short = {"_p_unsigned_short", "unsigned short *", 0, 0, (void*)0, 0};
54569static swig_type_info _swigt__p_value_type = {"_p_value_type", "value_type *", 0, 0, (void*)0, 0};
54570static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0};
54571
54572static swig_type_info *swig_type_initial[] = {
54573 &_swigt__p_GBase,
54574 &_swigt__p_GContainer,
54575 &_swigt__p_GFits,
54576 &_swigt__p_GFitsAsciiTable,
54577 &_swigt__p_GFitsBinTable,
54578 &_swigt__p_GFitsHDU,
54579 &_swigt__p_GFitsHeader,
54580 &_swigt__p_GFitsHeaderCard,
54581 &_swigt__p_GFitsImage,
54582 &_swigt__p_GFitsImageByte,
54583 &_swigt__p_GFitsImageDouble,
54584 &_swigt__p_GFitsImageFloat,
54585 &_swigt__p_GFitsImageLong,
54586 &_swigt__p_GFitsImageLongLong,
54587 &_swigt__p_GFitsImageSByte,
54588 &_swigt__p_GFitsImageShort,
54589 &_swigt__p_GFitsImageULong,
54590 &_swigt__p_GFitsImageUShort,
54591 &_swigt__p_GFitsTable,
54592 &_swigt__p_GFitsTableBitCol,
54593 &_swigt__p_GFitsTableBoolCol,
54594 &_swigt__p_GFitsTableByteCol,
54595 &_swigt__p_GFitsTableCDoubleCol,
54596 &_swigt__p_GFitsTableCFloatCol,
54597 &_swigt__p_GFitsTableCol,
54598 &_swigt__p_GFitsTableDoubleCol,
54599 &_swigt__p_GFitsTableFloatCol,
54600 &_swigt__p_GFitsTableLongCol,
54601 &_swigt__p_GFitsTableLongLongCol,
54602 &_swigt__p_GFitsTableShortCol,
54603 &_swigt__p_GFitsTableStringCol,
54604 &_swigt__p_GFitsTableULongCol,
54605 &_swigt__p_GFitsTableUShortCol,
54606 &_swigt__p_GFits__cdouble,
54607 &_swigt__p_GFits__cfloat,
54608 &_swigt__p_allocator_type,
54609 &_swigt__p_bool,
54610 &_swigt__p_char,
54611 &_swigt__p_difference_type,
54612 &_swigt__p_double,
54613 &_swigt__p_float,
54614 &_swigt__p_int,
54615 &_swigt__p_long,
54616 &_swigt__p_long_long,
54617 &_swigt__p_p_PyObject,
54618 &_swigt__p_short,
54619 &_swigt__p_size_type,
54620 &_swigt__p_std__allocatorT_int_t,
54621 &_swigt__p_std__invalid_argument,
54622 &_swigt__p_std__string,
54623 &_swigt__p_std__vectorT__Tp__Alloc_t,
54624 &_swigt__p_std__vectorT_int_std__allocatorT_int_t_t,
54625 &_swigt__p_swig__SwigPyIterator,
54626 &_swigt__p_unsigned_char,
54627 &_swigt__p_unsigned_long,
54628 &_swigt__p_unsigned_short,
54629 &_swigt__p_value_type,
54630 &_swigt__p_void,
54631};
54632
54633static swig_cast_info _swigc__p_GBase[] = { {&_swigt__p_GFitsImage, _p_GFitsImageTo_p_GBase, 0, 0}, {&_swigt__p_GFitsImageULong, _p_GFitsImageULongTo_p_GBase, 0, 0}, {&_swigt__p_GFitsImageLongLong, _p_GFitsImageLongLongTo_p_GBase, 0, 0}, {&_swigt__p_GFitsImageFloat, _p_GFitsImageFloatTo_p_GBase, 0, 0}, {&_swigt__p_GFitsTableBoolCol, _p_GFitsTableBoolColTo_p_GBase, 0, 0}, {&_swigt__p_GFitsTableFloatCol, _p_GFitsTableFloatColTo_p_GBase, 0, 0}, {&_swigt__p_GFitsTableCFloatCol, _p_GFitsTableCFloatColTo_p_GBase, 0, 0}, {&_swigt__p_GFitsImageShort, _p_GFitsImageShortTo_p_GBase, 0, 0}, {&_swigt__p_GFitsTableBitCol, _p_GFitsTableBitColTo_p_GBase, 0, 0}, {&_swigt__p_GFitsTableShortCol, _p_GFitsTableShortColTo_p_GBase, 0, 0}, {&_swigt__p_GFitsTableUShortCol, _p_GFitsTableUShortColTo_p_GBase, 0, 0}, {&_swigt__p_GFitsImageLong, _p_GFitsImageLongTo_p_GBase, 0, 0}, {&_swigt__p_GFitsBinTable, _p_GFitsBinTableTo_p_GBase, 0, 0}, {&_swigt__p_GFits, _p_GFitsTo_p_GBase, 0, 0}, {&_swigt__p_GFitsImageSByte, _p_GFitsImageSByteTo_p_GBase, 0, 0}, {&_swigt__p_GFitsHeaderCard, _p_GFitsHeaderCardTo_p_GBase, 0, 0}, {&_swigt__p_GFitsTableCol, _p_GFitsTableColTo_p_GBase, 0, 0}, {&_swigt__p_GFitsTableCDoubleCol, _p_GFitsTableCDoubleColTo_p_GBase, 0, 0}, {&_swigt__p_GFitsTableDoubleCol, _p_GFitsTableDoubleColTo_p_GBase, 0, 0}, {&_swigt__p_GFitsTableByteCol, _p_GFitsTableByteColTo_p_GBase, 0, 0}, {&_swigt__p_GFitsHeader, _p_GFitsHeaderTo_p_GBase, 0, 0}, {&_swigt__p_GFitsImageByte, _p_GFitsImageByteTo_p_GBase, 0, 0}, {&_swigt__p_GBase, 0, 0, 0}, {&_swigt__p_GFitsTableLongLongCol, _p_GFitsTableLongLongColTo_p_GBase, 0, 0}, {&_swigt__p_GFitsTableLongCol, _p_GFitsTableLongColTo_p_GBase, 0, 0}, {&_swigt__p_GFitsTableULongCol, _p_GFitsTableULongColTo_p_GBase, 0, 0}, {&_swigt__p_GContainer, _p_GContainerTo_p_GBase, 0, 0}, {&_swigt__p_GFitsTable, _p_GFitsTableTo_p_GBase, 0, 0}, {&_swigt__p_GFitsAsciiTable, _p_GFitsAsciiTableTo_p_GBase, 0, 0}, {&_swigt__p_GFitsHDU, _p_GFitsHDUTo_p_GBase, 0, 0}, {&_swigt__p_GFitsImageUShort, _p_GFitsImageUShortTo_p_GBase, 0, 0}, {&_swigt__p_GFitsImageDouble, _p_GFitsImageDoubleTo_p_GBase, 0, 0}, {&_swigt__p_GFitsTableStringCol, _p_GFitsTableStringColTo_p_GBase, 0, 0},{0, 0, 0, 0}};
54634static swig_cast_info _swigc__p_GContainer[] = { {&_swigt__p_GFits, _p_GFitsTo_p_GContainer, 0, 0}, {&_swigt__p_GContainer, 0, 0, 0},{0, 0, 0, 0}};
54635static swig_cast_info _swigc__p_GFits[] = { {&_swigt__p_GFits, 0, 0, 0},{0, 0, 0, 0}};
54636static swig_cast_info _swigc__p_GFitsAsciiTable[] = { {&_swigt__p_GFitsAsciiTable, 0, 0, 0},{0, 0, 0, 0}};
54637static swig_cast_info _swigc__p_GFitsBinTable[] = { {&_swigt__p_GFitsBinTable, 0, 0, 0},{0, 0, 0, 0}};
54638static swig_cast_info _swigc__p_GFitsHDU[] = { {&_swigt__p_GFitsImage, _p_GFitsImageTo_p_GFitsHDU, 0, 0}, {&_swigt__p_GFitsImageULong, _p_GFitsImageULongTo_p_GFitsHDU, 0, 0}, {&_swigt__p_GFitsImageLongLong, _p_GFitsImageLongLongTo_p_GFitsHDU, 0, 0}, {&_swigt__p_GFitsImageFloat, _p_GFitsImageFloatTo_p_GFitsHDU, 0, 0}, {&_swigt__p_GFitsImageShort, _p_GFitsImageShortTo_p_GFitsHDU, 0, 0}, {&_swigt__p_GFitsImageLong, _p_GFitsImageLongTo_p_GFitsHDU, 0, 0}, {&_swigt__p_GFitsBinTable, _p_GFitsBinTableTo_p_GFitsHDU, 0, 0}, {&_swigt__p_GFitsImageSByte, _p_GFitsImageSByteTo_p_GFitsHDU, 0, 0}, {&_swigt__p_GFitsImageByte, _p_GFitsImageByteTo_p_GFitsHDU, 0, 0}, {&_swigt__p_GFitsTable, _p_GFitsTableTo_p_GFitsHDU, 0, 0}, {&_swigt__p_GFitsAsciiTable, _p_GFitsAsciiTableTo_p_GFitsHDU, 0, 0}, {&_swigt__p_GFitsHDU, 0, 0, 0}, {&_swigt__p_GFitsImageUShort, _p_GFitsImageUShortTo_p_GFitsHDU, 0, 0}, {&_swigt__p_GFitsImageDouble, _p_GFitsImageDoubleTo_p_GFitsHDU, 0, 0},{0, 0, 0, 0}};
54639static swig_cast_info _swigc__p_GFitsHeader[] = { {&_swigt__p_GFitsHeader, 0, 0, 0},{0, 0, 0, 0}};
54640static swig_cast_info _swigc__p_GFitsHeaderCard[] = { {&_swigt__p_GFitsHeaderCard, 0, 0, 0},{0, 0, 0, 0}};
54641static swig_cast_info _swigc__p_GFitsImage[] = { {&_swigt__p_GFitsImageLongLong, _p_GFitsImageLongLongTo_p_GFitsImage, 0, 0}, {&_swigt__p_GFitsImageShort, _p_GFitsImageShortTo_p_GFitsImage, 0, 0}, {&_swigt__p_GFitsImageULong, _p_GFitsImageULongTo_p_GFitsImage, 0, 0}, {&_swigt__p_GFitsImageByte, _p_GFitsImageByteTo_p_GFitsImage, 0, 0}, {&_swigt__p_GFitsImageSByte, _p_GFitsImageSByteTo_p_GFitsImage, 0, 0}, {&_swigt__p_GFitsImageFloat, _p_GFitsImageFloatTo_p_GFitsImage, 0, 0}, {&_swigt__p_GFitsImageDouble, _p_GFitsImageDoubleTo_p_GFitsImage, 0, 0}, {&_swigt__p_GFitsImage, 0, 0, 0}, {&_swigt__p_GFitsImageUShort, _p_GFitsImageUShortTo_p_GFitsImage, 0, 0}, {&_swigt__p_GFitsImageLong, _p_GFitsImageLongTo_p_GFitsImage, 0, 0},{0, 0, 0, 0}};
54642static swig_cast_info _swigc__p_GFitsImageByte[] = { {&_swigt__p_GFitsImageByte, 0, 0, 0},{0, 0, 0, 0}};
54643static swig_cast_info _swigc__p_GFitsImageDouble[] = { {&_swigt__p_GFitsImageDouble, 0, 0, 0},{0, 0, 0, 0}};
54644static swig_cast_info _swigc__p_GFitsImageFloat[] = { {&_swigt__p_GFitsImageFloat, 0, 0, 0},{0, 0, 0, 0}};
54645static swig_cast_info _swigc__p_GFitsImageLong[] = { {&_swigt__p_GFitsImageLong, 0, 0, 0},{0, 0, 0, 0}};
54646static swig_cast_info _swigc__p_GFitsImageLongLong[] = { {&_swigt__p_GFitsImageLongLong, 0, 0, 0},{0, 0, 0, 0}};
54647static swig_cast_info _swigc__p_GFitsImageSByte[] = { {&_swigt__p_GFitsImageSByte, 0, 0, 0},{0, 0, 0, 0}};
54648static swig_cast_info _swigc__p_GFitsImageShort[] = { {&_swigt__p_GFitsImageShort, 0, 0, 0},{0, 0, 0, 0}};
54649static swig_cast_info _swigc__p_GFitsImageULong[] = { {&_swigt__p_GFitsImageULong, 0, 0, 0},{0, 0, 0, 0}};
54650static swig_cast_info _swigc__p_GFitsImageUShort[] = { {&_swigt__p_GFitsImageUShort, 0, 0, 0},{0, 0, 0, 0}};
54651static swig_cast_info _swigc__p_GFitsTable[] = { {&_swigt__p_GFitsBinTable, _p_GFitsBinTableTo_p_GFitsTable, 0, 0}, {&_swigt__p_GFitsTable, 0, 0, 0}, {&_swigt__p_GFitsAsciiTable, _p_GFitsAsciiTableTo_p_GFitsTable, 0, 0},{0, 0, 0, 0}};
54652static swig_cast_info _swigc__p_GFitsTableBitCol[] = { {&_swigt__p_GFitsTableBitCol, 0, 0, 0},{0, 0, 0, 0}};
54653static swig_cast_info _swigc__p_GFitsTableBoolCol[] = { {&_swigt__p_GFitsTableBoolCol, 0, 0, 0},{0, 0, 0, 0}};
54654static swig_cast_info _swigc__p_GFitsTableByteCol[] = { {&_swigt__p_GFitsTableByteCol, 0, 0, 0},{0, 0, 0, 0}};
54655static swig_cast_info _swigc__p_GFitsTableCDoubleCol[] = { {&_swigt__p_GFitsTableCDoubleCol, 0, 0, 0},{0, 0, 0, 0}};
54656static swig_cast_info _swigc__p_GFitsTableCFloatCol[] = { {&_swigt__p_GFitsTableCFloatCol, 0, 0, 0},{0, 0, 0, 0}};
54657static swig_cast_info _swigc__p_GFitsTableCol[] = { {&_swigt__p_GFitsTableBoolCol, _p_GFitsTableBoolColTo_p_GFitsTableCol, 0, 0}, {&_swigt__p_GFitsTableFloatCol, _p_GFitsTableFloatColTo_p_GFitsTableCol, 0, 0}, {&_swigt__p_GFitsTableCFloatCol, _p_GFitsTableCFloatColTo_p_GFitsTableCol, 0, 0}, {&_swigt__p_GFitsTableBitCol, _p_GFitsTableBitColTo_p_GFitsTableCol, 0, 0}, {&_swigt__p_GFitsTableUShortCol, _p_GFitsTableUShortColTo_p_GFitsTableCol, 0, 0}, {&_swigt__p_GFitsTableShortCol, _p_GFitsTableShortColTo_p_GFitsTableCol, 0, 0}, {&_swigt__p_GFitsTableDoubleCol, _p_GFitsTableDoubleColTo_p_GFitsTableCol, 0, 0}, {&_swigt__p_GFitsTableCDoubleCol, _p_GFitsTableCDoubleColTo_p_GFitsTableCol, 0, 0}, {&_swigt__p_GFitsTableCol, 0, 0, 0}, {&_swigt__p_GFitsTableByteCol, _p_GFitsTableByteColTo_p_GFitsTableCol, 0, 0}, {&_swigt__p_GFitsTableULongCol, _p_GFitsTableULongColTo_p_GFitsTableCol, 0, 0}, {&_swigt__p_GFitsTableLongCol, _p_GFitsTableLongColTo_p_GFitsTableCol, 0, 0}, {&_swigt__p_GFitsTableLongLongCol, _p_GFitsTableLongLongColTo_p_GFitsTableCol, 0, 0}, {&_swigt__p_GFitsTableStringCol, _p_GFitsTableStringColTo_p_GFitsTableCol, 0, 0},{0, 0, 0, 0}};
54658static swig_cast_info _swigc__p_GFitsTableDoubleCol[] = { {&_swigt__p_GFitsTableDoubleCol, 0, 0, 0},{0, 0, 0, 0}};
54659static swig_cast_info _swigc__p_GFitsTableFloatCol[] = { {&_swigt__p_GFitsTableFloatCol, 0, 0, 0},{0, 0, 0, 0}};
54660static swig_cast_info _swigc__p_GFitsTableLongCol[] = { {&_swigt__p_GFitsTableLongCol, 0, 0, 0},{0, 0, 0, 0}};
54661static swig_cast_info _swigc__p_GFitsTableLongLongCol[] = { {&_swigt__p_GFitsTableLongLongCol, 0, 0, 0},{0, 0, 0, 0}};
54662static swig_cast_info _swigc__p_GFitsTableShortCol[] = { {&_swigt__p_GFitsTableShortCol, 0, 0, 0},{0, 0, 0, 0}};
54663static swig_cast_info _swigc__p_GFitsTableStringCol[] = { {&_swigt__p_GFitsTableStringCol, 0, 0, 0},{0, 0, 0, 0}};
54664static swig_cast_info _swigc__p_GFitsTableULongCol[] = { {&_swigt__p_GFitsTableULongCol, 0, 0, 0},{0, 0, 0, 0}};
54665static swig_cast_info _swigc__p_GFitsTableUShortCol[] = { {&_swigt__p_GFitsTableUShortCol, 0, 0, 0},{0, 0, 0, 0}};
54666static swig_cast_info _swigc__p_GFits__cdouble[] = { {&_swigt__p_GFits__cdouble, 0, 0, 0},{0, 0, 0, 0}};
54667static swig_cast_info _swigc__p_GFits__cfloat[] = { {&_swigt__p_GFits__cfloat, 0, 0, 0},{0, 0, 0, 0}};
54668static swig_cast_info _swigc__p_allocator_type[] = { {&_swigt__p_allocator_type, 0, 0, 0},{0, 0, 0, 0}};
54669static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
54670static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
54671static swig_cast_info _swigc__p_difference_type[] = { {&_swigt__p_difference_type, 0, 0, 0},{0, 0, 0, 0}};
54672static swig_cast_info _swigc__p_double[] = { {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}};
54673static swig_cast_info _swigc__p_float[] = { {&_swigt__p_float, 0, 0, 0},{0, 0, 0, 0}};
54674static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
54675static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
54676static swig_cast_info _swigc__p_long_long[] = { {&_swigt__p_long_long, 0, 0, 0},{0, 0, 0, 0}};
54677static swig_cast_info _swigc__p_p_PyObject[] = { {&_swigt__p_p_PyObject, 0, 0, 0},{0, 0, 0, 0}};
54678static swig_cast_info _swigc__p_short[] = { {&_swigt__p_short, 0, 0, 0},{0, 0, 0, 0}};
54679static swig_cast_info _swigc__p_size_type[] = { {&_swigt__p_size_type, 0, 0, 0},{0, 0, 0, 0}};
54680static swig_cast_info _swigc__p_std__allocatorT_int_t[] = { {&_swigt__p_std__allocatorT_int_t, 0, 0, 0},{0, 0, 0, 0}};
54681static swig_cast_info _swigc__p_std__invalid_argument[] = { {&_swigt__p_std__invalid_argument, 0, 0, 0},{0, 0, 0, 0}};
54682static swig_cast_info _swigc__p_std__string[] = { {&_swigt__p_std__string, 0, 0, 0},{0, 0, 0, 0}};
54683static swig_cast_info _swigc__p_std__vectorT__Tp__Alloc_t[] = { {&_swigt__p_std__vectorT__Tp__Alloc_t, 0, 0, 0},{0, 0, 0, 0}};
54684static swig_cast_info _swigc__p_std__vectorT_int_std__allocatorT_int_t_t[] = { {&_swigt__p_std__vectorT_int_std__allocatorT_int_t_t, 0, 0, 0},{0, 0, 0, 0}};
54685static swig_cast_info _swigc__p_swig__SwigPyIterator[] = { {&_swigt__p_swig__SwigPyIterator, 0, 0, 0},{0, 0, 0, 0}};
54686static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
54687static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
54688static swig_cast_info _swigc__p_unsigned_short[] = { {&_swigt__p_unsigned_short, 0, 0, 0},{0, 0, 0, 0}};
54689static swig_cast_info _swigc__p_value_type[] = { {&_swigt__p_value_type, 0, 0, 0},{0, 0, 0, 0}};
54690static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
54691
54692static swig_cast_info *swig_cast_initial[] = {
54693 _swigc__p_GBase,
54694 _swigc__p_GContainer,
54695 _swigc__p_GFits,
54696 _swigc__p_GFitsAsciiTable,
54697 _swigc__p_GFitsBinTable,
54698 _swigc__p_GFitsHDU,
54699 _swigc__p_GFitsHeader,
54700 _swigc__p_GFitsHeaderCard,
54701 _swigc__p_GFitsImage,
54702 _swigc__p_GFitsImageByte,
54703 _swigc__p_GFitsImageDouble,
54704 _swigc__p_GFitsImageFloat,
54705 _swigc__p_GFitsImageLong,
54706 _swigc__p_GFitsImageLongLong,
54707 _swigc__p_GFitsImageSByte,
54708 _swigc__p_GFitsImageShort,
54709 _swigc__p_GFitsImageULong,
54710 _swigc__p_GFitsImageUShort,
54711 _swigc__p_GFitsTable,
54712 _swigc__p_GFitsTableBitCol,
54713 _swigc__p_GFitsTableBoolCol,
54714 _swigc__p_GFitsTableByteCol,
54715 _swigc__p_GFitsTableCDoubleCol,
54716 _swigc__p_GFitsTableCFloatCol,
54717 _swigc__p_GFitsTableCol,
54718 _swigc__p_GFitsTableDoubleCol,
54719 _swigc__p_GFitsTableFloatCol,
54720 _swigc__p_GFitsTableLongCol,
54721 _swigc__p_GFitsTableLongLongCol,
54722 _swigc__p_GFitsTableShortCol,
54723 _swigc__p_GFitsTableStringCol,
54724 _swigc__p_GFitsTableULongCol,
54725 _swigc__p_GFitsTableUShortCol,
54726 _swigc__p_GFits__cdouble,
54727 _swigc__p_GFits__cfloat,
54728 _swigc__p_allocator_type,
54729 _swigc__p_bool,
54730 _swigc__p_char,
54731 _swigc__p_difference_type,
54732 _swigc__p_double,
54733 _swigc__p_float,
54734 _swigc__p_int,
54735 _swigc__p_long,
54736 _swigc__p_long_long,
54737 _swigc__p_p_PyObject,
54738 _swigc__p_short,
54739 _swigc__p_size_type,
54740 _swigc__p_std__allocatorT_int_t,
54741 _swigc__p_std__invalid_argument,
54742 _swigc__p_std__string,
54743 _swigc__p_std__vectorT__Tp__Alloc_t,
54744 _swigc__p_std__vectorT_int_std__allocatorT_int_t_t,
54745 _swigc__p_swig__SwigPyIterator,
54746 _swigc__p_unsigned_char,
54747 _swigc__p_unsigned_long,
54748 _swigc__p_unsigned_short,
54749 _swigc__p_value_type,
54750 _swigc__p_void,
54751};
54752
54753
54754/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
54755
54756static swig_const_info swig_const_table[] = {
54757{0, 0, 0, 0.0, 0, 0}};
54758
54759#ifdef __cplusplus199711L
54760}
54761#endif
54762/* -----------------------------------------------------------------------------
54763 * Type initialization:
54764 * This problem is tough by the requirement that no dynamic
54765 * memory is used. Also, since swig_type_info structures store pointers to
54766 * swig_cast_info structures and swig_cast_info structures store pointers back
54767 * to swig_type_info structures, we need some lookup code at initialization.
54768 * The idea is that swig generates all the structures that are needed.
54769 * The runtime then collects these partially filled structures.
54770 * The SWIG_InitializeModule function takes these initial arrays out of
54771 * swig_module, and does all the lookup, filling in the swig_module.types
54772 * array with the correct data and linking the correct swig_cast_info
54773 * structures together.
54774 *
54775 * The generated swig_type_info structures are assigned staticly to an initial
54776 * array. We just loop through that array, and handle each type individually.
54777 * First we lookup if this type has been already loaded, and if so, use the
54778 * loaded structure instead of the generated one. Then we have to fill in the
54779 * cast linked list. The cast data is initially stored in something like a
54780 * two-dimensional array. Each row corresponds to a type (there are the same
54781 * number of rows as there are in the swig_type_initial array). Each entry in
54782 * a column is one of the swig_cast_info structures for that type.
54783 * The cast_initial array is actually an array of arrays, because each row has
54784 * a variable number of columns. So to actually build the cast linked list,
54785 * we find the array of casts associated with the type, and loop through it
54786 * adding the casts to the list. The one last trick we need to do is making
54787 * sure the type pointer in the swig_cast_info struct is correct.
54788 *
54789 * First off, we lookup the cast->type name to see if it is already loaded.
54790 * There are three cases to handle:
54791 * 1) If the cast->type has already been loaded AND the type we are adding
54792 * casting info to has not been loaded (it is in this module), THEN we
54793 * replace the cast->type pointer with the type pointer that has already
54794 * been loaded.
54795 * 2) If BOTH types (the one we are adding casting info to, and the
54796 * cast->type) are loaded, THEN the cast info has already been loaded by
54797 * the previous module so we just ignore it.
54798 * 3) Finally, if cast->type has not already been loaded, then we add that
54799 * swig_cast_info to the linked list (because the cast->type) pointer will
54800 * be correct.
54801 * ----------------------------------------------------------------------------- */
54802
54803#ifdef __cplusplus199711L
54804extern "C" {
54805#if 0
54806} /* c-mode */
54807#endif
54808#endif
54809
54810#if 0
54811#define SWIGRUNTIME_DEBUG
54812#endif
54813
54814
54815SWIGRUNTIMEstatic __attribute__ ((__unused__)) void
54816SWIG_InitializeModule(void *clientdata) {
54817 size_t i;
54818 swig_module_info *module_head, *iter;
54819 int found, init;
54820
54821 /* check to see if the circular list has been setup, if not, set it up */
54822 if (swig_module.next==0) {
54823 /* Initialize the swig_module */
54824 swig_module.type_initial = swig_type_initial;
54825 swig_module.cast_initial = swig_cast_initial;
54826 swig_module.next = &swig_module;
54827 init = 1;
54828 } else {
54829 init = 0;
54830 }
54831
54832 /* Try and load any already created modules */
54833 module_head = SWIG_GetModule(clientdata)SWIG_Python_GetModule(clientdata);
54834 if (!module_head) {
54835 /* This is the first module loaded for this interpreter */
54836 /* so set the swig module into the interpreter */
54837 SWIG_SetModule(clientdata, &swig_module)SWIG_Python_SetModule(&swig_module);
54838 module_head = &swig_module;
Value stored to 'module_head' is never read
54839 } else {
54840 /* the interpreter has loaded a SWIG module, but has it loaded this one? */
54841 found=0;
54842 iter=module_head;
54843 do {
54844 if (iter==&swig_module) {
54845 found=1;
54846 break;
54847 }
54848 iter=iter->next;
54849 } while (iter!= module_head);
54850
54851 /* if the is found in the list, then all is done and we may leave */
54852 if (found) return;
54853 /* otherwise we must add out module into the list */
54854 swig_module.next = module_head->next;
54855 module_head->next = &swig_module;
54856 }
54857
54858 /* When multiple interpreters are used, a module could have already been initialized in
54859 a different interpreter, but not yet have a pointer in this interpreter.
54860 In this case, we do not want to continue adding types... everything should be
54861 set up already */
54862 if (init == 0) return;
54863
54864 /* Now work on filling in swig_module.types */
54865#ifdef SWIGRUNTIME_DEBUG
54866 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
54867#endif
54868 for (i = 0; i < swig_module.size; ++i) {
54869 swig_type_info *type = 0;
54870 swig_type_info *ret;
54871 swig_cast_info *cast;
54872
54873#ifdef SWIGRUNTIME_DEBUG
54874 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
54875#endif
54876
54877 /* if there is another module already loaded */
54878 if (swig_module.next != &swig_module) {
54879 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
54880 }
54881 if (type) {
54882 /* Overwrite clientdata field */
54883#ifdef SWIGRUNTIME_DEBUG
54884 printf("SWIG_InitializeModule: found type %s\n", type->name);
54885#endif
54886 if (swig_module.type_initial[i]->clientdata) {
54887 type->clientdata = swig_module.type_initial[i]->clientdata;
54888#ifdef SWIGRUNTIME_DEBUG
54889 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
54890#endif
54891 }
54892 } else {
54893 type = swig_module.type_initial[i];
54894 }
54895
54896 /* Insert casting types */
54897 cast = swig_module.cast_initial[i];
54898 while (cast->type) {
54899 /* Don't need to add information already in the list */
54900 ret = 0;
54901#ifdef SWIGRUNTIME_DEBUG
54902 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
54903#endif
54904 if (swig_module.next != &swig_module) {
54905 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
54906#ifdef SWIGRUNTIME_DEBUG
54907 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
54908#endif
54909 }
54910 if (ret) {
54911 if (type == swig_module.type_initial[i]) {
54912#ifdef SWIGRUNTIME_DEBUG
54913 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
54914#endif
54915 cast->type = ret;
54916 ret = 0;
54917 } else {
54918 /* Check for casting already in the list */
54919 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
54920#ifdef SWIGRUNTIME_DEBUG
54921 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
54922#endif
54923 if (!ocast) ret = 0;
54924 }
54925 }
54926
54927 if (!ret) {
54928#ifdef SWIGRUNTIME_DEBUG
54929 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
54930#endif
54931 if (type->cast) {
54932 type->cast->prev = cast;
54933 cast->next = type->cast;
54934 }
54935 type->cast = cast;
54936 }
54937 cast++;
54938 }
54939 /* Set entry in modules->types array equal to the type */
54940 swig_module.types[i] = type;
54941 }
54942 swig_module.types[i] = 0;
54943
54944#ifdef SWIGRUNTIME_DEBUG
54945 printf("**** SWIG_InitializeModule: Cast List ******\n");
54946 for (i = 0; i < swig_module.size; ++i) {
54947 int j = 0;
54948 swig_cast_info *cast = swig_module.cast_initial[i];
54949 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
54950 while (cast->type) {
54951 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
54952 cast++;
54953 ++j;
54954 }
54955 printf("---- Total casts: %d\n",j);
54956 }
54957 printf("**** SWIG_InitializeModule: Cast List ******\n");
54958#endif
54959}
54960
54961/* This function will propagate the clientdata field of type to
54962* any new swig_type_info structures that have been added into the list
54963* of equivalent types. It is like calling
54964* SWIG_TypeClientData(type, clientdata) a second time.
54965*/
54966SWIGRUNTIMEstatic __attribute__ ((__unused__)) void
54967SWIG_PropagateClientData(void) {
54968 size_t i;
54969 swig_cast_info *equiv;
54970 static int init_run = 0;
54971
54972 if (init_run) return;
54973 init_run = 1;
54974
54975 for (i = 0; i < swig_module.size; i++) {
54976 if (swig_module.types[i]->clientdata) {
54977 equiv = swig_module.types[i]->cast;
54978 while (equiv) {
54979 if (!equiv->converter) {
54980 if (equiv->type && !equiv->type->clientdata)
54981 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
54982 }
54983 equiv = equiv->next;
54984 }
54985 }
54986 }
54987}
54988
54989#ifdef __cplusplus199711L
54990#if 0
54991{
54992 /* c-mode */
54993#endif
54994}
54995#endif
54996
54997
54998
54999#ifdef __cplusplus199711L
55000extern "C" {
55001#endif
55002
55003 /* Python-specific SWIG API */
55004#define SWIG_newvarlink()SWIG_Python_newvarlink() SWIG_Python_newvarlink()
55005#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)
55006#define SWIG_InstallConstants(d, constants)SWIG_Python_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
55007
55008 /* -----------------------------------------------------------------------------
55009 * global variable support code.
55010 * ----------------------------------------------------------------------------- */
55011
55012 typedef struct swig_globalvar {
55013 char *name; /* Name of global variable */
55014 PyObject *(*get_attr)(void); /* Return the current value */
55015 int (*set_attr)(PyObject *); /* Set the value */
55016 struct swig_globalvar *next;
55017 } swig_globalvar;
55018
55019 typedef struct swig_varlinkobject {
55020 PyObject_HEADPy_ssize_t ob_refcnt; struct _typeobject *ob_type;
55021 swig_globalvar *vars;
55022 } swig_varlinkobject;
55023
55024 SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *
55025 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
55026#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x03000000
55027 return PyUnicode_InternFromString("<Swig global variables>");
55028#else
55029 return PyString_FromString("<Swig global variables>");
55030#endif
55031 }
55032
55033 SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *
55034 swig_varlink_str(swig_varlinkobject *v) {
55035#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x03000000
55036 PyObject *str = PyUnicode_InternFromString("(");
55037 PyObject *tail;
55038 PyObject *joined;
55039 swig_globalvar *var;
55040 for (var = v->vars; var; var=var->next) {
55041 tail = PyUnicode_FromStringPyUnicodeUCS2_FromString(var->name);
55042 joined = PyUnicode_ConcatPyUnicodeUCS2_Concat(str, tail);
55043 Py_DecRef(str);
55044 Py_DecRef(tail);
55045 str = joined;
55046 if (var->next) {
55047 tail = PyUnicode_InternFromString(", ");
55048 joined = PyUnicode_ConcatPyUnicodeUCS2_Concat(str, tail);
55049 Py_DecRef(str);
55050 Py_DecRef(tail);
55051 str = joined;
55052 }
55053 }
55054 tail = PyUnicode_InternFromString(")");
55055 joined = PyUnicode_ConcatPyUnicodeUCS2_Concat(str, tail);
55056 Py_DecRef(str);
55057 Py_DecRef(tail);
55058 str = joined;
55059#else
55060 PyObject *str = PyString_FromString("(");
55061 swig_globalvar *var;
55062 for (var = v->vars; var; var=var->next) {
55063 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
55064 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
55065 }
55066 PyString_ConcatAndDel(&str,PyString_FromString(")"));
55067#endif
55068 return str;
55069 }
55070
55071 SWIGINTERNstatic __attribute__ ((__unused__)) int
55072 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
55073 char *tmp;
55074 PyObject *str = swig_varlink_str(v);
55075 fprintf(fp,"Swig global variables ");
55076 fprintf(fp,"%s\n", tmp = SWIG_Python_str_AsChar(str));
55077 SWIG_Python_str_DelForPy3(tmp);
55078 Py_DECREF(str)do { if ( --((PyObject*)(str))->ob_refcnt != 0) ; else ( (
*(((PyObject*)((PyObject *)(str)))->ob_type)->tp_dealloc
)((PyObject *)((PyObject *)(str)))); } while (0)
;
55079 return 0;
55080 }
55081
55082 SWIGINTERNstatic __attribute__ ((__unused__)) void
55083 swig_varlink_dealloc(swig_varlinkobject *v) {
55084 swig_globalvar *var = v->vars;
55085 while (var) {
55086 swig_globalvar *n = var->next;
55087 free(var->name);
55088 free(var);
55089 var = n;
55090 }
55091 }
55092
55093 SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *
55094 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
55095 PyObject *res = NULL__null;
55096 swig_globalvar *var = v->vars;
55097 while (var) {
55098 if (strcmp(var->name,n) == 0) {
55099 res = (*var->get_attr)();
55100 break;
55101 }
55102 var = var->next;
55103 }
55104 if (res == NULL__null && !PyErr_Occurred()) {
55105 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
55106 }
55107 return res;
55108 }
55109
55110 SWIGINTERNstatic __attribute__ ((__unused__)) int
55111 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
55112 int res = 1;
55113 swig_globalvar *var = v->vars;
55114 while (var) {
55115 if (strcmp(var->name,n) == 0) {
55116 res = (*var->set_attr)(p);
55117 break;
55118 }
55119 var = var->next;
55120 }
55121 if (res == 1 && !PyErr_Occurred()) {
55122 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
55123 }
55124 return res;
55125 }
55126
55127 SWIGINTERNstatic __attribute__ ((__unused__)) PyTypeObject*
55128 swig_varlink_type(void) {
55129 static char varlink__doc__[] = "Swig var link object";
55130 static PyTypeObject varlink_type;
55131 static int type_init = 0;
55132 if (!type_init) {
55133 const PyTypeObject tmp = {
55134 /* PyObject header changed in Python 3 */
55135#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x03000000
55136 PyVarObject_HEAD_INIT(NULL, 0)1, __null, 0,
55137#else
55138 PyObject_HEAD_INIT(NULL)1, __null,
55139 0, /* ob_size */
55140#endif
55141 (char *)"swigvarlink", /* tp_name */
55142 sizeof(swig_varlinkobject), /* tp_basicsize */
55143 0, /* tp_itemsize */
55144 (destructor) swig_varlink_dealloc, /* tp_dealloc */
55145 (printfunc) swig_varlink_print, /* tp_print */
55146 (getattrfunc) swig_varlink_getattr, /* tp_getattr */
55147 (setattrfunc) swig_varlink_setattr, /* tp_setattr */
55148 0, /* tp_compare */
55149 (reprfunc) swig_varlink_repr, /* tp_repr */
55150 0, /* tp_as_number */
55151 0, /* tp_as_sequence */
55152 0, /* tp_as_mapping */
55153 0, /* tp_hash */
55154 0, /* tp_call */
55155 (reprfunc) swig_varlink_str, /* tp_str */
55156 0, /* tp_getattro */
55157 0, /* tp_setattro */
55158 0, /* tp_as_buffer */
55159 0, /* tp_flags */
55160 varlink__doc__, /* tp_doc */
55161 0, /* tp_traverse */
55162 0, /* tp_clear */
55163 0, /* tp_richcompare */
55164 0, /* tp_weaklistoffset */
55165#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x02020000
55166 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
55167#endif
55168#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x02030000
55169 0, /* tp_del */
55170#endif
55171#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x02060000
55172 0, /* tp_version */
55173#endif
55174#ifdef COUNT_ALLOCS
55175 0,0,0,0 /* tp_alloc -> tp_next */
55176#endif
55177 };
55178 varlink_type = tmp;
55179 type_init = 1;
55180#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
< 0x02020000
55181 varlink_type.ob_type = &PyType_Type;
55182#else
55183 if (PyType_Ready(&varlink_type) < 0)
55184 return NULL__null;
55185#endif
55186 }
55187 return &varlink_type;
55188 }
55189
55190 /* Create a variable linking object for use later */
55191 SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *
55192 SWIG_Python_newvarlink(void) {
55193 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
())) )
;
55194 if (result) {
55195 result->vars = 0;
55196 }
55197 return ((PyObject*) result);
55198 }
55199
55200 SWIGINTERNstatic __attribute__ ((__unused__)) void
55201 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
55202 swig_varlinkobject *v = (swig_varlinkobject *) p;
55203 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
55204 if (gv) {
55205 size_t size = strlen(name)+1;
55206 gv->name = (char *)malloc(size);
55207 if (gv->name) {
55208 strncpy(gv->name,name,size);
55209 gv->get_attr = get_attr;
55210 gv->set_attr = set_attr;
55211 gv->next = v->vars;
55212 }
55213 }
55214 v->vars = gv;
55215 }
55216
55217 SWIGINTERNstatic __attribute__ ((__unused__)) PyObject *
55218 SWIG_globals(void) {
55219 static PyObject *_SWIG_globals = 0;
55220 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink()SWIG_Python_newvarlink();
55221 return _SWIG_globals;
55222 }
55223
55224 /* -----------------------------------------------------------------------------
55225 * constants/methods manipulation
55226 * ----------------------------------------------------------------------------- */
55227
55228 /* Install Constants */
55229 SWIGINTERNstatic __attribute__ ((__unused__)) void
55230 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
55231 PyObject *obj = 0;
55232 size_t i;
55233 for (i = 0; constants[i].type; ++i) {
55234 switch(constants[i].type) {
55235 case SWIG_PY_POINTER4:
55236 obj = SWIG_InternalNewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0)SWIG_Python_NewPointerObj(__null, constants[i].pvalue, *(constants
[i]).ptype, 0)
;
55237 break;
55238 case SWIG_PY_BINARY5:
55239 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype))SWIG_Python_NewPackedObj(constants[i].pvalue, constants[i].lvalue
, *(constants[i].ptype))
;
55240 break;
55241 default:
55242 obj = 0;
55243 break;
55244 }
55245 if (obj) {
55246 PyDict_SetItemString(d, constants[i].name, obj);
55247 Py_DECREF(obj)do { if ( --((PyObject*)(obj))->ob_refcnt != 0) ; else ( (
*(((PyObject*)((PyObject *)(obj)))->ob_type)->tp_dealloc
)((PyObject *)((PyObject *)(obj)))); } while (0)
;
55248 }
55249 }
55250 }
55251
55252 /* -----------------------------------------------------------------------------*/
55253 /* Fix SwigMethods to carry the callback ptrs when needed */
55254 /* -----------------------------------------------------------------------------*/
55255
55256 SWIGINTERNstatic __attribute__ ((__unused__)) void
55257 SWIG_Python_FixMethods(PyMethodDef *methods,
55258 swig_const_info *const_table,
55259 swig_type_info **types,
55260 swig_type_info **types_initial) {
55261 size_t i;
55262 for (i = 0; methods[i].ml_name; ++i) {
55263 const char *c = methods[i].ml_doc;
55264 if (c && (c = strstr(c, "swig_ptr: "))) {
55265 int j;
55266 swig_const_info *ci = 0;
55267 const char *name = c + 10;
55268 for (j = 0; const_table[j].type; ++j) {
55269 if (strncmp(const_table[j].name, name,
55270 strlen(const_table[j].name)) == 0) {
55271 ci = &(const_table[j]);
55272 break;
55273 }
55274 }
55275 if (ci) {
55276 void *ptr = (ci->type == SWIG_PY_POINTER4) ? ci->pvalue : 0;
55277 if (ptr) {
55278 size_t shift = (ci->ptype) - types;
55279 swig_type_info *ty = types_initial[shift];
55280 size_t ldoc = (c - methods[i].ml_doc);
55281 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
55282 char *ndoc = (char*)malloc(ldoc + lptr + 10);
55283 if (ndoc) {
55284 char *buff = ndoc;
55285 strncpy(buff, methods[i].ml_doc, ldoc);
55286 buff += ldoc;
55287 strncpy(buff, "swig_ptr: ", 10);
55288 buff += 10;
55289 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
55290 methods[i].ml_doc = ndoc;
55291 }
55292 }
55293 }
55294 }
55295 }
55296 }
55297
55298#ifdef __cplusplus199711L
55299}
55300#endif
55301
55302/* -----------------------------------------------------------------------------*
55303 * Partial Init method
55304 * -----------------------------------------------------------------------------*/
55305
55306#ifdef __cplusplus199711L
55307extern "C"
55308#endif
55309
55310SWIGEXPORT__attribute__ ((visibility("default")))
55311#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x03000000
55312PyObject*
55313#else
55314void
55315#endif
55316SWIG_initinit_fits(void) {
55317 PyObject *m, *d, *md;
55318#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x03000000
55319 static struct PyModuleDef SWIG_module = {
55320# if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x03020000
55321 PyModuleDef_HEAD_INIT,
55322# else
55323 {
55324 PyObject_HEAD_INIT(NULL)1, __null,
55325 NULL__null, /* m_init */
55326 0, /* m_index */
55327 NULL__null, /* m_copy */
55328 },
55329# endif
55330 (char *) SWIG_name"_fits",
55331 NULL__null,
55332 -1,
55333 SwigMethods,
55334 NULL__null,
55335 NULL__null,
55336 NULL__null,
55337 NULL__null
55338 };
55339#endif
55340
55341#if defined(SWIGPYTHON_BUILTIN)
55342 static SwigPyClientData SwigPyObject_clientdata = {
55343 0, 0, 0, 0, 0, 0, 0
55344 };
55345 static PyGetSetDef this_getset_def = {
55346 (char *)"this", &SwigPyBuiltin_ThisClosure, NULL__null, NULL__null, NULL__null
55347 };
55348 static SwigPyGetSet thisown_getset_closure = {
55349 (PyCFunction) SwigPyObject_own,
55350 (PyCFunction) SwigPyObject_own
55351 };
55352 static PyGetSetDef thisown_getset_def = {
55353 (char *)"thisown", SwigPyBuiltin_GetterClosure, SwigPyBuiltin_SetterClosure, NULL__null, &thisown_getset_closure
55354 };
55355 PyObject *metatype_args;
55356 PyTypeObject *builtin_pytype;
55357 int builtin_base_count;
55358 swig_type_info *builtin_basetype;
55359 PyObject *tuple;
55360 PyGetSetDescrObject *static_getset;
55361 PyTypeObject *metatype;
55362 SwigPyClientData *cd;
55363 PyObject *public_interface, *public_symbol;
55364 PyObject *this_descr;
55365 PyObject *thisown_descr;
55366 int i;
55367
55368 (void)builtin_pytype;
55369 (void)builtin_base_count;
55370 (void)builtin_basetype;
55371 (void)tuple;
55372 (void)static_getset;
55373
55374 /* metatype is used to implement static member variables. */
55375 metatype_args = Py_BuildValue("(s(O){})", "SwigPyObjectType", &PyType_Type);
55376 assert(metatype_args)((void)0);
55377 metatype = (PyTypeObject *) PyType_Type.tp_call((PyObject *) &PyType_Type, metatype_args, NULL__null);
55378 assert(metatype)((void)0);
55379 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)
;
55380 metatype->tp_setattro = (setattrofunc) &SwigPyObjectType_setattro;
55381 assert(PyType_Ready(metatype) >= 0)((void)0);
55382#endif
55383
55384 /* Fix SwigMethods to carry the callback ptrs when needed */
55385 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
55386
55387#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x03000000
55388 m = PyModule_Create(&SWIG_module);
55389#else
55390 m = Py_InitModule((char *) SWIG_name, SwigMethods)Py_InitModule4_64((char *) "_fits", SwigMethods, (char *)__null
, (PyObject *)__null, 1013)
;
55391#endif
55392 md = d = PyModule_GetDict(m);
55393 (void)md;
55394
55395 SWIG_InitializeModule(0);
55396
55397#ifdef SWIGPYTHON_BUILTIN
55398 SwigPyObject_stype = SWIG_MangledTypeQuery("_p_SwigPyObject")SWIG_MangledTypeQueryModule(&swig_module, &swig_module
, "_p_SwigPyObject")
;
55399 assert(SwigPyObject_stype)((void)0);
55400 cd = (SwigPyClientData*) SwigPyObject_stype->clientdata;
55401 if (!cd) {
55402 SwigPyObject_stype->clientdata = &SwigPyObject_clientdata;
55403 SwigPyObject_clientdata.pytype = SwigPyObject_TypeOnce();
55404 } else if (SwigPyObject_TypeOnce()->tp_basicsize != cd->pytype->tp_basicsize) {
55405 PyErr_SetString(PyExc_RuntimeError, "Import error: attempted to load two incompatible swig-generated modules.");
55406# if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x03000000
55407 return NULL__null;
55408# else
55409 return;
55410# endif
55411 }
55412
55413 /* All objects have a 'this' attribute */
55414 this_descr = PyDescr_NewGetSet(SwigPyObject_type(), &this_getset_def);
55415 (void)this_descr;
55416
55417 /* All objects have a 'thisown' attribute */
55418 thisown_descr = PyDescr_NewGetSet(SwigPyObject_type(), &thisown_getset_def);
55419 (void)thisown_descr;
55420
55421 public_interface = PyList_New(0);
55422 public_symbol = 0;
55423 (void)public_symbol;
55424
55425 PyDict_SetItemString(md, "__all__", public_interface);
55426 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)
;
55427 for (i = 0; SwigMethods[i].ml_name != NULL__null; ++i)
55428 SwigPyBuiltin_AddPublicSymbol(public_interface, SwigMethods[i].ml_name);
55429 for (i = 0; swig_const_table[i].name != 0; ++i)
55430 SwigPyBuiltin_AddPublicSymbol(public_interface, swig_const_table[i].name);
55431#endif
55432
55433 SWIG_InstallConstants(d,swig_const_table)SWIG_Python_InstallConstants(d, swig_const_table);
55434
55435 SWIG_Python_SetConstant(d, "GFitsHDU_HT_IMAGE",SWIG_From_int(static_cast< int >(GFitsHDU::HT_IMAGE)));
55436 SWIG_Python_SetConstant(d, "GFitsHDU_HT_ASCII_TABLE",SWIG_From_int(static_cast< int >(GFitsHDU::HT_ASCII_TABLE)));
55437 SWIG_Python_SetConstant(d, "GFitsHDU_HT_BIN_TABLE",SWIG_From_int(static_cast< int >(GFitsHDU::HT_BIN_TABLE)));
55438#if PY_VERSION_HEX((2 << 24) | (7 << 16) | (6 << 8) | (0xF <<
4) | (0 << 0))
>= 0x03000000
55439 return m;
55440#else
55441 return;
55442#endif
55443}
55444