You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26031 lines
990 KiB
C++

/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
* changes to this file unless you know what you are doing--modify the SWIG
* interface file instead.
* ----------------------------------------------------------------------------- */
#ifndef SWIGPYTHON
#define SWIGPYTHON
#endif
#define SWIG_PYTHON_DIRECTOR_NO_VTABLE
#ifdef __cplusplus
/* SwigValueWrapper is described in swig.swg */
template<typename T> class SwigValueWrapper {
struct SwigMovePointer {
T *ptr;
SwigMovePointer(T *p) : ptr(p) { }
~SwigMovePointer() { delete ptr; }
SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; }
} pointer;
SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
SwigValueWrapper(const SwigValueWrapper<T>& rhs);
public:
SwigValueWrapper() : pointer(0) { }
SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; }
operator T&() const { return *pointer.ptr; }
T *operator&() { return pointer.ptr; }
};
template <typename T> T SwigValueInit() {
return T();
}
#endif
/* -----------------------------------------------------------------------------
* This section contains generic SWIG labels for method/variable
* declarations/attributes, and other compiler dependent labels.
* ----------------------------------------------------------------------------- */
/* template workaround for compilers that cannot correctly implement the C++ standard */
#ifndef SWIGTEMPLATEDISAMBIGUATOR
# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
# define SWIGTEMPLATEDISAMBIGUATOR template
# elif defined(__HP_aCC)
/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
# define SWIGTEMPLATEDISAMBIGUATOR template
# else
# define SWIGTEMPLATEDISAMBIGUATOR
# endif
#endif
/* inline attribute */
#ifndef SWIGINLINE
# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
# define SWIGINLINE inline
# else
# define SWIGINLINE
# endif
#endif
/* attribute recognised by some compilers to avoid 'unused' warnings */
#ifndef SWIGUNUSED
# if defined(__GNUC__)
# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
# define SWIGUNUSED __attribute__ ((__unused__))
# else
# define SWIGUNUSED
# endif
# elif defined(__ICC)
# define SWIGUNUSED __attribute__ ((__unused__))
# else
# define SWIGUNUSED
# endif
#endif
#ifndef SWIG_MSC_UNSUPPRESS_4505
# if defined(_MSC_VER)
# pragma warning(disable : 4505) /* unreferenced local function has been removed */
# endif
#endif
#ifndef SWIGUNUSEDPARM
# ifdef __cplusplus
# define SWIGUNUSEDPARM(p)
# else
# define SWIGUNUSEDPARM(p) p SWIGUNUSED
# endif
#endif
/* internal SWIG method */
#ifndef SWIGINTERN
# define SWIGINTERN static SWIGUNUSED
#endif
/* internal inline SWIG method */
#ifndef SWIGINTERNINLINE
# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
#endif
/* exporting methods */
#if defined(__GNUC__)
# if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
# ifndef GCC_HASCLASSVISIBILITY
# define GCC_HASCLASSVISIBILITY
# endif
# endif
#endif
#ifndef SWIGEXPORT
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
# if defined(STATIC_LINKED)
# define SWIGEXPORT
# else
# define SWIGEXPORT __declspec(dllexport)
# endif
# else
# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
# define SWIGEXPORT __attribute__ ((visibility("default")))
# else
# define SWIGEXPORT
# endif
# endif
#endif
/* calling conventions for Windows */
#ifndef SWIGSTDCALL
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
# define SWIGSTDCALL __stdcall
# else
# define SWIGSTDCALL
# endif
#endif
/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
# define _CRT_SECURE_NO_DEPRECATE
#endif
/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
# define _SCL_SECURE_NO_DEPRECATE
#endif
/* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
#if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
# define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
#endif
/* Intel's compiler complains if a variable which was never initialised is
* cast to void, which is a common idiom which we use to indicate that we
* are aware a variable isn't used. So we just silence that warning.
* See: https://github.com/swig/swig/issues/192 for more discussion.
*/
#ifdef __INTEL_COMPILER
# pragma warning disable 592
#endif
#if defined(_DEBUG) && defined(SWIG_PYTHON_INTERPRETER_NO_DEBUG)
/* Use debug wrappers with the Python release dll */
# undef _DEBUG
# include <Python.h>
# define _DEBUG
#else
# include <Python.h>
#endif
/* -----------------------------------------------------------------------------
* swigrun.swg
*
* This file contains generic C API SWIG runtime support for pointer
* type checking.
* ----------------------------------------------------------------------------- */
/* This should only be incremented when either the layout of swig_type_info changes,
or for whatever reason, the runtime changes incompatibly */
#define SWIG_RUNTIME_VERSION "4"
/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
#ifdef SWIG_TYPE_TABLE
# define SWIG_QUOTE_STRING(x) #x
# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
#else
# define SWIG_TYPE_TABLE_NAME
#endif
/*
You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
creating a static or dynamic library from the SWIG runtime code.
In 99.9% of the cases, SWIG just needs to declare them as 'static'.
But only do this if strictly necessary, ie, if you have problems
with your compiler or suchlike.
*/
#ifndef SWIGRUNTIME
# define SWIGRUNTIME SWIGINTERN
#endif
#ifndef SWIGRUNTIMEINLINE
# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
#endif
/* Generic buffer size */
#ifndef SWIG_BUFFER_SIZE
# define SWIG_BUFFER_SIZE 1024
#endif
/* Flags for pointer conversions */
#define SWIG_POINTER_DISOWN 0x1
#define SWIG_CAST_NEW_MEMORY 0x2
/* Flags for new pointer objects */
#define SWIG_POINTER_OWN 0x1
/*
Flags/methods for returning states.
The SWIG conversion methods, as ConvertPtr, return an integer
that tells if the conversion was successful or not. And if not,
an error code can be returned (see swigerrors.swg for the codes).
Use the following macros/flags to set or process the returning
states.
In old versions of SWIG, code such as the following was usually written:
if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
// success code
} else {
//fail code
}
Now you can be more explicit:
int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
if (SWIG_IsOK(res)) {
// success code
} else {
// fail code
}
which is the same really, but now you can also do
Type *ptr;
int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
if (SWIG_IsOK(res)) {
// success code
if (SWIG_IsNewObj(res) {
...
delete *ptr;
} else {
...
}
} else {
// fail code
}
I.e., now SWIG_ConvertPtr can return new objects and you can
identify the case and take care of the deallocation. Of course that
also requires SWIG_ConvertPtr to return new result values, such as
int SWIG_ConvertPtr(obj, ptr,...) {
if (<obj is ok>) {
if (<need new object>) {
*ptr = <ptr to new allocated object>;
return SWIG_NEWOBJ;
} else {
*ptr = <ptr to old object>;
return SWIG_OLDOBJ;
}
} else {
return SWIG_BADOBJ;
}
}
Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
SWIG errors code.
Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
allows to return the 'cast rank', for example, if you have this
int food(double)
int fooi(int);
and you call
food(1) // cast rank '1' (1 -> 1.0)
fooi(1) // cast rank '0'
just use the SWIG_AddCast()/SWIG_CheckState()
*/
#define SWIG_OK (0)
#define SWIG_ERROR (-1)
#define SWIG_IsOK(r) (r >= 0)
#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
/* The CastRankLimit says how many bits are used for the cast rank */
#define SWIG_CASTRANKLIMIT (1 << 8)
/* The NewMask denotes the object was created (using new/malloc) */
#define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
/* The TmpMask is for in/out typemaps that use temporal objects */
#define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
/* Simple returning values */
#define SWIG_BADOBJ (SWIG_ERROR)
#define SWIG_OLDOBJ (SWIG_OK)
#define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
#define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
/* Check, add and del mask methods */
#define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
#define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
#define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
#define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
#define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
#define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
/* Cast-Rank Mode */
#if defined(SWIG_CASTRANK_MODE)
# ifndef SWIG_TypeRank
# define SWIG_TypeRank unsigned long
# endif
# ifndef SWIG_MAXCASTRANK /* Default cast allowed */
# define SWIG_MAXCASTRANK (2)
# endif
# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
SWIGINTERNINLINE int SWIG_AddCast(int r) {
return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
}
SWIGINTERNINLINE int SWIG_CheckState(int r) {
return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
}
#else /* no cast-rank mode */
# define SWIG_AddCast(r) (r)
# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
#endif
#include <string.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef void *(*swig_converter_func)(void *, int *);
typedef struct swig_type_info *(*swig_dycast_func)(void **);
/* Structure to store information on one type */
typedef struct swig_type_info {
const char *name; /* mangled name of this type */
const char *str; /* human readable name of this type */
swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
struct swig_cast_info *cast; /* linked list of types that can cast into this type */
void *clientdata; /* language specific type data */
int owndata; /* flag if the structure owns the clientdata */
} swig_type_info;
/* Structure to store a type and conversion function used for casting */
typedef struct swig_cast_info {
swig_type_info *type; /* pointer to type that is equivalent to this type */
swig_converter_func converter; /* function to cast the void pointers */
struct swig_cast_info *next; /* pointer to next cast in linked list */
struct swig_cast_info *prev; /* pointer to the previous cast */
} swig_cast_info;
/* Structure used to store module information
* Each module generates one structure like this, and the runtime collects
* all of these structures and stores them in a circularly linked list.*/
typedef struct swig_module_info {
swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
size_t size; /* Number of types in this module */
struct swig_module_info *next; /* Pointer to next element in circularly linked list */
swig_type_info **type_initial; /* Array of initially generated type structures */
swig_cast_info **cast_initial; /* Array of initially generated casting structures */
void *clientdata; /* Language specific module data */
} swig_module_info;
/*
Compare two type names skipping the space characters, therefore
"char*" == "char *" and "Class<int>" == "Class<int >", etc.
Return 0 when the two name types are equivalent, as in
strncmp, but skipping ' '.
*/
SWIGRUNTIME int
SWIG_TypeNameComp(const char *f1, const char *l1,
const char *f2, const char *l2) {
for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
while ((*f1 == ' ') && (f1 != l1)) ++f1;
while ((*f2 == ' ') && (f2 != l2)) ++f2;
if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
}
return (int)((l1 - f1) - (l2 - f2));
}
/*
Check type equivalence in a name list like <name1>|<name2>|...
Return 0 if equal, -1 if nb < tb, 1 if nb > tb
*/
SWIGRUNTIME int
SWIG_TypeCmp(const char *nb, const char *tb) {
int equiv = 1;
const char* te = tb + strlen(tb);
const char* ne = nb;
while (equiv != 0 && *ne) {
for (nb = ne; *ne; ++ne) {
if (*ne == '|') break;
}
equiv = SWIG_TypeNameComp(nb, ne, tb, te);
if (*ne) ++ne;
}
return equiv;
}
/*
Check type equivalence in a name list like <name1>|<name2>|...
Return 0 if not equal, 1 if equal
*/
SWIGRUNTIME int
SWIG_TypeEquiv(const char *nb, const char *tb) {
return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0;
}
/*
Check the typename
*/
SWIGRUNTIME swig_cast_info *
SWIG_TypeCheck(const char *c, swig_type_info *ty) {
if (ty) {
swig_cast_info *iter = ty->cast;
while (iter) {
if (strcmp(iter->type->name, c) == 0) {
if (iter == ty->cast)
return iter;
/* Move iter to the top of the linked list */
iter->prev->next = iter->next;
if (iter->next)
iter->next->prev = iter->prev;
iter->next = ty->cast;
iter->prev = 0;
if (ty->cast) ty->cast->prev = iter;
ty->cast = iter;
return iter;
}
iter = iter->next;
}
}
return 0;
}
/*
Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
*/
SWIGRUNTIME swig_cast_info *
SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *ty) {
if (ty) {
swig_cast_info *iter = ty->cast;
while (iter) {
if (iter->type == from) {
if (iter == ty->cast)
return iter;
/* Move iter to the top of the linked list */
iter->prev->next = iter->next;
if (iter->next)
iter->next->prev = iter->prev;
iter->next = ty->cast;
iter->prev = 0;
if (ty->cast) ty->cast->prev = iter;
ty->cast = iter;
return iter;
}
iter = iter->next;
}
}
return 0;
}
/*
Cast a pointer up an inheritance hierarchy
*/
SWIGRUNTIMEINLINE void *
SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
}
/*
Dynamic pointer casting. Down an inheritance hierarchy
*/
SWIGRUNTIME swig_type_info *
SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
swig_type_info *lastty = ty;
if (!ty || !ty->dcast) return ty;
while (ty && (ty->dcast)) {
ty = (*ty->dcast)(ptr);
if (ty) lastty = ty;
}
return lastty;
}
/*
Return the name associated with this type
*/
SWIGRUNTIMEINLINE const char *
SWIG_TypeName(const swig_type_info *ty) {
return ty->name;
}
/*
Return the pretty name associated with this type,
that is an unmangled type name in a form presentable to the user.
*/
SWIGRUNTIME const char *
SWIG_TypePrettyName(const swig_type_info *type) {
/* The "str" field contains the equivalent pretty names of the
type, separated by vertical-bar characters. We choose
to print the last name, as it is often (?) the most
specific. */
if (!type) return NULL;
if (type->str != NULL) {
const char *last_name = type->str;
const char *s;
for (s = type->str; *s; s++)
if (*s == '|') last_name = s+1;
return last_name;
}
else
return type->name;
}
/*
Set the clientdata field for a type
*/
SWIGRUNTIME void
SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
swig_cast_info *cast = ti->cast;
/* if (ti->clientdata == clientdata) return; */
ti->clientdata = clientdata;
while (cast) {
if (!cast->converter) {
swig_type_info *tc = cast->type;
if (!tc->clientdata) {
SWIG_TypeClientData(tc, clientdata);
}
}
cast = cast->next;
}
}
SWIGRUNTIME void
SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
SWIG_TypeClientData(ti, clientdata);
ti->owndata = 1;
}
/*
Search for a swig_type_info structure only by mangled name
Search is a O(log #types)
We start searching at module start, and finish searching when start == end.
Note: if start == end at the beginning of the function, we go all the way around
the circular list.
*/
SWIGRUNTIME swig_type_info *
SWIG_MangledTypeQueryModule(swig_module_info *start,
swig_module_info *end,
const char *name) {
swig_module_info *iter = start;
do {
if (iter->size) {
size_t l = 0;
size_t r = iter->size - 1;
do {
/* since l+r >= 0, we can (>> 1) instead (/ 2) */
size_t i = (l + r) >> 1;
const char *iname = iter->types[i]->name;
if (iname) {
int compare = strcmp(name, iname);
if (compare == 0) {
return iter->types[i];
} else if (compare < 0) {
if (i) {
r = i - 1;
} else {
break;
}
} else if (compare > 0) {
l = i + 1;
}
} else {
break; /* should never happen */
}
} while (l <= r);
}
iter = iter->next;
} while (iter != end);
return 0;
}
/*
Search for a swig_type_info structure for either a mangled name or a human readable name.
It first searches the mangled names of the types, which is a O(log #types)
If a type is not found it then searches the human readable names, which is O(#types).
We start searching at module start, and finish searching when start == end.
Note: if start == end at the beginning of the function, we go all the way around
the circular list.
*/
SWIGRUNTIME swig_type_info *
SWIG_TypeQueryModule(swig_module_info *start,
swig_module_info *end,
const char *name) {
/* STEP 1: Search the name field using binary search */
swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
if (ret) {
return ret;
} else {
/* STEP 2: If the type hasn't been found, do a complete search
of the str field (the human readable name) */
swig_module_info *iter = start;
do {
size_t i = 0;
for (; i < iter->size; ++i) {
if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
return iter->types[i];
}
iter = iter->next;
} while (iter != end);
}
/* neither found a match */
return 0;
}
/*
Pack binary data into a string
*/
SWIGRUNTIME char *
SWIG_PackData(char *c, void *ptr, size_t sz) {
static const char hex[17] = "0123456789abcdef";
const unsigned char *u = (unsigned char *) ptr;
const unsigned char *eu = u + sz;
for (; u != eu; ++u) {
unsigned char uu = *u;
*(c++) = hex[(uu & 0xf0) >> 4];
*(c++) = hex[uu & 0xf];
}
return c;
}
/*
Unpack binary data from a string
*/
SWIGRUNTIME const char *
SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
unsigned char *u = (unsigned char *) ptr;
const unsigned char *eu = u + sz;
for (; u != eu; ++u) {
char d = *(c++);
unsigned char uu;
if ((d >= '0') && (d <= '9'))
uu = (unsigned char)((d - '0') << 4);
else if ((d >= 'a') && (d <= 'f'))
uu = (unsigned char)((d - ('a'-10)) << 4);
else
return (char *) 0;
d = *(c++);
if ((d >= '0') && (d <= '9'))
uu |= (unsigned char)(d - '0');
else if ((d >= 'a') && (d <= 'f'))
uu |= (unsigned char)(d - ('a'-10));
else
return (char *) 0;
*u = uu;
}
return c;
}
/*
Pack 'void *' into a string buffer.
*/
SWIGRUNTIME char *
SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
char *r = buff;
if ((2*sizeof(void *) + 2) > bsz) return 0;
*(r++) = '_';
r = SWIG_PackData(r,&ptr,sizeof(void *));
if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
strcpy(r,name);
return buff;
}
SWIGRUNTIME const char *
SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
if (*c != '_') {
if (strcmp(c,"NULL") == 0) {
*ptr = (void *) 0;
return name;
} else {
return 0;
}
}
return SWIG_UnpackData(++c,ptr,sizeof(void *));
}
SWIGRUNTIME char *
SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
char *r = buff;
size_t lname = (name ? strlen(name) : 0);
if ((2*sz + 2 + lname) > bsz) return 0;
*(r++) = '_';
r = SWIG_PackData(r,ptr,sz);
if (lname) {
strncpy(r,name,lname+1);
} else {
*r = 0;
}
return buff;
}
SWIGRUNTIME const char *
SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
if (*c != '_') {
if (strcmp(c,"NULL") == 0) {
memset(ptr,0,sz);
return name;
} else {
return 0;
}
}
return SWIG_UnpackData(++c,ptr,sz);
}
#ifdef __cplusplus
}
#endif
/* Errors in SWIG */
#define SWIG_UnknownError -1
#define SWIG_IOError -2
#define SWIG_RuntimeError -3
#define SWIG_IndexError -4
#define SWIG_TypeError -5
#define SWIG_DivisionByZero -6
#define SWIG_OverflowError -7
#define SWIG_SyntaxError -8
#define SWIG_ValueError -9
#define SWIG_SystemError -10
#define SWIG_AttributeError -11
#define SWIG_MemoryError -12
#define SWIG_NullReferenceError -13
/* Compatibility macros for Python 3 */
#if PY_VERSION_HEX >= 0x03000000
#define PyClass_Check(obj) PyObject_IsInstance(obj, (PyObject *)&PyType_Type)
#define PyInt_Check(x) PyLong_Check(x)
#define PyInt_AsLong(x) PyLong_AsLong(x)
#define PyInt_FromLong(x) PyLong_FromLong(x)
#define PyInt_FromSize_t(x) PyLong_FromSize_t(x)
#define PyString_Check(name) PyBytes_Check(name)
#define PyString_FromString(x) PyUnicode_FromString(x)
#define PyString_Format(fmt, args) PyUnicode_Format(fmt, args)
#define PyString_AsString(str) PyBytes_AsString(str)
#define PyString_Size(str) PyBytes_Size(str)
#define PyString_InternFromString(key) PyUnicode_InternFromString(key)
#define Py_TPFLAGS_HAVE_CLASS Py_TPFLAGS_BASETYPE
#define PyString_AS_STRING(x) PyUnicode_AS_STRING(x)
#define _PyLong_FromSsize_t(x) PyLong_FromSsize_t(x)
#endif
#ifndef Py_TYPE
# define Py_TYPE(op) ((op)->ob_type)
#endif
/* SWIG APIs for compatibility of both Python 2 & 3 */
#if PY_VERSION_HEX >= 0x03000000
# define SWIG_Python_str_FromFormat PyUnicode_FromFormat
#else
# define SWIG_Python_str_FromFormat PyString_FromFormat
#endif
/* Warning: This function will allocate a new string in Python 3,
* so please call SWIG_Python_str_DelForPy3(x) to free the space.
*/
SWIGINTERN char*
SWIG_Python_str_AsChar(PyObject *str)
{
#if PY_VERSION_HEX >= 0x03000000
char *cstr;
char *newstr;
Py_ssize_t len;
str = PyUnicode_AsUTF8String(str);
PyBytes_AsStringAndSize(str, &cstr, &len);
newstr = (char *) malloc(len+1);
memcpy(newstr, cstr, len+1);
Py_XDECREF(str);
return newstr;
#else
return PyString_AsString(str);
#endif
}
#if PY_VERSION_HEX >= 0x03000000
# define SWIG_Python_str_DelForPy3(x) free( (void*) (x) )
#else
# define SWIG_Python_str_DelForPy3(x)
#endif
SWIGINTERN PyObject*
SWIG_Python_str_FromChar(const char *c)
{
#if PY_VERSION_HEX >= 0x03000000
return PyUnicode_FromString(c);
#else
return PyString_FromString(c);
#endif
}
/* Add PyOS_snprintf for old Pythons */
#if PY_VERSION_HEX < 0x02020000
# if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
# define PyOS_snprintf _snprintf
# else
# define PyOS_snprintf snprintf
# endif
#endif
/* A crude PyString_FromFormat implementation for old Pythons */
#if PY_VERSION_HEX < 0x02020000
#ifndef SWIG_PYBUFFER_SIZE
# define SWIG_PYBUFFER_SIZE 1024
#endif
static PyObject *
PyString_FromFormat(const char *fmt, ...) {
va_list ap;
char buf[SWIG_PYBUFFER_SIZE * 2];
int res;
va_start(ap, fmt);
res = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
}
#endif
#ifndef PyObject_DEL
# define PyObject_DEL PyObject_Del
#endif
/* A crude PyExc_StopIteration exception for old Pythons */
#if PY_VERSION_HEX < 0x02020000
# ifndef PyExc_StopIteration
# define PyExc_StopIteration PyExc_RuntimeError
# endif
# ifndef PyObject_GenericGetAttr
# define PyObject_GenericGetAttr 0
# endif
#endif
/* Py_NotImplemented is defined in 2.1 and up. */
#if PY_VERSION_HEX < 0x02010000
# ifndef Py_NotImplemented
# define Py_NotImplemented PyExc_RuntimeError
# endif
#endif
/* A crude PyString_AsStringAndSize implementation for old Pythons */
#if PY_VERSION_HEX < 0x02010000
# ifndef PyString_AsStringAndSize
# define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
# endif
#endif
/* PySequence_Size for old Pythons */
#if PY_VERSION_HEX < 0x02000000
# ifndef PySequence_Size
# define PySequence_Size PySequence_Length
# endif
#endif
/* PyBool_FromLong for old Pythons */
#if PY_VERSION_HEX < 0x02030000
static
PyObject *PyBool_FromLong(long ok)
{
PyObject *result = ok ? Py_True : Py_False;
Py_INCREF(result);
return result;
}
#endif
/* Py_ssize_t for old Pythons */
/* This code is as recommended by: */
/* http://www.python.org/dev/peps/pep-0353/#conversion-guidelines */
#if PY_VERSION_HEX < 0x02050000 && !defined(PY_SSIZE_T_MIN)
typedef int Py_ssize_t;
# define PY_SSIZE_T_MAX INT_MAX
# define PY_SSIZE_T_MIN INT_MIN
typedef inquiry lenfunc;
typedef intargfunc ssizeargfunc;
typedef intintargfunc ssizessizeargfunc;
typedef intobjargproc ssizeobjargproc;
typedef intintobjargproc ssizessizeobjargproc;
typedef getreadbufferproc readbufferproc;
typedef getwritebufferproc writebufferproc;
typedef getsegcountproc segcountproc;
typedef getcharbufferproc charbufferproc;
static long PyNumber_AsSsize_t (PyObject *x, void *SWIGUNUSEDPARM(exc))
{
long result = 0;
PyObject *i = PyNumber_Int(x);
if (i) {
result = PyInt_AsLong(i);
Py_DECREF(i);
}
return result;
}
#endif
#if PY_VERSION_HEX < 0x02050000
#define PyInt_FromSize_t(x) PyInt_FromLong((long)x)
#endif
#if PY_VERSION_HEX < 0x02040000
#define Py_VISIT(op) \
do { \
if (op) { \
int vret = visit((op), arg); \
if (vret) \
return vret; \
} \
} while (0)
#endif
#if PY_VERSION_HEX < 0x02030000
typedef struct {
PyTypeObject type;
PyNumberMethods as_number;
PyMappingMethods as_mapping;
PySequenceMethods as_sequence;
PyBufferProcs as_buffer;
PyObject *name, *slots;
} PyHeapTypeObject;
#endif
#if PY_VERSION_HEX < 0x02030000
typedef destructor freefunc;
#endif
#if ((PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION > 6) || \
(PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION > 0) || \
(PY_MAJOR_VERSION > 3))
# define SWIGPY_USE_CAPSULE
# define SWIGPY_CAPSULE_NAME ((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION ".type_pointer_capsule" SWIG_TYPE_TABLE_NAME)
#endif
#if PY_VERSION_HEX < 0x03020000
#define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
#define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
#define Py_hash_t long
#endif
/* -----------------------------------------------------------------------------
* error manipulation
* ----------------------------------------------------------------------------- */
SWIGRUNTIME PyObject*
SWIG_Python_ErrorType(int code) {
PyObject* type = 0;
switch(code) {
case SWIG_MemoryError:
type = PyExc_MemoryError;
break;
case SWIG_IOError:
type = PyExc_IOError;
break;
case SWIG_RuntimeError:
type = PyExc_RuntimeError;
break;
case SWIG_IndexError:
type = PyExc_IndexError;
break;
case SWIG_TypeError:
type = PyExc_TypeError;
break;
case SWIG_DivisionByZero:
type = PyExc_ZeroDivisionError;
break;
case SWIG_OverflowError:
type = PyExc_OverflowError;
break;
case SWIG_SyntaxError:
type = PyExc_SyntaxError;
break;
case SWIG_ValueError:
type = PyExc_ValueError;
break;
case SWIG_SystemError:
type = PyExc_SystemError;
break;
case SWIG_AttributeError:
type = PyExc_AttributeError;
break;
default:
type = PyExc_RuntimeError;
}
return type;
}
SWIGRUNTIME void
SWIG_Python_AddErrorMsg(const char* mesg)
{
PyObject *type = 0;
PyObject *value = 0;
PyObject *traceback = 0;
if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
if (value) {
char *tmp;
PyObject *old_str = PyObject_Str(value);
PyErr_Clear();
Py_XINCREF(type);
PyErr_Format(type, "%s %s", tmp = SWIG_Python_str_AsChar(old_str), mesg);
SWIG_Python_str_DelForPy3(tmp);
Py_DECREF(old_str);
Py_DECREF(value);
} else {
PyErr_SetString(PyExc_RuntimeError, mesg);
}
}
#if defined(SWIG_PYTHON_NO_THREADS)
# if defined(SWIG_PYTHON_THREADS)
# undef SWIG_PYTHON_THREADS
# endif
#endif
#if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
# if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
# if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
# define SWIG_PYTHON_USE_GIL
# endif
# endif
# if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
# ifndef SWIG_PYTHON_INITIALIZE_THREADS
# define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
# endif
# ifdef __cplusplus /* C++ code */
class SWIG_Python_Thread_Block {
bool status;
PyGILState_STATE state;
public:
void end() { if (status) { PyGILState_Release(state); status = false;} }
SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
~SWIG_Python_Thread_Block() { end(); }
};
class SWIG_Python_Thread_Allow {
bool status;
PyThreadState *save;
public:
void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
~SWIG_Python_Thread_Allow() { end(); }
};
# define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
# define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
# define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
# define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
# else /* C code */
# define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
# define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
# define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
# define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
# endif
# else /* Old thread way, not implemented, user must provide it */
# if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
# define SWIG_PYTHON_INITIALIZE_THREADS
# endif
# if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
# define SWIG_PYTHON_THREAD_BEGIN_BLOCK
# endif
# if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
# define SWIG_PYTHON_THREAD_END_BLOCK
# endif
# if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
# define SWIG_PYTHON_THREAD_BEGIN_ALLOW
# endif
# if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
# define SWIG_PYTHON_THREAD_END_ALLOW
# endif
# endif
#else /* No thread support */
# define SWIG_PYTHON_INITIALIZE_THREADS
# define SWIG_PYTHON_THREAD_BEGIN_BLOCK
# define SWIG_PYTHON_THREAD_END_BLOCK
# define SWIG_PYTHON_THREAD_BEGIN_ALLOW
# define SWIG_PYTHON_THREAD_END_ALLOW
#endif
/* -----------------------------------------------------------------------------
* Python API portion that goes into the runtime
* ----------------------------------------------------------------------------- */
#ifdef __cplusplus
extern "C" {
#endif
/* -----------------------------------------------------------------------------
* Constant declarations
* ----------------------------------------------------------------------------- */
/* Constant Types */
#define SWIG_PY_POINTER 4
#define SWIG_PY_BINARY 5
/* Constant information structure */
typedef struct swig_const_info {
int type;
char *name;
long lvalue;
double dvalue;
void *pvalue;
swig_type_info **ptype;
} swig_const_info;
/* -----------------------------------------------------------------------------
* Wrapper of PyInstanceMethod_New() used in Python 3
* It is exported to the generated module, used for -fastproxy
* ----------------------------------------------------------------------------- */
#if PY_VERSION_HEX >= 0x03000000
SWIGRUNTIME PyObject* SWIG_PyInstanceMethod_New(PyObject *SWIGUNUSEDPARM(self), PyObject *func)
{
return PyInstanceMethod_New(func);
}
#else
SWIGRUNTIME PyObject* SWIG_PyInstanceMethod_New(PyObject *SWIGUNUSEDPARM(self), PyObject *SWIGUNUSEDPARM(func))
{
return NULL;
}
#endif
#ifdef __cplusplus
}
#endif
/* -----------------------------------------------------------------------------
* pyrun.swg
*
* This file contains the runtime support for Python modules
* and includes code for managing global variables and pointer
* type checking.
*
* ----------------------------------------------------------------------------- */
/* Common SWIG API */
/* for raw pointers */
#define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
#define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
#ifdef SWIGPYTHON_BUILTIN
#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
#else
#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags)
#endif
#define SWIG_InternalNewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags)
#define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
#define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
#define swig_owntype int
/* for raw packed data */
#define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
/* for class or struct pointers */
#define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
#define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
/* for C or C++ function pointers */
#define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
#define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(NULL, ptr, type, 0)
/* for C++ member pointers, ie, member methods */
#define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
#define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
/* Runtime API */
#define SWIG_GetModule(clientdata) SWIG_Python_GetModule(clientdata)
#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
#define SWIG_NewClientData(obj) SwigPyClientData_New(obj)
#define SWIG_SetErrorObj SWIG_Python_SetErrorObj
#define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
#define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
#define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
#define SWIG_fail goto fail
/* Runtime API implementation */
/* Error manipulation */
SWIGINTERN void
SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
SWIG_PYTHON_THREAD_BEGIN_BLOCK;
PyErr_SetObject(errtype, obj);
Py_DECREF(obj);
SWIG_PYTHON_THREAD_END_BLOCK;
}
SWIGINTERN void
SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
SWIG_PYTHON_THREAD_BEGIN_BLOCK;
PyErr_SetString(errtype, msg);
SWIG_PYTHON_THREAD_END_BLOCK;
}
#define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
/* Set a constant value */
#if defined(SWIGPYTHON_BUILTIN)
SWIGINTERN void
SwigPyBuiltin_AddPublicSymbol(PyObject *seq, const char *key) {
PyObject *s = PyString_InternFromString(key);
PyList_Append(seq, s);
Py_DECREF(s);
}
SWIGINTERN void
SWIG_Python_SetConstant(PyObject *d, PyObject *public_interface, const char *name, PyObject *obj) {
#if PY_VERSION_HEX < 0x02030000
PyDict_SetItemString(d, (char *)name, obj);
#else
PyDict_SetItemString(d, name, obj);
#endif
Py_DECREF(obj);
if (public_interface)
SwigPyBuiltin_AddPublicSymbol(public_interface, name);
}
#else
SWIGINTERN void
SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
#if PY_VERSION_HEX < 0x02030000
PyDict_SetItemString(d, (char *)name, obj);
#else
PyDict_SetItemString(d, name, obj);
#endif
Py_DECREF(obj);
}
#endif
/* Append a value to the result obj */
SWIGINTERN PyObject*
SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
#if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
if (!result) {
result = obj;
} else if (result == Py_None) {
Py_DECREF(result);
result = obj;
} else {
if (!PyList_Check(result)) {
PyObject *o2 = result;
result = PyList_New(1);
PyList_SetItem(result, 0, o2);
}
PyList_Append(result,obj);
Py_DECREF(obj);
}
return result;
#else
PyObject* o2;
PyObject* o3;
if (!result) {
result = obj;
} else if (result == Py_None) {
Py_DECREF(result);
result = obj;
} else {
if (!PyTuple_Check(result)) {
o2 = result;
result = PyTuple_New(1);
PyTuple_SET_ITEM(result, 0, o2);
}
o3 = PyTuple_New(1);
PyTuple_SET_ITEM(o3, 0, obj);
o2 = result;
result = PySequence_Concat(o2, o3);
Py_DECREF(o2);
Py_DECREF(o3);
}
return result;
#endif
}
/* Unpack the argument tuple */
SWIGINTERN Py_ssize_t
SWIG_Python_UnpackTuple(PyObject *args, const char *name, Py_ssize_t min, Py_ssize_t max, PyObject **objs)
{
if (!args) {
if (!min && !max) {
return 1;
} else {
PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
name, (min == max ? "" : "at least "), (int)min);
return 0;
}
}
if (!PyTuple_Check(args)) {
if (min <= 1 && max >= 1) {
Py_ssize_t i;
objs[0] = args;
for (i = 1; i < max; ++i) {
objs[i] = 0;
}
return 2;
}
PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
return 0;
} else {
Py_ssize_t l = PyTuple_GET_SIZE(args);
if (l < min) {
PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
name, (min == max ? "" : "at least "), (int)min, (int)l);
return 0;
} else if (l > max) {
PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
name, (min == max ? "" : "at most "), (int)max, (int)l);
return 0;
} else {
Py_ssize_t i;
for (i = 0; i < l; ++i) {
objs[i] = PyTuple_GET_ITEM(args, i);
}
for (; l < max; ++l) {
objs[l] = 0;
}
return i + 1;
}
}
}
/* A functor is a function object with one single object argument */
#if PY_VERSION_HEX >= 0x02020000
#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
#else
#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
#endif
/*
Helper for static pointer initialization for both C and C++ code, for example
static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
*/
#ifdef __cplusplus
#define SWIG_STATIC_POINTER(var) var
#else
#define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
#endif
/* -----------------------------------------------------------------------------
* Pointer declarations
* ----------------------------------------------------------------------------- */
/* Flags for new pointer objects */
#define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
#define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
#define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
#define SWIG_BUILTIN_TP_INIT (SWIG_POINTER_OWN << 2)
#define SWIG_BUILTIN_INIT (SWIG_BUILTIN_TP_INIT | SWIG_POINTER_OWN)
#ifdef __cplusplus
extern "C" {
#endif
/* How to access Py_None */
#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
# ifndef SWIG_PYTHON_NO_BUILD_NONE
# ifndef SWIG_PYTHON_BUILD_NONE
# define SWIG_PYTHON_BUILD_NONE
# endif
# endif
#endif
#ifdef SWIG_PYTHON_BUILD_NONE
# ifdef Py_None
# undef Py_None
# define Py_None SWIG_Py_None()
# endif
SWIGRUNTIMEINLINE PyObject *
_SWIG_Py_None(void)
{
PyObject *none = Py_BuildValue((char*)"");
Py_DECREF(none);
return none;
}
SWIGRUNTIME PyObject *
SWIG_Py_None(void)
{
static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
return none;
}
#endif
/* The python void return value */
SWIGRUNTIMEINLINE PyObject *
SWIG_Py_Void(void)
{
PyObject *none = Py_None;
Py_INCREF(none);
return none;
}
/* SwigPyClientData */
typedef struct {
PyObject *klass;
PyObject *newraw;
PyObject *newargs;
PyObject *destroy;
int delargs;
int implicitconv;
PyTypeObject *pytype;
} SwigPyClientData;
SWIGRUNTIMEINLINE int
SWIG_Python_CheckImplicit(swig_type_info *ty)
{
SwigPyClientData *data = (SwigPyClientData *)ty->clientdata;
return data ? data->implicitconv : 0;
}
SWIGRUNTIMEINLINE PyObject *
SWIG_Python_ExceptionType(swig_type_info *desc) {
SwigPyClientData *data = desc ? (SwigPyClientData *) desc->clientdata : 0;
PyObject *klass = data ? data->klass : 0;
return (klass ? klass : PyExc_RuntimeError);
}
SWIGRUNTIME SwigPyClientData *
SwigPyClientData_New(PyObject* obj)
{
if (!obj) {
return 0;
} else {
SwigPyClientData *data = (SwigPyClientData *)malloc(sizeof(SwigPyClientData));
/* the klass element */
data->klass = obj;
Py_INCREF(data->klass);
/* the newraw method and newargs arguments used to create a new raw instance */
if (PyClass_Check(obj)) {
data->newraw = 0;
data->newargs = obj;
Py_INCREF(obj);
} else {
#if (PY_VERSION_HEX < 0x02020000)
data->newraw = 0;
#else
data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
#endif
if (data->newraw) {
Py_INCREF(data->newraw);
data->newargs = PyTuple_New(1);
PyTuple_SetItem(data->newargs, 0, obj);
} else {
data->newargs = obj;
}
Py_INCREF(data->newargs);
}
/* the destroy method, aka as the C++ delete method */
data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
if (PyErr_Occurred()) {
PyErr_Clear();
data->destroy = 0;
}
if (data->destroy) {
int flags;
Py_INCREF(data->destroy);
flags = PyCFunction_GET_FLAGS(data->destroy);
#ifdef METH_O
data->delargs = !(flags & (METH_O));
#else
data->delargs = 0;
#endif
} else {
data->delargs = 0;
}
data->implicitconv = 0;
data->pytype = 0;
return data;
}
}
SWIGRUNTIME void
SwigPyClientData_Del(SwigPyClientData *data) {
Py_XDECREF(data->newraw);
Py_XDECREF(data->newargs);
Py_XDECREF(data->destroy);
}
/* =============== SwigPyObject =====================*/
typedef struct {
PyObject_HEAD
void *ptr;
swig_type_info *ty;
int own;
PyObject *next;
#ifdef SWIGPYTHON_BUILTIN
PyObject *dict;
#endif
} SwigPyObject;
#ifdef SWIGPYTHON_BUILTIN
SWIGRUNTIME PyObject *
SwigPyObject_get___dict__(PyObject *v, PyObject *SWIGUNUSEDPARM(args))
{
SwigPyObject *sobj = (SwigPyObject *)v;
if (!sobj->dict)
sobj->dict = PyDict_New();
Py_INCREF(sobj->dict);
return sobj->dict;
}
#endif
SWIGRUNTIME PyObject *
SwigPyObject_long(SwigPyObject *v)
{
return PyLong_FromVoidPtr(v->ptr);
}
SWIGRUNTIME PyObject *
SwigPyObject_format(const char* fmt, SwigPyObject *v)
{
PyObject *res = NULL;
PyObject *args = PyTuple_New(1);
if (args) {
if (PyTuple_SetItem(args, 0, SwigPyObject_long(v)) == 0) {
PyObject *ofmt = SWIG_Python_str_FromChar(fmt);
if (ofmt) {
#if PY_VERSION_HEX >= 0x03000000
res = PyUnicode_Format(ofmt,args);
#else
res = PyString_Format(ofmt,args);
#endif
Py_DECREF(ofmt);
}
Py_DECREF(args);
}
}
return res;
}
SWIGRUNTIME PyObject *
SwigPyObject_oct(SwigPyObject *v)
{
return SwigPyObject_format("%o",v);
}
SWIGRUNTIME PyObject *
SwigPyObject_hex(SwigPyObject *v)
{
return SwigPyObject_format("%x",v);
}
SWIGRUNTIME PyObject *
#ifdef METH_NOARGS
SwigPyObject_repr(SwigPyObject *v)
#else
SwigPyObject_repr(SwigPyObject *v, PyObject *args)
#endif
{
const char *name = SWIG_TypePrettyName(v->ty);
PyObject *repr = SWIG_Python_str_FromFormat("<Swig Object of type '%s' at %p>", (name ? name : "unknown"), (void *)v);
if (v->next) {
# ifdef METH_NOARGS
PyObject *nrep = SwigPyObject_repr((SwigPyObject *)v->next);
# else
PyObject *nrep = SwigPyObject_repr((SwigPyObject *)v->next, args);
# endif
# if PY_VERSION_HEX >= 0x03000000
PyObject *joined = PyUnicode_Concat(repr, nrep);
Py_DecRef(repr);
Py_DecRef(nrep);
repr = joined;
# else
PyString_ConcatAndDel(&repr,nrep);
# endif
}
return repr;
}
SWIGRUNTIME int
SwigPyObject_compare(SwigPyObject *v, SwigPyObject *w)
{
void *i = v->ptr;
void *j = w->ptr;
return (i < j) ? -1 : ((i > j) ? 1 : 0);
}
/* Added for Python 3.x, would it also be useful for Python 2.x? */
SWIGRUNTIME PyObject*
SwigPyObject_richcompare(SwigPyObject *v, SwigPyObject *w, int op)
{
PyObject* res;
if( op != Py_EQ && op != Py_NE ) {
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}
res = PyBool_FromLong( (SwigPyObject_compare(v, w)==0) == (op == Py_EQ) ? 1 : 0);
return res;
}
SWIGRUNTIME PyTypeObject* SwigPyObject_TypeOnce(void);
#ifdef SWIGPYTHON_BUILTIN
static swig_type_info *SwigPyObject_stype = 0;
SWIGRUNTIME PyTypeObject*
SwigPyObject_type(void) {
SwigPyClientData *cd;
assert(SwigPyObject_stype);
cd = (SwigPyClientData*) SwigPyObject_stype->clientdata;
assert(cd);
assert(cd->pytype);
return cd->pytype;
}
#else
SWIGRUNTIME PyTypeObject*
SwigPyObject_type(void) {
static PyTypeObject *SWIG_STATIC_POINTER(type) = SwigPyObject_TypeOnce();
return type;
}
#endif
SWIGRUNTIMEINLINE int
SwigPyObject_Check(PyObject *op) {
#ifdef SWIGPYTHON_BUILTIN
PyTypeObject *target_tp = SwigPyObject_type();
if (PyType_IsSubtype(op->ob_type, target_tp))
return 1;
return (strcmp(op->ob_type->tp_name, "SwigPyObject") == 0);
#else
return (Py_TYPE(op) == SwigPyObject_type())
|| (strcmp(Py_TYPE(op)->tp_name,"SwigPyObject") == 0);
#endif
}
SWIGRUNTIME PyObject *
SwigPyObject_New(void *ptr, swig_type_info *ty, int own);
SWIGRUNTIME void
SwigPyObject_dealloc(PyObject *v)
{
SwigPyObject *sobj = (SwigPyObject *) v;
PyObject *next = sobj->next;
if (sobj->own == SWIG_POINTER_OWN) {
swig_type_info *ty = sobj->ty;
SwigPyClientData *data = ty ? (SwigPyClientData *) ty->clientdata : 0;
PyObject *destroy = data ? data->destroy : 0;
if (destroy) {
/* destroy is always a VARARGS method */
PyObject *res;
/* PyObject_CallFunction() has the potential to silently drop
the active active exception. In cases of unnamed temporary
variable or where we just finished iterating over a generator
StopIteration will be active right now, and this needs to
remain true upon return from SwigPyObject_dealloc. So save
and restore. */
PyObject *val = NULL, *type = NULL, *tb = NULL;
PyErr_Fetch(&val, &type, &tb);
if (data->delargs) {
/* we need to create a temporary object to carry the destroy operation */
PyObject *tmp = SwigPyObject_New(sobj->ptr, ty, 0);
res = SWIG_Python_CallFunctor(destroy, tmp);
Py_DECREF(tmp);
} else {
PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
PyObject *mself = PyCFunction_GET_SELF(destroy);
res = ((*meth)(mself, v));
}
if (!res)
PyErr_WriteUnraisable(destroy);
PyErr_Restore(val, type, tb);
Py_XDECREF(res);
}
#if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
else {
const char *name = SWIG_TypePrettyName(ty);
printf("swig/python detected a memory leak of type '%s', no destructor found.\n", (name ? name : "unknown"));
}
#endif
}
Py_XDECREF(next);
PyObject_DEL(v);
}
SWIGRUNTIME PyObject*
SwigPyObject_append(PyObject* v, PyObject* next)
{
SwigPyObject *sobj = (SwigPyObject *) v;
#ifndef METH_O
PyObject *tmp = 0;
if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
next = tmp;
#endif
if (!SwigPyObject_Check(next)) {
PyErr_SetString(PyExc_TypeError, "Attempt to append a non SwigPyObject");
return NULL;
}
sobj->next = next;
Py_INCREF(next);
return SWIG_Py_Void();
}
SWIGRUNTIME PyObject*
#ifdef METH_NOARGS
SwigPyObject_next(PyObject* v)
#else
SwigPyObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
#endif
{
SwigPyObject *sobj = (SwigPyObject *) v;
if (sobj->next) {
Py_INCREF(sobj->next);
return sobj->next;
} else {
return SWIG_Py_Void();
}
}
SWIGINTERN PyObject*
#ifdef METH_NOARGS
SwigPyObject_disown(PyObject *v)
#else
SwigPyObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
#endif
{
SwigPyObject *sobj = (SwigPyObject *)v;
sobj->own = 0;
return SWIG_Py_Void();
}
SWIGINTERN PyObject*
#ifdef METH_NOARGS
SwigPyObject_acquire(PyObject *v)
#else
SwigPyObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
#endif
{
SwigPyObject *sobj = (SwigPyObject *)v;
sobj->own = SWIG_POINTER_OWN;
return SWIG_Py_Void();
}
SWIGINTERN PyObject*
SwigPyObject_own(PyObject *v, PyObject *args)
{
PyObject *val = 0;
#if (PY_VERSION_HEX < 0x02020000)
if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
#elif (PY_VERSION_HEX < 0x02050000)
if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
#else
if (!PyArg_UnpackTuple(args, "own", 0, 1, &val))
#endif
{
return NULL;
}
else
{
SwigPyObject *sobj = (SwigPyObject *)v;
PyObject *obj = PyBool_FromLong(sobj->own);
if (val) {
#ifdef METH_NOARGS
if (PyObject_IsTrue(val)) {
SwigPyObject_acquire(v);
} else {
SwigPyObject_disown(v);
}
#else
if (PyObject_IsTrue(val)) {
SwigPyObject_acquire(v,args);
} else {
SwigPyObject_disown(v,args);
}
#endif
}
return obj;
}
}
#ifdef METH_O
static PyMethodDef
swigobject_methods[] = {
{(char *)"disown", (PyCFunction)SwigPyObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
{(char *)"acquire", (PyCFunction)SwigPyObject_acquire, METH_NOARGS, (char *)"acquires ownership of the pointer"},
{(char *)"own", (PyCFunction)SwigPyObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
{(char *)"append", (PyCFunction)SwigPyObject_append, METH_O, (char *)"appends another 'this' object"},
{(char *)"next", (PyCFunction)SwigPyObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
{(char *)"__repr__",(PyCFunction)SwigPyObject_repr, METH_NOARGS, (char *)"returns object representation"},
{0, 0, 0, 0}
};
#else
static PyMethodDef
swigobject_methods[] = {
{(char *)"disown", (PyCFunction)SwigPyObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
{(char *)"acquire", (PyCFunction)SwigPyObject_acquire, METH_VARARGS, (char *)"acquires ownership of the pointer"},
{(char *)"own", (PyCFunction)SwigPyObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
{(char *)"append", (PyCFunction)SwigPyObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
{(char *)"next", (PyCFunction)SwigPyObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
{(char *)"__repr__",(PyCFunction)SwigPyObject_repr, METH_VARARGS, (char *)"returns object representation"},
{0, 0, 0, 0}
};
#endif
#if PY_VERSION_HEX < 0x02020000
SWIGINTERN PyObject *
SwigPyObject_getattr(SwigPyObject *sobj,char *name)
{
return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
}
#endif
SWIGRUNTIME PyTypeObject*
SwigPyObject_TypeOnce(void) {
static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
static PyNumberMethods SwigPyObject_as_number = {
(binaryfunc)0, /*nb_add*/
(binaryfunc)0, /*nb_subtract*/
(binaryfunc)0, /*nb_multiply*/
/* nb_divide removed in Python 3 */
#if PY_VERSION_HEX < 0x03000000
(binaryfunc)0, /*nb_divide*/
#endif
(binaryfunc)0, /*nb_remainder*/
(binaryfunc)0, /*nb_divmod*/
(ternaryfunc)0,/*nb_power*/
(unaryfunc)0, /*nb_negative*/
(unaryfunc)0, /*nb_positive*/
(unaryfunc)0, /*nb_absolute*/
(inquiry)0, /*nb_nonzero*/
0, /*nb_invert*/
0, /*nb_lshift*/
0, /*nb_rshift*/
0, /*nb_and*/
0, /*nb_xor*/
0, /*nb_or*/
#if PY_VERSION_HEX < 0x03000000
0, /*nb_coerce*/
#endif
(unaryfunc)SwigPyObject_long, /*nb_int*/
#if PY_VERSION_HEX < 0x03000000
(unaryfunc)SwigPyObject_long, /*nb_long*/
#else
0, /*nb_reserved*/
#endif
(unaryfunc)0, /*nb_float*/
#if PY_VERSION_HEX < 0x03000000
(unaryfunc)SwigPyObject_oct, /*nb_oct*/
(unaryfunc)SwigPyObject_hex, /*nb_hex*/
#endif
#if PY_VERSION_HEX >= 0x03050000 /* 3.5 */
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_matrix_multiply */
#elif PY_VERSION_HEX >= 0x03000000 /* 3.0 */
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_index, nb_inplace_divide removed */
#elif PY_VERSION_HEX >= 0x02050000 /* 2.5.0 */
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_index */
#elif PY_VERSION_HEX >= 0x02020000 /* 2.2.0 */
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
#elif PY_VERSION_HEX >= 0x02000000 /* 2.0.0 */
0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
#endif
};
static PyTypeObject swigpyobject_type;
static int type_init = 0;
if (!type_init) {
const PyTypeObject tmp = {
#if PY_VERSION_HEX >= 0x03000000
PyVarObject_HEAD_INIT(NULL, 0)
#else
PyObject_HEAD_INIT(NULL)
0, /* ob_size */
#endif
(char *)"SwigPyObject", /* tp_name */
sizeof(SwigPyObject), /* tp_basicsize */
0, /* tp_itemsize */
(destructor)SwigPyObject_dealloc, /* tp_dealloc */
0, /* tp_print */
#if PY_VERSION_HEX < 0x02020000
(getattrfunc)SwigPyObject_getattr, /* tp_getattr */
#else
(getattrfunc)0, /* tp_getattr */
#endif
(setattrfunc)0, /* tp_setattr */
#if PY_VERSION_HEX >= 0x03000000
0, /* tp_reserved in 3.0.1, tp_compare in 3.0.0 but not used */
#else
(cmpfunc)SwigPyObject_compare, /* tp_compare */
#endif
(reprfunc)SwigPyObject_repr, /* tp_repr */
&SwigPyObject_as_number, /* tp_as_number */
0, /* tp_as_sequence */
0, /* tp_as_mapping */
(hashfunc)0, /* tp_hash */
(ternaryfunc)0, /* tp_call */
0, /* tp_str */
PyObject_GenericGetAttr, /* tp_getattro */
0, /* tp_setattro */
0, /* tp_as_buffer */
Py_TPFLAGS_DEFAULT, /* tp_flags */
swigobject_doc, /* tp_doc */
0, /* tp_traverse */
0, /* tp_clear */
(richcmpfunc)SwigPyObject_richcompare,/* tp_richcompare */
0, /* tp_weaklistoffset */
#if PY_VERSION_HEX >= 0x02020000
0, /* tp_iter */
0, /* tp_iternext */
swigobject_methods, /* tp_methods */
0, /* tp_members */
0, /* tp_getset */
0, /* tp_base */
0, /* tp_dict */
0, /* tp_descr_get */
0, /* tp_descr_set */
0, /* tp_dictoffset */
0, /* tp_init */
0, /* tp_alloc */
0, /* tp_new */
0, /* tp_free */
0, /* tp_is_gc */
0, /* tp_bases */
0, /* tp_mro */
0, /* tp_cache */
0, /* tp_subclasses */
0, /* tp_weaklist */
#endif
#if PY_VERSION_HEX >= 0x02030000
0, /* tp_del */
#endif
#if PY_VERSION_HEX >= 0x02060000
0, /* tp_version_tag */
#endif
#if PY_VERSION_HEX >= 0x03040000
0, /* tp_finalize */
#endif
#ifdef COUNT_ALLOCS
0, /* tp_allocs */
0, /* tp_frees */
0, /* tp_maxalloc */
#if PY_VERSION_HEX >= 0x02050000
0, /* tp_prev */
#endif
0 /* tp_next */
#endif
};
swigpyobject_type = tmp;
type_init = 1;
#if PY_VERSION_HEX < 0x02020000
swigpyobject_type.ob_type = &PyType_Type;
#else
if (PyType_Ready(&swigpyobject_type) < 0)
return NULL;
#endif
}
return &swigpyobject_type;
}
SWIGRUNTIME PyObject *
SwigPyObject_New(void *ptr, swig_type_info *ty, int own)
{
SwigPyObject *sobj = PyObject_NEW(SwigPyObject, SwigPyObject_type());
if (sobj) {
sobj->ptr = ptr;
sobj->ty = ty;
sobj->own = own;
sobj->next = 0;
}
return (PyObject *)sobj;
}
/* -----------------------------------------------------------------------------
* Implements a simple Swig Packed type, and use it instead of string
* ----------------------------------------------------------------------------- */
typedef struct {
PyObject_HEAD
void *pack;
swig_type_info *ty;
size_t size;
} SwigPyPacked;
SWIGRUNTIME int
SwigPyPacked_print(SwigPyPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
{
char result[SWIG_BUFFER_SIZE];
fputs("<Swig Packed ", fp);
if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
fputs("at ", fp);
fputs(result, fp);
}
fputs(v->ty->name,fp);
fputs(">", fp);
return 0;
}
SWIGRUNTIME PyObject *
SwigPyPacked_repr(SwigPyPacked *v)
{
char result[SWIG_BUFFER_SIZE];
if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
return SWIG_Python_str_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
} else {
return SWIG_Python_str_FromFormat("<Swig Packed %s>", v->ty->name);
}
}
SWIGRUNTIME PyObject *
SwigPyPacked_str(SwigPyPacked *v)
{
char result[SWIG_BUFFER_SIZE];
if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
return SWIG_Python_str_FromFormat("%s%s", result, v->ty->name);
} else {
return SWIG_Python_str_FromChar(v->ty->name);
}
}
SWIGRUNTIME int
SwigPyPacked_compare(SwigPyPacked *v, SwigPyPacked *w)
{
size_t i = v->size;
size_t j = w->size;
int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
}
SWIGRUNTIME PyTypeObject* SwigPyPacked_TypeOnce(void);
SWIGRUNTIME PyTypeObject*
SwigPyPacked_type(void) {
static PyTypeObject *SWIG_STATIC_POINTER(type) = SwigPyPacked_TypeOnce();
return type;
}
SWIGRUNTIMEINLINE int
SwigPyPacked_Check(PyObject *op) {
return ((op)->ob_type == SwigPyPacked_TypeOnce())
|| (strcmp((op)->ob_type->tp_name,"SwigPyPacked") == 0);
}
SWIGRUNTIME void
SwigPyPacked_dealloc(PyObject *v)
{
if (SwigPyPacked_Check(v)) {
SwigPyPacked *sobj = (SwigPyPacked *) v;
free(sobj->pack);
}
PyObject_DEL(v);
}
SWIGRUNTIME PyTypeObject*
SwigPyPacked_TypeOnce(void) {
static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
static PyTypeObject swigpypacked_type;
static int type_init = 0;
if (!type_init) {
const PyTypeObject tmp = {
#if PY_VERSION_HEX>=0x03000000
PyVarObject_HEAD_INIT(NULL, 0)
#else
PyObject_HEAD_INIT(NULL)
0, /* ob_size */
#endif
(char *)"SwigPyPacked", /* tp_name */
sizeof(SwigPyPacked), /* tp_basicsize */
0, /* tp_itemsize */
(destructor)SwigPyPacked_dealloc, /* tp_dealloc */
(printfunc)SwigPyPacked_print, /* tp_print */
(getattrfunc)0, /* tp_getattr */
(setattrfunc)0, /* tp_setattr */
#if PY_VERSION_HEX>=0x03000000
0, /* tp_reserved in 3.0.1 */
#else
(cmpfunc)SwigPyPacked_compare, /* tp_compare */
#endif
(reprfunc)SwigPyPacked_repr, /* tp_repr */
0, /* tp_as_number */
0, /* tp_as_sequence */
0, /* tp_as_mapping */
(hashfunc)0, /* tp_hash */
(ternaryfunc)0, /* tp_call */
(reprfunc)SwigPyPacked_str, /* tp_str */
PyObject_GenericGetAttr, /* tp_getattro */
0, /* tp_setattro */
0, /* tp_as_buffer */
Py_TPFLAGS_DEFAULT, /* tp_flags */
swigpacked_doc, /* tp_doc */
0, /* tp_traverse */
0, /* tp_clear */
0, /* tp_richcompare */
0, /* tp_weaklistoffset */
#if PY_VERSION_HEX >= 0x02020000
0, /* tp_iter */
0, /* tp_iternext */
0, /* tp_methods */
0, /* tp_members */
0, /* tp_getset */
0, /* tp_base */
0, /* tp_dict */
0, /* tp_descr_get */
0, /* tp_descr_set */
0, /* tp_dictoffset */
0, /* tp_init */
0, /* tp_alloc */
0, /* tp_new */
0, /* tp_free */
0, /* tp_is_gc */
0, /* tp_bases */
0, /* tp_mro */
0, /* tp_cache */
0, /* tp_subclasses */
0, /* tp_weaklist */
#endif
#if PY_VERSION_HEX >= 0x02030000
0, /* tp_del */
#endif
#if PY_VERSION_HEX >= 0x02060000
0, /* tp_version_tag */
#endif
#if PY_VERSION_HEX >= 0x03040000
0, /* tp_finalize */
#endif
#ifdef COUNT_ALLOCS
0, /* tp_allocs */
0, /* tp_frees */
0, /* tp_maxalloc */
#if PY_VERSION_HEX >= 0x02050000
0, /* tp_prev */
#endif
0 /* tp_next */
#endif
};
swigpypacked_type = tmp;
type_init = 1;
#if PY_VERSION_HEX < 0x02020000
swigpypacked_type.ob_type = &PyType_Type;
#else
if (PyType_Ready(&swigpypacked_type) < 0)
return NULL;
#endif
}
return &swigpypacked_type;
}
SWIGRUNTIME PyObject *
SwigPyPacked_New(void *ptr, size_t size, swig_type_info *ty)
{
SwigPyPacked *sobj = PyObject_NEW(SwigPyPacked, SwigPyPacked_type());
if (sobj) {
void *pack = malloc(size);
if (pack) {
memcpy(pack, ptr, size);
sobj->pack = pack;
sobj->ty = ty;
sobj->size = size;
} else {
PyObject_DEL((PyObject *) sobj);
sobj = 0;
}
}
return (PyObject *) sobj;
}
SWIGRUNTIME swig_type_info *
SwigPyPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
{
if (SwigPyPacked_Check(obj)) {
SwigPyPacked *sobj = (SwigPyPacked *)obj;
if (sobj->size != size) return 0;
memcpy(ptr, sobj->pack, size);
return sobj->ty;
} else {
return 0;
}
}
/* -----------------------------------------------------------------------------
* pointers/data manipulation
* ----------------------------------------------------------------------------- */
SWIGRUNTIMEINLINE PyObject *
_SWIG_This(void)
{
return SWIG_Python_str_FromChar("this");
}
static PyObject *swig_this = NULL;
SWIGRUNTIME PyObject *
SWIG_This(void)
{
if (swig_this == NULL)
swig_this = _SWIG_This();
return swig_this;
}
/* #define SWIG_PYTHON_SLOW_GETSET_THIS */
/* TODO: I don't know how to implement the fast getset in Python 3 right now */
#if PY_VERSION_HEX>=0x03000000
#define SWIG_PYTHON_SLOW_GETSET_THIS
#endif
SWIGRUNTIME SwigPyObject *
SWIG_Python_GetSwigThis(PyObject *pyobj)
{
PyObject *obj;
if (SwigPyObject_Check(pyobj))
return (SwigPyObject *) pyobj;
#ifdef SWIGPYTHON_BUILTIN
(void)obj;
# ifdef PyWeakref_CheckProxy
if (PyWeakref_CheckProxy(pyobj)) {
pyobj = PyWeakref_GET_OBJECT(pyobj);
if (pyobj && SwigPyObject_Check(pyobj))
return (SwigPyObject*) pyobj;
}
# endif
return NULL;
#else
obj = 0;
#if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
if (PyInstance_Check(pyobj)) {
obj = _PyInstance_Lookup(pyobj, SWIG_This());
} else {
PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
if (dictptr != NULL) {
PyObject *dict = *dictptr;
obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
} else {
#ifdef PyWeakref_CheckProxy
if (PyWeakref_CheckProxy(pyobj)) {
PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
}
#endif
obj = PyObject_GetAttr(pyobj,SWIG_This());
if (obj) {
Py_DECREF(obj);
} else {
if (PyErr_Occurred()) PyErr_Clear();
return 0;
}
}
}
#else
obj = PyObject_GetAttr(pyobj,SWIG_This());
if (obj) {
Py_DECREF(obj);
} else {
if (PyErr_Occurred()) PyErr_Clear();
return 0;
}
#endif
if (obj && !SwigPyObject_Check(obj)) {
/* a PyObject is called 'this', try to get the 'real this'
SwigPyObject from it */
return SWIG_Python_GetSwigThis(obj);
}
return (SwigPyObject *)obj;
#endif
}
/* Acquire a pointer value */
SWIGRUNTIME int
SWIG_Python_AcquirePtr(PyObject *obj, int own) {
if (own == SWIG_POINTER_OWN) {
SwigPyObject *sobj = SWIG_Python_GetSwigThis(obj);
if (sobj) {
int oldown = sobj->own;
sobj->own = own;
return oldown;
}
}
return 0;
}
/* Convert a pointer value */
SWIGRUNTIME int
SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
int res;
SwigPyObject *sobj;
int implicit_conv = (flags & SWIG_POINTER_IMPLICIT_CONV) != 0;
if (!obj)
return SWIG_ERROR;
if (obj == Py_None && !implicit_conv) {
if (ptr)
*ptr = 0;
return SWIG_OK;
}
res = SWIG_ERROR;
sobj = SWIG_Python_GetSwigThis(obj);
if (own)
*own = 0;
while (sobj) {
void *vptr = sobj->ptr;
if (ty) {
swig_type_info *to = sobj->ty;
if (to == ty) {
/* no type cast needed */
if (ptr) *ptr = vptr;
break;
} else {
swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
if (!tc) {
sobj = (SwigPyObject *)sobj->next;
} else {
if (ptr) {
int newmemory = 0;
*ptr = SWIG_TypeCast(tc,vptr,&newmemory);
if (newmemory == SWIG_CAST_NEW_MEMORY) {
assert(own); /* badly formed typemap which will lead to a memory leak - it must set and use own to delete *ptr */
if (own)
*own = *own | SWIG_CAST_NEW_MEMORY;
}
}
break;
}
}
} else {
if (ptr) *ptr = vptr;
break;
}
}
if (sobj) {
if (own)
*own = *own | sobj->own;
if (flags & SWIG_POINTER_DISOWN) {
sobj->own = 0;
}
res = SWIG_OK;
} else {
if (implicit_conv) {
SwigPyClientData *data = ty ? (SwigPyClientData *) ty->clientdata : 0;
if (data && !data->implicitconv) {
PyObject *klass = data->klass;
if (klass) {
PyObject *impconv;
data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
impconv = SWIG_Python_CallFunctor(klass, obj);
data->implicitconv = 0;
if (PyErr_Occurred()) {
PyErr_Clear();
impconv = 0;
}
if (impconv) {
SwigPyObject *iobj = SWIG_Python_GetSwigThis(impconv);
if (iobj) {
void *vptr;
res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
if (SWIG_IsOK(res)) {
if (ptr) {
*ptr = vptr;
/* transfer the ownership to 'ptr' */
iobj->own = 0;
res = SWIG_AddCast(res);
res = SWIG_AddNewMask(res);
} else {
res = SWIG_AddCast(res);
}
}
}
Py_DECREF(impconv);
}
}
}
}
if (!SWIG_IsOK(res) && obj == Py_None) {
if (ptr)
*ptr = 0;
if (PyErr_Occurred())
PyErr_Clear();
res = SWIG_OK;
}
}
return res;
}
/* Convert a function ptr value */
SWIGRUNTIME int
SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
if (!PyCFunction_Check(obj)) {
return SWIG_ConvertPtr(obj, ptr, ty, 0);
} else {
void *vptr = 0;
/* here we get the method pointer for callbacks */
const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
if (desc)
desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
if (!desc)
return SWIG_ERROR;
if (ty) {
swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
if (tc) {
int newmemory = 0;
*ptr = SWIG_TypeCast(tc,vptr,&newmemory);
assert(!newmemory); /* newmemory handling not yet implemented */
} else {
return SWIG_ERROR;
}
} else {
*ptr = vptr;
}
return SWIG_OK;
}
}
/* Convert a packed value value */
SWIGRUNTIME int
SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
swig_type_info *to = SwigPyPacked_UnpackData(obj, ptr, sz);
if (!to) return SWIG_ERROR;
if (ty) {
if (to != ty) {
/* check type cast? */
swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
if (!tc) return SWIG_ERROR;
}
}
return SWIG_OK;
}
/* -----------------------------------------------------------------------------
* Create a new pointer object
* ----------------------------------------------------------------------------- */
/*
Create a new instance object, without calling __init__, and set the
'this' attribute.
*/
SWIGRUNTIME PyObject*
SWIG_Python_NewShadowInstance(SwigPyClientData *data, PyObject *swig_this)
{
#if (PY_VERSION_HEX >= 0x02020000)
PyObject *inst = 0;
PyObject *newraw = data->newraw;
if (newraw) {
inst = PyObject_Call(newraw, data->newargs, NULL);
if (inst) {
#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
PyObject **dictptr = _PyObject_GetDictPtr(inst);
if (dictptr != NULL) {
PyObject *dict = *dictptr;
if (dict == NULL) {
dict = PyDict_New();
*dictptr = dict;
PyDict_SetItem(dict, SWIG_This(), swig_this);
}
}
#else
PyObject *key = SWIG_This();
PyObject_SetAttr(inst, key, swig_this);
#endif
}
} else {
#if PY_VERSION_HEX >= 0x03000000
inst = ((PyTypeObject*) data->newargs)->tp_new((PyTypeObject*) data->newargs, Py_None, Py_None);
if (inst) {
PyObject_SetAttr(inst, SWIG_This(), swig_this);
Py_TYPE(inst)->tp_flags &= ~Py_TPFLAGS_VALID_VERSION_TAG;
}
#else
PyObject *dict = PyDict_New();
if (dict) {
PyDict_SetItem(dict, SWIG_This(), swig_this);
inst = PyInstance_NewRaw(data->newargs, dict);
Py_DECREF(dict);
}
#endif
}
return inst;
#else
#if (PY_VERSION_HEX >= 0x02010000)
PyObject *inst = 0;
PyObject *dict = PyDict_New();
if (dict) {
PyDict_SetItem(dict, SWIG_This(), swig_this);
inst = PyInstance_NewRaw(data->newargs, dict);
Py_DECREF(dict);
}
return (PyObject *) inst;
#else
PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
if (inst == NULL) {
return NULL;
}
inst->in_class = (PyClassObject *)data->newargs;
Py_INCREF(inst->in_class);
inst->in_dict = PyDict_New();
if (inst->in_dict == NULL) {
Py_DECREF(inst);
return NULL;
}
#ifdef Py_TPFLAGS_HAVE_WEAKREFS
inst->in_weakreflist = NULL;
#endif
#ifdef Py_TPFLAGS_GC
PyObject_GC_Init(inst);
#endif
PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
return (PyObject *) inst;
#endif
#endif
}
SWIGRUNTIME void
SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
{
PyObject *dict;
#if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
PyObject **dictptr = _PyObject_GetDictPtr(inst);
if (dictptr != NULL) {
dict = *dictptr;
if (dict == NULL) {
dict = PyDict_New();
*dictptr = dict;
}
PyDict_SetItem(dict, SWIG_This(), swig_this);
return;
}
#endif
dict = PyObject_GetAttrString(inst, (char*)"__dict__");
PyDict_SetItem(dict, SWIG_This(), swig_this);
Py_DECREF(dict);
}
SWIGINTERN PyObject *
SWIG_Python_InitShadowInstance(PyObject *args) {
PyObject *obj[2];
if (!SWIG_Python_UnpackTuple(args, "swiginit", 2, 2, obj)) {
return NULL;
} else {
SwigPyObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
if (sthis) {
SwigPyObject_append((PyObject*) sthis, obj[1]);
} else {
SWIG_Python_SetSwigThis(obj[0], obj[1]);
}
return SWIG_Py_Void();
}
}
/* Create a new pointer object */
SWIGRUNTIME PyObject *
SWIG_Python_NewPointerObj(PyObject *self, void *ptr, swig_type_info *type, int flags) {
SwigPyClientData *clientdata;
PyObject * robj;
int own;
if (!ptr)
return SWIG_Py_Void();
clientdata = type ? (SwigPyClientData *)(type->clientdata) : 0;
own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
if (clientdata && clientdata->pytype) {
SwigPyObject *newobj;
if (flags & SWIG_BUILTIN_TP_INIT) {
newobj = (SwigPyObject*) self;
if (newobj->ptr) {
PyObject *next_self = clientdata->pytype->tp_alloc(clientdata->pytype, 0);
while (newobj->next)
newobj = (SwigPyObject *) newobj->next;
newobj->next = next_self;
newobj = (SwigPyObject *)next_self;
#ifdef SWIGPYTHON_BUILTIN
newobj->dict = 0;
#endif
}
} else {
newobj = PyObject_New(SwigPyObject, clientdata->pytype);
#ifdef SWIGPYTHON_BUILTIN
newobj->dict = 0;
#endif
}
if (newobj) {
newobj->ptr = ptr;
newobj->ty = type;
newobj->own = own;
newobj->next = 0;
return (PyObject*) newobj;
}
return SWIG_Py_Void();
}
assert(!(flags & SWIG_BUILTIN_TP_INIT));
robj = SwigPyObject_New(ptr, type, own);
if (robj && clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
Py_DECREF(robj);
robj = inst;
}
return robj;
}
/* Create a new packed object */
SWIGRUNTIMEINLINE PyObject *
SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
return ptr ? SwigPyPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
}
/* -----------------------------------------------------------------------------*
* Get type list
* -----------------------------------------------------------------------------*/
#ifdef SWIG_LINK_RUNTIME
void *SWIG_ReturnGlobalTypeList(void *);
#endif
SWIGRUNTIME swig_module_info *
SWIG_Python_GetModule(void *SWIGUNUSEDPARM(clientdata)) {
static void *type_pointer = (void *)0;
/* first check if module already created */
if (!type_pointer) {
#ifdef SWIG_LINK_RUNTIME
type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
#else
# ifdef SWIGPY_USE_CAPSULE
type_pointer = PyCapsule_Import(SWIGPY_CAPSULE_NAME, 0);
# else
type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
(char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
# endif
if (PyErr_Occurred()) {
PyErr_Clear();
type_pointer = (void *)0;
}
#endif
}
return (swig_module_info *) type_pointer;
}
#if PY_MAJOR_VERSION < 2
/* PyModule_AddObject function was introduced in Python 2.0. The following function
is copied out of Python/modsupport.c in python version 2.3.4 */
SWIGINTERN int
PyModule_AddObject(PyObject *m, char *name, PyObject *o)
{
PyObject *dict;
if (!PyModule_Check(m)) {
PyErr_SetString(PyExc_TypeError, "PyModule_AddObject() needs module as first arg");
return SWIG_ERROR;
}
if (!o) {
PyErr_SetString(PyExc_TypeError, "PyModule_AddObject() needs non-NULL value");
return SWIG_ERROR;
}
dict = PyModule_GetDict(m);
if (dict == NULL) {
/* Internal error -- modules must have a dict! */
PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
PyModule_GetName(m));
return SWIG_ERROR;
}
if (PyDict_SetItemString(dict, name, o))
return SWIG_ERROR;
Py_DECREF(o);
return SWIG_OK;
}
#endif
SWIGRUNTIME void
#ifdef SWIGPY_USE_CAPSULE
SWIG_Python_DestroyModule(PyObject *obj)
#else
SWIG_Python_DestroyModule(void *vptr)
#endif
{
#ifdef SWIGPY_USE_CAPSULE
swig_module_info *swig_module = (swig_module_info *) PyCapsule_GetPointer(obj, SWIGPY_CAPSULE_NAME);
#else
swig_module_info *swig_module = (swig_module_info *) vptr;
#endif
swig_type_info **types = swig_module->types;
size_t i;
for (i =0; i < swig_module->size; ++i) {
swig_type_info *ty = types[i];
if (ty->owndata) {
SwigPyClientData *data = (SwigPyClientData *) ty->clientdata;
if (data) SwigPyClientData_Del(data);
}
}
Py_DECREF(SWIG_This());
swig_this = NULL;
}
SWIGRUNTIME void
SWIG_Python_SetModule(swig_module_info *swig_module) {
#if PY_VERSION_HEX >= 0x03000000
/* Add a dummy module object into sys.modules */
PyObject *module = PyImport_AddModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION);
#else
static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} }; /* Sentinel */
PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, swig_empty_runtime_method_table);
#endif
#ifdef SWIGPY_USE_CAPSULE
PyObject *pointer = PyCapsule_New((void *) swig_module, SWIGPY_CAPSULE_NAME, SWIG_Python_DestroyModule);
if (pointer && module) {
PyModule_AddObject(module, (char*)"type_pointer_capsule" SWIG_TYPE_TABLE_NAME, pointer);
} else {
Py_XDECREF(pointer);
}
#else
PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
if (pointer && module) {
PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
} else {
Py_XDECREF(pointer);
}
#endif
}
/* The python cached type query */
SWIGRUNTIME PyObject *
SWIG_Python_TypeCache(void) {
static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
return cache;
}
SWIGRUNTIME swig_type_info *
SWIG_Python_TypeQuery(const char *type)
{
PyObject *cache = SWIG_Python_TypeCache();
PyObject *key = SWIG_Python_str_FromChar(type);
PyObject *obj = PyDict_GetItem(cache, key);
swig_type_info *descriptor;
if (obj) {
#ifdef SWIGPY_USE_CAPSULE
descriptor = (swig_type_info *) PyCapsule_GetPointer(obj, NULL);
#else
descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
#endif
} else {
swig_module_info *swig_module = SWIG_GetModule(0);
descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
if (descriptor) {
#ifdef SWIGPY_USE_CAPSULE
obj = PyCapsule_New((void*) descriptor, NULL, NULL);
#else
obj = PyCObject_FromVoidPtr(descriptor, NULL);
#endif
PyDict_SetItem(cache, key, obj);
Py_DECREF(obj);
}
}
Py_DECREF(key);
return descriptor;
}
/*
For backward compatibility only
*/
#define SWIG_POINTER_EXCEPTION 0
#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
SWIGRUNTIME int
SWIG_Python_AddErrMesg(const char* mesg, int infront)
{
if (PyErr_Occurred()) {
PyObject *type = 0;
PyObject *value = 0;
PyObject *traceback = 0;
PyErr_Fetch(&type, &value, &traceback);
if (value) {
char *tmp;
PyObject *old_str = PyObject_Str(value);
Py_XINCREF(type);
PyErr_Clear();
if (infront) {
PyErr_Format(type, "%s %s", mesg, tmp = SWIG_Python_str_AsChar(old_str));
} else {
PyErr_Format(type, "%s %s", tmp = SWIG_Python_str_AsChar(old_str), mesg);
}
SWIG_Python_str_DelForPy3(tmp);
Py_DECREF(old_str);
}
return 1;
} else {
return 0;
}
}
SWIGRUNTIME int
SWIG_Python_ArgFail(int argnum)
{
if (PyErr_Occurred()) {
/* add information about failing argument */
char mesg[256];
PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
return SWIG_Python_AddErrMesg(mesg, 1);
} else {
return 0;
}
}
SWIGRUNTIMEINLINE const char *
SwigPyObject_GetDesc(PyObject *self)
{
SwigPyObject *v = (SwigPyObject *)self;
swig_type_info *ty = v ? v->ty : 0;
return ty ? ty->str : "";
}
SWIGRUNTIME void
SWIG_Python_TypeError(const char *type, PyObject *obj)
{
if (type) {
#if defined(SWIG_COBJECT_TYPES)
if (obj && SwigPyObject_Check(obj)) {
const char *otype = (const char *) SwigPyObject_GetDesc(obj);
if (otype) {
PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'SwigPyObject(%s)' is received",
type, otype);
return;
}
} else
#endif
{
const char *otype = (obj ? obj->ob_type->tp_name : 0);
if (otype) {
PyObject *str = PyObject_Str(obj);
const char *cstr = str ? SWIG_Python_str_AsChar(str) : 0;
if (cstr) {
PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
type, otype, cstr);
SWIG_Python_str_DelForPy3(cstr);
} else {
PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
type, otype);
}
Py_XDECREF(str);
return;
}
}
PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
} else {
PyErr_Format(PyExc_TypeError, "unexpected type is received");
}
}
/* Convert a pointer value, signal an exception on a type mismatch */
SWIGRUNTIME void *
SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int SWIGUNUSEDPARM(argnum), int flags) {
void *result;
if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
PyErr_Clear();
#if SWIG_POINTER_EXCEPTION
if (flags) {
SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
SWIG_Python_ArgFail(argnum);
}
#endif
}
return result;
}
#ifdef SWIGPYTHON_BUILTIN
SWIGRUNTIME int
SWIG_Python_NonDynamicSetAttr(PyObject *obj, PyObject *name, PyObject *value) {
PyTypeObject *tp = obj->ob_type;
PyObject *descr;
PyObject *encoded_name;
descrsetfunc f;
int res = -1;
# ifdef Py_USING_UNICODE
if (PyString_Check(name)) {
name = PyUnicode_Decode(PyString_AsString(name), PyString_Size(name), NULL, NULL);
if (!name)
return -1;
} else if (!PyUnicode_Check(name))
# else
if (!PyString_Check(name))
# endif
{
PyErr_Format(PyExc_TypeError, "attribute name must be string, not '%.200s'", name->ob_type->tp_name);
return -1;
} else {
Py_INCREF(name);
}
if (!tp->tp_dict) {
if (PyType_Ready(tp) < 0)
goto done;
}
descr = _PyType_Lookup(tp, name);
f = NULL;
if (descr != NULL)
f = descr->ob_type->tp_descr_set;
if (!f) {
if (PyString_Check(name)) {
encoded_name = name;
Py_INCREF(name);
} else {
encoded_name = PyUnicode_AsUTF8String(name);
}
PyErr_Format(PyExc_AttributeError, "'%.100s' object has no attribute '%.200s'", tp->tp_name, PyString_AsString(encoded_name));
Py_DECREF(encoded_name);
} else {
res = f(descr, obj, value);
}
done:
Py_DECREF(name);
return res;
}
#endif
#ifdef __cplusplus
}
#endif
#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
#define SWIG_exception(code, msg) do { SWIG_Error(code, msg); SWIG_fail;; } while(0)
/* -------- TYPES TABLE (BEGIN) -------- */
#define SWIGTYPE_p_BackfillingBuffer swig_types[0]
#define SWIGTYPE_p_BufferPtr swig_types[1]
#define SWIGTYPE_p_Gempa__CAPS__AnyDataRecord swig_types[2]
#define SWIGTYPE_p_Gempa__CAPS__DataRecord swig_types[3]
#define SWIGTYPE_p_Gempa__CAPS__DataRecord__Header swig_types[4]
#define SWIGTYPE_p_Gempa__CAPS__DataRecord__ReadStatus swig_types[5]
#define SWIGTYPE_p_Gempa__CAPS__Encoder swig_types[6]
#define SWIGTYPE_p_Gempa__CAPS__EncoderFactory swig_types[7]
#define SWIGTYPE_p_Gempa__CAPS__FixedRawDataRecord swig_types[8]
#define SWIGTYPE_p_Gempa__CAPS__IdentityEncoderFactory swig_types[9]
#define SWIGTYPE_p_Gempa__CAPS__MSEEDDataRecord swig_types[10]
#define SWIGTYPE_p_Gempa__CAPS__MSEEDEncoderFactory swig_types[11]
#define SWIGTYPE_p_Gempa__CAPS__MetaPacket swig_types[12]
#define SWIGTYPE_p_Gempa__CAPS__Packet swig_types[13]
#define SWIGTYPE_p_Gempa__CAPS__PacketDataHeader swig_types[14]
#define SWIGTYPE_p_Gempa__CAPS__PacketDataHeaderV2 swig_types[15]
#define SWIGTYPE_p_Gempa__CAPS__PacketHeaderV1 swig_types[16]
#define SWIGTYPE_p_Gempa__CAPS__PacketHeaderV2 swig_types[17]
#define SWIGTYPE_p_Gempa__CAPS__Plugin swig_types[18]
#define SWIGTYPE_p_Gempa__CAPS__Plugin__Stats swig_types[19]
#define SWIGTYPE_p_Gempa__CAPS__Quality swig_types[20]
#define SWIGTYPE_p_Gempa__CAPS__RIFF__Chunk swig_types[21]
#define SWIGTYPE_p_Gempa__CAPS__RIFF__ChunkHeader swig_types[22]
#define SWIGTYPE_p_Gempa__CAPS__RIFF__ChunkIterator swig_types[23]
#define SWIGTYPE_p_Gempa__CAPS__RIFF__HeadChunk swig_types[24]
#define SWIGTYPE_p_Gempa__CAPS__RIFF__SID swig_types[25]
#define SWIGTYPE_p_Gempa__CAPS__RIFF__SIDChunk swig_types[26]
#define SWIGTYPE_p_Gempa__CAPS__RTCM2DataRecord swig_types[27]
#define SWIGTYPE_p_Gempa__CAPS__RawDataRecord swig_types[28]
#define SWIGTYPE_p_Gempa__CAPS__RawPacket swig_types[29]
#define SWIGTYPE_p_Gempa__CAPS__RawResponseHeader swig_types[30]
#define SWIGTYPE_p_Gempa__CAPS__ResponseHeader swig_types[31]
#define SWIGTYPE_p_Gempa__CAPS__SPClock swig_types[32]
#define SWIGTYPE_p_Gempa__CAPS__SSLSocket swig_types[33]
#define SWIGTYPE_p_Gempa__CAPS__Socket swig_types[34]
#define SWIGTYPE_p_Gempa__CAPS__Socket__Device__Status swig_types[35]
#define SWIGTYPE_p_Gempa__CAPS__Steim1EncoderFactory swig_types[36]
#define SWIGTYPE_p_Gempa__CAPS__Steim2EncoderFactory swig_types[37]
#define SWIGTYPE_p_Gempa__CAPS__SteimEncoderFactory swig_types[38]
#define SWIGTYPE_p_Gempa__CAPS__Time swig_types[39]
#define SWIGTYPE_p_Gempa__CAPS__TimeSpan swig_types[40]
#define SWIGTYPE_p_Gempa__CAPS__TimeStamp swig_types[41]
#define SWIGTYPE_p_Gempa__CAPS__UOM swig_types[42]
#define SWIGTYPE_p_Gempa__CAPS__arraybuf swig_types[43]
#define SWIGTYPE_p_INT_TIME swig_types[44]
#define SWIGTYPE_p_PacketAckFunc swig_types[45]
#define SWIGTYPE_p_SSL_CTX swig_types[46]
#define SWIGTYPE_p_StreamStates swig_types[47]
#define SWIGTYPE_p_X509 swig_types[48]
#define SWIGTYPE_p_boost__functionT_void_fstd__string_const_R_Gempa__CAPS__Time_const_R_Gempa__CAPS__Time_const_RF_t swig_types[49]
#define SWIGTYPE_p_boost__shared_ptrT_Gempa__CAPS__DataRecord_t swig_types[50]
#define SWIGTYPE_p_boost__shared_ptrT_Gempa__CAPS__Packet__Buffer_t swig_types[51]
#define SWIGTYPE_p_boost__shared_ptrT_Gempa__CAPS__Packet_t swig_types[52]
#define SWIGTYPE_p_boost__shared_ptrT_Gempa__CAPS__Plugin_t swig_types[53]
#define SWIGTYPE_p_boost__shared_ptrT_Gempa__CAPS__SSLSocket_t swig_types[54]
#define SWIGTYPE_p_boost__shared_ptrT_Gempa__CAPS__Socket_t swig_types[55]
#define SWIGTYPE_p_char swig_types[56]
#define SWIGTYPE_p_charArray swig_types[57]
#define SWIGTYPE_p_count_t swig_types[58]
#define SWIGTYPE_p_f_p_q_const__char_v_______void swig_types[59]
#define SWIGTYPE_p_int swig_types[60]
#define SWIGTYPE_p_long_long swig_types[61]
#define SWIGTYPE_p_off_type swig_types[62]
#define SWIGTYPE_p_p_f_p_q_const__char_v_______void swig_types[63]
#define SWIGTYPE_p_pos_type swig_types[64]
#define SWIGTYPE_p_short swig_types[65]
#define SWIGTYPE_p_signed_char swig_types[66]
#define SWIGTYPE_p_std__ios_base__openmode swig_types[67]
#define SWIGTYPE_p_std__ios_base__seekdir swig_types[68]
#define SWIGTYPE_p_std__istream swig_types[69]
#define SWIGTYPE_p_std__mapT_std__string_Gempa__CAPS__Plugin__StreamState_t swig_types[70]
#define SWIGTYPE_p_std__ostream swig_types[71]
#define SWIGTYPE_p_std__streambuf swig_types[72]
#define SWIGTYPE_p_std__streambuf__off_type swig_types[73]
#define SWIGTYPE_p_std__streambuf__pos_type swig_types[74]
#define SWIGTYPE_p_std__streampos swig_types[75]
#define SWIGTYPE_p_std__streamsize swig_types[76]
#define SWIGTYPE_p_std__string swig_types[77]
#define SWIGTYPE_p_std__vectorT_char_t swig_types[78]
#define SWIGTYPE_p_timeval swig_types[79]
#define SWIGTYPE_p_uint swig_types[80]
#define SWIGTYPE_p_unsigned_char swig_types[81]
#define SWIGTYPE_p_unsigned_int swig_types[82]
#define SWIGTYPE_p_unsigned_long_long swig_types[83]
#define SWIGTYPE_p_unsigned_short swig_types[84]
static swig_type_info *swig_types[86];
static swig_module_info swig_module = {swig_types, 85, 0, 0, 0, 0};
#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
/* -------- TYPES TABLE (END) -------- */
#if (PY_VERSION_HEX <= 0x02000000)
# if !defined(SWIG_PYTHON_CLASSIC)
# error "This python version requires swig to be run with the '-classic' option"
# endif
#endif
/*-----------------------------------------------
@(target):= _CAPS.so
------------------------------------------------*/
#if PY_VERSION_HEX >= 0x03000000
# define SWIG_init PyInit__CAPS
#else
# define SWIG_init init_CAPS
#endif
#define SWIG_name "_CAPS"
#define SWIGVERSION 0x030012
#define SWIG_VERSION SWIGVERSION
#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
#include <stdexcept>
namespace swig {
class SwigPtr_PyObject {
protected:
PyObject *_obj;
public:
SwigPtr_PyObject() :_obj(0)
{
}
SwigPtr_PyObject(const SwigPtr_PyObject& item) : _obj(item._obj)
{
SWIG_PYTHON_THREAD_BEGIN_BLOCK;
Py_XINCREF(_obj);
SWIG_PYTHON_THREAD_END_BLOCK;
}
SwigPtr_PyObject(PyObject *obj, bool initial_ref = true) :_obj(obj)
{
if (initial_ref) {
SWIG_PYTHON_THREAD_BEGIN_BLOCK;
Py_XINCREF(_obj);
SWIG_PYTHON_THREAD_END_BLOCK;
}
}
SwigPtr_PyObject & operator=(const SwigPtr_PyObject& item)
{
SWIG_PYTHON_THREAD_BEGIN_BLOCK;
Py_XINCREF(item._obj);
Py_XDECREF(_obj);
_obj = item._obj;
SWIG_PYTHON_THREAD_END_BLOCK;
return *this;
}
~SwigPtr_PyObject()
{
SWIG_PYTHON_THREAD_BEGIN_BLOCK;
Py_XDECREF(_obj);
SWIG_PYTHON_THREAD_END_BLOCK;
}
operator PyObject *() const
{
return _obj;
}
PyObject *operator->() const
{
return _obj;
}
};
}
namespace swig {
struct SwigVar_PyObject : SwigPtr_PyObject {
SwigVar_PyObject(PyObject* obj = 0) : SwigPtr_PyObject(obj, false) { }
SwigVar_PyObject & operator = (PyObject* obj)
{
Py_XDECREF(_obj);
_obj = obj;
return *this;
}
};
}
#include <stdint.h> // Use the C99 official header
#define SWIG_FILE_WITH_INIT
#include <gempa/caps/utils.h>
#include <gempa/caps/anypacket.h>
#include <gempa/caps/datetime.h>
#include <gempa/caps/log.h>
#include <gempa/caps/mseedpacket.h>
#include <gempa/caps/packet.h>
#include <gempa/caps/plugin.h>
typedef Gempa::CAPS::Plugin::Buffer Buffer;
#include <gempa/caps/rawpacket.h>
#include <gempa/caps/riff.h>
#include <gempa/caps/rtcm2packet.h>
#include <gempa/caps/socket.h>
#include <gempa/caps/mseed/spclock.h>
#include <numpy/ndarrayobject.h>
#include <string>
#ifndef SWIG_FILE_WITH_INIT
#define NO_IMPORT_ARRAY
#endif
#include "stdio.h"
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
#include <numpy/arrayobject.h>
#include <complex>
SWIGINTERN int
SWIG_AsVal_double (PyObject *obj, double *val)
{
int res = SWIG_TypeError;
if (PyFloat_Check(obj)) {
if (val) *val = PyFloat_AsDouble(obj);
return SWIG_OK;
#if PY_VERSION_HEX < 0x03000000
} else if (PyInt_Check(obj)) {
if (val) *val = (double) PyInt_AsLong(obj);
return SWIG_OK;
#endif
} else if (PyLong_Check(obj)) {
double v = PyLong_AsDouble(obj);
if (!PyErr_Occurred()) {
if (val) *val = v;
return SWIG_OK;
} else {
PyErr_Clear();
}
}
#ifdef SWIG_PYTHON_CAST_MODE
{
int dispatch = 0;
double d = PyFloat_AsDouble(obj);
if (!PyErr_Occurred()) {
if (val) *val = d;
return SWIG_AddCast(SWIG_OK);
} else {
PyErr_Clear();
}
if (!dispatch) {
long v = PyLong_AsLong(obj);
if (!PyErr_Occurred()) {
if (val) *val = v;
return SWIG_AddCast(SWIG_AddCast(SWIG_OK));
} else {
PyErr_Clear();
}
}
}
#endif
return res;
}
#include <float.h>
#include <math.h>
SWIGINTERNINLINE int
SWIG_CanCastAsInteger(double *d, double min, double max) {
double x = *d;
if ((min <= x && x <= max)) {
double fx = floor(x);
double cx = ceil(x);
double rd = ((x - fx) < 0.5) ? fx : cx; /* simple rint */
if ((errno == EDOM) || (errno == ERANGE)) {
errno = 0;
} else {
double summ, reps, diff;
if (rd < x) {
diff = x - rd;
} else if (rd > x) {
diff = rd - x;
} else {
return 1;
}
summ = rd + x;
reps = diff/summ;
if (reps < 8*DBL_EPSILON) {
*d = rd;
return 1;
}
}
}
return 0;
}
SWIGINTERN int
SWIG_AsVal_long (PyObject *obj, long* val)
{
#if PY_VERSION_HEX < 0x03000000
if (PyInt_Check(obj)) {
if (val) *val = PyInt_AsLong(obj);
return SWIG_OK;
} else
#endif
if (PyLong_Check(obj)) {
long v = PyLong_AsLong(obj);
if (!PyErr_Occurred()) {
if (val) *val = v;
return SWIG_OK;
} else {
PyErr_Clear();
return SWIG_OverflowError;
}
}
#ifdef SWIG_PYTHON_CAST_MODE
{
int dispatch = 0;
long v = PyInt_AsLong(obj);
if (!PyErr_Occurred()) {
if (val) *val = v;
return SWIG_AddCast(SWIG_OK);
} else {
PyErr_Clear();
}
if (!dispatch) {
double d;
int res = SWIG_AddCast(SWIG_AsVal_double (obj,&d));
if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, LONG_MIN, LONG_MAX)) {
if (val) *val = (long)(d);
return res;
}
}
}
#endif
return SWIG_TypeError;
}
SWIGINTERNINLINE PyObject*
SWIG_From_bool (bool value)
{
return PyBool_FromLong(value ? 1 : 0);
}
#define SWIG_From_long PyInt_FromLong
#define SWIG_From_double PyFloat_FromDouble
#include <limits.h>
#if !defined(SWIG_NO_LLONG_MAX)
# if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
# define LLONG_MAX __LONG_LONG_MAX__
# define LLONG_MIN (-LLONG_MAX - 1LL)
# define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
# endif
#endif
SWIGINTERN int
SWIG_AsVal_int (PyObject * obj, int *val)
{
long v;
int res = SWIG_AsVal_long (obj, &v);
if (SWIG_IsOK(res)) {
if ((v < INT_MIN || v > INT_MAX)) {
return SWIG_OverflowError;
} else {
if (val) *val = static_cast< int >(v);
}
}
return res;
}
SWIGINTERN swig_type_info*
SWIG_pchar_descriptor(void)
{
static int init = 0;
static swig_type_info* info = 0;
if (!init) {
info = SWIG_TypeQuery("_p_char");
init = 1;
}
return info;
}
SWIGINTERN int
SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize, int *alloc)
{
#if PY_VERSION_HEX>=0x03000000
#if defined(SWIG_PYTHON_STRICT_BYTE_CHAR)
if (PyBytes_Check(obj))
#else
if (PyUnicode_Check(obj))
#endif
#else
if (PyString_Check(obj))
#endif
{
char *cstr; Py_ssize_t len;
#if PY_VERSION_HEX>=0x03000000
#if !defined(SWIG_PYTHON_STRICT_BYTE_CHAR)
if (!alloc && cptr) {
/* We can't allow converting without allocation, since the internal
representation of string in Python 3 is UCS-2/UCS-4 but we require
a UTF-8 representation.
TODO(bhy) More detailed explanation */
return SWIG_RuntimeError;
}
obj = PyUnicode_AsUTF8String(obj);
if(alloc) *alloc = SWIG_NEWOBJ;
#endif
PyBytes_AsStringAndSize(obj, &cstr, &len);
#else
PyString_AsStringAndSize(obj, &cstr, &len);
#endif
if (cptr) {
if (alloc) {
/*
In python the user should not be able to modify the inner
string representation. To warranty that, if you define
SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string
buffer is always returned.
The default behavior is just to return the pointer value,
so, be careful.
*/
#if defined(SWIG_PYTHON_SAFE_CSTRINGS)
if (*alloc != SWIG_OLDOBJ)
#else
if (*alloc == SWIG_NEWOBJ)
#endif
{
*cptr = reinterpret_cast< char* >(memcpy(new char[len + 1], cstr, sizeof(char)*(len + 1)));
*alloc = SWIG_NEWOBJ;
} else {
*cptr = cstr;
*alloc = SWIG_OLDOBJ;
}
} else {
#if PY_VERSION_HEX>=0x03000000
#if defined(SWIG_PYTHON_STRICT_BYTE_CHAR)
*cptr = PyBytes_AsString(obj);
#else
assert(0); /* Should never reach here with Unicode strings in Python 3 */
#endif
#else
*cptr = SWIG_Python_str_AsChar(obj);
#endif
}
}
if (psize) *psize = len + 1;
#if PY_VERSION_HEX>=0x03000000 && !defined(SWIG_PYTHON_STRICT_BYTE_CHAR)
Py_XDECREF(obj);
#endif
return SWIG_OK;
} else {
#if defined(SWIG_PYTHON_2_UNICODE)
#if defined(SWIG_PYTHON_STRICT_BYTE_CHAR)
#error "Cannot use both SWIG_PYTHON_2_UNICODE and SWIG_PYTHON_STRICT_BYTE_CHAR at once"
#endif
#if PY_VERSION_HEX<0x03000000
if (PyUnicode_Check(obj)) {
char *cstr; Py_ssize_t len;
if (!alloc && cptr) {
return SWIG_RuntimeError;
}
obj = PyUnicode_AsUTF8String(obj);
if (PyString_AsStringAndSize(obj, &cstr, &len) != -1) {
if (cptr) {
if (alloc) *alloc = SWIG_NEWOBJ;
*cptr = reinterpret_cast< char* >(memcpy(new char[len + 1], cstr, sizeof(char)*(len + 1)));
}
if (psize) *psize = len + 1;
Py_XDECREF(obj);
return SWIG_OK;
} else {
Py_XDECREF(obj);
}
}
#endif
#endif
swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
if (pchar_descriptor) {
void* vptr = 0;
if (SWIG_ConvertPtr(obj, &vptr, pchar_descriptor, 0) == SWIG_OK) {
if (cptr) *cptr = (char *) vptr;
if (psize) *psize = vptr ? (strlen((char *)vptr) + 1) : 0;
if (alloc) *alloc = SWIG_OLDOBJ;
return SWIG_OK;
}
}
}
return SWIG_TypeError;
}
SWIGINTERNINLINE PyObject *
SWIG_FromCharPtrAndSize(const char* carray, size_t size)
{
if (carray) {
if (size > INT_MAX) {
swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
return pchar_descriptor ?
SWIG_InternalNewPointerObj(const_cast< char * >(carray), pchar_descriptor, 0) : SWIG_Py_Void();
} else {
#if PY_VERSION_HEX >= 0x03000000
#if defined(SWIG_PYTHON_STRICT_BYTE_CHAR)
return PyBytes_FromStringAndSize(carray, static_cast< Py_ssize_t >(size));
#else
#if PY_VERSION_HEX >= 0x03010000
return PyUnicode_DecodeUTF8(carray, static_cast< Py_ssize_t >(size), "surrogateescape");
#else
return PyUnicode_FromStringAndSize(carray, static_cast< Py_ssize_t >(size));
#endif
#endif
#else
return PyString_FromStringAndSize(carray, static_cast< Py_ssize_t >(size));
#endif
}
} else {
return SWIG_Py_Void();
}
}
SWIGINTERNINLINE PyObject *
SWIG_From_std_string (const std::string& s)
{
return SWIG_FromCharPtrAndSize(s.data(), s.size());
}
SWIGINTERNINLINE PyObject*
SWIG_From_int (int value)
{
return PyInt_FromLong((long) value);
}
SWIGINTERN int
SWIG_AsCharArray(PyObject * obj, char *val, size_t size)
{
char* cptr = 0; size_t csize = 0; int alloc = SWIG_OLDOBJ;
int res = SWIG_AsCharPtrAndSize(obj, &cptr, &csize, &alloc);
if (SWIG_IsOK(res)) {
/* special case of single char conversion when we don't need space for NUL */
if (size == 1 && csize == 2 && cptr && !cptr[1]) --csize;
if (csize <= size) {
if (val) {
if (csize) memcpy(val, cptr, csize*sizeof(char));
if (csize < size) memset(val + csize, 0, (size - csize)*sizeof(char));
}
if (alloc == SWIG_NEWOBJ) {
delete[] cptr;
res = SWIG_DelNewMask(res);
}
return res;
}
if (alloc == SWIG_NEWOBJ) delete[] cptr;
}
return SWIG_TypeError;
}
SWIGINTERN size_t
SWIG_strnlen(const char* s, size_t maxlen)
{
const char *p;
for (p = s; maxlen-- && *p; p++)
;
return p - s;
}
SWIGINTERN int
SWIG_AsVal_short (PyObject * obj, short *val)
{
long v;
int res = SWIG_AsVal_long (obj, &v);
if (SWIG_IsOK(res)) {
if ((v < SHRT_MIN || v > SHRT_MAX)) {
return SWIG_OverflowError;
} else {
if (val) *val = static_cast< short >(v);
}
}
return res;
}
SWIGINTERNINLINE PyObject *
SWIG_From_short (short value)
{
return SWIG_From_long (value);
}
SWIGINTERN int
SWIG_AsVal_unsigned_SS_long (PyObject *obj, unsigned long *val)
{
#if PY_VERSION_HEX < 0x03000000
if (PyInt_Check(obj)) {
long v = PyInt_AsLong(obj);
if (v >= 0) {
if (val) *val = v;
return SWIG_OK;
} else {
return SWIG_OverflowError;
}
} else
#endif
if (PyLong_Check(obj)) {
unsigned long v = PyLong_AsUnsignedLong(obj);
if (!PyErr_Occurred()) {
if (val) *val = v;
return SWIG_OK;
} else {
PyErr_Clear();
return SWIG_OverflowError;
}
}
#ifdef SWIG_PYTHON_CAST_MODE
{
int dispatch = 0;
unsigned long v = PyLong_AsUnsignedLong(obj);
if (!PyErr_Occurred()) {
if (val) *val = v;
return SWIG_AddCast(SWIG_OK);
} else {
PyErr_Clear();
}
if (!dispatch) {
double d;
int res = SWIG_AddCast(SWIG_AsVal_double (obj,&d));
if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, ULONG_MAX)) {
if (val) *val = (unsigned long)(d);
return res;
}
}
}
#endif
return SWIG_TypeError;
}
SWIGINTERN int
SWIG_AsVal_unsigned_SS_short (PyObject * obj, unsigned short *val)
{
unsigned long v;
int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
if (SWIG_IsOK(res)) {
if ((v > USHRT_MAX)) {
return SWIG_OverflowError;
} else {
if (val) *val = static_cast< unsigned short >(v);
}
}
return res;
}
SWIGINTERNINLINE PyObject*
SWIG_From_unsigned_SS_long (unsigned long value)
{
return (value > LONG_MAX) ?
PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
}
SWIGINTERNINLINE PyObject *
SWIG_From_unsigned_SS_short (unsigned short value)
{
return SWIG_From_unsigned_SS_long (value);
}
SWIGINTERN int
SWIG_AsVal_unsigned_SS_char (PyObject * obj, unsigned char *val)
{
unsigned long v;
int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
if (SWIG_IsOK(res)) {
if ((v > UCHAR_MAX)) {
return SWIG_OverflowError;
} else {
if (val) *val = static_cast< unsigned char >(v);
}
}
return res;
}
SWIGINTERNINLINE PyObject *
SWIG_From_unsigned_SS_char (unsigned char value)
{
return SWIG_From_unsigned_SS_long (value);
}
SWIGINTERN int
SWIG_AsVal_char (PyObject * obj, char *val)
{
int res = SWIG_AsCharArray(obj, val, 1);
if (!SWIG_IsOK(res)) {
long v;
res = SWIG_AddCast(SWIG_AsVal_long (obj, &v));
if (SWIG_IsOK(res)) {
if ((CHAR_MIN <= v) && (v <= CHAR_MAX)) {
if (val) *val = static_cast< char >(v);
} else {
res = SWIG_OverflowError;
}
}
}
return res;
}
#if defined(LLONG_MAX) && !defined(SWIG_LONG_LONG_AVAILABLE)
# define SWIG_LONG_LONG_AVAILABLE
#endif
#ifdef SWIG_LONG_LONG_AVAILABLE
SWIGINTERNINLINE PyObject*
SWIG_From_unsigned_SS_long_SS_long (unsigned long long value)
{
return (value > LONG_MAX) ?
PyLong_FromUnsignedLongLong(value) : PyInt_FromLong(static_cast< long >(value));
}
#endif
SWIGINTERNINLINE PyObject *
SWIG_From_size_t (size_t value)
{
#ifdef SWIG_LONG_LONG_AVAILABLE
if (sizeof(size_t) <= sizeof(unsigned long)) {
#endif
return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
#ifdef SWIG_LONG_LONG_AVAILABLE
} else {
/* assume sizeof(size_t) <= sizeof(unsigned long long) */
return SWIG_From_unsigned_SS_long_SS_long (static_cast< unsigned long long >(value));
}
#endif
}
SWIGINTERN int
SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
{
unsigned long v;
int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
if (SWIG_IsOK(res)) {
if ((v > UINT_MAX)) {
return SWIG_OverflowError;
} else {
if (val) *val = static_cast< unsigned int >(v);
}
}
return res;
}
SWIGINTERNINLINE PyObject*
SWIG_From_unsigned_SS_int (unsigned int value)
{
return PyInt_FromSize_t((size_t) value);
}
SWIGINTERNINLINE PyObject *
SWIG_FromCharPtr(const char *cptr)
{
return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0));
}
SWIGINTERN int
SWIG_AsVal_bool (PyObject *obj, bool *val)
{
int r;
if (!PyBool_Check(obj))
return SWIG_ERROR;
r = PyObject_IsTrue(obj);
if (r == -1)
return SWIG_ERROR;
if (val) *val = r ? true : false;
return SWIG_OK;
}
SWIGINTERN int
SWIG_AsPtr_std_string (PyObject * obj, std::string **val)
{
char* buf = 0 ; size_t size = 0; int alloc = SWIG_OLDOBJ;
if (SWIG_IsOK((SWIG_AsCharPtrAndSize(obj, &buf, &size, &alloc)))) {
if (buf) {
if (val) *val = new std::string(buf, size - 1);
if (alloc == SWIG_NEWOBJ) delete[] buf;
return SWIG_NEWOBJ;
} else {
if (val) *val = 0;
return SWIG_OLDOBJ;
}
} else {
static int init = 0;
static swig_type_info* descriptor = 0;
if (!init) {
descriptor = SWIG_TypeQuery("std::string" " *");
init = 1;
}
if (descriptor) {
std::string *vptr;
int res = SWIG_ConvertPtr(obj, (void**)&vptr, descriptor, 0);
if (SWIG_IsOK(res) && val) *val = vptr;
return res;
}
}
return SWIG_ERROR;
}
#ifdef SWIG_LONG_LONG_AVAILABLE
SWIGINTERN int
SWIG_AsVal_long_SS_long (PyObject *obj, long long *val)
{
int res = SWIG_TypeError;
if (PyLong_Check(obj)) {
long long v = PyLong_AsLongLong(obj);
if (!PyErr_Occurred()) {
if (val) *val = v;
return SWIG_OK;
} else {
PyErr_Clear();
res = SWIG_OverflowError;
}
} else {
long v;
res = SWIG_AsVal_long (obj,&v);
if (SWIG_IsOK(res)) {
if (val) *val = v;
return res;
}
}
#ifdef SWIG_PYTHON_CAST_MODE
{
const double mant_max = 1LL << DBL_MANT_DIG;
const double mant_min = -mant_max;
double d;
res = SWIG_AsVal_double (obj,&d);
if (SWIG_IsOK(res) && !SWIG_CanCastAsInteger(&d, mant_min, mant_max))
return SWIG_OverflowError;
if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, mant_min, mant_max)) {
if (val) *val = (long long)(d);
return SWIG_AddCast(res);
}
res = SWIG_TypeError;
}
#endif
return res;
}
#endif
#ifdef SWIG_LONG_LONG_AVAILABLE
SWIGINTERNINLINE PyObject*
SWIG_From_long_SS_long (long long value)
{
return ((value < LONG_MIN) || (value > LONG_MAX)) ?
PyLong_FromLongLong(value) : PyInt_FromLong(static_cast< long >(value));
}
#endif
#ifdef SWIG_LONG_LONG_AVAILABLE
SWIGINTERN int
SWIG_AsVal_unsigned_SS_long_SS_long (PyObject *obj, unsigned long long *val)
{
int res = SWIG_TypeError;
if (PyLong_Check(obj)) {
unsigned long long v = PyLong_AsUnsignedLongLong(obj);
if (!PyErr_Occurred()) {
if (val) *val = v;
return SWIG_OK;
} else {
PyErr_Clear();
res = SWIG_OverflowError;
}
} else {
unsigned long v;
res = SWIG_AsVal_unsigned_SS_long (obj,&v);
if (SWIG_IsOK(res)) {
if (val) *val = v;
return res;
}
}
#ifdef SWIG_PYTHON_CAST_MODE
{
const double mant_max = 1LL << DBL_MANT_DIG;
double d;
res = SWIG_AsVal_double (obj,&d);
if (SWIG_IsOK(res) && !SWIG_CanCastAsInteger(&d, 0, mant_max))
return SWIG_OverflowError;
if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, mant_max)) {
if (val) *val = (unsigned long long)(d);
return SWIG_AddCast(res);
}
res = SWIG_TypeError;
}
#endif
return res;
}
#endif
SWIGINTERNINLINE int
SWIG_AsVal_size_t (PyObject * obj, size_t *val)
{
int res = SWIG_TypeError;
#ifdef SWIG_LONG_LONG_AVAILABLE
if (sizeof(size_t) <= sizeof(unsigned long)) {
#endif
unsigned long v;
res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
#ifdef SWIG_LONG_LONG_AVAILABLE
} else if (sizeof(size_t) <= sizeof(unsigned long long)) {
unsigned long long v;
res = SWIG_AsVal_unsigned_SS_long_SS_long (obj, val ? &v : 0);
if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
}
#endif
return res;
}
SWIGINTERN Gempa::CAPS::Plugin::Status Gempa_CAPS_Plugin_push__SWIG_6(Gempa::CAPS::Plugin *self,std::string const &net,std::string const &sta,std::string const &loc,std::string const &cha,Gempa::CAPS::Time const &stime,int16_t numerator,int16_t denominator,std::string const &uom,PyObject *obj,int type){
PyArrayObject *arr = NULL;
Gempa::CAPS::DataType dataType = (Gempa::CAPS::DataType)type;
Gempa::CAPS::Plugin::Status status = Gempa::CAPS::Plugin::PacketLoss;
switch(type) {
case Gempa::CAPS::DT_INT8:
arr = (PyArrayObject*) PyArray_ContiguousFromObject(obj, PyArray_CHAR, 1, 1);
if ( arr == NULL )
break;
status = self->push(net, sta, loc, cha, stime, numerator, denominator,
uom, (int8_t*)(arr->data), arr->dimensions[0], dataType);
break;
case Gempa::CAPS::DT_INT16:
arr = (PyArrayObject*) PyArray_ContiguousFromObject(obj, PyArray_INT16, 1, 1);
if ( arr == NULL )
break;
status = self->push(net, sta, loc, cha, stime, numerator, denominator,
uom, (int16_t*)(arr->data), arr->dimensions[0], dataType);
break;
case Gempa::CAPS::DT_INT32:
arr = (PyArrayObject*) PyArray_ContiguousFromObject(obj, PyArray_INT32, 1, 1);
if ( arr == NULL )
break;
status = self->push(net, sta, loc, cha, stime, numerator, denominator,
uom, (int32_t*)(arr->data), arr->dimensions[0], dataType);
break;
case Gempa::CAPS::DT_FLOAT:
arr = (PyArrayObject*) PyArray_ContiguousFromObject(obj, PyArray_FLOAT32, 1, 1);
if ( arr == NULL )
break;
status = self->push(net, sta, loc, cha, stime, numerator, denominator,
uom, (float*)(arr->data), arr->dimensions[0], dataType);
break;
case Gempa::CAPS::DT_DOUBLE:
arr = (PyArrayObject*) PyArray_ContiguousFromObject(obj, PyArray_FLOAT64, 1, 1);
if ( arr == NULL )
break;
status = self->push(net, sta, loc, cha, stime, numerator, denominator,
uom, (double*)(arr->data), arr->dimensions[0], dataType);
break;
default:
break;
}
Py_XDECREF(arr);
return status;
}
SWIGINTERN Gempa::CAPS::Plugin::Status Gempa_CAPS_Plugin_push__SWIG_7(Gempa::CAPS::Plugin *self,std::string const &net,std::string const &sta,std::string const &loc,std::string const &cha,Gempa::CAPS::Time const &stime,uint16_t numerator,uint16_t denominator,std::string const &format,PyObject *obj){
char *data;
Py_ssize_t len;
if ( PyBytes_AsStringAndSize(obj, &data, &len) == -1 )
return Gempa::CAPS::Plugin::PacketLoss;
return self->push(net, sta, loc, cha, stime, numerator,
denominator, format, data, len);
}
typedef char charArray;
SWIGINTERN charArray *new_charArray(size_t nelements){
return (new char[nelements]());
}
SWIGINTERN void delete_charArray(charArray *self){
delete[] self;
}
SWIGINTERN char charArray___getitem__(charArray *self,size_t index){
return self[index];
}
SWIGINTERNINLINE PyObject *
SWIG_From_char (char c)
{
return SWIG_FromCharPtrAndSize(&c,1);
}
SWIGINTERN void charArray___setitem__(charArray *self,size_t index,char value){
self[index] = value;
}
SWIGINTERN char *charArray_cast(charArray *self){
return self;
}
SWIGINTERN charArray *charArray_frompointer(char *t){
return static_cast< charArray * >(t);
}
#ifdef __cplusplus
extern "C" {
#endif
SWIGINTERN PyObject *_wrap_new_TimeSpan__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::TimeSpan *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)":new_TimeSpan")) SWIG_fail;
result = (Gempa::CAPS::TimeSpan *)new Gempa::CAPS::TimeSpan();
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__TimeSpan, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_TimeSpan__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
timeval *arg1 = (timeval *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::TimeSpan *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:new_TimeSpan",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_timeval, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TimeSpan" "', argument " "1"" of type '" "timeval *""'");
}
arg1 = reinterpret_cast< timeval * >(argp1);
result = (Gempa::CAPS::TimeSpan *)new Gempa::CAPS::TimeSpan(arg1);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__TimeSpan, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_TimeSpan__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
timeval *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::TimeSpan *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:new_TimeSpan",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_timeval, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TimeSpan" "', argument " "1"" of type '" "timeval const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TimeSpan" "', argument " "1"" of type '" "timeval const &""'");
}
arg1 = reinterpret_cast< timeval * >(argp1);
result = (Gempa::CAPS::TimeSpan *)new Gempa::CAPS::TimeSpan((timeval const &)*arg1);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__TimeSpan, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_TimeSpan__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
double arg1 ;
double val1 ;
int ecode1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::TimeSpan *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:new_TimeSpan",&obj0)) SWIG_fail;
ecode1 = SWIG_AsVal_double(obj0, &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TimeSpan" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
result = (Gempa::CAPS::TimeSpan *)new Gempa::CAPS::TimeSpan(arg1);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__TimeSpan, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_TimeSpan__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
long arg1 ;
long arg2 ;
long val1 ;
int ecode1 = 0 ;
long val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
Gempa::CAPS::TimeSpan *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:new_TimeSpan",&obj0,&obj1)) SWIG_fail;
ecode1 = SWIG_AsVal_long(obj0, &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TimeSpan" "', argument " "1"" of type '" "long""'");
}
arg1 = static_cast< long >(val1);
ecode2 = SWIG_AsVal_long(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TimeSpan" "', argument " "2"" of type '" "long""'");
}
arg2 = static_cast< long >(val2);
result = (Gempa::CAPS::TimeSpan *)new Gempa::CAPS::TimeSpan(arg1,arg2);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__TimeSpan, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_TimeSpan__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::TimeSpan *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::TimeSpan *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:new_TimeSpan",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TimeSpan" "', argument " "1"" of type '" "Gempa::CAPS::TimeSpan const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TimeSpan" "', argument " "1"" of type '" "Gempa::CAPS::TimeSpan const &""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::TimeSpan * >(argp1);
result = (Gempa::CAPS::TimeSpan *)new Gempa::CAPS::TimeSpan((Gempa::CAPS::TimeSpan const &)*arg1);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__TimeSpan, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_TimeSpan(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
Py_ssize_t ii;
if (!PyTuple_Check(args)) SWIG_fail;
argc = args ? PyObject_Length(args) : 0;
for (ii = 0; (ii < 2) && (ii < argc); ii++) {
argv[ii] = PyTuple_GET_ITEM(args,ii);
}
if (argc == 0) {
return _wrap_new_TimeSpan__SWIG_0(self, args);
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_timeval, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_TimeSpan__SWIG_1(self, args);
}
}
if (argc == 1) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_timeval, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_TimeSpan__SWIG_2(self, args);
}
}
if (argc == 1) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_TimeSpan__SWIG_5(self, args);
}
}
if (argc == 1) {
int _v;
{
int res = SWIG_AsVal_double(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_TimeSpan__SWIG_3(self, args);
}
}
if (argc == 2) {
int _v;
{
int res = SWIG_AsVal_long(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_TimeSpan__SWIG_4(self, args);
}
}
}
fail:
SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_TimeSpan'.\n"
" Possible C/C++ prototypes are:\n"
" Gempa::CAPS::TimeSpan::TimeSpan()\n"
" Gempa::CAPS::TimeSpan::TimeSpan(timeval *)\n"
" Gempa::CAPS::TimeSpan::TimeSpan(timeval const &)\n"
" Gempa::CAPS::TimeSpan::TimeSpan(double)\n"
" Gempa::CAPS::TimeSpan::TimeSpan(long,long)\n"
" Gempa::CAPS::TimeSpan::TimeSpan(Gempa::CAPS::TimeSpan const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_TimeSpan___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::TimeSpan *arg1 = (Gempa::CAPS::TimeSpan *) 0 ;
Gempa::CAPS::TimeSpan *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OO:TimeSpan___eq__",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TimeSpan___eq__" "', argument " "1"" of type '" "Gempa::CAPS::TimeSpan const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::TimeSpan * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TimeSpan___eq__" "', argument " "2"" of type '" "Gempa::CAPS::TimeSpan const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TimeSpan___eq__" "', argument " "2"" of type '" "Gempa::CAPS::TimeSpan const &""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::TimeSpan * >(argp2);
result = (bool)((Gempa::CAPS::TimeSpan const *)arg1)->operator ==((Gempa::CAPS::TimeSpan const &)*arg2);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_TimeSpan___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::TimeSpan *arg1 = (Gempa::CAPS::TimeSpan *) 0 ;
Gempa::CAPS::TimeSpan *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OO:TimeSpan___ne__",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TimeSpan___ne__" "', argument " "1"" of type '" "Gempa::CAPS::TimeSpan const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::TimeSpan * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TimeSpan___ne__" "', argument " "2"" of type '" "Gempa::CAPS::TimeSpan const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TimeSpan___ne__" "', argument " "2"" of type '" "Gempa::CAPS::TimeSpan const &""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::TimeSpan * >(argp2);
result = (bool)((Gempa::CAPS::TimeSpan const *)arg1)->operator !=((Gempa::CAPS::TimeSpan const &)*arg2);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_TimeSpan___lt__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::TimeSpan *arg1 = (Gempa::CAPS::TimeSpan *) 0 ;
Gempa::CAPS::TimeSpan *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OO:TimeSpan___lt__",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TimeSpan___lt__" "', argument " "1"" of type '" "Gempa::CAPS::TimeSpan const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::TimeSpan * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TimeSpan___lt__" "', argument " "2"" of type '" "Gempa::CAPS::TimeSpan const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TimeSpan___lt__" "', argument " "2"" of type '" "Gempa::CAPS::TimeSpan const &""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::TimeSpan * >(argp2);
result = (bool)((Gempa::CAPS::TimeSpan const *)arg1)->operator <((Gempa::CAPS::TimeSpan const &)*arg2);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_TimeSpan___le__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::TimeSpan *arg1 = (Gempa::CAPS::TimeSpan *) 0 ;
Gempa::CAPS::TimeSpan *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OO:TimeSpan___le__",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TimeSpan___le__" "', argument " "1"" of type '" "Gempa::CAPS::TimeSpan const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::TimeSpan * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TimeSpan___le__" "', argument " "2"" of type '" "Gempa::CAPS::TimeSpan const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TimeSpan___le__" "', argument " "2"" of type '" "Gempa::CAPS::TimeSpan const &""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::TimeSpan * >(argp2);
result = (bool)((Gempa::CAPS::TimeSpan const *)arg1)->operator <=((Gempa::CAPS::TimeSpan const &)*arg2);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_TimeSpan___gt__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::TimeSpan *arg1 = (Gempa::CAPS::TimeSpan *) 0 ;
Gempa::CAPS::TimeSpan *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OO:TimeSpan___gt__",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TimeSpan___gt__" "', argument " "1"" of type '" "Gempa::CAPS::TimeSpan const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::TimeSpan * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TimeSpan___gt__" "', argument " "2"" of type '" "Gempa::CAPS::TimeSpan const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TimeSpan___gt__" "', argument " "2"" of type '" "Gempa::CAPS::TimeSpan const &""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::TimeSpan * >(argp2);
result = (bool)((Gempa::CAPS::TimeSpan const *)arg1)->operator >((Gempa::CAPS::TimeSpan const &)*arg2);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_TimeSpan___ge__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::TimeSpan *arg1 = (Gempa::CAPS::TimeSpan *) 0 ;
Gempa::CAPS::TimeSpan *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OO:TimeSpan___ge__",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TimeSpan___ge__" "', argument " "1"" of type '" "Gempa::CAPS::TimeSpan const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::TimeSpan * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TimeSpan___ge__" "', argument " "2"" of type '" "Gempa::CAPS::TimeSpan const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TimeSpan___ge__" "', argument " "2"" of type '" "Gempa::CAPS::TimeSpan const &""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::TimeSpan * >(argp2);
result = (bool)((Gempa::CAPS::TimeSpan const *)arg1)->operator >=((Gempa::CAPS::TimeSpan const &)*arg2);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_TimeSpan___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::TimeSpan *arg1 = (Gempa::CAPS::TimeSpan *) 0 ;
Gempa::CAPS::TimeSpan *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
Gempa::CAPS::TimeSpan result;
if (!PyArg_ParseTuple(args,(char *)"OO:TimeSpan___add__",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TimeSpan___add__" "', argument " "1"" of type '" "Gempa::CAPS::TimeSpan const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::TimeSpan * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TimeSpan___add__" "', argument " "2"" of type '" "Gempa::CAPS::TimeSpan const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TimeSpan___add__" "', argument " "2"" of type '" "Gempa::CAPS::TimeSpan const &""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::TimeSpan * >(argp2);
result = ((Gempa::CAPS::TimeSpan const *)arg1)->operator +((Gempa::CAPS::TimeSpan const &)*arg2);
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::TimeSpan(static_cast< const Gempa::CAPS::TimeSpan& >(result))), SWIGTYPE_p_Gempa__CAPS__TimeSpan, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_TimeSpan___sub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::TimeSpan *arg1 = (Gempa::CAPS::TimeSpan *) 0 ;
Gempa::CAPS::TimeSpan *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
Gempa::CAPS::TimeSpan result;
if (!PyArg_ParseTuple(args,(char *)"OO:TimeSpan___sub__",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TimeSpan___sub__" "', argument " "1"" of type '" "Gempa::CAPS::TimeSpan const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::TimeSpan * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TimeSpan___sub__" "', argument " "2"" of type '" "Gempa::CAPS::TimeSpan const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TimeSpan___sub__" "', argument " "2"" of type '" "Gempa::CAPS::TimeSpan const &""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::TimeSpan * >(argp2);
result = ((Gempa::CAPS::TimeSpan const *)arg1)->operator -((Gempa::CAPS::TimeSpan const &)*arg2);
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::TimeSpan(static_cast< const Gempa::CAPS::TimeSpan& >(result))), SWIGTYPE_p_Gempa__CAPS__TimeSpan, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_TimeSpan___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::TimeSpan *arg1 = (Gempa::CAPS::TimeSpan *) 0 ;
Gempa::CAPS::TimeSpan *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
Gempa::CAPS::TimeSpan *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:TimeSpan___iadd__",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__TimeSpan, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TimeSpan___iadd__" "', argument " "1"" of type '" "Gempa::CAPS::TimeSpan *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::TimeSpan * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TimeSpan___iadd__" "', argument " "2"" of type '" "Gempa::CAPS::TimeSpan const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TimeSpan___iadd__" "', argument " "2"" of type '" "Gempa::CAPS::TimeSpan const &""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::TimeSpan * >(argp2);
result = (Gempa::CAPS::TimeSpan *) &(arg1)->operator +=((Gempa::CAPS::TimeSpan const &)*arg2);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__TimeSpan, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_TimeSpan___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::TimeSpan *arg1 = (Gempa::CAPS::TimeSpan *) 0 ;
Gempa::CAPS::TimeSpan *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
Gempa::CAPS::TimeSpan *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:TimeSpan___isub__",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__TimeSpan, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TimeSpan___isub__" "', argument " "1"" of type '" "Gempa::CAPS::TimeSpan *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::TimeSpan * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TimeSpan___isub__" "', argument " "2"" of type '" "Gempa::CAPS::TimeSpan const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TimeSpan___isub__" "', argument " "2"" of type '" "Gempa::CAPS::TimeSpan const &""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::TimeSpan * >(argp2);
result = (Gempa::CAPS::TimeSpan *) &(arg1)->operator -=((Gempa::CAPS::TimeSpan const &)*arg2);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__TimeSpan, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_TimeSpan_abs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::TimeSpan *arg1 = (Gempa::CAPS::TimeSpan *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::TimeSpan result;
if (!PyArg_ParseTuple(args,(char *)"O:TimeSpan_abs",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TimeSpan_abs" "', argument " "1"" of type '" "Gempa::CAPS::TimeSpan const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::TimeSpan * >(argp1);
result = ((Gempa::CAPS::TimeSpan const *)arg1)->abs();
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::TimeSpan(static_cast< const Gempa::CAPS::TimeSpan& >(result))), SWIGTYPE_p_Gempa__CAPS__TimeSpan, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_TimeSpan_seconds(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::TimeSpan *arg1 = (Gempa::CAPS::TimeSpan *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
long result;
if (!PyArg_ParseTuple(args,(char *)"O:TimeSpan_seconds",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TimeSpan_seconds" "', argument " "1"" of type '" "Gempa::CAPS::TimeSpan const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::TimeSpan * >(argp1);
result = (long)((Gempa::CAPS::TimeSpan const *)arg1)->seconds();
resultobj = SWIG_From_long(static_cast< long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_TimeSpan_microseconds(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::TimeSpan *arg1 = (Gempa::CAPS::TimeSpan *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
long result;
if (!PyArg_ParseTuple(args,(char *)"O:TimeSpan_microseconds",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TimeSpan_microseconds" "', argument " "1"" of type '" "Gempa::CAPS::TimeSpan const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::TimeSpan * >(argp1);
result = (long)((Gempa::CAPS::TimeSpan const *)arg1)->microseconds();
resultobj = SWIG_From_long(static_cast< long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_TimeSpan_length(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::TimeSpan *arg1 = (Gempa::CAPS::TimeSpan *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
double result;
if (!PyArg_ParseTuple(args,(char *)"O:TimeSpan_length",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TimeSpan_length" "', argument " "1"" of type '" "Gempa::CAPS::TimeSpan const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::TimeSpan * >(argp1);
result = (double)((Gempa::CAPS::TimeSpan const *)arg1)->length();
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_TimeSpan_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::TimeSpan *arg1 = (Gempa::CAPS::TimeSpan *) 0 ;
long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
long val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
Gempa::CAPS::TimeSpan *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:TimeSpan_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TimeSpan_set" "', argument " "1"" of type '" "Gempa::CAPS::TimeSpan *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::TimeSpan * >(argp1);
ecode2 = SWIG_AsVal_long(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TimeSpan_set" "', argument " "2"" of type '" "long""'");
}
arg2 = static_cast< long >(val2);
result = (Gempa::CAPS::TimeSpan *) &(arg1)->set(arg2);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_TimeSpan_setUSecs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::TimeSpan *arg1 = (Gempa::CAPS::TimeSpan *) 0 ;
long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
long val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
Gempa::CAPS::TimeSpan *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:TimeSpan_setUSecs",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TimeSpan_setUSecs" "', argument " "1"" of type '" "Gempa::CAPS::TimeSpan *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::TimeSpan * >(argp1);
ecode2 = SWIG_AsVal_long(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TimeSpan_setUSecs" "', argument " "2"" of type '" "long""'");
}
arg2 = static_cast< long >(val2);
result = (Gempa::CAPS::TimeSpan *) &(arg1)->setUSecs(arg2);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_TimeSpan_elapsedTime__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::TimeSpan *arg1 = (Gempa::CAPS::TimeSpan *) 0 ;
int *arg2 = (int *) 0 ;
int *arg3 = (int *) 0 ;
int *arg4 = (int *) 0 ;
int *arg5 = (int *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OOOOO:TimeSpan_elapsedTime",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TimeSpan_elapsedTime" "', argument " "1"" of type '" "Gempa::CAPS::TimeSpan const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::TimeSpan * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TimeSpan_elapsedTime" "', argument " "2"" of type '" "int *""'");
}
arg2 = reinterpret_cast< int * >(argp2);
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TimeSpan_elapsedTime" "', argument " "3"" of type '" "int *""'");
}
arg3 = reinterpret_cast< int * >(argp3);
res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "TimeSpan_elapsedTime" "', argument " "4"" of type '" "int *""'");
}
arg4 = reinterpret_cast< int * >(argp4);
res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "TimeSpan_elapsedTime" "', argument " "5"" of type '" "int *""'");
}
arg5 = reinterpret_cast< int * >(argp5);
((Gempa::CAPS::TimeSpan const *)arg1)->elapsedTime(arg2,arg3,arg4,arg5);
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_TimeSpan_elapsedTime__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::TimeSpan *arg1 = (Gempa::CAPS::TimeSpan *) 0 ;
int *arg2 = (int *) 0 ;
int *arg3 = (int *) 0 ;
int *arg4 = (int *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OOOO:TimeSpan_elapsedTime",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TimeSpan_elapsedTime" "', argument " "1"" of type '" "Gempa::CAPS::TimeSpan const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::TimeSpan * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TimeSpan_elapsedTime" "', argument " "2"" of type '" "int *""'");
}
arg2 = reinterpret_cast< int * >(argp2);
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TimeSpan_elapsedTime" "', argument " "3"" of type '" "int *""'");
}
arg3 = reinterpret_cast< int * >(argp3);
res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "TimeSpan_elapsedTime" "', argument " "4"" of type '" "int *""'");
}
arg4 = reinterpret_cast< int * >(argp4);
((Gempa::CAPS::TimeSpan const *)arg1)->elapsedTime(arg2,arg3,arg4);
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_TimeSpan_elapsedTime__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::TimeSpan *arg1 = (Gempa::CAPS::TimeSpan *) 0 ;
int *arg2 = (int *) 0 ;
int *arg3 = (int *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OOO:TimeSpan_elapsedTime",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TimeSpan_elapsedTime" "', argument " "1"" of type '" "Gempa::CAPS::TimeSpan const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::TimeSpan * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TimeSpan_elapsedTime" "', argument " "2"" of type '" "int *""'");
}
arg2 = reinterpret_cast< int * >(argp2);
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TimeSpan_elapsedTime" "', argument " "3"" of type '" "int *""'");
}
arg3 = reinterpret_cast< int * >(argp3);
((Gempa::CAPS::TimeSpan const *)arg1)->elapsedTime(arg2,arg3);
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_TimeSpan_elapsedTime__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::TimeSpan *arg1 = (Gempa::CAPS::TimeSpan *) 0 ;
int *arg2 = (int *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:TimeSpan_elapsedTime",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TimeSpan_elapsedTime" "', argument " "1"" of type '" "Gempa::CAPS::TimeSpan const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::TimeSpan * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TimeSpan_elapsedTime" "', argument " "2"" of type '" "int *""'");
}
arg2 = reinterpret_cast< int * >(argp2);
((Gempa::CAPS::TimeSpan const *)arg1)->elapsedTime(arg2);
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_TimeSpan_elapsedTime(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[6] = {
0
};
Py_ssize_t ii;
if (!PyTuple_Check(args)) SWIG_fail;
argc = args ? PyObject_Length(args) : 0;
for (ii = 0; (ii < 5) && (ii < argc); ii++) {
argv[ii] = PyTuple_GET_ITEM(args,ii);
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_TimeSpan_elapsedTime__SWIG_3(self, args);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_TimeSpan_elapsedTime__SWIG_2(self, args);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_TimeSpan_elapsedTime__SWIG_1(self, args);
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_TimeSpan_elapsedTime__SWIG_0(self, args);
}
}
}
}
}
}
fail:
SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'TimeSpan_elapsedTime'.\n"
" Possible C/C++ prototypes are:\n"
" Gempa::CAPS::TimeSpan::elapsedTime(int *,int *,int *,int *) const\n"
" Gempa::CAPS::TimeSpan::elapsedTime(int *,int *,int *) const\n"
" Gempa::CAPS::TimeSpan::elapsedTime(int *,int *) const\n"
" Gempa::CAPS::TimeSpan::elapsedTime(int *) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_TimeSpan(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::TimeSpan *arg1 = (Gempa::CAPS::TimeSpan *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:delete_TimeSpan",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__TimeSpan, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TimeSpan" "', argument " "1"" of type '" "Gempa::CAPS::TimeSpan *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::TimeSpan * >(argp1);
delete arg1;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *TimeSpan_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_Gempa__CAPS__TimeSpan, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN int Swig_var_Time_Null_set(PyObject *) {
SWIG_Error(SWIG_AttributeError,"Variable Time_Null is read-only.");
return 1;
}
SWIGINTERN PyObject *Swig_var_Time_Null_get(void) {
PyObject *pyobj = 0;
pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&Gempa::CAPS::Time::Null), SWIGTYPE_p_Gempa__CAPS__Time, 0 );
return pyobj;
}
SWIGINTERN PyObject *_wrap_new_Time__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Time *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)":new_Time")) SWIG_fail;
result = (Gempa::CAPS::Time *)new Gempa::CAPS::Time();
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__Time, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Time__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
long arg1 ;
long arg2 ;
long val1 ;
int ecode1 = 0 ;
long val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
Gempa::CAPS::Time *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:new_Time",&obj0,&obj1)) SWIG_fail;
ecode1 = SWIG_AsVal_long(obj0, &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Time" "', argument " "1"" of type '" "long""'");
}
arg1 = static_cast< long >(val1);
ecode2 = SWIG_AsVal_long(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Time" "', argument " "2"" of type '" "long""'");
}
arg2 = static_cast< long >(val2);
result = (Gempa::CAPS::Time *)new Gempa::CAPS::Time(arg1,arg2);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__Time, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Time__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::TimeSpan *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::Time *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:new_Time",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Time" "', argument " "1"" of type '" "Gempa::CAPS::TimeSpan const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Time" "', argument " "1"" of type '" "Gempa::CAPS::TimeSpan const &""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::TimeSpan * >(argp1);
result = (Gempa::CAPS::Time *)new Gempa::CAPS::Time((Gempa::CAPS::TimeSpan const &)*arg1);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__Time, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Time__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
timeval *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::Time *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:new_Time",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_timeval, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Time" "', argument " "1"" of type '" "timeval const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Time" "', argument " "1"" of type '" "timeval const &""'");
}
arg1 = reinterpret_cast< timeval * >(argp1);
result = (Gempa::CAPS::Time *)new Gempa::CAPS::Time((timeval const &)*arg1);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__Time, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Time__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
timeval *arg1 = (timeval *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::Time *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:new_Time",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_timeval, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Time" "', argument " "1"" of type '" "timeval *""'");
}
arg1 = reinterpret_cast< timeval * >(argp1);
result = (Gempa::CAPS::Time *)new Gempa::CAPS::Time(arg1);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__Time, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Time__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
double arg1 ;
double val1 ;
int ecode1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::Time *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:new_Time",&obj0)) SWIG_fail;
ecode1 = SWIG_AsVal_double(obj0, &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Time" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
result = (Gempa::CAPS::Time *)new Gempa::CAPS::Time(arg1);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__Time, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Time__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
int arg1 ;
int arg2 ;
int arg3 ;
int arg4 ;
int arg5 ;
int arg6 ;
int arg7 ;
int val1 ;
int ecode1 = 0 ;
int val2 ;
int ecode2 = 0 ;
int val3 ;
int ecode3 = 0 ;
int val4 ;
int ecode4 = 0 ;
int val5 ;
int ecode5 = 0 ;
int val6 ;
int ecode6 = 0 ;
int val7 ;
int ecode7 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
PyObject * obj5 = 0 ;
PyObject * obj6 = 0 ;
Gempa::CAPS::Time *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:new_Time",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
ecode1 = SWIG_AsVal_int(obj0, &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Time" "', argument " "1"" of type '" "int""'");
}
arg1 = static_cast< int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Time" "', argument " "2"" of type '" "int""'");
}
arg2 = static_cast< int >(val2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Time" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
ecode4 = SWIG_AsVal_int(obj3, &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Time" "', argument " "4"" of type '" "int""'");
}
arg4 = static_cast< int >(val4);
ecode5 = SWIG_AsVal_int(obj4, &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Time" "', argument " "5"" of type '" "int""'");
}
arg5 = static_cast< int >(val5);
ecode6 = SWIG_AsVal_int(obj5, &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Time" "', argument " "6"" of type '" "int""'");
}
arg6 = static_cast< int >(val6);
ecode7 = SWIG_AsVal_int(obj6, &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_Time" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
result = (Gempa::CAPS::Time *)new Gempa::CAPS::Time(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__Time, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Time__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
int arg1 ;
int arg2 ;
int arg3 ;
int arg4 ;
int arg5 ;
int arg6 ;
int val1 ;
int ecode1 = 0 ;
int val2 ;
int ecode2 = 0 ;
int val3 ;
int ecode3 = 0 ;
int val4 ;
int ecode4 = 0 ;
int val5 ;
int ecode5 = 0 ;
int val6 ;
int ecode6 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
PyObject * obj5 = 0 ;
Gempa::CAPS::Time *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OOOOOO:new_Time",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
ecode1 = SWIG_AsVal_int(obj0, &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Time" "', argument " "1"" of type '" "int""'");
}
arg1 = static_cast< int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Time" "', argument " "2"" of type '" "int""'");
}
arg2 = static_cast< int >(val2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Time" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
ecode4 = SWIG_AsVal_int(obj3, &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Time" "', argument " "4"" of type '" "int""'");
}
arg4 = static_cast< int >(val4);
ecode5 = SWIG_AsVal_int(obj4, &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Time" "', argument " "5"" of type '" "int""'");
}
arg5 = static_cast< int >(val5);
ecode6 = SWIG_AsVal_int(obj5, &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Time" "', argument " "6"" of type '" "int""'");
}
arg6 = static_cast< int >(val6);
result = (Gempa::CAPS::Time *)new Gempa::CAPS::Time(arg1,arg2,arg3,arg4,arg5,arg6);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__Time, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Time__SWIG_8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
int arg1 ;
int arg2 ;
int arg3 ;
int arg4 ;
int arg5 ;
int val1 ;
int ecode1 = 0 ;
int val2 ;
int ecode2 = 0 ;
int val3 ;
int ecode3 = 0 ;
int val4 ;
int ecode4 = 0 ;
int val5 ;
int ecode5 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
Gempa::CAPS::Time *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OOOOO:new_Time",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
ecode1 = SWIG_AsVal_int(obj0, &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Time" "', argument " "1"" of type '" "int""'");
}
arg1 = static_cast< int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Time" "', argument " "2"" of type '" "int""'");
}
arg2 = static_cast< int >(val2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Time" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
ecode4 = SWIG_AsVal_int(obj3, &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Time" "', argument " "4"" of type '" "int""'");
}
arg4 = static_cast< int >(val4);
ecode5 = SWIG_AsVal_int(obj4, &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Time" "', argument " "5"" of type '" "int""'");
}
arg5 = static_cast< int >(val5);
result = (Gempa::CAPS::Time *)new Gempa::CAPS::Time(arg1,arg2,arg3,arg4,arg5);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__Time, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Time__SWIG_9(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
int arg1 ;
int arg2 ;
int arg3 ;
int arg4 ;
int val1 ;
int ecode1 = 0 ;
int val2 ;
int ecode2 = 0 ;
int val3 ;
int ecode3 = 0 ;
int val4 ;
int ecode4 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
Gempa::CAPS::Time *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OOOO:new_Time",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
ecode1 = SWIG_AsVal_int(obj0, &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Time" "', argument " "1"" of type '" "int""'");
}
arg1 = static_cast< int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Time" "', argument " "2"" of type '" "int""'");
}
arg2 = static_cast< int >(val2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Time" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
ecode4 = SWIG_AsVal_int(obj3, &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Time" "', argument " "4"" of type '" "int""'");
}
arg4 = static_cast< int >(val4);
result = (Gempa::CAPS::Time *)new Gempa::CAPS::Time(arg1,arg2,arg3,arg4);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__Time, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Time__SWIG_10(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
int arg1 ;
int arg2 ;
int arg3 ;
int val1 ;
int ecode1 = 0 ;
int val2 ;
int ecode2 = 0 ;
int val3 ;
int ecode3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
Gempa::CAPS::Time *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OOO:new_Time",&obj0,&obj1,&obj2)) SWIG_fail;
ecode1 = SWIG_AsVal_int(obj0, &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Time" "', argument " "1"" of type '" "int""'");
}
arg1 = static_cast< int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Time" "', argument " "2"" of type '" "int""'");
}
arg2 = static_cast< int >(val2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Time" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
result = (Gempa::CAPS::Time *)new Gempa::CAPS::Time(arg1,arg2,arg3);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__Time, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Time__SWIG_11(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Time *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::Time *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:new_Time",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Time" "', argument " "1"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Time" "', argument " "1"" of type '" "Gempa::CAPS::Time const &""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Time * >(argp1);
result = (Gempa::CAPS::Time *)new Gempa::CAPS::Time((Gempa::CAPS::Time const &)*arg1);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__Time, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Time(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[8] = {
0
};
Py_ssize_t ii;
if (!PyTuple_Check(args)) SWIG_fail;
argc = args ? PyObject_Length(args) : 0;
for (ii = 0; (ii < 7) && (ii < argc); ii++) {
argv[ii] = PyTuple_GET_ITEM(args,ii);
}
if (argc == 0) {
return _wrap_new_Time__SWIG_0(self, args);
}
if (argc == 1) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Time__SWIG_11(self, args);
}
}
if (argc == 1) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_timeval, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Time__SWIG_3(self, args);
}
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_timeval, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Time__SWIG_4(self, args);
}
}
if (argc == 1) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Time__SWIG_2(self, args);
}
}
if (argc == 1) {
int _v;
{
int res = SWIG_AsVal_double(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Time__SWIG_5(self, args);
}
}
if (argc == 2) {
int _v;
{
int res = SWIG_AsVal_long(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Time__SWIG_1(self, args);
}
}
}
if (argc == 3) {
int _v;
{
int res = SWIG_AsVal_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Time__SWIG_10(self, args);
}
}
}
}
if (argc == 4) {
int _v;
{
int res = SWIG_AsVal_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Time__SWIG_9(self, args);
}
}
}
}
}
if (argc == 5) {
int _v;
{
int res = SWIG_AsVal_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Time__SWIG_8(self, args);
}
}
}
}
}
}
if (argc == 6) {
int _v;
{
int res = SWIG_AsVal_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Time__SWIG_7(self, args);
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
{
int res = SWIG_AsVal_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Time__SWIG_6(self, args);
}
}
}
}
}
}
}
}
fail:
SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_Time'.\n"
" Possible C/C++ prototypes are:\n"
" Gempa::CAPS::Time::Time()\n"
" Gempa::CAPS::Time::Time(long,long)\n"
" Gempa::CAPS::Time::Time(Gempa::CAPS::TimeSpan const &)\n"
" Gempa::CAPS::Time::Time(timeval const &)\n"
" Gempa::CAPS::Time::Time(timeval *)\n"
" Gempa::CAPS::Time::Time(double)\n"
" Gempa::CAPS::Time::Time(int,int,int,int,int,int,int)\n"
" Gempa::CAPS::Time::Time(int,int,int,int,int,int)\n"
" Gempa::CAPS::Time::Time(int,int,int,int,int)\n"
" Gempa::CAPS::Time::Time(int,int,int,int)\n"
" Gempa::CAPS::Time::Time(int,int,int)\n"
" Gempa::CAPS::Time::Time(Gempa::CAPS::Time const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Time___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Time *arg1 = (Gempa::CAPS::Time *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"O:Time___nonzero__",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Time___nonzero__" "', argument " "1"" of type '" "Gempa::CAPS::Time const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Time * >(argp1);
result = (bool)((Gempa::CAPS::Time const *)arg1)->operator bool();
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Time___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Time *arg1 = (Gempa::CAPS::Time *) 0 ;
Gempa::CAPS::TimeSpan *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
Gempa::CAPS::Time result;
if (!PyArg_ParseTuple(args,(char *)"OO:Time___add__",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Time___add__" "', argument " "1"" of type '" "Gempa::CAPS::Time const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Time * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Time___add__" "', argument " "2"" of type '" "Gempa::CAPS::TimeSpan const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Time___add__" "', argument " "2"" of type '" "Gempa::CAPS::TimeSpan const &""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::TimeSpan * >(argp2);
result = ((Gempa::CAPS::Time const *)arg1)->operator +((Gempa::CAPS::TimeSpan const &)*arg2);
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::Time(static_cast< const Gempa::CAPS::Time& >(result))), SWIGTYPE_p_Gempa__CAPS__Time, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Time___sub____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Time *arg1 = (Gempa::CAPS::Time *) 0 ;
Gempa::CAPS::TimeSpan *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
Gempa::CAPS::Time result;
if (!PyArg_ParseTuple(args,(char *)"OO:Time___sub__",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Time___sub__" "', argument " "1"" of type '" "Gempa::CAPS::Time const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Time * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Time___sub__" "', argument " "2"" of type '" "Gempa::CAPS::TimeSpan const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Time___sub__" "', argument " "2"" of type '" "Gempa::CAPS::TimeSpan const &""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::TimeSpan * >(argp2);
result = ((Gempa::CAPS::Time const *)arg1)->operator -((Gempa::CAPS::TimeSpan const &)*arg2);
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::Time(static_cast< const Gempa::CAPS::Time& >(result))), SWIGTYPE_p_Gempa__CAPS__Time, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Time___sub____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Time *arg1 = (Gempa::CAPS::Time *) 0 ;
Gempa::CAPS::Time *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
Gempa::CAPS::TimeSpan result;
if (!PyArg_ParseTuple(args,(char *)"OO:Time___sub__",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Time___sub__" "', argument " "1"" of type '" "Gempa::CAPS::Time const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Time * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Time___sub__" "', argument " "2"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Time___sub__" "', argument " "2"" of type '" "Gempa::CAPS::Time const &""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::Time * >(argp2);
result = ((Gempa::CAPS::Time const *)arg1)->operator -((Gempa::CAPS::Time const &)*arg2);
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::TimeSpan(static_cast< const Gempa::CAPS::TimeSpan& >(result))), SWIGTYPE_p_Gempa__CAPS__TimeSpan, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Time___sub__(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
Py_ssize_t ii;
if (!PyTuple_Check(args)) SWIG_fail;
argc = args ? PyObject_Length(args) : 0;
for (ii = 0; (ii < 2) && (ii < argc); ii++) {
argv[ii] = PyTuple_GET_ITEM(args,ii);
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Time___sub____SWIG_1(self, args);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Time___sub____SWIG_0(self, args);
}
}
}
fail:
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}
SWIGINTERN PyObject *_wrap_Time___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Time *arg1 = (Gempa::CAPS::Time *) 0 ;
Gempa::CAPS::TimeSpan *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
Gempa::CAPS::Time *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:Time___iadd__",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Time, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Time___iadd__" "', argument " "1"" of type '" "Gempa::CAPS::Time *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Time * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Time___iadd__" "', argument " "2"" of type '" "Gempa::CAPS::TimeSpan const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Time___iadd__" "', argument " "2"" of type '" "Gempa::CAPS::TimeSpan const &""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::TimeSpan * >(argp2);
result = (Gempa::CAPS::Time *) &(arg1)->operator +=((Gempa::CAPS::TimeSpan const &)*arg2);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__Time, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Time___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Time *arg1 = (Gempa::CAPS::Time *) 0 ;
Gempa::CAPS::TimeSpan *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
Gempa::CAPS::Time *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:Time___isub__",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Time, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Time___isub__" "', argument " "1"" of type '" "Gempa::CAPS::Time *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Time * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Time___isub__" "', argument " "2"" of type '" "Gempa::CAPS::TimeSpan const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Time___isub__" "', argument " "2"" of type '" "Gempa::CAPS::TimeSpan const &""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::TimeSpan * >(argp2);
result = (Gempa::CAPS::Time *) &(arg1)->operator -=((Gempa::CAPS::TimeSpan const &)*arg2);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__Time, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Time_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Time *arg1 = (Gempa::CAPS::Time *) 0 ;
int arg2 ;
int arg3 ;
int arg4 ;
int arg5 ;
int arg6 ;
int arg7 ;
int arg8 ;
void *argp1 = 0 ;
int res1 = 0 ;
int val2 ;
int ecode2 = 0 ;
int val3 ;
int ecode3 = 0 ;
int val4 ;
int ecode4 = 0 ;
int val5 ;
int ecode5 = 0 ;
int val6 ;
int ecode6 = 0 ;
int val7 ;
int ecode7 = 0 ;
int val8 ;
int ecode8 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
PyObject * obj5 = 0 ;
PyObject * obj6 = 0 ;
PyObject * obj7 = 0 ;
Gempa::CAPS::Time *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:Time_set",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Time_set" "', argument " "1"" of type '" "Gempa::CAPS::Time *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Time * >(argp1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Time_set" "', argument " "2"" of type '" "int""'");
}
arg2 = static_cast< int >(val2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Time_set" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
ecode4 = SWIG_AsVal_int(obj3, &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Time_set" "', argument " "4"" of type '" "int""'");
}
arg4 = static_cast< int >(val4);
ecode5 = SWIG_AsVal_int(obj4, &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Time_set" "', argument " "5"" of type '" "int""'");
}
arg5 = static_cast< int >(val5);
ecode6 = SWIG_AsVal_int(obj5, &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Time_set" "', argument " "6"" of type '" "int""'");
}
arg6 = static_cast< int >(val6);
ecode7 = SWIG_AsVal_int(obj6, &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Time_set" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_int(obj7, &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "Time_set" "', argument " "8"" of type '" "int""'");
}
arg8 = static_cast< int >(val8);
result = (Gempa::CAPS::Time *) &(arg1)->set(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Time_get__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Time *arg1 = (Gempa::CAPS::Time *) 0 ;
int *arg2 = (int *) 0 ;
int *arg3 = (int *) 0 ;
int *arg4 = (int *) 0 ;
int *arg5 = (int *) 0 ;
int *arg6 = (int *) 0 ;
int *arg7 = (int *) 0 ;
int *arg8 = (int *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
void *argp8 = 0 ;
int res8 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
PyObject * obj5 = 0 ;
PyObject * obj6 = 0 ;
PyObject * obj7 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:Time_get",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Time_get" "', argument " "1"" of type '" "Gempa::CAPS::Time const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Time * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Time_get" "', argument " "2"" of type '" "int *""'");
}
arg2 = reinterpret_cast< int * >(argp2);
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Time_get" "', argument " "3"" of type '" "int *""'");
}
arg3 = reinterpret_cast< int * >(argp3);
res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Time_get" "', argument " "4"" of type '" "int *""'");
}
arg4 = reinterpret_cast< int * >(argp4);
res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "Time_get" "', argument " "5"" of type '" "int *""'");
}
arg5 = reinterpret_cast< int * >(argp5);
res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "Time_get" "', argument " "6"" of type '" "int *""'");
}
arg6 = reinterpret_cast< int * >(argp6);
res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "Time_get" "', argument " "7"" of type '" "int *""'");
}
arg7 = reinterpret_cast< int * >(argp7);
res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res8)) {
SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Time_get" "', argument " "8"" of type '" "int *""'");
}
arg8 = reinterpret_cast< int * >(argp8);
result = (bool)((Gempa::CAPS::Time const *)arg1)->get(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Time_get__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Time *arg1 = (Gempa::CAPS::Time *) 0 ;
int *arg2 = (int *) 0 ;
int *arg3 = (int *) 0 ;
int *arg4 = (int *) 0 ;
int *arg5 = (int *) 0 ;
int *arg6 = (int *) 0 ;
int *arg7 = (int *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
PyObject * obj5 = 0 ;
PyObject * obj6 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:Time_get",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Time_get" "', argument " "1"" of type '" "Gempa::CAPS::Time const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Time * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Time_get" "', argument " "2"" of type '" "int *""'");
}
arg2 = reinterpret_cast< int * >(argp2);
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Time_get" "', argument " "3"" of type '" "int *""'");
}
arg3 = reinterpret_cast< int * >(argp3);
res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Time_get" "', argument " "4"" of type '" "int *""'");
}
arg4 = reinterpret_cast< int * >(argp4);
res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "Time_get" "', argument " "5"" of type '" "int *""'");
}
arg5 = reinterpret_cast< int * >(argp5);
res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "Time_get" "', argument " "6"" of type '" "int *""'");
}
arg6 = reinterpret_cast< int * >(argp6);
res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "Time_get" "', argument " "7"" of type '" "int *""'");
}
arg7 = reinterpret_cast< int * >(argp7);
result = (bool)((Gempa::CAPS::Time const *)arg1)->get(arg2,arg3,arg4,arg5,arg6,arg7);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Time_get__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Time *arg1 = (Gempa::CAPS::Time *) 0 ;
int *arg2 = (int *) 0 ;
int *arg3 = (int *) 0 ;
int *arg4 = (int *) 0 ;
int *arg5 = (int *) 0 ;
int *arg6 = (int *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
PyObject * obj5 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OOOOOO:Time_get",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Time_get" "', argument " "1"" of type '" "Gempa::CAPS::Time const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Time * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Time_get" "', argument " "2"" of type '" "int *""'");
}
arg2 = reinterpret_cast< int * >(argp2);
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Time_get" "', argument " "3"" of type '" "int *""'");
}
arg3 = reinterpret_cast< int * >(argp3);
res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Time_get" "', argument " "4"" of type '" "int *""'");
}
arg4 = reinterpret_cast< int * >(argp4);
res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "Time_get" "', argument " "5"" of type '" "int *""'");
}
arg5 = reinterpret_cast< int * >(argp5);
res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "Time_get" "', argument " "6"" of type '" "int *""'");
}
arg6 = reinterpret_cast< int * >(argp6);
result = (bool)((Gempa::CAPS::Time const *)arg1)->get(arg2,arg3,arg4,arg5,arg6);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Time_get__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Time *arg1 = (Gempa::CAPS::Time *) 0 ;
int *arg2 = (int *) 0 ;
int *arg3 = (int *) 0 ;
int *arg4 = (int *) 0 ;
int *arg5 = (int *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OOOOO:Time_get",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Time_get" "', argument " "1"" of type '" "Gempa::CAPS::Time const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Time * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Time_get" "', argument " "2"" of type '" "int *""'");
}
arg2 = reinterpret_cast< int * >(argp2);
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Time_get" "', argument " "3"" of type '" "int *""'");
}
arg3 = reinterpret_cast< int * >(argp3);
res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Time_get" "', argument " "4"" of type '" "int *""'");
}
arg4 = reinterpret_cast< int * >(argp4);
res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "Time_get" "', argument " "5"" of type '" "int *""'");
}
arg5 = reinterpret_cast< int * >(argp5);
result = (bool)((Gempa::CAPS::Time const *)arg1)->get(arg2,arg3,arg4,arg5);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Time_get__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Time *arg1 = (Gempa::CAPS::Time *) 0 ;
int *arg2 = (int *) 0 ;
int *arg3 = (int *) 0 ;
int *arg4 = (int *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OOOO:Time_get",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Time_get" "', argument " "1"" of type '" "Gempa::CAPS::Time const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Time * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Time_get" "', argument " "2"" of type '" "int *""'");
}
arg2 = reinterpret_cast< int * >(argp2);
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Time_get" "', argument " "3"" of type '" "int *""'");
}
arg3 = reinterpret_cast< int * >(argp3);
res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Time_get" "', argument " "4"" of type '" "int *""'");
}
arg4 = reinterpret_cast< int * >(argp4);
result = (bool)((Gempa::CAPS::Time const *)arg1)->get(arg2,arg3,arg4);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Time_get__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Time *arg1 = (Gempa::CAPS::Time *) 0 ;
int *arg2 = (int *) 0 ;
int *arg3 = (int *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OOO:Time_get",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Time_get" "', argument " "1"" of type '" "Gempa::CAPS::Time const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Time * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Time_get" "', argument " "2"" of type '" "int *""'");
}
arg2 = reinterpret_cast< int * >(argp2);
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Time_get" "', argument " "3"" of type '" "int *""'");
}
arg3 = reinterpret_cast< int * >(argp3);
result = (bool)((Gempa::CAPS::Time const *)arg1)->get(arg2,arg3);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Time_get__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Time *arg1 = (Gempa::CAPS::Time *) 0 ;
int *arg2 = (int *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OO:Time_get",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Time_get" "', argument " "1"" of type '" "Gempa::CAPS::Time const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Time * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Time_get" "', argument " "2"" of type '" "int *""'");
}
arg2 = reinterpret_cast< int * >(argp2);
result = (bool)((Gempa::CAPS::Time const *)arg1)->get(arg2);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Time_get(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[9] = {
0
};
Py_ssize_t ii;
if (!PyTuple_Check(args)) SWIG_fail;
argc = args ? PyObject_Length(args) : 0;
for (ii = 0; (ii < 8) && (ii < argc); ii++) {
argv[ii] = PyTuple_GET_ITEM(args,ii);
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Time_get__SWIG_6(self, args);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Time_get__SWIG_5(self, args);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Time_get__SWIG_4(self, args);
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Time_get__SWIG_3(self, args);
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Time_get__SWIG_2(self, args);
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Time_get__SWIG_1(self, args);
}
}
}
}
}
}
}
}
if (argc == 8) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Time_get__SWIG_0(self, args);
}
}
}
}
}
}
}
}
}
fail:
SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Time_get'.\n"
" Possible C/C++ prototypes are:\n"
" Gempa::CAPS::Time::get(int *,int *,int *,int *,int *,int *,int *) const\n"
" Gempa::CAPS::Time::get(int *,int *,int *,int *,int *,int *) const\n"
" Gempa::CAPS::Time::get(int *,int *,int *,int *,int *) const\n"
" Gempa::CAPS::Time::get(int *,int *,int *,int *) const\n"
" Gempa::CAPS::Time::get(int *,int *,int *) const\n"
" Gempa::CAPS::Time::get(int *,int *) const\n"
" Gempa::CAPS::Time::get(int *) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Time_get2__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Time *arg1 = (Gempa::CAPS::Time *) 0 ;
int *arg2 = (int *) 0 ;
int *arg3 = (int *) 0 ;
int *arg4 = (int *) 0 ;
int *arg5 = (int *) 0 ;
int *arg6 = (int *) 0 ;
int *arg7 = (int *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
PyObject * obj5 = 0 ;
PyObject * obj6 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:Time_get2",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Time_get2" "', argument " "1"" of type '" "Gempa::CAPS::Time const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Time * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Time_get2" "', argument " "2"" of type '" "int *""'");
}
arg2 = reinterpret_cast< int * >(argp2);
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Time_get2" "', argument " "3"" of type '" "int *""'");
}
arg3 = reinterpret_cast< int * >(argp3);
res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Time_get2" "', argument " "4"" of type '" "int *""'");
}
arg4 = reinterpret_cast< int * >(argp4);
res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "Time_get2" "', argument " "5"" of type '" "int *""'");
}
arg5 = reinterpret_cast< int * >(argp5);
res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "Time_get2" "', argument " "6"" of type '" "int *""'");
}
arg6 = reinterpret_cast< int * >(argp6);
res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "Time_get2" "', argument " "7"" of type '" "int *""'");
}
arg7 = reinterpret_cast< int * >(argp7);
result = (bool)((Gempa::CAPS::Time const *)arg1)->get2(arg2,arg3,arg4,arg5,arg6,arg7);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Time_get2__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Time *arg1 = (Gempa::CAPS::Time *) 0 ;
int *arg2 = (int *) 0 ;
int *arg3 = (int *) 0 ;
int *arg4 = (int *) 0 ;
int *arg5 = (int *) 0 ;
int *arg6 = (int *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
PyObject * obj5 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OOOOOO:Time_get2",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Time_get2" "', argument " "1"" of type '" "Gempa::CAPS::Time const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Time * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Time_get2" "', argument " "2"" of type '" "int *""'");
}
arg2 = reinterpret_cast< int * >(argp2);
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Time_get2" "', argument " "3"" of type '" "int *""'");
}
arg3 = reinterpret_cast< int * >(argp3);
res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Time_get2" "', argument " "4"" of type '" "int *""'");
}
arg4 = reinterpret_cast< int * >(argp4);
res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "Time_get2" "', argument " "5"" of type '" "int *""'");
}
arg5 = reinterpret_cast< int * >(argp5);
res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "Time_get2" "', argument " "6"" of type '" "int *""'");
}
arg6 = reinterpret_cast< int * >(argp6);
result = (bool)((Gempa::CAPS::Time const *)arg1)->get2(arg2,arg3,arg4,arg5,arg6);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Time_get2__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Time *arg1 = (Gempa::CAPS::Time *) 0 ;
int *arg2 = (int *) 0 ;
int *arg3 = (int *) 0 ;
int *arg4 = (int *) 0 ;
int *arg5 = (int *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OOOOO:Time_get2",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Time_get2" "', argument " "1"" of type '" "Gempa::CAPS::Time const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Time * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Time_get2" "', argument " "2"" of type '" "int *""'");
}
arg2 = reinterpret_cast< int * >(argp2);
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Time_get2" "', argument " "3"" of type '" "int *""'");
}
arg3 = reinterpret_cast< int * >(argp3);
res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Time_get2" "', argument " "4"" of type '" "int *""'");
}
arg4 = reinterpret_cast< int * >(argp4);
res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "Time_get2" "', argument " "5"" of type '" "int *""'");
}
arg5 = reinterpret_cast< int * >(argp5);
result = (bool)((Gempa::CAPS::Time const *)arg1)->get2(arg2,arg3,arg4,arg5);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Time_get2__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Time *arg1 = (Gempa::CAPS::Time *) 0 ;
int *arg2 = (int *) 0 ;
int *arg3 = (int *) 0 ;
int *arg4 = (int *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OOOO:Time_get2",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Time_get2" "', argument " "1"" of type '" "Gempa::CAPS::Time const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Time * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Time_get2" "', argument " "2"" of type '" "int *""'");
}
arg2 = reinterpret_cast< int * >(argp2);
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Time_get2" "', argument " "3"" of type '" "int *""'");
}
arg3 = reinterpret_cast< int * >(argp3);
res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Time_get2" "', argument " "4"" of type '" "int *""'");
}
arg4 = reinterpret_cast< int * >(argp4);
result = (bool)((Gempa::CAPS::Time const *)arg1)->get2(arg2,arg3,arg4);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Time_get2__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Time *arg1 = (Gempa::CAPS::Time *) 0 ;
int *arg2 = (int *) 0 ;
int *arg3 = (int *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OOO:Time_get2",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Time_get2" "', argument " "1"" of type '" "Gempa::CAPS::Time const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Time * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Time_get2" "', argument " "2"" of type '" "int *""'");
}
arg2 = reinterpret_cast< int * >(argp2);
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Time_get2" "', argument " "3"" of type '" "int *""'");
}
arg3 = reinterpret_cast< int * >(argp3);
result = (bool)((Gempa::CAPS::Time const *)arg1)->get2(arg2,arg3);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Time_get2__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Time *arg1 = (Gempa::CAPS::Time *) 0 ;
int *arg2 = (int *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OO:Time_get2",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Time_get2" "', argument " "1"" of type '" "Gempa::CAPS::Time const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Time * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Time_get2" "', argument " "2"" of type '" "int *""'");
}
arg2 = reinterpret_cast< int * >(argp2);
result = (bool)((Gempa::CAPS::Time const *)arg1)->get2(arg2);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Time_get2(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[8] = {
0
};
Py_ssize_t ii;
if (!PyTuple_Check(args)) SWIG_fail;
argc = args ? PyObject_Length(args) : 0;
for (ii = 0; (ii < 7) && (ii < argc); ii++) {
argv[ii] = PyTuple_GET_ITEM(args,ii);
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Time_get2__SWIG_5(self, args);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Time_get2__SWIG_4(self, args);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Time_get2__SWIG_3(self, args);
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Time_get2__SWIG_2(self, args);
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Time_get2__SWIG_1(self, args);
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Time_get2__SWIG_0(self, args);
}
}
}
}
}
}
}
}
fail:
SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Time_get2'.\n"
" Possible C/C++ prototypes are:\n"
" Gempa::CAPS::Time::get2(int *,int *,int *,int *,int *,int *) const\n"
" Gempa::CAPS::Time::get2(int *,int *,int *,int *,int *) const\n"
" Gempa::CAPS::Time::get2(int *,int *,int *,int *) const\n"
" Gempa::CAPS::Time::get2(int *,int *,int *) const\n"
" Gempa::CAPS::Time::get2(int *,int *) const\n"
" Gempa::CAPS::Time::get2(int *) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Time_LocalTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Time result;
if (!PyArg_ParseTuple(args,(char *)":Time_LocalTime")) SWIG_fail;
result = Gempa::CAPS::Time::LocalTime();
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::Time(static_cast< const Gempa::CAPS::Time& >(result))), SWIGTYPE_p_Gempa__CAPS__Time, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Time_GMT(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Time result;
if (!PyArg_ParseTuple(args,(char *)":Time_GMT")) SWIG_fail;
result = Gempa::CAPS::Time::GMT();
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::Time(static_cast< const Gempa::CAPS::Time& >(result))), SWIGTYPE_p_Gempa__CAPS__Time, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Time_FromYearDay(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
int arg1 ;
int arg2 ;
int val1 ;
int ecode1 = 0 ;
int val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
Gempa::CAPS::Time result;
if (!PyArg_ParseTuple(args,(char *)"OO:Time_FromYearDay",&obj0,&obj1)) SWIG_fail;
ecode1 = SWIG_AsVal_int(obj0, &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Time_FromYearDay" "', argument " "1"" of type '" "int""'");
}
arg1 = static_cast< int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Time_FromYearDay" "', argument " "2"" of type '" "int""'");
}
arg2 = static_cast< int >(val2);
result = Gempa::CAPS::Time::FromYearDay(arg1,arg2);
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::Time(static_cast< const Gempa::CAPS::Time& >(result))), SWIGTYPE_p_Gempa__CAPS__Time, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Time_localtime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Time *arg1 = (Gempa::CAPS::Time *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::Time *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:Time_localtime",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Time_localtime" "', argument " "1"" of type '" "Gempa::CAPS::Time *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Time * >(argp1);
result = (Gempa::CAPS::Time *) &(arg1)->localtime();
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Time_gmt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Time *arg1 = (Gempa::CAPS::Time *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::Time *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:Time_gmt",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Time_gmt" "', argument " "1"" of type '" "Gempa::CAPS::Time *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Time * >(argp1);
result = (Gempa::CAPS::Time *) &(arg1)->gmt();
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Time_toLocalTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Time *arg1 = (Gempa::CAPS::Time *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::Time result;
if (!PyArg_ParseTuple(args,(char *)"O:Time_toLocalTime",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Time_toLocalTime" "', argument " "1"" of type '" "Gempa::CAPS::Time const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Time * >(argp1);
result = ((Gempa::CAPS::Time const *)arg1)->toLocalTime();
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::Time(static_cast< const Gempa::CAPS::Time& >(result))), SWIGTYPE_p_Gempa__CAPS__Time, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Time_toGMT(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Time *arg1 = (Gempa::CAPS::Time *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::Time result;
if (!PyArg_ParseTuple(args,(char *)"O:Time_toGMT",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Time_toGMT" "', argument " "1"" of type '" "Gempa::CAPS::Time const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Time * >(argp1);
result = ((Gempa::CAPS::Time const *)arg1)->toGMT();
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::Time(static_cast< const Gempa::CAPS::Time& >(result))), SWIGTYPE_p_Gempa__CAPS__Time, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Time_valid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Time *arg1 = (Gempa::CAPS::Time *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"O:Time_valid",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Time_valid" "', argument " "1"" of type '" "Gempa::CAPS::Time const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Time * >(argp1);
result = (bool)((Gempa::CAPS::Time const *)arg1)->valid();
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Time_toString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Time *arg1 = (Gempa::CAPS::Time *) 0 ;
char *arg2 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
std::string result;
if (!PyArg_ParseTuple(args,(char *)"OO:Time_toString",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Time_toString" "', argument " "1"" of type '" "Gempa::CAPS::Time const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Time * >(argp1);
res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Time_toString" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
result = ((Gempa::CAPS::Time const *)arg1)->toString((char const *)arg2);
resultobj = SWIG_From_std_string(static_cast< std::string >(result));
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return NULL;
}
SWIGINTERN PyObject *_wrap_Time_iso(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Time *arg1 = (Gempa::CAPS::Time *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
std::string result;
if (!PyArg_ParseTuple(args,(char *)"O:Time_iso",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Time_iso" "', argument " "1"" of type '" "Gempa::CAPS::Time const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Time * >(argp1);
result = ((Gempa::CAPS::Time const *)arg1)->iso();
resultobj = SWIG_From_std_string(static_cast< std::string >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Time_fromString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Time *arg1 = (Gempa::CAPS::Time *) 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OOO:Time_fromString",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Time_fromString" "', argument " "1"" of type '" "Gempa::CAPS::Time *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Time * >(argp1);
res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Time_fromString" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Time_fromString" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
result = (bool)(arg1)->fromString((char const *)arg2,(char const *)arg3);
resultobj = SWIG_From_bool(static_cast< bool >(result));
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_Time_FromString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *arg1 = (char *) 0 ;
char *arg2 = (char *) 0 ;
int res1 ;
char *buf1 = 0 ;
int alloc1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
Gempa::CAPS::Time result;
if (!PyArg_ParseTuple(args,(char *)"OO:Time_FromString",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Time_FromString" "', argument " "1"" of type '" "char const *""'");
}
arg1 = reinterpret_cast< char * >(buf1);
res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Time_FromString" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
result = Gempa::CAPS::Time::FromString((char const *)arg1,(char const *)arg2);
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::Time(static_cast< const Gempa::CAPS::Time& >(result))), SWIGTYPE_p_Gempa__CAPS__Time, SWIG_POINTER_OWN | 0 );
if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return resultobj;
fail:
if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Time(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Time *arg1 = (Gempa::CAPS::Time *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:delete_Time",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Time, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Time" "', argument " "1"" of type '" "Gempa::CAPS::Time *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Time * >(argp1);
delete arg1;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *Time_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_Gempa__CAPS__Time, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_UOM_str_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::UOM *arg1 = (Gempa::CAPS::UOM *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[4] ;
int res2 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:UOM_str_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__UOM, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UOM_str_set" "', argument " "1"" of type '" "Gempa::CAPS::UOM *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::UOM * >(argp1);
res2 = SWIG_AsCharArray(obj1, temp2, 4);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "UOM_str_set" "', argument " "2"" of type '" "char [4]""'");
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->str,arg2,4*sizeof(char));
else memset(arg1->str,0,4*sizeof(char));
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UOM_str_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::UOM *arg1 = (Gempa::CAPS::UOM *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
char *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:UOM_str_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__UOM, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UOM_str_get" "', argument " "1"" of type '" "Gempa::CAPS::UOM *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::UOM * >(argp1);
result = (char *)(char *) ((arg1)->str);
{
size_t size = SWIG_strnlen(result, 4);
resultobj = SWIG_FromCharPtrAndSize(result, size);
}
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UOM_ID_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::UOM *arg1 = (Gempa::CAPS::UOM *) 0 ;
int32_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
int val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:UOM_ID_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__UOM, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UOM_ID_set" "', argument " "1"" of type '" "Gempa::CAPS::UOM *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::UOM * >(argp1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "UOM_ID_set" "', argument " "2"" of type '" "int32_t""'");
}
arg2 = static_cast< int32_t >(val2);
if (arg1) (arg1)->ID = arg2;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UOM_ID_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::UOM *arg1 = (Gempa::CAPS::UOM *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
int32_t result;
if (!PyArg_ParseTuple(args,(char *)"O:UOM_ID_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__UOM, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UOM_ID_get" "', argument " "1"" of type '" "Gempa::CAPS::UOM *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::UOM * >(argp1);
result = (int32_t) ((arg1)->ID);
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_UOM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::UOM *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)":new_UOM")) SWIG_fail;
result = (Gempa::CAPS::UOM *)new Gempa::CAPS::UOM();
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__UOM, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_UOM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::UOM *arg1 = (Gempa::CAPS::UOM *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:delete_UOM",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__UOM, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_UOM" "', argument " "1"" of type '" "Gempa::CAPS::UOM *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::UOM * >(argp1);
delete arg1;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *UOM_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_Gempa__CAPS__UOM, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_Quality_str_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Quality *arg1 = (Gempa::CAPS::Quality *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[4] ;
int res2 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:Quality_str_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Quality, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Quality_str_set" "', argument " "1"" of type '" "Gempa::CAPS::Quality *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Quality * >(argp1);
res2 = SWIG_AsCharArray(obj1, temp2, 4);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Quality_str_set" "', argument " "2"" of type '" "char [4]""'");
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->str,arg2,4*sizeof(char));
else memset(arg1->str,0,4*sizeof(char));
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Quality_str_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Quality *arg1 = (Gempa::CAPS::Quality *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
char *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:Quality_str_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Quality, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Quality_str_get" "', argument " "1"" of type '" "Gempa::CAPS::Quality *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Quality * >(argp1);
result = (char *)(char *) ((arg1)->str);
{
size_t size = SWIG_strnlen(result, 4);
resultobj = SWIG_FromCharPtrAndSize(result, size);
}
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Quality_ID_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Quality *arg1 = (Gempa::CAPS::Quality *) 0 ;
int32_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
int val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:Quality_ID_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Quality, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Quality_ID_set" "', argument " "1"" of type '" "Gempa::CAPS::Quality *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Quality * >(argp1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Quality_ID_set" "', argument " "2"" of type '" "int32_t""'");
}
arg2 = static_cast< int32_t >(val2);
if (arg1) (arg1)->ID = arg2;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Quality_ID_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Quality *arg1 = (Gempa::CAPS::Quality *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
int32_t result;
if (!PyArg_ParseTuple(args,(char *)"O:Quality_ID_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Quality, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Quality_ID_get" "', argument " "1"" of type '" "Gempa::CAPS::Quality *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Quality * >(argp1);
result = (int32_t) ((arg1)->ID);
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Quality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Quality *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)":new_Quality")) SWIG_fail;
result = (Gempa::CAPS::Quality *)new Gempa::CAPS::Quality();
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__Quality, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Quality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Quality *arg1 = (Gempa::CAPS::Quality *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:delete_Quality",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Quality, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Quality" "', argument " "1"" of type '" "Gempa::CAPS::Quality *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Quality * >(argp1);
delete arg1;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *Quality_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_Gempa__CAPS__Quality, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_TimeStamp_year_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::TimeStamp *arg1 = (Gempa::CAPS::TimeStamp *) 0 ;
int16_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
short val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:TimeStamp_year_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__TimeStamp, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TimeStamp_year_set" "', argument " "1"" of type '" "Gempa::CAPS::TimeStamp *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::TimeStamp * >(argp1);
ecode2 = SWIG_AsVal_short(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TimeStamp_year_set" "', argument " "2"" of type '" "int16_t""'");
}
arg2 = static_cast< int16_t >(val2);
if (arg1) (arg1)->year = arg2;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_TimeStamp_year_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::TimeStamp *arg1 = (Gempa::CAPS::TimeStamp *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
int16_t result;
if (!PyArg_ParseTuple(args,(char *)"O:TimeStamp_year_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__TimeStamp, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TimeStamp_year_get" "', argument " "1"" of type '" "Gempa::CAPS::TimeStamp *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::TimeStamp * >(argp1);
result = (int16_t) ((arg1)->year);
resultobj = SWIG_From_short(static_cast< short >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_TimeStamp_yday_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::TimeStamp *arg1 = (Gempa::CAPS::TimeStamp *) 0 ;
uint16_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned short val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:TimeStamp_yday_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__TimeStamp, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TimeStamp_yday_set" "', argument " "1"" of type '" "Gempa::CAPS::TimeStamp *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::TimeStamp * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_short(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TimeStamp_yday_set" "', argument " "2"" of type '" "uint16_t""'");
}
arg2 = static_cast< uint16_t >(val2);
if (arg1) (arg1)->yday = arg2;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_TimeStamp_yday_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::TimeStamp *arg1 = (Gempa::CAPS::TimeStamp *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
uint16_t result;
if (!PyArg_ParseTuple(args,(char *)"O:TimeStamp_yday_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__TimeStamp, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TimeStamp_yday_get" "', argument " "1"" of type '" "Gempa::CAPS::TimeStamp *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::TimeStamp * >(argp1);
result = (uint16_t) ((arg1)->yday);
resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_TimeStamp_hour_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::TimeStamp *arg1 = (Gempa::CAPS::TimeStamp *) 0 ;
uint8_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned char val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:TimeStamp_hour_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__TimeStamp, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TimeStamp_hour_set" "', argument " "1"" of type '" "Gempa::CAPS::TimeStamp *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::TimeStamp * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TimeStamp_hour_set" "', argument " "2"" of type '" "uint8_t""'");
}
arg2 = static_cast< uint8_t >(val2);
if (arg1) (arg1)->hour = arg2;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_TimeStamp_hour_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::TimeStamp *arg1 = (Gempa::CAPS::TimeStamp *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
uint8_t result;
if (!PyArg_ParseTuple(args,(char *)"O:TimeStamp_hour_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__TimeStamp, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TimeStamp_hour_get" "', argument " "1"" of type '" "Gempa::CAPS::TimeStamp *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::TimeStamp * >(argp1);
result = (uint8_t) ((arg1)->hour);
resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_TimeStamp_minute_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::TimeStamp *arg1 = (Gempa::CAPS::TimeStamp *) 0 ;
uint8_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned char val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:TimeStamp_minute_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__TimeStamp, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TimeStamp_minute_set" "', argument " "1"" of type '" "Gempa::CAPS::TimeStamp *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::TimeStamp * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TimeStamp_minute_set" "', argument " "2"" of type '" "uint8_t""'");
}
arg2 = static_cast< uint8_t >(val2);
if (arg1) (arg1)->minute = arg2;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_TimeStamp_minute_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::TimeStamp *arg1 = (Gempa::CAPS::TimeStamp *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
uint8_t result;
if (!PyArg_ParseTuple(args,(char *)"O:TimeStamp_minute_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__TimeStamp, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TimeStamp_minute_get" "', argument " "1"" of type '" "Gempa::CAPS::TimeStamp *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::TimeStamp * >(argp1);
result = (uint8_t) ((arg1)->minute);
resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_TimeStamp_second_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::TimeStamp *arg1 = (Gempa::CAPS::TimeStamp *) 0 ;
uint8_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned char val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:TimeStamp_second_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__TimeStamp, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TimeStamp_second_set" "', argument " "1"" of type '" "Gempa::CAPS::TimeStamp *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::TimeStamp * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TimeStamp_second_set" "', argument " "2"" of type '" "uint8_t""'");
}
arg2 = static_cast< uint8_t >(val2);
if (arg1) (arg1)->second = arg2;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_TimeStamp_second_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::TimeStamp *arg1 = (Gempa::CAPS::TimeStamp *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
uint8_t result;
if (!PyArg_ParseTuple(args,(char *)"O:TimeStamp_second_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__TimeStamp, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TimeStamp_second_get" "', argument " "1"" of type '" "Gempa::CAPS::TimeStamp *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::TimeStamp * >(argp1);
result = (uint8_t) ((arg1)->second);
resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_TimeStamp_unused_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::TimeStamp *arg1 = (Gempa::CAPS::TimeStamp *) 0 ;
uint8_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned char val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:TimeStamp_unused_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__TimeStamp, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TimeStamp_unused_set" "', argument " "1"" of type '" "Gempa::CAPS::TimeStamp *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::TimeStamp * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TimeStamp_unused_set" "', argument " "2"" of type '" "uint8_t""'");
}
arg2 = static_cast< uint8_t >(val2);
if (arg1) (arg1)->unused = arg2;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_TimeStamp_unused_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::TimeStamp *arg1 = (Gempa::CAPS::TimeStamp *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
uint8_t result;
if (!PyArg_ParseTuple(args,(char *)"O:TimeStamp_unused_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__TimeStamp, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TimeStamp_unused_get" "', argument " "1"" of type '" "Gempa::CAPS::TimeStamp *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::TimeStamp * >(argp1);
result = (uint8_t) ((arg1)->unused);
resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_TimeStamp_usec_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::TimeStamp *arg1 = (Gempa::CAPS::TimeStamp *) 0 ;
int32_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
int val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:TimeStamp_usec_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__TimeStamp, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TimeStamp_usec_set" "', argument " "1"" of type '" "Gempa::CAPS::TimeStamp *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::TimeStamp * >(argp1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TimeStamp_usec_set" "', argument " "2"" of type '" "int32_t""'");
}
arg2 = static_cast< int32_t >(val2);
if (arg1) (arg1)->usec = arg2;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_TimeStamp_usec_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::TimeStamp *arg1 = (Gempa::CAPS::TimeStamp *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
int32_t result;
if (!PyArg_ParseTuple(args,(char *)"O:TimeStamp_usec_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__TimeStamp, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TimeStamp_usec_get" "', argument " "1"" of type '" "Gempa::CAPS::TimeStamp *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::TimeStamp * >(argp1);
result = (int32_t) ((arg1)->usec);
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_TimeStamp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::TimeStamp *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)":new_TimeStamp")) SWIG_fail;
result = (Gempa::CAPS::TimeStamp *)new Gempa::CAPS::TimeStamp();
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__TimeStamp, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_TimeStamp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::TimeStamp *arg1 = (Gempa::CAPS::TimeStamp *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:delete_TimeStamp",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__TimeStamp, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TimeStamp" "', argument " "1"" of type '" "Gempa::CAPS::TimeStamp *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::TimeStamp * >(argp1);
delete arg1;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *TimeStamp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_Gempa__CAPS__TimeStamp, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_new_PacketDataHeader__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::PacketDataHeader *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)":new_PacketDataHeader")) SWIG_fail;
result = (Gempa::CAPS::PacketDataHeader *)new Gempa::CAPS::PacketDataHeader();
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__PacketDataHeader, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_PacketDataHeader__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
uint16_t arg1 ;
unsigned short val1 ;
int ecode1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::PacketDataHeader *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:new_PacketDataHeader",&obj0)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_short(obj0, &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_PacketDataHeader" "', argument " "1"" of type '" "uint16_t""'");
}
arg1 = static_cast< uint16_t >(val1);
result = (Gempa::CAPS::PacketDataHeader *)new Gempa::CAPS::PacketDataHeader(arg1);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__PacketDataHeader, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_PacketDataHeader(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
Py_ssize_t ii;
if (!PyTuple_Check(args)) SWIG_fail;
argc = args ? PyObject_Length(args) : 0;
for (ii = 0; (ii < 1) && (ii < argc); ii++) {
argv[ii] = PyTuple_GET_ITEM(args,ii);
}
if (argc == 0) {
return _wrap_new_PacketDataHeader__SWIG_0(self, args);
}
if (argc == 1) {
int _v;
{
int res = SWIG_AsVal_unsigned_SS_short(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_PacketDataHeader__SWIG_1(self, args);
}
}
fail:
SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_PacketDataHeader'.\n"
" Possible C/C++ prototypes are:\n"
" Gempa::CAPS::PacketDataHeader::PacketDataHeader()\n"
" Gempa::CAPS::PacketDataHeader::PacketDataHeader(uint16_t)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_PacketDataHeader_version_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::PacketDataHeader *arg1 = (Gempa::CAPS::PacketDataHeader *) 0 ;
uint16_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned short val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:PacketDataHeader_version_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__PacketDataHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacketDataHeader_version_set" "', argument " "1"" of type '" "Gempa::CAPS::PacketDataHeader *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::PacketDataHeader * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_short(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PacketDataHeader_version_set" "', argument " "2"" of type '" "uint16_t""'");
}
arg2 = static_cast< uint16_t >(val2);
if (arg1) (arg1)->version = arg2;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PacketDataHeader_version_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::PacketDataHeader *arg1 = (Gempa::CAPS::PacketDataHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
uint16_t result;
if (!PyArg_ParseTuple(args,(char *)"O:PacketDataHeader_version_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__PacketDataHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacketDataHeader_version_get" "', argument " "1"" of type '" "Gempa::CAPS::PacketDataHeader *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::PacketDataHeader * >(argp1);
result = (uint16_t) ((arg1)->version);
resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PacketDataHeader_packetType_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::PacketDataHeader *arg1 = (Gempa::CAPS::PacketDataHeader *) 0 ;
Gempa::CAPS::PacketType arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
int val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:PacketDataHeader_packetType_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__PacketDataHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacketDataHeader_packetType_set" "', argument " "1"" of type '" "Gempa::CAPS::PacketDataHeader *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::PacketDataHeader * >(argp1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PacketDataHeader_packetType_set" "', argument " "2"" of type '" "Gempa::CAPS::PacketType""'");
}
arg2 = static_cast< Gempa::CAPS::PacketType >(val2);
if (arg1) (arg1)->packetType = arg2;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PacketDataHeader_packetType_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::PacketDataHeader *arg1 = (Gempa::CAPS::PacketDataHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::PacketType result;
if (!PyArg_ParseTuple(args,(char *)"O:PacketDataHeader_packetType_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__PacketDataHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacketDataHeader_packetType_get" "', argument " "1"" of type '" "Gempa::CAPS::PacketDataHeader *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::PacketDataHeader * >(argp1);
result = (Gempa::CAPS::PacketType) ((arg1)->packetType);
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PacketDataHeader_unitOfMeasurement_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::PacketDataHeader *arg1 = (Gempa::CAPS::PacketDataHeader *) 0 ;
Gempa::CAPS::UOM *arg2 = (Gempa::CAPS::UOM *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:PacketDataHeader_unitOfMeasurement_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__PacketDataHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacketDataHeader_unitOfMeasurement_set" "', argument " "1"" of type '" "Gempa::CAPS::PacketDataHeader *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::PacketDataHeader * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Gempa__CAPS__UOM, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PacketDataHeader_unitOfMeasurement_set" "', argument " "2"" of type '" "Gempa::CAPS::UOM *""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::UOM * >(argp2);
if (arg1) (arg1)->unitOfMeasurement = *arg2;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PacketDataHeader_unitOfMeasurement_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::PacketDataHeader *arg1 = (Gempa::CAPS::PacketDataHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::UOM *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:PacketDataHeader_unitOfMeasurement_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__PacketDataHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacketDataHeader_unitOfMeasurement_get" "', argument " "1"" of type '" "Gempa::CAPS::PacketDataHeader *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::PacketDataHeader * >(argp1);
result = (Gempa::CAPS::UOM *)& ((arg1)->unitOfMeasurement);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__UOM, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PacketDataHeader_setUOM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::PacketDataHeader *arg1 = (Gempa::CAPS::PacketDataHeader *) 0 ;
char *arg2 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OO:PacketDataHeader_setUOM",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__PacketDataHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacketDataHeader_setUOM" "', argument " "1"" of type '" "Gempa::CAPS::PacketDataHeader *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::PacketDataHeader * >(argp1);
res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PacketDataHeader_setUOM" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
result = (bool)(arg1)->setUOM((char const *)arg2);
resultobj = SWIG_From_bool(static_cast< bool >(result));
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return NULL;
}
SWIGINTERN PyObject *_wrap_PacketDataHeader_uom__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::PacketDataHeader *arg1 = (Gempa::CAPS::PacketDataHeader *) 0 ;
char arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
std::string result;
if (!PyArg_ParseTuple(args,(char *)"OO:PacketDataHeader_uom",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__PacketDataHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacketDataHeader_uom" "', argument " "1"" of type '" "Gempa::CAPS::PacketDataHeader const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::PacketDataHeader * >(argp1);
ecode2 = SWIG_AsVal_char(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PacketDataHeader_uom" "', argument " "2"" of type '" "char""'");
}
arg2 = static_cast< char >(val2);
result = ((Gempa::CAPS::PacketDataHeader const *)arg1)->uom(arg2);
resultobj = SWIG_From_std_string(static_cast< std::string >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PacketDataHeader_uom__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::PacketDataHeader *arg1 = (Gempa::CAPS::PacketDataHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
std::string result;
if (!PyArg_ParseTuple(args,(char *)"O:PacketDataHeader_uom",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__PacketDataHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacketDataHeader_uom" "', argument " "1"" of type '" "Gempa::CAPS::PacketDataHeader const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::PacketDataHeader * >(argp1);
result = ((Gempa::CAPS::PacketDataHeader const *)arg1)->uom();
resultobj = SWIG_From_std_string(static_cast< std::string >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PacketDataHeader_uom(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
Py_ssize_t ii;
if (!PyTuple_Check(args)) SWIG_fail;
argc = args ? PyObject_Length(args) : 0;
for (ii = 0; (ii < 2) && (ii < argc); ii++) {
argv[ii] = PyTuple_GET_ITEM(args,ii);
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__PacketDataHeader, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_PacketDataHeader_uom__SWIG_1(self, args);
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__PacketDataHeader, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_char(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_PacketDataHeader_uom__SWIG_0(self, args);
}
}
}
fail:
SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'PacketDataHeader_uom'.\n"
" Possible C/C++ prototypes are:\n"
" Gempa::CAPS::PacketDataHeader::uom(char) const\n"
" Gempa::CAPS::PacketDataHeader::uom() const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_PacketDataHeader___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::PacketDataHeader *arg1 = (Gempa::CAPS::PacketDataHeader *) 0 ;
Gempa::CAPS::PacketDataHeader *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OO:PacketDataHeader___ne__",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__PacketDataHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacketDataHeader___ne__" "', argument " "1"" of type '" "Gempa::CAPS::PacketDataHeader const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::PacketDataHeader * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Gempa__CAPS__PacketDataHeader, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PacketDataHeader___ne__" "', argument " "2"" of type '" "Gempa::CAPS::PacketDataHeader const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PacketDataHeader___ne__" "', argument " "2"" of type '" "Gempa::CAPS::PacketDataHeader const &""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::PacketDataHeader * >(argp2);
result = (bool)((Gempa::CAPS::PacketDataHeader const *)arg1)->operator !=((Gempa::CAPS::PacketDataHeader const &)*arg2);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PacketDataHeader_dataSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::PacketDataHeader *arg1 = (Gempa::CAPS::PacketDataHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
int result;
if (!PyArg_ParseTuple(args,(char *)"O:PacketDataHeader_dataSize",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__PacketDataHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacketDataHeader_dataSize" "', argument " "1"" of type '" "Gempa::CAPS::PacketDataHeader const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::PacketDataHeader * >(argp1);
result = (int)((Gempa::CAPS::PacketDataHeader const *)arg1)->dataSize();
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PacketDataHeader_put(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::PacketDataHeader *arg1 = (Gempa::CAPS::PacketDataHeader *) 0 ;
std::streambuf *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OO:PacketDataHeader_put",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__PacketDataHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacketDataHeader_put" "', argument " "1"" of type '" "Gempa::CAPS::PacketDataHeader const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::PacketDataHeader * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PacketDataHeader_put" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PacketDataHeader_put" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
result = (bool)((Gempa::CAPS::PacketDataHeader const *)arg1)->put(*arg2);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PacketDataHeader_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::PacketDataHeader *arg1 = (Gempa::CAPS::PacketDataHeader *) 0 ;
std::streambuf *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OO:PacketDataHeader_get",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__PacketDataHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacketDataHeader_get" "', argument " "1"" of type '" "Gempa::CAPS::PacketDataHeader *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::PacketDataHeader * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PacketDataHeader_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PacketDataHeader_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
result = (bool)(arg1)->get(*arg2);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_PacketDataHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::PacketDataHeader *arg1 = (Gempa::CAPS::PacketDataHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:delete_PacketDataHeader",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__PacketDataHeader, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PacketDataHeader" "', argument " "1"" of type '" "Gempa::CAPS::PacketDataHeader *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::PacketDataHeader * >(argp1);
delete arg1;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *PacketDataHeader_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_Gempa__CAPS__PacketDataHeader, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_new_PacketDataHeaderV2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::PacketDataHeaderV2 *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)":new_PacketDataHeaderV2")) SWIG_fail;
result = (Gempa::CAPS::PacketDataHeaderV2 *)new Gempa::CAPS::PacketDataHeaderV2();
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__PacketDataHeaderV2, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PacketDataHeaderV2_samplingFrequencyNumerator_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::PacketDataHeaderV2 *arg1 = (Gempa::CAPS::PacketDataHeaderV2 *) 0 ;
uint16_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned short val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:PacketDataHeaderV2_samplingFrequencyNumerator_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__PacketDataHeaderV2, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacketDataHeaderV2_samplingFrequencyNumerator_set" "', argument " "1"" of type '" "Gempa::CAPS::PacketDataHeaderV2 *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::PacketDataHeaderV2 * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_short(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PacketDataHeaderV2_samplingFrequencyNumerator_set" "', argument " "2"" of type '" "uint16_t""'");
}
arg2 = static_cast< uint16_t >(val2);
if (arg1) (arg1)->samplingFrequencyNumerator = arg2;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PacketDataHeaderV2_samplingFrequencyNumerator_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::PacketDataHeaderV2 *arg1 = (Gempa::CAPS::PacketDataHeaderV2 *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
uint16_t result;
if (!PyArg_ParseTuple(args,(char *)"O:PacketDataHeaderV2_samplingFrequencyNumerator_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__PacketDataHeaderV2, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacketDataHeaderV2_samplingFrequencyNumerator_get" "', argument " "1"" of type '" "Gempa::CAPS::PacketDataHeaderV2 *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::PacketDataHeaderV2 * >(argp1);
result = (uint16_t) ((arg1)->samplingFrequencyNumerator);
resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PacketDataHeaderV2_samplingFrequencyDenominator_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::PacketDataHeaderV2 *arg1 = (Gempa::CAPS::PacketDataHeaderV2 *) 0 ;
uint16_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned short val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:PacketDataHeaderV2_samplingFrequencyDenominator_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__PacketDataHeaderV2, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacketDataHeaderV2_samplingFrequencyDenominator_set" "', argument " "1"" of type '" "Gempa::CAPS::PacketDataHeaderV2 *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::PacketDataHeaderV2 * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_short(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PacketDataHeaderV2_samplingFrequencyDenominator_set" "', argument " "2"" of type '" "uint16_t""'");
}
arg2 = static_cast< uint16_t >(val2);
if (arg1) (arg1)->samplingFrequencyDenominator = arg2;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PacketDataHeaderV2_samplingFrequencyDenominator_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::PacketDataHeaderV2 *arg1 = (Gempa::CAPS::PacketDataHeaderV2 *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
uint16_t result;
if (!PyArg_ParseTuple(args,(char *)"O:PacketDataHeaderV2_samplingFrequencyDenominator_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__PacketDataHeaderV2, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacketDataHeaderV2_samplingFrequencyDenominator_get" "', argument " "1"" of type '" "Gempa::CAPS::PacketDataHeaderV2 *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::PacketDataHeaderV2 * >(argp1);
result = (uint16_t) ((arg1)->samplingFrequencyDenominator);
resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PacketDataHeaderV2_quality_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::PacketDataHeaderV2 *arg1 = (Gempa::CAPS::PacketDataHeaderV2 *) 0 ;
Gempa::CAPS::Quality *arg2 = (Gempa::CAPS::Quality *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:PacketDataHeaderV2_quality_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__PacketDataHeaderV2, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacketDataHeaderV2_quality_set" "', argument " "1"" of type '" "Gempa::CAPS::PacketDataHeaderV2 *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::PacketDataHeaderV2 * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Gempa__CAPS__Quality, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PacketDataHeaderV2_quality_set" "', argument " "2"" of type '" "Gempa::CAPS::Quality *""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::Quality * >(argp2);
if (arg1) (arg1)->quality = *arg2;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PacketDataHeaderV2_quality_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::PacketDataHeaderV2 *arg1 = (Gempa::CAPS::PacketDataHeaderV2 *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::Quality *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:PacketDataHeaderV2_quality_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__PacketDataHeaderV2, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacketDataHeaderV2_quality_get" "', argument " "1"" of type '" "Gempa::CAPS::PacketDataHeaderV2 *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::PacketDataHeaderV2 * >(argp1);
result = (Gempa::CAPS::Quality *)& ((arg1)->quality);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__Quality, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PacketDataHeaderV2___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::PacketDataHeaderV2 *arg1 = (Gempa::CAPS::PacketDataHeaderV2 *) 0 ;
Gempa::CAPS::PacketDataHeaderV2 *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OO:PacketDataHeaderV2___ne__",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__PacketDataHeaderV2, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacketDataHeaderV2___ne__" "', argument " "1"" of type '" "Gempa::CAPS::PacketDataHeaderV2 const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::PacketDataHeaderV2 * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Gempa__CAPS__PacketDataHeaderV2, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PacketDataHeaderV2___ne__" "', argument " "2"" of type '" "Gempa::CAPS::PacketDataHeaderV2 const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PacketDataHeaderV2___ne__" "', argument " "2"" of type '" "Gempa::CAPS::PacketDataHeaderV2 const &""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::PacketDataHeaderV2 * >(argp2);
result = (bool)((Gempa::CAPS::PacketDataHeaderV2 const *)arg1)->operator !=((Gempa::CAPS::PacketDataHeaderV2 const &)*arg2);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PacketDataHeaderV2_dataSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::PacketDataHeaderV2 *arg1 = (Gempa::CAPS::PacketDataHeaderV2 *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
int result;
if (!PyArg_ParseTuple(args,(char *)"O:PacketDataHeaderV2_dataSize",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__PacketDataHeaderV2, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacketDataHeaderV2_dataSize" "', argument " "1"" of type '" "Gempa::CAPS::PacketDataHeaderV2 const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::PacketDataHeaderV2 * >(argp1);
result = (int)((Gempa::CAPS::PacketDataHeaderV2 const *)arg1)->dataSize();
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PacketDataHeaderV2_put(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::PacketDataHeaderV2 *arg1 = (Gempa::CAPS::PacketDataHeaderV2 *) 0 ;
std::streambuf *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OO:PacketDataHeaderV2_put",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__PacketDataHeaderV2, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacketDataHeaderV2_put" "', argument " "1"" of type '" "Gempa::CAPS::PacketDataHeaderV2 const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::PacketDataHeaderV2 * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PacketDataHeaderV2_put" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PacketDataHeaderV2_put" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
result = (bool)((Gempa::CAPS::PacketDataHeaderV2 const *)arg1)->put(*arg2);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PacketDataHeaderV2_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::PacketDataHeaderV2 *arg1 = (Gempa::CAPS::PacketDataHeaderV2 *) 0 ;
std::streambuf *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OO:PacketDataHeaderV2_get",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__PacketDataHeaderV2, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacketDataHeaderV2_get" "', argument " "1"" of type '" "Gempa::CAPS::PacketDataHeaderV2 *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::PacketDataHeaderV2 * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PacketDataHeaderV2_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PacketDataHeaderV2_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
result = (bool)(arg1)->get(*arg2);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_PacketDataHeaderV2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::PacketDataHeaderV2 *arg1 = (Gempa::CAPS::PacketDataHeaderV2 *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:delete_PacketDataHeaderV2",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__PacketDataHeaderV2, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PacketDataHeaderV2" "', argument " "1"" of type '" "Gempa::CAPS::PacketDataHeaderV2 *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::PacketDataHeaderV2 * >(argp1);
delete arg1;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *PacketDataHeaderV2_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_Gempa__CAPS__PacketDataHeaderV2, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_PacketHeaderV1_SIDSize_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::PacketHeaderV1 *arg1 = (Gempa::CAPS::PacketHeaderV1 *) 0 ;
uint8_t *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:PacketHeaderV1_SIDSize_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__PacketHeaderV1, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacketHeaderV1_SIDSize_set" "', argument " "1"" of type '" "Gempa::CAPS::PacketHeaderV1 *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::PacketHeaderV1 * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_char, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PacketHeaderV1_SIDSize_set" "', argument " "2"" of type '" "uint8_t [4]""'");
}
arg2 = reinterpret_cast< uint8_t * >(argp2);
{
if (arg2) {
size_t ii = 0;
for (; ii < (size_t)4; ++ii) *(uint8_t *)&arg1->SIDSize[ii] = *((uint8_t *)arg2 + ii);
} else {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""SIDSize""' of type '""uint8_t [4]""'");
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PacketHeaderV1_SIDSize_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::PacketHeaderV1 *arg1 = (Gempa::CAPS::PacketHeaderV1 *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
uint8_t *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:PacketHeaderV1_SIDSize_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__PacketHeaderV1, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacketHeaderV1_SIDSize_get" "', argument " "1"" of type '" "Gempa::CAPS::PacketHeaderV1 *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::PacketHeaderV1 * >(argp1);
result = (uint8_t *)(uint8_t *) ((arg1)->SIDSize);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PacketHeaderV1_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::PacketHeaderV1 *arg1 = (Gempa::CAPS::PacketHeaderV1 *) 0 ;
uint16_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned short val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:PacketHeaderV1_size_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__PacketHeaderV1, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacketHeaderV1_size_set" "', argument " "1"" of type '" "Gempa::CAPS::PacketHeaderV1 *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::PacketHeaderV1 * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_short(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PacketHeaderV1_size_set" "', argument " "2"" of type '" "uint16_t""'");
}
arg2 = static_cast< uint16_t >(val2);
if (arg1) (arg1)->size = arg2;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PacketHeaderV1_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::PacketHeaderV1 *arg1 = (Gempa::CAPS::PacketHeaderV1 *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
uint16_t result;
if (!PyArg_ParseTuple(args,(char *)"O:PacketHeaderV1_size_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__PacketHeaderV1, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacketHeaderV1_size_get" "', argument " "1"" of type '" "Gempa::CAPS::PacketHeaderV1 *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::PacketHeaderV1 * >(argp1);
result = (uint16_t) ((arg1)->size);
resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PacketHeaderV1_put(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::PacketHeaderV1 *arg1 = (Gempa::CAPS::PacketHeaderV1 *) 0 ;
std::streambuf *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OO:PacketHeaderV1_put",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__PacketHeaderV1, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacketHeaderV1_put" "', argument " "1"" of type '" "Gempa::CAPS::PacketHeaderV1 *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::PacketHeaderV1 * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PacketHeaderV1_put" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PacketHeaderV1_put" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
result = (bool)(arg1)->put(*arg2);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PacketHeaderV1_dataSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::PacketHeaderV1 *arg1 = (Gempa::CAPS::PacketHeaderV1 *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
size_t result;
if (!PyArg_ParseTuple(args,(char *)"O:PacketHeaderV1_dataSize",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__PacketHeaderV1, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacketHeaderV1_dataSize" "', argument " "1"" of type '" "Gempa::CAPS::PacketHeaderV1 const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::PacketHeaderV1 * >(argp1);
result = ((Gempa::CAPS::PacketHeaderV1 const *)arg1)->dataSize();
resultobj = SWIG_From_size_t(static_cast< size_t >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_PacketHeaderV1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::PacketHeaderV1 *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)":new_PacketHeaderV1")) SWIG_fail;
result = (Gempa::CAPS::PacketHeaderV1 *)new Gempa::CAPS::PacketHeaderV1();
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__PacketHeaderV1, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_PacketHeaderV1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::PacketHeaderV1 *arg1 = (Gempa::CAPS::PacketHeaderV1 *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:delete_PacketHeaderV1",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__PacketHeaderV1, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PacketHeaderV1" "', argument " "1"" of type '" "Gempa::CAPS::PacketHeaderV1 *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::PacketHeaderV1 * >(argp1);
delete arg1;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *PacketHeaderV1_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_Gempa__CAPS__PacketHeaderV1, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_PacketHeaderV2_SIDSize_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::PacketHeaderV2 *arg1 = (Gempa::CAPS::PacketHeaderV2 *) 0 ;
uint8_t *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:PacketHeaderV2_SIDSize_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__PacketHeaderV2, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacketHeaderV2_SIDSize_set" "', argument " "1"" of type '" "Gempa::CAPS::PacketHeaderV2 *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::PacketHeaderV2 * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_char, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PacketHeaderV2_SIDSize_set" "', argument " "2"" of type '" "uint8_t [4]""'");
}
arg2 = reinterpret_cast< uint8_t * >(argp2);
{
if (arg2) {
size_t ii = 0;
for (; ii < (size_t)4; ++ii) *(uint8_t *)&arg1->SIDSize[ii] = *((uint8_t *)arg2 + ii);
} else {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""SIDSize""' of type '""uint8_t [4]""'");
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PacketHeaderV2_SIDSize_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::PacketHeaderV2 *arg1 = (Gempa::CAPS::PacketHeaderV2 *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
uint8_t *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:PacketHeaderV2_SIDSize_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__PacketHeaderV2, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacketHeaderV2_SIDSize_get" "', argument " "1"" of type '" "Gempa::CAPS::PacketHeaderV2 *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::PacketHeaderV2 * >(argp1);
result = (uint8_t *)(uint8_t *) ((arg1)->SIDSize);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PacketHeaderV2_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::PacketHeaderV2 *arg1 = (Gempa::CAPS::PacketHeaderV2 *) 0 ;
uint32_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:PacketHeaderV2_size_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__PacketHeaderV2, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacketHeaderV2_size_set" "', argument " "1"" of type '" "Gempa::CAPS::PacketHeaderV2 *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::PacketHeaderV2 * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PacketHeaderV2_size_set" "', argument " "2"" of type '" "uint32_t""'");
}
arg2 = static_cast< uint32_t >(val2);
if (arg1) (arg1)->size = arg2;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PacketHeaderV2_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::PacketHeaderV2 *arg1 = (Gempa::CAPS::PacketHeaderV2 *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
uint32_t result;
if (!PyArg_ParseTuple(args,(char *)"O:PacketHeaderV2_size_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__PacketHeaderV2, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacketHeaderV2_size_get" "', argument " "1"" of type '" "Gempa::CAPS::PacketHeaderV2 *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::PacketHeaderV2 * >(argp1);
result = (uint32_t) ((arg1)->size);
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PacketHeaderV2_put(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::PacketHeaderV2 *arg1 = (Gempa::CAPS::PacketHeaderV2 *) 0 ;
std::streambuf *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OO:PacketHeaderV2_put",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__PacketHeaderV2, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacketHeaderV2_put" "', argument " "1"" of type '" "Gempa::CAPS::PacketHeaderV2 *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::PacketHeaderV2 * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PacketHeaderV2_put" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PacketHeaderV2_put" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
result = (bool)(arg1)->put(*arg2);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PacketHeaderV2_dataSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::PacketHeaderV2 *arg1 = (Gempa::CAPS::PacketHeaderV2 *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
size_t result;
if (!PyArg_ParseTuple(args,(char *)"O:PacketHeaderV2_dataSize",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__PacketHeaderV2, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PacketHeaderV2_dataSize" "', argument " "1"" of type '" "Gempa::CAPS::PacketHeaderV2 const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::PacketHeaderV2 * >(argp1);
result = ((Gempa::CAPS::PacketHeaderV2 const *)arg1)->dataSize();
resultobj = SWIG_From_size_t(static_cast< size_t >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_PacketHeaderV2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::PacketHeaderV2 *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)":new_PacketHeaderV2")) SWIG_fail;
result = (Gempa::CAPS::PacketHeaderV2 *)new Gempa::CAPS::PacketHeaderV2();
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__PacketHeaderV2, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_PacketHeaderV2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::PacketHeaderV2 *arg1 = (Gempa::CAPS::PacketHeaderV2 *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:delete_PacketHeaderV2",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__PacketHeaderV2, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PacketHeaderV2" "', argument " "1"" of type '" "Gempa::CAPS::PacketHeaderV2 *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::PacketHeaderV2 * >(argp1);
delete arg1;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *PacketHeaderV2_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_Gempa__CAPS__PacketHeaderV2, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_ResponseHeader_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::ResponseHeader *arg1 = (Gempa::CAPS::ResponseHeader *) 0 ;
uint16_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned short val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:ResponseHeader_id_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__ResponseHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseHeader_id_set" "', argument " "1"" of type '" "Gempa::CAPS::ResponseHeader *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::ResponseHeader * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_short(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseHeader_id_set" "', argument " "2"" of type '" "uint16_t""'");
}
arg2 = static_cast< uint16_t >(val2);
if (arg1) (arg1)->id = arg2;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseHeader_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::ResponseHeader *arg1 = (Gempa::CAPS::ResponseHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
uint16_t result;
if (!PyArg_ParseTuple(args,(char *)"O:ResponseHeader_id_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__ResponseHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseHeader_id_get" "', argument " "1"" of type '" "Gempa::CAPS::ResponseHeader *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::ResponseHeader * >(argp1);
result = (uint16_t) ((arg1)->id);
resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseHeader_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::ResponseHeader *arg1 = (Gempa::CAPS::ResponseHeader *) 0 ;
int32_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
int val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:ResponseHeader_size_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__ResponseHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseHeader_size_set" "', argument " "1"" of type '" "Gempa::CAPS::ResponseHeader *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::ResponseHeader * >(argp1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseHeader_size_set" "', argument " "2"" of type '" "int32_t""'");
}
arg2 = static_cast< int32_t >(val2);
if (arg1) (arg1)->size = arg2;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseHeader_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::ResponseHeader *arg1 = (Gempa::CAPS::ResponseHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
int32_t result;
if (!PyArg_ParseTuple(args,(char *)"O:ResponseHeader_size_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__ResponseHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseHeader_size_get" "', argument " "1"" of type '" "Gempa::CAPS::ResponseHeader *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::ResponseHeader * >(argp1);
result = (int32_t) ((arg1)->size);
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseHeader_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::ResponseHeader *arg1 = (Gempa::CAPS::ResponseHeader *) 0 ;
std::streambuf *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OO:ResponseHeader_get",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__ResponseHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseHeader_get" "', argument " "1"" of type '" "Gempa::CAPS::ResponseHeader *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::ResponseHeader * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ResponseHeader_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ResponseHeader_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
result = (bool)(arg1)->get(*arg2);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ResponseHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::ResponseHeader *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)":new_ResponseHeader")) SWIG_fail;
result = (Gempa::CAPS::ResponseHeader *)new Gempa::CAPS::ResponseHeader();
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__ResponseHeader, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ResponseHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::ResponseHeader *arg1 = (Gempa::CAPS::ResponseHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:delete_ResponseHeader",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__ResponseHeader, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ResponseHeader" "', argument " "1"" of type '" "Gempa::CAPS::ResponseHeader *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::ResponseHeader * >(argp1);
delete arg1;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *ResponseHeader_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_Gempa__CAPS__ResponseHeader, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_DataRecord(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::DataRecord *arg1 = (Gempa::CAPS::DataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:delete_DataRecord",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__DataRecord, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DataRecord" "', argument " "1"" of type '" "Gempa::CAPS::DataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::DataRecord * >(argp1);
delete arg1;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DataRecord_formatName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::DataRecord *arg1 = (Gempa::CAPS::DataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
char *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:DataRecord_formatName",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__DataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataRecord_formatName" "', argument " "1"" of type '" "Gempa::CAPS::DataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::DataRecord * >(argp1);
result = (char *)((Gempa::CAPS::DataRecord const *)arg1)->formatName();
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DataRecord_readMetaData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::DataRecord *arg1 = (Gempa::CAPS::DataRecord *) 0 ;
std::streambuf *arg2 = 0 ;
int arg3 ;
Gempa::CAPS::DataRecord::Header *arg4 = 0 ;
Gempa::CAPS::Time *arg5 = 0 ;
Gempa::CAPS::Time *arg6 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
int val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
PyObject * obj5 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OOOOOO:DataRecord_readMetaData",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__DataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataRecord_readMetaData" "', argument " "1"" of type '" "Gempa::CAPS::DataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::DataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataRecord_readMetaData" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataRecord_readMetaData" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataRecord_readMetaData" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_Gempa__CAPS__DataRecord__Header, 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DataRecord_readMetaData" "', argument " "4"" of type '" "Gempa::CAPS::DataRecord::Header &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataRecord_readMetaData" "', argument " "4"" of type '" "Gempa::CAPS::DataRecord::Header &""'");
}
arg4 = reinterpret_cast< Gempa::CAPS::DataRecord::Header * >(argp4);
res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_Gempa__CAPS__Time, 0 );
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DataRecord_readMetaData" "', argument " "5"" of type '" "Gempa::CAPS::Time &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataRecord_readMetaData" "', argument " "5"" of type '" "Gempa::CAPS::Time &""'");
}
arg5 = reinterpret_cast< Gempa::CAPS::Time * >(argp5);
res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_Gempa__CAPS__Time, 0 );
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "DataRecord_readMetaData" "', argument " "6"" of type '" "Gempa::CAPS::Time &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataRecord_readMetaData" "', argument " "6"" of type '" "Gempa::CAPS::Time &""'");
}
arg6 = reinterpret_cast< Gempa::CAPS::Time * >(argp6);
result = (bool)(arg1)->readMetaData(*arg2,arg3,*arg4,*arg5,*arg6);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DataRecord_canTrim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::DataRecord *arg1 = (Gempa::CAPS::DataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"O:DataRecord_canTrim",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__DataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataRecord_canTrim" "', argument " "1"" of type '" "Gempa::CAPS::DataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::DataRecord * >(argp1);
result = (bool)((Gempa::CAPS::DataRecord const *)arg1)->canTrim();
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DataRecord_canMerge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::DataRecord *arg1 = (Gempa::CAPS::DataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"O:DataRecord_canMerge",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__DataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataRecord_canMerge" "', argument " "1"" of type '" "Gempa::CAPS::DataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::DataRecord * >(argp1);
result = (bool)((Gempa::CAPS::DataRecord const *)arg1)->canMerge();
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DataRecord_trim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::DataRecord *arg1 = (Gempa::CAPS::DataRecord *) 0 ;
Gempa::CAPS::Time *arg2 = 0 ;
Gempa::CAPS::Time *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OOO:DataRecord_trim",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__DataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataRecord_trim" "', argument " "1"" of type '" "Gempa::CAPS::DataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::DataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataRecord_trim" "', argument " "2"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataRecord_trim" "', argument " "2"" of type '" "Gempa::CAPS::Time const &""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::Time * >(argp2);
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DataRecord_trim" "', argument " "3"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataRecord_trim" "', argument " "3"" of type '" "Gempa::CAPS::Time const &""'");
}
arg3 = reinterpret_cast< Gempa::CAPS::Time * >(argp3);
result = (bool)((Gempa::CAPS::DataRecord const *)arg1)->trim((Gempa::CAPS::Time const &)*arg2,(Gempa::CAPS::Time const &)*arg3);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DataRecord_dataSize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::DataRecord *arg1 = (Gempa::CAPS::DataRecord *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
size_t result;
if (!PyArg_ParseTuple(args,(char *)"OO:DataRecord_dataSize",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__DataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataRecord_dataSize" "', argument " "1"" of type '" "Gempa::CAPS::DataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::DataRecord * >(argp1);
ecode2 = SWIG_AsVal_bool(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DataRecord_dataSize" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
result = ((Gempa::CAPS::DataRecord const *)arg1)->dataSize(arg2);
resultobj = SWIG_From_size_t(static_cast< size_t >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DataRecord_dataSize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::DataRecord *arg1 = (Gempa::CAPS::DataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
size_t result;
if (!PyArg_ParseTuple(args,(char *)"O:DataRecord_dataSize",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__DataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataRecord_dataSize" "', argument " "1"" of type '" "Gempa::CAPS::DataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::DataRecord * >(argp1);
result = ((Gempa::CAPS::DataRecord const *)arg1)->dataSize();
resultobj = SWIG_From_size_t(static_cast< size_t >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DataRecord_dataSize(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
Py_ssize_t ii;
if (!PyTuple_Check(args)) SWIG_fail;
argc = args ? PyObject_Length(args) : 0;
for (ii = 0; (ii < 2) && (ii < argc); ii++) {
argv[ii] = PyTuple_GET_ITEM(args,ii);
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__DataRecord, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DataRecord_dataSize__SWIG_1(self, args);
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__DataRecord, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DataRecord_dataSize__SWIG_0(self, args);
}
}
}
fail:
SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'DataRecord_dataSize'.\n"
" Possible C/C++ prototypes are:\n"
" Gempa::CAPS::DataRecord::dataSize(bool) const\n"
" Gempa::CAPS::DataRecord::dataSize() const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DataRecord_get__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::DataRecord *arg1 = (Gempa::CAPS::DataRecord *) 0 ;
std::streambuf *arg2 = 0 ;
int arg3 ;
Gempa::CAPS::Time *arg4 = 0 ;
Gempa::CAPS::Time *arg5 = 0 ;
int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
int val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
int val6 ;
int ecode6 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
PyObject * obj5 = 0 ;
Gempa::CAPS::DataRecord::ReadStatus result;
if (!PyArg_ParseTuple(args,(char *)"OOOOOO:DataRecord_get",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__DataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataRecord_get" "', argument " "1"" of type '" "Gempa::CAPS::DataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::DataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataRecord_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataRecord_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataRecord_get" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DataRecord_get" "', argument " "4"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataRecord_get" "', argument " "4"" of type '" "Gempa::CAPS::Time const &""'");
}
arg4 = reinterpret_cast< Gempa::CAPS::Time * >(argp4);
res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DataRecord_get" "', argument " "5"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataRecord_get" "', argument " "5"" of type '" "Gempa::CAPS::Time const &""'");
}
arg5 = reinterpret_cast< Gempa::CAPS::Time * >(argp5);
ecode6 = SWIG_AsVal_int(obj5, &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DataRecord_get" "', argument " "6"" of type '" "int""'");
}
arg6 = static_cast< int >(val6);
result = (arg1)->get(*arg2,arg3,(Gempa::CAPS::Time const &)*arg4,(Gempa::CAPS::Time const &)*arg5,arg6);
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::DataRecord::ReadStatus(static_cast< const Gempa::CAPS::DataRecord::ReadStatus& >(result))), SWIGTYPE_p_Gempa__CAPS__DataRecord__ReadStatus, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DataRecord_get__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::DataRecord *arg1 = (Gempa::CAPS::DataRecord *) 0 ;
std::streambuf *arg2 = 0 ;
int arg3 ;
Gempa::CAPS::Time *arg4 = 0 ;
Gempa::CAPS::Time *arg5 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
int val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
Gempa::CAPS::DataRecord::ReadStatus result;
if (!PyArg_ParseTuple(args,(char *)"OOOOO:DataRecord_get",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__DataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataRecord_get" "', argument " "1"" of type '" "Gempa::CAPS::DataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::DataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataRecord_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataRecord_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataRecord_get" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DataRecord_get" "', argument " "4"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataRecord_get" "', argument " "4"" of type '" "Gempa::CAPS::Time const &""'");
}
arg4 = reinterpret_cast< Gempa::CAPS::Time * >(argp4);
res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DataRecord_get" "', argument " "5"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataRecord_get" "', argument " "5"" of type '" "Gempa::CAPS::Time const &""'");
}
arg5 = reinterpret_cast< Gempa::CAPS::Time * >(argp5);
result = (arg1)->get(*arg2,arg3,(Gempa::CAPS::Time const &)*arg4,(Gempa::CAPS::Time const &)*arg5);
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::DataRecord::ReadStatus(static_cast< const Gempa::CAPS::DataRecord::ReadStatus& >(result))), SWIGTYPE_p_Gempa__CAPS__DataRecord__ReadStatus, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DataRecord_get__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::DataRecord *arg1 = (Gempa::CAPS::DataRecord *) 0 ;
std::streambuf *arg2 = 0 ;
int arg3 ;
Gempa::CAPS::Time *arg4 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
int val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
Gempa::CAPS::DataRecord::ReadStatus result;
if (!PyArg_ParseTuple(args,(char *)"OOOO:DataRecord_get",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__DataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataRecord_get" "', argument " "1"" of type '" "Gempa::CAPS::DataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::DataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataRecord_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataRecord_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataRecord_get" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DataRecord_get" "', argument " "4"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataRecord_get" "', argument " "4"" of type '" "Gempa::CAPS::Time const &""'");
}
arg4 = reinterpret_cast< Gempa::CAPS::Time * >(argp4);
result = (arg1)->get(*arg2,arg3,(Gempa::CAPS::Time const &)*arg4);
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::DataRecord::ReadStatus(static_cast< const Gempa::CAPS::DataRecord::ReadStatus& >(result))), SWIGTYPE_p_Gempa__CAPS__DataRecord__ReadStatus, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DataRecord_get__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::DataRecord *arg1 = (Gempa::CAPS::DataRecord *) 0 ;
std::streambuf *arg2 = 0 ;
int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
int val3 ;
int ecode3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
Gempa::CAPS::DataRecord::ReadStatus result;
if (!PyArg_ParseTuple(args,(char *)"OOO:DataRecord_get",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__DataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataRecord_get" "', argument " "1"" of type '" "Gempa::CAPS::DataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::DataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataRecord_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataRecord_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataRecord_get" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
result = (arg1)->get(*arg2,arg3);
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::DataRecord::ReadStatus(static_cast< const Gempa::CAPS::DataRecord::ReadStatus& >(result))), SWIGTYPE_p_Gempa__CAPS__DataRecord__ReadStatus, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DataRecord_get(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[7] = {
0
};
Py_ssize_t ii;
if (!PyTuple_Check(args)) SWIG_fail;
argc = args ? PyObject_Length(args) : 0;
for (ii = 0; (ii < 6) && (ii < argc); ii++) {
argv[ii] = PyTuple_GET_ITEM(args,ii);
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__DataRecord, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__streambuf, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DataRecord_get__SWIG_3(self, args);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__DataRecord, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__streambuf, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DataRecord_get__SWIG_2(self, args);
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__DataRecord, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__streambuf, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DataRecord_get__SWIG_1(self, args);
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__DataRecord, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__streambuf, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DataRecord_get__SWIG_0(self, args);
}
}
}
}
}
}
}
fail:
SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'DataRecord_get'.\n"
" Possible C/C++ prototypes are:\n"
" Gempa::CAPS::DataRecord::get(std::streambuf &,int,Gempa::CAPS::Time const &,Gempa::CAPS::Time const &,int)\n"
" Gempa::CAPS::DataRecord::get(std::streambuf &,int,Gempa::CAPS::Time const &,Gempa::CAPS::Time const &)\n"
" Gempa::CAPS::DataRecord::get(std::streambuf &,int,Gempa::CAPS::Time const &)\n"
" Gempa::CAPS::DataRecord::get(std::streambuf &,int)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DataRecord_put__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::DataRecord *arg1 = (Gempa::CAPS::DataRecord *) 0 ;
std::streambuf *arg2 = 0 ;
bool arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OOO:DataRecord_put",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__DataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataRecord_put" "', argument " "1"" of type '" "Gempa::CAPS::DataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::DataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataRecord_put" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataRecord_put" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
ecode3 = SWIG_AsVal_bool(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DataRecord_put" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
result = (bool)((Gempa::CAPS::DataRecord const *)arg1)->put(*arg2,arg3);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DataRecord_put__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::DataRecord *arg1 = (Gempa::CAPS::DataRecord *) 0 ;
std::streambuf *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OO:DataRecord_put",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__DataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataRecord_put" "', argument " "1"" of type '" "Gempa::CAPS::DataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::DataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DataRecord_put" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DataRecord_put" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
result = (bool)((Gempa::CAPS::DataRecord const *)arg1)->put(*arg2);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DataRecord_put(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
Py_ssize_t ii;
if (!PyTuple_Check(args)) SWIG_fail;
argc = args ? PyObject_Length(args) : 0;
for (ii = 0; (ii < 3) && (ii < argc); ii++) {
argv[ii] = PyTuple_GET_ITEM(args,ii);
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__DataRecord, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__streambuf, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DataRecord_put__SWIG_1(self, args);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__DataRecord, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__streambuf, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DataRecord_put__SWIG_0(self, args);
}
}
}
}
fail:
SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'DataRecord_put'.\n"
" Possible C/C++ prototypes are:\n"
" Gempa::CAPS::DataRecord::put(std::streambuf &,bool) const\n"
" Gempa::CAPS::DataRecord::put(std::streambuf &) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DataRecord_header(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::DataRecord *arg1 = (Gempa::CAPS::DataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::DataRecord::Header *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:DataRecord_header",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__DataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataRecord_header" "', argument " "1"" of type '" "Gempa::CAPS::DataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::DataRecord * >(argp1);
result = (Gempa::CAPS::DataRecord::Header *)((Gempa::CAPS::DataRecord const *)arg1)->header();
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__DataRecord__Header, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DataRecord_startTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::DataRecord *arg1 = (Gempa::CAPS::DataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::Time result;
if (!PyArg_ParseTuple(args,(char *)"O:DataRecord_startTime",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__DataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataRecord_startTime" "', argument " "1"" of type '" "Gempa::CAPS::DataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::DataRecord * >(argp1);
result = ((Gempa::CAPS::DataRecord const *)arg1)->startTime();
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::Time(static_cast< const Gempa::CAPS::Time& >(result))), SWIGTYPE_p_Gempa__CAPS__Time, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DataRecord_endTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::DataRecord *arg1 = (Gempa::CAPS::DataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::Time result;
if (!PyArg_ParseTuple(args,(char *)"O:DataRecord_endTime",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__DataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataRecord_endTime" "', argument " "1"" of type '" "Gempa::CAPS::DataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::DataRecord * >(argp1);
result = ((Gempa::CAPS::DataRecord const *)arg1)->endTime();
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::Time(static_cast< const Gempa::CAPS::Time& >(result))), SWIGTYPE_p_Gempa__CAPS__Time, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DataRecord_packetType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::DataRecord *arg1 = (Gempa::CAPS::DataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::PacketType result;
if (!PyArg_ParseTuple(args,(char *)"O:DataRecord_packetType",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__DataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataRecord_packetType" "', argument " "1"" of type '" "Gempa::CAPS::DataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::DataRecord * >(argp1);
result = (Gempa::CAPS::PacketType)((Gempa::CAPS::DataRecord const *)arg1)->packetType();
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DataRecord_buffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::DataRecord *arg1 = (Gempa::CAPS::DataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::DataRecord::Buffer *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:DataRecord_buffer",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__DataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataRecord_buffer" "', argument " "1"" of type '" "Gempa::CAPS::DataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::DataRecord * >(argp1);
result = (Gempa::CAPS::DataRecord::Buffer *)(arg1)->buffer();
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_char_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DataRecord_data(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::DataRecord *arg1 = (Gempa::CAPS::DataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::DataRecord::Buffer *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:DataRecord_data",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__DataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DataRecord_data" "', argument " "1"" of type '" "Gempa::CAPS::DataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::DataRecord * >(argp1);
result = (Gempa::CAPS::DataRecord::Buffer *)(arg1)->data();
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_char_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *DataRecord_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_Gempa__CAPS__DataRecord, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_RawPacket_header_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RawPacket *arg1 = (Gempa::CAPS::RawPacket *) 0 ;
Gempa::CAPS::PacketDataHeader *arg2 = (Gempa::CAPS::PacketDataHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:RawPacket_header_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RawPacket, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RawPacket_header_set" "', argument " "1"" of type '" "Gempa::CAPS::RawPacket *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RawPacket * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Gempa__CAPS__PacketDataHeader, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RawPacket_header_set" "', argument " "2"" of type '" "Gempa::CAPS::PacketDataHeader *""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::PacketDataHeader * >(argp2);
if (arg1) (arg1)->header = *arg2;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RawPacket_header_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RawPacket *arg1 = (Gempa::CAPS::RawPacket *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::PacketDataHeader *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:RawPacket_header_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RawPacket, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RawPacket_header_get" "', argument " "1"" of type '" "Gempa::CAPS::RawPacket *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RawPacket * >(argp1);
result = (Gempa::CAPS::PacketDataHeader *)& ((arg1)->header);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__PacketDataHeader, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RawPacket_SID_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RawPacket *arg1 = (Gempa::CAPS::RawPacket *) 0 ;
std::string *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:RawPacket_SID_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RawPacket, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RawPacket_SID_set" "', argument " "1"" of type '" "Gempa::CAPS::RawPacket *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RawPacket * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_std__string, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RawPacket_SID_set" "', argument " "2"" of type '" "std::string [4]""'");
}
arg2 = reinterpret_cast< std::string * >(argp2);
{
if (arg2) {
size_t ii = 0;
for (; ii < (size_t)4; ++ii) *(std::string *)&arg1->SID[ii] = *((std::string *)arg2 + ii);
} else {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""SID""' of type '""std::string [4]""'");
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RawPacket_SID_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RawPacket *arg1 = (Gempa::CAPS::RawPacket *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
std::string *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:RawPacket_SID_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RawPacket, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RawPacket_SID_get" "', argument " "1"" of type '" "Gempa::CAPS::RawPacket *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RawPacket * >(argp1);
result = (std::string *)(std::string *) ((arg1)->SID);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__string, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RawPacket_data_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RawPacket *arg1 = (Gempa::CAPS::RawPacket *) 0 ;
std::vector< char > arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:RawPacket_data_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RawPacket, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RawPacket_data_set" "', argument " "1"" of type '" "Gempa::CAPS::RawPacket *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RawPacket * >(argp1);
{
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_char_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RawPacket_data_set" "', argument " "2"" of type '" "std::vector< char >""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RawPacket_data_set" "', argument " "2"" of type '" "std::vector< char >""'");
} else {
std::vector< char > * temp = reinterpret_cast< std::vector< char > * >(argp2);
arg2 = *temp;
if (SWIG_IsNewObj(res2)) delete temp;
}
}
if (arg1) (arg1)->data = arg2;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RawPacket_data_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RawPacket *arg1 = (Gempa::CAPS::RawPacket *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
std::vector< char > result;
if (!PyArg_ParseTuple(args,(char *)"O:RawPacket_data_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RawPacket, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RawPacket_data_get" "', argument " "1"" of type '" "Gempa::CAPS::RawPacket *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RawPacket * >(argp1);
result = ((arg1)->data);
resultobj = SWIG_NewPointerObj((new std::vector< char >(static_cast< const std::vector< char >& >(result))), SWIGTYPE_p_std__vectorT_char_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RawPacket_record_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RawPacket *arg1 = (Gempa::CAPS::RawPacket *) 0 ;
Gempa::CAPS::DataRecord *arg2 = (Gempa::CAPS::DataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:RawPacket_record_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RawPacket, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RawPacket_record_set" "', argument " "1"" of type '" "Gempa::CAPS::RawPacket *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RawPacket * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Gempa__CAPS__DataRecord, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RawPacket_record_set" "', argument " "2"" of type '" "Gempa::CAPS::DataRecord *""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::DataRecord * >(argp2);
if (arg1) (arg1)->record = arg2;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RawPacket_record_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RawPacket *arg1 = (Gempa::CAPS::RawPacket *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::DataRecord *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:RawPacket_record_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RawPacket, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RawPacket_record_get" "', argument " "1"" of type '" "Gempa::CAPS::RawPacket *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RawPacket * >(argp1);
result = (Gempa::CAPS::DataRecord *) ((arg1)->record);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__DataRecord, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_RawPacket(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RawPacket *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)":new_RawPacket")) SWIG_fail;
result = (Gempa::CAPS::RawPacket *)new Gempa::CAPS::RawPacket();
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__RawPacket, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_RawPacket(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RawPacket *arg1 = (Gempa::CAPS::RawPacket *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:delete_RawPacket",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RawPacket, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RawPacket" "', argument " "1"" of type '" "Gempa::CAPS::RawPacket *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RawPacket * >(argp1);
delete arg1;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *RawPacket_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_Gempa__CAPS__RawPacket, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_MetaPacket_SID_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::MetaPacket *arg1 = (Gempa::CAPS::MetaPacket *) 0 ;
std::string *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:MetaPacket_SID_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__MetaPacket, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MetaPacket_SID_set" "', argument " "1"" of type '" "Gempa::CAPS::MetaPacket *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::MetaPacket * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_std__string, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MetaPacket_SID_set" "', argument " "2"" of type '" "std::string [4]""'");
}
arg2 = reinterpret_cast< std::string * >(argp2);
{
if (arg2) {
size_t ii = 0;
for (; ii < (size_t)4; ++ii) *(std::string *)&arg1->SID[ii] = *((std::string *)arg2 + ii);
} else {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""SID""' of type '""std::string [4]""'");
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_MetaPacket_SID_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::MetaPacket *arg1 = (Gempa::CAPS::MetaPacket *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
std::string *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:MetaPacket_SID_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__MetaPacket, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MetaPacket_SID_get" "', argument " "1"" of type '" "Gempa::CAPS::MetaPacket *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::MetaPacket * >(argp1);
result = (std::string *)(std::string *) ((arg1)->SID);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__string, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_MetaPacket_packetDataHeader_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::MetaPacket *arg1 = (Gempa::CAPS::MetaPacket *) 0 ;
Gempa::CAPS::PacketDataHeader *arg2 = (Gempa::CAPS::PacketDataHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:MetaPacket_packetDataHeader_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__MetaPacket, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MetaPacket_packetDataHeader_set" "', argument " "1"" of type '" "Gempa::CAPS::MetaPacket *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::MetaPacket * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Gempa__CAPS__PacketDataHeader, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MetaPacket_packetDataHeader_set" "', argument " "2"" of type '" "Gempa::CAPS::PacketDataHeader *""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::PacketDataHeader * >(argp2);
if (arg1) (arg1)->packetDataHeader = *arg2;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_MetaPacket_packetDataHeader_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::MetaPacket *arg1 = (Gempa::CAPS::MetaPacket *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::PacketDataHeader *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:MetaPacket_packetDataHeader_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__MetaPacket, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MetaPacket_packetDataHeader_get" "', argument " "1"" of type '" "Gempa::CAPS::MetaPacket *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::MetaPacket * >(argp1);
result = (Gempa::CAPS::PacketDataHeader *)& ((arg1)->packetDataHeader);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__PacketDataHeader, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_MetaPacket_record_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::MetaPacket *arg1 = (Gempa::CAPS::MetaPacket *) 0 ;
Gempa::CAPS::DataRecord *arg2 = (Gempa::CAPS::DataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:MetaPacket_record_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__MetaPacket, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MetaPacket_record_set" "', argument " "1"" of type '" "Gempa::CAPS::MetaPacket *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::MetaPacket * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Gempa__CAPS__DataRecord, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MetaPacket_record_set" "', argument " "2"" of type '" "Gempa::CAPS::DataRecord *""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::DataRecord * >(argp2);
if (arg1) (arg1)->record = arg2;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_MetaPacket_record_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::MetaPacket *arg1 = (Gempa::CAPS::MetaPacket *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::DataRecord *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:MetaPacket_record_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__MetaPacket, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MetaPacket_record_get" "', argument " "1"" of type '" "Gempa::CAPS::MetaPacket *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::MetaPacket * >(argp1);
result = (Gempa::CAPS::DataRecord *) ((arg1)->record);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__DataRecord, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_MetaPacket_recordHeader_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::MetaPacket *arg1 = (Gempa::CAPS::MetaPacket *) 0 ;
Gempa::CAPS::DataRecord::Header *arg2 = (Gempa::CAPS::DataRecord::Header *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:MetaPacket_recordHeader_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__MetaPacket, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MetaPacket_recordHeader_set" "', argument " "1"" of type '" "Gempa::CAPS::MetaPacket *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::MetaPacket * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Gempa__CAPS__DataRecord__Header, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MetaPacket_recordHeader_set" "', argument " "2"" of type '" "Gempa::CAPS::DataRecord::Header *""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::DataRecord::Header * >(argp2);
if (arg1) (arg1)->recordHeader = *arg2;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_MetaPacket_recordHeader_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::MetaPacket *arg1 = (Gempa::CAPS::MetaPacket *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::DataRecord::Header *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:MetaPacket_recordHeader_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__MetaPacket, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MetaPacket_recordHeader_get" "', argument " "1"" of type '" "Gempa::CAPS::MetaPacket *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::MetaPacket * >(argp1);
result = (Gempa::CAPS::DataRecord::Header *)& ((arg1)->recordHeader);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__DataRecord__Header, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_MetaPacket_startTime_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::MetaPacket *arg1 = (Gempa::CAPS::MetaPacket *) 0 ;
Gempa::CAPS::Time *arg2 = (Gempa::CAPS::Time *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:MetaPacket_startTime_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__MetaPacket, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MetaPacket_startTime_set" "', argument " "1"" of type '" "Gempa::CAPS::MetaPacket *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::MetaPacket * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MetaPacket_startTime_set" "', argument " "2"" of type '" "Gempa::CAPS::Time *""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::Time * >(argp2);
if (arg1) (arg1)->startTime = *arg2;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_MetaPacket_startTime_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::MetaPacket *arg1 = (Gempa::CAPS::MetaPacket *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::Time *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:MetaPacket_startTime_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__MetaPacket, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MetaPacket_startTime_get" "', argument " "1"" of type '" "Gempa::CAPS::MetaPacket *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::MetaPacket * >(argp1);
result = (Gempa::CAPS::Time *)& ((arg1)->startTime);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_MetaPacket_endTime_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::MetaPacket *arg1 = (Gempa::CAPS::MetaPacket *) 0 ;
Gempa::CAPS::Time *arg2 = (Gempa::CAPS::Time *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:MetaPacket_endTime_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__MetaPacket, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MetaPacket_endTime_set" "', argument " "1"" of type '" "Gempa::CAPS::MetaPacket *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::MetaPacket * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MetaPacket_endTime_set" "', argument " "2"" of type '" "Gempa::CAPS::Time *""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::Time * >(argp2);
if (arg1) (arg1)->endTime = *arg2;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_MetaPacket_endTime_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::MetaPacket *arg1 = (Gempa::CAPS::MetaPacket *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::Time *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:MetaPacket_endTime_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__MetaPacket, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MetaPacket_endTime_get" "', argument " "1"" of type '" "Gempa::CAPS::MetaPacket *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::MetaPacket * >(argp1);
result = (Gempa::CAPS::Time *)& ((arg1)->endTime);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_MetaPacket_timestamp_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::MetaPacket *arg1 = (Gempa::CAPS::MetaPacket *) 0 ;
Gempa::CAPS::Time *arg2 = (Gempa::CAPS::Time *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:MetaPacket_timestamp_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__MetaPacket, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MetaPacket_timestamp_set" "', argument " "1"" of type '" "Gempa::CAPS::MetaPacket *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::MetaPacket * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MetaPacket_timestamp_set" "', argument " "2"" of type '" "Gempa::CAPS::Time *""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::Time * >(argp2);
if (arg1) (arg1)->timestamp = *arg2;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_MetaPacket_timestamp_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::MetaPacket *arg1 = (Gempa::CAPS::MetaPacket *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::Time *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:MetaPacket_timestamp_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__MetaPacket, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MetaPacket_timestamp_get" "', argument " "1"" of type '" "Gempa::CAPS::MetaPacket *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::MetaPacket * >(argp1);
result = (Gempa::CAPS::Time *)& ((arg1)->timestamp);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_MetaPacket(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::MetaPacket *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)":new_MetaPacket")) SWIG_fail;
result = (Gempa::CAPS::MetaPacket *)new Gempa::CAPS::MetaPacket();
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__MetaPacket, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_MetaPacket(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::MetaPacket *arg1 = (Gempa::CAPS::MetaPacket *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:delete_MetaPacket",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__MetaPacket, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_MetaPacket" "', argument " "1"" of type '" "Gempa::CAPS::MetaPacket *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::MetaPacket * >(argp1);
delete arg1;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *MetaPacket_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_Gempa__CAPS__MetaPacket, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_new_Packet__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Packet *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)":new_Packet")) SWIG_fail;
result = (Gempa::CAPS::Packet *)new Gempa::CAPS::Packet();
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__Packet, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Packet__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::DataRecordPtr arg1 ;
std::string *arg2 = 0 ;
std::string *arg3 = 0 ;
std::string *arg4 = 0 ;
std::string *arg5 = 0 ;
void *argp1 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
int res3 = SWIG_OLDOBJ ;
int res4 = SWIG_OLDOBJ ;
int res5 = SWIG_OLDOBJ ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
Gempa::CAPS::Packet *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OOOOO:new_Packet",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
{
res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_boost__shared_ptrT_Gempa__CAPS__DataRecord_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Packet" "', argument " "1"" of type '" "Gempa::CAPS::DataRecordPtr""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Packet" "', argument " "1"" of type '" "Gempa::CAPS::DataRecordPtr""'");
} else {
Gempa::CAPS::DataRecordPtr * temp = reinterpret_cast< Gempa::CAPS::DataRecordPtr * >(argp1);
arg1 = *temp;
if (SWIG_IsNewObj(res1)) delete temp;
}
}
{
std::string *ptr = (std::string *)0;
res2 = SWIG_AsPtr_std_string(obj1, &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Packet" "', argument " "2"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Packet" "', argument " "2"" of type '" "std::string const &""'");
}
arg2 = ptr;
}
{
std::string *ptr = (std::string *)0;
res3 = SWIG_AsPtr_std_string(obj2, &ptr);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Packet" "', argument " "3"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Packet" "', argument " "3"" of type '" "std::string const &""'");
}
arg3 = ptr;
}
{
std::string *ptr = (std::string *)0;
res4 = SWIG_AsPtr_std_string(obj3, &ptr);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_Packet" "', argument " "4"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Packet" "', argument " "4"" of type '" "std::string const &""'");
}
arg4 = ptr;
}
{
std::string *ptr = (std::string *)0;
res5 = SWIG_AsPtr_std_string(obj4, &ptr);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_Packet" "', argument " "5"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Packet" "', argument " "5"" of type '" "std::string const &""'");
}
arg5 = ptr;
}
result = (Gempa::CAPS::Packet *)new Gempa::CAPS::Packet(arg1,(std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__Packet, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res2)) delete arg2;
if (SWIG_IsNewObj(res3)) delete arg3;
if (SWIG_IsNewObj(res4)) delete arg4;
if (SWIG_IsNewObj(res5)) delete arg5;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
if (SWIG_IsNewObj(res3)) delete arg3;
if (SWIG_IsNewObj(res4)) delete arg4;
if (SWIG_IsNewObj(res5)) delete arg5;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Packet(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[6] = {
0
};
Py_ssize_t ii;
if (!PyTuple_Check(args)) SWIG_fail;
argc = args ? PyObject_Length(args) : 0;
for (ii = 0; (ii < 5) && (ii < argc); ii++) {
argv[ii] = PyTuple_GET_ITEM(args,ii);
}
if (argc == 0) {
return _wrap_new_Packet__SWIG_0(self, args);
}
if (argc == 5) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_boost__shared_ptrT_Gempa__CAPS__DataRecord_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[3], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[4], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Packet__SWIG_1(self, args);
}
}
}
}
}
}
fail:
SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_Packet'.\n"
" Possible C/C++ prototypes are:\n"
" Gempa::CAPS::Packet::Packet()\n"
" Gempa::CAPS::Packet::Packet(Gempa::CAPS::DataRecordPtr,std::string const &,std::string const &,std::string const &,std::string const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Packet_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Packet *arg1 = (Gempa::CAPS::Packet *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::Packet *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:Packet_clone",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Packet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Packet_clone" "', argument " "1"" of type '" "Gempa::CAPS::Packet *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Packet * >(argp1);
result = (Gempa::CAPS::Packet *)(arg1)->clone();
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__Packet, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Packet_buffer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Packet *arg1 = (Gempa::CAPS::Packet *) 0 ;
Gempa::CAPS::Packet::BufferPtr arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:Packet_buffer_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Packet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Packet_buffer_set" "', argument " "1"" of type '" "Gempa::CAPS::Packet *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Packet * >(argp1);
{
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_boost__shared_ptrT_Gempa__CAPS__Packet__Buffer_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Packet_buffer_set" "', argument " "2"" of type '" "Gempa::CAPS::Packet::BufferPtr""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Packet_buffer_set" "', argument " "2"" of type '" "Gempa::CAPS::Packet::BufferPtr""'");
} else {
Gempa::CAPS::Packet::BufferPtr * temp = reinterpret_cast< Gempa::CAPS::Packet::BufferPtr * >(argp2);
arg2 = *temp;
if (SWIG_IsNewObj(res2)) delete temp;
}
}
if (arg1) (arg1)->buffer = arg2;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Packet_buffer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Packet *arg1 = (Gempa::CAPS::Packet *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::Packet::BufferPtr result;
if (!PyArg_ParseTuple(args,(char *)"O:Packet_buffer_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Packet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Packet_buffer_get" "', argument " "1"" of type '" "Gempa::CAPS::Packet *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Packet * >(argp1);
result = ((arg1)->buffer);
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::Packet::BufferPtr(static_cast< const Gempa::CAPS::Packet::BufferPtr& >(result))), SWIGTYPE_p_boost__shared_ptrT_Gempa__CAPS__Packet__Buffer_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Packet_record_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Packet *arg1 = (Gempa::CAPS::Packet *) 0 ;
Gempa::CAPS::DataRecordPtr arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:Packet_record_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Packet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Packet_record_set" "', argument " "1"" of type '" "Gempa::CAPS::Packet *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Packet * >(argp1);
{
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_boost__shared_ptrT_Gempa__CAPS__DataRecord_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Packet_record_set" "', argument " "2"" of type '" "Gempa::CAPS::DataRecordPtr""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Packet_record_set" "', argument " "2"" of type '" "Gempa::CAPS::DataRecordPtr""'");
} else {
Gempa::CAPS::DataRecordPtr * temp = reinterpret_cast< Gempa::CAPS::DataRecordPtr * >(argp2);
arg2 = *temp;
if (SWIG_IsNewObj(res2)) delete temp;
}
}
if (arg1) (arg1)->record = arg2;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Packet_record_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Packet *arg1 = (Gempa::CAPS::Packet *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::DataRecordPtr result;
if (!PyArg_ParseTuple(args,(char *)"O:Packet_record_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Packet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Packet_record_get" "', argument " "1"" of type '" "Gempa::CAPS::Packet *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Packet * >(argp1);
result = ((arg1)->record);
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::DataRecordPtr(static_cast< const Gempa::CAPS::DataRecordPtr& >(result))), SWIGTYPE_p_boost__shared_ptrT_Gempa__CAPS__DataRecord_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Packet_networkCode_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Packet *arg1 = (Gempa::CAPS::Packet *) 0 ;
std::string *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:Packet_networkCode_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Packet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Packet_networkCode_set" "', argument " "1"" of type '" "Gempa::CAPS::Packet *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Packet * >(argp1);
{
std::string *ptr = (std::string *)0;
res2 = SWIG_AsPtr_std_string(obj1, &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Packet_networkCode_set" "', argument " "2"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Packet_networkCode_set" "', argument " "2"" of type '" "std::string const &""'");
}
arg2 = ptr;
}
if (arg1) (arg1)->networkCode = *arg2;
resultobj = SWIG_Py_Void();
if (SWIG_IsNewObj(res2)) delete arg2;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
return NULL;
}
SWIGINTERN PyObject *_wrap_Packet_networkCode_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Packet *arg1 = (Gempa::CAPS::Packet *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
std::string *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:Packet_networkCode_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Packet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Packet_networkCode_get" "', argument " "1"" of type '" "Gempa::CAPS::Packet *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Packet * >(argp1);
result = (std::string *) & ((arg1)->networkCode);
resultobj = SWIG_From_std_string(static_cast< std::string >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Packet_stationCode_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Packet *arg1 = (Gempa::CAPS::Packet *) 0 ;
std::string *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:Packet_stationCode_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Packet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Packet_stationCode_set" "', argument " "1"" of type '" "Gempa::CAPS::Packet *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Packet * >(argp1);
{
std::string *ptr = (std::string *)0;
res2 = SWIG_AsPtr_std_string(obj1, &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Packet_stationCode_set" "', argument " "2"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Packet_stationCode_set" "', argument " "2"" of type '" "std::string const &""'");
}
arg2 = ptr;
}
if (arg1) (arg1)->stationCode = *arg2;
resultobj = SWIG_Py_Void();
if (SWIG_IsNewObj(res2)) delete arg2;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
return NULL;
}
SWIGINTERN PyObject *_wrap_Packet_stationCode_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Packet *arg1 = (Gempa::CAPS::Packet *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
std::string *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:Packet_stationCode_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Packet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Packet_stationCode_get" "', argument " "1"" of type '" "Gempa::CAPS::Packet *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Packet * >(argp1);
result = (std::string *) & ((arg1)->stationCode);
resultobj = SWIG_From_std_string(static_cast< std::string >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Packet_locationCode_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Packet *arg1 = (Gempa::CAPS::Packet *) 0 ;
std::string *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:Packet_locationCode_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Packet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Packet_locationCode_set" "', argument " "1"" of type '" "Gempa::CAPS::Packet *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Packet * >(argp1);
{
std::string *ptr = (std::string *)0;
res2 = SWIG_AsPtr_std_string(obj1, &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Packet_locationCode_set" "', argument " "2"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Packet_locationCode_set" "', argument " "2"" of type '" "std::string const &""'");
}
arg2 = ptr;
}
if (arg1) (arg1)->locationCode = *arg2;
resultobj = SWIG_Py_Void();
if (SWIG_IsNewObj(res2)) delete arg2;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
return NULL;
}
SWIGINTERN PyObject *_wrap_Packet_locationCode_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Packet *arg1 = (Gempa::CAPS::Packet *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
std::string *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:Packet_locationCode_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Packet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Packet_locationCode_get" "', argument " "1"" of type '" "Gempa::CAPS::Packet *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Packet * >(argp1);
result = (std::string *) & ((arg1)->locationCode);
resultobj = SWIG_From_std_string(static_cast< std::string >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Packet_channelCode_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Packet *arg1 = (Gempa::CAPS::Packet *) 0 ;
std::string *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:Packet_channelCode_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Packet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Packet_channelCode_set" "', argument " "1"" of type '" "Gempa::CAPS::Packet *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Packet * >(argp1);
{
std::string *ptr = (std::string *)0;
res2 = SWIG_AsPtr_std_string(obj1, &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Packet_channelCode_set" "', argument " "2"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Packet_channelCode_set" "', argument " "2"" of type '" "std::string const &""'");
}
arg2 = ptr;
}
if (arg1) (arg1)->channelCode = *arg2;
resultobj = SWIG_Py_Void();
if (SWIG_IsNewObj(res2)) delete arg2;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
return NULL;
}
SWIGINTERN PyObject *_wrap_Packet_channelCode_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Packet *arg1 = (Gempa::CAPS::Packet *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
std::string *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:Packet_channelCode_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Packet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Packet_channelCode_get" "', argument " "1"" of type '" "Gempa::CAPS::Packet *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Packet * >(argp1);
result = (std::string *) & ((arg1)->channelCode);
resultobj = SWIG_From_std_string(static_cast< std::string >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Packet_streamID_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Packet *arg1 = (Gempa::CAPS::Packet *) 0 ;
std::string *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:Packet_streamID_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Packet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Packet_streamID_set" "', argument " "1"" of type '" "Gempa::CAPS::Packet *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Packet * >(argp1);
{
std::string *ptr = (std::string *)0;
res2 = SWIG_AsPtr_std_string(obj1, &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Packet_streamID_set" "', argument " "2"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Packet_streamID_set" "', argument " "2"" of type '" "std::string const &""'");
}
arg2 = ptr;
}
if (arg1) (arg1)->streamID = *arg2;
resultobj = SWIG_Py_Void();
if (SWIG_IsNewObj(res2)) delete arg2;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
return NULL;
}
SWIGINTERN PyObject *_wrap_Packet_streamID_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Packet *arg1 = (Gempa::CAPS::Packet *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
std::string *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:Packet_streamID_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Packet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Packet_streamID_get" "', argument " "1"" of type '" "Gempa::CAPS::Packet *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Packet * >(argp1);
result = (std::string *) & ((arg1)->streamID);
resultobj = SWIG_From_std_string(static_cast< std::string >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Packet_dataType_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Packet *arg1 = (Gempa::CAPS::Packet *) 0 ;
Gempa::CAPS::DataType arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
int val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:Packet_dataType_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Packet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Packet_dataType_set" "', argument " "1"" of type '" "Gempa::CAPS::Packet *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Packet * >(argp1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Packet_dataType_set" "', argument " "2"" of type '" "Gempa::CAPS::DataType""'");
}
arg2 = static_cast< Gempa::CAPS::DataType >(val2);
if (arg1) (arg1)->dataType = arg2;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Packet_dataType_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Packet *arg1 = (Gempa::CAPS::Packet *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::DataType result;
if (!PyArg_ParseTuple(args,(char *)"O:Packet_dataType_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Packet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Packet_dataType_get" "', argument " "1"" of type '" "Gempa::CAPS::Packet *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Packet * >(argp1);
result = (Gempa::CAPS::DataType) ((arg1)->dataType);
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Packet_dt_us_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Packet *arg1 = (Gempa::CAPS::Packet *) 0 ;
int64_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
long long val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:Packet_dt_us_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Packet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Packet_dt_us_set" "', argument " "1"" of type '" "Gempa::CAPS::Packet *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Packet * >(argp1);
ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Packet_dt_us_set" "', argument " "2"" of type '" "int64_t""'");
}
arg2 = static_cast< int64_t >(val2);
if (arg1) (arg1)->dt_us = arg2;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Packet_dt_us_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Packet *arg1 = (Gempa::CAPS::Packet *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
int64_t result;
if (!PyArg_ParseTuple(args,(char *)"O:Packet_dt_us_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Packet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Packet_dt_us_get" "', argument " "1"" of type '" "Gempa::CAPS::Packet *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Packet * >(argp1);
result = (int64_t) ((arg1)->dt_us);
resultobj = SWIG_From_long_SS_long(static_cast< long long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Packet_uom_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Packet *arg1 = (Gempa::CAPS::Packet *) 0 ;
std::string *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:Packet_uom_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Packet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Packet_uom_set" "', argument " "1"" of type '" "Gempa::CAPS::Packet *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Packet * >(argp1);
{
std::string *ptr = (std::string *)0;
res2 = SWIG_AsPtr_std_string(obj1, &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Packet_uom_set" "', argument " "2"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Packet_uom_set" "', argument " "2"" of type '" "std::string const &""'");
}
arg2 = ptr;
}
if (arg1) (arg1)->uom = *arg2;
resultobj = SWIG_Py_Void();
if (SWIG_IsNewObj(res2)) delete arg2;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
return NULL;
}
SWIGINTERN PyObject *_wrap_Packet_uom_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Packet *arg1 = (Gempa::CAPS::Packet *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
std::string *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:Packet_uom_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Packet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Packet_uom_get" "', argument " "1"" of type '" "Gempa::CAPS::Packet *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Packet * >(argp1);
result = (std::string *) & ((arg1)->uom);
resultobj = SWIG_From_std_string(static_cast< std::string >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Packet_timingQuality_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Packet *arg1 = (Gempa::CAPS::Packet *) 0 ;
int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
int val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:Packet_timingQuality_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Packet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Packet_timingQuality_set" "', argument " "1"" of type '" "Gempa::CAPS::Packet *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Packet * >(argp1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Packet_timingQuality_set" "', argument " "2"" of type '" "int""'");
}
arg2 = static_cast< int >(val2);
if (arg1) (arg1)->timingQuality = arg2;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Packet_timingQuality_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Packet *arg1 = (Gempa::CAPS::Packet *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
int result;
if (!PyArg_ParseTuple(args,(char *)"O:Packet_timingQuality_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Packet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Packet_timingQuality_get" "', argument " "1"" of type '" "Gempa::CAPS::Packet *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Packet * >(argp1);
result = (int) ((arg1)->timingQuality);
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Packet_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Packet *arg1 = (Gempa::CAPS::Packet *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
size_t result;
if (!PyArg_ParseTuple(args,(char *)"O:Packet_size",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Packet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Packet_size" "', argument " "1"" of type '" "Gempa::CAPS::Packet const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Packet * >(argp1);
result = ((Gempa::CAPS::Packet const *)arg1)->size();
resultobj = SWIG_From_size_t(static_cast< size_t >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Packet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Packet *arg1 = (Gempa::CAPS::Packet *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:delete_Packet",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Packet, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Packet" "', argument " "1"" of type '" "Gempa::CAPS::Packet *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Packet * >(argp1);
delete arg1;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *Packet_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_Gempa__CAPS__Packet, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_new_AnyDataRecord(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::AnyDataRecord *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)":new_AnyDataRecord")) SWIG_fail;
result = (Gempa::CAPS::AnyDataRecord *)new Gempa::CAPS::AnyDataRecord();
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__AnyDataRecord, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AnyDataRecord_setType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::AnyDataRecord *arg1 = (Gempa::CAPS::AnyDataRecord *) 0 ;
char *arg2 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OO:AnyDataRecord_setType",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__AnyDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnyDataRecord_setType" "', argument " "1"" of type '" "Gempa::CAPS::AnyDataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::AnyDataRecord * >(argp1);
res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AnyDataRecord_setType" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
result = (bool)(arg1)->setType((char const *)arg2);
resultobj = SWIG_From_bool(static_cast< bool >(result));
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return NULL;
}
SWIGINTERN PyObject *_wrap_AnyDataRecord_type(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::AnyDataRecord *arg1 = (Gempa::CAPS::AnyDataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
char *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:AnyDataRecord_type",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__AnyDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnyDataRecord_type" "', argument " "1"" of type '" "Gempa::CAPS::AnyDataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::AnyDataRecord * >(argp1);
result = (char *)((Gempa::CAPS::AnyDataRecord const *)arg1)->type();
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AnyDataRecord_formatName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::AnyDataRecord *arg1 = (Gempa::CAPS::AnyDataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
char *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:AnyDataRecord_formatName",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__AnyDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnyDataRecord_formatName" "', argument " "1"" of type '" "Gempa::CAPS::AnyDataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::AnyDataRecord * >(argp1);
result = (char *)((Gempa::CAPS::AnyDataRecord const *)arg1)->formatName();
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AnyDataRecord_readMetaData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::AnyDataRecord *arg1 = (Gempa::CAPS::AnyDataRecord *) 0 ;
std::streambuf *arg2 = 0 ;
int arg3 ;
Gempa::CAPS::DataRecord::Header *arg4 = 0 ;
Gempa::CAPS::Time *arg5 = 0 ;
Gempa::CAPS::Time *arg6 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
int val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
PyObject * obj5 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OOOOOO:AnyDataRecord_readMetaData",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__AnyDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnyDataRecord_readMetaData" "', argument " "1"" of type '" "Gempa::CAPS::AnyDataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::AnyDataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AnyDataRecord_readMetaData" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AnyDataRecord_readMetaData" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AnyDataRecord_readMetaData" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_Gempa__CAPS__DataRecord__Header, 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AnyDataRecord_readMetaData" "', argument " "4"" of type '" "Gempa::CAPS::DataRecord::Header &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AnyDataRecord_readMetaData" "', argument " "4"" of type '" "Gempa::CAPS::DataRecord::Header &""'");
}
arg4 = reinterpret_cast< Gempa::CAPS::DataRecord::Header * >(argp4);
res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_Gempa__CAPS__Time, 0 );
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AnyDataRecord_readMetaData" "', argument " "5"" of type '" "Gempa::CAPS::Time &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AnyDataRecord_readMetaData" "', argument " "5"" of type '" "Gempa::CAPS::Time &""'");
}
arg5 = reinterpret_cast< Gempa::CAPS::Time * >(argp5);
res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_Gempa__CAPS__Time, 0 );
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AnyDataRecord_readMetaData" "', argument " "6"" of type '" "Gempa::CAPS::Time &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AnyDataRecord_readMetaData" "', argument " "6"" of type '" "Gempa::CAPS::Time &""'");
}
arg6 = reinterpret_cast< Gempa::CAPS::Time * >(argp6);
result = (bool)(arg1)->readMetaData(*arg2,arg3,*arg4,*arg5,*arg6);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AnyDataRecord_header(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::AnyDataRecord *arg1 = (Gempa::CAPS::AnyDataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::DataRecord::Header *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:AnyDataRecord_header",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__AnyDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnyDataRecord_header" "', argument " "1"" of type '" "Gempa::CAPS::AnyDataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::AnyDataRecord * >(argp1);
result = (Gempa::CAPS::DataRecord::Header *)((Gempa::CAPS::AnyDataRecord const *)arg1)->header();
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__DataRecord__Header, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AnyDataRecord_startTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::AnyDataRecord *arg1 = (Gempa::CAPS::AnyDataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::Time result;
if (!PyArg_ParseTuple(args,(char *)"O:AnyDataRecord_startTime",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__AnyDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnyDataRecord_startTime" "', argument " "1"" of type '" "Gempa::CAPS::AnyDataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::AnyDataRecord * >(argp1);
result = ((Gempa::CAPS::AnyDataRecord const *)arg1)->startTime();
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::Time(static_cast< const Gempa::CAPS::Time& >(result))), SWIGTYPE_p_Gempa__CAPS__Time, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AnyDataRecord_endTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::AnyDataRecord *arg1 = (Gempa::CAPS::AnyDataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::Time result;
if (!PyArg_ParseTuple(args,(char *)"O:AnyDataRecord_endTime",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__AnyDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnyDataRecord_endTime" "', argument " "1"" of type '" "Gempa::CAPS::AnyDataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::AnyDataRecord * >(argp1);
result = ((Gempa::CAPS::AnyDataRecord const *)arg1)->endTime();
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::Time(static_cast< const Gempa::CAPS::Time& >(result))), SWIGTYPE_p_Gempa__CAPS__Time, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AnyDataRecord_canTrim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::AnyDataRecord *arg1 = (Gempa::CAPS::AnyDataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"O:AnyDataRecord_canTrim",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__AnyDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnyDataRecord_canTrim" "', argument " "1"" of type '" "Gempa::CAPS::AnyDataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::AnyDataRecord * >(argp1);
result = (bool)((Gempa::CAPS::AnyDataRecord const *)arg1)->canTrim();
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AnyDataRecord_canMerge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::AnyDataRecord *arg1 = (Gempa::CAPS::AnyDataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"O:AnyDataRecord_canMerge",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__AnyDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnyDataRecord_canMerge" "', argument " "1"" of type '" "Gempa::CAPS::AnyDataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::AnyDataRecord * >(argp1);
result = (bool)((Gempa::CAPS::AnyDataRecord const *)arg1)->canMerge();
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AnyDataRecord_trim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::AnyDataRecord *arg1 = (Gempa::CAPS::AnyDataRecord *) 0 ;
Gempa::CAPS::Time *arg2 = 0 ;
Gempa::CAPS::Time *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OOO:AnyDataRecord_trim",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__AnyDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnyDataRecord_trim" "', argument " "1"" of type '" "Gempa::CAPS::AnyDataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::AnyDataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AnyDataRecord_trim" "', argument " "2"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AnyDataRecord_trim" "', argument " "2"" of type '" "Gempa::CAPS::Time const &""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::Time * >(argp2);
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AnyDataRecord_trim" "', argument " "3"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AnyDataRecord_trim" "', argument " "3"" of type '" "Gempa::CAPS::Time const &""'");
}
arg3 = reinterpret_cast< Gempa::CAPS::Time * >(argp3);
result = (bool)((Gempa::CAPS::AnyDataRecord const *)arg1)->trim((Gempa::CAPS::Time const &)*arg2,(Gempa::CAPS::Time const &)*arg3);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AnyDataRecord_dataSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::AnyDataRecord *arg1 = (Gempa::CAPS::AnyDataRecord *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
size_t result;
if (!PyArg_ParseTuple(args,(char *)"OO:AnyDataRecord_dataSize",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__AnyDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnyDataRecord_dataSize" "', argument " "1"" of type '" "Gempa::CAPS::AnyDataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::AnyDataRecord * >(argp1);
ecode2 = SWIG_AsVal_bool(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AnyDataRecord_dataSize" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
result = ((Gempa::CAPS::AnyDataRecord const *)arg1)->dataSize(arg2);
resultobj = SWIG_From_size_t(static_cast< size_t >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AnyDataRecord_get__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::AnyDataRecord *arg1 = (Gempa::CAPS::AnyDataRecord *) 0 ;
std::streambuf *arg2 = 0 ;
int arg3 ;
Gempa::CAPS::Time *arg4 = 0 ;
Gempa::CAPS::Time *arg5 = 0 ;
int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
int val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
int val6 ;
int ecode6 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
PyObject * obj5 = 0 ;
Gempa::CAPS::DataRecord::ReadStatus result;
if (!PyArg_ParseTuple(args,(char *)"OOOOOO:AnyDataRecord_get",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__AnyDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnyDataRecord_get" "', argument " "1"" of type '" "Gempa::CAPS::AnyDataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::AnyDataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AnyDataRecord_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AnyDataRecord_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AnyDataRecord_get" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AnyDataRecord_get" "', argument " "4"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AnyDataRecord_get" "', argument " "4"" of type '" "Gempa::CAPS::Time const &""'");
}
arg4 = reinterpret_cast< Gempa::CAPS::Time * >(argp4);
res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AnyDataRecord_get" "', argument " "5"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AnyDataRecord_get" "', argument " "5"" of type '" "Gempa::CAPS::Time const &""'");
}
arg5 = reinterpret_cast< Gempa::CAPS::Time * >(argp5);
ecode6 = SWIG_AsVal_int(obj5, &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AnyDataRecord_get" "', argument " "6"" of type '" "int""'");
}
arg6 = static_cast< int >(val6);
result = (arg1)->get(*arg2,arg3,(Gempa::CAPS::Time const &)*arg4,(Gempa::CAPS::Time const &)*arg5,arg6);
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::DataRecord::ReadStatus(static_cast< const Gempa::CAPS::DataRecord::ReadStatus& >(result))), SWIGTYPE_p_Gempa__CAPS__DataRecord__ReadStatus, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AnyDataRecord_get__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::AnyDataRecord *arg1 = (Gempa::CAPS::AnyDataRecord *) 0 ;
std::streambuf *arg2 = 0 ;
int arg3 ;
Gempa::CAPS::Time *arg4 = 0 ;
Gempa::CAPS::Time *arg5 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
int val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
Gempa::CAPS::DataRecord::ReadStatus result;
if (!PyArg_ParseTuple(args,(char *)"OOOOO:AnyDataRecord_get",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__AnyDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnyDataRecord_get" "', argument " "1"" of type '" "Gempa::CAPS::AnyDataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::AnyDataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AnyDataRecord_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AnyDataRecord_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AnyDataRecord_get" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AnyDataRecord_get" "', argument " "4"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AnyDataRecord_get" "', argument " "4"" of type '" "Gempa::CAPS::Time const &""'");
}
arg4 = reinterpret_cast< Gempa::CAPS::Time * >(argp4);
res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AnyDataRecord_get" "', argument " "5"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AnyDataRecord_get" "', argument " "5"" of type '" "Gempa::CAPS::Time const &""'");
}
arg5 = reinterpret_cast< Gempa::CAPS::Time * >(argp5);
result = (arg1)->get(*arg2,arg3,(Gempa::CAPS::Time const &)*arg4,(Gempa::CAPS::Time const &)*arg5);
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::DataRecord::ReadStatus(static_cast< const Gempa::CAPS::DataRecord::ReadStatus& >(result))), SWIGTYPE_p_Gempa__CAPS__DataRecord__ReadStatus, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AnyDataRecord_get__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::AnyDataRecord *arg1 = (Gempa::CAPS::AnyDataRecord *) 0 ;
std::streambuf *arg2 = 0 ;
int arg3 ;
Gempa::CAPS::Time *arg4 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
int val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
Gempa::CAPS::DataRecord::ReadStatus result;
if (!PyArg_ParseTuple(args,(char *)"OOOO:AnyDataRecord_get",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__AnyDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnyDataRecord_get" "', argument " "1"" of type '" "Gempa::CAPS::AnyDataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::AnyDataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AnyDataRecord_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AnyDataRecord_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AnyDataRecord_get" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AnyDataRecord_get" "', argument " "4"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AnyDataRecord_get" "', argument " "4"" of type '" "Gempa::CAPS::Time const &""'");
}
arg4 = reinterpret_cast< Gempa::CAPS::Time * >(argp4);
result = (arg1)->get(*arg2,arg3,(Gempa::CAPS::Time const &)*arg4);
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::DataRecord::ReadStatus(static_cast< const Gempa::CAPS::DataRecord::ReadStatus& >(result))), SWIGTYPE_p_Gempa__CAPS__DataRecord__ReadStatus, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AnyDataRecord_get__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::AnyDataRecord *arg1 = (Gempa::CAPS::AnyDataRecord *) 0 ;
std::streambuf *arg2 = 0 ;
int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
int val3 ;
int ecode3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
Gempa::CAPS::DataRecord::ReadStatus result;
if (!PyArg_ParseTuple(args,(char *)"OOO:AnyDataRecord_get",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__AnyDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnyDataRecord_get" "', argument " "1"" of type '" "Gempa::CAPS::AnyDataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::AnyDataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AnyDataRecord_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AnyDataRecord_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AnyDataRecord_get" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
result = (arg1)->get(*arg2,arg3);
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::DataRecord::ReadStatus(static_cast< const Gempa::CAPS::DataRecord::ReadStatus& >(result))), SWIGTYPE_p_Gempa__CAPS__DataRecord__ReadStatus, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AnyDataRecord_get(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[7] = {
0
};
Py_ssize_t ii;
if (!PyTuple_Check(args)) SWIG_fail;
argc = args ? PyObject_Length(args) : 0;
for (ii = 0; (ii < 6) && (ii < argc); ii++) {
argv[ii] = PyTuple_GET_ITEM(args,ii);
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__AnyDataRecord, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__streambuf, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_AnyDataRecord_get__SWIG_3(self, args);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__AnyDataRecord, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__streambuf, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_AnyDataRecord_get__SWIG_2(self, args);
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__AnyDataRecord, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__streambuf, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_AnyDataRecord_get__SWIG_1(self, args);
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__AnyDataRecord, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__streambuf, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_AnyDataRecord_get__SWIG_0(self, args);
}
}
}
}
}
}
}
fail:
SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'AnyDataRecord_get'.\n"
" Possible C/C++ prototypes are:\n"
" Gempa::CAPS::AnyDataRecord::get(std::streambuf &,int,Gempa::CAPS::Time const &,Gempa::CAPS::Time const &,int)\n"
" Gempa::CAPS::AnyDataRecord::get(std::streambuf &,int,Gempa::CAPS::Time const &,Gempa::CAPS::Time const &)\n"
" Gempa::CAPS::AnyDataRecord::get(std::streambuf &,int,Gempa::CAPS::Time const &)\n"
" Gempa::CAPS::AnyDataRecord::get(std::streambuf &,int)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_AnyDataRecord_put(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::AnyDataRecord *arg1 = (Gempa::CAPS::AnyDataRecord *) 0 ;
std::streambuf *arg2 = 0 ;
bool arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OOO:AnyDataRecord_put",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__AnyDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnyDataRecord_put" "', argument " "1"" of type '" "Gempa::CAPS::AnyDataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::AnyDataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AnyDataRecord_put" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AnyDataRecord_put" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
ecode3 = SWIG_AsVal_bool(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AnyDataRecord_put" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
result = (bool)((Gempa::CAPS::AnyDataRecord const *)arg1)->put(*arg2,arg3);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AnyDataRecord_packetType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::AnyDataRecord *arg1 = (Gempa::CAPS::AnyDataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::PacketType result;
if (!PyArg_ParseTuple(args,(char *)"O:AnyDataRecord_packetType",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__AnyDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnyDataRecord_packetType" "', argument " "1"" of type '" "Gempa::CAPS::AnyDataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::AnyDataRecord * >(argp1);
result = (Gempa::CAPS::PacketType)((Gempa::CAPS::AnyDataRecord const *)arg1)->packetType();
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AnyDataRecord_setStartTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::AnyDataRecord *arg1 = (Gempa::CAPS::AnyDataRecord *) 0 ;
Gempa::CAPS::Time *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:AnyDataRecord_setStartTime",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__AnyDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnyDataRecord_setStartTime" "', argument " "1"" of type '" "Gempa::CAPS::AnyDataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::AnyDataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AnyDataRecord_setStartTime" "', argument " "2"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AnyDataRecord_setStartTime" "', argument " "2"" of type '" "Gempa::CAPS::Time const &""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::Time * >(argp2);
(arg1)->setStartTime((Gempa::CAPS::Time const &)*arg2);
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AnyDataRecord_setEndTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::AnyDataRecord *arg1 = (Gempa::CAPS::AnyDataRecord *) 0 ;
Gempa::CAPS::Time *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:AnyDataRecord_setEndTime",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__AnyDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnyDataRecord_setEndTime" "', argument " "1"" of type '" "Gempa::CAPS::AnyDataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::AnyDataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AnyDataRecord_setEndTime" "', argument " "2"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AnyDataRecord_setEndTime" "', argument " "2"" of type '" "Gempa::CAPS::Time const &""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::Time * >(argp2);
(arg1)->setEndTime((Gempa::CAPS::Time const &)*arg2);
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AnyDataRecord_setSamplingFrequency(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::AnyDataRecord *arg1 = (Gempa::CAPS::AnyDataRecord *) 0 ;
uint16_t arg2 ;
uint16_t arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned short val2 ;
int ecode2 = 0 ;
unsigned short val3 ;
int ecode3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OOO:AnyDataRecord_setSamplingFrequency",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__AnyDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnyDataRecord_setSamplingFrequency" "', argument " "1"" of type '" "Gempa::CAPS::AnyDataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::AnyDataRecord * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_short(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AnyDataRecord_setSamplingFrequency" "', argument " "2"" of type '" "uint16_t""'");
}
arg2 = static_cast< uint16_t >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_short(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AnyDataRecord_setSamplingFrequency" "', argument " "3"" of type '" "uint16_t""'");
}
arg3 = static_cast< uint16_t >(val3);
(arg1)->setSamplingFrequency(arg2,arg3);
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AnyDataRecord_data(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::AnyDataRecord *arg1 = (Gempa::CAPS::AnyDataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::AnyDataRecord::Buffer *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:AnyDataRecord_data",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__AnyDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnyDataRecord_data" "', argument " "1"" of type '" "Gempa::CAPS::AnyDataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::AnyDataRecord * >(argp1);
result = (Gempa::CAPS::AnyDataRecord::Buffer *)(arg1)->data();
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_char_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AnyDataRecord_setData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::AnyDataRecord *arg1 = (Gempa::CAPS::AnyDataRecord *) 0 ;
char *arg2 = (char *) 0 ;
size_t arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
size_t val3 ;
int ecode3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OOO:AnyDataRecord_setData",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__AnyDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AnyDataRecord_setData" "', argument " "1"" of type '" "Gempa::CAPS::AnyDataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::AnyDataRecord * >(argp1);
res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AnyDataRecord_setData" "', argument " "2"" of type '" "char *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
ecode3 = SWIG_AsVal_size_t(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AnyDataRecord_setData" "', argument " "3"" of type '" "size_t""'");
}
arg3 = static_cast< size_t >(val3);
(arg1)->setData(arg2,arg3);
resultobj = SWIG_Py_Void();
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_AnyDataRecord(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::AnyDataRecord *arg1 = (Gempa::CAPS::AnyDataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:delete_AnyDataRecord",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__AnyDataRecord, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AnyDataRecord" "', argument " "1"" of type '" "Gempa::CAPS::AnyDataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::AnyDataRecord * >(argp1);
delete arg1;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *AnyDataRecord_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_Gempa__CAPS__AnyDataRecord, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN int Swig_var_LogHandler_set(PyObject *_val) {
{
Gempa::CAPS::LogOutput *inp = 0;
int res = SWIG_ConvertPtr(_val, SWIG_as_voidptrptr(&inp), SWIGTYPE_p_p_f_p_q_const__char_v_______void, 0 );
if (!SWIG_IsOK(res)) {
SWIG_exception_fail(SWIG_ArgError(res), "in variable '""Gempa::CAPS::LogHandler""' of type '""Gempa::CAPS::LogOutput [Gempa::CAPS::LL_QUANTITY]""'");
} else if (inp) {
size_t ii = 0;
for (; ii < (size_t)Gempa::CAPS::LL_QUANTITY; ++ii) *(Gempa::CAPS::LogOutput *)&Gempa::CAPS::LogHandler[ii] = *((Gempa::CAPS::LogOutput *)inp + ii);
} else {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""Gempa::CAPS::LogHandler""' of type '""Gempa::CAPS::LogOutput [Gempa::CAPS::LL_QUANTITY]""'");
}
}
return 0;
fail:
return 1;
}
SWIGINTERN PyObject *Swig_var_LogHandler_get(void) {
PyObject *pyobj = 0;
pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(Gempa::CAPS::LogHandler), SWIGTYPE_p_p_f_p_q_const__char_v_______void, 0 );
return pyobj;
}
SWIGINTERN PyObject *_wrap_SetLogHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::LogLevel arg1 ;
Gempa::CAPS::LogOutput arg2 = (Gempa::CAPS::LogOutput) 0 ;
int val1 ;
int ecode1 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:SetLogHandler",&obj0,&obj1)) SWIG_fail;
ecode1 = SWIG_AsVal_int(obj0, &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SetLogHandler" "', argument " "1"" of type '" "Gempa::CAPS::LogLevel""'");
}
arg1 = static_cast< Gempa::CAPS::LogLevel >(val1);
{
int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_q_const__char_v_______void);
if (!SWIG_IsOK(res)) {
SWIG_exception_fail(SWIG_ArgError(res), "in method '" "SetLogHandler" "', argument " "2"" of type '" "Gempa::CAPS::LogOutput""'");
}
}
Gempa::CAPS::SetLogHandler(arg1,arg2);
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SPClock_freqn_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::SPClock *arg1 = (Gempa::CAPS::SPClock *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
int result;
if (!PyArg_ParseTuple(args,(char *)"O:SPClock_freqn_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__SPClock, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SPClock_freqn_get" "', argument " "1"" of type '" "Gempa::CAPS::SPClock *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::SPClock * >(argp1);
result = (int)(int) ((arg1)->freqn);
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SPClock_freqd_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::SPClock *arg1 = (Gempa::CAPS::SPClock *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
int result;
if (!PyArg_ParseTuple(args,(char *)"O:SPClock_freqd_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__SPClock, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SPClock_freqd_get" "', argument " "1"" of type '" "Gempa::CAPS::SPClock *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::SPClock * >(argp1);
result = (int)(int) ((arg1)->freqd);
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_SPClock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
int arg1 ;
int arg2 ;
int val1 ;
int ecode1 = 0 ;
int val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
Gempa::CAPS::SPClock *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:new_SPClock",&obj0,&obj1)) SWIG_fail;
ecode1 = SWIG_AsVal_int(obj0, &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SPClock" "', argument " "1"" of type '" "int""'");
}
arg1 = static_cast< int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SPClock" "', argument " "2"" of type '" "int""'");
}
arg2 = static_cast< int >(val2);
result = (Gempa::CAPS::SPClock *)new Gempa::CAPS::SPClock(arg1,arg2);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__SPClock, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SPClock_sync_time(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::SPClock *arg1 = (Gempa::CAPS::SPClock *) 0 ;
Gempa::CAPS::SPClock::INT_TIME *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:SPClock_sync_time",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__SPClock, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SPClock_sync_time" "', argument " "1"" of type '" "Gempa::CAPS::SPClock *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::SPClock * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SPClock_sync_time" "', argument " "2"" of type '" "Gempa::CAPS::SPClock::INT_TIME const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SPClock_sync_time" "', argument " "2"" of type '" "Gempa::CAPS::SPClock::INT_TIME const &""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::SPClock::INT_TIME * >(argp2);
(arg1)->sync_time((Gempa::CAPS::SPClock::INT_TIME const &)*arg2);
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SPClock_tick(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::SPClock *arg1 = (Gempa::CAPS::SPClock *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:SPClock_tick",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__SPClock, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SPClock_tick" "', argument " "1"" of type '" "Gempa::CAPS::SPClock *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::SPClock * >(argp1);
(arg1)->tick();
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SPClock_get_time(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::SPClock *arg1 = (Gempa::CAPS::SPClock *) 0 ;
int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
int val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
Gempa::CAPS::SPClock::INT_TIME result;
if (!PyArg_ParseTuple(args,(char *)"OO:SPClock_get_time",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__SPClock, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SPClock_get_time" "', argument " "1"" of type '" "Gempa::CAPS::SPClock const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::SPClock * >(argp1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SPClock_get_time" "', argument " "2"" of type '" "int""'");
}
arg2 = static_cast< int >(val2);
result = ((Gempa::CAPS::SPClock const *)arg1)->get_time(arg2);
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::SPClock::INT_TIME(static_cast< const Gempa::CAPS::SPClock::INT_TIME& >(result))), SWIGTYPE_p_Gempa__CAPS__Time, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SPClock_correction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::SPClock *arg1 = (Gempa::CAPS::SPClock *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
int result;
if (!PyArg_ParseTuple(args,(char *)"O:SPClock_correction",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__SPClock, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SPClock_correction" "', argument " "1"" of type '" "Gempa::CAPS::SPClock const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::SPClock * >(argp1);
result = (int)((Gempa::CAPS::SPClock const *)arg1)->correction();
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_SPClock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::SPClock *arg1 = (Gempa::CAPS::SPClock *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:delete_SPClock",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__SPClock, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SPClock" "', argument " "1"" of type '" "Gempa::CAPS::SPClock *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::SPClock * >(argp1);
delete arg1;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *SPClock_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_Gempa__CAPS__SPClock, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_Encoder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Encoder *arg1 = (Gempa::CAPS::Encoder *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:delete_Encoder",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Encoder, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Encoder" "', argument " "1"" of type '" "Gempa::CAPS::Encoder *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Encoder * >(argp1);
delete arg1;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Encoder_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Encoder *arg1 = (Gempa::CAPS::Encoder *) 0 ;
void *arg2 = (void *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:Encoder_push",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Encoder, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Encoder_push" "', argument " "1"" of type '" "Gempa::CAPS::Encoder *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Encoder * >(argp1);
res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Encoder_push" "', argument " "2"" of type '" "void *""'");
}
(arg1)->push(arg2);
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Encoder_flush(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Encoder *arg1 = (Gempa::CAPS::Encoder *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:Encoder_flush",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Encoder, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Encoder_flush" "', argument " "1"" of type '" "Gempa::CAPS::Encoder *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Encoder * >(argp1);
(arg1)->flush();
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Encoder_reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Encoder *arg1 = (Gempa::CAPS::Encoder *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:Encoder_reset",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Encoder, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Encoder_reset" "', argument " "1"" of type '" "Gempa::CAPS::Encoder *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Encoder * >(argp1);
(arg1)->reset();
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Encoder_type(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Encoder *arg1 = (Gempa::CAPS::Encoder *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
int result;
if (!PyArg_ParseTuple(args,(char *)"O:Encoder_type",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Encoder, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Encoder_type" "', argument " "1"" of type '" "Gempa::CAPS::Encoder const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Encoder * >(argp1);
result = (int)((Gempa::CAPS::Encoder const *)arg1)->type();
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Encoder_clk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Encoder *arg1 = (Gempa::CAPS::Encoder *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::SPClock *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:Encoder_clk",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Encoder, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Encoder_clk" "', argument " "1"" of type '" "Gempa::CAPS::Encoder *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Encoder * >(argp1);
result = (Gempa::CAPS::SPClock *) &(arg1)->clk();
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__SPClock, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Encoder_setStartTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Encoder *arg1 = (Gempa::CAPS::Encoder *) 0 ;
Gempa::CAPS::SPClock::INT_TIME *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:Encoder_setStartTime",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Encoder, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Encoder_setStartTime" "', argument " "1"" of type '" "Gempa::CAPS::Encoder *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Encoder * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Encoder_setStartTime" "', argument " "2"" of type '" "Gempa::CAPS::SPClock::INT_TIME const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Encoder_setStartTime" "', argument " "2"" of type '" "Gempa::CAPS::SPClock::INT_TIME const &""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::SPClock::INT_TIME * >(argp2);
(arg1)->setStartTime((Gempa::CAPS::SPClock::INT_TIME const &)*arg2);
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Encoder_currentTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Encoder *arg1 = (Gempa::CAPS::Encoder *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::SPClock::INT_TIME result;
if (!PyArg_ParseTuple(args,(char *)"O:Encoder_currentTime",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Encoder, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Encoder_currentTime" "', argument " "1"" of type '" "Gempa::CAPS::Encoder const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Encoder * >(argp1);
result = ((Gempa::CAPS::Encoder const *)arg1)->currentTime();
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::SPClock::INT_TIME(static_cast< const Gempa::CAPS::SPClock::INT_TIME& >(result))), SWIGTYPE_p_Gempa__CAPS__Time, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Encoder_timingQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Encoder *arg1 = (Gempa::CAPS::Encoder *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
int result;
if (!PyArg_ParseTuple(args,(char *)"O:Encoder_timingQuality",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Encoder, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Encoder_timingQuality" "', argument " "1"" of type '" "Gempa::CAPS::Encoder *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Encoder * >(argp1);
result = (int)(arg1)->timingQuality();
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Encoder_setTimingQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Encoder *arg1 = (Gempa::CAPS::Encoder *) 0 ;
int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
int val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:Encoder_setTimingQuality",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Encoder, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Encoder_setTimingQuality" "', argument " "1"" of type '" "Gempa::CAPS::Encoder *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Encoder * >(argp1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Encoder_setTimingQuality" "', argument " "2"" of type '" "int""'");
}
arg2 = static_cast< int >(val2);
(arg1)->setTimingQuality(arg2);
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Encoder_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Encoder *arg1 = (Gempa::CAPS::Encoder *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::PacketPtr result;
if (!PyArg_ParseTuple(args,(char *)"O:Encoder_pop",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Encoder, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Encoder_pop" "', argument " "1"" of type '" "Gempa::CAPS::Encoder *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Encoder * >(argp1);
result = (arg1)->pop();
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::PacketPtr(static_cast< const Gempa::CAPS::PacketPtr& >(result))), SWIGTYPE_p_boost__shared_ptrT_Gempa__CAPS__Packet_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *Encoder_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_Gempa__CAPS__Encoder, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_EncoderFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::EncoderFactory *arg1 = (Gempa::CAPS::EncoderFactory *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:delete_EncoderFactory",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__EncoderFactory, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_EncoderFactory" "', argument " "1"" of type '" "Gempa::CAPS::EncoderFactory *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::EncoderFactory * >(argp1);
delete arg1;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_EncoderFactory_create(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::EncoderFactory *arg1 = (Gempa::CAPS::EncoderFactory *) 0 ;
std::string *arg2 = 0 ;
std::string *arg3 = 0 ;
std::string *arg4 = 0 ;
std::string *arg5 = 0 ;
int arg6 ;
int arg7 ;
int arg8 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
int res3 = SWIG_OLDOBJ ;
int res4 = SWIG_OLDOBJ ;
int res5 = SWIG_OLDOBJ ;
int val6 ;
int ecode6 = 0 ;
int val7 ;
int ecode7 = 0 ;
int val8 ;
int ecode8 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
PyObject * obj5 = 0 ;
PyObject * obj6 = 0 ;
PyObject * obj7 = 0 ;
Gempa::CAPS::Encoder *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:EncoderFactory_create",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__EncoderFactory, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EncoderFactory_create" "', argument " "1"" of type '" "Gempa::CAPS::EncoderFactory *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::EncoderFactory * >(argp1);
{
std::string *ptr = (std::string *)0;
res2 = SWIG_AsPtr_std_string(obj1, &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "EncoderFactory_create" "', argument " "2"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "EncoderFactory_create" "', argument " "2"" of type '" "std::string const &""'");
}
arg2 = ptr;
}
{
std::string *ptr = (std::string *)0;
res3 = SWIG_AsPtr_std_string(obj2, &ptr);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "EncoderFactory_create" "', argument " "3"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "EncoderFactory_create" "', argument " "3"" of type '" "std::string const &""'");
}
arg3 = ptr;
}
{
std::string *ptr = (std::string *)0;
res4 = SWIG_AsPtr_std_string(obj3, &ptr);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "EncoderFactory_create" "', argument " "4"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "EncoderFactory_create" "', argument " "4"" of type '" "std::string const &""'");
}
arg4 = ptr;
}
{
std::string *ptr = (std::string *)0;
res5 = SWIG_AsPtr_std_string(obj4, &ptr);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "EncoderFactory_create" "', argument " "5"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "EncoderFactory_create" "', argument " "5"" of type '" "std::string const &""'");
}
arg5 = ptr;
}
ecode6 = SWIG_AsVal_int(obj5, &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "EncoderFactory_create" "', argument " "6"" of type '" "int""'");
}
arg6 = static_cast< int >(val6);
ecode7 = SWIG_AsVal_int(obj6, &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "EncoderFactory_create" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_int(obj7, &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "EncoderFactory_create" "', argument " "8"" of type '" "int""'");
}
arg8 = static_cast< int >(val8);
result = (Gempa::CAPS::Encoder *)(arg1)->create((std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5,arg6,arg7,arg8);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__Encoder, 0 | 0 );
if (SWIG_IsNewObj(res2)) delete arg2;
if (SWIG_IsNewObj(res3)) delete arg3;
if (SWIG_IsNewObj(res4)) delete arg4;
if (SWIG_IsNewObj(res5)) delete arg5;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
if (SWIG_IsNewObj(res3)) delete arg3;
if (SWIG_IsNewObj(res4)) delete arg4;
if (SWIG_IsNewObj(res5)) delete arg5;
return NULL;
}
SWIGINTERN PyObject *_wrap_EncoderFactory_supportsRecord(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::EncoderFactory *arg1 = (Gempa::CAPS::EncoderFactory *) 0 ;
Gempa::CAPS::DataRecord *arg2 = (Gempa::CAPS::DataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OO:EncoderFactory_supportsRecord",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__EncoderFactory, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EncoderFactory_supportsRecord" "', argument " "1"" of type '" "Gempa::CAPS::EncoderFactory *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::EncoderFactory * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Gempa__CAPS__DataRecord, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "EncoderFactory_supportsRecord" "', argument " "2"" of type '" "Gempa::CAPS::DataRecord *""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::DataRecord * >(argp2);
result = (bool)(arg1)->supportsRecord(arg2);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_EncoderFactory_errorString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::EncoderFactory *arg1 = (Gempa::CAPS::EncoderFactory *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
std::string *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:EncoderFactory_errorString",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__EncoderFactory, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EncoderFactory_errorString" "', argument " "1"" of type '" "Gempa::CAPS::EncoderFactory const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::EncoderFactory * >(argp1);
result = (std::string *) &((Gempa::CAPS::EncoderFactory const *)arg1)->errorString();
resultobj = SWIG_From_std_string(static_cast< std::string >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *EncoderFactory_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_Gempa__CAPS__EncoderFactory, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_MSEEDEncoderFactory_setRecordLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::MSEEDEncoderFactory *arg1 = (Gempa::CAPS::MSEEDEncoderFactory *) 0 ;
uint arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OO:MSEEDEncoderFactory_setRecordLength",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__MSEEDEncoderFactory, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MSEEDEncoderFactory_setRecordLength" "', argument " "1"" of type '" "Gempa::CAPS::MSEEDEncoderFactory *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::MSEEDEncoderFactory * >(argp1);
{
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_uint, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MSEEDEncoderFactory_setRecordLength" "', argument " "2"" of type '" "uint""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MSEEDEncoderFactory_setRecordLength" "', argument " "2"" of type '" "uint""'");
} else {
uint * temp = reinterpret_cast< uint * >(argp2);
arg2 = *temp;
if (SWIG_IsNewObj(res2)) delete temp;
}
}
result = (bool)(arg1)->setRecordLength(arg2);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_MSEEDEncoderFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::MSEEDEncoderFactory *arg1 = (Gempa::CAPS::MSEEDEncoderFactory *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:delete_MSEEDEncoderFactory",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__MSEEDEncoderFactory, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_MSEEDEncoderFactory" "', argument " "1"" of type '" "Gempa::CAPS::MSEEDEncoderFactory *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::MSEEDEncoderFactory * >(argp1);
delete arg1;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *MSEEDEncoderFactory_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_Gempa__CAPS__MSEEDEncoderFactory, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_SteimEncoderFactory_supportsRecord(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::SteimEncoderFactory *arg1 = (Gempa::CAPS::SteimEncoderFactory *) 0 ;
Gempa::CAPS::DataRecord *arg2 = (Gempa::CAPS::DataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OO:SteimEncoderFactory_supportsRecord",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__SteimEncoderFactory, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SteimEncoderFactory_supportsRecord" "', argument " "1"" of type '" "Gempa::CAPS::SteimEncoderFactory *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::SteimEncoderFactory * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Gempa__CAPS__DataRecord, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SteimEncoderFactory_supportsRecord" "', argument " "2"" of type '" "Gempa::CAPS::DataRecord *""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::DataRecord * >(argp2);
result = (bool)(arg1)->supportsRecord(arg2);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_SteimEncoderFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::SteimEncoderFactory *arg1 = (Gempa::CAPS::SteimEncoderFactory *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:delete_SteimEncoderFactory",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__SteimEncoderFactory, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SteimEncoderFactory" "', argument " "1"" of type '" "Gempa::CAPS::SteimEncoderFactory *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::SteimEncoderFactory * >(argp1);
delete arg1;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *SteimEncoderFactory_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_Gempa__CAPS__SteimEncoderFactory, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_IdentityEncoderFactory_create(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::IdentityEncoderFactory *arg1 = (Gempa::CAPS::IdentityEncoderFactory *) 0 ;
std::string *arg2 = 0 ;
std::string *arg3 = 0 ;
std::string *arg4 = 0 ;
std::string *arg5 = 0 ;
int arg6 ;
int arg7 ;
int arg8 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
int res3 = SWIG_OLDOBJ ;
int res4 = SWIG_OLDOBJ ;
int res5 = SWIG_OLDOBJ ;
int val6 ;
int ecode6 = 0 ;
int val7 ;
int ecode7 = 0 ;
int val8 ;
int ecode8 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
PyObject * obj5 = 0 ;
PyObject * obj6 = 0 ;
PyObject * obj7 = 0 ;
Gempa::CAPS::Encoder *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:IdentityEncoderFactory_create",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__IdentityEncoderFactory, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IdentityEncoderFactory_create" "', argument " "1"" of type '" "Gempa::CAPS::IdentityEncoderFactory *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::IdentityEncoderFactory * >(argp1);
{
std::string *ptr = (std::string *)0;
res2 = SWIG_AsPtr_std_string(obj1, &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IdentityEncoderFactory_create" "', argument " "2"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IdentityEncoderFactory_create" "', argument " "2"" of type '" "std::string const &""'");
}
arg2 = ptr;
}
{
std::string *ptr = (std::string *)0;
res3 = SWIG_AsPtr_std_string(obj2, &ptr);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "IdentityEncoderFactory_create" "', argument " "3"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IdentityEncoderFactory_create" "', argument " "3"" of type '" "std::string const &""'");
}
arg3 = ptr;
}
{
std::string *ptr = (std::string *)0;
res4 = SWIG_AsPtr_std_string(obj3, &ptr);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "IdentityEncoderFactory_create" "', argument " "4"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IdentityEncoderFactory_create" "', argument " "4"" of type '" "std::string const &""'");
}
arg4 = ptr;
}
{
std::string *ptr = (std::string *)0;
res5 = SWIG_AsPtr_std_string(obj4, &ptr);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "IdentityEncoderFactory_create" "', argument " "5"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IdentityEncoderFactory_create" "', argument " "5"" of type '" "std::string const &""'");
}
arg5 = ptr;
}
ecode6 = SWIG_AsVal_int(obj5, &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "IdentityEncoderFactory_create" "', argument " "6"" of type '" "int""'");
}
arg6 = static_cast< int >(val6);
ecode7 = SWIG_AsVal_int(obj6, &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "IdentityEncoderFactory_create" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_int(obj7, &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "IdentityEncoderFactory_create" "', argument " "8"" of type '" "int""'");
}
arg8 = static_cast< int >(val8);
result = (Gempa::CAPS::Encoder *)(arg1)->create((std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5,arg6,arg7,arg8);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__Encoder, 0 | 0 );
if (SWIG_IsNewObj(res2)) delete arg2;
if (SWIG_IsNewObj(res3)) delete arg3;
if (SWIG_IsNewObj(res4)) delete arg4;
if (SWIG_IsNewObj(res5)) delete arg5;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
if (SWIG_IsNewObj(res3)) delete arg3;
if (SWIG_IsNewObj(res4)) delete arg4;
if (SWIG_IsNewObj(res5)) delete arg5;
return NULL;
}
SWIGINTERN PyObject *_wrap_IdentityEncoderFactory_supportsRecord(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::IdentityEncoderFactory *arg1 = (Gempa::CAPS::IdentityEncoderFactory *) 0 ;
Gempa::CAPS::DataRecord *arg2 = (Gempa::CAPS::DataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OO:IdentityEncoderFactory_supportsRecord",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__IdentityEncoderFactory, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IdentityEncoderFactory_supportsRecord" "', argument " "1"" of type '" "Gempa::CAPS::IdentityEncoderFactory *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::IdentityEncoderFactory * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Gempa__CAPS__DataRecord, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IdentityEncoderFactory_supportsRecord" "', argument " "2"" of type '" "Gempa::CAPS::DataRecord *""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::DataRecord * >(argp2);
result = (bool)(arg1)->supportsRecord(arg2);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_IdentityEncoderFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::IdentityEncoderFactory *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)":new_IdentityEncoderFactory")) SWIG_fail;
result = (Gempa::CAPS::IdentityEncoderFactory *)new Gempa::CAPS::IdentityEncoderFactory();
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__IdentityEncoderFactory, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_IdentityEncoderFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::IdentityEncoderFactory *arg1 = (Gempa::CAPS::IdentityEncoderFactory *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:delete_IdentityEncoderFactory",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__IdentityEncoderFactory, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_IdentityEncoderFactory" "', argument " "1"" of type '" "Gempa::CAPS::IdentityEncoderFactory *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::IdentityEncoderFactory * >(argp1);
delete arg1;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *IdentityEncoderFactory_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_Gempa__CAPS__IdentityEncoderFactory, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_Steim1EncoderFactory_create(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Steim1EncoderFactory *arg1 = (Gempa::CAPS::Steim1EncoderFactory *) 0 ;
std::string *arg2 = 0 ;
std::string *arg3 = 0 ;
std::string *arg4 = 0 ;
std::string *arg5 = 0 ;
int arg6 ;
int arg7 ;
int arg8 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
int res3 = SWIG_OLDOBJ ;
int res4 = SWIG_OLDOBJ ;
int res5 = SWIG_OLDOBJ ;
int val6 ;
int ecode6 = 0 ;
int val7 ;
int ecode7 = 0 ;
int val8 ;
int ecode8 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
PyObject * obj5 = 0 ;
PyObject * obj6 = 0 ;
PyObject * obj7 = 0 ;
Gempa::CAPS::Encoder *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:Steim1EncoderFactory_create",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Steim1EncoderFactory, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Steim1EncoderFactory_create" "', argument " "1"" of type '" "Gempa::CAPS::Steim1EncoderFactory *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Steim1EncoderFactory * >(argp1);
{
std::string *ptr = (std::string *)0;
res2 = SWIG_AsPtr_std_string(obj1, &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Steim1EncoderFactory_create" "', argument " "2"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Steim1EncoderFactory_create" "', argument " "2"" of type '" "std::string const &""'");
}
arg2 = ptr;
}
{
std::string *ptr = (std::string *)0;
res3 = SWIG_AsPtr_std_string(obj2, &ptr);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Steim1EncoderFactory_create" "', argument " "3"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Steim1EncoderFactory_create" "', argument " "3"" of type '" "std::string const &""'");
}
arg3 = ptr;
}
{
std::string *ptr = (std::string *)0;
res4 = SWIG_AsPtr_std_string(obj3, &ptr);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Steim1EncoderFactory_create" "', argument " "4"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Steim1EncoderFactory_create" "', argument " "4"" of type '" "std::string const &""'");
}
arg4 = ptr;
}
{
std::string *ptr = (std::string *)0;
res5 = SWIG_AsPtr_std_string(obj4, &ptr);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "Steim1EncoderFactory_create" "', argument " "5"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Steim1EncoderFactory_create" "', argument " "5"" of type '" "std::string const &""'");
}
arg5 = ptr;
}
ecode6 = SWIG_AsVal_int(obj5, &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Steim1EncoderFactory_create" "', argument " "6"" of type '" "int""'");
}
arg6 = static_cast< int >(val6);
ecode7 = SWIG_AsVal_int(obj6, &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Steim1EncoderFactory_create" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_int(obj7, &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "Steim1EncoderFactory_create" "', argument " "8"" of type '" "int""'");
}
arg8 = static_cast< int >(val8);
result = (Gempa::CAPS::Encoder *)(arg1)->create((std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5,arg6,arg7,arg8);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__Encoder, 0 | 0 );
if (SWIG_IsNewObj(res2)) delete arg2;
if (SWIG_IsNewObj(res3)) delete arg3;
if (SWIG_IsNewObj(res4)) delete arg4;
if (SWIG_IsNewObj(res5)) delete arg5;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
if (SWIG_IsNewObj(res3)) delete arg3;
if (SWIG_IsNewObj(res4)) delete arg4;
if (SWIG_IsNewObj(res5)) delete arg5;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Steim1EncoderFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Steim1EncoderFactory *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)":new_Steim1EncoderFactory")) SWIG_fail;
result = (Gempa::CAPS::Steim1EncoderFactory *)new Gempa::CAPS::Steim1EncoderFactory();
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__Steim1EncoderFactory, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Steim1EncoderFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Steim1EncoderFactory *arg1 = (Gempa::CAPS::Steim1EncoderFactory *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:delete_Steim1EncoderFactory",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Steim1EncoderFactory, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Steim1EncoderFactory" "', argument " "1"" of type '" "Gempa::CAPS::Steim1EncoderFactory *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Steim1EncoderFactory * >(argp1);
delete arg1;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *Steim1EncoderFactory_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_Gempa__CAPS__Steim1EncoderFactory, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_Steim2EncoderFactory_create(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Steim2EncoderFactory *arg1 = (Gempa::CAPS::Steim2EncoderFactory *) 0 ;
std::string *arg2 = 0 ;
std::string *arg3 = 0 ;
std::string *arg4 = 0 ;
std::string *arg5 = 0 ;
int arg6 ;
int arg7 ;
int arg8 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
int res3 = SWIG_OLDOBJ ;
int res4 = SWIG_OLDOBJ ;
int res5 = SWIG_OLDOBJ ;
int val6 ;
int ecode6 = 0 ;
int val7 ;
int ecode7 = 0 ;
int val8 ;
int ecode8 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
PyObject * obj5 = 0 ;
PyObject * obj6 = 0 ;
PyObject * obj7 = 0 ;
Gempa::CAPS::Encoder *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:Steim2EncoderFactory_create",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Steim2EncoderFactory, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Steim2EncoderFactory_create" "', argument " "1"" of type '" "Gempa::CAPS::Steim2EncoderFactory *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Steim2EncoderFactory * >(argp1);
{
std::string *ptr = (std::string *)0;
res2 = SWIG_AsPtr_std_string(obj1, &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Steim2EncoderFactory_create" "', argument " "2"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Steim2EncoderFactory_create" "', argument " "2"" of type '" "std::string const &""'");
}
arg2 = ptr;
}
{
std::string *ptr = (std::string *)0;
res3 = SWIG_AsPtr_std_string(obj2, &ptr);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Steim2EncoderFactory_create" "', argument " "3"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Steim2EncoderFactory_create" "', argument " "3"" of type '" "std::string const &""'");
}
arg3 = ptr;
}
{
std::string *ptr = (std::string *)0;
res4 = SWIG_AsPtr_std_string(obj3, &ptr);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Steim2EncoderFactory_create" "', argument " "4"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Steim2EncoderFactory_create" "', argument " "4"" of type '" "std::string const &""'");
}
arg4 = ptr;
}
{
std::string *ptr = (std::string *)0;
res5 = SWIG_AsPtr_std_string(obj4, &ptr);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "Steim2EncoderFactory_create" "', argument " "5"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Steim2EncoderFactory_create" "', argument " "5"" of type '" "std::string const &""'");
}
arg5 = ptr;
}
ecode6 = SWIG_AsVal_int(obj5, &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Steim2EncoderFactory_create" "', argument " "6"" of type '" "int""'");
}
arg6 = static_cast< int >(val6);
ecode7 = SWIG_AsVal_int(obj6, &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Steim2EncoderFactory_create" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_int(obj7, &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "Steim2EncoderFactory_create" "', argument " "8"" of type '" "int""'");
}
arg8 = static_cast< int >(val8);
result = (Gempa::CAPS::Encoder *)(arg1)->create((std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5,arg6,arg7,arg8);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__Encoder, 0 | 0 );
if (SWIG_IsNewObj(res2)) delete arg2;
if (SWIG_IsNewObj(res3)) delete arg3;
if (SWIG_IsNewObj(res4)) delete arg4;
if (SWIG_IsNewObj(res5)) delete arg5;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
if (SWIG_IsNewObj(res3)) delete arg3;
if (SWIG_IsNewObj(res4)) delete arg4;
if (SWIG_IsNewObj(res5)) delete arg5;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Steim2EncoderFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Steim2EncoderFactory *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)":new_Steim2EncoderFactory")) SWIG_fail;
result = (Gempa::CAPS::Steim2EncoderFactory *)new Gempa::CAPS::Steim2EncoderFactory();
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__Steim2EncoderFactory, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Steim2EncoderFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Steim2EncoderFactory *arg1 = (Gempa::CAPS::Steim2EncoderFactory *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:delete_Steim2EncoderFactory",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Steim2EncoderFactory, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Steim2EncoderFactory" "', argument " "1"" of type '" "Gempa::CAPS::Steim2EncoderFactory *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Steim2EncoderFactory * >(argp1);
delete arg1;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *Steim2EncoderFactory_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_Gempa__CAPS__Steim2EncoderFactory, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_MSEEDDataRecord_formatName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::MSEEDDataRecord *arg1 = (Gempa::CAPS::MSEEDDataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
char *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:MSEEDDataRecord_formatName",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__MSEEDDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MSEEDDataRecord_formatName" "', argument " "1"" of type '" "Gempa::CAPS::MSEEDDataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::MSEEDDataRecord * >(argp1);
result = (char *)((Gempa::CAPS::MSEEDDataRecord const *)arg1)->formatName();
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_MSEEDDataRecord_readMetaData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::MSEEDDataRecord *arg1 = (Gempa::CAPS::MSEEDDataRecord *) 0 ;
std::streambuf *arg2 = 0 ;
int arg3 ;
Gempa::CAPS::DataRecord::Header *arg4 = 0 ;
Gempa::CAPS::Time *arg5 = 0 ;
Gempa::CAPS::Time *arg6 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
int val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
PyObject * obj5 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OOOOOO:MSEEDDataRecord_readMetaData",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__MSEEDDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MSEEDDataRecord_readMetaData" "', argument " "1"" of type '" "Gempa::CAPS::MSEEDDataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::MSEEDDataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MSEEDDataRecord_readMetaData" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MSEEDDataRecord_readMetaData" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MSEEDDataRecord_readMetaData" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_Gempa__CAPS__DataRecord__Header, 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "MSEEDDataRecord_readMetaData" "', argument " "4"" of type '" "Gempa::CAPS::DataRecord::Header &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MSEEDDataRecord_readMetaData" "', argument " "4"" of type '" "Gempa::CAPS::DataRecord::Header &""'");
}
arg4 = reinterpret_cast< Gempa::CAPS::DataRecord::Header * >(argp4);
res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_Gempa__CAPS__Time, 0 );
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "MSEEDDataRecord_readMetaData" "', argument " "5"" of type '" "Gempa::CAPS::Time &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MSEEDDataRecord_readMetaData" "', argument " "5"" of type '" "Gempa::CAPS::Time &""'");
}
arg5 = reinterpret_cast< Gempa::CAPS::Time * >(argp5);
res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_Gempa__CAPS__Time, 0 );
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "MSEEDDataRecord_readMetaData" "', argument " "6"" of type '" "Gempa::CAPS::Time &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MSEEDDataRecord_readMetaData" "', argument " "6"" of type '" "Gempa::CAPS::Time &""'");
}
arg6 = reinterpret_cast< Gempa::CAPS::Time * >(argp6);
result = (bool)(arg1)->readMetaData(*arg2,arg3,*arg4,*arg5,*arg6);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_MSEEDDataRecord_header(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::MSEEDDataRecord *arg1 = (Gempa::CAPS::MSEEDDataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::DataRecord::Header *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:MSEEDDataRecord_header",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__MSEEDDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MSEEDDataRecord_header" "', argument " "1"" of type '" "Gempa::CAPS::MSEEDDataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::MSEEDDataRecord * >(argp1);
result = (Gempa::CAPS::DataRecord::Header *)((Gempa::CAPS::MSEEDDataRecord const *)arg1)->header();
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__DataRecord__Header, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_MSEEDDataRecord_startTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::MSEEDDataRecord *arg1 = (Gempa::CAPS::MSEEDDataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::Time result;
if (!PyArg_ParseTuple(args,(char *)"O:MSEEDDataRecord_startTime",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__MSEEDDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MSEEDDataRecord_startTime" "', argument " "1"" of type '" "Gempa::CAPS::MSEEDDataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::MSEEDDataRecord * >(argp1);
result = ((Gempa::CAPS::MSEEDDataRecord const *)arg1)->startTime();
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::Time(static_cast< const Gempa::CAPS::Time& >(result))), SWIGTYPE_p_Gempa__CAPS__Time, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_MSEEDDataRecord_endTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::MSEEDDataRecord *arg1 = (Gempa::CAPS::MSEEDDataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::Time result;
if (!PyArg_ParseTuple(args,(char *)"O:MSEEDDataRecord_endTime",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__MSEEDDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MSEEDDataRecord_endTime" "', argument " "1"" of type '" "Gempa::CAPS::MSEEDDataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::MSEEDDataRecord * >(argp1);
result = ((Gempa::CAPS::MSEEDDataRecord const *)arg1)->endTime();
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::Time(static_cast< const Gempa::CAPS::Time& >(result))), SWIGTYPE_p_Gempa__CAPS__Time, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_MSEEDDataRecord_canTrim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::MSEEDDataRecord *arg1 = (Gempa::CAPS::MSEEDDataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"O:MSEEDDataRecord_canTrim",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__MSEEDDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MSEEDDataRecord_canTrim" "', argument " "1"" of type '" "Gempa::CAPS::MSEEDDataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::MSEEDDataRecord * >(argp1);
result = (bool)((Gempa::CAPS::MSEEDDataRecord const *)arg1)->canTrim();
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_MSEEDDataRecord_canMerge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::MSEEDDataRecord *arg1 = (Gempa::CAPS::MSEEDDataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"O:MSEEDDataRecord_canMerge",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__MSEEDDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MSEEDDataRecord_canMerge" "', argument " "1"" of type '" "Gempa::CAPS::MSEEDDataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::MSEEDDataRecord * >(argp1);
result = (bool)((Gempa::CAPS::MSEEDDataRecord const *)arg1)->canMerge();
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_MSEEDDataRecord_trim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::MSEEDDataRecord *arg1 = (Gempa::CAPS::MSEEDDataRecord *) 0 ;
Gempa::CAPS::Time *arg2 = 0 ;
Gempa::CAPS::Time *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OOO:MSEEDDataRecord_trim",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__MSEEDDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MSEEDDataRecord_trim" "', argument " "1"" of type '" "Gempa::CAPS::MSEEDDataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::MSEEDDataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MSEEDDataRecord_trim" "', argument " "2"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MSEEDDataRecord_trim" "', argument " "2"" of type '" "Gempa::CAPS::Time const &""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::Time * >(argp2);
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "MSEEDDataRecord_trim" "', argument " "3"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MSEEDDataRecord_trim" "', argument " "3"" of type '" "Gempa::CAPS::Time const &""'");
}
arg3 = reinterpret_cast< Gempa::CAPS::Time * >(argp3);
result = (bool)((Gempa::CAPS::MSEEDDataRecord const *)arg1)->trim((Gempa::CAPS::Time const &)*arg2,(Gempa::CAPS::Time const &)*arg3);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_MSEEDDataRecord_dataSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::MSEEDDataRecord *arg1 = (Gempa::CAPS::MSEEDDataRecord *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
size_t result;
if (!PyArg_ParseTuple(args,(char *)"OO:MSEEDDataRecord_dataSize",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__MSEEDDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MSEEDDataRecord_dataSize" "', argument " "1"" of type '" "Gempa::CAPS::MSEEDDataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::MSEEDDataRecord * >(argp1);
ecode2 = SWIG_AsVal_bool(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MSEEDDataRecord_dataSize" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
result = ((Gempa::CAPS::MSEEDDataRecord const *)arg1)->dataSize(arg2);
resultobj = SWIG_From_size_t(static_cast< size_t >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_MSEEDDataRecord_get__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::MSEEDDataRecord *arg1 = (Gempa::CAPS::MSEEDDataRecord *) 0 ;
std::streambuf *arg2 = 0 ;
int arg3 ;
Gempa::CAPS::Time *arg4 = 0 ;
Gempa::CAPS::Time *arg5 = 0 ;
int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
int val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
int val6 ;
int ecode6 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
PyObject * obj5 = 0 ;
Gempa::CAPS::DataRecord::ReadStatus result;
if (!PyArg_ParseTuple(args,(char *)"OOOOOO:MSEEDDataRecord_get",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__MSEEDDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MSEEDDataRecord_get" "', argument " "1"" of type '" "Gempa::CAPS::MSEEDDataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::MSEEDDataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MSEEDDataRecord_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MSEEDDataRecord_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MSEEDDataRecord_get" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "MSEEDDataRecord_get" "', argument " "4"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MSEEDDataRecord_get" "', argument " "4"" of type '" "Gempa::CAPS::Time const &""'");
}
arg4 = reinterpret_cast< Gempa::CAPS::Time * >(argp4);
res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "MSEEDDataRecord_get" "', argument " "5"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MSEEDDataRecord_get" "', argument " "5"" of type '" "Gempa::CAPS::Time const &""'");
}
arg5 = reinterpret_cast< Gempa::CAPS::Time * >(argp5);
ecode6 = SWIG_AsVal_int(obj5, &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "MSEEDDataRecord_get" "', argument " "6"" of type '" "int""'");
}
arg6 = static_cast< int >(val6);
result = (arg1)->get(*arg2,arg3,(Gempa::CAPS::Time const &)*arg4,(Gempa::CAPS::Time const &)*arg5,arg6);
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::DataRecord::ReadStatus(static_cast< const Gempa::CAPS::DataRecord::ReadStatus& >(result))), SWIGTYPE_p_Gempa__CAPS__DataRecord__ReadStatus, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_MSEEDDataRecord_get__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::MSEEDDataRecord *arg1 = (Gempa::CAPS::MSEEDDataRecord *) 0 ;
std::streambuf *arg2 = 0 ;
int arg3 ;
Gempa::CAPS::Time *arg4 = 0 ;
Gempa::CAPS::Time *arg5 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
int val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
Gempa::CAPS::DataRecord::ReadStatus result;
if (!PyArg_ParseTuple(args,(char *)"OOOOO:MSEEDDataRecord_get",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__MSEEDDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MSEEDDataRecord_get" "', argument " "1"" of type '" "Gempa::CAPS::MSEEDDataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::MSEEDDataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MSEEDDataRecord_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MSEEDDataRecord_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MSEEDDataRecord_get" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "MSEEDDataRecord_get" "', argument " "4"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MSEEDDataRecord_get" "', argument " "4"" of type '" "Gempa::CAPS::Time const &""'");
}
arg4 = reinterpret_cast< Gempa::CAPS::Time * >(argp4);
res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "MSEEDDataRecord_get" "', argument " "5"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MSEEDDataRecord_get" "', argument " "5"" of type '" "Gempa::CAPS::Time const &""'");
}
arg5 = reinterpret_cast< Gempa::CAPS::Time * >(argp5);
result = (arg1)->get(*arg2,arg3,(Gempa::CAPS::Time const &)*arg4,(Gempa::CAPS::Time const &)*arg5);
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::DataRecord::ReadStatus(static_cast< const Gempa::CAPS::DataRecord::ReadStatus& >(result))), SWIGTYPE_p_Gempa__CAPS__DataRecord__ReadStatus, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_MSEEDDataRecord_get__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::MSEEDDataRecord *arg1 = (Gempa::CAPS::MSEEDDataRecord *) 0 ;
std::streambuf *arg2 = 0 ;
int arg3 ;
Gempa::CAPS::Time *arg4 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
int val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
Gempa::CAPS::DataRecord::ReadStatus result;
if (!PyArg_ParseTuple(args,(char *)"OOOO:MSEEDDataRecord_get",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__MSEEDDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MSEEDDataRecord_get" "', argument " "1"" of type '" "Gempa::CAPS::MSEEDDataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::MSEEDDataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MSEEDDataRecord_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MSEEDDataRecord_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MSEEDDataRecord_get" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "MSEEDDataRecord_get" "', argument " "4"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MSEEDDataRecord_get" "', argument " "4"" of type '" "Gempa::CAPS::Time const &""'");
}
arg4 = reinterpret_cast< Gempa::CAPS::Time * >(argp4);
result = (arg1)->get(*arg2,arg3,(Gempa::CAPS::Time const &)*arg4);
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::DataRecord::ReadStatus(static_cast< const Gempa::CAPS::DataRecord::ReadStatus& >(result))), SWIGTYPE_p_Gempa__CAPS__DataRecord__ReadStatus, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_MSEEDDataRecord_get__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::MSEEDDataRecord *arg1 = (Gempa::CAPS::MSEEDDataRecord *) 0 ;
std::streambuf *arg2 = 0 ;
int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
int val3 ;
int ecode3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
Gempa::CAPS::DataRecord::ReadStatus result;
if (!PyArg_ParseTuple(args,(char *)"OOO:MSEEDDataRecord_get",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__MSEEDDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MSEEDDataRecord_get" "', argument " "1"" of type '" "Gempa::CAPS::MSEEDDataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::MSEEDDataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MSEEDDataRecord_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MSEEDDataRecord_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MSEEDDataRecord_get" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
result = (arg1)->get(*arg2,arg3);
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::DataRecord::ReadStatus(static_cast< const Gempa::CAPS::DataRecord::ReadStatus& >(result))), SWIGTYPE_p_Gempa__CAPS__DataRecord__ReadStatus, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_MSEEDDataRecord_get(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[7] = {
0
};
Py_ssize_t ii;
if (!PyTuple_Check(args)) SWIG_fail;
argc = args ? PyObject_Length(args) : 0;
for (ii = 0; (ii < 6) && (ii < argc); ii++) {
argv[ii] = PyTuple_GET_ITEM(args,ii);
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__MSEEDDataRecord, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__streambuf, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_MSEEDDataRecord_get__SWIG_3(self, args);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__MSEEDDataRecord, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__streambuf, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_MSEEDDataRecord_get__SWIG_2(self, args);
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__MSEEDDataRecord, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__streambuf, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_MSEEDDataRecord_get__SWIG_1(self, args);
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__MSEEDDataRecord, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__streambuf, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_MSEEDDataRecord_get__SWIG_0(self, args);
}
}
}
}
}
}
}
fail:
SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'MSEEDDataRecord_get'.\n"
" Possible C/C++ prototypes are:\n"
" Gempa::CAPS::MSEEDDataRecord::get(std::streambuf &,int,Gempa::CAPS::Time const &,Gempa::CAPS::Time const &,int)\n"
" Gempa::CAPS::MSEEDDataRecord::get(std::streambuf &,int,Gempa::CAPS::Time const &,Gempa::CAPS::Time const &)\n"
" Gempa::CAPS::MSEEDDataRecord::get(std::streambuf &,int,Gempa::CAPS::Time const &)\n"
" Gempa::CAPS::MSEEDDataRecord::get(std::streambuf &,int)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_MSEEDDataRecord_put(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::MSEEDDataRecord *arg1 = (Gempa::CAPS::MSEEDDataRecord *) 0 ;
std::streambuf *arg2 = 0 ;
bool arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OOO:MSEEDDataRecord_put",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__MSEEDDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MSEEDDataRecord_put" "', argument " "1"" of type '" "Gempa::CAPS::MSEEDDataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::MSEEDDataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MSEEDDataRecord_put" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MSEEDDataRecord_put" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
ecode3 = SWIG_AsVal_bool(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MSEEDDataRecord_put" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
result = (bool)((Gempa::CAPS::MSEEDDataRecord const *)arg1)->put(*arg2,arg3);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_MSEEDDataRecord_packetType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::MSEEDDataRecord *arg1 = (Gempa::CAPS::MSEEDDataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::PacketType result;
if (!PyArg_ParseTuple(args,(char *)"O:MSEEDDataRecord_packetType",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__MSEEDDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MSEEDDataRecord_packetType" "', argument " "1"" of type '" "Gempa::CAPS::MSEEDDataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::MSEEDDataRecord * >(argp1);
result = (Gempa::CAPS::PacketType)((Gempa::CAPS::MSEEDDataRecord const *)arg1)->packetType();
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_MSEEDDataRecord_setData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::MSEEDDataRecord *arg1 = (Gempa::CAPS::MSEEDDataRecord *) 0 ;
void *arg2 = (void *) 0 ;
size_t arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
size_t val3 ;
int ecode3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OOO:MSEEDDataRecord_setData",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__MSEEDDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MSEEDDataRecord_setData" "', argument " "1"" of type '" "Gempa::CAPS::MSEEDDataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::MSEEDDataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MSEEDDataRecord_setData" "', argument " "2"" of type '" "void const *""'");
}
ecode3 = SWIG_AsVal_size_t(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MSEEDDataRecord_setData" "', argument " "3"" of type '" "size_t""'");
}
arg3 = static_cast< size_t >(val3);
(arg1)->setData((void const *)arg2,arg3);
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_MSEEDDataRecord_unpackHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::MSEEDDataRecord *arg1 = (Gempa::CAPS::MSEEDDataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:MSEEDDataRecord_unpackHeader",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__MSEEDDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MSEEDDataRecord_unpackHeader" "', argument " "1"" of type '" "Gempa::CAPS::MSEEDDataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::MSEEDDataRecord * >(argp1);
(arg1)->unpackHeader();
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_MSEEDDataRecord(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::MSEEDDataRecord *arg1 = (Gempa::CAPS::MSEEDDataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:delete_MSEEDDataRecord",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__MSEEDDataRecord, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_MSEEDDataRecord" "', argument " "1"" of type '" "Gempa::CAPS::MSEEDDataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::MSEEDDataRecord * >(argp1);
delete arg1;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *MSEEDDataRecord_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_Gempa__CAPS__MSEEDDataRecord, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_new_Plugin__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::string *arg1 = 0 ;
std::string *arg2 = 0 ;
std::string *arg3 = 0 ;
int res1 = SWIG_OLDOBJ ;
int res2 = SWIG_OLDOBJ ;
int res3 = SWIG_OLDOBJ ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
Gempa::CAPS::Plugin *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OOO:new_Plugin",&obj0,&obj1,&obj2)) SWIG_fail;
{
std::string *ptr = (std::string *)0;
res1 = SWIG_AsPtr_std_string(obj0, &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Plugin" "', argument " "1"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Plugin" "', argument " "1"" of type '" "std::string const &""'");
}
arg1 = ptr;
}
{
std::string *ptr = (std::string *)0;
res2 = SWIG_AsPtr_std_string(obj1, &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Plugin" "', argument " "2"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Plugin" "', argument " "2"" of type '" "std::string const &""'");
}
arg2 = ptr;
}
{
std::string *ptr = (std::string *)0;
res3 = SWIG_AsPtr_std_string(obj2, &ptr);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Plugin" "', argument " "3"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Plugin" "', argument " "3"" of type '" "std::string const &""'");
}
arg3 = ptr;
}
result = (Gempa::CAPS::Plugin *)new Gempa::CAPS::Plugin((std::string const &)*arg1,(std::string const &)*arg2,(std::string const &)*arg3);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__Plugin, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
if (SWIG_IsNewObj(res2)) delete arg2;
if (SWIG_IsNewObj(res3)) delete arg3;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
if (SWIG_IsNewObj(res2)) delete arg2;
if (SWIG_IsNewObj(res3)) delete arg3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Plugin__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::string *arg1 = 0 ;
std::string *arg2 = 0 ;
int res1 = SWIG_OLDOBJ ;
int res2 = SWIG_OLDOBJ ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
Gempa::CAPS::Plugin *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:new_Plugin",&obj0,&obj1)) SWIG_fail;
{
std::string *ptr = (std::string *)0;
res1 = SWIG_AsPtr_std_string(obj0, &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Plugin" "', argument " "1"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Plugin" "', argument " "1"" of type '" "std::string const &""'");
}
arg1 = ptr;
}
{
std::string *ptr = (std::string *)0;
res2 = SWIG_AsPtr_std_string(obj1, &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Plugin" "', argument " "2"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Plugin" "', argument " "2"" of type '" "std::string const &""'");
}
arg2 = ptr;
}
result = (Gempa::CAPS::Plugin *)new Gempa::CAPS::Plugin((std::string const &)*arg1,(std::string const &)*arg2);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__Plugin, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
if (SWIG_IsNewObj(res2)) delete arg2;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
if (SWIG_IsNewObj(res2)) delete arg2;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Plugin__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::string *arg1 = 0 ;
int res1 = SWIG_OLDOBJ ;
PyObject * obj0 = 0 ;
Gempa::CAPS::Plugin *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:new_Plugin",&obj0)) SWIG_fail;
{
std::string *ptr = (std::string *)0;
res1 = SWIG_AsPtr_std_string(obj0, &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Plugin" "', argument " "1"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Plugin" "', argument " "1"" of type '" "std::string const &""'");
}
arg1 = ptr;
}
result = (Gempa::CAPS::Plugin *)new Gempa::CAPS::Plugin((std::string const &)*arg1);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__Plugin, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Plugin(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
Py_ssize_t ii;
if (!PyTuple_Check(args)) SWIG_fail;
argc = args ? PyObject_Length(args) : 0;
for (ii = 0; (ii < 3) && (ii < argc); ii++) {
argv[ii] = PyTuple_GET_ITEM(args,ii);
}
if (argc == 1) {
int _v;
int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Plugin__SWIG_2(self, args);
}
}
if (argc == 2) {
int _v;
int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Plugin__SWIG_1(self, args);
}
}
}
if (argc == 3) {
int _v;
int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Plugin__SWIG_0(self, args);
}
}
}
}
fail:
SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_Plugin'.\n"
" Possible C/C++ prototypes are:\n"
" Gempa::CAPS::Plugin::Plugin(std::string const &,std::string const &,std::string const &)\n"
" Gempa::CAPS::Plugin::Plugin(std::string const &,std::string const &)\n"
" Gempa::CAPS::Plugin::Plugin(std::string const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_Plugin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Plugin *arg1 = (Gempa::CAPS::Plugin *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:delete_Plugin",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Plugin, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Plugin" "', argument " "1"" of type '" "Gempa::CAPS::Plugin *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Plugin * >(argp1);
delete arg1;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Plugin_close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Plugin *arg1 = (Gempa::CAPS::Plugin *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:Plugin_close",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Plugin, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plugin_close" "', argument " "1"" of type '" "Gempa::CAPS::Plugin *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Plugin * >(argp1);
(arg1)->close();
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Plugin_quit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Plugin *arg1 = (Gempa::CAPS::Plugin *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:Plugin_quit",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Plugin, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plugin_quit" "', argument " "1"" of type '" "Gempa::CAPS::Plugin *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Plugin * >(argp1);
(arg1)->quit();
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Plugin_enableLogging(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Plugin *arg1 = (Gempa::CAPS::Plugin *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:Plugin_enableLogging",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Plugin, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plugin_enableLogging" "', argument " "1"" of type '" "Gempa::CAPS::Plugin *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Plugin * >(argp1);
(arg1)->enableLogging();
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Plugin_setBackfillingBufferSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Plugin *arg1 = (Gempa::CAPS::Plugin *) 0 ;
int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
int val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:Plugin_setBackfillingBufferSize",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Plugin, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plugin_setBackfillingBufferSize" "', argument " "1"" of type '" "Gempa::CAPS::Plugin *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Plugin * >(argp1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Plugin_setBackfillingBufferSize" "', argument " "2"" of type '" "int""'");
}
arg2 = static_cast< int >(val2);
(arg1)->setBackfillingBufferSize(arg2);
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Plugin_backfillingBufferSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Plugin *arg1 = (Gempa::CAPS::Plugin *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
int result;
if (!PyArg_ParseTuple(args,(char *)"O:Plugin_backfillingBufferSize",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Plugin, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plugin_backfillingBufferSize" "', argument " "1"" of type '" "Gempa::CAPS::Plugin const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Plugin * >(argp1);
result = (int)((Gempa::CAPS::Plugin const *)arg1)->backfillingBufferSize();
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Plugin_isExitRequested(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Plugin *arg1 = (Gempa::CAPS::Plugin *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"O:Plugin_isExitRequested",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Plugin, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plugin_isExitRequested" "', argument " "1"" of type '" "Gempa::CAPS::Plugin *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Plugin * >(argp1);
result = (bool)(arg1)->isExitRequested();
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Plugin_stats(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Plugin *arg1 = (Gempa::CAPS::Plugin *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::Plugin::Stats *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:Plugin_stats",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Plugin, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plugin_stats" "', argument " "1"" of type '" "Gempa::CAPS::Plugin const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Plugin * >(argp1);
result = (Gempa::CAPS::Plugin::Stats *) &((Gempa::CAPS::Plugin const *)arg1)->stats();
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__Plugin__Stats, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Plugin_resetMaxBytesBuffered(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Plugin *arg1 = (Gempa::CAPS::Plugin *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:Plugin_resetMaxBytesBuffered",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Plugin, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plugin_resetMaxBytesBuffered" "', argument " "1"" of type '" "Gempa::CAPS::Plugin *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Plugin * >(argp1);
(arg1)->resetMaxBytesBuffered();
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Plugin_setEncoderFactory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Plugin *arg1 = (Gempa::CAPS::Plugin *) 0 ;
Gempa::CAPS::EncoderFactory *arg2 = (Gempa::CAPS::EncoderFactory *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:Plugin_setEncoderFactory",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Plugin, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plugin_setEncoderFactory" "', argument " "1"" of type '" "Gempa::CAPS::Plugin *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Plugin * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Gempa__CAPS__EncoderFactory, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Plugin_setEncoderFactory" "', argument " "2"" of type '" "Gempa::CAPS::EncoderFactory *""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::EncoderFactory * >(argp2);
(arg1)->setEncoderFactory(arg2);
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Plugin_setHost(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Plugin *arg1 = (Gempa::CAPS::Plugin *) 0 ;
std::string *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:Plugin_setHost",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Plugin, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plugin_setHost" "', argument " "1"" of type '" "Gempa::CAPS::Plugin *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Plugin * >(argp1);
{
std::string *ptr = (std::string *)0;
res2 = SWIG_AsPtr_std_string(obj1, &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Plugin_setHost" "', argument " "2"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_setHost" "', argument " "2"" of type '" "std::string const &""'");
}
arg2 = ptr;
}
(arg1)->setHost((std::string const &)*arg2);
resultobj = SWIG_Py_Void();
if (SWIG_IsNewObj(res2)) delete arg2;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
return NULL;
}
SWIGINTERN PyObject *_wrap_Plugin_host(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Plugin *arg1 = (Gempa::CAPS::Plugin *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
std::string *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:Plugin_host",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Plugin, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plugin_host" "', argument " "1"" of type '" "Gempa::CAPS::Plugin const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Plugin * >(argp1);
result = (std::string *) &((Gempa::CAPS::Plugin const *)arg1)->host();
resultobj = SWIG_From_std_string(static_cast< std::string >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Plugin_setPort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Plugin *arg1 = (Gempa::CAPS::Plugin *) 0 ;
unsigned short arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned short val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:Plugin_setPort",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Plugin, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plugin_setPort" "', argument " "1"" of type '" "Gempa::CAPS::Plugin *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Plugin * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_short(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Plugin_setPort" "', argument " "2"" of type '" "unsigned short""'");
}
arg2 = static_cast< unsigned short >(val2);
(arg1)->setPort(arg2);
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Plugin_port(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Plugin *arg1 = (Gempa::CAPS::Plugin *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
unsigned short result;
if (!PyArg_ParseTuple(args,(char *)"O:Plugin_port",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Plugin, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plugin_port" "', argument " "1"" of type '" "Gempa::CAPS::Plugin const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Plugin * >(argp1);
result = (unsigned short)((Gempa::CAPS::Plugin const *)arg1)->port();
resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Plugin_setBufferSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Plugin *arg1 = (Gempa::CAPS::Plugin *) 0 ;
size_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
size_t val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:Plugin_setBufferSize",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Plugin, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plugin_setBufferSize" "', argument " "1"" of type '" "Gempa::CAPS::Plugin *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Plugin * >(argp1);
ecode2 = SWIG_AsVal_size_t(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Plugin_setBufferSize" "', argument " "2"" of type '" "size_t""'");
}
arg2 = static_cast< size_t >(val2);
(arg1)->setBufferSize(arg2);
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Plugin_bufferSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Plugin *arg1 = (Gempa::CAPS::Plugin *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
size_t result;
if (!PyArg_ParseTuple(args,(char *)"O:Plugin_bufferSize",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Plugin, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plugin_bufferSize" "', argument " "1"" of type '" "Gempa::CAPS::Plugin const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Plugin * >(argp1);
result = ((Gempa::CAPS::Plugin const *)arg1)->bufferSize();
resultobj = SWIG_From_size_t(static_cast< size_t >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Plugin_setSSLEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Plugin *arg1 = (Gempa::CAPS::Plugin *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:Plugin_setSSLEnabled",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Plugin, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plugin_setSSLEnabled" "', argument " "1"" of type '" "Gempa::CAPS::Plugin *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Plugin * >(argp1);
ecode2 = SWIG_AsVal_bool(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Plugin_setSSLEnabled" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
(arg1)->setSSLEnabled(arg2);
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Plugin_setCredentials(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Plugin *arg1 = (Gempa::CAPS::Plugin *) 0 ;
std::string *arg2 = 0 ;
std::string *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
int res3 = SWIG_OLDOBJ ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OOO:Plugin_setCredentials",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Plugin, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plugin_setCredentials" "', argument " "1"" of type '" "Gempa::CAPS::Plugin *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Plugin * >(argp1);
{
std::string *ptr = (std::string *)0;
res2 = SWIG_AsPtr_std_string(obj1, &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Plugin_setCredentials" "', argument " "2"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_setCredentials" "', argument " "2"" of type '" "std::string const &""'");
}
arg2 = ptr;
}
{
std::string *ptr = (std::string *)0;
res3 = SWIG_AsPtr_std_string(obj2, &ptr);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Plugin_setCredentials" "', argument " "3"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_setCredentials" "', argument " "3"" of type '" "std::string const &""'");
}
arg3 = ptr;
}
(arg1)->setCredentials((std::string const &)*arg2,(std::string const &)*arg3);
resultobj = SWIG_Py_Void();
if (SWIG_IsNewObj(res2)) delete arg2;
if (SWIG_IsNewObj(res3)) delete arg3;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
if (SWIG_IsNewObj(res3)) delete arg3;
return NULL;
}
SWIGINTERN PyObject *_wrap_Plugin_setMaxFutureEndTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Plugin *arg1 = (Gempa::CAPS::Plugin *) 0 ;
Gempa::CAPS::TimeSpan *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:Plugin_setMaxFutureEndTime",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Plugin, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plugin_setMaxFutureEndTime" "', argument " "1"" of type '" "Gempa::CAPS::Plugin *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Plugin * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Plugin_setMaxFutureEndTime" "', argument " "2"" of type '" "Gempa::CAPS::TimeSpan const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_setMaxFutureEndTime" "', argument " "2"" of type '" "Gempa::CAPS::TimeSpan const &""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::TimeSpan * >(argp2);
(arg1)->setMaxFutureEndTime((Gempa::CAPS::TimeSpan const &)*arg2);
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Plugin_setPacketAckFunc(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Plugin *arg1 = (Gempa::CAPS::Plugin *) 0 ;
Gempa::CAPS::Plugin::PacketAckFunc *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:Plugin_setPacketAckFunc",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Plugin, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plugin_setPacketAckFunc" "', argument " "1"" of type '" "Gempa::CAPS::Plugin *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Plugin * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_boost__functionT_void_fstd__string_const_R_Gempa__CAPS__Time_const_R_Gempa__CAPS__Time_const_RF_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Plugin_setPacketAckFunc" "', argument " "2"" of type '" "Gempa::CAPS::Plugin::PacketAckFunc const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_setPacketAckFunc" "', argument " "2"" of type '" "Gempa::CAPS::Plugin::PacketAckFunc const &""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::Plugin::PacketAckFunc * >(argp2);
(arg1)->setPacketAckFunc((Gempa::CAPS::Plugin::PacketAckFunc const &)*arg2);
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Plugin_setSendTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Plugin *arg1 = (Gempa::CAPS::Plugin *) 0 ;
int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
int val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:Plugin_setSendTimeout",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Plugin, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plugin_setSendTimeout" "', argument " "1"" of type '" "Gempa::CAPS::Plugin *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Plugin * >(argp1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Plugin_setSendTimeout" "', argument " "2"" of type '" "int""'");
}
arg2 = static_cast< int >(val2);
(arg1)->setSendTimeout(arg2);
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Plugin_setTimeouts__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Plugin *arg1 = (Gempa::CAPS::Plugin *) 0 ;
int arg2 ;
int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
int val2 ;
int ecode2 = 0 ;
int val3 ;
int ecode3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OOO:Plugin_setTimeouts",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Plugin, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plugin_setTimeouts" "', argument " "1"" of type '" "Gempa::CAPS::Plugin *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Plugin * >(argp1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Plugin_setTimeouts" "', argument " "2"" of type '" "int""'");
}
arg2 = static_cast< int >(val2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Plugin_setTimeouts" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
(arg1)->setTimeouts(arg2,arg3);
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Plugin_setTimeouts__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Plugin *arg1 = (Gempa::CAPS::Plugin *) 0 ;
int arg2 ;
int arg3 ;
int arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
int val2 ;
int ecode2 = 0 ;
int val3 ;
int ecode3 = 0 ;
int val4 ;
int ecode4 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OOOO:Plugin_setTimeouts",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Plugin, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plugin_setTimeouts" "', argument " "1"" of type '" "Gempa::CAPS::Plugin *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Plugin * >(argp1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Plugin_setTimeouts" "', argument " "2"" of type '" "int""'");
}
arg2 = static_cast< int >(val2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Plugin_setTimeouts" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
ecode4 = SWIG_AsVal_int(obj3, &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Plugin_setTimeouts" "', argument " "4"" of type '" "int""'");
}
arg4 = static_cast< int >(val4);
(arg1)->setTimeouts(arg2,arg3,arg4);
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Plugin_setTimeouts(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
Py_ssize_t ii;
if (!PyTuple_Check(args)) SWIG_fail;
argc = args ? PyObject_Length(args) : 0;
for (ii = 0; (ii < 4) && (ii < argc); ii++) {
argv[ii] = PyTuple_GET_ITEM(args,ii);
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__Plugin, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_Plugin_setTimeouts__SWIG_0(self, args);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__Plugin, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_Plugin_setTimeouts__SWIG_1(self, args);
}
}
}
}
}
fail:
SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Plugin_setTimeouts'.\n"
" Possible C/C++ prototypes are:\n"
" Gempa::CAPS::Plugin::setTimeouts(int,int)\n"
" Gempa::CAPS::Plugin::setTimeouts(int,int,int)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Plugin_readJournal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Plugin *arg1 = (Gempa::CAPS::Plugin *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"O:Plugin_readJournal",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Plugin, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plugin_readJournal" "', argument " "1"" of type '" "Gempa::CAPS::Plugin *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Plugin * >(argp1);
result = (bool)(arg1)->readJournal();
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Plugin_setJournal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Plugin *arg1 = (Gempa::CAPS::Plugin *) 0 ;
std::string *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:Plugin_setJournal",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Plugin, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plugin_setJournal" "', argument " "1"" of type '" "Gempa::CAPS::Plugin *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Plugin * >(argp1);
{
std::string *ptr = (std::string *)0;
res2 = SWIG_AsPtr_std_string(obj1, &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Plugin_setJournal" "', argument " "2"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_setJournal" "', argument " "2"" of type '" "std::string const &""'");
}
arg2 = ptr;
}
(arg1)->setJournal((std::string const &)*arg2);
resultobj = SWIG_Py_Void();
if (SWIG_IsNewObj(res2)) delete arg2;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
return NULL;
}
SWIGINTERN PyObject *_wrap_Plugin_setFlushInterval(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Plugin *arg1 = (Gempa::CAPS::Plugin *) 0 ;
int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
int val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:Plugin_setFlushInterval",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Plugin, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plugin_setFlushInterval" "', argument " "1"" of type '" "Gempa::CAPS::Plugin *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Plugin * >(argp1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Plugin_setFlushInterval" "', argument " "2"" of type '" "int""'");
}
arg2 = static_cast< int >(val2);
(arg1)->setFlushInterval(arg2);
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Plugin_streamStates(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Plugin *arg1 = (Gempa::CAPS::Plugin *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::Plugin::StreamStates *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:Plugin_streamStates",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Plugin, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plugin_streamStates" "', argument " "1"" of type '" "Gempa::CAPS::Plugin const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Plugin * >(argp1);
result = (Gempa::CAPS::Plugin::StreamStates *) &((Gempa::CAPS::Plugin const *)arg1)->streamStates();
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__mapT_std__string_Gempa__CAPS__Plugin__StreamState_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Plugin_writeJournal__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Plugin *arg1 = (Gempa::CAPS::Plugin *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"O:Plugin_writeJournal",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Plugin, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plugin_writeJournal" "', argument " "1"" of type '" "Gempa::CAPS::Plugin *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Plugin * >(argp1);
result = (bool)(arg1)->writeJournal();
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Plugin_writeJournal__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Plugin *arg1 = (Gempa::CAPS::Plugin *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OO:Plugin_writeJournal",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Plugin, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plugin_writeJournal" "', argument " "1"" of type '" "Gempa::CAPS::Plugin *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Plugin * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__ostream, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Plugin_writeJournal" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_writeJournal" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
result = (bool)(arg1)->writeJournal(*arg2);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Plugin_writeJournal(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
Py_ssize_t ii;
if (!PyTuple_Check(args)) SWIG_fail;
argc = args ? PyObject_Length(args) : 0;
for (ii = 0; (ii < 2) && (ii < argc); ii++) {
argv[ii] = PyTuple_GET_ITEM(args,ii);
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__Plugin, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Plugin_writeJournal__SWIG_0(self, args);
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__Plugin, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__ostream, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Plugin_writeJournal__SWIG_1(self, args);
}
}
}
fail:
SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Plugin_writeJournal'.\n"
" Possible C/C++ prototypes are:\n"
" Gempa::CAPS::Plugin::writeJournal()\n"
" Gempa::CAPS::Plugin::writeJournal(std::ostream &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Plugin_push__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Plugin *arg1 = (Gempa::CAPS::Plugin *) 0 ;
std::string *arg2 = 0 ;
std::string *arg3 = 0 ;
std::string *arg4 = 0 ;
std::string *arg5 = 0 ;
Gempa::CAPS::DataRecordPtr arg6 ;
std::string *arg7 = 0 ;
int arg8 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
int res3 = SWIG_OLDOBJ ;
int res4 = SWIG_OLDOBJ ;
int res5 = SWIG_OLDOBJ ;
void *argp6 ;
int res6 = 0 ;
int res7 = SWIG_OLDOBJ ;
int val8 ;
int ecode8 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
PyObject * obj5 = 0 ;
PyObject * obj6 = 0 ;
PyObject * obj7 = 0 ;
Gempa::CAPS::Plugin::Status result;
if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:Plugin_push",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Plugin, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plugin_push" "', argument " "1"" of type '" "Gempa::CAPS::Plugin *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Plugin * >(argp1);
{
std::string *ptr = (std::string *)0;
res2 = SWIG_AsPtr_std_string(obj1, &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Plugin_push" "', argument " "2"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "2"" of type '" "std::string const &""'");
}
arg2 = ptr;
}
{
std::string *ptr = (std::string *)0;
res3 = SWIG_AsPtr_std_string(obj2, &ptr);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Plugin_push" "', argument " "3"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "3"" of type '" "std::string const &""'");
}
arg3 = ptr;
}
{
std::string *ptr = (std::string *)0;
res4 = SWIG_AsPtr_std_string(obj3, &ptr);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Plugin_push" "', argument " "4"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "4"" of type '" "std::string const &""'");
}
arg4 = ptr;
}
{
std::string *ptr = (std::string *)0;
res5 = SWIG_AsPtr_std_string(obj4, &ptr);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "Plugin_push" "', argument " "5"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "5"" of type '" "std::string const &""'");
}
arg5 = ptr;
}
{
res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_boost__shared_ptrT_Gempa__CAPS__DataRecord_t, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "Plugin_push" "', argument " "6"" of type '" "Gempa::CAPS::DataRecordPtr""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "6"" of type '" "Gempa::CAPS::DataRecordPtr""'");
} else {
Gempa::CAPS::DataRecordPtr * temp = reinterpret_cast< Gempa::CAPS::DataRecordPtr * >(argp6);
arg6 = *temp;
if (SWIG_IsNewObj(res6)) delete temp;
}
}
{
std::string *ptr = (std::string *)0;
res7 = SWIG_AsPtr_std_string(obj6, &ptr);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "Plugin_push" "', argument " "7"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "7"" of type '" "std::string const &""'");
}
arg7 = ptr;
}
ecode8 = SWIG_AsVal_int(obj7, &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "Plugin_push" "', argument " "8"" of type '" "int""'");
}
arg8 = static_cast< int >(val8);
result = (Gempa::CAPS::Plugin::Status)(arg1)->push((std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5,arg6,(std::string const &)*arg7,arg8);
resultobj = SWIG_From_int(static_cast< int >(result));
if (SWIG_IsNewObj(res2)) delete arg2;
if (SWIG_IsNewObj(res3)) delete arg3;
if (SWIG_IsNewObj(res4)) delete arg4;
if (SWIG_IsNewObj(res5)) delete arg5;
if (SWIG_IsNewObj(res7)) delete arg7;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
if (SWIG_IsNewObj(res3)) delete arg3;
if (SWIG_IsNewObj(res4)) delete arg4;
if (SWIG_IsNewObj(res5)) delete arg5;
if (SWIG_IsNewObj(res7)) delete arg7;
return NULL;
}
SWIGINTERN PyObject *_wrap_Plugin_push__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Plugin *arg1 = (Gempa::CAPS::Plugin *) 0 ;
std::string *arg2 = 0 ;
std::string *arg3 = 0 ;
std::string *arg4 = 0 ;
std::string *arg5 = 0 ;
Gempa::CAPS::DataRecordPtr arg6 ;
std::string *arg7 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
int res3 = SWIG_OLDOBJ ;
int res4 = SWIG_OLDOBJ ;
int res5 = SWIG_OLDOBJ ;
void *argp6 ;
int res6 = 0 ;
int res7 = SWIG_OLDOBJ ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
PyObject * obj5 = 0 ;
PyObject * obj6 = 0 ;
Gempa::CAPS::Plugin::Status result;
if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:Plugin_push",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Plugin, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plugin_push" "', argument " "1"" of type '" "Gempa::CAPS::Plugin *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Plugin * >(argp1);
{
std::string *ptr = (std::string *)0;
res2 = SWIG_AsPtr_std_string(obj1, &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Plugin_push" "', argument " "2"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "2"" of type '" "std::string const &""'");
}
arg2 = ptr;
}
{
std::string *ptr = (std::string *)0;
res3 = SWIG_AsPtr_std_string(obj2, &ptr);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Plugin_push" "', argument " "3"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "3"" of type '" "std::string const &""'");
}
arg3 = ptr;
}
{
std::string *ptr = (std::string *)0;
res4 = SWIG_AsPtr_std_string(obj3, &ptr);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Plugin_push" "', argument " "4"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "4"" of type '" "std::string const &""'");
}
arg4 = ptr;
}
{
std::string *ptr = (std::string *)0;
res5 = SWIG_AsPtr_std_string(obj4, &ptr);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "Plugin_push" "', argument " "5"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "5"" of type '" "std::string const &""'");
}
arg5 = ptr;
}
{
res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_boost__shared_ptrT_Gempa__CAPS__DataRecord_t, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "Plugin_push" "', argument " "6"" of type '" "Gempa::CAPS::DataRecordPtr""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "6"" of type '" "Gempa::CAPS::DataRecordPtr""'");
} else {
Gempa::CAPS::DataRecordPtr * temp = reinterpret_cast< Gempa::CAPS::DataRecordPtr * >(argp6);
arg6 = *temp;
if (SWIG_IsNewObj(res6)) delete temp;
}
}
{
std::string *ptr = (std::string *)0;
res7 = SWIG_AsPtr_std_string(obj6, &ptr);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "Plugin_push" "', argument " "7"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "7"" of type '" "std::string const &""'");
}
arg7 = ptr;
}
result = (Gempa::CAPS::Plugin::Status)(arg1)->push((std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5,arg6,(std::string const &)*arg7);
resultobj = SWIG_From_int(static_cast< int >(result));
if (SWIG_IsNewObj(res2)) delete arg2;
if (SWIG_IsNewObj(res3)) delete arg3;
if (SWIG_IsNewObj(res4)) delete arg4;
if (SWIG_IsNewObj(res5)) delete arg5;
if (SWIG_IsNewObj(res7)) delete arg7;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
if (SWIG_IsNewObj(res3)) delete arg3;
if (SWIG_IsNewObj(res4)) delete arg4;
if (SWIG_IsNewObj(res5)) delete arg5;
if (SWIG_IsNewObj(res7)) delete arg7;
return NULL;
}
SWIGINTERN PyObject *_wrap_Plugin_push__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Plugin *arg1 = (Gempa::CAPS::Plugin *) 0 ;
std::string *arg2 = 0 ;
std::string *arg3 = 0 ;
std::string *arg4 = 0 ;
std::string *arg5 = 0 ;
Gempa::CAPS::Time *arg6 = 0 ;
uint16_t arg7 ;
uint16_t arg8 ;
std::string *arg9 = 0 ;
void *arg10 = (void *) 0 ;
size_t arg11 ;
Gempa::CAPS::DataType arg12 ;
int arg13 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
int res3 = SWIG_OLDOBJ ;
int res4 = SWIG_OLDOBJ ;
int res5 = SWIG_OLDOBJ ;
void *argp6 = 0 ;
int res6 = 0 ;
unsigned short val7 ;
int ecode7 = 0 ;
unsigned short val8 ;
int ecode8 = 0 ;
int res9 = SWIG_OLDOBJ ;
int res10 ;
size_t val11 ;
int ecode11 = 0 ;
int val12 ;
int ecode12 = 0 ;
int val13 ;
int ecode13 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
PyObject * obj5 = 0 ;
PyObject * obj6 = 0 ;
PyObject * obj7 = 0 ;
PyObject * obj8 = 0 ;
PyObject * obj9 = 0 ;
PyObject * obj10 = 0 ;
PyObject * obj11 = 0 ;
PyObject * obj12 = 0 ;
Gempa::CAPS::Plugin::Status result;
if (!PyArg_ParseTuple(args,(char *)"OOOOOOOOOOOOO:Plugin_push",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11,&obj12)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Plugin, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plugin_push" "', argument " "1"" of type '" "Gempa::CAPS::Plugin *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Plugin * >(argp1);
{
std::string *ptr = (std::string *)0;
res2 = SWIG_AsPtr_std_string(obj1, &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Plugin_push" "', argument " "2"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "2"" of type '" "std::string const &""'");
}
arg2 = ptr;
}
{
std::string *ptr = (std::string *)0;
res3 = SWIG_AsPtr_std_string(obj2, &ptr);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Plugin_push" "', argument " "3"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "3"" of type '" "std::string const &""'");
}
arg3 = ptr;
}
{
std::string *ptr = (std::string *)0;
res4 = SWIG_AsPtr_std_string(obj3, &ptr);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Plugin_push" "', argument " "4"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "4"" of type '" "std::string const &""'");
}
arg4 = ptr;
}
{
std::string *ptr = (std::string *)0;
res5 = SWIG_AsPtr_std_string(obj4, &ptr);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "Plugin_push" "', argument " "5"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "5"" of type '" "std::string const &""'");
}
arg5 = ptr;
}
res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "Plugin_push" "', argument " "6"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "6"" of type '" "Gempa::CAPS::Time const &""'");
}
arg6 = reinterpret_cast< Gempa::CAPS::Time * >(argp6);
ecode7 = SWIG_AsVal_unsigned_SS_short(obj6, &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Plugin_push" "', argument " "7"" of type '" "uint16_t""'");
}
arg7 = static_cast< uint16_t >(val7);
ecode8 = SWIG_AsVal_unsigned_SS_short(obj7, &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "Plugin_push" "', argument " "8"" of type '" "uint16_t""'");
}
arg8 = static_cast< uint16_t >(val8);
{
std::string *ptr = (std::string *)0;
res9 = SWIG_AsPtr_std_string(obj8, &ptr);
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "Plugin_push" "', argument " "9"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "9"" of type '" "std::string const &""'");
}
arg9 = ptr;
}
res10 = SWIG_ConvertPtr(obj9,SWIG_as_voidptrptr(&arg10), 0, 0);
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "Plugin_push" "', argument " "10"" of type '" "void *""'");
}
ecode11 = SWIG_AsVal_size_t(obj10, &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "Plugin_push" "', argument " "11"" of type '" "size_t""'");
}
arg11 = static_cast< size_t >(val11);
ecode12 = SWIG_AsVal_int(obj11, &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "Plugin_push" "', argument " "12"" of type '" "Gempa::CAPS::DataType""'");
}
arg12 = static_cast< Gempa::CAPS::DataType >(val12);
ecode13 = SWIG_AsVal_int(obj12, &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "Plugin_push" "', argument " "13"" of type '" "int""'");
}
arg13 = static_cast< int >(val13);
result = (Gempa::CAPS::Plugin::Status)(arg1)->push((std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5,(Gempa::CAPS::Time const &)*arg6,arg7,arg8,(std::string const &)*arg9,arg10,arg11,arg12,arg13);
resultobj = SWIG_From_int(static_cast< int >(result));
if (SWIG_IsNewObj(res2)) delete arg2;
if (SWIG_IsNewObj(res3)) delete arg3;
if (SWIG_IsNewObj(res4)) delete arg4;
if (SWIG_IsNewObj(res5)) delete arg5;
if (SWIG_IsNewObj(res9)) delete arg9;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
if (SWIG_IsNewObj(res3)) delete arg3;
if (SWIG_IsNewObj(res4)) delete arg4;
if (SWIG_IsNewObj(res5)) delete arg5;
if (SWIG_IsNewObj(res9)) delete arg9;
return NULL;
}
SWIGINTERN PyObject *_wrap_Plugin_push__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Plugin *arg1 = (Gempa::CAPS::Plugin *) 0 ;
std::string *arg2 = 0 ;
std::string *arg3 = 0 ;
std::string *arg4 = 0 ;
std::string *arg5 = 0 ;
Gempa::CAPS::Time *arg6 = 0 ;
uint16_t arg7 ;
uint16_t arg8 ;
std::string *arg9 = 0 ;
void *arg10 = (void *) 0 ;
size_t arg11 ;
Gempa::CAPS::DataType arg12 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
int res3 = SWIG_OLDOBJ ;
int res4 = SWIG_OLDOBJ ;
int res5 = SWIG_OLDOBJ ;
void *argp6 = 0 ;
int res6 = 0 ;
unsigned short val7 ;
int ecode7 = 0 ;
unsigned short val8 ;
int ecode8 = 0 ;
int res9 = SWIG_OLDOBJ ;
int res10 ;
size_t val11 ;
int ecode11 = 0 ;
int val12 ;
int ecode12 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
PyObject * obj5 = 0 ;
PyObject * obj6 = 0 ;
PyObject * obj7 = 0 ;
PyObject * obj8 = 0 ;
PyObject * obj9 = 0 ;
PyObject * obj10 = 0 ;
PyObject * obj11 = 0 ;
Gempa::CAPS::Plugin::Status result;
if (!PyArg_ParseTuple(args,(char *)"OOOOOOOOOOOO:Plugin_push",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Plugin, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plugin_push" "', argument " "1"" of type '" "Gempa::CAPS::Plugin *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Plugin * >(argp1);
{
std::string *ptr = (std::string *)0;
res2 = SWIG_AsPtr_std_string(obj1, &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Plugin_push" "', argument " "2"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "2"" of type '" "std::string const &""'");
}
arg2 = ptr;
}
{
std::string *ptr = (std::string *)0;
res3 = SWIG_AsPtr_std_string(obj2, &ptr);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Plugin_push" "', argument " "3"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "3"" of type '" "std::string const &""'");
}
arg3 = ptr;
}
{
std::string *ptr = (std::string *)0;
res4 = SWIG_AsPtr_std_string(obj3, &ptr);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Plugin_push" "', argument " "4"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "4"" of type '" "std::string const &""'");
}
arg4 = ptr;
}
{
std::string *ptr = (std::string *)0;
res5 = SWIG_AsPtr_std_string(obj4, &ptr);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "Plugin_push" "', argument " "5"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "5"" of type '" "std::string const &""'");
}
arg5 = ptr;
}
res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "Plugin_push" "', argument " "6"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "6"" of type '" "Gempa::CAPS::Time const &""'");
}
arg6 = reinterpret_cast< Gempa::CAPS::Time * >(argp6);
ecode7 = SWIG_AsVal_unsigned_SS_short(obj6, &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Plugin_push" "', argument " "7"" of type '" "uint16_t""'");
}
arg7 = static_cast< uint16_t >(val7);
ecode8 = SWIG_AsVal_unsigned_SS_short(obj7, &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "Plugin_push" "', argument " "8"" of type '" "uint16_t""'");
}
arg8 = static_cast< uint16_t >(val8);
{
std::string *ptr = (std::string *)0;
res9 = SWIG_AsPtr_std_string(obj8, &ptr);
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "Plugin_push" "', argument " "9"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "9"" of type '" "std::string const &""'");
}
arg9 = ptr;
}
res10 = SWIG_ConvertPtr(obj9,SWIG_as_voidptrptr(&arg10), 0, 0);
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "Plugin_push" "', argument " "10"" of type '" "void *""'");
}
ecode11 = SWIG_AsVal_size_t(obj10, &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "Plugin_push" "', argument " "11"" of type '" "size_t""'");
}
arg11 = static_cast< size_t >(val11);
ecode12 = SWIG_AsVal_int(obj11, &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "Plugin_push" "', argument " "12"" of type '" "Gempa::CAPS::DataType""'");
}
arg12 = static_cast< Gempa::CAPS::DataType >(val12);
result = (Gempa::CAPS::Plugin::Status)(arg1)->push((std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5,(Gempa::CAPS::Time const &)*arg6,arg7,arg8,(std::string const &)*arg9,arg10,arg11,arg12);
resultobj = SWIG_From_int(static_cast< int >(result));
if (SWIG_IsNewObj(res2)) delete arg2;
if (SWIG_IsNewObj(res3)) delete arg3;
if (SWIG_IsNewObj(res4)) delete arg4;
if (SWIG_IsNewObj(res5)) delete arg5;
if (SWIG_IsNewObj(res9)) delete arg9;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
if (SWIG_IsNewObj(res3)) delete arg3;
if (SWIG_IsNewObj(res4)) delete arg4;
if (SWIG_IsNewObj(res5)) delete arg5;
if (SWIG_IsNewObj(res9)) delete arg9;
return NULL;
}
SWIGINTERN PyObject *_wrap_Plugin_push__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Plugin *arg1 = (Gempa::CAPS::Plugin *) 0 ;
std::string *arg2 = 0 ;
std::string *arg3 = 0 ;
std::string *arg4 = 0 ;
std::string *arg5 = 0 ;
Gempa::CAPS::Time *arg6 = 0 ;
uint16_t arg7 ;
uint16_t arg8 ;
std::string *arg9 = 0 ;
char *arg10 = (char *) 0 ;
size_t arg11 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
int res3 = SWIG_OLDOBJ ;
int res4 = SWIG_OLDOBJ ;
int res5 = SWIG_OLDOBJ ;
void *argp6 = 0 ;
int res6 = 0 ;
unsigned short val7 ;
int ecode7 = 0 ;
unsigned short val8 ;
int ecode8 = 0 ;
int res9 = SWIG_OLDOBJ ;
int res10 ;
char *buf10 = 0 ;
int alloc10 = 0 ;
size_t val11 ;
int ecode11 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
PyObject * obj5 = 0 ;
PyObject * obj6 = 0 ;
PyObject * obj7 = 0 ;
PyObject * obj8 = 0 ;
PyObject * obj9 = 0 ;
PyObject * obj10 = 0 ;
Gempa::CAPS::Plugin::Status result;
if (!PyArg_ParseTuple(args,(char *)"OOOOOOOOOOO:Plugin_push",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Plugin, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plugin_push" "', argument " "1"" of type '" "Gempa::CAPS::Plugin *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Plugin * >(argp1);
{
std::string *ptr = (std::string *)0;
res2 = SWIG_AsPtr_std_string(obj1, &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Plugin_push" "', argument " "2"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "2"" of type '" "std::string const &""'");
}
arg2 = ptr;
}
{
std::string *ptr = (std::string *)0;
res3 = SWIG_AsPtr_std_string(obj2, &ptr);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Plugin_push" "', argument " "3"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "3"" of type '" "std::string const &""'");
}
arg3 = ptr;
}
{
std::string *ptr = (std::string *)0;
res4 = SWIG_AsPtr_std_string(obj3, &ptr);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Plugin_push" "', argument " "4"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "4"" of type '" "std::string const &""'");
}
arg4 = ptr;
}
{
std::string *ptr = (std::string *)0;
res5 = SWIG_AsPtr_std_string(obj4, &ptr);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "Plugin_push" "', argument " "5"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "5"" of type '" "std::string const &""'");
}
arg5 = ptr;
}
res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "Plugin_push" "', argument " "6"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "6"" of type '" "Gempa::CAPS::Time const &""'");
}
arg6 = reinterpret_cast< Gempa::CAPS::Time * >(argp6);
ecode7 = SWIG_AsVal_unsigned_SS_short(obj6, &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Plugin_push" "', argument " "7"" of type '" "uint16_t""'");
}
arg7 = static_cast< uint16_t >(val7);
ecode8 = SWIG_AsVal_unsigned_SS_short(obj7, &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "Plugin_push" "', argument " "8"" of type '" "uint16_t""'");
}
arg8 = static_cast< uint16_t >(val8);
{
std::string *ptr = (std::string *)0;
res9 = SWIG_AsPtr_std_string(obj8, &ptr);
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "Plugin_push" "', argument " "9"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "9"" of type '" "std::string const &""'");
}
arg9 = ptr;
}
res10 = SWIG_AsCharPtrAndSize(obj9, &buf10, NULL, &alloc10);
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "Plugin_push" "', argument " "10"" of type '" "char *""'");
}
arg10 = reinterpret_cast< char * >(buf10);
ecode11 = SWIG_AsVal_size_t(obj10, &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "Plugin_push" "', argument " "11"" of type '" "size_t""'");
}
arg11 = static_cast< size_t >(val11);
result = (Gempa::CAPS::Plugin::Status)(arg1)->push((std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5,(Gempa::CAPS::Time const &)*arg6,arg7,arg8,(std::string const &)*arg9,arg10,arg11);
resultobj = SWIG_From_int(static_cast< int >(result));
if (SWIG_IsNewObj(res2)) delete arg2;
if (SWIG_IsNewObj(res3)) delete arg3;
if (SWIG_IsNewObj(res4)) delete arg4;
if (SWIG_IsNewObj(res5)) delete arg5;
if (SWIG_IsNewObj(res9)) delete arg9;
if (alloc10 == SWIG_NEWOBJ) delete[] buf10;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
if (SWIG_IsNewObj(res3)) delete arg3;
if (SWIG_IsNewObj(res4)) delete arg4;
if (SWIG_IsNewObj(res5)) delete arg5;
if (SWIG_IsNewObj(res9)) delete arg9;
if (alloc10 == SWIG_NEWOBJ) delete[] buf10;
return NULL;
}
SWIGINTERN PyObject *_wrap_Plugin_push__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Plugin *arg1 = (Gempa::CAPS::Plugin *) 0 ;
std::string *arg2 = 0 ;
std::string *arg3 = 0 ;
std::string *arg4 = 0 ;
std::string *arg5 = 0 ;
Gempa::CAPS::Time *arg6 = 0 ;
uint16_t arg7 ;
uint16_t arg8 ;
std::string *arg9 = 0 ;
std::string *arg10 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
int res3 = SWIG_OLDOBJ ;
int res4 = SWIG_OLDOBJ ;
int res5 = SWIG_OLDOBJ ;
void *argp6 = 0 ;
int res6 = 0 ;
unsigned short val7 ;
int ecode7 = 0 ;
unsigned short val8 ;
int ecode8 = 0 ;
int res9 = SWIG_OLDOBJ ;
int res10 = SWIG_OLDOBJ ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
PyObject * obj5 = 0 ;
PyObject * obj6 = 0 ;
PyObject * obj7 = 0 ;
PyObject * obj8 = 0 ;
PyObject * obj9 = 0 ;
Gempa::CAPS::Plugin::Status result;
if (!PyArg_ParseTuple(args,(char *)"OOOOOOOOOO:Plugin_push",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Plugin, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plugin_push" "', argument " "1"" of type '" "Gempa::CAPS::Plugin *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Plugin * >(argp1);
{
std::string *ptr = (std::string *)0;
res2 = SWIG_AsPtr_std_string(obj1, &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Plugin_push" "', argument " "2"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "2"" of type '" "std::string const &""'");
}
arg2 = ptr;
}
{
std::string *ptr = (std::string *)0;
res3 = SWIG_AsPtr_std_string(obj2, &ptr);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Plugin_push" "', argument " "3"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "3"" of type '" "std::string const &""'");
}
arg3 = ptr;
}
{
std::string *ptr = (std::string *)0;
res4 = SWIG_AsPtr_std_string(obj3, &ptr);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Plugin_push" "', argument " "4"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "4"" of type '" "std::string const &""'");
}
arg4 = ptr;
}
{
std::string *ptr = (std::string *)0;
res5 = SWIG_AsPtr_std_string(obj4, &ptr);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "Plugin_push" "', argument " "5"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "5"" of type '" "std::string const &""'");
}
arg5 = ptr;
}
res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "Plugin_push" "', argument " "6"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "6"" of type '" "Gempa::CAPS::Time const &""'");
}
arg6 = reinterpret_cast< Gempa::CAPS::Time * >(argp6);
ecode7 = SWIG_AsVal_unsigned_SS_short(obj6, &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Plugin_push" "', argument " "7"" of type '" "uint16_t""'");
}
arg7 = static_cast< uint16_t >(val7);
ecode8 = SWIG_AsVal_unsigned_SS_short(obj7, &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "Plugin_push" "', argument " "8"" of type '" "uint16_t""'");
}
arg8 = static_cast< uint16_t >(val8);
{
std::string *ptr = (std::string *)0;
res9 = SWIG_AsPtr_std_string(obj8, &ptr);
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "Plugin_push" "', argument " "9"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "9"" of type '" "std::string const &""'");
}
arg9 = ptr;
}
{
std::string *ptr = (std::string *)0;
res10 = SWIG_AsPtr_std_string(obj9, &ptr);
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "Plugin_push" "', argument " "10"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "10"" of type '" "std::string const &""'");
}
arg10 = ptr;
}
result = (Gempa::CAPS::Plugin::Status)(arg1)->push((std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5,(Gempa::CAPS::Time const &)*arg6,arg7,arg8,(std::string const &)*arg9,(std::string const &)*arg10);
resultobj = SWIG_From_int(static_cast< int >(result));
if (SWIG_IsNewObj(res2)) delete arg2;
if (SWIG_IsNewObj(res3)) delete arg3;
if (SWIG_IsNewObj(res4)) delete arg4;
if (SWIG_IsNewObj(res5)) delete arg5;
if (SWIG_IsNewObj(res9)) delete arg9;
if (SWIG_IsNewObj(res10)) delete arg10;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
if (SWIG_IsNewObj(res3)) delete arg3;
if (SWIG_IsNewObj(res4)) delete arg4;
if (SWIG_IsNewObj(res5)) delete arg5;
if (SWIG_IsNewObj(res9)) delete arg9;
if (SWIG_IsNewObj(res10)) delete arg10;
return NULL;
}
SWIGINTERN PyObject *_wrap_Plugin_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Plugin *arg1 = (Gempa::CAPS::Plugin *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
char *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:Plugin_version",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Plugin, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plugin_version" "', argument " "1"" of type '" "Gempa::CAPS::Plugin *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Plugin * >(argp1);
result = (char *)(arg1)->version();
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Plugin_push__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Plugin *arg1 = (Gempa::CAPS::Plugin *) 0 ;
std::string *arg2 = 0 ;
std::string *arg3 = 0 ;
std::string *arg4 = 0 ;
std::string *arg5 = 0 ;
Gempa::CAPS::Time *arg6 = 0 ;
int16_t arg7 ;
int16_t arg8 ;
std::string *arg9 = 0 ;
PyObject *arg10 = (PyObject *) 0 ;
int arg11 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
int res3 = SWIG_OLDOBJ ;
int res4 = SWIG_OLDOBJ ;
int res5 = SWIG_OLDOBJ ;
void *argp6 = 0 ;
int res6 = 0 ;
short val7 ;
int ecode7 = 0 ;
short val8 ;
int ecode8 = 0 ;
int res9 = SWIG_OLDOBJ ;
int val11 ;
int ecode11 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
PyObject * obj5 = 0 ;
PyObject * obj6 = 0 ;
PyObject * obj7 = 0 ;
PyObject * obj8 = 0 ;
PyObject * obj9 = 0 ;
PyObject * obj10 = 0 ;
Gempa::CAPS::Plugin::Status result;
if (!PyArg_ParseTuple(args,(char *)"OOOOOOOOOOO:Plugin_push",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Plugin, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plugin_push" "', argument " "1"" of type '" "Gempa::CAPS::Plugin *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Plugin * >(argp1);
{
std::string *ptr = (std::string *)0;
res2 = SWIG_AsPtr_std_string(obj1, &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Plugin_push" "', argument " "2"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "2"" of type '" "std::string const &""'");
}
arg2 = ptr;
}
{
std::string *ptr = (std::string *)0;
res3 = SWIG_AsPtr_std_string(obj2, &ptr);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Plugin_push" "', argument " "3"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "3"" of type '" "std::string const &""'");
}
arg3 = ptr;
}
{
std::string *ptr = (std::string *)0;
res4 = SWIG_AsPtr_std_string(obj3, &ptr);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Plugin_push" "', argument " "4"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "4"" of type '" "std::string const &""'");
}
arg4 = ptr;
}
{
std::string *ptr = (std::string *)0;
res5 = SWIG_AsPtr_std_string(obj4, &ptr);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "Plugin_push" "', argument " "5"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "5"" of type '" "std::string const &""'");
}
arg5 = ptr;
}
res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "Plugin_push" "', argument " "6"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "6"" of type '" "Gempa::CAPS::Time const &""'");
}
arg6 = reinterpret_cast< Gempa::CAPS::Time * >(argp6);
ecode7 = SWIG_AsVal_short(obj6, &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Plugin_push" "', argument " "7"" of type '" "int16_t""'");
}
arg7 = static_cast< int16_t >(val7);
ecode8 = SWIG_AsVal_short(obj7, &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "Plugin_push" "', argument " "8"" of type '" "int16_t""'");
}
arg8 = static_cast< int16_t >(val8);
{
std::string *ptr = (std::string *)0;
res9 = SWIG_AsPtr_std_string(obj8, &ptr);
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "Plugin_push" "', argument " "9"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "9"" of type '" "std::string const &""'");
}
arg9 = ptr;
}
arg10 = obj9;
ecode11 = SWIG_AsVal_int(obj10, &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "Plugin_push" "', argument " "11"" of type '" "int""'");
}
arg11 = static_cast< int >(val11);
result = (Gempa::CAPS::Plugin::Status)Gempa_CAPS_Plugin_push__SWIG_6(arg1,(std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5,(Gempa::CAPS::Time const &)*arg6,arg7,arg8,(std::string const &)*arg9,arg10,arg11);
resultobj = SWIG_From_int(static_cast< int >(result));
if (SWIG_IsNewObj(res2)) delete arg2;
if (SWIG_IsNewObj(res3)) delete arg3;
if (SWIG_IsNewObj(res4)) delete arg4;
if (SWIG_IsNewObj(res5)) delete arg5;
if (SWIG_IsNewObj(res9)) delete arg9;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
if (SWIG_IsNewObj(res3)) delete arg3;
if (SWIG_IsNewObj(res4)) delete arg4;
if (SWIG_IsNewObj(res5)) delete arg5;
if (SWIG_IsNewObj(res9)) delete arg9;
return NULL;
}
SWIGINTERN PyObject *_wrap_Plugin_push__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Plugin *arg1 = (Gempa::CAPS::Plugin *) 0 ;
std::string *arg2 = 0 ;
std::string *arg3 = 0 ;
std::string *arg4 = 0 ;
std::string *arg5 = 0 ;
Gempa::CAPS::Time *arg6 = 0 ;
uint16_t arg7 ;
uint16_t arg8 ;
std::string *arg9 = 0 ;
PyObject *arg10 = (PyObject *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
int res3 = SWIG_OLDOBJ ;
int res4 = SWIG_OLDOBJ ;
int res5 = SWIG_OLDOBJ ;
void *argp6 = 0 ;
int res6 = 0 ;
unsigned short val7 ;
int ecode7 = 0 ;
unsigned short val8 ;
int ecode8 = 0 ;
int res9 = SWIG_OLDOBJ ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
PyObject * obj5 = 0 ;
PyObject * obj6 = 0 ;
PyObject * obj7 = 0 ;
PyObject * obj8 = 0 ;
PyObject * obj9 = 0 ;
Gempa::CAPS::Plugin::Status result;
if (!PyArg_ParseTuple(args,(char *)"OOOOOOOOOO:Plugin_push",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Plugin, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Plugin_push" "', argument " "1"" of type '" "Gempa::CAPS::Plugin *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Plugin * >(argp1);
{
std::string *ptr = (std::string *)0;
res2 = SWIG_AsPtr_std_string(obj1, &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Plugin_push" "', argument " "2"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "2"" of type '" "std::string const &""'");
}
arg2 = ptr;
}
{
std::string *ptr = (std::string *)0;
res3 = SWIG_AsPtr_std_string(obj2, &ptr);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Plugin_push" "', argument " "3"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "3"" of type '" "std::string const &""'");
}
arg3 = ptr;
}
{
std::string *ptr = (std::string *)0;
res4 = SWIG_AsPtr_std_string(obj3, &ptr);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "Plugin_push" "', argument " "4"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "4"" of type '" "std::string const &""'");
}
arg4 = ptr;
}
{
std::string *ptr = (std::string *)0;
res5 = SWIG_AsPtr_std_string(obj4, &ptr);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "Plugin_push" "', argument " "5"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "5"" of type '" "std::string const &""'");
}
arg5 = ptr;
}
res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "Plugin_push" "', argument " "6"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "6"" of type '" "Gempa::CAPS::Time const &""'");
}
arg6 = reinterpret_cast< Gempa::CAPS::Time * >(argp6);
ecode7 = SWIG_AsVal_unsigned_SS_short(obj6, &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Plugin_push" "', argument " "7"" of type '" "uint16_t""'");
}
arg7 = static_cast< uint16_t >(val7);
ecode8 = SWIG_AsVal_unsigned_SS_short(obj7, &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "Plugin_push" "', argument " "8"" of type '" "uint16_t""'");
}
arg8 = static_cast< uint16_t >(val8);
{
std::string *ptr = (std::string *)0;
res9 = SWIG_AsPtr_std_string(obj8, &ptr);
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "Plugin_push" "', argument " "9"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Plugin_push" "', argument " "9"" of type '" "std::string const &""'");
}
arg9 = ptr;
}
arg10 = obj9;
result = (Gempa::CAPS::Plugin::Status)Gempa_CAPS_Plugin_push__SWIG_7(arg1,(std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5,(Gempa::CAPS::Time const &)*arg6,arg7,arg8,(std::string const &)*arg9,arg10);
resultobj = SWIG_From_int(static_cast< int >(result));
if (SWIG_IsNewObj(res2)) delete arg2;
if (SWIG_IsNewObj(res3)) delete arg3;
if (SWIG_IsNewObj(res4)) delete arg4;
if (SWIG_IsNewObj(res5)) delete arg5;
if (SWIG_IsNewObj(res9)) delete arg9;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
if (SWIG_IsNewObj(res3)) delete arg3;
if (SWIG_IsNewObj(res4)) delete arg4;
if (SWIG_IsNewObj(res5)) delete arg5;
if (SWIG_IsNewObj(res9)) delete arg9;
return NULL;
}
SWIGINTERN PyObject *_wrap_Plugin_push(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[14] = {
0
};
Py_ssize_t ii;
if (!PyTuple_Check(args)) SWIG_fail;
argc = args ? PyObject_Length(args) : 0;
for (ii = 0; (ii < 13) && (ii < argc); ii++) {
argv[ii] = PyTuple_GET_ITEM(args,ii);
}
if (argc == 7) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__Plugin, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[3], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[4], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_boost__shared_ptrT_Gempa__CAPS__DataRecord_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[6], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Plugin_push__SWIG_1(self, args);
}
}
}
}
}
}
}
}
if (argc == 8) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__Plugin, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[3], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[4], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_boost__shared_ptrT_Gempa__CAPS__DataRecord_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[6], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_Plugin_push__SWIG_0(self, args);
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__Plugin, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[3], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[4], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_short(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_short(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_AsPtr_std_string(argv[8], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[9], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Plugin_push__SWIG_5(self, args);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__Plugin, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[3], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[4], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_short(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_short(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_AsPtr_std_string(argv[8], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
_v = (argv[9] != 0);
if (_v) {
return _wrap_Plugin_push__SWIG_7(self, args);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__Plugin, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[3], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[4], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_short(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_short(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_AsPtr_std_string(argv[8], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[9], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_size_t(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_Plugin_push__SWIG_4(self, args);
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__Plugin, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[3], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[4], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_short(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_short(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_AsPtr_std_string(argv[8], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
_v = (argv[9] != 0);
if (_v) {
{
int res = SWIG_AsVal_int(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_Plugin_push__SWIG_6(self, args);
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 12) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__Plugin, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[3], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[4], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_short(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_short(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_AsPtr_std_string(argv[8], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
void *ptr = 0;
int res = SWIG_ConvertPtr(argv[9], &ptr, 0, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_size_t(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[11], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_Plugin_push__SWIG_3(self, args);
}
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 13) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__Plugin, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[3], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[4], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_short(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_short(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_AsPtr_std_string(argv[8], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
void *ptr = 0;
int res = SWIG_ConvertPtr(argv[9], &ptr, 0, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_size_t(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[11], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[12], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_Plugin_push__SWIG_2(self, args);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'Plugin_push'.\n"
" Possible C/C++ prototypes are:\n"
" Gempa::CAPS::Plugin::push(std::string const &,std::string const &,std::string const &,std::string const &,Gempa::CAPS::DataRecordPtr,std::string const &,int)\n"
" Gempa::CAPS::Plugin::push(std::string const &,std::string const &,std::string const &,std::string const &,Gempa::CAPS::DataRecordPtr,std::string const &)\n"
" Gempa::CAPS::Plugin::push(std::string const &,std::string const &,std::string const &,std::string const &,Gempa::CAPS::Time const &,uint16_t,uint16_t,std::string const &,void *,size_t,Gempa::CAPS::DataType,int)\n"
" Gempa::CAPS::Plugin::push(std::string const &,std::string const &,std::string const &,std::string const &,Gempa::CAPS::Time const &,uint16_t,uint16_t,std::string const &,void *,size_t,Gempa::CAPS::DataType)\n"
" Gempa::CAPS::Plugin::push(std::string const &,std::string const &,std::string const &,std::string const &,Gempa::CAPS::Time const &,uint16_t,uint16_t,std::string const &,char *,size_t)\n"
" Gempa::CAPS::Plugin::push(std::string const &,std::string const &,std::string const &,std::string const &,Gempa::CAPS::Time const &,uint16_t,uint16_t,std::string const &,std::string const &)\n"
" Gempa::CAPS::Plugin::push(std::string const &,std::string const &,std::string const &,std::string const &,Gempa::CAPS::Time const &,int16_t,int16_t,std::string const &,PyObject *,int)\n"
" Gempa::CAPS::Plugin::push(std::string const &,std::string const &,std::string const &,std::string const &,Gempa::CAPS::Time const &,uint16_t,uint16_t,std::string const &,PyObject *)\n");
return 0;
}
SWIGINTERN PyObject *Plugin_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_Gempa__CAPS__Plugin, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_RawResponseHeader_timeSeconds_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RawResponseHeader *arg1 = (Gempa::CAPS::RawResponseHeader *) 0 ;
int64_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
long long val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:RawResponseHeader_timeSeconds_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RawResponseHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RawResponseHeader_timeSeconds_set" "', argument " "1"" of type '" "Gempa::CAPS::RawResponseHeader *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RawResponseHeader * >(argp1);
ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RawResponseHeader_timeSeconds_set" "', argument " "2"" of type '" "int64_t""'");
}
arg2 = static_cast< int64_t >(val2);
if (arg1) (arg1)->timeSeconds = arg2;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RawResponseHeader_timeSeconds_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RawResponseHeader *arg1 = (Gempa::CAPS::RawResponseHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
int64_t result;
if (!PyArg_ParseTuple(args,(char *)"O:RawResponseHeader_timeSeconds_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RawResponseHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RawResponseHeader_timeSeconds_get" "', argument " "1"" of type '" "Gempa::CAPS::RawResponseHeader *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RawResponseHeader * >(argp1);
result = (int64_t) ((arg1)->timeSeconds);
resultobj = SWIG_From_long_SS_long(static_cast< long long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RawResponseHeader_timeMicroSeconds_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RawResponseHeader *arg1 = (Gempa::CAPS::RawResponseHeader *) 0 ;
int32_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
int val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:RawResponseHeader_timeMicroSeconds_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RawResponseHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RawResponseHeader_timeMicroSeconds_set" "', argument " "1"" of type '" "Gempa::CAPS::RawResponseHeader *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RawResponseHeader * >(argp1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RawResponseHeader_timeMicroSeconds_set" "', argument " "2"" of type '" "int32_t""'");
}
arg2 = static_cast< int32_t >(val2);
if (arg1) (arg1)->timeMicroSeconds = arg2;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RawResponseHeader_timeMicroSeconds_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RawResponseHeader *arg1 = (Gempa::CAPS::RawResponseHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
int32_t result;
if (!PyArg_ParseTuple(args,(char *)"O:RawResponseHeader_timeMicroSeconds_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RawResponseHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RawResponseHeader_timeMicroSeconds_get" "', argument " "1"" of type '" "Gempa::CAPS::RawResponseHeader *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RawResponseHeader * >(argp1);
result = (int32_t) ((arg1)->timeMicroSeconds);
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RawResponseHeader_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RawResponseHeader *arg1 = (Gempa::CAPS::RawResponseHeader *) 0 ;
std::streambuf *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OO:RawResponseHeader_get",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RawResponseHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RawResponseHeader_get" "', argument " "1"" of type '" "Gempa::CAPS::RawResponseHeader *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RawResponseHeader * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RawResponseHeader_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RawResponseHeader_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
result = (bool)(arg1)->get(*arg2);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RawResponseHeader_dataSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RawResponseHeader *arg1 = (Gempa::CAPS::RawResponseHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
int result;
if (!PyArg_ParseTuple(args,(char *)"O:RawResponseHeader_dataSize",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RawResponseHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RawResponseHeader_dataSize" "', argument " "1"" of type '" "Gempa::CAPS::RawResponseHeader const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RawResponseHeader * >(argp1);
result = (int)((Gempa::CAPS::RawResponseHeader const *)arg1)->dataSize();
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_RawResponseHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RawResponseHeader *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)":new_RawResponseHeader")) SWIG_fail;
result = (Gempa::CAPS::RawResponseHeader *)new Gempa::CAPS::RawResponseHeader();
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__RawResponseHeader, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_RawResponseHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RawResponseHeader *arg1 = (Gempa::CAPS::RawResponseHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:delete_RawResponseHeader",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RawResponseHeader, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RawResponseHeader" "', argument " "1"" of type '" "Gempa::CAPS::RawResponseHeader *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RawResponseHeader * >(argp1);
delete arg1;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *RawResponseHeader_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_Gempa__CAPS__RawResponseHeader, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_RawDataRecord_formatName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RawDataRecord *arg1 = (Gempa::CAPS::RawDataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
char *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:RawDataRecord_formatName",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RawDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RawDataRecord_formatName" "', argument " "1"" of type '" "Gempa::CAPS::RawDataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RawDataRecord * >(argp1);
result = (char *)((Gempa::CAPS::RawDataRecord const *)arg1)->formatName();
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RawDataRecord_readMetaData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RawDataRecord *arg1 = (Gempa::CAPS::RawDataRecord *) 0 ;
std::streambuf *arg2 = 0 ;
int arg3 ;
Gempa::CAPS::DataRecord::Header *arg4 = 0 ;
Gempa::CAPS::Time *arg5 = 0 ;
Gempa::CAPS::Time *arg6 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
int val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
PyObject * obj5 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OOOOOO:RawDataRecord_readMetaData",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RawDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RawDataRecord_readMetaData" "', argument " "1"" of type '" "Gempa::CAPS::RawDataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RawDataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RawDataRecord_readMetaData" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RawDataRecord_readMetaData" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RawDataRecord_readMetaData" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_Gempa__CAPS__DataRecord__Header, 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "RawDataRecord_readMetaData" "', argument " "4"" of type '" "Gempa::CAPS::DataRecord::Header &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RawDataRecord_readMetaData" "', argument " "4"" of type '" "Gempa::CAPS::DataRecord::Header &""'");
}
arg4 = reinterpret_cast< Gempa::CAPS::DataRecord::Header * >(argp4);
res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_Gempa__CAPS__Time, 0 );
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "RawDataRecord_readMetaData" "', argument " "5"" of type '" "Gempa::CAPS::Time &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RawDataRecord_readMetaData" "', argument " "5"" of type '" "Gempa::CAPS::Time &""'");
}
arg5 = reinterpret_cast< Gempa::CAPS::Time * >(argp5);
res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_Gempa__CAPS__Time, 0 );
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "RawDataRecord_readMetaData" "', argument " "6"" of type '" "Gempa::CAPS::Time &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RawDataRecord_readMetaData" "', argument " "6"" of type '" "Gempa::CAPS::Time &""'");
}
arg6 = reinterpret_cast< Gempa::CAPS::Time * >(argp6);
result = (bool)(arg1)->readMetaData(*arg2,arg3,*arg4,*arg5,*arg6);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RawDataRecord_setHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RawDataRecord *arg1 = (Gempa::CAPS::RawDataRecord *) 0 ;
Gempa::CAPS::DataRecord::Header *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:RawDataRecord_setHeader",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RawDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RawDataRecord_setHeader" "', argument " "1"" of type '" "Gempa::CAPS::RawDataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RawDataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Gempa__CAPS__DataRecord__Header, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RawDataRecord_setHeader" "', argument " "2"" of type '" "Gempa::CAPS::DataRecord::Header const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RawDataRecord_setHeader" "', argument " "2"" of type '" "Gempa::CAPS::DataRecord::Header const &""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::DataRecord::Header * >(argp2);
(arg1)->setHeader((Gempa::CAPS::DataRecord::Header const &)*arg2);
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RawDataRecord_header(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RawDataRecord *arg1 = (Gempa::CAPS::RawDataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::DataRecord::Header *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:RawDataRecord_header",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RawDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RawDataRecord_header" "', argument " "1"" of type '" "Gempa::CAPS::RawDataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RawDataRecord * >(argp1);
result = (Gempa::CAPS::DataRecord::Header *)((Gempa::CAPS::RawDataRecord const *)arg1)->header();
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__DataRecord__Header, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RawDataRecord_startTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RawDataRecord *arg1 = (Gempa::CAPS::RawDataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::Time result;
if (!PyArg_ParseTuple(args,(char *)"O:RawDataRecord_startTime",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RawDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RawDataRecord_startTime" "', argument " "1"" of type '" "Gempa::CAPS::RawDataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RawDataRecord * >(argp1);
result = ((Gempa::CAPS::RawDataRecord const *)arg1)->startTime();
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::Time(static_cast< const Gempa::CAPS::Time& >(result))), SWIGTYPE_p_Gempa__CAPS__Time, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RawDataRecord_endTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RawDataRecord *arg1 = (Gempa::CAPS::RawDataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::Time result;
if (!PyArg_ParseTuple(args,(char *)"O:RawDataRecord_endTime",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RawDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RawDataRecord_endTime" "', argument " "1"" of type '" "Gempa::CAPS::RawDataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RawDataRecord * >(argp1);
result = ((Gempa::CAPS::RawDataRecord const *)arg1)->endTime();
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::Time(static_cast< const Gempa::CAPS::Time& >(result))), SWIGTYPE_p_Gempa__CAPS__Time, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RawDataRecord_canTrim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RawDataRecord *arg1 = (Gempa::CAPS::RawDataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"O:RawDataRecord_canTrim",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RawDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RawDataRecord_canTrim" "', argument " "1"" of type '" "Gempa::CAPS::RawDataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RawDataRecord * >(argp1);
result = (bool)((Gempa::CAPS::RawDataRecord const *)arg1)->canTrim();
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RawDataRecord_canMerge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RawDataRecord *arg1 = (Gempa::CAPS::RawDataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"O:RawDataRecord_canMerge",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RawDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RawDataRecord_canMerge" "', argument " "1"" of type '" "Gempa::CAPS::RawDataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RawDataRecord * >(argp1);
result = (bool)((Gempa::CAPS::RawDataRecord const *)arg1)->canMerge();
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RawDataRecord_trim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RawDataRecord *arg1 = (Gempa::CAPS::RawDataRecord *) 0 ;
Gempa::CAPS::Time *arg2 = 0 ;
Gempa::CAPS::Time *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OOO:RawDataRecord_trim",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RawDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RawDataRecord_trim" "', argument " "1"" of type '" "Gempa::CAPS::RawDataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RawDataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RawDataRecord_trim" "', argument " "2"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RawDataRecord_trim" "', argument " "2"" of type '" "Gempa::CAPS::Time const &""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::Time * >(argp2);
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RawDataRecord_trim" "', argument " "3"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RawDataRecord_trim" "', argument " "3"" of type '" "Gempa::CAPS::Time const &""'");
}
arg3 = reinterpret_cast< Gempa::CAPS::Time * >(argp3);
result = (bool)((Gempa::CAPS::RawDataRecord const *)arg1)->trim((Gempa::CAPS::Time const &)*arg2,(Gempa::CAPS::Time const &)*arg3);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RawDataRecord_dataSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RawDataRecord *arg1 = (Gempa::CAPS::RawDataRecord *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
size_t result;
if (!PyArg_ParseTuple(args,(char *)"OO:RawDataRecord_dataSize",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RawDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RawDataRecord_dataSize" "', argument " "1"" of type '" "Gempa::CAPS::RawDataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RawDataRecord * >(argp1);
ecode2 = SWIG_AsVal_bool(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RawDataRecord_dataSize" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
result = ((Gempa::CAPS::RawDataRecord const *)arg1)->dataSize(arg2);
resultobj = SWIG_From_size_t(static_cast< size_t >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RawDataRecord_get__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RawDataRecord *arg1 = (Gempa::CAPS::RawDataRecord *) 0 ;
std::streambuf *arg2 = 0 ;
int arg3 ;
Gempa::CAPS::Time *arg4 = 0 ;
Gempa::CAPS::Time *arg5 = 0 ;
int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
int val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
int val6 ;
int ecode6 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
PyObject * obj5 = 0 ;
Gempa::CAPS::DataRecord::ReadStatus result;
if (!PyArg_ParseTuple(args,(char *)"OOOOOO:RawDataRecord_get",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RawDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RawDataRecord_get" "', argument " "1"" of type '" "Gempa::CAPS::RawDataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RawDataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RawDataRecord_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RawDataRecord_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RawDataRecord_get" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "RawDataRecord_get" "', argument " "4"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RawDataRecord_get" "', argument " "4"" of type '" "Gempa::CAPS::Time const &""'");
}
arg4 = reinterpret_cast< Gempa::CAPS::Time * >(argp4);
res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "RawDataRecord_get" "', argument " "5"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RawDataRecord_get" "', argument " "5"" of type '" "Gempa::CAPS::Time const &""'");
}
arg5 = reinterpret_cast< Gempa::CAPS::Time * >(argp5);
ecode6 = SWIG_AsVal_int(obj5, &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "RawDataRecord_get" "', argument " "6"" of type '" "int""'");
}
arg6 = static_cast< int >(val6);
result = (arg1)->get(*arg2,arg3,(Gempa::CAPS::Time const &)*arg4,(Gempa::CAPS::Time const &)*arg5,arg6);
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::DataRecord::ReadStatus(static_cast< const Gempa::CAPS::DataRecord::ReadStatus& >(result))), SWIGTYPE_p_Gempa__CAPS__DataRecord__ReadStatus, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RawDataRecord_get__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RawDataRecord *arg1 = (Gempa::CAPS::RawDataRecord *) 0 ;
std::streambuf *arg2 = 0 ;
int arg3 ;
Gempa::CAPS::Time *arg4 = 0 ;
Gempa::CAPS::Time *arg5 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
int val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
Gempa::CAPS::DataRecord::ReadStatus result;
if (!PyArg_ParseTuple(args,(char *)"OOOOO:RawDataRecord_get",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RawDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RawDataRecord_get" "', argument " "1"" of type '" "Gempa::CAPS::RawDataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RawDataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RawDataRecord_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RawDataRecord_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RawDataRecord_get" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "RawDataRecord_get" "', argument " "4"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RawDataRecord_get" "', argument " "4"" of type '" "Gempa::CAPS::Time const &""'");
}
arg4 = reinterpret_cast< Gempa::CAPS::Time * >(argp4);
res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "RawDataRecord_get" "', argument " "5"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RawDataRecord_get" "', argument " "5"" of type '" "Gempa::CAPS::Time const &""'");
}
arg5 = reinterpret_cast< Gempa::CAPS::Time * >(argp5);
result = (arg1)->get(*arg2,arg3,(Gempa::CAPS::Time const &)*arg4,(Gempa::CAPS::Time const &)*arg5);
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::DataRecord::ReadStatus(static_cast< const Gempa::CAPS::DataRecord::ReadStatus& >(result))), SWIGTYPE_p_Gempa__CAPS__DataRecord__ReadStatus, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RawDataRecord_get__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RawDataRecord *arg1 = (Gempa::CAPS::RawDataRecord *) 0 ;
std::streambuf *arg2 = 0 ;
int arg3 ;
Gempa::CAPS::Time *arg4 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
int val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
Gempa::CAPS::DataRecord::ReadStatus result;
if (!PyArg_ParseTuple(args,(char *)"OOOO:RawDataRecord_get",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RawDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RawDataRecord_get" "', argument " "1"" of type '" "Gempa::CAPS::RawDataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RawDataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RawDataRecord_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RawDataRecord_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RawDataRecord_get" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "RawDataRecord_get" "', argument " "4"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RawDataRecord_get" "', argument " "4"" of type '" "Gempa::CAPS::Time const &""'");
}
arg4 = reinterpret_cast< Gempa::CAPS::Time * >(argp4);
result = (arg1)->get(*arg2,arg3,(Gempa::CAPS::Time const &)*arg4);
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::DataRecord::ReadStatus(static_cast< const Gempa::CAPS::DataRecord::ReadStatus& >(result))), SWIGTYPE_p_Gempa__CAPS__DataRecord__ReadStatus, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RawDataRecord_get__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RawDataRecord *arg1 = (Gempa::CAPS::RawDataRecord *) 0 ;
std::streambuf *arg2 = 0 ;
int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
int val3 ;
int ecode3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
Gempa::CAPS::DataRecord::ReadStatus result;
if (!PyArg_ParseTuple(args,(char *)"OOO:RawDataRecord_get",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RawDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RawDataRecord_get" "', argument " "1"" of type '" "Gempa::CAPS::RawDataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RawDataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RawDataRecord_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RawDataRecord_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RawDataRecord_get" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
result = (arg1)->get(*arg2,arg3);
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::DataRecord::ReadStatus(static_cast< const Gempa::CAPS::DataRecord::ReadStatus& >(result))), SWIGTYPE_p_Gempa__CAPS__DataRecord__ReadStatus, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RawDataRecord_get(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[7] = {
0
};
Py_ssize_t ii;
if (!PyTuple_Check(args)) SWIG_fail;
argc = args ? PyObject_Length(args) : 0;
for (ii = 0; (ii < 6) && (ii < argc); ii++) {
argv[ii] = PyTuple_GET_ITEM(args,ii);
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__RawDataRecord, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__streambuf, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_RawDataRecord_get__SWIG_3(self, args);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__RawDataRecord, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__streambuf, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_RawDataRecord_get__SWIG_2(self, args);
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__RawDataRecord, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__streambuf, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_RawDataRecord_get__SWIG_1(self, args);
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__RawDataRecord, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__streambuf, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_RawDataRecord_get__SWIG_0(self, args);
}
}
}
}
}
}
}
fail:
SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RawDataRecord_get'.\n"
" Possible C/C++ prototypes are:\n"
" Gempa::CAPS::RawDataRecord::get(std::streambuf &,int,Gempa::CAPS::Time const &,Gempa::CAPS::Time const &,int)\n"
" Gempa::CAPS::RawDataRecord::get(std::streambuf &,int,Gempa::CAPS::Time const &,Gempa::CAPS::Time const &)\n"
" Gempa::CAPS::RawDataRecord::get(std::streambuf &,int,Gempa::CAPS::Time const &)\n"
" Gempa::CAPS::RawDataRecord::get(std::streambuf &,int)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_RawDataRecord_getData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RawDataRecord *arg1 = (Gempa::CAPS::RawDataRecord *) 0 ;
std::streambuf *arg2 = 0 ;
int arg3 ;
Gempa::CAPS::Time *arg4 = 0 ;
Gempa::CAPS::Time *arg5 = 0 ;
int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
int val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
int val6 ;
int ecode6 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
PyObject * obj5 = 0 ;
Gempa::CAPS::DataRecord::ReadStatus result;
if (!PyArg_ParseTuple(args,(char *)"OOOOOO:RawDataRecord_getData",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RawDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RawDataRecord_getData" "', argument " "1"" of type '" "Gempa::CAPS::RawDataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RawDataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RawDataRecord_getData" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RawDataRecord_getData" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RawDataRecord_getData" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "RawDataRecord_getData" "', argument " "4"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RawDataRecord_getData" "', argument " "4"" of type '" "Gempa::CAPS::Time const &""'");
}
arg4 = reinterpret_cast< Gempa::CAPS::Time * >(argp4);
res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "RawDataRecord_getData" "', argument " "5"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RawDataRecord_getData" "', argument " "5"" of type '" "Gempa::CAPS::Time const &""'");
}
arg5 = reinterpret_cast< Gempa::CAPS::Time * >(argp5);
ecode6 = SWIG_AsVal_int(obj5, &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "RawDataRecord_getData" "', argument " "6"" of type '" "int""'");
}
arg6 = static_cast< int >(val6);
result = (arg1)->getData(*arg2,arg3,(Gempa::CAPS::Time const &)*arg4,(Gempa::CAPS::Time const &)*arg5,arg6);
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::DataRecord::ReadStatus(static_cast< const Gempa::CAPS::DataRecord::ReadStatus& >(result))), SWIGTYPE_p_Gempa__CAPS__DataRecord__ReadStatus, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RawDataRecord_getData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RawDataRecord *arg1 = (Gempa::CAPS::RawDataRecord *) 0 ;
std::streambuf *arg2 = 0 ;
int arg3 ;
Gempa::CAPS::Time *arg4 = 0 ;
Gempa::CAPS::Time *arg5 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
int val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
Gempa::CAPS::DataRecord::ReadStatus result;
if (!PyArg_ParseTuple(args,(char *)"OOOOO:RawDataRecord_getData",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RawDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RawDataRecord_getData" "', argument " "1"" of type '" "Gempa::CAPS::RawDataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RawDataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RawDataRecord_getData" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RawDataRecord_getData" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RawDataRecord_getData" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "RawDataRecord_getData" "', argument " "4"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RawDataRecord_getData" "', argument " "4"" of type '" "Gempa::CAPS::Time const &""'");
}
arg4 = reinterpret_cast< Gempa::CAPS::Time * >(argp4);
res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "RawDataRecord_getData" "', argument " "5"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RawDataRecord_getData" "', argument " "5"" of type '" "Gempa::CAPS::Time const &""'");
}
arg5 = reinterpret_cast< Gempa::CAPS::Time * >(argp5);
result = (arg1)->getData(*arg2,arg3,(Gempa::CAPS::Time const &)*arg4,(Gempa::CAPS::Time const &)*arg5);
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::DataRecord::ReadStatus(static_cast< const Gempa::CAPS::DataRecord::ReadStatus& >(result))), SWIGTYPE_p_Gempa__CAPS__DataRecord__ReadStatus, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RawDataRecord_getData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RawDataRecord *arg1 = (Gempa::CAPS::RawDataRecord *) 0 ;
std::streambuf *arg2 = 0 ;
int arg3 ;
Gempa::CAPS::Time *arg4 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
int val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
Gempa::CAPS::DataRecord::ReadStatus result;
if (!PyArg_ParseTuple(args,(char *)"OOOO:RawDataRecord_getData",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RawDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RawDataRecord_getData" "', argument " "1"" of type '" "Gempa::CAPS::RawDataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RawDataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RawDataRecord_getData" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RawDataRecord_getData" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RawDataRecord_getData" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "RawDataRecord_getData" "', argument " "4"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RawDataRecord_getData" "', argument " "4"" of type '" "Gempa::CAPS::Time const &""'");
}
arg4 = reinterpret_cast< Gempa::CAPS::Time * >(argp4);
result = (arg1)->getData(*arg2,arg3,(Gempa::CAPS::Time const &)*arg4);
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::DataRecord::ReadStatus(static_cast< const Gempa::CAPS::DataRecord::ReadStatus& >(result))), SWIGTYPE_p_Gempa__CAPS__DataRecord__ReadStatus, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RawDataRecord_getData__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RawDataRecord *arg1 = (Gempa::CAPS::RawDataRecord *) 0 ;
std::streambuf *arg2 = 0 ;
int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
int val3 ;
int ecode3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
Gempa::CAPS::DataRecord::ReadStatus result;
if (!PyArg_ParseTuple(args,(char *)"OOO:RawDataRecord_getData",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RawDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RawDataRecord_getData" "', argument " "1"" of type '" "Gempa::CAPS::RawDataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RawDataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RawDataRecord_getData" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RawDataRecord_getData" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RawDataRecord_getData" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
result = (arg1)->getData(*arg2,arg3);
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::DataRecord::ReadStatus(static_cast< const Gempa::CAPS::DataRecord::ReadStatus& >(result))), SWIGTYPE_p_Gempa__CAPS__DataRecord__ReadStatus, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RawDataRecord_getData(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[7] = {
0
};
Py_ssize_t ii;
if (!PyTuple_Check(args)) SWIG_fail;
argc = args ? PyObject_Length(args) : 0;
for (ii = 0; (ii < 6) && (ii < argc); ii++) {
argv[ii] = PyTuple_GET_ITEM(args,ii);
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__RawDataRecord, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__streambuf, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_RawDataRecord_getData__SWIG_3(self, args);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__RawDataRecord, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__streambuf, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_RawDataRecord_getData__SWIG_2(self, args);
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__RawDataRecord, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__streambuf, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_RawDataRecord_getData__SWIG_1(self, args);
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__RawDataRecord, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__streambuf, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_RawDataRecord_getData__SWIG_0(self, args);
}
}
}
}
}
}
}
fail:
SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RawDataRecord_getData'.\n"
" Possible C/C++ prototypes are:\n"
" Gempa::CAPS::RawDataRecord::getData(std::streambuf &,int,Gempa::CAPS::Time const &,Gempa::CAPS::Time const &,int)\n"
" Gempa::CAPS::RawDataRecord::getData(std::streambuf &,int,Gempa::CAPS::Time const &,Gempa::CAPS::Time const &)\n"
" Gempa::CAPS::RawDataRecord::getData(std::streambuf &,int,Gempa::CAPS::Time const &)\n"
" Gempa::CAPS::RawDataRecord::getData(std::streambuf &,int)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_RawDataRecord_put(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RawDataRecord *arg1 = (Gempa::CAPS::RawDataRecord *) 0 ;
std::streambuf *arg2 = 0 ;
bool arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OOO:RawDataRecord_put",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RawDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RawDataRecord_put" "', argument " "1"" of type '" "Gempa::CAPS::RawDataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RawDataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RawDataRecord_put" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RawDataRecord_put" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
ecode3 = SWIG_AsVal_bool(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RawDataRecord_put" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
result = (bool)((Gempa::CAPS::RawDataRecord const *)arg1)->put(*arg2,arg3);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RawDataRecord_packetType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RawDataRecord *arg1 = (Gempa::CAPS::RawDataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::PacketType result;
if (!PyArg_ParseTuple(args,(char *)"O:RawDataRecord_packetType",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RawDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RawDataRecord_packetType" "', argument " "1"" of type '" "Gempa::CAPS::RawDataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RawDataRecord * >(argp1);
result = (Gempa::CAPS::PacketType)((Gempa::CAPS::RawDataRecord const *)arg1)->packetType();
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RawDataRecord_setStartTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RawDataRecord *arg1 = (Gempa::CAPS::RawDataRecord *) 0 ;
Gempa::CAPS::Time *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:RawDataRecord_setStartTime",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RawDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RawDataRecord_setStartTime" "', argument " "1"" of type '" "Gempa::CAPS::RawDataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RawDataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RawDataRecord_setStartTime" "', argument " "2"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RawDataRecord_setStartTime" "', argument " "2"" of type '" "Gempa::CAPS::Time const &""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::Time * >(argp2);
(arg1)->setStartTime((Gempa::CAPS::Time const &)*arg2);
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RawDataRecord_setSamplingFrequency(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RawDataRecord *arg1 = (Gempa::CAPS::RawDataRecord *) 0 ;
uint16_t arg2 ;
uint16_t arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned short val2 ;
int ecode2 = 0 ;
unsigned short val3 ;
int ecode3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OOO:RawDataRecord_setSamplingFrequency",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RawDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RawDataRecord_setSamplingFrequency" "', argument " "1"" of type '" "Gempa::CAPS::RawDataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RawDataRecord * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_short(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RawDataRecord_setSamplingFrequency" "', argument " "2"" of type '" "uint16_t""'");
}
arg2 = static_cast< uint16_t >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_short(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RawDataRecord_setSamplingFrequency" "', argument " "3"" of type '" "uint16_t""'");
}
arg3 = static_cast< uint16_t >(val3);
(arg1)->setSamplingFrequency(arg2,arg3);
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RawDataRecord_setDataType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RawDataRecord *arg1 = (Gempa::CAPS::RawDataRecord *) 0 ;
Gempa::CAPS::DataType arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
int val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:RawDataRecord_setDataType",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RawDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RawDataRecord_setDataType" "', argument " "1"" of type '" "Gempa::CAPS::RawDataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RawDataRecord * >(argp1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RawDataRecord_setDataType" "', argument " "2"" of type '" "Gempa::CAPS::DataType""'");
}
arg2 = static_cast< Gempa::CAPS::DataType >(val2);
(arg1)->setDataType(arg2);
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RawDataRecord_setBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RawDataRecord *arg1 = (Gempa::CAPS::RawDataRecord *) 0 ;
void *arg2 = (void *) 0 ;
size_t arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
size_t val3 ;
int ecode3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OOO:RawDataRecord_setBuffer",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RawDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RawDataRecord_setBuffer" "', argument " "1"" of type '" "Gempa::CAPS::RawDataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RawDataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RawDataRecord_setBuffer" "', argument " "2"" of type '" "void const *""'");
}
ecode3 = SWIG_AsVal_size_t(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RawDataRecord_setBuffer" "', argument " "3"" of type '" "size_t""'");
}
arg3 = static_cast< size_t >(val3);
(arg1)->setBuffer((void const *)arg2,arg3);
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_RawDataRecord(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RawDataRecord *arg1 = (Gempa::CAPS::RawDataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:delete_RawDataRecord",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RawDataRecord, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RawDataRecord" "', argument " "1"" of type '" "Gempa::CAPS::RawDataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RawDataRecord * >(argp1);
delete arg1;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *RawDataRecord_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_Gempa__CAPS__RawDataRecord, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_FixedRawDataRecord_canTrim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::FixedRawDataRecord *arg1 = (Gempa::CAPS::FixedRawDataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"O:FixedRawDataRecord_canTrim",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__FixedRawDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FixedRawDataRecord_canTrim" "', argument " "1"" of type '" "Gempa::CAPS::FixedRawDataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::FixedRawDataRecord * >(argp1);
result = (bool)((Gempa::CAPS::FixedRawDataRecord const *)arg1)->canTrim();
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FixedRawDataRecord_canMerge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::FixedRawDataRecord *arg1 = (Gempa::CAPS::FixedRawDataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"O:FixedRawDataRecord_canMerge",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__FixedRawDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FixedRawDataRecord_canMerge" "', argument " "1"" of type '" "Gempa::CAPS::FixedRawDataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::FixedRawDataRecord * >(argp1);
result = (bool)((Gempa::CAPS::FixedRawDataRecord const *)arg1)->canMerge();
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FixedRawDataRecord_trim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::FixedRawDataRecord *arg1 = (Gempa::CAPS::FixedRawDataRecord *) 0 ;
Gempa::CAPS::Time *arg2 = 0 ;
Gempa::CAPS::Time *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OOO:FixedRawDataRecord_trim",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__FixedRawDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FixedRawDataRecord_trim" "', argument " "1"" of type '" "Gempa::CAPS::FixedRawDataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::FixedRawDataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FixedRawDataRecord_trim" "', argument " "2"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FixedRawDataRecord_trim" "', argument " "2"" of type '" "Gempa::CAPS::Time const &""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::Time * >(argp2);
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FixedRawDataRecord_trim" "', argument " "3"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FixedRawDataRecord_trim" "', argument " "3"" of type '" "Gempa::CAPS::Time const &""'");
}
arg3 = reinterpret_cast< Gempa::CAPS::Time * >(argp3);
result = (bool)((Gempa::CAPS::FixedRawDataRecord const *)arg1)->trim((Gempa::CAPS::Time const &)*arg2,(Gempa::CAPS::Time const &)*arg3);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FixedRawDataRecord_formatName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::FixedRawDataRecord *arg1 = (Gempa::CAPS::FixedRawDataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
char *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:FixedRawDataRecord_formatName",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__FixedRawDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FixedRawDataRecord_formatName" "', argument " "1"" of type '" "Gempa::CAPS::FixedRawDataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::FixedRawDataRecord * >(argp1);
result = (char *)((Gempa::CAPS::FixedRawDataRecord const *)arg1)->formatName();
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FixedRawDataRecord_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::FixedRawDataRecord *arg1 = (Gempa::CAPS::FixedRawDataRecord *) 0 ;
std::streambuf *arg2 = 0 ;
int arg3 ;
Gempa::CAPS::Time *arg4 = 0 ;
Gempa::CAPS::Time *arg5 = 0 ;
int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
int val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
int val6 ;
int ecode6 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
PyObject * obj5 = 0 ;
Gempa::CAPS::DataRecord::ReadStatus result;
if (!PyArg_ParseTuple(args,(char *)"OOOOOO:FixedRawDataRecord_get",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__FixedRawDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FixedRawDataRecord_get" "', argument " "1"" of type '" "Gempa::CAPS::FixedRawDataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::FixedRawDataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FixedRawDataRecord_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FixedRawDataRecord_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FixedRawDataRecord_get" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "FixedRawDataRecord_get" "', argument " "4"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FixedRawDataRecord_get" "', argument " "4"" of type '" "Gempa::CAPS::Time const &""'");
}
arg4 = reinterpret_cast< Gempa::CAPS::Time * >(argp4);
res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "FixedRawDataRecord_get" "', argument " "5"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FixedRawDataRecord_get" "', argument " "5"" of type '" "Gempa::CAPS::Time const &""'");
}
arg5 = reinterpret_cast< Gempa::CAPS::Time * >(argp5);
ecode6 = SWIG_AsVal_int(obj5, &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "FixedRawDataRecord_get" "', argument " "6"" of type '" "int""'");
}
arg6 = static_cast< int >(val6);
result = (arg1)->get(*arg2,arg3,(Gempa::CAPS::Time const &)*arg4,(Gempa::CAPS::Time const &)*arg5,arg6);
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::DataRecord::ReadStatus(static_cast< const Gempa::CAPS::DataRecord::ReadStatus& >(result))), SWIGTYPE_p_Gempa__CAPS__DataRecord__ReadStatus, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FixedRawDataRecord_packetType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::FixedRawDataRecord *arg1 = (Gempa::CAPS::FixedRawDataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::PacketType result;
if (!PyArg_ParseTuple(args,(char *)"O:FixedRawDataRecord_packetType",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__FixedRawDataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FixedRawDataRecord_packetType" "', argument " "1"" of type '" "Gempa::CAPS::FixedRawDataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::FixedRawDataRecord * >(argp1);
result = (Gempa::CAPS::PacketType)((Gempa::CAPS::FixedRawDataRecord const *)arg1)->packetType();
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_FixedRawDataRecord(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::FixedRawDataRecord *arg1 = (Gempa::CAPS::FixedRawDataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:delete_FixedRawDataRecord",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__FixedRawDataRecord, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FixedRawDataRecord" "', argument " "1"" of type '" "Gempa::CAPS::FixedRawDataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::FixedRawDataRecord * >(argp1);
delete arg1;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *FixedRawDataRecord_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_Gempa__CAPS__FixedRawDataRecord, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_ChunkHeader_chunkSize_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::ChunkHeader *arg1 = (Gempa::CAPS::RIFF::ChunkHeader *) 0 ;
int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
int val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:ChunkHeader_chunkSize_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__ChunkHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ChunkHeader_chunkSize_set" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::ChunkHeader *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::ChunkHeader * >(argp1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ChunkHeader_chunkSize_set" "', argument " "2"" of type '" "int""'");
}
arg2 = static_cast< int >(val2);
if (arg1) (arg1)->chunkSize = arg2;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ChunkHeader_chunkSize_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::ChunkHeader *arg1 = (Gempa::CAPS::RIFF::ChunkHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
int result;
if (!PyArg_ParseTuple(args,(char *)"O:ChunkHeader_chunkSize_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__ChunkHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ChunkHeader_chunkSize_get" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::ChunkHeader *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::ChunkHeader * >(argp1);
result = (int) ((arg1)->chunkSize);
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ChunkHeader_setChunkType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::ChunkHeader *arg1 = (Gempa::CAPS::RIFF::ChunkHeader *) 0 ;
char *arg2 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OO:ChunkHeader_setChunkType",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__ChunkHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ChunkHeader_setChunkType" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::ChunkHeader *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::ChunkHeader * >(argp1);
res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ChunkHeader_setChunkType" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
result = (bool)(arg1)->setChunkType((char const *)arg2);
resultobj = SWIG_From_bool(static_cast< bool >(result));
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return NULL;
}
SWIGINTERN PyObject *_wrap_ChunkHeader_isChunkType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::ChunkHeader *arg1 = (Gempa::CAPS::RIFF::ChunkHeader *) 0 ;
char *arg2 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OO:ChunkHeader_isChunkType",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__ChunkHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ChunkHeader_isChunkType" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::ChunkHeader const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::ChunkHeader * >(argp1);
res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ChunkHeader_isChunkType" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
result = (bool)((Gempa::CAPS::RIFF::ChunkHeader const *)arg1)->isChunkType((char const *)arg2);
resultobj = SWIG_From_bool(static_cast< bool >(result));
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return NULL;
}
SWIGINTERN PyObject *_wrap_ChunkHeader_validChunkType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::ChunkHeader *arg1 = (Gempa::CAPS::RIFF::ChunkHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"O:ChunkHeader_validChunkType",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__ChunkHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ChunkHeader_validChunkType" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::ChunkHeader const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::ChunkHeader * >(argp1);
result = (bool)((Gempa::CAPS::RIFF::ChunkHeader const *)arg1)->validChunkType();
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ChunkHeader_dataSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::ChunkHeader *arg1 = (Gempa::CAPS::RIFF::ChunkHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
int result;
if (!PyArg_ParseTuple(args,(char *)"O:ChunkHeader_dataSize",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__ChunkHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ChunkHeader_dataSize" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::ChunkHeader const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::ChunkHeader * >(argp1);
result = (int)((Gempa::CAPS::RIFF::ChunkHeader const *)arg1)->dataSize();
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ChunkHeader_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::ChunkHeader *arg1 = (Gempa::CAPS::RIFF::ChunkHeader *) 0 ;
std::istream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OO:ChunkHeader_read",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__ChunkHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ChunkHeader_read" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::ChunkHeader *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::ChunkHeader * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__istream, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ChunkHeader_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ChunkHeader_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
result = (bool)(arg1)->read(*arg2);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ChunkHeader_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::ChunkHeader *arg1 = (Gempa::CAPS::RIFF::ChunkHeader *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OO:ChunkHeader_write",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__ChunkHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ChunkHeader_write" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::ChunkHeader const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::ChunkHeader * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__ostream, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ChunkHeader_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ChunkHeader_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
result = (bool)((Gempa::CAPS::RIFF::ChunkHeader const *)arg1)->write(*arg2);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ChunkHeader_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::ChunkHeader *arg1 = (Gempa::CAPS::RIFF::ChunkHeader *) 0 ;
std::streambuf *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OO:ChunkHeader_get",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__ChunkHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ChunkHeader_get" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::ChunkHeader *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::ChunkHeader * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ChunkHeader_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ChunkHeader_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
result = (bool)(arg1)->get(*arg2);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ChunkHeader_put(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::ChunkHeader *arg1 = (Gempa::CAPS::RIFF::ChunkHeader *) 0 ;
std::streambuf *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OO:ChunkHeader_put",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__ChunkHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ChunkHeader_put" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::ChunkHeader const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::ChunkHeader * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ChunkHeader_put" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ChunkHeader_put" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
result = (bool)((Gempa::CAPS::RIFF::ChunkHeader const *)arg1)->put(*arg2);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ChunkHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::ChunkHeader *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)":new_ChunkHeader")) SWIG_fail;
result = (Gempa::CAPS::RIFF::ChunkHeader *)new Gempa::CAPS::RIFF::ChunkHeader();
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__RIFF__ChunkHeader, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ChunkHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::ChunkHeader *arg1 = (Gempa::CAPS::RIFF::ChunkHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:delete_ChunkHeader",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__ChunkHeader, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ChunkHeader" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::ChunkHeader *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::ChunkHeader * >(argp1);
delete arg1;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *ChunkHeader_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_Gempa__CAPS__RIFF__ChunkHeader, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN int Swig_var_ChunkHeaderSize_set(PyObject *) {
SWIG_Error(SWIG_AttributeError,"Variable ChunkHeaderSize is read-only.");
return 1;
}
SWIGINTERN PyObject *Swig_var_ChunkHeaderSize_get(void) {
PyObject *pyobj = 0;
pyobj = SWIG_From_int(static_cast< int >(Gempa::CAPS::RIFF::ChunkHeaderSize));
return pyobj;
}
SWIGINTERN PyObject *_wrap_new_ChunkIterator__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::ChunkIterator *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)":new_ChunkIterator")) SWIG_fail;
result = (Gempa::CAPS::RIFF::ChunkIterator *)new Gempa::CAPS::RIFF::ChunkIterator();
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__RIFF__ChunkIterator, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ChunkIterator__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::string *arg1 = 0 ;
int res1 = SWIG_OLDOBJ ;
PyObject * obj0 = 0 ;
Gempa::CAPS::RIFF::ChunkIterator *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:new_ChunkIterator",&obj0)) SWIG_fail;
{
std::string *ptr = (std::string *)0;
res1 = SWIG_AsPtr_std_string(obj0, &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ChunkIterator" "', argument " "1"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ChunkIterator" "', argument " "1"" of type '" "std::string const &""'");
}
arg1 = ptr;
}
result = (Gempa::CAPS::RIFF::ChunkIterator *)new Gempa::CAPS::RIFF::ChunkIterator((std::string const &)*arg1);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__RIFF__ChunkIterator, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ChunkIterator__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::istream *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::RIFF::ChunkIterator *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:new_ChunkIterator",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_std__istream, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ChunkIterator" "', argument " "1"" of type '" "std::istream &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ChunkIterator" "', argument " "1"" of type '" "std::istream &""'");
}
arg1 = reinterpret_cast< std::istream * >(argp1);
result = (Gempa::CAPS::RIFF::ChunkIterator *)new Gempa::CAPS::RIFF::ChunkIterator(*arg1);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__RIFF__ChunkIterator, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ChunkIterator(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
Py_ssize_t ii;
if (!PyTuple_Check(args)) SWIG_fail;
argc = args ? PyObject_Length(args) : 0;
for (ii = 0; (ii < 1) && (ii < argc); ii++) {
argv[ii] = PyTuple_GET_ITEM(args,ii);
}
if (argc == 0) {
return _wrap_new_ChunkIterator__SWIG_0(self, args);
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__istream, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_ChunkIterator__SWIG_2(self, args);
}
}
if (argc == 1) {
int _v;
int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_ChunkIterator__SWIG_1(self, args);
}
}
fail:
SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_ChunkIterator'.\n"
" Possible C/C++ prototypes are:\n"
" Gempa::CAPS::RIFF::ChunkIterator::ChunkIterator()\n"
" Gempa::CAPS::RIFF::ChunkIterator::ChunkIterator(std::string const &)\n"
" Gempa::CAPS::RIFF::ChunkIterator::ChunkIterator(std::istream &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_ChunkIterator_begin__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::ChunkIterator *arg1 = (Gempa::CAPS::RIFF::ChunkIterator *) 0 ;
std::string *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:ChunkIterator_begin",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__ChunkIterator, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ChunkIterator_begin" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::ChunkIterator *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::ChunkIterator * >(argp1);
{
std::string *ptr = (std::string *)0;
res2 = SWIG_AsPtr_std_string(obj1, &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ChunkIterator_begin" "', argument " "2"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ChunkIterator_begin" "', argument " "2"" of type '" "std::string const &""'");
}
arg2 = ptr;
}
(arg1)->begin((std::string const &)*arg2);
resultobj = SWIG_Py_Void();
if (SWIG_IsNewObj(res2)) delete arg2;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
return NULL;
}
SWIGINTERN PyObject *_wrap_ChunkIterator_begin__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::ChunkIterator *arg1 = (Gempa::CAPS::RIFF::ChunkIterator *) 0 ;
std::istream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:ChunkIterator_begin",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__ChunkIterator, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ChunkIterator_begin" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::ChunkIterator *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::ChunkIterator * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__istream, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ChunkIterator_begin" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ChunkIterator_begin" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
(arg1)->begin(*arg2);
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ChunkIterator_begin(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
Py_ssize_t ii;
if (!PyTuple_Check(args)) SWIG_fail;
argc = args ? PyObject_Length(args) : 0;
for (ii = 0; (ii < 2) && (ii < argc); ii++) {
argv[ii] = PyTuple_GET_ITEM(args,ii);
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__RIFF__ChunkIterator, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__istream, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ChunkIterator_begin__SWIG_1(self, args);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__RIFF__ChunkIterator, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ChunkIterator_begin__SWIG_0(self, args);
}
}
}
fail:
SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'ChunkIterator_begin'.\n"
" Possible C/C++ prototypes are:\n"
" Gempa::CAPS::RIFF::ChunkIterator::begin(std::string const &)\n"
" Gempa::CAPS::RIFF::ChunkIterator::begin(std::istream &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_ChunkIterator_next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::ChunkIterator *arg1 = (Gempa::CAPS::RIFF::ChunkIterator *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"O:ChunkIterator_next",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__ChunkIterator, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ChunkIterator_next" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::ChunkIterator *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::ChunkIterator * >(argp1);
result = (bool)(arg1)->next();
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ChunkIterator_header(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::ChunkIterator *arg1 = (Gempa::CAPS::RIFF::ChunkIterator *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::RIFF::ChunkHeader *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:ChunkIterator_header",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__ChunkIterator, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ChunkIterator_header" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::ChunkIterator const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::ChunkIterator * >(argp1);
result = (Gempa::CAPS::RIFF::ChunkHeader *) &((Gempa::CAPS::RIFF::ChunkIterator const *)arg1)->header();
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__RIFF__ChunkHeader, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ChunkIterator_headerPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::ChunkIterator *arg1 = (Gempa::CAPS::RIFF::ChunkIterator *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
size_t result;
if (!PyArg_ParseTuple(args,(char *)"O:ChunkIterator_headerPos",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__ChunkIterator, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ChunkIterator_headerPos" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::ChunkIterator const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::ChunkIterator * >(argp1);
result = ((Gempa::CAPS::RIFF::ChunkIterator const *)arg1)->headerPos();
resultobj = SWIG_From_size_t(static_cast< size_t >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ChunkIterator_contentPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::ChunkIterator *arg1 = (Gempa::CAPS::RIFF::ChunkIterator *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
size_t result;
if (!PyArg_ParseTuple(args,(char *)"O:ChunkIterator_contentPos",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__ChunkIterator, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ChunkIterator_contentPos" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::ChunkIterator const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::ChunkIterator * >(argp1);
result = ((Gempa::CAPS::RIFF::ChunkIterator const *)arg1)->contentPos();
resultobj = SWIG_From_size_t(static_cast< size_t >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ChunkIterator_istream(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::ChunkIterator *arg1 = (Gempa::CAPS::RIFF::ChunkIterator *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
std::istream *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:ChunkIterator_istream",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__ChunkIterator, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ChunkIterator_istream" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::ChunkIterator const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::ChunkIterator * >(argp1);
result = (std::istream *) &((Gempa::CAPS::RIFF::ChunkIterator const *)arg1)->istream();
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__istream, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ChunkIterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::ChunkIterator *arg1 = (Gempa::CAPS::RIFF::ChunkIterator *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:delete_ChunkIterator",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__ChunkIterator, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ChunkIterator" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::ChunkIterator *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::ChunkIterator * >(argp1);
delete arg1;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *ChunkIterator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_Gempa__CAPS__RIFF__ChunkIterator, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_Chunk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::Chunk *arg1 = (Gempa::CAPS::RIFF::Chunk *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:delete_Chunk",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__Chunk, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Chunk" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::Chunk *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::Chunk * >(argp1);
delete arg1;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Chunk_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::Chunk *arg1 = (Gempa::CAPS::RIFF::Chunk *) 0 ;
std::istream *arg2 = 0 ;
int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
int val3 ;
int ecode3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OOO:Chunk_read",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__Chunk, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Chunk_read" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::Chunk *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::Chunk * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__istream, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Chunk_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Chunk_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Chunk_read" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
result = (bool)(arg1)->read(*arg2,arg3);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Chunk_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::Chunk *arg1 = (Gempa::CAPS::RIFF::Chunk *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OO:Chunk_write",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__Chunk, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Chunk_write" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::Chunk const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::Chunk * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__ostream, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Chunk_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Chunk_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
result = (bool)((Gempa::CAPS::RIFF::Chunk const *)arg1)->write(*arg2);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Chunk_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::Chunk *arg1 = (Gempa::CAPS::RIFF::Chunk *) 0 ;
std::streambuf *arg2 = 0 ;
int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
int val3 ;
int ecode3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OOO:Chunk_get",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__Chunk, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Chunk_get" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::Chunk *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::Chunk * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Chunk_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Chunk_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Chunk_get" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
result = (bool)(arg1)->get(*arg2,arg3);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Chunk_put(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::Chunk *arg1 = (Gempa::CAPS::RIFF::Chunk *) 0 ;
std::streambuf *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OO:Chunk_put",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__Chunk, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Chunk_put" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::Chunk const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::Chunk * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Chunk_put" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Chunk_put" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
result = (bool)((Gempa::CAPS::RIFF::Chunk const *)arg1)->put(*arg2);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Chunk_chunkSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::Chunk *arg1 = (Gempa::CAPS::RIFF::Chunk *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
int result;
if (!PyArg_ParseTuple(args,(char *)"O:Chunk_chunkSize",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__Chunk, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Chunk_chunkSize" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::Chunk const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::Chunk * >(argp1);
result = (int)((Gempa::CAPS::RIFF::Chunk const *)arg1)->chunkSize();
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *Chunk_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_Gempa__CAPS__RIFF__Chunk, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_HeadChunk_data_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::HeadChunk *arg1 = (Gempa::CAPS::RIFF::HeadChunk *) 0 ;
Gempa::CAPS::PacketDataHeader *arg2 = (Gempa::CAPS::PacketDataHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:HeadChunk_data_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__HeadChunk, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HeadChunk_data_set" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::HeadChunk *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::HeadChunk * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_Gempa__CAPS__PacketDataHeader, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HeadChunk_data_set" "', argument " "2"" of type '" "Gempa::CAPS::PacketDataHeader *""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::PacketDataHeader * >(argp2);
if (arg1) (arg1)->data = *arg2;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_HeadChunk_data_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::HeadChunk *arg1 = (Gempa::CAPS::RIFF::HeadChunk *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::PacketDataHeader *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:HeadChunk_data_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__HeadChunk, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HeadChunk_data_get" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::HeadChunk *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::HeadChunk * >(argp1);
result = (Gempa::CAPS::PacketDataHeader *)& ((arg1)->data);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__PacketDataHeader, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_HeadChunk_chunkSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::HeadChunk *arg1 = (Gempa::CAPS::RIFF::HeadChunk *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
int result;
if (!PyArg_ParseTuple(args,(char *)"O:HeadChunk_chunkSize",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__HeadChunk, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HeadChunk_chunkSize" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::HeadChunk const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::HeadChunk * >(argp1);
result = (int)((Gempa::CAPS::RIFF::HeadChunk const *)arg1)->chunkSize();
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_HeadChunk_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::HeadChunk *arg1 = (Gempa::CAPS::RIFF::HeadChunk *) 0 ;
std::streambuf *arg2 = 0 ;
int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
int val3 ;
int ecode3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OOO:HeadChunk_get",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__HeadChunk, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HeadChunk_get" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::HeadChunk *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::HeadChunk * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HeadChunk_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HeadChunk_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HeadChunk_get" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
result = (bool)(arg1)->get(*arg2,arg3);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_HeadChunk_put(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::HeadChunk *arg1 = (Gempa::CAPS::RIFF::HeadChunk *) 0 ;
std::streambuf *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OO:HeadChunk_put",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__HeadChunk, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HeadChunk_put" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::HeadChunk const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::HeadChunk * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HeadChunk_put" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HeadChunk_put" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
result = (bool)((Gempa::CAPS::RIFF::HeadChunk const *)arg1)->put(*arg2);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_HeadChunk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::HeadChunk *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)":new_HeadChunk")) SWIG_fail;
result = (Gempa::CAPS::RIFF::HeadChunk *)new Gempa::CAPS::RIFF::HeadChunk();
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__RIFF__HeadChunk, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_HeadChunk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::HeadChunk *arg1 = (Gempa::CAPS::RIFF::HeadChunk *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:delete_HeadChunk",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__HeadChunk, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HeadChunk" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::HeadChunk *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::HeadChunk * >(argp1);
delete arg1;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *HeadChunk_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_Gempa__CAPS__RIFF__HeadChunk, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_SID_networkCode_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::SID *arg1 = (Gempa::CAPS::RIFF::SID *) 0 ;
std::string *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:SID_networkCode_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__SID, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SID_networkCode_set" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::SID *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::SID * >(argp1);
{
std::string *ptr = (std::string *)0;
res2 = SWIG_AsPtr_std_string(obj1, &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SID_networkCode_set" "', argument " "2"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SID_networkCode_set" "', argument " "2"" of type '" "std::string const &""'");
}
arg2 = ptr;
}
if (arg1) (arg1)->networkCode = *arg2;
resultobj = SWIG_Py_Void();
if (SWIG_IsNewObj(res2)) delete arg2;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
return NULL;
}
SWIGINTERN PyObject *_wrap_SID_networkCode_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::SID *arg1 = (Gempa::CAPS::RIFF::SID *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
std::string *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:SID_networkCode_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__SID, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SID_networkCode_get" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::SID *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::SID * >(argp1);
result = (std::string *) & ((arg1)->networkCode);
resultobj = SWIG_From_std_string(static_cast< std::string >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SID_stationCode_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::SID *arg1 = (Gempa::CAPS::RIFF::SID *) 0 ;
std::string *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:SID_stationCode_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__SID, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SID_stationCode_set" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::SID *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::SID * >(argp1);
{
std::string *ptr = (std::string *)0;
res2 = SWIG_AsPtr_std_string(obj1, &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SID_stationCode_set" "', argument " "2"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SID_stationCode_set" "', argument " "2"" of type '" "std::string const &""'");
}
arg2 = ptr;
}
if (arg1) (arg1)->stationCode = *arg2;
resultobj = SWIG_Py_Void();
if (SWIG_IsNewObj(res2)) delete arg2;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
return NULL;
}
SWIGINTERN PyObject *_wrap_SID_stationCode_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::SID *arg1 = (Gempa::CAPS::RIFF::SID *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
std::string *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:SID_stationCode_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__SID, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SID_stationCode_get" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::SID *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::SID * >(argp1);
result = (std::string *) & ((arg1)->stationCode);
resultobj = SWIG_From_std_string(static_cast< std::string >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SID_locationCode_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::SID *arg1 = (Gempa::CAPS::RIFF::SID *) 0 ;
std::string *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:SID_locationCode_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__SID, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SID_locationCode_set" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::SID *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::SID * >(argp1);
{
std::string *ptr = (std::string *)0;
res2 = SWIG_AsPtr_std_string(obj1, &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SID_locationCode_set" "', argument " "2"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SID_locationCode_set" "', argument " "2"" of type '" "std::string const &""'");
}
arg2 = ptr;
}
if (arg1) (arg1)->locationCode = *arg2;
resultobj = SWIG_Py_Void();
if (SWIG_IsNewObj(res2)) delete arg2;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
return NULL;
}
SWIGINTERN PyObject *_wrap_SID_locationCode_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::SID *arg1 = (Gempa::CAPS::RIFF::SID *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
std::string *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:SID_locationCode_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__SID, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SID_locationCode_get" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::SID *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::SID * >(argp1);
result = (std::string *) & ((arg1)->locationCode);
resultobj = SWIG_From_std_string(static_cast< std::string >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SID_channelCode_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::SID *arg1 = (Gempa::CAPS::RIFF::SID *) 0 ;
std::string *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:SID_channelCode_set",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__SID, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SID_channelCode_set" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::SID *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::SID * >(argp1);
{
std::string *ptr = (std::string *)0;
res2 = SWIG_AsPtr_std_string(obj1, &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SID_channelCode_set" "', argument " "2"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SID_channelCode_set" "', argument " "2"" of type '" "std::string const &""'");
}
arg2 = ptr;
}
if (arg1) (arg1)->channelCode = *arg2;
resultobj = SWIG_Py_Void();
if (SWIG_IsNewObj(res2)) delete arg2;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
return NULL;
}
SWIGINTERN PyObject *_wrap_SID_channelCode_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::SID *arg1 = (Gempa::CAPS::RIFF::SID *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
std::string *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:SID_channelCode_get",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__SID, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SID_channelCode_get" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::SID *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::SID * >(argp1);
result = (std::string *) & ((arg1)->channelCode);
resultobj = SWIG_From_std_string(static_cast< std::string >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SID___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::SID *arg1 = (Gempa::CAPS::RIFF::SID *) 0 ;
Gempa::CAPS::RIFF::SID *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OO:SID___eq__",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__SID, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SID___eq__" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::SID const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::SID * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Gempa__CAPS__RIFF__SID, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SID___eq__" "', argument " "2"" of type '" "Gempa::CAPS::RIFF::SID const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SID___eq__" "', argument " "2"" of type '" "Gempa::CAPS::RIFF::SID const &""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::RIFF::SID * >(argp2);
result = (bool)((Gempa::CAPS::RIFF::SID const *)arg1)->operator ==((Gempa::CAPS::RIFF::SID const &)*arg2);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SID___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::SID *arg1 = (Gempa::CAPS::RIFF::SID *) 0 ;
Gempa::CAPS::RIFF::SID *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OO:SID___ne__",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__SID, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SID___ne__" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::SID const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::SID * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Gempa__CAPS__RIFF__SID, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SID___ne__" "', argument " "2"" of type '" "Gempa::CAPS::RIFF::SID const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SID___ne__" "', argument " "2"" of type '" "Gempa::CAPS::RIFF::SID const &""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::RIFF::SID * >(argp2);
result = (bool)((Gempa::CAPS::RIFF::SID const *)arg1)->operator !=((Gempa::CAPS::RIFF::SID const &)*arg2);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SID_toString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::SID *arg1 = (Gempa::CAPS::RIFF::SID *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
std::string result;
if (!PyArg_ParseTuple(args,(char *)"O:SID_toString",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__SID, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SID_toString" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::SID const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::SID * >(argp1);
result = ((Gempa::CAPS::RIFF::SID const *)arg1)->toString();
resultobj = SWIG_From_std_string(static_cast< std::string >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_SID(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::SID *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)":new_SID")) SWIG_fail;
result = (Gempa::CAPS::RIFF::SID *)new Gempa::CAPS::RIFF::SID();
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__RIFF__SID, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_SID(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::SID *arg1 = (Gempa::CAPS::RIFF::SID *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:delete_SID",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__SID, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SID" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::SID *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::SID * >(argp1);
delete arg1;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *SID_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_Gempa__CAPS__RIFF__SID, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_SIDChunk_chunkSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::SIDChunk *arg1 = (Gempa::CAPS::RIFF::SIDChunk *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
int result;
if (!PyArg_ParseTuple(args,(char *)"O:SIDChunk_chunkSize",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__SIDChunk, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SIDChunk_chunkSize" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::SIDChunk const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::SIDChunk * >(argp1);
result = (int)((Gempa::CAPS::RIFF::SIDChunk const *)arg1)->chunkSize();
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SIDChunk_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::SIDChunk *arg1 = (Gempa::CAPS::RIFF::SIDChunk *) 0 ;
std::streambuf *arg2 = 0 ;
int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
int val3 ;
int ecode3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OOO:SIDChunk_get",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__SIDChunk, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SIDChunk_get" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::SIDChunk *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::SIDChunk * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SIDChunk_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SIDChunk_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SIDChunk_get" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
result = (bool)(arg1)->get(*arg2,arg3);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SIDChunk_put(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::SIDChunk *arg1 = (Gempa::CAPS::RIFF::SIDChunk *) 0 ;
std::streambuf *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OO:SIDChunk_put",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__SIDChunk, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SIDChunk_put" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::SIDChunk const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::SIDChunk * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SIDChunk_put" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SIDChunk_put" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
result = (bool)((Gempa::CAPS::RIFF::SIDChunk const *)arg1)->put(*arg2);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_SIDChunk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::SIDChunk *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)":new_SIDChunk")) SWIG_fail;
result = (Gempa::CAPS::RIFF::SIDChunk *)new Gempa::CAPS::RIFF::SIDChunk();
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__RIFF__SIDChunk, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_SIDChunk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RIFF::SIDChunk *arg1 = (Gempa::CAPS::RIFF::SIDChunk *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:delete_SIDChunk",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RIFF__SIDChunk, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SIDChunk" "', argument " "1"" of type '" "Gempa::CAPS::RIFF::SIDChunk *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RIFF::SIDChunk * >(argp1);
delete arg1;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *SIDChunk_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_Gempa__CAPS__RIFF__SIDChunk, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_RTCM2DataRecord_formatName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RTCM2DataRecord *arg1 = (Gempa::CAPS::RTCM2DataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
char *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:RTCM2DataRecord_formatName",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RTCM2DataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RTCM2DataRecord_formatName" "', argument " "1"" of type '" "Gempa::CAPS::RTCM2DataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RTCM2DataRecord * >(argp1);
result = (char *)((Gempa::CAPS::RTCM2DataRecord const *)arg1)->formatName();
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RTCM2DataRecord_setTimeStamp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RTCM2DataRecord *arg1 = (Gempa::CAPS::RTCM2DataRecord *) 0 ;
Gempa::CAPS::Time *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:RTCM2DataRecord_setTimeStamp",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RTCM2DataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RTCM2DataRecord_setTimeStamp" "', argument " "1"" of type '" "Gempa::CAPS::RTCM2DataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RTCM2DataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RTCM2DataRecord_setTimeStamp" "', argument " "2"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RTCM2DataRecord_setTimeStamp" "', argument " "2"" of type '" "Gempa::CAPS::Time const &""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::Time * >(argp2);
(arg1)->setTimeStamp((Gempa::CAPS::Time const &)*arg2);
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RTCM2DataRecord_setSamplingFrequency(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RTCM2DataRecord *arg1 = (Gempa::CAPS::RTCM2DataRecord *) 0 ;
uint16_t arg2 ;
uint16_t arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned short val2 ;
int ecode2 = 0 ;
unsigned short val3 ;
int ecode3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OOO:RTCM2DataRecord_setSamplingFrequency",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RTCM2DataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RTCM2DataRecord_setSamplingFrequency" "', argument " "1"" of type '" "Gempa::CAPS::RTCM2DataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RTCM2DataRecord * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_short(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RTCM2DataRecord_setSamplingFrequency" "', argument " "2"" of type '" "uint16_t""'");
}
arg2 = static_cast< uint16_t >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_short(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RTCM2DataRecord_setSamplingFrequency" "', argument " "3"" of type '" "uint16_t""'");
}
arg3 = static_cast< uint16_t >(val3);
(arg1)->setSamplingFrequency(arg2,arg3);
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RTCM2DataRecord_readMetaData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RTCM2DataRecord *arg1 = (Gempa::CAPS::RTCM2DataRecord *) 0 ;
std::streambuf *arg2 = 0 ;
int arg3 ;
Gempa::CAPS::DataRecord::Header *arg4 = 0 ;
Gempa::CAPS::Time *arg5 = 0 ;
Gempa::CAPS::Time *arg6 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
int val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
PyObject * obj5 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OOOOOO:RTCM2DataRecord_readMetaData",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RTCM2DataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RTCM2DataRecord_readMetaData" "', argument " "1"" of type '" "Gempa::CAPS::RTCM2DataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RTCM2DataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RTCM2DataRecord_readMetaData" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RTCM2DataRecord_readMetaData" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RTCM2DataRecord_readMetaData" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_Gempa__CAPS__DataRecord__Header, 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "RTCM2DataRecord_readMetaData" "', argument " "4"" of type '" "Gempa::CAPS::DataRecord::Header &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RTCM2DataRecord_readMetaData" "', argument " "4"" of type '" "Gempa::CAPS::DataRecord::Header &""'");
}
arg4 = reinterpret_cast< Gempa::CAPS::DataRecord::Header * >(argp4);
res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_Gempa__CAPS__Time, 0 );
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "RTCM2DataRecord_readMetaData" "', argument " "5"" of type '" "Gempa::CAPS::Time &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RTCM2DataRecord_readMetaData" "', argument " "5"" of type '" "Gempa::CAPS::Time &""'");
}
arg5 = reinterpret_cast< Gempa::CAPS::Time * >(argp5);
res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_Gempa__CAPS__Time, 0 );
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "RTCM2DataRecord_readMetaData" "', argument " "6"" of type '" "Gempa::CAPS::Time &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RTCM2DataRecord_readMetaData" "', argument " "6"" of type '" "Gempa::CAPS::Time &""'");
}
arg6 = reinterpret_cast< Gempa::CAPS::Time * >(argp6);
result = (bool)(arg1)->readMetaData(*arg2,arg3,*arg4,*arg5,*arg6);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RTCM2DataRecord_header(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RTCM2DataRecord *arg1 = (Gempa::CAPS::RTCM2DataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::DataRecord::Header *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:RTCM2DataRecord_header",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RTCM2DataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RTCM2DataRecord_header" "', argument " "1"" of type '" "Gempa::CAPS::RTCM2DataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RTCM2DataRecord * >(argp1);
result = (Gempa::CAPS::DataRecord::Header *)((Gempa::CAPS::RTCM2DataRecord const *)arg1)->header();
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__DataRecord__Header, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RTCM2DataRecord_startTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RTCM2DataRecord *arg1 = (Gempa::CAPS::RTCM2DataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::Time result;
if (!PyArg_ParseTuple(args,(char *)"O:RTCM2DataRecord_startTime",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RTCM2DataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RTCM2DataRecord_startTime" "', argument " "1"" of type '" "Gempa::CAPS::RTCM2DataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RTCM2DataRecord * >(argp1);
result = ((Gempa::CAPS::RTCM2DataRecord const *)arg1)->startTime();
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::Time(static_cast< const Gempa::CAPS::Time& >(result))), SWIGTYPE_p_Gempa__CAPS__Time, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RTCM2DataRecord_endTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RTCM2DataRecord *arg1 = (Gempa::CAPS::RTCM2DataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::Time result;
if (!PyArg_ParseTuple(args,(char *)"O:RTCM2DataRecord_endTime",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RTCM2DataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RTCM2DataRecord_endTime" "', argument " "1"" of type '" "Gempa::CAPS::RTCM2DataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RTCM2DataRecord * >(argp1);
result = ((Gempa::CAPS::RTCM2DataRecord const *)arg1)->endTime();
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::Time(static_cast< const Gempa::CAPS::Time& >(result))), SWIGTYPE_p_Gempa__CAPS__Time, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RTCM2DataRecord_canTrim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RTCM2DataRecord *arg1 = (Gempa::CAPS::RTCM2DataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"O:RTCM2DataRecord_canTrim",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RTCM2DataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RTCM2DataRecord_canTrim" "', argument " "1"" of type '" "Gempa::CAPS::RTCM2DataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RTCM2DataRecord * >(argp1);
result = (bool)((Gempa::CAPS::RTCM2DataRecord const *)arg1)->canTrim();
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RTCM2DataRecord_canMerge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RTCM2DataRecord *arg1 = (Gempa::CAPS::RTCM2DataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"O:RTCM2DataRecord_canMerge",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RTCM2DataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RTCM2DataRecord_canMerge" "', argument " "1"" of type '" "Gempa::CAPS::RTCM2DataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RTCM2DataRecord * >(argp1);
result = (bool)((Gempa::CAPS::RTCM2DataRecord const *)arg1)->canMerge();
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RTCM2DataRecord_trim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RTCM2DataRecord *arg1 = (Gempa::CAPS::RTCM2DataRecord *) 0 ;
Gempa::CAPS::Time *arg2 = 0 ;
Gempa::CAPS::Time *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OOO:RTCM2DataRecord_trim",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RTCM2DataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RTCM2DataRecord_trim" "', argument " "1"" of type '" "Gempa::CAPS::RTCM2DataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RTCM2DataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RTCM2DataRecord_trim" "', argument " "2"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RTCM2DataRecord_trim" "', argument " "2"" of type '" "Gempa::CAPS::Time const &""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::Time * >(argp2);
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RTCM2DataRecord_trim" "', argument " "3"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RTCM2DataRecord_trim" "', argument " "3"" of type '" "Gempa::CAPS::Time const &""'");
}
arg3 = reinterpret_cast< Gempa::CAPS::Time * >(argp3);
result = (bool)((Gempa::CAPS::RTCM2DataRecord const *)arg1)->trim((Gempa::CAPS::Time const &)*arg2,(Gempa::CAPS::Time const &)*arg3);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RTCM2DataRecord_dataSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RTCM2DataRecord *arg1 = (Gempa::CAPS::RTCM2DataRecord *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
size_t result;
if (!PyArg_ParseTuple(args,(char *)"OO:RTCM2DataRecord_dataSize",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RTCM2DataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RTCM2DataRecord_dataSize" "', argument " "1"" of type '" "Gempa::CAPS::RTCM2DataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RTCM2DataRecord * >(argp1);
ecode2 = SWIG_AsVal_bool(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RTCM2DataRecord_dataSize" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
result = ((Gempa::CAPS::RTCM2DataRecord const *)arg1)->dataSize(arg2);
resultobj = SWIG_From_size_t(static_cast< size_t >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RTCM2DataRecord_get__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RTCM2DataRecord *arg1 = (Gempa::CAPS::RTCM2DataRecord *) 0 ;
std::streambuf *arg2 = 0 ;
int arg3 ;
Gempa::CAPS::Time *arg4 = 0 ;
Gempa::CAPS::Time *arg5 = 0 ;
int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
int val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
int val6 ;
int ecode6 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
PyObject * obj5 = 0 ;
Gempa::CAPS::DataRecord::ReadStatus result;
if (!PyArg_ParseTuple(args,(char *)"OOOOOO:RTCM2DataRecord_get",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RTCM2DataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RTCM2DataRecord_get" "', argument " "1"" of type '" "Gempa::CAPS::RTCM2DataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RTCM2DataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RTCM2DataRecord_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RTCM2DataRecord_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RTCM2DataRecord_get" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "RTCM2DataRecord_get" "', argument " "4"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RTCM2DataRecord_get" "', argument " "4"" of type '" "Gempa::CAPS::Time const &""'");
}
arg4 = reinterpret_cast< Gempa::CAPS::Time * >(argp4);
res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "RTCM2DataRecord_get" "', argument " "5"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RTCM2DataRecord_get" "', argument " "5"" of type '" "Gempa::CAPS::Time const &""'");
}
arg5 = reinterpret_cast< Gempa::CAPS::Time * >(argp5);
ecode6 = SWIG_AsVal_int(obj5, &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "RTCM2DataRecord_get" "', argument " "6"" of type '" "int""'");
}
arg6 = static_cast< int >(val6);
result = (arg1)->get(*arg2,arg3,(Gempa::CAPS::Time const &)*arg4,(Gempa::CAPS::Time const &)*arg5,arg6);
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::DataRecord::ReadStatus(static_cast< const Gempa::CAPS::DataRecord::ReadStatus& >(result))), SWIGTYPE_p_Gempa__CAPS__DataRecord__ReadStatus, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RTCM2DataRecord_get__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RTCM2DataRecord *arg1 = (Gempa::CAPS::RTCM2DataRecord *) 0 ;
std::streambuf *arg2 = 0 ;
int arg3 ;
Gempa::CAPS::Time *arg4 = 0 ;
Gempa::CAPS::Time *arg5 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
int val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
PyObject * obj4 = 0 ;
Gempa::CAPS::DataRecord::ReadStatus result;
if (!PyArg_ParseTuple(args,(char *)"OOOOO:RTCM2DataRecord_get",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RTCM2DataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RTCM2DataRecord_get" "', argument " "1"" of type '" "Gempa::CAPS::RTCM2DataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RTCM2DataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RTCM2DataRecord_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RTCM2DataRecord_get" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RTCM2DataRecord_get" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "RTCM2DataRecord_get" "', argument " "4"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RTCM2DataRecord_get" "', argument " "4"" of type '" "Gempa::CAPS::Time const &""'");
}
arg4 = reinterpret_cast< Gempa::CAPS::Time * >(argp4);
res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "RTCM2DataRecord_get" "', argument " "5"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RTCM2DataRecord_get" "', argument " "5"" of type '" "Gempa::CAPS::Time const &""'");
}
arg5 = reinterpret_cast< Gempa::CAPS::Time * >(argp5);
result = (arg1)->get(*arg2,arg3,(Gempa::CAPS::Time const &)*arg4,(Gempa::CAPS::Time const &)*arg5);
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::DataRecord::ReadStatus(static_cast< const Gempa::CAPS::DataRecord::ReadStatus& >(result))), SWIGTYPE_p_Gempa__CAPS__DataRecord__ReadStatus, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RTCM2DataRecord_get(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[7] = {
0
};
Py_ssize_t ii;
if (!PyTuple_Check(args)) SWIG_fail;
argc = args ? PyObject_Length(args) : 0;
for (ii = 0; (ii < 6) && (ii < argc); ii++) {
argv[ii] = PyTuple_GET_ITEM(args,ii);
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__RTCM2DataRecord, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__streambuf, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_RTCM2DataRecord_get__SWIG_1(self, args);
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Gempa__CAPS__RTCM2DataRecord, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__streambuf, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_Gempa__CAPS__Time, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_RTCM2DataRecord_get__SWIG_0(self, args);
}
}
}
}
}
}
}
fail:
SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'RTCM2DataRecord_get'.\n"
" Possible C/C++ prototypes are:\n"
" Gempa::CAPS::RTCM2DataRecord::get(std::streambuf &,int,Gempa::CAPS::Time const &,Gempa::CAPS::Time const &,int)\n"
" Gempa::CAPS::RTCM2DataRecord::get(std::streambuf &,int,Gempa::CAPS::Time const &,Gempa::CAPS::Time const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_RTCM2DataRecord_put(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RTCM2DataRecord *arg1 = (Gempa::CAPS::RTCM2DataRecord *) 0 ;
std::streambuf *arg2 = 0 ;
bool arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OOO:RTCM2DataRecord_put",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RTCM2DataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RTCM2DataRecord_put" "', argument " "1"" of type '" "Gempa::CAPS::RTCM2DataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RTCM2DataRecord * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RTCM2DataRecord_put" "', argument " "2"" of type '" "std::streambuf &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RTCM2DataRecord_put" "', argument " "2"" of type '" "std::streambuf &""'");
}
arg2 = reinterpret_cast< std::streambuf * >(argp2);
ecode3 = SWIG_AsVal_bool(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RTCM2DataRecord_put" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
result = (bool)((Gempa::CAPS::RTCM2DataRecord const *)arg1)->put(*arg2,arg3);
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RTCM2DataRecord_packetType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RTCM2DataRecord *arg1 = (Gempa::CAPS::RTCM2DataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::PacketType result;
if (!PyArg_ParseTuple(args,(char *)"O:RTCM2DataRecord_packetType",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RTCM2DataRecord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RTCM2DataRecord_packetType" "', argument " "1"" of type '" "Gempa::CAPS::RTCM2DataRecord const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RTCM2DataRecord * >(argp1);
result = (Gempa::CAPS::PacketType)((Gempa::CAPS::RTCM2DataRecord const *)arg1)->packetType();
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_RTCM2DataRecord(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::RTCM2DataRecord *arg1 = (Gempa::CAPS::RTCM2DataRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:delete_RTCM2DataRecord",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__RTCM2DataRecord, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RTCM2DataRecord" "', argument " "1"" of type '" "Gempa::CAPS::RTCM2DataRecord *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::RTCM2DataRecord * >(argp1);
delete arg1;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *RTCM2DataRecord_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_Gempa__CAPS__RTCM2DataRecord, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_new_Socket(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Socket *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)":new_Socket")) SWIG_fail;
result = (Gempa::CAPS::Socket *)new Gempa::CAPS::Socket();
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__Socket, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Socket(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Socket *arg1 = (Gempa::CAPS::Socket *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:delete_Socket",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Socket, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Socket" "', argument " "1"" of type '" "Gempa::CAPS::Socket *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Socket * >(argp1);
delete arg1;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Socket_toString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Socket::Status arg1 ;
int val1 ;
int ecode1 = 0 ;
PyObject * obj0 = 0 ;
char *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:Socket_toString",&obj0)) SWIG_fail;
ecode1 = SWIG_AsVal_int(obj0, &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Socket_toString" "', argument " "1"" of type '" "Gempa::CAPS::Socket::Status""'");
}
arg1 = static_cast< Gempa::CAPS::Socket::Status >(val1);
result = (char *)Gempa::CAPS::Socket::toString(arg1);
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Socket_fd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Socket *arg1 = (Gempa::CAPS::Socket *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
int result;
if (!PyArg_ParseTuple(args,(char *)"O:Socket_fd",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Socket, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Socket_fd" "', argument " "1"" of type '" "Gempa::CAPS::Socket *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Socket * >(argp1);
result = (int)(arg1)->fd();
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Socket_isValid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Socket *arg1 = (Gempa::CAPS::Socket *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"O:Socket_isValid",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Socket, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Socket_isValid" "', argument " "1"" of type '" "Gempa::CAPS::Socket *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Socket * >(argp1);
result = (bool)(arg1)->isValid();
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Socket_shutdown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Socket *arg1 = (Gempa::CAPS::Socket *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:Socket_shutdown",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Socket, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Socket_shutdown" "', argument " "1"" of type '" "Gempa::CAPS::Socket *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Socket * >(argp1);
(arg1)->shutdown();
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Socket_close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Socket *arg1 = (Gempa::CAPS::Socket *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:Socket_close",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Socket, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Socket_close" "', argument " "1"" of type '" "Gempa::CAPS::Socket *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Socket * >(argp1);
(arg1)->close();
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Socket_send(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Socket *arg1 = (Gempa::CAPS::Socket *) 0 ;
char *arg2 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
int result;
if (!PyArg_ParseTuple(args,(char *)"OO:Socket_send",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Socket, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Socket_send" "', argument " "1"" of type '" "Gempa::CAPS::Socket *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Socket * >(argp1);
res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Socket_send" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
result = (int)(arg1)->send((char const *)arg2);
resultobj = SWIG_From_int(static_cast< int >(result));
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return NULL;
}
SWIGINTERN PyObject *_wrap_Socket_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Socket *arg1 = (Gempa::CAPS::Socket *) 0 ;
char *arg2 = (char *) 0 ;
int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int val3 ;
int ecode3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
int result;
if (!PyArg_ParseTuple(args,(char *)"OOO:Socket_write",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Socket, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Socket_write" "', argument " "1"" of type '" "Gempa::CAPS::Socket *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Socket * >(argp1);
res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Socket_write" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Socket_write" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
result = (int)(arg1)->write((char const *)arg2,arg3);
resultobj = SWIG_From_int(static_cast< int >(result));
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return NULL;
}
SWIGINTERN PyObject *_wrap_Socket_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Socket *arg1 = (Gempa::CAPS::Socket *) 0 ;
char *arg2 = (char *) 0 ;
int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int val3 ;
int ecode3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
int result;
if (!PyArg_ParseTuple(args,(char *)"OOO:Socket_read",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Socket, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Socket_read" "', argument " "1"" of type '" "Gempa::CAPS::Socket *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Socket * >(argp1);
res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Socket_read" "', argument " "2"" of type '" "char *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Socket_read" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
result = (int)(arg1)->read(arg2,arg3);
resultobj = SWIG_From_int(static_cast< int >(result));
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return NULL;
}
SWIGINTERN PyObject *_wrap_Socket_flush(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Socket *arg1 = (Gempa::CAPS::Socket *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
int result;
if (!PyArg_ParseTuple(args,(char *)"O:Socket_flush",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Socket, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Socket_flush" "', argument " "1"" of type '" "Gempa::CAPS::Socket *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Socket * >(argp1);
result = (int)(arg1)->flush();
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Socket_setSocketTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Socket *arg1 = (Gempa::CAPS::Socket *) 0 ;
int arg2 ;
int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
int val2 ;
int ecode2 = 0 ;
int val3 ;
int ecode3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
Gempa::CAPS::Socket::Status result;
if (!PyArg_ParseTuple(args,(char *)"OOO:Socket_setSocketTimeout",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Socket, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Socket_setSocketTimeout" "', argument " "1"" of type '" "Gempa::CAPS::Socket *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Socket * >(argp1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Socket_setSocketTimeout" "', argument " "2"" of type '" "int""'");
}
arg2 = static_cast< int >(val2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Socket_setSocketTimeout" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
result = (Gempa::CAPS::Socket::Status)(arg1)->setSocketTimeout(arg2,arg3);
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Socket_setNonBlocking(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Socket *arg1 = (Gempa::CAPS::Socket *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
Gempa::CAPS::Socket::Device::Status result;
if (!PyArg_ParseTuple(args,(char *)"OO:Socket_setNonBlocking",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Socket, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Socket_setNonBlocking" "', argument " "1"" of type '" "Gempa::CAPS::Socket *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Socket * >(argp1);
ecode2 = SWIG_AsVal_bool(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Socket_setNonBlocking" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
result = (arg1)->setNonBlocking(arg2);
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::Socket::Device::Status(static_cast< const Gempa::CAPS::Socket::Device::Status& >(result))), SWIGTYPE_p_Gempa__CAPS__Socket__Device__Status, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Socket_connect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Socket *arg1 = (Gempa::CAPS::Socket *) 0 ;
std::string *arg2 = 0 ;
uint16_t arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
unsigned short val3 ;
int ecode3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
Gempa::CAPS::Socket::Status result;
if (!PyArg_ParseTuple(args,(char *)"OOO:Socket_connect",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Socket, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Socket_connect" "', argument " "1"" of type '" "Gempa::CAPS::Socket *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Socket * >(argp1);
{
std::string *ptr = (std::string *)0;
res2 = SWIG_AsPtr_std_string(obj1, &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Socket_connect" "', argument " "2"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Socket_connect" "', argument " "2"" of type '" "std::string const &""'");
}
arg2 = ptr;
}
ecode3 = SWIG_AsVal_unsigned_SS_short(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Socket_connect" "', argument " "3"" of type '" "uint16_t""'");
}
arg3 = static_cast< uint16_t >(val3);
result = (Gempa::CAPS::Socket::Status)(arg1)->connect((std::string const &)*arg2,arg3);
resultobj = SWIG_From_int(static_cast< int >(result));
if (SWIG_IsNewObj(res2)) delete arg2;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
return NULL;
}
SWIGINTERN PyObject *_wrap_Socket_rx(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Socket *arg1 = (Gempa::CAPS::Socket *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::Socket::count_t result;
if (!PyArg_ParseTuple(args,(char *)"O:Socket_rx",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Socket, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Socket_rx" "', argument " "1"" of type '" "Gempa::CAPS::Socket const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Socket * >(argp1);
result = (Gempa::CAPS::Socket::count_t)((Gempa::CAPS::Socket const *)arg1)->rx();
resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< unsigned long long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Socket_tx(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::Socket *arg1 = (Gempa::CAPS::Socket *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::Socket::count_t result;
if (!PyArg_ParseTuple(args,(char *)"O:Socket_tx",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__Socket, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Socket_tx" "', argument " "1"" of type '" "Gempa::CAPS::Socket const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::Socket * >(argp1);
result = (Gempa::CAPS::Socket::count_t)((Gempa::CAPS::Socket const *)arg1)->tx();
resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< unsigned long long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *Socket_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_Gempa__CAPS__Socket, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_new_SSLSocket__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::SSLSocket *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)":new_SSLSocket")) SWIG_fail;
result = (Gempa::CAPS::SSLSocket *)new Gempa::CAPS::SSLSocket();
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__SSLSocket, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_SSLSocket__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
SSL_CTX *arg1 = (SSL_CTX *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::SSLSocket *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:new_SSLSocket",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SSL_CTX, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SSLSocket" "', argument " "1"" of type '" "SSL_CTX *""'");
}
arg1 = reinterpret_cast< SSL_CTX * >(argp1);
result = (Gempa::CAPS::SSLSocket *)new Gempa::CAPS::SSLSocket(arg1);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__SSLSocket, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_SSLSocket(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
Py_ssize_t ii;
if (!PyTuple_Check(args)) SWIG_fail;
argc = args ? PyObject_Length(args) : 0;
for (ii = 0; (ii < 1) && (ii < argc); ii++) {
argv[ii] = PyTuple_GET_ITEM(args,ii);
}
if (argc == 0) {
return _wrap_new_SSLSocket__SWIG_0(self, args);
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SSL_CTX, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_SSLSocket__SWIG_1(self, args);
}
}
fail:
SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_SSLSocket'.\n"
" Possible C/C++ prototypes are:\n"
" Gempa::CAPS::SSLSocket::SSLSocket()\n"
" Gempa::CAPS::SSLSocket::SSLSocket(SSL_CTX *)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_SSLSocket(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::SSLSocket *arg1 = (Gempa::CAPS::SSLSocket *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:delete_SSLSocket",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__SSLSocket, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SSLSocket" "', argument " "1"" of type '" "Gempa::CAPS::SSLSocket *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::SSLSocket * >(argp1);
delete arg1;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SSLSocket_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::SSLSocket *arg1 = (Gempa::CAPS::SSLSocket *) 0 ;
char *arg2 = (char *) 0 ;
int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int val3 ;
int ecode3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
int result;
if (!PyArg_ParseTuple(args,(char *)"OOO:SSLSocket_write",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__SSLSocket, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SSLSocket_write" "', argument " "1"" of type '" "Gempa::CAPS::SSLSocket *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::SSLSocket * >(argp1);
res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SSLSocket_write" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SSLSocket_write" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
result = (int)(arg1)->write((char const *)arg2,arg3);
resultobj = SWIG_From_int(static_cast< int >(result));
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return NULL;
}
SWIGINTERN PyObject *_wrap_SSLSocket_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::SSLSocket *arg1 = (Gempa::CAPS::SSLSocket *) 0 ;
char *arg2 = (char *) 0 ;
int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int val3 ;
int ecode3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
int result;
if (!PyArg_ParseTuple(args,(char *)"OOO:SSLSocket_read",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__SSLSocket, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SSLSocket_read" "', argument " "1"" of type '" "Gempa::CAPS::SSLSocket *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::SSLSocket * >(argp1);
res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SSLSocket_read" "', argument " "2"" of type '" "char *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SSLSocket_read" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
result = (int)(arg1)->read(arg2,arg3);
resultobj = SWIG_From_int(static_cast< int >(result));
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return NULL;
}
SWIGINTERN PyObject *_wrap_SSLSocket_connect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::SSLSocket *arg1 = (Gempa::CAPS::SSLSocket *) 0 ;
std::string *arg2 = 0 ;
uint16_t arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
unsigned short val3 ;
int ecode3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
Gempa::CAPS::Socket::Status result;
if (!PyArg_ParseTuple(args,(char *)"OOO:SSLSocket_connect",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__SSLSocket, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SSLSocket_connect" "', argument " "1"" of type '" "Gempa::CAPS::SSLSocket *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::SSLSocket * >(argp1);
{
std::string *ptr = (std::string *)0;
res2 = SWIG_AsPtr_std_string(obj1, &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SSLSocket_connect" "', argument " "2"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SSLSocket_connect" "', argument " "2"" of type '" "std::string const &""'");
}
arg2 = ptr;
}
ecode3 = SWIG_AsVal_unsigned_SS_short(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SSLSocket_connect" "', argument " "3"" of type '" "uint16_t""'");
}
arg3 = static_cast< uint16_t >(val3);
result = (Gempa::CAPS::Socket::Status)(arg1)->connect((std::string const &)*arg2,arg3);
resultobj = SWIG_From_int(static_cast< int >(result));
if (SWIG_IsNewObj(res2)) delete arg2;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
return NULL;
}
SWIGINTERN PyObject *_wrap_SSLSocket_sessionID(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::SSLSocket *arg1 = (Gempa::CAPS::SSLSocket *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
unsigned char *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:SSLSocket_sessionID",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__SSLSocket, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SSLSocket_sessionID" "', argument " "1"" of type '" "Gempa::CAPS::SSLSocket const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::SSLSocket * >(argp1);
result = (unsigned char *)((Gempa::CAPS::SSLSocket const *)arg1)->sessionID();
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SSLSocket_sessionIDLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::SSLSocket *arg1 = (Gempa::CAPS::SSLSocket *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
unsigned int result;
if (!PyArg_ParseTuple(args,(char *)"O:SSLSocket_sessionIDLength",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__SSLSocket, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SSLSocket_sessionIDLength" "', argument " "1"" of type '" "Gempa::CAPS::SSLSocket const *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::SSLSocket * >(argp1);
result = (unsigned int)((Gempa::CAPS::SSLSocket const *)arg1)->sessionIDLength();
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SSLSocket_peerCertificate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::SSLSocket *arg1 = (Gempa::CAPS::SSLSocket *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
X509 *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:SSLSocket_peerCertificate",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__SSLSocket, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SSLSocket_peerCertificate" "', argument " "1"" of type '" "Gempa::CAPS::SSLSocket *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::SSLSocket * >(argp1);
result = (X509 *)(arg1)->peerCertificate();
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_X509, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *SSLSocket_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_Gempa__CAPS__SSLSocket, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_new_charArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
size_t arg1 ;
size_t val1 ;
int ecode1 = 0 ;
PyObject * obj0 = 0 ;
charArray *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:new_charArray",&obj0)) SWIG_fail;
ecode1 = SWIG_AsVal_size_t(obj0, &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_charArray" "', argument " "1"" of type '" "size_t""'");
}
arg1 = static_cast< size_t >(val1);
result = (charArray *)new_charArray(arg1);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_charArray, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_charArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
charArray *arg1 = (charArray *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:delete_charArray",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_charArray, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_charArray" "', argument " "1"" of type '" "charArray *""'");
}
arg1 = reinterpret_cast< charArray * >(argp1);
delete_charArray(arg1);
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_charArray___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
charArray *arg1 = (charArray *) 0 ;
size_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
size_t val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char result;
if (!PyArg_ParseTuple(args,(char *)"OO:charArray___getitem__",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_charArray, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "charArray___getitem__" "', argument " "1"" of type '" "charArray *""'");
}
arg1 = reinterpret_cast< charArray * >(argp1);
ecode2 = SWIG_AsVal_size_t(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "charArray___getitem__" "', argument " "2"" of type '" "size_t""'");
}
arg2 = static_cast< size_t >(val2);
result = (char)charArray___getitem__(arg1,arg2);
resultobj = SWIG_From_char(static_cast< char >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_charArray___setitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
charArray *arg1 = (charArray *) 0 ;
size_t arg2 ;
char arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
size_t val2 ;
int ecode2 = 0 ;
char val3 ;
int ecode3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OOO:charArray___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_charArray, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "charArray___setitem__" "', argument " "1"" of type '" "charArray *""'");
}
arg1 = reinterpret_cast< charArray * >(argp1);
ecode2 = SWIG_AsVal_size_t(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "charArray___setitem__" "', argument " "2"" of type '" "size_t""'");
}
arg2 = static_cast< size_t >(val2);
ecode3 = SWIG_AsVal_char(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "charArray___setitem__" "', argument " "3"" of type '" "char""'");
}
arg3 = static_cast< char >(val3);
charArray___setitem__(arg1,arg2,arg3);
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_charArray_cast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
charArray *arg1 = (charArray *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
char *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:charArray_cast",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_charArray, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "charArray_cast" "', argument " "1"" of type '" "charArray *""'");
}
arg1 = reinterpret_cast< charArray * >(argp1);
result = (char *)charArray_cast(arg1);
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_charArray_frompointer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *arg1 = (char *) 0 ;
int res1 ;
char *buf1 = 0 ;
int alloc1 = 0 ;
PyObject * obj0 = 0 ;
charArray *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:charArray_frompointer",&obj0)) SWIG_fail;
res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "charArray_frompointer" "', argument " "1"" of type '" "char *""'");
}
arg1 = reinterpret_cast< char * >(buf1);
result = (charArray *)charArray_frompointer(arg1);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_charArray, 0 | 0 );
if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
return resultobj;
fail:
if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
return NULL;
}
SWIGINTERN PyObject *charArray_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_charArray, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_new_arraybuf__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *arg1 = (char *) 0 ;
int arg2 ;
int res1 ;
char *buf1 = 0 ;
int alloc1 = 0 ;
int val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
Gempa::CAPS::arraybuf *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:new_arraybuf",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_arraybuf" "', argument " "1"" of type '" "char const *""'");
}
arg1 = reinterpret_cast< char * >(buf1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_arraybuf" "', argument " "2"" of type '" "int""'");
}
arg2 = static_cast< int >(val2);
result = (Gempa::CAPS::arraybuf *)new Gempa::CAPS::arraybuf((char const *)arg1,arg2);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__arraybuf, SWIG_POINTER_NEW | 0 );
if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
return resultobj;
fail:
if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_arraybuf__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::string *arg1 = 0 ;
int res1 = SWIG_OLDOBJ ;
PyObject * obj0 = 0 ;
Gempa::CAPS::arraybuf *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:new_arraybuf",&obj0)) SWIG_fail;
{
std::string *ptr = (std::string *)0;
res1 = SWIG_AsPtr_std_string(obj0, &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_arraybuf" "', argument " "1"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_arraybuf" "', argument " "1"" of type '" "std::string const &""'");
}
arg1 = ptr;
}
result = (Gempa::CAPS::arraybuf *)new Gempa::CAPS::arraybuf((std::string const &)*arg1);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Gempa__CAPS__arraybuf, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_arraybuf(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
Py_ssize_t ii;
if (!PyTuple_Check(args)) SWIG_fail;
argc = args ? PyObject_Length(args) : 0;
for (ii = 0; (ii < 2) && (ii < argc); ii++) {
argv[ii] = PyTuple_GET_ITEM(args,ii);
}
if (argc == 1) {
int _v;
int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_arraybuf__SWIG_1(self, args);
}
}
if (argc == 2) {
int _v;
int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_arraybuf__SWIG_0(self, args);
}
}
}
fail:
SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_arraybuf'.\n"
" Possible C/C++ prototypes are:\n"
" Gempa::CAPS::arraybuf::arraybuf(char const *,int)\n"
" Gempa::CAPS::arraybuf::arraybuf(std::string const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_arraybuf_reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::arraybuf *arg1 = (Gempa::CAPS::arraybuf *) 0 ;
char *arg2 = (char *) 0 ;
int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int val3 ;
int ecode3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OOO:arraybuf_reset",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__arraybuf, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "arraybuf_reset" "', argument " "1"" of type '" "Gempa::CAPS::arraybuf *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::arraybuf * >(argp1);
res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "arraybuf_reset" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "arraybuf_reset" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
(arg1)->reset((char const *)arg2,arg3);
resultobj = SWIG_Py_Void();
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return NULL;
}
SWIGINTERN PyObject *_wrap_arraybuf_seekoff(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::arraybuf *arg1 = (Gempa::CAPS::arraybuf *) 0 ;
Gempa::CAPS::arraybuf::off_type arg2 ;
std::ios_base::seekdir arg3 ;
std::ios_base::openmode arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 ;
int res2 = 0 ;
void *argp3 ;
int res3 = 0 ;
void *argp4 ;
int res4 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
Gempa::CAPS::arraybuf::pos_type result;
if (!PyArg_ParseTuple(args,(char *)"OOOO:arraybuf_seekoff",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__arraybuf, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "arraybuf_seekoff" "', argument " "1"" of type '" "Gempa::CAPS::arraybuf *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::arraybuf * >(argp1);
{
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf__off_type, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "arraybuf_seekoff" "', argument " "2"" of type '" "Gempa::CAPS::arraybuf::off_type""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "arraybuf_seekoff" "', argument " "2"" of type '" "Gempa::CAPS::arraybuf::off_type""'");
} else {
Gempa::CAPS::arraybuf::off_type * temp = reinterpret_cast< Gempa::CAPS::arraybuf::off_type * >(argp2);
arg2 = *temp;
if (SWIG_IsNewObj(res2)) delete temp;
}
}
{
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_std__ios_base__seekdir, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "arraybuf_seekoff" "', argument " "3"" of type '" "std::ios_base::seekdir""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "arraybuf_seekoff" "', argument " "3"" of type '" "std::ios_base::seekdir""'");
} else {
std::ios_base::seekdir * temp = reinterpret_cast< std::ios_base::seekdir * >(argp3);
arg3 = *temp;
if (SWIG_IsNewObj(res3)) delete temp;
}
}
{
res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_std__ios_base__openmode, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "arraybuf_seekoff" "', argument " "4"" of type '" "std::ios_base::openmode""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "arraybuf_seekoff" "', argument " "4"" of type '" "std::ios_base::openmode""'");
} else {
std::ios_base::openmode * temp = reinterpret_cast< std::ios_base::openmode * >(argp4);
arg4 = *temp;
if (SWIG_IsNewObj(res4)) delete temp;
}
}
result = (arg1)->seekoff(arg2,arg3,arg4);
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::arraybuf::pos_type(static_cast< const Gempa::CAPS::arraybuf::pos_type& >(result))), SWIGTYPE_p_std__streambuf__pos_type, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_arraybuf_seekpos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::arraybuf *arg1 = (Gempa::CAPS::arraybuf *) 0 ;
Gempa::CAPS::arraybuf::pos_type arg2 ;
std::ios_base::openmode arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 ;
int res2 = 0 ;
void *argp3 ;
int res3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
Gempa::CAPS::arraybuf::pos_type result;
if (!PyArg_ParseTuple(args,(char *)"OOO:arraybuf_seekpos",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__arraybuf, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "arraybuf_seekpos" "', argument " "1"" of type '" "Gempa::CAPS::arraybuf *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::arraybuf * >(argp1);
{
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__streambuf__pos_type, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "arraybuf_seekpos" "', argument " "2"" of type '" "Gempa::CAPS::arraybuf::pos_type""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "arraybuf_seekpos" "', argument " "2"" of type '" "Gempa::CAPS::arraybuf::pos_type""'");
} else {
Gempa::CAPS::arraybuf::pos_type * temp = reinterpret_cast< Gempa::CAPS::arraybuf::pos_type * >(argp2);
arg2 = *temp;
if (SWIG_IsNewObj(res2)) delete temp;
}
}
{
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_std__ios_base__openmode, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "arraybuf_seekpos" "', argument " "3"" of type '" "std::ios_base::openmode""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "arraybuf_seekpos" "', argument " "3"" of type '" "std::ios_base::openmode""'");
} else {
std::ios_base::openmode * temp = reinterpret_cast< std::ios_base::openmode * >(argp3);
arg3 = *temp;
if (SWIG_IsNewObj(res3)) delete temp;
}
}
result = (arg1)->seekpos(arg2,arg3);
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::arraybuf::pos_type(static_cast< const Gempa::CAPS::arraybuf::pos_type& >(result))), SWIGTYPE_p_std__streambuf__pos_type, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_arraybuf_xsgetn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::arraybuf *arg1 = (Gempa::CAPS::arraybuf *) 0 ;
char *arg2 = (char *) 0 ;
std::streamsize arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
void *argp3 ;
int res3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
std::streamsize result;
if (!PyArg_ParseTuple(args,(char *)"OOO:arraybuf_xsgetn",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__arraybuf, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "arraybuf_xsgetn" "', argument " "1"" of type '" "Gempa::CAPS::arraybuf *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::arraybuf * >(argp1);
res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "arraybuf_xsgetn" "', argument " "2"" of type '" "char *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
{
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_std__streamsize, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "arraybuf_xsgetn" "', argument " "3"" of type '" "std::streamsize""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "arraybuf_xsgetn" "', argument " "3"" of type '" "std::streamsize""'");
} else {
std::streamsize * temp = reinterpret_cast< std::streamsize * >(argp3);
arg3 = *temp;
if (SWIG_IsNewObj(res3)) delete temp;
}
}
result = (arg1)->xsgetn(arg2,arg3);
resultobj = SWIG_NewPointerObj((new std::streamsize(static_cast< const std::streamsize& >(result))), SWIGTYPE_p_std__streamsize, SWIG_POINTER_OWN | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return NULL;
}
SWIGINTERN PyObject *_wrap_arraybuf_tellg(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::arraybuf *arg1 = (Gempa::CAPS::arraybuf *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
std::streampos result;
if (!PyArg_ParseTuple(args,(char *)"O:arraybuf_tellg",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__arraybuf, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "arraybuf_tellg" "', argument " "1"" of type '" "Gempa::CAPS::arraybuf *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::arraybuf * >(argp1);
result = (arg1)->tellg();
resultobj = SWIG_NewPointerObj((new std::streampos(static_cast< const std::streampos& >(result))), SWIGTYPE_p_std__streampos, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_arraybuf_tellp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::arraybuf *arg1 = (Gempa::CAPS::arraybuf *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
std::streampos result;
if (!PyArg_ParseTuple(args,(char *)"O:arraybuf_tellp",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__arraybuf, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "arraybuf_tellp" "', argument " "1"" of type '" "Gempa::CAPS::arraybuf *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::arraybuf * >(argp1);
result = (arg1)->tellp();
resultobj = SWIG_NewPointerObj((new std::streampos(static_cast< const std::streampos& >(result))), SWIGTYPE_p_std__streampos, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_arraybuf(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::arraybuf *arg1 = (Gempa::CAPS::arraybuf *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"O:delete_arraybuf",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Gempa__CAPS__arraybuf, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_arraybuf" "', argument " "1"" of type '" "Gempa::CAPS::arraybuf *""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::arraybuf * >(argp1);
delete arg1;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *arraybuf_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_Gempa__CAPS__arraybuf, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_splitAddress(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::string *arg1 = 0 ;
unsigned short *arg2 = 0 ;
std::string *arg3 = 0 ;
unsigned short arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
int res3 = SWIG_OLDOBJ ;
unsigned short val4 ;
int ecode4 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OOOO:splitAddress",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_std__string, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "splitAddress" "', argument " "1"" of type '" "std::string &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "splitAddress" "', argument " "1"" of type '" "std::string &""'");
}
arg1 = reinterpret_cast< std::string * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_unsigned_short, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "splitAddress" "', argument " "2"" of type '" "unsigned short &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "splitAddress" "', argument " "2"" of type '" "unsigned short &""'");
}
arg2 = reinterpret_cast< unsigned short * >(argp2);
{
std::string *ptr = (std::string *)0;
res3 = SWIG_AsPtr_std_string(obj2, &ptr);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "splitAddress" "', argument " "3"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "splitAddress" "', argument " "3"" of type '" "std::string const &""'");
}
arg3 = ptr;
}
ecode4 = SWIG_AsVal_unsigned_SS_short(obj3, &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "splitAddress" "', argument " "4"" of type '" "unsigned short""'");
}
arg4 = static_cast< unsigned short >(val4);
result = (bool)Gempa::CAPS::splitAddress(*arg1,*arg2,(std::string const &)*arg3,arg4);
resultobj = SWIG_From_bool(static_cast< bool >(result));
if (SWIG_IsNewObj(res3)) delete arg3;
return resultobj;
fail:
if (SWIG_IsNewObj(res3)) delete arg3;
return NULL;
}
SWIGINTERN PyObject *_wrap_tokenize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char **arg1 = 0 ;
char *arg2 = (char *) 0 ;
int *arg3 = 0 ;
int *arg4 = 0 ;
int res1 ;
char *buf1 = 0 ;
int alloc1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
char *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OOOO:tokenize",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "tokenize" "', argument " "1"" of type '" "char const *&""'");
}
arg1 = &buf1;
res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "tokenize" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_int, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "tokenize" "', argument " "3"" of type '" "int &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "tokenize" "', argument " "3"" of type '" "int &""'");
}
arg3 = reinterpret_cast< int * >(argp3);
res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_int, 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "tokenize" "', argument " "4"" of type '" "int &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "tokenize" "', argument " "4"" of type '" "int &""'");
}
arg4 = reinterpret_cast< int * >(argp4);
result = (char *)Gempa::CAPS::tokenize((char const *&)*arg1,(char const *)arg2,*arg3,*arg4);
resultobj = SWIG_FromCharPtr((const char *)result);
if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return resultobj;
fail:
if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return NULL;
}
SWIGINTERN PyObject *_wrap_trim__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char **arg1 = 0 ;
int *arg2 = 0 ;
int res1 ;
char *buf1 = 0 ;
int alloc1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *result = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:trim",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "trim" "', argument " "1"" of type '" "char const *&""'");
}
arg1 = &buf1;
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "trim" "', argument " "2"" of type '" "int &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "trim" "', argument " "2"" of type '" "int &""'");
}
arg2 = reinterpret_cast< int * >(argp2);
result = (char *)Gempa::CAPS::trim((char const *&)*arg1,*arg2);
resultobj = SWIG_FromCharPtr((const char *)result);
if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
return resultobj;
fail:
if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
return NULL;
}
SWIGINTERN PyObject *_wrap_trim__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::string *arg1 = 0 ;
int res1 = SWIG_OLDOBJ ;
PyObject * obj0 = 0 ;
std::string result;
if (!PyArg_ParseTuple(args,(char *)"O:trim",&obj0)) SWIG_fail;
{
std::string *ptr = (std::string *)0;
res1 = SWIG_AsPtr_std_string(obj0, &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "trim" "', argument " "1"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "trim" "', argument " "1"" of type '" "std::string const &""'");
}
arg1 = ptr;
}
result = Gempa::CAPS::trim((std::string const &)*arg1);
resultobj = SWIG_From_std_string(static_cast< std::string >(result));
if (SWIG_IsNewObj(res1)) delete arg1;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
return NULL;
}
SWIGINTERN PyObject *_wrap_trim(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
Py_ssize_t ii;
if (!PyTuple_Check(args)) SWIG_fail;
argc = args ? PyObject_Length(args) : 0;
for (ii = 0; (ii < 2) && (ii < argc); ii++) {
argv[ii] = PyTuple_GET_ITEM(args,ii);
}
if (argc == 1) {
int _v;
int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_trim__SWIG_1(self, args);
}
}
if (argc == 2) {
int _v;
int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_trim__SWIG_0(self, args);
}
}
}
fail:
SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'trim'.\n"
" Possible C/C++ prototypes are:\n"
" Gempa::CAPS::trim(char const *&,int &)\n"
" Gempa::CAPS::trim(std::string const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_timeToTimestamp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::TimeStamp *arg1 = 0 ;
Gempa::CAPS::Time *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:timeToTimestamp",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_Gempa__CAPS__TimeStamp, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "timeToTimestamp" "', argument " "1"" of type '" "Gempa::CAPS::TimeStamp &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "timeToTimestamp" "', argument " "1"" of type '" "Gempa::CAPS::TimeStamp &""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::TimeStamp * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Gempa__CAPS__Time, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "timeToTimestamp" "', argument " "2"" of type '" "Gempa::CAPS::Time const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "timeToTimestamp" "', argument " "2"" of type '" "Gempa::CAPS::Time const &""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::Time * >(argp2);
Gempa::CAPS::timeToTimestamp(*arg1,(Gempa::CAPS::Time const &)*arg2);
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_str2int__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
int *arg1 = 0 ;
char *arg2 = (char *) 0 ;
int arg3 ;
int arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int val3 ;
int ecode3 = 0 ;
int val4 ;
int ecode4 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OOOO:str2int",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_int, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "str2int" "', argument " "1"" of type '" "int &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "str2int" "', argument " "1"" of type '" "int &""'");
}
arg1 = reinterpret_cast< int * >(argp1);
res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "str2int" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "str2int" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
ecode4 = SWIG_AsVal_int(obj3, &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "str2int" "', argument " "4"" of type '" "int""'");
}
arg4 = static_cast< int >(val4);
result = (bool)Gempa::CAPS::str2int(*arg1,(char const *)arg2,arg3,arg4);
resultobj = SWIG_From_bool(static_cast< bool >(result));
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return NULL;
}
SWIGINTERN PyObject *_wrap_str2int__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
int *arg1 = 0 ;
char *arg2 = (char *) 0 ;
int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int val3 ;
int ecode3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OOO:str2int",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_int, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "str2int" "', argument " "1"" of type '" "int &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "str2int" "', argument " "1"" of type '" "int &""'");
}
arg1 = reinterpret_cast< int * >(argp1);
res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "str2int" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "str2int" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
result = (bool)Gempa::CAPS::str2int(*arg1,(char const *)arg2,arg3);
resultobj = SWIG_From_bool(static_cast< bool >(result));
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return NULL;
}
SWIGINTERN PyObject *_wrap_str2int__SWIG_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
int *arg1 = 0 ;
char *arg2 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OO:str2int",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_int, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "str2int" "', argument " "1"" of type '" "int &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "str2int" "', argument " "1"" of type '" "int &""'");
}
arg1 = reinterpret_cast< int * >(argp1);
res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "str2int" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
result = (bool)Gempa::CAPS::str2int(*arg1,(char const *)arg2);
resultobj = SWIG_From_bool(static_cast< bool >(result));
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return NULL;
}
SWIGINTERN PyObject *_wrap_str2int__SWIG_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
uint16_t *arg1 = 0 ;
char *arg2 = (char *) 0 ;
int arg3 ;
int arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int val3 ;
int ecode3 = 0 ;
int val4 ;
int ecode4 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject * obj3 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OOOO:str2int",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_unsigned_short, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "str2int" "', argument " "1"" of type '" "uint16_t &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "str2int" "', argument " "1"" of type '" "uint16_t &""'");
}
arg1 = reinterpret_cast< uint16_t * >(argp1);
res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "str2int" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "str2int" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
ecode4 = SWIG_AsVal_int(obj3, &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "str2int" "', argument " "4"" of type '" "int""'");
}
arg4 = static_cast< int >(val4);
result = (bool)Gempa::CAPS::str2int(*arg1,(char const *)arg2,arg3,arg4);
resultobj = SWIG_From_bool(static_cast< bool >(result));
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return NULL;
}
SWIGINTERN PyObject *_wrap_str2int__SWIG_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
uint16_t *arg1 = 0 ;
char *arg2 = (char *) 0 ;
int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int val3 ;
int ecode3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OOO:str2int",&obj0,&obj1,&obj2)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_unsigned_short, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "str2int" "', argument " "1"" of type '" "uint16_t &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "str2int" "', argument " "1"" of type '" "uint16_t &""'");
}
arg1 = reinterpret_cast< uint16_t * >(argp1);
res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "str2int" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "str2int" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
result = (bool)Gempa::CAPS::str2int(*arg1,(char const *)arg2,arg3);
resultobj = SWIG_From_bool(static_cast< bool >(result));
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return NULL;
}
SWIGINTERN PyObject *_wrap_str2int__SWIG_8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
uint16_t *arg1 = 0 ;
char *arg2 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
bool result;
if (!PyArg_ParseTuple(args,(char *)"OO:str2int",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_unsigned_short, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "str2int" "', argument " "1"" of type '" "uint16_t &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "str2int" "', argument " "1"" of type '" "uint16_t &""'");
}
arg1 = reinterpret_cast< uint16_t * >(argp1);
res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "str2int" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
result = (bool)Gempa::CAPS::str2int(*arg1,(char const *)arg2);
resultobj = SWIG_From_bool(static_cast< bool >(result));
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return NULL;
}
SWIGINTERN PyObject *_wrap_str2int(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
Py_ssize_t ii;
if (!PyTuple_Check(args)) SWIG_fail;
argc = args ? PyObject_Length(args) : 0;
for (ii = 0; (ii < 4) && (ii < argc); ii++) {
argv[ii] = PyTuple_GET_ITEM(args,ii);
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_str2int__SWIG_5(self, args);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_unsigned_short, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_str2int__SWIG_8(self, args);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_unsigned_short, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_str2int__SWIG_7(self, args);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_str2int__SWIG_4(self, args);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_str2int__SWIG_3(self, args);
}
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_unsigned_short, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_str2int__SWIG_6(self, args);
}
}
}
}
}
fail:
SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'str2int'.\n"
" Possible C/C++ prototypes are:\n"
" Gempa::CAPS::str2int(int &,char const *,int,int)\n"
" Gempa::CAPS::str2int(int &,char const *,int)\n"
" Gempa::CAPS::str2int(int &,char const *)\n"
" Gempa::CAPS::str2int(uint16_t &,char const *,int,int)\n"
" Gempa::CAPS::str2int(uint16_t &,char const *,int)\n"
" Gempa::CAPS::str2int(uint16_t &,char const *)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_timestampToTime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::TimeStamp *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
Gempa::CAPS::Time result;
if (!PyArg_ParseTuple(args,(char *)"O:timestampToTime",&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_Gempa__CAPS__TimeStamp, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "timestampToTime" "', argument " "1"" of type '" "Gempa::CAPS::TimeStamp const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "timestampToTime" "', argument " "1"" of type '" "Gempa::CAPS::TimeStamp const &""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::TimeStamp * >(argp1);
result = Gempa::CAPS::timestampToTime((Gempa::CAPS::TimeStamp const &)*arg1);
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::Time(static_cast< const Gempa::CAPS::Time& >(result))), SWIGTYPE_p_Gempa__CAPS__Time, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_samplesToTimeSpan(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::DataRecord::Header *arg1 = 0 ;
int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
int val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
Gempa::CAPS::TimeSpan result;
if (!PyArg_ParseTuple(args,(char *)"OO:samplesToTimeSpan",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_Gempa__CAPS__DataRecord__Header, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "samplesToTimeSpan" "', argument " "1"" of type '" "Gempa::CAPS::DataRecord::Header const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "samplesToTimeSpan" "', argument " "1"" of type '" "Gempa::CAPS::DataRecord::Header const &""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::DataRecord::Header * >(argp1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "samplesToTimeSpan" "', argument " "2"" of type '" "int""'");
}
arg2 = static_cast< int >(val2);
result = Gempa::CAPS::samplesToTimeSpan((Gempa::CAPS::DataRecord::Header const &)*arg1,arg2);
resultobj = SWIG_NewPointerObj((new Gempa::CAPS::TimeSpan(static_cast< const Gempa::CAPS::TimeSpan& >(result))), SWIGTYPE_p_Gempa__CAPS__TimeSpan, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_timeSpanToSamples(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::DataRecord::Header *arg1 = 0 ;
Gempa::CAPS::TimeSpan *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
int result;
if (!PyArg_ParseTuple(args,(char *)"OO:timeSpanToSamples",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_Gempa__CAPS__DataRecord__Header, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "timeSpanToSamples" "', argument " "1"" of type '" "Gempa::CAPS::DataRecord::Header const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "timeSpanToSamples" "', argument " "1"" of type '" "Gempa::CAPS::DataRecord::Header const &""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::DataRecord::Header * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "timeSpanToSamples" "', argument " "2"" of type '" "Gempa::CAPS::TimeSpan const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "timeSpanToSamples" "', argument " "2"" of type '" "Gempa::CAPS::TimeSpan const &""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::TimeSpan * >(argp2);
result = (int)Gempa::CAPS::timeSpanToSamples((Gempa::CAPS::DataRecord::Header const &)*arg1,(Gempa::CAPS::TimeSpan const &)*arg2);
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_timeSpanToSamplesCeil(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::DataRecord::Header *arg1 = 0 ;
Gempa::CAPS::TimeSpan *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
int result;
if (!PyArg_ParseTuple(args,(char *)"OO:timeSpanToSamplesCeil",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_Gempa__CAPS__DataRecord__Header, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "timeSpanToSamplesCeil" "', argument " "1"" of type '" "Gempa::CAPS::DataRecord::Header const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "timeSpanToSamplesCeil" "', argument " "1"" of type '" "Gempa::CAPS::DataRecord::Header const &""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::DataRecord::Header * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "timeSpanToSamplesCeil" "', argument " "2"" of type '" "Gempa::CAPS::TimeSpan const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "timeSpanToSamplesCeil" "', argument " "2"" of type '" "Gempa::CAPS::TimeSpan const &""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::TimeSpan * >(argp2);
result = (int)Gempa::CAPS::timeSpanToSamplesCeil((Gempa::CAPS::DataRecord::Header const &)*arg1,(Gempa::CAPS::TimeSpan const &)*arg2);
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_timeSpanToSamplesFloor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::DataRecord::Header *arg1 = 0 ;
Gempa::CAPS::TimeSpan *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
int result;
if (!PyArg_ParseTuple(args,(char *)"OO:timeSpanToSamplesFloor",&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_Gempa__CAPS__DataRecord__Header, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "timeSpanToSamplesFloor" "', argument " "1"" of type '" "Gempa::CAPS::DataRecord::Header const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "timeSpanToSamplesFloor" "', argument " "1"" of type '" "Gempa::CAPS::DataRecord::Header const &""'");
}
arg1 = reinterpret_cast< Gempa::CAPS::DataRecord::Header * >(argp1);
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Gempa__CAPS__TimeSpan, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "timeSpanToSamplesFloor" "', argument " "2"" of type '" "Gempa::CAPS::TimeSpan const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "timeSpanToSamplesFloor" "', argument " "2"" of type '" "Gempa::CAPS::TimeSpan const &""'");
}
arg2 = reinterpret_cast< Gempa::CAPS::TimeSpan * >(argp2);
result = (int)Gempa::CAPS::timeSpanToSamplesFloor((Gempa::CAPS::DataRecord::Header const &)*arg1,(Gempa::CAPS::TimeSpan const &)*arg2);
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_dataTypeSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
Gempa::CAPS::DataType arg1 ;
int val1 ;
int ecode1 = 0 ;
PyObject * obj0 = 0 ;
uint8_t result;
if (!PyArg_ParseTuple(args,(char *)"O:dataTypeSize",&obj0)) SWIG_fail;
ecode1 = SWIG_AsVal_int(obj0, &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "dataTypeSize" "', argument " "1"" of type '" "Gempa::CAPS::DataType""'");
}
arg1 = static_cast< Gempa::CAPS::DataType >(val1);
result = (uint8_t)Gempa::CAPS::dataTypeSize(arg1);
resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result));
return resultobj;
fail:
return NULL;
}
static PyMethodDef SwigMethods[] = {
{ (char *)"SWIG_PyInstanceMethod_New", (PyCFunction)SWIG_PyInstanceMethod_New, METH_O, NULL},
{ (char *)"new_TimeSpan", _wrap_new_TimeSpan, METH_VARARGS, NULL},
{ (char *)"TimeSpan___eq__", _wrap_TimeSpan___eq__, METH_VARARGS, NULL},
{ (char *)"TimeSpan___ne__", _wrap_TimeSpan___ne__, METH_VARARGS, NULL},
{ (char *)"TimeSpan___lt__", _wrap_TimeSpan___lt__, METH_VARARGS, NULL},
{ (char *)"TimeSpan___le__", _wrap_TimeSpan___le__, METH_VARARGS, NULL},
{ (char *)"TimeSpan___gt__", _wrap_TimeSpan___gt__, METH_VARARGS, NULL},
{ (char *)"TimeSpan___ge__", _wrap_TimeSpan___ge__, METH_VARARGS, NULL},
{ (char *)"TimeSpan___add__", _wrap_TimeSpan___add__, METH_VARARGS, NULL},
{ (char *)"TimeSpan___sub__", _wrap_TimeSpan___sub__, METH_VARARGS, NULL},
{ (char *)"TimeSpan___iadd__", _wrap_TimeSpan___iadd__, METH_VARARGS, NULL},
{ (char *)"TimeSpan___isub__", _wrap_TimeSpan___isub__, METH_VARARGS, NULL},
{ (char *)"TimeSpan_abs", _wrap_TimeSpan_abs, METH_VARARGS, NULL},
{ (char *)"TimeSpan_seconds", _wrap_TimeSpan_seconds, METH_VARARGS, NULL},
{ (char *)"TimeSpan_microseconds", _wrap_TimeSpan_microseconds, METH_VARARGS, NULL},
{ (char *)"TimeSpan_length", _wrap_TimeSpan_length, METH_VARARGS, NULL},
{ (char *)"TimeSpan_set", _wrap_TimeSpan_set, METH_VARARGS, NULL},
{ (char *)"TimeSpan_setUSecs", _wrap_TimeSpan_setUSecs, METH_VARARGS, NULL},
{ (char *)"TimeSpan_elapsedTime", _wrap_TimeSpan_elapsedTime, METH_VARARGS, NULL},
{ (char *)"delete_TimeSpan", _wrap_delete_TimeSpan, METH_VARARGS, NULL},
{ (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS, NULL},
{ (char *)"new_Time", _wrap_new_Time, METH_VARARGS, NULL},
{ (char *)"Time___nonzero__", _wrap_Time___nonzero__, METH_VARARGS, NULL},
{ (char *)"Time___add__", _wrap_Time___add__, METH_VARARGS, NULL},
{ (char *)"Time___sub__", _wrap_Time___sub__, METH_VARARGS, NULL},
{ (char *)"Time___iadd__", _wrap_Time___iadd__, METH_VARARGS, NULL},
{ (char *)"Time___isub__", _wrap_Time___isub__, METH_VARARGS, NULL},
{ (char *)"Time_set", _wrap_Time_set, METH_VARARGS, NULL},
{ (char *)"Time_get", _wrap_Time_get, METH_VARARGS, NULL},
{ (char *)"Time_get2", _wrap_Time_get2, METH_VARARGS, NULL},
{ (char *)"Time_LocalTime", _wrap_Time_LocalTime, METH_VARARGS, NULL},
{ (char *)"Time_GMT", _wrap_Time_GMT, METH_VARARGS, NULL},
{ (char *)"Time_FromYearDay", _wrap_Time_FromYearDay, METH_VARARGS, NULL},
{ (char *)"Time_localtime", _wrap_Time_localtime, METH_VARARGS, NULL},
{ (char *)"Time_gmt", _wrap_Time_gmt, METH_VARARGS, NULL},
{ (char *)"Time_toLocalTime", _wrap_Time_toLocalTime, METH_VARARGS, NULL},
{ (char *)"Time_toGMT", _wrap_Time_toGMT, METH_VARARGS, NULL},
{ (char *)"Time_valid", _wrap_Time_valid, METH_VARARGS, NULL},
{ (char *)"Time_toString", _wrap_Time_toString, METH_VARARGS, NULL},
{ (char *)"Time_iso", _wrap_Time_iso, METH_VARARGS, NULL},
{ (char *)"Time_fromString", _wrap_Time_fromString, METH_VARARGS, NULL},
{ (char *)"Time_FromString", _wrap_Time_FromString, METH_VARARGS, NULL},
{ (char *)"delete_Time", _wrap_delete_Time, METH_VARARGS, NULL},
{ (char *)"Time_swigregister", Time_swigregister, METH_VARARGS, NULL},
{ (char *)"UOM_str_set", _wrap_UOM_str_set, METH_VARARGS, NULL},
{ (char *)"UOM_str_get", _wrap_UOM_str_get, METH_VARARGS, NULL},
{ (char *)"UOM_ID_set", _wrap_UOM_ID_set, METH_VARARGS, NULL},
{ (char *)"UOM_ID_get", _wrap_UOM_ID_get, METH_VARARGS, NULL},
{ (char *)"new_UOM", _wrap_new_UOM, METH_VARARGS, NULL},
{ (char *)"delete_UOM", _wrap_delete_UOM, METH_VARARGS, NULL},
{ (char *)"UOM_swigregister", UOM_swigregister, METH_VARARGS, NULL},
{ (char *)"Quality_str_set", _wrap_Quality_str_set, METH_VARARGS, NULL},
{ (char *)"Quality_str_get", _wrap_Quality_str_get, METH_VARARGS, NULL},
{ (char *)"Quality_ID_set", _wrap_Quality_ID_set, METH_VARARGS, NULL},
{ (char *)"Quality_ID_get", _wrap_Quality_ID_get, METH_VARARGS, NULL},
{ (char *)"new_Quality", _wrap_new_Quality, METH_VARARGS, NULL},
{ (char *)"delete_Quality", _wrap_delete_Quality, METH_VARARGS, NULL},
{ (char *)"Quality_swigregister", Quality_swigregister, METH_VARARGS, NULL},
{ (char *)"TimeStamp_year_set", _wrap_TimeStamp_year_set, METH_VARARGS, NULL},
{ (char *)"TimeStamp_year_get", _wrap_TimeStamp_year_get, METH_VARARGS, NULL},
{ (char *)"TimeStamp_yday_set", _wrap_TimeStamp_yday_set, METH_VARARGS, NULL},
{ (char *)"TimeStamp_yday_get", _wrap_TimeStamp_yday_get, METH_VARARGS, NULL},
{ (char *)"TimeStamp_hour_set", _wrap_TimeStamp_hour_set, METH_VARARGS, NULL},
{ (char *)"TimeStamp_hour_get", _wrap_TimeStamp_hour_get, METH_VARARGS, NULL},
{ (char *)"TimeStamp_minute_set", _wrap_TimeStamp_minute_set, METH_VARARGS, NULL},
{ (char *)"TimeStamp_minute_get", _wrap_TimeStamp_minute_get, METH_VARARGS, NULL},
{ (char *)"TimeStamp_second_set", _wrap_TimeStamp_second_set, METH_VARARGS, NULL},
{ (char *)"TimeStamp_second_get", _wrap_TimeStamp_second_get, METH_VARARGS, NULL},
{ (char *)"TimeStamp_unused_set", _wrap_TimeStamp_unused_set, METH_VARARGS, NULL},
{ (char *)"TimeStamp_unused_get", _wrap_TimeStamp_unused_get, METH_VARARGS, NULL},
{ (char *)"TimeStamp_usec_set", _wrap_TimeStamp_usec_set, METH_VARARGS, NULL},
{ (char *)"TimeStamp_usec_get", _wrap_TimeStamp_usec_get, METH_VARARGS, NULL},
{ (char *)"new_TimeStamp", _wrap_new_TimeStamp, METH_VARARGS, NULL},
{ (char *)"delete_TimeStamp", _wrap_delete_TimeStamp, METH_VARARGS, NULL},
{ (char *)"TimeStamp_swigregister", TimeStamp_swigregister, METH_VARARGS, NULL},
{ (char *)"new_PacketDataHeader", _wrap_new_PacketDataHeader, METH_VARARGS, NULL},
{ (char *)"PacketDataHeader_version_set", _wrap_PacketDataHeader_version_set, METH_VARARGS, NULL},
{ (char *)"PacketDataHeader_version_get", _wrap_PacketDataHeader_version_get, METH_VARARGS, NULL},
{ (char *)"PacketDataHeader_packetType_set", _wrap_PacketDataHeader_packetType_set, METH_VARARGS, NULL},
{ (char *)"PacketDataHeader_packetType_get", _wrap_PacketDataHeader_packetType_get, METH_VARARGS, NULL},
{ (char *)"PacketDataHeader_unitOfMeasurement_set", _wrap_PacketDataHeader_unitOfMeasurement_set, METH_VARARGS, NULL},
{ (char *)"PacketDataHeader_unitOfMeasurement_get", _wrap_PacketDataHeader_unitOfMeasurement_get, METH_VARARGS, NULL},
{ (char *)"PacketDataHeader_setUOM", _wrap_PacketDataHeader_setUOM, METH_VARARGS, NULL},
{ (char *)"PacketDataHeader_uom", _wrap_PacketDataHeader_uom, METH_VARARGS, NULL},
{ (char *)"PacketDataHeader___ne__", _wrap_PacketDataHeader___ne__, METH_VARARGS, NULL},
{ (char *)"PacketDataHeader_dataSize", _wrap_PacketDataHeader_dataSize, METH_VARARGS, NULL},
{ (char *)"PacketDataHeader_put", _wrap_PacketDataHeader_put, METH_VARARGS, NULL},
{ (char *)"PacketDataHeader_get", _wrap_PacketDataHeader_get, METH_VARARGS, NULL},
{ (char *)"delete_PacketDataHeader", _wrap_delete_PacketDataHeader, METH_VARARGS, NULL},
{ (char *)"PacketDataHeader_swigregister", PacketDataHeader_swigregister, METH_VARARGS, NULL},
{ (char *)"new_PacketDataHeaderV2", _wrap_new_PacketDataHeaderV2, METH_VARARGS, NULL},
{ (char *)"PacketDataHeaderV2_samplingFrequencyNumerator_set", _wrap_PacketDataHeaderV2_samplingFrequencyNumerator_set, METH_VARARGS, NULL},
{ (char *)"PacketDataHeaderV2_samplingFrequencyNumerator_get", _wrap_PacketDataHeaderV2_samplingFrequencyNumerator_get, METH_VARARGS, NULL},
{ (char *)"PacketDataHeaderV2_samplingFrequencyDenominator_set", _wrap_PacketDataHeaderV2_samplingFrequencyDenominator_set, METH_VARARGS, NULL},
{ (char *)"PacketDataHeaderV2_samplingFrequencyDenominator_get", _wrap_PacketDataHeaderV2_samplingFrequencyDenominator_get, METH_VARARGS, NULL},
{ (char *)"PacketDataHeaderV2_quality_set", _wrap_PacketDataHeaderV2_quality_set, METH_VARARGS, NULL},
{ (char *)"PacketDataHeaderV2_quality_get", _wrap_PacketDataHeaderV2_quality_get, METH_VARARGS, NULL},
{ (char *)"PacketDataHeaderV2___ne__", _wrap_PacketDataHeaderV2___ne__, METH_VARARGS, NULL},
{ (char *)"PacketDataHeaderV2_dataSize", _wrap_PacketDataHeaderV2_dataSize, METH_VARARGS, NULL},
{ (char *)"PacketDataHeaderV2_put", _wrap_PacketDataHeaderV2_put, METH_VARARGS, NULL},
{ (char *)"PacketDataHeaderV2_get", _wrap_PacketDataHeaderV2_get, METH_VARARGS, NULL},
{ (char *)"delete_PacketDataHeaderV2", _wrap_delete_PacketDataHeaderV2, METH_VARARGS, NULL},
{ (char *)"PacketDataHeaderV2_swigregister", PacketDataHeaderV2_swigregister, METH_VARARGS, NULL},
{ (char *)"PacketHeaderV1_SIDSize_set", _wrap_PacketHeaderV1_SIDSize_set, METH_VARARGS, NULL},
{ (char *)"PacketHeaderV1_SIDSize_get", _wrap_PacketHeaderV1_SIDSize_get, METH_VARARGS, NULL},
{ (char *)"PacketHeaderV1_size_set", _wrap_PacketHeaderV1_size_set, METH_VARARGS, NULL},
{ (char *)"PacketHeaderV1_size_get", _wrap_PacketHeaderV1_size_get, METH_VARARGS, NULL},
{ (char *)"PacketHeaderV1_put", _wrap_PacketHeaderV1_put, METH_VARARGS, NULL},
{ (char *)"PacketHeaderV1_dataSize", _wrap_PacketHeaderV1_dataSize, METH_VARARGS, NULL},
{ (char *)"new_PacketHeaderV1", _wrap_new_PacketHeaderV1, METH_VARARGS, NULL},
{ (char *)"delete_PacketHeaderV1", _wrap_delete_PacketHeaderV1, METH_VARARGS, NULL},
{ (char *)"PacketHeaderV1_swigregister", PacketHeaderV1_swigregister, METH_VARARGS, NULL},
{ (char *)"PacketHeaderV2_SIDSize_set", _wrap_PacketHeaderV2_SIDSize_set, METH_VARARGS, NULL},
{ (char *)"PacketHeaderV2_SIDSize_get", _wrap_PacketHeaderV2_SIDSize_get, METH_VARARGS, NULL},
{ (char *)"PacketHeaderV2_size_set", _wrap_PacketHeaderV2_size_set, METH_VARARGS, NULL},
{ (char *)"PacketHeaderV2_size_get", _wrap_PacketHeaderV2_size_get, METH_VARARGS, NULL},
{ (char *)"PacketHeaderV2_put", _wrap_PacketHeaderV2_put, METH_VARARGS, NULL},
{ (char *)"PacketHeaderV2_dataSize", _wrap_PacketHeaderV2_dataSize, METH_VARARGS, NULL},
{ (char *)"new_PacketHeaderV2", _wrap_new_PacketHeaderV2, METH_VARARGS, NULL},
{ (char *)"delete_PacketHeaderV2", _wrap_delete_PacketHeaderV2, METH_VARARGS, NULL},
{ (char *)"PacketHeaderV2_swigregister", PacketHeaderV2_swigregister, METH_VARARGS, NULL},
{ (char *)"ResponseHeader_id_set", _wrap_ResponseHeader_id_set, METH_VARARGS, NULL},
{ (char *)"ResponseHeader_id_get", _wrap_ResponseHeader_id_get, METH_VARARGS, NULL},
{ (char *)"ResponseHeader_size_set", _wrap_ResponseHeader_size_set, METH_VARARGS, NULL},
{ (char *)"ResponseHeader_size_get", _wrap_ResponseHeader_size_get, METH_VARARGS, NULL},
{ (char *)"ResponseHeader_get", _wrap_ResponseHeader_get, METH_VARARGS, NULL},
{ (char *)"new_ResponseHeader", _wrap_new_ResponseHeader, METH_VARARGS, NULL},
{ (char *)"delete_ResponseHeader", _wrap_delete_ResponseHeader, METH_VARARGS, NULL},
{ (char *)"ResponseHeader_swigregister", ResponseHeader_swigregister, METH_VARARGS, NULL},
{ (char *)"delete_DataRecord", _wrap_delete_DataRecord, METH_VARARGS, NULL},
{ (char *)"DataRecord_formatName", _wrap_DataRecord_formatName, METH_VARARGS, NULL},
{ (char *)"DataRecord_readMetaData", _wrap_DataRecord_readMetaData, METH_VARARGS, NULL},
{ (char *)"DataRecord_canTrim", _wrap_DataRecord_canTrim, METH_VARARGS, NULL},
{ (char *)"DataRecord_canMerge", _wrap_DataRecord_canMerge, METH_VARARGS, NULL},
{ (char *)"DataRecord_trim", _wrap_DataRecord_trim, METH_VARARGS, NULL},
{ (char *)"DataRecord_dataSize", _wrap_DataRecord_dataSize, METH_VARARGS, NULL},
{ (char *)"DataRecord_get", _wrap_DataRecord_get, METH_VARARGS, NULL},
{ (char *)"DataRecord_put", _wrap_DataRecord_put, METH_VARARGS, NULL},
{ (char *)"DataRecord_header", _wrap_DataRecord_header, METH_VARARGS, NULL},
{ (char *)"DataRecord_startTime", _wrap_DataRecord_startTime, METH_VARARGS, NULL},
{ (char *)"DataRecord_endTime", _wrap_DataRecord_endTime, METH_VARARGS, NULL},
{ (char *)"DataRecord_packetType", _wrap_DataRecord_packetType, METH_VARARGS, NULL},
{ (char *)"DataRecord_buffer", _wrap_DataRecord_buffer, METH_VARARGS, NULL},
{ (char *)"DataRecord_data", _wrap_DataRecord_data, METH_VARARGS, NULL},
{ (char *)"DataRecord_swigregister", DataRecord_swigregister, METH_VARARGS, NULL},
{ (char *)"RawPacket_header_set", _wrap_RawPacket_header_set, METH_VARARGS, NULL},
{ (char *)"RawPacket_header_get", _wrap_RawPacket_header_get, METH_VARARGS, NULL},
{ (char *)"RawPacket_SID_set", _wrap_RawPacket_SID_set, METH_VARARGS, NULL},
{ (char *)"RawPacket_SID_get", _wrap_RawPacket_SID_get, METH_VARARGS, NULL},
{ (char *)"RawPacket_data_set", _wrap_RawPacket_data_set, METH_VARARGS, NULL},
{ (char *)"RawPacket_data_get", _wrap_RawPacket_data_get, METH_VARARGS, NULL},
{ (char *)"RawPacket_record_set", _wrap_RawPacket_record_set, METH_VARARGS, NULL},
{ (char *)"RawPacket_record_get", _wrap_RawPacket_record_get, METH_VARARGS, NULL},
{ (char *)"new_RawPacket", _wrap_new_RawPacket, METH_VARARGS, NULL},
{ (char *)"delete_RawPacket", _wrap_delete_RawPacket, METH_VARARGS, NULL},
{ (char *)"RawPacket_swigregister", RawPacket_swigregister, METH_VARARGS, NULL},
{ (char *)"MetaPacket_SID_set", _wrap_MetaPacket_SID_set, METH_VARARGS, NULL},
{ (char *)"MetaPacket_SID_get", _wrap_MetaPacket_SID_get, METH_VARARGS, NULL},
{ (char *)"MetaPacket_packetDataHeader_set", _wrap_MetaPacket_packetDataHeader_set, METH_VARARGS, NULL},
{ (char *)"MetaPacket_packetDataHeader_get", _wrap_MetaPacket_packetDataHeader_get, METH_VARARGS, NULL},
{ (char *)"MetaPacket_record_set", _wrap_MetaPacket_record_set, METH_VARARGS, NULL},
{ (char *)"MetaPacket_record_get", _wrap_MetaPacket_record_get, METH_VARARGS, NULL},
{ (char *)"MetaPacket_recordHeader_set", _wrap_MetaPacket_recordHeader_set, METH_VARARGS, NULL},
{ (char *)"MetaPacket_recordHeader_get", _wrap_MetaPacket_recordHeader_get, METH_VARARGS, NULL},
{ (char *)"MetaPacket_startTime_set", _wrap_MetaPacket_startTime_set, METH_VARARGS, NULL},
{ (char *)"MetaPacket_startTime_get", _wrap_MetaPacket_startTime_get, METH_VARARGS, NULL},
{ (char *)"MetaPacket_endTime_set", _wrap_MetaPacket_endTime_set, METH_VARARGS, NULL},
{ (char *)"MetaPacket_endTime_get", _wrap_MetaPacket_endTime_get, METH_VARARGS, NULL},
{ (char *)"MetaPacket_timestamp_set", _wrap_MetaPacket_timestamp_set, METH_VARARGS, NULL},
{ (char *)"MetaPacket_timestamp_get", _wrap_MetaPacket_timestamp_get, METH_VARARGS, NULL},
{ (char *)"new_MetaPacket", _wrap_new_MetaPacket, METH_VARARGS, NULL},
{ (char *)"delete_MetaPacket", _wrap_delete_MetaPacket, METH_VARARGS, NULL},
{ (char *)"MetaPacket_swigregister", MetaPacket_swigregister, METH_VARARGS, NULL},
{ (char *)"new_Packet", _wrap_new_Packet, METH_VARARGS, NULL},
{ (char *)"Packet_clone", _wrap_Packet_clone, METH_VARARGS, NULL},
{ (char *)"Packet_buffer_set", _wrap_Packet_buffer_set, METH_VARARGS, NULL},
{ (char *)"Packet_buffer_get", _wrap_Packet_buffer_get, METH_VARARGS, NULL},
{ (char *)"Packet_record_set", _wrap_Packet_record_set, METH_VARARGS, NULL},
{ (char *)"Packet_record_get", _wrap_Packet_record_get, METH_VARARGS, NULL},
{ (char *)"Packet_networkCode_set", _wrap_Packet_networkCode_set, METH_VARARGS, NULL},
{ (char *)"Packet_networkCode_get", _wrap_Packet_networkCode_get, METH_VARARGS, NULL},
{ (char *)"Packet_stationCode_set", _wrap_Packet_stationCode_set, METH_VARARGS, NULL},
{ (char *)"Packet_stationCode_get", _wrap_Packet_stationCode_get, METH_VARARGS, NULL},
{ (char *)"Packet_locationCode_set", _wrap_Packet_locationCode_set, METH_VARARGS, NULL},
{ (char *)"Packet_locationCode_get", _wrap_Packet_locationCode_get, METH_VARARGS, NULL},
{ (char *)"Packet_channelCode_set", _wrap_Packet_channelCode_set, METH_VARARGS, NULL},
{ (char *)"Packet_channelCode_get", _wrap_Packet_channelCode_get, METH_VARARGS, NULL},
{ (char *)"Packet_streamID_set", _wrap_Packet_streamID_set, METH_VARARGS, NULL},
{ (char *)"Packet_streamID_get", _wrap_Packet_streamID_get, METH_VARARGS, NULL},
{ (char *)"Packet_dataType_set", _wrap_Packet_dataType_set, METH_VARARGS, NULL},
{ (char *)"Packet_dataType_get", _wrap_Packet_dataType_get, METH_VARARGS, NULL},
{ (char *)"Packet_dt_us_set", _wrap_Packet_dt_us_set, METH_VARARGS, NULL},
{ (char *)"Packet_dt_us_get", _wrap_Packet_dt_us_get, METH_VARARGS, NULL},
{ (char *)"Packet_uom_set", _wrap_Packet_uom_set, METH_VARARGS, NULL},
{ (char *)"Packet_uom_get", _wrap_Packet_uom_get, METH_VARARGS, NULL},
{ (char *)"Packet_timingQuality_set", _wrap_Packet_timingQuality_set, METH_VARARGS, NULL},
{ (char *)"Packet_timingQuality_get", _wrap_Packet_timingQuality_get, METH_VARARGS, NULL},
{ (char *)"Packet_size", _wrap_Packet_size, METH_VARARGS, NULL},
{ (char *)"delete_Packet", _wrap_delete_Packet, METH_VARARGS, NULL},
{ (char *)"Packet_swigregister", Packet_swigregister, METH_VARARGS, NULL},
{ (char *)"new_AnyDataRecord", _wrap_new_AnyDataRecord, METH_VARARGS, NULL},
{ (char *)"AnyDataRecord_setType", _wrap_AnyDataRecord_setType, METH_VARARGS, NULL},
{ (char *)"AnyDataRecord_type", _wrap_AnyDataRecord_type, METH_VARARGS, NULL},
{ (char *)"AnyDataRecord_formatName", _wrap_AnyDataRecord_formatName, METH_VARARGS, NULL},
{ (char *)"AnyDataRecord_readMetaData", _wrap_AnyDataRecord_readMetaData, METH_VARARGS, NULL},
{ (char *)"AnyDataRecord_header", _wrap_AnyDataRecord_header, METH_VARARGS, NULL},
{ (char *)"AnyDataRecord_startTime", _wrap_AnyDataRecord_startTime, METH_VARARGS, NULL},
{ (char *)"AnyDataRecord_endTime", _wrap_AnyDataRecord_endTime, METH_VARARGS, NULL},
{ (char *)"AnyDataRecord_canTrim", _wrap_AnyDataRecord_canTrim, METH_VARARGS, NULL},
{ (char *)"AnyDataRecord_canMerge", _wrap_AnyDataRecord_canMerge, METH_VARARGS, NULL},
{ (char *)"AnyDataRecord_trim", _wrap_AnyDataRecord_trim, METH_VARARGS, NULL},
{ (char *)"AnyDataRecord_dataSize", _wrap_AnyDataRecord_dataSize, METH_VARARGS, NULL},
{ (char *)"AnyDataRecord_get", _wrap_AnyDataRecord_get, METH_VARARGS, NULL},
{ (char *)"AnyDataRecord_put", _wrap_AnyDataRecord_put, METH_VARARGS, NULL},
{ (char *)"AnyDataRecord_packetType", _wrap_AnyDataRecord_packetType, METH_VARARGS, NULL},
{ (char *)"AnyDataRecord_setStartTime", _wrap_AnyDataRecord_setStartTime, METH_VARARGS, NULL},
{ (char *)"AnyDataRecord_setEndTime", _wrap_AnyDataRecord_setEndTime, METH_VARARGS, NULL},
{ (char *)"AnyDataRecord_setSamplingFrequency", _wrap_AnyDataRecord_setSamplingFrequency, METH_VARARGS, NULL},
{ (char *)"AnyDataRecord_data", _wrap_AnyDataRecord_data, METH_VARARGS, NULL},
{ (char *)"AnyDataRecord_setData", _wrap_AnyDataRecord_setData, METH_VARARGS, NULL},
{ (char *)"delete_AnyDataRecord", _wrap_delete_AnyDataRecord, METH_VARARGS, NULL},
{ (char *)"AnyDataRecord_swigregister", AnyDataRecord_swigregister, METH_VARARGS, NULL},
{ (char *)"SetLogHandler", _wrap_SetLogHandler, METH_VARARGS, NULL},
{ (char *)"SPClock_freqn_get", _wrap_SPClock_freqn_get, METH_VARARGS, NULL},
{ (char *)"SPClock_freqd_get", _wrap_SPClock_freqd_get, METH_VARARGS, NULL},
{ (char *)"new_SPClock", _wrap_new_SPClock, METH_VARARGS, NULL},
{ (char *)"SPClock_sync_time", _wrap_SPClock_sync_time, METH_VARARGS, NULL},
{ (char *)"SPClock_tick", _wrap_SPClock_tick, METH_VARARGS, NULL},
{ (char *)"SPClock_get_time", _wrap_SPClock_get_time, METH_VARARGS, NULL},
{ (char *)"SPClock_correction", _wrap_SPClock_correction, METH_VARARGS, NULL},
{ (char *)"delete_SPClock", _wrap_delete_SPClock, METH_VARARGS, NULL},
{ (char *)"SPClock_swigregister", SPClock_swigregister, METH_VARARGS, NULL},
{ (char *)"delete_Encoder", _wrap_delete_Encoder, METH_VARARGS, NULL},
{ (char *)"Encoder_push", _wrap_Encoder_push, METH_VARARGS, NULL},
{ (char *)"Encoder_flush", _wrap_Encoder_flush, METH_VARARGS, NULL},
{ (char *)"Encoder_reset", _wrap_Encoder_reset, METH_VARARGS, NULL},
{ (char *)"Encoder_type", _wrap_Encoder_type, METH_VARARGS, NULL},
{ (char *)"Encoder_clk", _wrap_Encoder_clk, METH_VARARGS, NULL},
{ (char *)"Encoder_setStartTime", _wrap_Encoder_setStartTime, METH_VARARGS, NULL},
{ (char *)"Encoder_currentTime", _wrap_Encoder_currentTime, METH_VARARGS, NULL},
{ (char *)"Encoder_timingQuality", _wrap_Encoder_timingQuality, METH_VARARGS, NULL},
{ (char *)"Encoder_setTimingQuality", _wrap_Encoder_setTimingQuality, METH_VARARGS, NULL},
{ (char *)"Encoder_pop", _wrap_Encoder_pop, METH_VARARGS, NULL},
{ (char *)"Encoder_swigregister", Encoder_swigregister, METH_VARARGS, NULL},
{ (char *)"delete_EncoderFactory", _wrap_delete_EncoderFactory, METH_VARARGS, NULL},
{ (char *)"EncoderFactory_create", _wrap_EncoderFactory_create, METH_VARARGS, NULL},
{ (char *)"EncoderFactory_supportsRecord", _wrap_EncoderFactory_supportsRecord, METH_VARARGS, NULL},
{ (char *)"EncoderFactory_errorString", _wrap_EncoderFactory_errorString, METH_VARARGS, NULL},
{ (char *)"EncoderFactory_swigregister", EncoderFactory_swigregister, METH_VARARGS, NULL},
{ (char *)"MSEEDEncoderFactory_setRecordLength", _wrap_MSEEDEncoderFactory_setRecordLength, METH_VARARGS, NULL},
{ (char *)"delete_MSEEDEncoderFactory", _wrap_delete_MSEEDEncoderFactory, METH_VARARGS, NULL},
{ (char *)"MSEEDEncoderFactory_swigregister", MSEEDEncoderFactory_swigregister, METH_VARARGS, NULL},
{ (char *)"SteimEncoderFactory_supportsRecord", _wrap_SteimEncoderFactory_supportsRecord, METH_VARARGS, NULL},
{ (char *)"delete_SteimEncoderFactory", _wrap_delete_SteimEncoderFactory, METH_VARARGS, NULL},
{ (char *)"SteimEncoderFactory_swigregister", SteimEncoderFactory_swigregister, METH_VARARGS, NULL},
{ (char *)"IdentityEncoderFactory_create", _wrap_IdentityEncoderFactory_create, METH_VARARGS, NULL},
{ (char *)"IdentityEncoderFactory_supportsRecord", _wrap_IdentityEncoderFactory_supportsRecord, METH_VARARGS, NULL},
{ (char *)"new_IdentityEncoderFactory", _wrap_new_IdentityEncoderFactory, METH_VARARGS, NULL},
{ (char *)"delete_IdentityEncoderFactory", _wrap_delete_IdentityEncoderFactory, METH_VARARGS, NULL},
{ (char *)"IdentityEncoderFactory_swigregister", IdentityEncoderFactory_swigregister, METH_VARARGS, NULL},
{ (char *)"Steim1EncoderFactory_create", _wrap_Steim1EncoderFactory_create, METH_VARARGS, NULL},
{ (char *)"new_Steim1EncoderFactory", _wrap_new_Steim1EncoderFactory, METH_VARARGS, NULL},
{ (char *)"delete_Steim1EncoderFactory", _wrap_delete_Steim1EncoderFactory, METH_VARARGS, NULL},
{ (char *)"Steim1EncoderFactory_swigregister", Steim1EncoderFactory_swigregister, METH_VARARGS, NULL},
{ (char *)"Steim2EncoderFactory_create", _wrap_Steim2EncoderFactory_create, METH_VARARGS, NULL},
{ (char *)"new_Steim2EncoderFactory", _wrap_new_Steim2EncoderFactory, METH_VARARGS, NULL},
{ (char *)"delete_Steim2EncoderFactory", _wrap_delete_Steim2EncoderFactory, METH_VARARGS, NULL},
{ (char *)"Steim2EncoderFactory_swigregister", Steim2EncoderFactory_swigregister, METH_VARARGS, NULL},
{ (char *)"MSEEDDataRecord_formatName", _wrap_MSEEDDataRecord_formatName, METH_VARARGS, NULL},
{ (char *)"MSEEDDataRecord_readMetaData", _wrap_MSEEDDataRecord_readMetaData, METH_VARARGS, NULL},
{ (char *)"MSEEDDataRecord_header", _wrap_MSEEDDataRecord_header, METH_VARARGS, NULL},
{ (char *)"MSEEDDataRecord_startTime", _wrap_MSEEDDataRecord_startTime, METH_VARARGS, NULL},
{ (char *)"MSEEDDataRecord_endTime", _wrap_MSEEDDataRecord_endTime, METH_VARARGS, NULL},
{ (char *)"MSEEDDataRecord_canTrim", _wrap_MSEEDDataRecord_canTrim, METH_VARARGS, NULL},
{ (char *)"MSEEDDataRecord_canMerge", _wrap_MSEEDDataRecord_canMerge, METH_VARARGS, NULL},
{ (char *)"MSEEDDataRecord_trim", _wrap_MSEEDDataRecord_trim, METH_VARARGS, NULL},
{ (char *)"MSEEDDataRecord_dataSize", _wrap_MSEEDDataRecord_dataSize, METH_VARARGS, NULL},
{ (char *)"MSEEDDataRecord_get", _wrap_MSEEDDataRecord_get, METH_VARARGS, NULL},
{ (char *)"MSEEDDataRecord_put", _wrap_MSEEDDataRecord_put, METH_VARARGS, NULL},
{ (char *)"MSEEDDataRecord_packetType", _wrap_MSEEDDataRecord_packetType, METH_VARARGS, NULL},
{ (char *)"MSEEDDataRecord_setData", _wrap_MSEEDDataRecord_setData, METH_VARARGS, NULL},
{ (char *)"MSEEDDataRecord_unpackHeader", _wrap_MSEEDDataRecord_unpackHeader, METH_VARARGS, NULL},
{ (char *)"delete_MSEEDDataRecord", _wrap_delete_MSEEDDataRecord, METH_VARARGS, NULL},
{ (char *)"MSEEDDataRecord_swigregister", MSEEDDataRecord_swigregister, METH_VARARGS, NULL},
{ (char *)"new_Plugin", _wrap_new_Plugin, METH_VARARGS, NULL},
{ (char *)"delete_Plugin", _wrap_delete_Plugin, METH_VARARGS, NULL},
{ (char *)"Plugin_close", _wrap_Plugin_close, METH_VARARGS, NULL},
{ (char *)"Plugin_quit", _wrap_Plugin_quit, METH_VARARGS, NULL},
{ (char *)"Plugin_enableLogging", _wrap_Plugin_enableLogging, METH_VARARGS, NULL},
{ (char *)"Plugin_setBackfillingBufferSize", _wrap_Plugin_setBackfillingBufferSize, METH_VARARGS, NULL},
{ (char *)"Plugin_backfillingBufferSize", _wrap_Plugin_backfillingBufferSize, METH_VARARGS, NULL},
{ (char *)"Plugin_isExitRequested", _wrap_Plugin_isExitRequested, METH_VARARGS, NULL},
{ (char *)"Plugin_stats", _wrap_Plugin_stats, METH_VARARGS, NULL},
{ (char *)"Plugin_resetMaxBytesBuffered", _wrap_Plugin_resetMaxBytesBuffered, METH_VARARGS, NULL},
{ (char *)"Plugin_setEncoderFactory", _wrap_Plugin_setEncoderFactory, METH_VARARGS, NULL},
{ (char *)"Plugin_setHost", _wrap_Plugin_setHost, METH_VARARGS, NULL},
{ (char *)"Plugin_host", _wrap_Plugin_host, METH_VARARGS, NULL},
{ (char *)"Plugin_setPort", _wrap_Plugin_setPort, METH_VARARGS, NULL},
{ (char *)"Plugin_port", _wrap_Plugin_port, METH_VARARGS, NULL},
{ (char *)"Plugin_setBufferSize", _wrap_Plugin_setBufferSize, METH_VARARGS, NULL},
{ (char *)"Plugin_bufferSize", _wrap_Plugin_bufferSize, METH_VARARGS, NULL},
{ (char *)"Plugin_setSSLEnabled", _wrap_Plugin_setSSLEnabled, METH_VARARGS, NULL},
{ (char *)"Plugin_setCredentials", _wrap_Plugin_setCredentials, METH_VARARGS, NULL},
{ (char *)"Plugin_setMaxFutureEndTime", _wrap_Plugin_setMaxFutureEndTime, METH_VARARGS, NULL},
{ (char *)"Plugin_setPacketAckFunc", _wrap_Plugin_setPacketAckFunc, METH_VARARGS, NULL},
{ (char *)"Plugin_setSendTimeout", _wrap_Plugin_setSendTimeout, METH_VARARGS, NULL},
{ (char *)"Plugin_setTimeouts", _wrap_Plugin_setTimeouts, METH_VARARGS, NULL},
{ (char *)"Plugin_readJournal", _wrap_Plugin_readJournal, METH_VARARGS, NULL},
{ (char *)"Plugin_setJournal", _wrap_Plugin_setJournal, METH_VARARGS, NULL},
{ (char *)"Plugin_setFlushInterval", _wrap_Plugin_setFlushInterval, METH_VARARGS, NULL},
{ (char *)"Plugin_streamStates", _wrap_Plugin_streamStates, METH_VARARGS, NULL},
{ (char *)"Plugin_writeJournal", _wrap_Plugin_writeJournal, METH_VARARGS, NULL},
{ (char *)"Plugin_version", _wrap_Plugin_version, METH_VARARGS, NULL},
{ (char *)"Plugin_push", _wrap_Plugin_push, METH_VARARGS, NULL},
{ (char *)"Plugin_swigregister", Plugin_swigregister, METH_VARARGS, NULL},
{ (char *)"RawResponseHeader_timeSeconds_set", _wrap_RawResponseHeader_timeSeconds_set, METH_VARARGS, NULL},
{ (char *)"RawResponseHeader_timeSeconds_get", _wrap_RawResponseHeader_timeSeconds_get, METH_VARARGS, NULL},
{ (char *)"RawResponseHeader_timeMicroSeconds_set", _wrap_RawResponseHeader_timeMicroSeconds_set, METH_VARARGS, NULL},
{ (char *)"RawResponseHeader_timeMicroSeconds_get", _wrap_RawResponseHeader_timeMicroSeconds_get, METH_VARARGS, NULL},
{ (char *)"RawResponseHeader_get", _wrap_RawResponseHeader_get, METH_VARARGS, NULL},
{ (char *)"RawResponseHeader_dataSize", _wrap_RawResponseHeader_dataSize, METH_VARARGS, NULL},
{ (char *)"new_RawResponseHeader", _wrap_new_RawResponseHeader, METH_VARARGS, NULL},
{ (char *)"delete_RawResponseHeader", _wrap_delete_RawResponseHeader, METH_VARARGS, NULL},
{ (char *)"RawResponseHeader_swigregister", RawResponseHeader_swigregister, METH_VARARGS, NULL},
{ (char *)"RawDataRecord_formatName", _wrap_RawDataRecord_formatName, METH_VARARGS, NULL},
{ (char *)"RawDataRecord_readMetaData", _wrap_RawDataRecord_readMetaData, METH_VARARGS, NULL},
{ (char *)"RawDataRecord_setHeader", _wrap_RawDataRecord_setHeader, METH_VARARGS, NULL},
{ (char *)"RawDataRecord_header", _wrap_RawDataRecord_header, METH_VARARGS, NULL},
{ (char *)"RawDataRecord_startTime", _wrap_RawDataRecord_startTime, METH_VARARGS, NULL},
{ (char *)"RawDataRecord_endTime", _wrap_RawDataRecord_endTime, METH_VARARGS, NULL},
{ (char *)"RawDataRecord_canTrim", _wrap_RawDataRecord_canTrim, METH_VARARGS, NULL},
{ (char *)"RawDataRecord_canMerge", _wrap_RawDataRecord_canMerge, METH_VARARGS, NULL},
{ (char *)"RawDataRecord_trim", _wrap_RawDataRecord_trim, METH_VARARGS, NULL},
{ (char *)"RawDataRecord_dataSize", _wrap_RawDataRecord_dataSize, METH_VARARGS, NULL},
{ (char *)"RawDataRecord_get", _wrap_RawDataRecord_get, METH_VARARGS, NULL},
{ (char *)"RawDataRecord_getData", _wrap_RawDataRecord_getData, METH_VARARGS, NULL},
{ (char *)"RawDataRecord_put", _wrap_RawDataRecord_put, METH_VARARGS, NULL},
{ (char *)"RawDataRecord_packetType", _wrap_RawDataRecord_packetType, METH_VARARGS, NULL},
{ (char *)"RawDataRecord_setStartTime", _wrap_RawDataRecord_setStartTime, METH_VARARGS, NULL},
{ (char *)"RawDataRecord_setSamplingFrequency", _wrap_RawDataRecord_setSamplingFrequency, METH_VARARGS, NULL},
{ (char *)"RawDataRecord_setDataType", _wrap_RawDataRecord_setDataType, METH_VARARGS, NULL},
{ (char *)"RawDataRecord_setBuffer", _wrap_RawDataRecord_setBuffer, METH_VARARGS, NULL},
{ (char *)"delete_RawDataRecord", _wrap_delete_RawDataRecord, METH_VARARGS, NULL},
{ (char *)"RawDataRecord_swigregister", RawDataRecord_swigregister, METH_VARARGS, NULL},
{ (char *)"FixedRawDataRecord_canTrim", _wrap_FixedRawDataRecord_canTrim, METH_VARARGS, NULL},
{ (char *)"FixedRawDataRecord_canMerge", _wrap_FixedRawDataRecord_canMerge, METH_VARARGS, NULL},
{ (char *)"FixedRawDataRecord_trim", _wrap_FixedRawDataRecord_trim, METH_VARARGS, NULL},
{ (char *)"FixedRawDataRecord_formatName", _wrap_FixedRawDataRecord_formatName, METH_VARARGS, NULL},
{ (char *)"FixedRawDataRecord_get", _wrap_FixedRawDataRecord_get, METH_VARARGS, NULL},
{ (char *)"FixedRawDataRecord_packetType", _wrap_FixedRawDataRecord_packetType, METH_VARARGS, NULL},
{ (char *)"delete_FixedRawDataRecord", _wrap_delete_FixedRawDataRecord, METH_VARARGS, NULL},
{ (char *)"FixedRawDataRecord_swigregister", FixedRawDataRecord_swigregister, METH_VARARGS, NULL},
{ (char *)"ChunkHeader_chunkSize_set", _wrap_ChunkHeader_chunkSize_set, METH_VARARGS, NULL},
{ (char *)"ChunkHeader_chunkSize_get", _wrap_ChunkHeader_chunkSize_get, METH_VARARGS, NULL},
{ (char *)"ChunkHeader_setChunkType", _wrap_ChunkHeader_setChunkType, METH_VARARGS, NULL},
{ (char *)"ChunkHeader_isChunkType", _wrap_ChunkHeader_isChunkType, METH_VARARGS, NULL},
{ (char *)"ChunkHeader_validChunkType", _wrap_ChunkHeader_validChunkType, METH_VARARGS, NULL},
{ (char *)"ChunkHeader_dataSize", _wrap_ChunkHeader_dataSize, METH_VARARGS, NULL},
{ (char *)"ChunkHeader_read", _wrap_ChunkHeader_read, METH_VARARGS, NULL},
{ (char *)"ChunkHeader_write", _wrap_ChunkHeader_write, METH_VARARGS, NULL},
{ (char *)"ChunkHeader_get", _wrap_ChunkHeader_get, METH_VARARGS, NULL},
{ (char *)"ChunkHeader_put", _wrap_ChunkHeader_put, METH_VARARGS, NULL},
{ (char *)"new_ChunkHeader", _wrap_new_ChunkHeader, METH_VARARGS, NULL},
{ (char *)"delete_ChunkHeader", _wrap_delete_ChunkHeader, METH_VARARGS, NULL},
{ (char *)"ChunkHeader_swigregister", ChunkHeader_swigregister, METH_VARARGS, NULL},
{ (char *)"new_ChunkIterator", _wrap_new_ChunkIterator, METH_VARARGS, NULL},
{ (char *)"ChunkIterator_begin", _wrap_ChunkIterator_begin, METH_VARARGS, NULL},
{ (char *)"ChunkIterator_next", _wrap_ChunkIterator_next, METH_VARARGS, NULL},
{ (char *)"ChunkIterator_header", _wrap_ChunkIterator_header, METH_VARARGS, NULL},
{ (char *)"ChunkIterator_headerPos", _wrap_ChunkIterator_headerPos, METH_VARARGS, NULL},
{ (char *)"ChunkIterator_contentPos", _wrap_ChunkIterator_contentPos, METH_VARARGS, NULL},
{ (char *)"ChunkIterator_istream", _wrap_ChunkIterator_istream, METH_VARARGS, NULL},
{ (char *)"delete_ChunkIterator", _wrap_delete_ChunkIterator, METH_VARARGS, NULL},
{ (char *)"ChunkIterator_swigregister", ChunkIterator_swigregister, METH_VARARGS, NULL},
{ (char *)"delete_Chunk", _wrap_delete_Chunk, METH_VARARGS, NULL},
{ (char *)"Chunk_read", _wrap_Chunk_read, METH_VARARGS, NULL},
{ (char *)"Chunk_write", _wrap_Chunk_write, METH_VARARGS, NULL},
{ (char *)"Chunk_get", _wrap_Chunk_get, METH_VARARGS, NULL},
{ (char *)"Chunk_put", _wrap_Chunk_put, METH_VARARGS, NULL},
{ (char *)"Chunk_chunkSize", _wrap_Chunk_chunkSize, METH_VARARGS, NULL},
{ (char *)"Chunk_swigregister", Chunk_swigregister, METH_VARARGS, NULL},
{ (char *)"HeadChunk_data_set", _wrap_HeadChunk_data_set, METH_VARARGS, NULL},
{ (char *)"HeadChunk_data_get", _wrap_HeadChunk_data_get, METH_VARARGS, NULL},
{ (char *)"HeadChunk_chunkSize", _wrap_HeadChunk_chunkSize, METH_VARARGS, NULL},
{ (char *)"HeadChunk_get", _wrap_HeadChunk_get, METH_VARARGS, NULL},
{ (char *)"HeadChunk_put", _wrap_HeadChunk_put, METH_VARARGS, NULL},
{ (char *)"new_HeadChunk", _wrap_new_HeadChunk, METH_VARARGS, NULL},
{ (char *)"delete_HeadChunk", _wrap_delete_HeadChunk, METH_VARARGS, NULL},
{ (char *)"HeadChunk_swigregister", HeadChunk_swigregister, METH_VARARGS, NULL},
{ (char *)"SID_networkCode_set", _wrap_SID_networkCode_set, METH_VARARGS, NULL},
{ (char *)"SID_networkCode_get", _wrap_SID_networkCode_get, METH_VARARGS, NULL},
{ (char *)"SID_stationCode_set", _wrap_SID_stationCode_set, METH_VARARGS, NULL},
{ (char *)"SID_stationCode_get", _wrap_SID_stationCode_get, METH_VARARGS, NULL},
{ (char *)"SID_locationCode_set", _wrap_SID_locationCode_set, METH_VARARGS, NULL},
{ (char *)"SID_locationCode_get", _wrap_SID_locationCode_get, METH_VARARGS, NULL},
{ (char *)"SID_channelCode_set", _wrap_SID_channelCode_set, METH_VARARGS, NULL},
{ (char *)"SID_channelCode_get", _wrap_SID_channelCode_get, METH_VARARGS, NULL},
{ (char *)"SID___eq__", _wrap_SID___eq__, METH_VARARGS, NULL},
{ (char *)"SID___ne__", _wrap_SID___ne__, METH_VARARGS, NULL},
{ (char *)"SID_toString", _wrap_SID_toString, METH_VARARGS, NULL},
{ (char *)"new_SID", _wrap_new_SID, METH_VARARGS, NULL},
{ (char *)"delete_SID", _wrap_delete_SID, METH_VARARGS, NULL},
{ (char *)"SID_swigregister", SID_swigregister, METH_VARARGS, NULL},
{ (char *)"SIDChunk_chunkSize", _wrap_SIDChunk_chunkSize, METH_VARARGS, NULL},
{ (char *)"SIDChunk_get", _wrap_SIDChunk_get, METH_VARARGS, NULL},
{ (char *)"SIDChunk_put", _wrap_SIDChunk_put, METH_VARARGS, NULL},
{ (char *)"new_SIDChunk", _wrap_new_SIDChunk, METH_VARARGS, NULL},
{ (char *)"delete_SIDChunk", _wrap_delete_SIDChunk, METH_VARARGS, NULL},
{ (char *)"SIDChunk_swigregister", SIDChunk_swigregister, METH_VARARGS, NULL},
{ (char *)"RTCM2DataRecord_formatName", _wrap_RTCM2DataRecord_formatName, METH_VARARGS, NULL},
{ (char *)"RTCM2DataRecord_setTimeStamp", _wrap_RTCM2DataRecord_setTimeStamp, METH_VARARGS, NULL},
{ (char *)"RTCM2DataRecord_setSamplingFrequency", _wrap_RTCM2DataRecord_setSamplingFrequency, METH_VARARGS, NULL},
{ (char *)"RTCM2DataRecord_readMetaData", _wrap_RTCM2DataRecord_readMetaData, METH_VARARGS, NULL},
{ (char *)"RTCM2DataRecord_header", _wrap_RTCM2DataRecord_header, METH_VARARGS, NULL},
{ (char *)"RTCM2DataRecord_startTime", _wrap_RTCM2DataRecord_startTime, METH_VARARGS, NULL},
{ (char *)"RTCM2DataRecord_endTime", _wrap_RTCM2DataRecord_endTime, METH_VARARGS, NULL},
{ (char *)"RTCM2DataRecord_canTrim", _wrap_RTCM2DataRecord_canTrim, METH_VARARGS, NULL},
{ (char *)"RTCM2DataRecord_canMerge", _wrap_RTCM2DataRecord_canMerge, METH_VARARGS, NULL},
{ (char *)"RTCM2DataRecord_trim", _wrap_RTCM2DataRecord_trim, METH_VARARGS, NULL},
{ (char *)"RTCM2DataRecord_dataSize", _wrap_RTCM2DataRecord_dataSize, METH_VARARGS, NULL},
{ (char *)"RTCM2DataRecord_get", _wrap_RTCM2DataRecord_get, METH_VARARGS, NULL},
{ (char *)"RTCM2DataRecord_put", _wrap_RTCM2DataRecord_put, METH_VARARGS, NULL},
{ (char *)"RTCM2DataRecord_packetType", _wrap_RTCM2DataRecord_packetType, METH_VARARGS, NULL},
{ (char *)"delete_RTCM2DataRecord", _wrap_delete_RTCM2DataRecord, METH_VARARGS, NULL},
{ (char *)"RTCM2DataRecord_swigregister", RTCM2DataRecord_swigregister, METH_VARARGS, NULL},
{ (char *)"new_Socket", _wrap_new_Socket, METH_VARARGS, NULL},
{ (char *)"delete_Socket", _wrap_delete_Socket, METH_VARARGS, NULL},
{ (char *)"Socket_toString", _wrap_Socket_toString, METH_VARARGS, NULL},
{ (char *)"Socket_fd", _wrap_Socket_fd, METH_VARARGS, NULL},
{ (char *)"Socket_isValid", _wrap_Socket_isValid, METH_VARARGS, NULL},
{ (char *)"Socket_shutdown", _wrap_Socket_shutdown, METH_VARARGS, NULL},
{ (char *)"Socket_close", _wrap_Socket_close, METH_VARARGS, NULL},
{ (char *)"Socket_send", _wrap_Socket_send, METH_VARARGS, NULL},
{ (char *)"Socket_write", _wrap_Socket_write, METH_VARARGS, NULL},
{ (char *)"Socket_read", _wrap_Socket_read, METH_VARARGS, NULL},
{ (char *)"Socket_flush", _wrap_Socket_flush, METH_VARARGS, NULL},
{ (char *)"Socket_setSocketTimeout", _wrap_Socket_setSocketTimeout, METH_VARARGS, NULL},
{ (char *)"Socket_setNonBlocking", _wrap_Socket_setNonBlocking, METH_VARARGS, NULL},
{ (char *)"Socket_connect", _wrap_Socket_connect, METH_VARARGS, NULL},
{ (char *)"Socket_rx", _wrap_Socket_rx, METH_VARARGS, NULL},
{ (char *)"Socket_tx", _wrap_Socket_tx, METH_VARARGS, NULL},
{ (char *)"Socket_swigregister", Socket_swigregister, METH_VARARGS, NULL},
{ (char *)"new_SSLSocket", _wrap_new_SSLSocket, METH_VARARGS, NULL},
{ (char *)"delete_SSLSocket", _wrap_delete_SSLSocket, METH_VARARGS, NULL},
{ (char *)"SSLSocket_write", _wrap_SSLSocket_write, METH_VARARGS, NULL},
{ (char *)"SSLSocket_read", _wrap_SSLSocket_read, METH_VARARGS, NULL},
{ (char *)"SSLSocket_connect", _wrap_SSLSocket_connect, METH_VARARGS, NULL},
{ (char *)"SSLSocket_sessionID", _wrap_SSLSocket_sessionID, METH_VARARGS, NULL},
{ (char *)"SSLSocket_sessionIDLength", _wrap_SSLSocket_sessionIDLength, METH_VARARGS, NULL},
{ (char *)"SSLSocket_peerCertificate", _wrap_SSLSocket_peerCertificate, METH_VARARGS, NULL},
{ (char *)"SSLSocket_swigregister", SSLSocket_swigregister, METH_VARARGS, NULL},
{ (char *)"new_charArray", _wrap_new_charArray, METH_VARARGS, NULL},
{ (char *)"delete_charArray", _wrap_delete_charArray, METH_VARARGS, NULL},
{ (char *)"charArray___getitem__", _wrap_charArray___getitem__, METH_VARARGS, NULL},
{ (char *)"charArray___setitem__", _wrap_charArray___setitem__, METH_VARARGS, NULL},
{ (char *)"charArray_cast", _wrap_charArray_cast, METH_VARARGS, NULL},
{ (char *)"charArray_frompointer", _wrap_charArray_frompointer, METH_VARARGS, NULL},
{ (char *)"charArray_swigregister", charArray_swigregister, METH_VARARGS, NULL},
{ (char *)"new_arraybuf", _wrap_new_arraybuf, METH_VARARGS, NULL},
{ (char *)"arraybuf_reset", _wrap_arraybuf_reset, METH_VARARGS, NULL},
{ (char *)"arraybuf_seekoff", _wrap_arraybuf_seekoff, METH_VARARGS, NULL},
{ (char *)"arraybuf_seekpos", _wrap_arraybuf_seekpos, METH_VARARGS, NULL},
{ (char *)"arraybuf_xsgetn", _wrap_arraybuf_xsgetn, METH_VARARGS, NULL},
{ (char *)"arraybuf_tellg", _wrap_arraybuf_tellg, METH_VARARGS, NULL},
{ (char *)"arraybuf_tellp", _wrap_arraybuf_tellp, METH_VARARGS, NULL},
{ (char *)"delete_arraybuf", _wrap_delete_arraybuf, METH_VARARGS, NULL},
{ (char *)"arraybuf_swigregister", arraybuf_swigregister, METH_VARARGS, NULL},
{ (char *)"splitAddress", _wrap_splitAddress, METH_VARARGS, NULL},
{ (char *)"tokenize", _wrap_tokenize, METH_VARARGS, NULL},
{ (char *)"trim", _wrap_trim, METH_VARARGS, NULL},
{ (char *)"timeToTimestamp", _wrap_timeToTimestamp, METH_VARARGS, NULL},
{ (char *)"str2int", _wrap_str2int, METH_VARARGS, NULL},
{ (char *)"timestampToTime", _wrap_timestampToTime, METH_VARARGS, NULL},
{ (char *)"samplesToTimeSpan", _wrap_samplesToTimeSpan, METH_VARARGS, NULL},
{ (char *)"timeSpanToSamples", _wrap_timeSpanToSamples, METH_VARARGS, NULL},
{ (char *)"timeSpanToSamplesCeil", _wrap_timeSpanToSamplesCeil, METH_VARARGS, NULL},
{ (char *)"timeSpanToSamplesFloor", _wrap_timeSpanToSamplesFloor, METH_VARARGS, NULL},
{ (char *)"dataTypeSize", _wrap_dataTypeSize, METH_VARARGS, NULL},
{ NULL, NULL, 0, NULL }
};
/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
static void *_p_Gempa__CAPS__PacketDataHeaderV2To_p_Gempa__CAPS__PacketDataHeader(void *x, int *SWIGUNUSEDPARM(newmemory)) {
return (void *)((Gempa::CAPS::PacketDataHeader *) ((Gempa::CAPS::PacketDataHeaderV2 *) x));
}
static void *_p_Gempa__CAPS__Steim1EncoderFactoryTo_p_Gempa__CAPS__SteimEncoderFactory(void *x, int *SWIGUNUSEDPARM(newmemory)) {
return (void *)((Gempa::CAPS::SteimEncoderFactory *) ((Gempa::CAPS::Steim1EncoderFactory *) x));
}
static void *_p_Gempa__CAPS__Steim2EncoderFactoryTo_p_Gempa__CAPS__SteimEncoderFactory(void *x, int *SWIGUNUSEDPARM(newmemory)) {
return (void *)((Gempa::CAPS::SteimEncoderFactory *) ((Gempa::CAPS::Steim2EncoderFactory *) x));
}
static void *_p_Gempa__CAPS__SteimEncoderFactoryTo_p_Gempa__CAPS__MSEEDEncoderFactory(void *x, int *SWIGUNUSEDPARM(newmemory)) {
return (void *)((Gempa::CAPS::MSEEDEncoderFactory *) ((Gempa::CAPS::SteimEncoderFactory *) x));
}
static void *_p_Gempa__CAPS__IdentityEncoderFactoryTo_p_Gempa__CAPS__MSEEDEncoderFactory(void *x, int *SWIGUNUSEDPARM(newmemory)) {
return (void *)((Gempa::CAPS::MSEEDEncoderFactory *) ((Gempa::CAPS::IdentityEncoderFactory *) x));
}
static void *_p_Gempa__CAPS__Steim1EncoderFactoryTo_p_Gempa__CAPS__MSEEDEncoderFactory(void *x, int *SWIGUNUSEDPARM(newmemory)) {
return (void *)((Gempa::CAPS::MSEEDEncoderFactory *) (Gempa::CAPS::SteimEncoderFactory *) ((Gempa::CAPS::Steim1EncoderFactory *) x));
}
static void *_p_Gempa__CAPS__Steim2EncoderFactoryTo_p_Gempa__CAPS__MSEEDEncoderFactory(void *x, int *SWIGUNUSEDPARM(newmemory)) {
return (void *)((Gempa::CAPS::MSEEDEncoderFactory *) (Gempa::CAPS::SteimEncoderFactory *) ((Gempa::CAPS::Steim2EncoderFactory *) x));
}
static void *_p_Gempa__CAPS__MSEEDEncoderFactoryTo_p_Gempa__CAPS__EncoderFactory(void *x, int *SWIGUNUSEDPARM(newmemory)) {
return (void *)((Gempa::CAPS::EncoderFactory *) ((Gempa::CAPS::MSEEDEncoderFactory *) x));
}
static void *_p_Gempa__CAPS__SteimEncoderFactoryTo_p_Gempa__CAPS__EncoderFactory(void *x, int *SWIGUNUSEDPARM(newmemory)) {
return (void *)((Gempa::CAPS::EncoderFactory *) (Gempa::CAPS::MSEEDEncoderFactory *) ((Gempa::CAPS::SteimEncoderFactory *) x));
}
static void *_p_Gempa__CAPS__IdentityEncoderFactoryTo_p_Gempa__CAPS__EncoderFactory(void *x, int *SWIGUNUSEDPARM(newmemory)) {
return (void *)((Gempa::CAPS::EncoderFactory *) (Gempa::CAPS::MSEEDEncoderFactory *) ((Gempa::CAPS::IdentityEncoderFactory *) x));
}
static void *_p_Gempa__CAPS__Steim1EncoderFactoryTo_p_Gempa__CAPS__EncoderFactory(void *x, int *SWIGUNUSEDPARM(newmemory)) {
return (void *)((Gempa::CAPS::EncoderFactory *) (Gempa::CAPS::MSEEDEncoderFactory *)(Gempa::CAPS::SteimEncoderFactory *) ((Gempa::CAPS::Steim1EncoderFactory *) x));
}
static void *_p_Gempa__CAPS__Steim2EncoderFactoryTo_p_Gempa__CAPS__EncoderFactory(void *x, int *SWIGUNUSEDPARM(newmemory)) {
return (void *)((Gempa::CAPS::EncoderFactory *) (Gempa::CAPS::MSEEDEncoderFactory *)(Gempa::CAPS::SteimEncoderFactory *) ((Gempa::CAPS::Steim2EncoderFactory *) x));
}
static void *_p_Gempa__CAPS__RIFF__SIDChunkTo_p_Gempa__CAPS__RIFF__Chunk(void *x, int *SWIGUNUSEDPARM(newmemory)) {
return (void *)((Gempa::CAPS::RIFF::Chunk *) ((Gempa::CAPS::RIFF::SIDChunk *) x));
}
static void *_p_Gempa__CAPS__RIFF__HeadChunkTo_p_Gempa__CAPS__RIFF__Chunk(void *x, int *SWIGUNUSEDPARM(newmemory)) {
return (void *)((Gempa::CAPS::RIFF::Chunk *) ((Gempa::CAPS::RIFF::HeadChunk *) x));
}
static void *_p_Gempa__CAPS__RIFF__SIDChunkTo_p_Gempa__CAPS__RIFF__SID(void *x, int *SWIGUNUSEDPARM(newmemory)) {
return (void *)((Gempa::CAPS::RIFF::SID *) ((Gempa::CAPS::RIFF::SIDChunk *) x));
}
static void *_p_Gempa__CAPS__arraybufTo_p_std__streambuf(void *x, int *SWIGUNUSEDPARM(newmemory)) {
return (void *)((std::streambuf *) ((Gempa::CAPS::arraybuf *) x));
}
static void *_p_Gempa__CAPS__TimeTo_p_Gempa__CAPS__TimeSpan(void *x, int *SWIGUNUSEDPARM(newmemory)) {
return (void *)((Gempa::CAPS::TimeSpan *) ((Gempa::CAPS::Time *) x));
}
static void *_p_Gempa__CAPS__FixedRawDataRecordTo_p_Gempa__CAPS__RawDataRecord(void *x, int *SWIGUNUSEDPARM(newmemory)) {
return (void *)((Gempa::CAPS::RawDataRecord *) ((Gempa::CAPS::FixedRawDataRecord *) x));
}
static void *_p_Gempa__CAPS__AnyDataRecordTo_p_Gempa__CAPS__DataRecord(void *x, int *SWIGUNUSEDPARM(newmemory)) {
return (void *)((Gempa::CAPS::DataRecord *) ((Gempa::CAPS::AnyDataRecord *) x));
}
static void *_p_Gempa__CAPS__MSEEDDataRecordTo_p_Gempa__CAPS__DataRecord(void *x, int *SWIGUNUSEDPARM(newmemory)) {
return (void *)((Gempa::CAPS::DataRecord *) ((Gempa::CAPS::MSEEDDataRecord *) x));
}
static void *_p_Gempa__CAPS__RawDataRecordTo_p_Gempa__CAPS__DataRecord(void *x, int *SWIGUNUSEDPARM(newmemory)) {
return (void *)((Gempa::CAPS::DataRecord *) ((Gempa::CAPS::RawDataRecord *) x));
}
static void *_p_Gempa__CAPS__FixedRawDataRecordTo_p_Gempa__CAPS__DataRecord(void *x, int *SWIGUNUSEDPARM(newmemory)) {
return (void *)((Gempa::CAPS::DataRecord *) (Gempa::CAPS::RawDataRecord *) ((Gempa::CAPS::FixedRawDataRecord *) x));
}
static void *_p_Gempa__CAPS__RTCM2DataRecordTo_p_Gempa__CAPS__DataRecord(void *x, int *SWIGUNUSEDPARM(newmemory)) {
return (void *)((Gempa::CAPS::DataRecord *) ((Gempa::CAPS::RTCM2DataRecord *) x));
}
static void *_p_charArrayTo_p_char(void *x, int *SWIGUNUSEDPARM(newmemory)) {
return (void *)((char *) ((charArray *) x));
}
static void *_p_Gempa__CAPS__SSLSocketTo_p_Gempa__CAPS__Socket(void *x, int *SWIGUNUSEDPARM(newmemory)) {
return (void *)((Gempa::CAPS::Socket *) ((Gempa::CAPS::SSLSocket *) x));
}
static swig_type_info _swigt__p_BackfillingBuffer = {"_p_BackfillingBuffer", "BackfillingBuffer *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_BufferPtr = {"_p_BufferPtr", "BufferPtr *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Gempa__CAPS__AnyDataRecord = {"_p_Gempa__CAPS__AnyDataRecord", "Gempa::CAPS::AnyDataRecord *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Gempa__CAPS__DataRecord = {"_p_Gempa__CAPS__DataRecord", "Gempa::CAPS::DataRecord *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Gempa__CAPS__DataRecord__Header = {"_p_Gempa__CAPS__DataRecord__Header", "Gempa::CAPS::DataRecord::Header *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Gempa__CAPS__DataRecord__ReadStatus = {"_p_Gempa__CAPS__DataRecord__ReadStatus", "Gempa::CAPS::DataRecord::ReadStatus *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Gempa__CAPS__Encoder = {"_p_Gempa__CAPS__Encoder", "Gempa::CAPS::Encoder *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Gempa__CAPS__EncoderFactory = {"_p_Gempa__CAPS__EncoderFactory", "Gempa::CAPS::EncoderFactory *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Gempa__CAPS__FixedRawDataRecord = {"_p_Gempa__CAPS__FixedRawDataRecord", "Gempa::CAPS::FixedRawDataRecord *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Gempa__CAPS__IdentityEncoderFactory = {"_p_Gempa__CAPS__IdentityEncoderFactory", "Gempa::CAPS::IdentityEncoderFactory *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Gempa__CAPS__MSEEDDataRecord = {"_p_Gempa__CAPS__MSEEDDataRecord", "Gempa::CAPS::MSEEDDataRecord *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Gempa__CAPS__MSEEDEncoderFactory = {"_p_Gempa__CAPS__MSEEDEncoderFactory", "Gempa::CAPS::MSEEDEncoderFactory *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Gempa__CAPS__MetaPacket = {"_p_Gempa__CAPS__MetaPacket", "Gempa::CAPS::MetaPacket *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Gempa__CAPS__Packet = {"_p_Gempa__CAPS__Packet", "Gempa::CAPS::Packet *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Gempa__CAPS__PacketDataHeader = {"_p_Gempa__CAPS__PacketDataHeader", "Gempa::CAPS::PacketDataHeader *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Gempa__CAPS__PacketDataHeaderV2 = {"_p_Gempa__CAPS__PacketDataHeaderV2", "Gempa::CAPS::PacketDataHeaderV2 *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Gempa__CAPS__PacketHeaderV1 = {"_p_Gempa__CAPS__PacketHeaderV1", "Gempa::CAPS::PacketHeaderV1 *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Gempa__CAPS__PacketHeaderV2 = {"_p_Gempa__CAPS__PacketHeaderV2", "Gempa::CAPS::PacketHeaderV2 *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Gempa__CAPS__Plugin = {"_p_Gempa__CAPS__Plugin", "Gempa::CAPS::Plugin *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Gempa__CAPS__Plugin__Stats = {"_p_Gempa__CAPS__Plugin__Stats", "Gempa::CAPS::Plugin::Stats *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Gempa__CAPS__Quality = {"_p_Gempa__CAPS__Quality", "Gempa::CAPS::Quality *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Gempa__CAPS__RIFF__Chunk = {"_p_Gempa__CAPS__RIFF__Chunk", "Gempa::CAPS::RIFF::Chunk *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Gempa__CAPS__RIFF__ChunkHeader = {"_p_Gempa__CAPS__RIFF__ChunkHeader", "Gempa::CAPS::RIFF::ChunkHeader *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Gempa__CAPS__RIFF__ChunkIterator = {"_p_Gempa__CAPS__RIFF__ChunkIterator", "Gempa::CAPS::RIFF::ChunkIterator *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Gempa__CAPS__RIFF__HeadChunk = {"_p_Gempa__CAPS__RIFF__HeadChunk", "Gempa::CAPS::RIFF::HeadChunk *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Gempa__CAPS__RIFF__SID = {"_p_Gempa__CAPS__RIFF__SID", "Gempa::CAPS::RIFF::SID *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Gempa__CAPS__RIFF__SIDChunk = {"_p_Gempa__CAPS__RIFF__SIDChunk", "Gempa::CAPS::RIFF::SIDChunk *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Gempa__CAPS__RTCM2DataRecord = {"_p_Gempa__CAPS__RTCM2DataRecord", "Gempa::CAPS::RTCM2DataRecord *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Gempa__CAPS__RawDataRecord = {"_p_Gempa__CAPS__RawDataRecord", "Gempa::CAPS::RawDataRecord *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Gempa__CAPS__RawPacket = {"_p_Gempa__CAPS__RawPacket", "Gempa::CAPS::RawPacket *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Gempa__CAPS__RawResponseHeader = {"_p_Gempa__CAPS__RawResponseHeader", "Gempa::CAPS::RawResponseHeader *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Gempa__CAPS__ResponseHeader = {"_p_Gempa__CAPS__ResponseHeader", "Gempa::CAPS::ResponseHeader *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Gempa__CAPS__SPClock = {"_p_Gempa__CAPS__SPClock", "Gempa::CAPS::SPClock *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Gempa__CAPS__SSLSocket = {"_p_Gempa__CAPS__SSLSocket", "Gempa::CAPS::SSLSocket *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Gempa__CAPS__Socket = {"_p_Gempa__CAPS__Socket", "Gempa::CAPS::Socket *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Gempa__CAPS__Socket__Device__Status = {"_p_Gempa__CAPS__Socket__Device__Status", "Gempa::CAPS::Socket::Device::Status *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Gempa__CAPS__Steim1EncoderFactory = {"_p_Gempa__CAPS__Steim1EncoderFactory", "Gempa::CAPS::Steim1EncoderFactory *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Gempa__CAPS__Steim2EncoderFactory = {"_p_Gempa__CAPS__Steim2EncoderFactory", "Gempa::CAPS::Steim2EncoderFactory *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Gempa__CAPS__SteimEncoderFactory = {"_p_Gempa__CAPS__SteimEncoderFactory", "Gempa::CAPS::SteimEncoderFactory *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Gempa__CAPS__Time = {"_p_Gempa__CAPS__Time", "Gempa::CAPS::Time *|Gempa::CAPS::SPClock::INT_TIME *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Gempa__CAPS__TimeSpan = {"_p_Gempa__CAPS__TimeSpan", "Gempa::CAPS::TimeSpan *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Gempa__CAPS__TimeStamp = {"_p_Gempa__CAPS__TimeStamp", "Gempa::CAPS::TimeStamp *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Gempa__CAPS__UOM = {"_p_Gempa__CAPS__UOM", "Gempa::CAPS::UOM *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Gempa__CAPS__arraybuf = {"_p_Gempa__CAPS__arraybuf", "Gempa::CAPS::arraybuf *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_INT_TIME = {"_p_INT_TIME", "INT_TIME *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_PacketAckFunc = {"_p_PacketAckFunc", "PacketAckFunc *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_SSL_CTX = {"_p_SSL_CTX", "SSL_CTX *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_StreamStates = {"_p_StreamStates", "StreamStates *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_X509 = {"_p_X509", "X509 *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_boost__functionT_void_fstd__string_const_R_Gempa__CAPS__Time_const_R_Gempa__CAPS__Time_const_RF_t = {"_p_boost__functionT_void_fstd__string_const_R_Gempa__CAPS__Time_const_R_Gempa__CAPS__Time_const_RF_t", "Gempa::CAPS::Plugin::PacketAckFunc *|boost::function< void (std::string const &,Gempa::CAPS::Time const &,Gempa::CAPS::Time const &) > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_boost__shared_ptrT_Gempa__CAPS__DataRecord_t = {"_p_boost__shared_ptrT_Gempa__CAPS__DataRecord_t", "Gempa::CAPS::DataRecordPtr *|boost::shared_ptr< Gempa::CAPS::DataRecord > *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_boost__shared_ptrT_Gempa__CAPS__Packet__Buffer_t = {"_p_boost__shared_ptrT_Gempa__CAPS__Packet__Buffer_t", "boost::shared_ptr< Gempa::CAPS::Packet::Buffer > *|Gempa::CAPS::Packet::BufferPtr *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_boost__shared_ptrT_Gempa__CAPS__Packet_t = {"_p_boost__shared_ptrT_Gempa__CAPS__Packet_t", "boost::shared_ptr< Gempa::CAPS::Packet > *|Gempa::CAPS::PacketPtr *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_boost__shared_ptrT_Gempa__CAPS__Plugin_t = {"_p_boost__shared_ptrT_Gempa__CAPS__Plugin_t", "boost::shared_ptr< Gempa::CAPS::Plugin > *|Gempa::CAPS::PluginPtr *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_boost__shared_ptrT_Gempa__CAPS__SSLSocket_t = {"_p_boost__shared_ptrT_Gempa__CAPS__SSLSocket_t", "boost::shared_ptr< Gempa::CAPS::SSLSocket > *|Gempa::CAPS::SSLSocketPtr *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_boost__shared_ptrT_Gempa__CAPS__Socket_t = {"_p_boost__shared_ptrT_Gempa__CAPS__Socket_t", "boost::shared_ptr< Gempa::CAPS::Socket > *|Gempa::CAPS::SocketPtr *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_charArray = {"_p_charArray", "charArray *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_count_t = {"_p_count_t", "count_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_q_const__char_v_______void = {"_p_f_p_q_const__char_v_______void", "void (*)(char const *,...)|Gempa::CAPS::LogOutput", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_int = {"_p_int", "intptr_t *|int *|int_least32_t *|int_fast32_t *|int32_t *|int_fast16_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_long_long = {"_p_long_long", "int_least64_t *|int_fast64_t *|int64_t *|long long *|intmax_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_off_type = {"_p_off_type", "off_type *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_f_p_q_const__char_v_______void = {"_p_p_f_p_q_const__char_v_______void", "void (**)(char const *,...)|Gempa::CAPS::LogOutput *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_pos_type = {"_p_pos_type", "pos_type *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_short = {"_p_short", "short *|int_least16_t *|int16_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_signed_char = {"_p_signed_char", "signed char *|int_least8_t *|int_fast8_t *|int8_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__ios_base__openmode = {"_p_std__ios_base__openmode", "std::ios_base::openmode *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__ios_base__seekdir = {"_p_std__ios_base__seekdir", "std::ios_base::seekdir *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__istream = {"_p_std__istream", "std::istream *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__mapT_std__string_Gempa__CAPS__Plugin__StreamState_t = {"_p_std__mapT_std__string_Gempa__CAPS__Plugin__StreamState_t", "std::map< std::string,Gempa::CAPS::Plugin::StreamState > *|Gempa::CAPS::Plugin::StreamStates *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__ostream = {"_p_std__ostream", "std::ostream *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__streambuf = {"_p_std__streambuf", "std::streambuf *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__streambuf__off_type = {"_p_std__streambuf__off_type", "std::streambuf::off_type *|Gempa::CAPS::arraybuf::off_type *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__streambuf__pos_type = {"_p_std__streambuf__pos_type", "std::streambuf::pos_type *|Gempa::CAPS::arraybuf::pos_type *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__streampos = {"_p_std__streampos", "std::streampos *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__streamsize = {"_p_std__streamsize", "std::streamsize *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__string = {"_p_std__string", "std::string *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_std__vectorT_char_t = {"_p_std__vectorT_char_t", "std::vector< char > *|Buffer *|Gempa::CAPS::DataRecord::Buffer *|Gempa::CAPS::AnyDataRecord::Buffer *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_timeval = {"_p_timeval", "timeval *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_uint = {"_p_uint", "uint *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|uint_least8_t *|uint_fast8_t *|uint8_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "uintptr_t *|uint_least32_t *|uint_fast32_t *|uint32_t *|unsigned int *|uint_fast16_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_unsigned_long_long = {"_p_unsigned_long_long", "uint_least64_t *|uint_fast64_t *|uint64_t *|unsigned long long *|uintmax_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_unsigned_short = {"_p_unsigned_short", "unsigned short *|uint_least16_t *|uint16_t *", 0, 0, (void*)0, 0};
static swig_type_info *swig_type_initial[] = {
&_swigt__p_BackfillingBuffer,
&_swigt__p_BufferPtr,
&_swigt__p_Gempa__CAPS__AnyDataRecord,
&_swigt__p_Gempa__CAPS__DataRecord,
&_swigt__p_Gempa__CAPS__DataRecord__Header,
&_swigt__p_Gempa__CAPS__DataRecord__ReadStatus,
&_swigt__p_Gempa__CAPS__Encoder,
&_swigt__p_Gempa__CAPS__EncoderFactory,
&_swigt__p_Gempa__CAPS__FixedRawDataRecord,
&_swigt__p_Gempa__CAPS__IdentityEncoderFactory,
&_swigt__p_Gempa__CAPS__MSEEDDataRecord,
&_swigt__p_Gempa__CAPS__MSEEDEncoderFactory,
&_swigt__p_Gempa__CAPS__MetaPacket,
&_swigt__p_Gempa__CAPS__Packet,
&_swigt__p_Gempa__CAPS__PacketDataHeader,
&_swigt__p_Gempa__CAPS__PacketDataHeaderV2,
&_swigt__p_Gempa__CAPS__PacketHeaderV1,
&_swigt__p_Gempa__CAPS__PacketHeaderV2,
&_swigt__p_Gempa__CAPS__Plugin,
&_swigt__p_Gempa__CAPS__Plugin__Stats,
&_swigt__p_Gempa__CAPS__Quality,
&_swigt__p_Gempa__CAPS__RIFF__Chunk,
&_swigt__p_Gempa__CAPS__RIFF__ChunkHeader,
&_swigt__p_Gempa__CAPS__RIFF__ChunkIterator,
&_swigt__p_Gempa__CAPS__RIFF__HeadChunk,
&_swigt__p_Gempa__CAPS__RIFF__SID,
&_swigt__p_Gempa__CAPS__RIFF__SIDChunk,
&_swigt__p_Gempa__CAPS__RTCM2DataRecord,
&_swigt__p_Gempa__CAPS__RawDataRecord,
&_swigt__p_Gempa__CAPS__RawPacket,
&_swigt__p_Gempa__CAPS__RawResponseHeader,
&_swigt__p_Gempa__CAPS__ResponseHeader,
&_swigt__p_Gempa__CAPS__SPClock,
&_swigt__p_Gempa__CAPS__SSLSocket,
&_swigt__p_Gempa__CAPS__Socket,
&_swigt__p_Gempa__CAPS__Socket__Device__Status,
&_swigt__p_Gempa__CAPS__Steim1EncoderFactory,
&_swigt__p_Gempa__CAPS__Steim2EncoderFactory,
&_swigt__p_Gempa__CAPS__SteimEncoderFactory,
&_swigt__p_Gempa__CAPS__Time,
&_swigt__p_Gempa__CAPS__TimeSpan,
&_swigt__p_Gempa__CAPS__TimeStamp,
&_swigt__p_Gempa__CAPS__UOM,
&_swigt__p_Gempa__CAPS__arraybuf,
&_swigt__p_INT_TIME,
&_swigt__p_PacketAckFunc,
&_swigt__p_SSL_CTX,
&_swigt__p_StreamStates,
&_swigt__p_X509,
&_swigt__p_boost__functionT_void_fstd__string_const_R_Gempa__CAPS__Time_const_R_Gempa__CAPS__Time_const_RF_t,
&_swigt__p_boost__shared_ptrT_Gempa__CAPS__DataRecord_t,
&_swigt__p_boost__shared_ptrT_Gempa__CAPS__Packet__Buffer_t,
&_swigt__p_boost__shared_ptrT_Gempa__CAPS__Packet_t,
&_swigt__p_boost__shared_ptrT_Gempa__CAPS__Plugin_t,
&_swigt__p_boost__shared_ptrT_Gempa__CAPS__SSLSocket_t,
&_swigt__p_boost__shared_ptrT_Gempa__CAPS__Socket_t,
&_swigt__p_char,
&_swigt__p_charArray,
&_swigt__p_count_t,
&_swigt__p_f_p_q_const__char_v_______void,
&_swigt__p_int,
&_swigt__p_long_long,
&_swigt__p_off_type,
&_swigt__p_p_f_p_q_const__char_v_______void,
&_swigt__p_pos_type,
&_swigt__p_short,
&_swigt__p_signed_char,
&_swigt__p_std__ios_base__openmode,
&_swigt__p_std__ios_base__seekdir,
&_swigt__p_std__istream,
&_swigt__p_std__mapT_std__string_Gempa__CAPS__Plugin__StreamState_t,
&_swigt__p_std__ostream,
&_swigt__p_std__streambuf,
&_swigt__p_std__streambuf__off_type,
&_swigt__p_std__streambuf__pos_type,
&_swigt__p_std__streampos,
&_swigt__p_std__streamsize,
&_swigt__p_std__string,
&_swigt__p_std__vectorT_char_t,
&_swigt__p_timeval,
&_swigt__p_uint,
&_swigt__p_unsigned_char,
&_swigt__p_unsigned_int,
&_swigt__p_unsigned_long_long,
&_swigt__p_unsigned_short,
};
static swig_cast_info _swigc__p_BackfillingBuffer[] = { {&_swigt__p_BackfillingBuffer, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_BufferPtr[] = { {&_swigt__p_BufferPtr, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Gempa__CAPS__AnyDataRecord[] = { {&_swigt__p_Gempa__CAPS__AnyDataRecord, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Gempa__CAPS__DataRecord[] = { {&_swigt__p_Gempa__CAPS__DataRecord, 0, 0, 0}, {&_swigt__p_Gempa__CAPS__AnyDataRecord, _p_Gempa__CAPS__AnyDataRecordTo_p_Gempa__CAPS__DataRecord, 0, 0}, {&_swigt__p_Gempa__CAPS__MSEEDDataRecord, _p_Gempa__CAPS__MSEEDDataRecordTo_p_Gempa__CAPS__DataRecord, 0, 0}, {&_swigt__p_Gempa__CAPS__RawDataRecord, _p_Gempa__CAPS__RawDataRecordTo_p_Gempa__CAPS__DataRecord, 0, 0}, {&_swigt__p_Gempa__CAPS__FixedRawDataRecord, _p_Gempa__CAPS__FixedRawDataRecordTo_p_Gempa__CAPS__DataRecord, 0, 0}, {&_swigt__p_Gempa__CAPS__RTCM2DataRecord, _p_Gempa__CAPS__RTCM2DataRecordTo_p_Gempa__CAPS__DataRecord, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Gempa__CAPS__DataRecord__Header[] = { {&_swigt__p_Gempa__CAPS__DataRecord__Header, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Gempa__CAPS__DataRecord__ReadStatus[] = { {&_swigt__p_Gempa__CAPS__DataRecord__ReadStatus, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Gempa__CAPS__Encoder[] = { {&_swigt__p_Gempa__CAPS__Encoder, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Gempa__CAPS__EncoderFactory[] = { {&_swigt__p_Gempa__CAPS__EncoderFactory, 0, 0, 0}, {&_swigt__p_Gempa__CAPS__MSEEDEncoderFactory, _p_Gempa__CAPS__MSEEDEncoderFactoryTo_p_Gempa__CAPS__EncoderFactory, 0, 0}, {&_swigt__p_Gempa__CAPS__SteimEncoderFactory, _p_Gempa__CAPS__SteimEncoderFactoryTo_p_Gempa__CAPS__EncoderFactory, 0, 0}, {&_swigt__p_Gempa__CAPS__Steim1EncoderFactory, _p_Gempa__CAPS__Steim1EncoderFactoryTo_p_Gempa__CAPS__EncoderFactory, 0, 0}, {&_swigt__p_Gempa__CAPS__Steim2EncoderFactory, _p_Gempa__CAPS__Steim2EncoderFactoryTo_p_Gempa__CAPS__EncoderFactory, 0, 0}, {&_swigt__p_Gempa__CAPS__IdentityEncoderFactory, _p_Gempa__CAPS__IdentityEncoderFactoryTo_p_Gempa__CAPS__EncoderFactory, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Gempa__CAPS__FixedRawDataRecord[] = { {&_swigt__p_Gempa__CAPS__FixedRawDataRecord, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Gempa__CAPS__IdentityEncoderFactory[] = { {&_swigt__p_Gempa__CAPS__IdentityEncoderFactory, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Gempa__CAPS__MSEEDDataRecord[] = { {&_swigt__p_Gempa__CAPS__MSEEDDataRecord, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Gempa__CAPS__MSEEDEncoderFactory[] = { {&_swigt__p_Gempa__CAPS__MSEEDEncoderFactory, 0, 0, 0}, {&_swigt__p_Gempa__CAPS__SteimEncoderFactory, _p_Gempa__CAPS__SteimEncoderFactoryTo_p_Gempa__CAPS__MSEEDEncoderFactory, 0, 0}, {&_swigt__p_Gempa__CAPS__Steim1EncoderFactory, _p_Gempa__CAPS__Steim1EncoderFactoryTo_p_Gempa__CAPS__MSEEDEncoderFactory, 0, 0}, {&_swigt__p_Gempa__CAPS__Steim2EncoderFactory, _p_Gempa__CAPS__Steim2EncoderFactoryTo_p_Gempa__CAPS__MSEEDEncoderFactory, 0, 0}, {&_swigt__p_Gempa__CAPS__IdentityEncoderFactory, _p_Gempa__CAPS__IdentityEncoderFactoryTo_p_Gempa__CAPS__MSEEDEncoderFactory, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Gempa__CAPS__MetaPacket[] = { {&_swigt__p_Gempa__CAPS__MetaPacket, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Gempa__CAPS__Packet[] = { {&_swigt__p_Gempa__CAPS__Packet, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Gempa__CAPS__PacketDataHeader[] = { {&_swigt__p_Gempa__CAPS__PacketDataHeader, 0, 0, 0}, {&_swigt__p_Gempa__CAPS__PacketDataHeaderV2, _p_Gempa__CAPS__PacketDataHeaderV2To_p_Gempa__CAPS__PacketDataHeader, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Gempa__CAPS__PacketDataHeaderV2[] = { {&_swigt__p_Gempa__CAPS__PacketDataHeaderV2, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Gempa__CAPS__PacketHeaderV1[] = { {&_swigt__p_Gempa__CAPS__PacketHeaderV1, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Gempa__CAPS__PacketHeaderV2[] = { {&_swigt__p_Gempa__CAPS__PacketHeaderV2, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Gempa__CAPS__Plugin[] = { {&_swigt__p_Gempa__CAPS__Plugin, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Gempa__CAPS__Plugin__Stats[] = { {&_swigt__p_Gempa__CAPS__Plugin__Stats, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Gempa__CAPS__Quality[] = { {&_swigt__p_Gempa__CAPS__Quality, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Gempa__CAPS__RIFF__Chunk[] = { {&_swigt__p_Gempa__CAPS__RIFF__SIDChunk, _p_Gempa__CAPS__RIFF__SIDChunkTo_p_Gempa__CAPS__RIFF__Chunk, 0, 0}, {&_swigt__p_Gempa__CAPS__RIFF__Chunk, 0, 0, 0}, {&_swigt__p_Gempa__CAPS__RIFF__HeadChunk, _p_Gempa__CAPS__RIFF__HeadChunkTo_p_Gempa__CAPS__RIFF__Chunk, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Gempa__CAPS__RIFF__ChunkHeader[] = { {&_swigt__p_Gempa__CAPS__RIFF__ChunkHeader, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Gempa__CAPS__RIFF__ChunkIterator[] = { {&_swigt__p_Gempa__CAPS__RIFF__ChunkIterator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Gempa__CAPS__RIFF__HeadChunk[] = { {&_swigt__p_Gempa__CAPS__RIFF__HeadChunk, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Gempa__CAPS__RIFF__SID[] = { {&_swigt__p_Gempa__CAPS__RIFF__SIDChunk, _p_Gempa__CAPS__RIFF__SIDChunkTo_p_Gempa__CAPS__RIFF__SID, 0, 0}, {&_swigt__p_Gempa__CAPS__RIFF__SID, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Gempa__CAPS__RIFF__SIDChunk[] = { {&_swigt__p_Gempa__CAPS__RIFF__SIDChunk, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Gempa__CAPS__RTCM2DataRecord[] = { {&_swigt__p_Gempa__CAPS__RTCM2DataRecord, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Gempa__CAPS__RawDataRecord[] = { {&_swigt__p_Gempa__CAPS__RawDataRecord, 0, 0, 0}, {&_swigt__p_Gempa__CAPS__FixedRawDataRecord, _p_Gempa__CAPS__FixedRawDataRecordTo_p_Gempa__CAPS__RawDataRecord, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Gempa__CAPS__RawPacket[] = { {&_swigt__p_Gempa__CAPS__RawPacket, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Gempa__CAPS__RawResponseHeader[] = { {&_swigt__p_Gempa__CAPS__RawResponseHeader, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Gempa__CAPS__ResponseHeader[] = { {&_swigt__p_Gempa__CAPS__ResponseHeader, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Gempa__CAPS__SPClock[] = { {&_swigt__p_Gempa__CAPS__SPClock, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Gempa__CAPS__SSLSocket[] = { {&_swigt__p_Gempa__CAPS__SSLSocket, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Gempa__CAPS__Socket[] = { {&_swigt__p_Gempa__CAPS__Socket, 0, 0, 0}, {&_swigt__p_Gempa__CAPS__SSLSocket, _p_Gempa__CAPS__SSLSocketTo_p_Gempa__CAPS__Socket, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Gempa__CAPS__Socket__Device__Status[] = { {&_swigt__p_Gempa__CAPS__Socket__Device__Status, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Gempa__CAPS__Steim1EncoderFactory[] = { {&_swigt__p_Gempa__CAPS__Steim1EncoderFactory, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Gempa__CAPS__Steim2EncoderFactory[] = { {&_swigt__p_Gempa__CAPS__Steim2EncoderFactory, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Gempa__CAPS__SteimEncoderFactory[] = { {&_swigt__p_Gempa__CAPS__SteimEncoderFactory, 0, 0, 0}, {&_swigt__p_Gempa__CAPS__Steim1EncoderFactory, _p_Gempa__CAPS__Steim1EncoderFactoryTo_p_Gempa__CAPS__SteimEncoderFactory, 0, 0}, {&_swigt__p_Gempa__CAPS__Steim2EncoderFactory, _p_Gempa__CAPS__Steim2EncoderFactoryTo_p_Gempa__CAPS__SteimEncoderFactory, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Gempa__CAPS__Time[] = { {&_swigt__p_Gempa__CAPS__Time, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Gempa__CAPS__TimeSpan[] = { {&_swigt__p_Gempa__CAPS__TimeSpan, 0, 0, 0}, {&_swigt__p_Gempa__CAPS__Time, _p_Gempa__CAPS__TimeTo_p_Gempa__CAPS__TimeSpan, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Gempa__CAPS__TimeStamp[] = { {&_swigt__p_Gempa__CAPS__TimeStamp, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Gempa__CAPS__UOM[] = { {&_swigt__p_Gempa__CAPS__UOM, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Gempa__CAPS__arraybuf[] = { {&_swigt__p_Gempa__CAPS__arraybuf, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_INT_TIME[] = { {&_swigt__p_INT_TIME, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_PacketAckFunc[] = { {&_swigt__p_PacketAckFunc, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_SSL_CTX[] = { {&_swigt__p_SSL_CTX, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_StreamStates[] = { {&_swigt__p_StreamStates, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_X509[] = { {&_swigt__p_X509, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_boost__functionT_void_fstd__string_const_R_Gempa__CAPS__Time_const_R_Gempa__CAPS__Time_const_RF_t[] = { {&_swigt__p_boost__functionT_void_fstd__string_const_R_Gempa__CAPS__Time_const_R_Gempa__CAPS__Time_const_RF_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_boost__shared_ptrT_Gempa__CAPS__DataRecord_t[] = { {&_swigt__p_boost__shared_ptrT_Gempa__CAPS__DataRecord_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_boost__shared_ptrT_Gempa__CAPS__Packet__Buffer_t[] = { {&_swigt__p_boost__shared_ptrT_Gempa__CAPS__Packet__Buffer_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_boost__shared_ptrT_Gempa__CAPS__Packet_t[] = { {&_swigt__p_boost__shared_ptrT_Gempa__CAPS__Packet_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_boost__shared_ptrT_Gempa__CAPS__Plugin_t[] = { {&_swigt__p_boost__shared_ptrT_Gempa__CAPS__Plugin_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_boost__shared_ptrT_Gempa__CAPS__SSLSocket_t[] = { {&_swigt__p_boost__shared_ptrT_Gempa__CAPS__SSLSocket_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_boost__shared_ptrT_Gempa__CAPS__Socket_t[] = { {&_swigt__p_boost__shared_ptrT_Gempa__CAPS__Socket_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0}, {&_swigt__p_charArray, _p_charArrayTo_p_char, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_charArray[] = { {&_swigt__p_charArray, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_count_t[] = { {&_swigt__p_count_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_q_const__char_v_______void[] = { {&_swigt__p_f_p_q_const__char_v_______void, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_long_long[] = { {&_swigt__p_long_long, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_off_type[] = { {&_swigt__p_off_type, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_f_p_q_const__char_v_______void[] = { {&_swigt__p_p_f_p_q_const__char_v_______void, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_pos_type[] = { {&_swigt__p_pos_type, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_short[] = { {&_swigt__p_short, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_signed_char[] = { {&_swigt__p_signed_char, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__ios_base__openmode[] = { {&_swigt__p_std__ios_base__openmode, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__ios_base__seekdir[] = { {&_swigt__p_std__ios_base__seekdir, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__istream[] = { {&_swigt__p_std__istream, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__mapT_std__string_Gempa__CAPS__Plugin__StreamState_t[] = { {&_swigt__p_std__mapT_std__string_Gempa__CAPS__Plugin__StreamState_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__ostream[] = { {&_swigt__p_std__ostream, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__streambuf[] = { {&_swigt__p_std__streambuf, 0, 0, 0}, {&_swigt__p_Gempa__CAPS__arraybuf, _p_Gempa__CAPS__arraybufTo_p_std__streambuf, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__streambuf__off_type[] = { {&_swigt__p_std__streambuf__off_type, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__streambuf__pos_type[] = { {&_swigt__p_std__streambuf__pos_type, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__streampos[] = { {&_swigt__p_std__streampos, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__streamsize[] = { {&_swigt__p_std__streamsize, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__string[] = { {&_swigt__p_std__string, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_std__vectorT_char_t[] = { {&_swigt__p_std__vectorT_char_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_timeval[] = { {&_swigt__p_timeval, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_uint[] = { {&_swigt__p_uint, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_unsigned_long_long[] = { {&_swigt__p_unsigned_long_long, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_unsigned_short[] = { {&_swigt__p_unsigned_short, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info *swig_cast_initial[] = {
_swigc__p_BackfillingBuffer,
_swigc__p_BufferPtr,
_swigc__p_Gempa__CAPS__AnyDataRecord,
_swigc__p_Gempa__CAPS__DataRecord,
_swigc__p_Gempa__CAPS__DataRecord__Header,
_swigc__p_Gempa__CAPS__DataRecord__ReadStatus,
_swigc__p_Gempa__CAPS__Encoder,
_swigc__p_Gempa__CAPS__EncoderFactory,
_swigc__p_Gempa__CAPS__FixedRawDataRecord,
_swigc__p_Gempa__CAPS__IdentityEncoderFactory,
_swigc__p_Gempa__CAPS__MSEEDDataRecord,
_swigc__p_Gempa__CAPS__MSEEDEncoderFactory,
_swigc__p_Gempa__CAPS__MetaPacket,
_swigc__p_Gempa__CAPS__Packet,
_swigc__p_Gempa__CAPS__PacketDataHeader,
_swigc__p_Gempa__CAPS__PacketDataHeaderV2,
_swigc__p_Gempa__CAPS__PacketHeaderV1,
_swigc__p_Gempa__CAPS__PacketHeaderV2,
_swigc__p_Gempa__CAPS__Plugin,
_swigc__p_Gempa__CAPS__Plugin__Stats,
_swigc__p_Gempa__CAPS__Quality,
_swigc__p_Gempa__CAPS__RIFF__Chunk,
_swigc__p_Gempa__CAPS__RIFF__ChunkHeader,
_swigc__p_Gempa__CAPS__RIFF__ChunkIterator,
_swigc__p_Gempa__CAPS__RIFF__HeadChunk,
_swigc__p_Gempa__CAPS__RIFF__SID,
_swigc__p_Gempa__CAPS__RIFF__SIDChunk,
_swigc__p_Gempa__CAPS__RTCM2DataRecord,
_swigc__p_Gempa__CAPS__RawDataRecord,
_swigc__p_Gempa__CAPS__RawPacket,
_swigc__p_Gempa__CAPS__RawResponseHeader,
_swigc__p_Gempa__CAPS__ResponseHeader,
_swigc__p_Gempa__CAPS__SPClock,
_swigc__p_Gempa__CAPS__SSLSocket,
_swigc__p_Gempa__CAPS__Socket,
_swigc__p_Gempa__CAPS__Socket__Device__Status,
_swigc__p_Gempa__CAPS__Steim1EncoderFactory,
_swigc__p_Gempa__CAPS__Steim2EncoderFactory,
_swigc__p_Gempa__CAPS__SteimEncoderFactory,
_swigc__p_Gempa__CAPS__Time,
_swigc__p_Gempa__CAPS__TimeSpan,
_swigc__p_Gempa__CAPS__TimeStamp,
_swigc__p_Gempa__CAPS__UOM,
_swigc__p_Gempa__CAPS__arraybuf,
_swigc__p_INT_TIME,
_swigc__p_PacketAckFunc,
_swigc__p_SSL_CTX,
_swigc__p_StreamStates,
_swigc__p_X509,
_swigc__p_boost__functionT_void_fstd__string_const_R_Gempa__CAPS__Time_const_R_Gempa__CAPS__Time_const_RF_t,
_swigc__p_boost__shared_ptrT_Gempa__CAPS__DataRecord_t,
_swigc__p_boost__shared_ptrT_Gempa__CAPS__Packet__Buffer_t,
_swigc__p_boost__shared_ptrT_Gempa__CAPS__Packet_t,
_swigc__p_boost__shared_ptrT_Gempa__CAPS__Plugin_t,
_swigc__p_boost__shared_ptrT_Gempa__CAPS__SSLSocket_t,
_swigc__p_boost__shared_ptrT_Gempa__CAPS__Socket_t,
_swigc__p_char,
_swigc__p_charArray,
_swigc__p_count_t,
_swigc__p_f_p_q_const__char_v_______void,
_swigc__p_int,
_swigc__p_long_long,
_swigc__p_off_type,
_swigc__p_p_f_p_q_const__char_v_______void,
_swigc__p_pos_type,
_swigc__p_short,
_swigc__p_signed_char,
_swigc__p_std__ios_base__openmode,
_swigc__p_std__ios_base__seekdir,
_swigc__p_std__istream,
_swigc__p_std__mapT_std__string_Gempa__CAPS__Plugin__StreamState_t,
_swigc__p_std__ostream,
_swigc__p_std__streambuf,
_swigc__p_std__streambuf__off_type,
_swigc__p_std__streambuf__pos_type,
_swigc__p_std__streampos,
_swigc__p_std__streamsize,
_swigc__p_std__string,
_swigc__p_std__vectorT_char_t,
_swigc__p_timeval,
_swigc__p_uint,
_swigc__p_unsigned_char,
_swigc__p_unsigned_int,
_swigc__p_unsigned_long_long,
_swigc__p_unsigned_short,
};
/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
static swig_const_info swig_const_table[] = {
{0, 0, 0, 0.0, 0, 0}};
#ifdef __cplusplus
}
#endif
/* -----------------------------------------------------------------------------
* Type initialization:
* This problem is tough by the requirement that no dynamic
* memory is used. Also, since swig_type_info structures store pointers to
* swig_cast_info structures and swig_cast_info structures store pointers back
* to swig_type_info structures, we need some lookup code at initialization.
* The idea is that swig generates all the structures that are needed.
* The runtime then collects these partially filled structures.
* The SWIG_InitializeModule function takes these initial arrays out of
* swig_module, and does all the lookup, filling in the swig_module.types
* array with the correct data and linking the correct swig_cast_info
* structures together.
*
* The generated swig_type_info structures are assigned statically to an initial
* array. We just loop through that array, and handle each type individually.
* First we lookup if this type has been already loaded, and if so, use the
* loaded structure instead of the generated one. Then we have to fill in the
* cast linked list. The cast data is initially stored in something like a
* two-dimensional array. Each row corresponds to a type (there are the same
* number of rows as there are in the swig_type_initial array). Each entry in
* a column is one of the swig_cast_info structures for that type.
* The cast_initial array is actually an array of arrays, because each row has
* a variable number of columns. So to actually build the cast linked list,
* we find the array of casts associated with the type, and loop through it
* adding the casts to the list. The one last trick we need to do is making
* sure the type pointer in the swig_cast_info struct is correct.
*
* First off, we lookup the cast->type name to see if it is already loaded.
* There are three cases to handle:
* 1) If the cast->type has already been loaded AND the type we are adding
* casting info to has not been loaded (it is in this module), THEN we
* replace the cast->type pointer with the type pointer that has already
* been loaded.
* 2) If BOTH types (the one we are adding casting info to, and the
* cast->type) are loaded, THEN the cast info has already been loaded by
* the previous module so we just ignore it.
* 3) Finally, if cast->type has not already been loaded, then we add that
* swig_cast_info to the linked list (because the cast->type) pointer will
* be correct.
* ----------------------------------------------------------------------------- */
#ifdef __cplusplus
extern "C" {
#if 0
} /* c-mode */
#endif
#endif
#if 0
#define SWIGRUNTIME_DEBUG
#endif
SWIGRUNTIME void
SWIG_InitializeModule(void *clientdata) {
size_t i;
swig_module_info *module_head, *iter;
int init;
/* check to see if the circular list has been setup, if not, set it up */
if (swig_module.next==0) {
/* Initialize the swig_module */
swig_module.type_initial = swig_type_initial;
swig_module.cast_initial = swig_cast_initial;
swig_module.next = &swig_module;
init = 1;
} else {
init = 0;
}
/* Try and load any already created modules */
module_head = SWIG_GetModule(clientdata);
if (!module_head) {
/* This is the first module loaded for this interpreter */
/* so set the swig module into the interpreter */
SWIG_SetModule(clientdata, &swig_module);
} else {
/* the interpreter has loaded a SWIG module, but has it loaded this one? */
iter=module_head;
do {
if (iter==&swig_module) {
/* Our module is already in the list, so there's nothing more to do. */
return;
}
iter=iter->next;
} while (iter!= module_head);
/* otherwise we must add our module into the list */
swig_module.next = module_head->next;
module_head->next = &swig_module;
}
/* When multiple interpreters are used, a module could have already been initialized in
a different interpreter, but not yet have a pointer in this interpreter.
In this case, we do not want to continue adding types... everything should be
set up already */
if (init == 0) return;
/* Now work on filling in swig_module.types */
#ifdef SWIGRUNTIME_DEBUG
printf("SWIG_InitializeModule: size %d\n", swig_module.size);
#endif
for (i = 0; i < swig_module.size; ++i) {
swig_type_info *type = 0;
swig_type_info *ret;
swig_cast_info *cast;
#ifdef SWIGRUNTIME_DEBUG
printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
#endif
/* if there is another module already loaded */
if (swig_module.next != &swig_module) {
type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
}
if (type) {
/* Overwrite clientdata field */
#ifdef SWIGRUNTIME_DEBUG
printf("SWIG_InitializeModule: found type %s\n", type->name);
#endif
if (swig_module.type_initial[i]->clientdata) {
type->clientdata = swig_module.type_initial[i]->clientdata;
#ifdef SWIGRUNTIME_DEBUG
printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
#endif
}
} else {
type = swig_module.type_initial[i];
}
/* Insert casting types */
cast = swig_module.cast_initial[i];
while (cast->type) {
/* Don't need to add information already in the list */
ret = 0;
#ifdef SWIGRUNTIME_DEBUG
printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
#endif
if (swig_module.next != &swig_module) {
ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
#ifdef SWIGRUNTIME_DEBUG
if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
#endif
}
if (ret) {
if (type == swig_module.type_initial[i]) {
#ifdef SWIGRUNTIME_DEBUG
printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
#endif
cast->type = ret;
ret = 0;
} else {
/* Check for casting already in the list */
swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
#ifdef SWIGRUNTIME_DEBUG
if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
#endif
if (!ocast) ret = 0;
}
}
if (!ret) {
#ifdef SWIGRUNTIME_DEBUG
printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
#endif
if (type->cast) {
type->cast->prev = cast;
cast->next = type->cast;
}
type->cast = cast;
}
cast++;
}
/* Set entry in modules->types array equal to the type */
swig_module.types[i] = type;
}
swig_module.types[i] = 0;
#ifdef SWIGRUNTIME_DEBUG
printf("**** SWIG_InitializeModule: Cast List ******\n");
for (i = 0; i < swig_module.size; ++i) {
int j = 0;
swig_cast_info *cast = swig_module.cast_initial[i];
printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
while (cast->type) {
printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
cast++;
++j;
}
printf("---- Total casts: %d\n",j);
}
printf("**** SWIG_InitializeModule: Cast List ******\n");
#endif
}
/* This function will propagate the clientdata field of type to
* any new swig_type_info structures that have been added into the list
* of equivalent types. It is like calling
* SWIG_TypeClientData(type, clientdata) a second time.
*/
SWIGRUNTIME void
SWIG_PropagateClientData(void) {
size_t i;
swig_cast_info *equiv;
static int init_run = 0;
if (init_run) return;
init_run = 1;
for (i = 0; i < swig_module.size; i++) {
if (swig_module.types[i]->clientdata) {
equiv = swig_module.types[i]->cast;
while (equiv) {
if (!equiv->converter) {
if (equiv->type && !equiv->type->clientdata)
SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
}
equiv = equiv->next;
}
}
}
}
#ifdef __cplusplus
#if 0
{
/* c-mode */
#endif
}
#endif
#ifdef __cplusplus
extern "C" {
#endif
/* Python-specific SWIG API */
#define SWIG_newvarlink() SWIG_Python_newvarlink()
#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
/* -----------------------------------------------------------------------------
* global variable support code.
* ----------------------------------------------------------------------------- */
typedef struct swig_globalvar {
char *name; /* Name of global variable */
PyObject *(*get_attr)(void); /* Return the current value */
int (*set_attr)(PyObject *); /* Set the value */
struct swig_globalvar *next;
} swig_globalvar;
typedef struct swig_varlinkobject {
PyObject_HEAD
swig_globalvar *vars;
} swig_varlinkobject;
SWIGINTERN PyObject *
swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
#if PY_VERSION_HEX >= 0x03000000
return PyUnicode_InternFromString("<Swig global variables>");
#else
return PyString_FromString("<Swig global variables>");
#endif
}
SWIGINTERN PyObject *
swig_varlink_str(swig_varlinkobject *v) {
#if PY_VERSION_HEX >= 0x03000000
PyObject *str = PyUnicode_InternFromString("(");
PyObject *tail;
PyObject *joined;
swig_globalvar *var;
for (var = v->vars; var; var=var->next) {
tail = PyUnicode_FromString(var->name);
joined = PyUnicode_Concat(str, tail);
Py_DecRef(str);
Py_DecRef(tail);
str = joined;
if (var->next) {
tail = PyUnicode_InternFromString(", ");
joined = PyUnicode_Concat(str, tail);
Py_DecRef(str);
Py_DecRef(tail);
str = joined;
}
}
tail = PyUnicode_InternFromString(")");
joined = PyUnicode_Concat(str, tail);
Py_DecRef(str);
Py_DecRef(tail);
str = joined;
#else
PyObject *str = PyString_FromString("(");
swig_globalvar *var;
for (var = v->vars; var; var=var->next) {
PyString_ConcatAndDel(&str,PyString_FromString(var->name));
if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
}
PyString_ConcatAndDel(&str,PyString_FromString(")"));
#endif
return str;
}
SWIGINTERN int
swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
char *tmp;
PyObject *str = swig_varlink_str(v);
fprintf(fp,"Swig global variables ");
fprintf(fp,"%s\n", tmp = SWIG_Python_str_AsChar(str));
SWIG_Python_str_DelForPy3(tmp);
Py_DECREF(str);
return 0;
}
SWIGINTERN void
swig_varlink_dealloc(swig_varlinkobject *v) {
swig_globalvar *var = v->vars;
while (var) {
swig_globalvar *n = var->next;
free(var->name);
free(var);
var = n;
}
}
SWIGINTERN PyObject *
swig_varlink_getattr(swig_varlinkobject *v, char *n) {
PyObject *res = NULL;
swig_globalvar *var = v->vars;
while (var) {
if (strcmp(var->name,n) == 0) {
res = (*var->get_attr)();
break;
}
var = var->next;
}
if (res == NULL && !PyErr_Occurred()) {
PyErr_Format(PyExc_AttributeError, "Unknown C global variable '%s'", n);
}
return res;
}
SWIGINTERN int
swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
int res = 1;
swig_globalvar *var = v->vars;
while (var) {
if (strcmp(var->name,n) == 0) {
res = (*var->set_attr)(p);
break;
}
var = var->next;
}
if (res == 1 && !PyErr_Occurred()) {
PyErr_Format(PyExc_AttributeError, "Unknown C global variable '%s'", n);
}
return res;
}
SWIGINTERN PyTypeObject*
swig_varlink_type(void) {
static char varlink__doc__[] = "Swig var link object";
static PyTypeObject varlink_type;
static int type_init = 0;
if (!type_init) {
const PyTypeObject tmp = {
#if PY_VERSION_HEX >= 0x03000000
PyVarObject_HEAD_INIT(NULL, 0)
#else
PyObject_HEAD_INIT(NULL)
0, /* ob_size */
#endif
(char *)"swigvarlink", /* tp_name */
sizeof(swig_varlinkobject), /* tp_basicsize */
0, /* tp_itemsize */
(destructor) swig_varlink_dealloc, /* tp_dealloc */
(printfunc) swig_varlink_print, /* tp_print */
(getattrfunc) swig_varlink_getattr, /* tp_getattr */
(setattrfunc) swig_varlink_setattr, /* tp_setattr */
0, /* tp_compare */
(reprfunc) swig_varlink_repr, /* tp_repr */
0, /* tp_as_number */
0, /* tp_as_sequence */
0, /* tp_as_mapping */
0, /* tp_hash */
0, /* tp_call */
(reprfunc) swig_varlink_str, /* tp_str */
0, /* tp_getattro */
0, /* tp_setattro */
0, /* tp_as_buffer */
0, /* tp_flags */
varlink__doc__, /* tp_doc */
0, /* tp_traverse */
0, /* tp_clear */
0, /* tp_richcompare */
0, /* tp_weaklistoffset */
#if PY_VERSION_HEX >= 0x02020000
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
#endif
#if PY_VERSION_HEX >= 0x02030000
0, /* tp_del */
#endif
#if PY_VERSION_HEX >= 0x02060000
0, /* tp_version_tag */
#endif
#if PY_VERSION_HEX >= 0x03040000
0, /* tp_finalize */
#endif
#ifdef COUNT_ALLOCS
0, /* tp_allocs */
0, /* tp_frees */
0, /* tp_maxalloc */
#if PY_VERSION_HEX >= 0x02050000
0, /* tp_prev */
#endif
0 /* tp_next */
#endif
};
varlink_type = tmp;
type_init = 1;
#if PY_VERSION_HEX < 0x02020000
varlink_type.ob_type = &PyType_Type;
#else
if (PyType_Ready(&varlink_type) < 0)
return NULL;
#endif
}
return &varlink_type;
}
/* Create a variable linking object for use later */
SWIGINTERN PyObject *
SWIG_Python_newvarlink(void) {
swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
if (result) {
result->vars = 0;
}
return ((PyObject*) result);
}
SWIGINTERN void
SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
swig_varlinkobject *v = (swig_varlinkobject *) p;
swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
if (gv) {
size_t size = strlen(name)+1;
gv->name = (char *)malloc(size);
if (gv->name) {
strncpy(gv->name,name,size);
gv->get_attr = get_attr;
gv->set_attr = set_attr;
gv->next = v->vars;
}
}
v->vars = gv;
}
SWIGINTERN PyObject *
SWIG_globals(void) {
static PyObject *_SWIG_globals = 0;
if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
return _SWIG_globals;
}
/* -----------------------------------------------------------------------------
* constants/methods manipulation
* ----------------------------------------------------------------------------- */
/* Install Constants */
SWIGINTERN void
SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
PyObject *obj = 0;
size_t i;
for (i = 0; constants[i].type; ++i) {
switch(constants[i].type) {
case SWIG_PY_POINTER:
obj = SWIG_InternalNewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
break;
case SWIG_PY_BINARY:
obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
break;
default:
obj = 0;
break;
}
if (obj) {
PyDict_SetItemString(d, constants[i].name, obj);
Py_DECREF(obj);
}
}
}
/* -----------------------------------------------------------------------------*/
/* Fix SwigMethods to carry the callback ptrs when needed */
/* -----------------------------------------------------------------------------*/
SWIGINTERN void
SWIG_Python_FixMethods(PyMethodDef *methods,
swig_const_info *const_table,
swig_type_info **types,
swig_type_info **types_initial) {
size_t i;
for (i = 0; methods[i].ml_name; ++i) {
const char *c = methods[i].ml_doc;
if (!c) continue;
c = strstr(c, "swig_ptr: ");
if (c) {
int j;
swig_const_info *ci = 0;
const char *name = c + 10;
for (j = 0; const_table[j].type; ++j) {
if (strncmp(const_table[j].name, name,
strlen(const_table[j].name)) == 0) {
ci = &(const_table[j]);
break;
}
}
if (ci) {
void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
if (ptr) {
size_t shift = (ci->ptype) - types;
swig_type_info *ty = types_initial[shift];
size_t ldoc = (c - methods[i].ml_doc);
size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
char *ndoc = (char*)malloc(ldoc + lptr + 10);
if (ndoc) {
char *buff = ndoc;
strncpy(buff, methods[i].ml_doc, ldoc);
buff += ldoc;
strncpy(buff, "swig_ptr: ", 10);
buff += 10;
SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
methods[i].ml_doc = ndoc;
}
}
}
}
}
}
#ifdef __cplusplus
}
#endif
/* -----------------------------------------------------------------------------*
* Partial Init method
* -----------------------------------------------------------------------------*/
#ifdef __cplusplus
extern "C"
#endif
SWIGEXPORT
#if PY_VERSION_HEX >= 0x03000000
PyObject*
#else
void
#endif
SWIG_init(void) {
PyObject *m, *d, *md;
#if PY_VERSION_HEX >= 0x03000000
static struct PyModuleDef SWIG_module = {
# if PY_VERSION_HEX >= 0x03020000
PyModuleDef_HEAD_INIT,
# else
{
PyObject_HEAD_INIT(NULL)
NULL, /* m_init */
0, /* m_index */
NULL, /* m_copy */
},
# endif
(char *) SWIG_name,
NULL,
-1,
SwigMethods,
NULL,
NULL,
NULL,
NULL
};
#endif
#if defined(SWIGPYTHON_BUILTIN)
static SwigPyClientData SwigPyObject_clientdata = {
0, 0, 0, 0, 0, 0, 0
};
static PyGetSetDef this_getset_def = {
(char *)"this", &SwigPyBuiltin_ThisClosure, NULL, NULL, NULL
};
static SwigPyGetSet thisown_getset_closure = {
(PyCFunction) SwigPyObject_own,
(PyCFunction) SwigPyObject_own
};
static PyGetSetDef thisown_getset_def = {
(char *)"thisown", SwigPyBuiltin_GetterClosure, SwigPyBuiltin_SetterClosure, NULL, &thisown_getset_closure
};
PyTypeObject *builtin_pytype;
int builtin_base_count;
swig_type_info *builtin_basetype;
PyObject *tuple;
PyGetSetDescrObject *static_getset;
PyTypeObject *metatype;
PyTypeObject *swigpyobject;
SwigPyClientData *cd;
PyObject *public_interface, *public_symbol;
PyObject *this_descr;
PyObject *thisown_descr;
PyObject *self = 0;
int i;
(void)builtin_pytype;
(void)builtin_base_count;
(void)builtin_basetype;
(void)tuple;
(void)static_getset;
(void)self;
/* Metaclass is used to implement static member variables */
metatype = SwigPyObjectType();
assert(metatype);
#endif
/* Fix SwigMethods to carry the callback ptrs when needed */
SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
#if PY_VERSION_HEX >= 0x03000000
m = PyModule_Create(&SWIG_module);
#else
m = Py_InitModule((char *) SWIG_name, SwigMethods);
#endif
md = d = PyModule_GetDict(m);
(void)md;
SWIG_InitializeModule(0);
#ifdef SWIGPYTHON_BUILTIN
swigpyobject = SwigPyObject_TypeOnce();
SwigPyObject_stype = SWIG_MangledTypeQuery("_p_SwigPyObject");
assert(SwigPyObject_stype);
cd = (SwigPyClientData*) SwigPyObject_stype->clientdata;
if (!cd) {
SwigPyObject_stype->clientdata = &SwigPyObject_clientdata;
SwigPyObject_clientdata.pytype = swigpyobject;
} else if (swigpyobject->tp_basicsize != cd->pytype->tp_basicsize) {
PyErr_SetString(PyExc_RuntimeError, "Import error: attempted to load two incompatible swig-generated modules.");
# if PY_VERSION_HEX >= 0x03000000
return NULL;
# else
return;
# endif
}
/* All objects have a 'this' attribute */
this_descr = PyDescr_NewGetSet(SwigPyObject_type(), &this_getset_def);
(void)this_descr;
/* All objects have a 'thisown' attribute */
thisown_descr = PyDescr_NewGetSet(SwigPyObject_type(), &thisown_getset_def);
(void)thisown_descr;
public_interface = PyList_New(0);
public_symbol = 0;
(void)public_symbol;
PyDict_SetItemString(md, "__all__", public_interface);
Py_DECREF(public_interface);
for (i = 0; SwigMethods[i].ml_name != NULL; ++i)
SwigPyBuiltin_AddPublicSymbol(public_interface, SwigMethods[i].ml_name);
for (i = 0; swig_const_table[i].name != 0; ++i)
SwigPyBuiltin_AddPublicSymbol(public_interface, swig_const_table[i].name);
#endif
SWIG_InstallConstants(d,swig_const_table);
import_array();
PyDict_SetItemString(md,(char *)"cvar", SWIG_globals());
SWIG_addvarlink(SWIG_globals(),(char *)"Time_Null",Swig_var_Time_Null_get, Swig_var_Time_Null_set);
SWIG_Python_SetConstant(d, "UnknownPacket",SWIG_From_int(static_cast< int >(Gempa::CAPS::UnknownPacket)));
SWIG_Python_SetConstant(d, "RawDataPacket",SWIG_From_int(static_cast< int >(Gempa::CAPS::RawDataPacket)));
SWIG_Python_SetConstant(d, "MSEEDPacket",SWIG_From_int(static_cast< int >(Gempa::CAPS::MSEEDPacket)));
SWIG_Python_SetConstant(d, "ANYPacket",SWIG_From_int(static_cast< int >(Gempa::CAPS::ANYPacket)));
SWIG_Python_SetConstant(d, "RTCM2Packet",SWIG_From_int(static_cast< int >(Gempa::CAPS::RTCM2Packet)));
SWIG_Python_SetConstant(d, "MetaDataPacket",SWIG_From_int(static_cast< int >(Gempa::CAPS::MetaDataPacket)));
SWIG_Python_SetConstant(d, "FixedRawDataPacket",SWIG_From_int(static_cast< int >(Gempa::CAPS::FixedRawDataPacket)));
SWIG_Python_SetConstant(d, "PacketTypeCount",SWIG_From_int(static_cast< int >(Gempa::CAPS::PacketTypeCount)));
SWIG_Python_SetConstant(d, "DT_Unknown",SWIG_From_int(static_cast< int >(Gempa::CAPS::DT_Unknown)));
SWIG_Python_SetConstant(d, "DT_DOUBLE",SWIG_From_int(static_cast< int >(Gempa::CAPS::DT_DOUBLE)));
SWIG_Python_SetConstant(d, "DT_FLOAT",SWIG_From_int(static_cast< int >(Gempa::CAPS::DT_FLOAT)));
SWIG_Python_SetConstant(d, "DT_INT64",SWIG_From_int(static_cast< int >(Gempa::CAPS::DT_INT64)));
SWIG_Python_SetConstant(d, "DT_INT32",SWIG_From_int(static_cast< int >(Gempa::CAPS::DT_INT32)));
SWIG_Python_SetConstant(d, "DT_INT16",SWIG_From_int(static_cast< int >(Gempa::CAPS::DT_INT16)));
SWIG_Python_SetConstant(d, "DT_INT8",SWIG_From_int(static_cast< int >(Gempa::CAPS::DT_INT8)));
SWIG_Python_SetConstant(d, "NetworkCode",SWIG_From_int(static_cast< int >(Gempa::CAPS::NetworkCode)));
SWIG_Python_SetConstant(d, "StationCode",SWIG_From_int(static_cast< int >(Gempa::CAPS::StationCode)));
SWIG_Python_SetConstant(d, "LocationCode",SWIG_From_int(static_cast< int >(Gempa::CAPS::LocationCode)));
SWIG_Python_SetConstant(d, "ChannelCode",SWIG_From_int(static_cast< int >(Gempa::CAPS::ChannelCode)));
SWIG_Python_SetConstant(d, "StreamIDComponentSize",SWIG_From_int(static_cast< int >(Gempa::CAPS::StreamIDComponentSize)));
SWIG_Python_SetConstant(d, "DataRecord_RS_Error",SWIG_From_int(static_cast< int >(Gempa::CAPS::DataRecord::RS_Error)));
SWIG_Python_SetConstant(d, "DataRecord_RS_Complete",SWIG_From_int(static_cast< int >(Gempa::CAPS::DataRecord::RS_Complete)));
SWIG_Python_SetConstant(d, "DataRecord_RS_Partial",SWIG_From_int(static_cast< int >(Gempa::CAPS::DataRecord::RS_Partial)));
SWIG_Python_SetConstant(d, "DataRecord_RS_BeforeTimeWindow",SWIG_From_int(static_cast< int >(Gempa::CAPS::DataRecord::RS_BeforeTimeWindow)));
SWIG_Python_SetConstant(d, "DataRecord_RS_AfterTimeWindow",SWIG_From_int(static_cast< int >(Gempa::CAPS::DataRecord::RS_AfterTimeWindow)));
SWIG_Python_SetConstant(d, "DataRecord_RS_Max",SWIG_From_int(static_cast< int >(Gempa::CAPS::DataRecord::RS_Max)));
SWIG_Python_SetConstant(d, "LL_UNDEFINED",SWIG_From_int(static_cast< int >(Gempa::CAPS::LL_UNDEFINED)));
SWIG_Python_SetConstant(d, "LL_ERROR",SWIG_From_int(static_cast< int >(Gempa::CAPS::LL_ERROR)));
SWIG_Python_SetConstant(d, "LL_WARNING",SWIG_From_int(static_cast< int >(Gempa::CAPS::LL_WARNING)));
SWIG_Python_SetConstant(d, "LL_NOTICE",SWIG_From_int(static_cast< int >(Gempa::CAPS::LL_NOTICE)));
SWIG_Python_SetConstant(d, "LL_INFO",SWIG_From_int(static_cast< int >(Gempa::CAPS::LL_INFO)));
SWIG_Python_SetConstant(d, "LL_DEBUG",SWIG_From_int(static_cast< int >(Gempa::CAPS::LL_DEBUG)));
SWIG_Python_SetConstant(d, "LL_QUANTITY",SWIG_From_int(static_cast< int >(Gempa::CAPS::LL_QUANTITY)));
SWIG_addvarlink(SWIG_globals(),(char *)"LogHandler",Swig_var_LogHandler_get, Swig_var_LogHandler_set);
SWIG_Python_SetConstant(d, "Plugin_Success",SWIG_From_int(static_cast< int >(Gempa::CAPS::Plugin::Success)));
SWIG_Python_SetConstant(d, "Plugin_PacketSize",SWIG_From_int(static_cast< int >(Gempa::CAPS::Plugin::PacketSize)));
SWIG_Python_SetConstant(d, "Plugin_PacketLoss",SWIG_From_int(static_cast< int >(Gempa::CAPS::Plugin::PacketLoss)));
SWIG_Python_SetConstant(d, "Plugin_PacketNotValid",SWIG_From_int(static_cast< int >(Gempa::CAPS::Plugin::PacketNotValid)));
SWIG_Python_SetConstant(d, "Plugin_PacketNotSupported",SWIG_From_int(static_cast< int >(Gempa::CAPS::Plugin::PacketNotSupported)));
SWIG_Python_SetConstant(d, "Plugin_MaxFutureEndTimeExceeded",SWIG_From_int(static_cast< int >(Gempa::CAPS::Plugin::MaxFutureEndTimeExceeded)));
SWIG_addvarlink(SWIG_globals(),(char *)"ChunkHeaderSize",Swig_var_ChunkHeaderSize_get, Swig_var_ChunkHeaderSize_set);
SWIG_Python_SetConstant(d, "Socket_Success",SWIG_From_int(static_cast< int >(Gempa::CAPS::Socket::Success)));
SWIG_Python_SetConstant(d, "Socket_Error",SWIG_From_int(static_cast< int >(Gempa::CAPS::Socket::Error)));
SWIG_Python_SetConstant(d, "Socket_AllocationError",SWIG_From_int(static_cast< int >(Gempa::CAPS::Socket::AllocationError)));
SWIG_Python_SetConstant(d, "Socket_ReuseAdressError",SWIG_From_int(static_cast< int >(Gempa::CAPS::Socket::ReuseAdressError)));
SWIG_Python_SetConstant(d, "Socket_BindError",SWIG_From_int(static_cast< int >(Gempa::CAPS::Socket::BindError)));
SWIG_Python_SetConstant(d, "Socket_ListenError",SWIG_From_int(static_cast< int >(Gempa::CAPS::Socket::ListenError)));
SWIG_Python_SetConstant(d, "Socket_AcceptError",SWIG_From_int(static_cast< int >(Gempa::CAPS::Socket::AcceptError)));
SWIG_Python_SetConstant(d, "Socket_ConnectError",SWIG_From_int(static_cast< int >(Gempa::CAPS::Socket::ConnectError)));
SWIG_Python_SetConstant(d, "Socket_AddrInfoError",SWIG_From_int(static_cast< int >(Gempa::CAPS::Socket::AddrInfoError)));
SWIG_Python_SetConstant(d, "Socket_Timeout",SWIG_From_int(static_cast< int >(Gempa::CAPS::Socket::Timeout)));
SWIG_Python_SetConstant(d, "Socket_InvalidSocket",SWIG_From_int(static_cast< int >(Gempa::CAPS::Socket::InvalidSocket)));
SWIG_Python_SetConstant(d, "Socket_InvalidPort",SWIG_From_int(static_cast< int >(Gempa::CAPS::Socket::InvalidPort)));
SWIG_Python_SetConstant(d, "Socket_InvalidAddressFamily",SWIG_From_int(static_cast< int >(Gempa::CAPS::Socket::InvalidAddressFamily)));
SWIG_Python_SetConstant(d, "Socket_InvalidAddress",SWIG_From_int(static_cast< int >(Gempa::CAPS::Socket::InvalidAddress)));
SWIG_Python_SetConstant(d, "Socket_InvalidHostname",SWIG_From_int(static_cast< int >(Gempa::CAPS::Socket::InvalidHostname)));
#if PY_VERSION_HEX >= 0x03000000
return m;
#else
return;
#endif
}